Hi Zárate,

We seem to agree on a lot of points here. :)

As I am working with MTASC I always look for them in the MovieClip
passed as a parameter to the main(m:MovieClip) method.

As do I.

Then, I always prefix them with "fv_". I do that to easily recognise
them in the code.

As do I (almost).

And last but not least I'm now thinking in forcing me to access them
trough a singleton FlashVarsClass, just to encapsulate them in case
Adobe change the way we should FlashVars.

As do I.

I've just (after reading your mail) blogged[1] on the way, that I normally do this. Please read this for my ideas of OOP-ness and best practices on this matter. :)

[1] http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/

--
Morten Barklund - Lead Developer - TBWA\Play
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to