Spark Europe – Chafic Kazoun

Chafic 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.

4 Comments

  • November 19, 2005 - 8:09 am | Permalink

    Thanks for attending, I wish you had introduced yourself. Had no idea you were in the audience.

  • November 19, 2005 - 2:05 pm | Permalink

    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.

  • November 25, 2005 - 3:21 pm | Permalink

    Hey Chafic / Peter

    Is there a way i can use this in AS 3.0 Projects as opposed to Flex 2 projects?

  • November 25, 2005 - 3:29 pm | Permalink

    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());

  • Comments are closed.

    .