:) Yeah, that's sort of what i'm talking about.On Thu, 15 Sep 2005 19:48:31 -0400 Rodolfo Hansen <[EMAIL PROTECTED]> babbled: > I'm not very familiar with how evas or smart objects are currently > structured, > but since you are looking for mechanisms for structured event handling > I was wondering if any of you have thought about using statecharts? > > I work alot with statecharts in my workplace (mostly a GSM Car alarm) > and have been very curious about > implementing statechart behavior in a GUI or graphics related stuff... > > To be honest, I am rather interested in what people who actualy write a > GUI think about statecharts in general... if you are talking about what i think you are - thats kind of how things work - when u move an object evas sees if this obj intersected the poitner xo-ord, if it did evas tries to determine if the pointer left the object (or entered) and then calls the enter or leave callbacks accordingly - thus it's handlign a state transition as such implicitly.
For example:
http://www.flashsim.com/examples/watch/watchWchart.html
http://www.flashsim.com/flash_resources-uml.html
Statecharts are more like a way to structure code, you can get very sophisticated behaviour, and code stays clean..
And the flash doesn't express how you can use statecharts to override behavior..
Or delegate behavior to parent states...
Well basically what i'm saying is that if it is needed to make evas smart objects smarter, they could be written as statecharts.
> :p > > > > Rodolfo Hansen > Ing. Desarrollo > Aurora Wireless Ltd. > Calle Plaza #23, Mirador Norte > Santo Domingo, Distrito Nacional, > Dominican Republic. > > Phone: +1 (809) 531-3166 > Fax: +1 (809) 531-3550 > Email: [EMAIL PROTECTED] >