Spark Europe - Chafic Kazoun
19 11 2005Chafic had an interesting intro session on Flex 2 (more Q&A really), main themes were “MXML is compiled to an ActionScript class” and “code hinting in Flex Builder 2 rocks!”.
He showed some cool ways of calling AS functions from MXML tags, private and public scope functions, etc. Also a cool example of the @Embed directive that showed embedding a specific movieclip referenced by linkage ID from a compiled external SWF.





Thanks for attending, I wish you had introduced yourself. Had no idea you were in the audience.
yeah Chafic, was hoping to catch up afterwards but the groupies got in there before I got the chance
Hope you enjoyed the conference and we’ll definitely get together next time.
Hey Chafic / Peter
Is there a way i can use this in AS 3.0 Projects as opposed to Flex 2 projects?
Jesse just did a blog post about that yesterday: http://www.jessewarden.com/archives/2005/11/as3_chronicles_1.html
Haven’t tested but I guess this would work just as well:
[Embed(source="myLibrary.swf#myLinkage")]
var someClass:Class;
var myImage:someClass = new someClass();
addChild(new myImage());