Thanks for this first tip. However, there are still open questions: Basically, if I use [Bindable] the Flex compiler will automatically generate an event. If I specify the name of an event, I am responsible to fire the event. Ok, three questions: 1) In the example, there is a dispatchEvent(new Event("myEventName")) But there is no added info on what is the object that changed! Imagine I have an array of invoice objects, if only one changes it will fire an event. How do I know which one? 2) It looks like the [Bindable] trick is a pure Flex thing. Not an ActionScript3 language construct. Does that mean that Flex actually precompiles the source into an ActionScript3 compatible code then compiles the ActionScript3? If true, it means the bindings will not be usable "as is" in Flash 9 IDE? 3) Maybe a pointer on ActionScript3 event mecanism documentation would be usefull (and not only display components events, but event meant to be used to notify other objects from model changes). After understanding how model objects fire events when modified, the next step will be to understand how client objects (often display objects but not only) register for observing those changes. Thanks
__._,_.___
-- Alexander Lamb Service d'Informatique Médicale Hôpitaux Universitaires de Genève +41 22 372 88 62 +41 79 420 79 73 On Oct 9, 2006, at 10:42 PM, Stephen Gilson wrote:
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- Re: [flexcoders] General question about bindings and simila... Alexander Lamb