And if you are interested in using the Flex framework, databinding is a really 
great solution for this kind of thing. 

Jason Merrill
Bank of America 
GCIB & Staff Support L&LD
Instructional Technology & Media 
Join the Bank of America Flash Platform Developer Community 
Are you a Bank of America associate interested in innovative learning ideas and 
technologies?
Check out our internal  Innovative Learning Blog & subscribe. 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ashim D'Silva
Sent: Monday, October 27, 2008 10:16 AM
To: Flash Coders List
Subject: Re: [Flashcoders] AS3 Object.watch equivalent

Use classes and getters and setters. Getting into details with this
would take a while, but look it up. It's far more efficient than a
watch.

2008/10/27 Samuel Adu <[EMAIL PROTECTED]>:
> Hey guys,
> I need a little help here... I'm working on porting some existing AS2 code
> to AS3. A porting of the AS2 class watched _root variables which were
> updated by javascript (using setVariable) - When a change occurred the
> callback method would change instance properties, fire events etc etc...
>
> Now - Object.watch is not around in AS3 (I understand that the overheads for
> utilising this method was pretty awful), and my flashVars are contained
> within the Stage LoaderInfo obect (LoaderInfo.parameters). Does anybody have
> any idea how I can monitor these variables for any changes now? Looking at
> the api doc, I can't see any evidence of a LoaderInfo instance firing an
> event of any use to me...
>
> Any ideas??
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
The Random Lines
My online portfolio
www.therandomlines.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to