
Create, Build & Deploy Real Desktop Applications for Linux Operating Systems from your Adobe® Flash/Flex Projects. Compile and Distribute Desktop Widgets, CD-Roms, DVDs, Flash Games and More.

Create, Build & Deploy Real Desktop Applications for Linux Operating Systems from your Adobe® Flash/Flex Projects. Compile and Distribute Desktop Widgets, CD-Roms, DVDs, Flash Games and More.
//define a new sort array
var sorts : Sort = new Sort();
// create one or more fields to sort one
var field : SortField = new SortField("title",true,false,false);
// add all your fields to the sort fields list
sorts.fields = [ field ];
// define an XMLListCollection ( it contains a sort() method )
var col : XMLListCollection = new XMLListCollection( model.myXML.record as XMLList );
// define which sort fields list to use
col.sort = sorts;
// refresh the datasource
col.refresh();
// set the dataprovider of an e.g. List
listbox.dataProvider = col;
http://wiki.mediabox.fr/tutoriaux/flash/amfphp_securite_et_authentification
( look for “secure.php” for an excellent example of code )
Tried to debug a piece of code that didn’t trigger the completeEvent. In stead I reverted to the plain old width check.
Why is this old bug still alive and kicking?
private function progress ( e : * ) : void
{
if( loader.content != null )
{
if( loader.content.width > 0 )
{
complete(null);
}
}
}
What an intensive 2 days, packed with awesomness
Ralph Hauwert really showed off the updated and new features in PV3D 2.0. We got the chance to goth in depth info about the engine, the how’s and the what’s.
On the train back I created my own little galaxy with stars and planets, lights and shaders in about 30 minutes. Just to say: 3D is coming your way – fast!
Thanks Tim for the good nights rest I got to spend at your appartment and nice to meet your roommates too!
Also had a good time throughout the second day with Matthew.
I’ll be in London on December 11 & 12 for a 2 day Papervision 3D course lead by Ralph Hauwert. Always exciting to get into depth with such fine developers for the Flash Platform. The first PV3D projects are allready delivered, but I hope to refine the techniques and avoid certain culprits I encountered in the past.
The countdown has begun!
After hours of trying to find a solution for my huuuuuge compile times I had on a AS3 project in Flex Builder 2 I finally found the solution!
It seems the network drive I was using was the bottleneck. Moved my AS3 project to my c:/work drive and everything is blazing fast! I don’t even notice the compilation anymore. It’s gone from more than 1 minute to < 1 second! Now that’s what I call incremental compilation
I’ve used this snippet quite a lot lately when developing AS3 projects:
private function isValidEmailAddress( s : String ) : Boolean
{
var pattern : RegExp = /(?:\w|[_.\-])+@(?:(?:\w|-)+\.)+\w{2,4}/g;
return pattern.test(s);
}