Hi
I have a project that I'd like to convert to class based code but would 
appreciate some advice on the best approach.

Basically I have a routine which attaches a number of library items to the 
stage and, on either a rollover or press event, tweens these items(images) out 
in a radial fashion.
They optionally return to their initial (overlapping) state.


Pretty simple stuff.
All of the tweening properties (number nodes, circle radius, duration out, 
duration in, ease type, etc)  are predefined and passed in as a single object.


My question is:
What is the best way to convert this into a Class?


Should I simply have a 'create' method in my class that takes the place of my 
original method?
When attaching large numbers of library items, isn't there a 'speed hit'?
Should the tweening objects(basically containers for tween properties) have 
their own class as well?


What's should the getters/setters return/set?


Any feedback greatly appreciated!

Jim Bachalo



[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca
--------------------------------------------
"...all improvisation is life in search of a style."
             - Bruce Mau,'LifeStyle'
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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