I think i found the answer:.... --------- The last tag I want to mention is the event tag. This is more of a Flex-compatibility tag. If you try and use an event name in MXML without declaring the event with an event tag, the MXML compiler will throw an error. So here's how to avoid that: <http://www.boostworthy.com/blog/?p=157#> ActionScript:
1. // In this sample, the 'AnimationEvent.START' event is being declared. The 'START' constant's value is 'animation start'. 2. [Event(name="animation start", type= "com.boostworthy.animation.events.AnimationEvent")] As with the frame and SWF tags, event tags should be placed after imports, but before the class definition. --------- source: http://www.boostworthy.com/blog/?p=157 On Mon, Jun 2, 2008 at 2:28 PM, Helmut Granda <[EMAIL PROTECTED]> wrote: > Could some one point me to the docs or blogs that explain the usage or > benefits of the following lines: > [Event(name="progress", type="flash.events.ProgressEvent.PROGRESS")] > > [Event(name="complete", type="flash.events.ProgressEvent.COMPLETE")] > > [Event(name="open", type="flash.events.Event.OPEN")] > > As always I tried to do a Google search but I couldnt find accurate > information. > > TIA... > > -- ...helmut _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

