Yes, it's pretty well explained in the Flex documentation:

http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=metadata_141_09.html

Paul


----- Original Message ----- From: "Helmut Granda" <[EMAIL PROTECTED]>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Monday, June 02, 2008 8:30 PM
Subject: [Flashcoders] Re: Usage of [Event....]


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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to