06
Apr
04

Component Development Presentation Files - FITC 2004

Posting my material for my session at FlashintheCan, Flash MX 2004 Component Development Using the Version 2 Architecture. The session went really well, thanks to everyone who attended. From the feedback I received after the presentation, everyone seemed to have found it informative.

The presentation material includes the PowerPoint presentation file, and the simple sample component (StatusIcon) built during the session.

Download the presentation material


12 Responses to “Component Development Presentation Files - FITC 2004”


  1. 1 Guy Watson Apr 7th, 2004 at 7:09 am

    It was shweeet :) Good stuff. U missed out lastnight dude ;)

  2. 2 Karl Apr 7th, 2004 at 9:58 am

    Hi,

    One thing that I cant seem to find a tutorial for:

    How do i program my component so after its ready when i drag it and drop it on any mc in the stage it will automatically set its parameter ‘Target’ to the instance name of the mc under it.

  3. 3 Chafic Kazoun Apr 7th, 2004 at 12:14 pm

    Karl: You would be interested in looking to implement the _targetInstanceName property. There isn’t much documentation on the subject, a quick google search turned up http://www.flashcomponents.net/tutorials/triangle/triangle.html

    It’s also probably good to note that although this property is supported by Flash, it seems to not work with SWCs. If you are building a component that you want to distribute as a SWC this will not be an option.

  4. 4 Peter Elst Apr 7th, 2004 at 6:04 pm

    Here you can find a discussion on the use of _targetInstanceName with the v2 component architecture:

    http://www.martijndevisser.com/archives/000010.php

  5. 5 Karl Apr 7th, 2004 at 6:23 pm

    Thx alot, i’ve figured out the solution:

    [Inspectable]
    public function set _targetInstanceName(t:String):Void{
    __target=eval(t); //__target is private member of Object type
    }
    public function get _targetInstanceName():Object{
    return __target;
    }

  6. 6 Chafic Kazoun Apr 7th, 2004 at 6:32 pm

    Karl: That worked for when you convert your component to a SWC too?

  7. 7 Karl Apr 10th, 2004 at 7:29 pm

    Not really, i’ve tested it in many ways and it just wont work as a compiled clip. But i’m sure there is a workaround till MM comes up with the fix. :)

  8. 8 Low cost loans Nov 2nd, 2004 at 3:58 pm

    Hello there,

    Iwas browsing the web and found this blog. Some interesting quotes. Keep them coming!

    Alice
    Low cost loans

  9. 9 jill jones Nov 20th, 2004 at 5:05 pm

    Nice siteGod knows

    Bye!
    Jill Jones

  10. 10 Max Power Dec 2nd, 2004 at 3:39 pm

    Welcome Home Everyone Home

    Cya
    Max

  11. 11 Call Centers Agent Dec 3rd, 2004 at 2:27 pm

    Hi Guys

    Thanks for taking the time posting. MSN have finally launch blogs, what was with the delay?
    Call Centers Agent

    Cya
    Bruce

  1. 1 thebadtiming.com Trackback on Apr 8th, 2004 at 10:16 am
Comments are currently closed.