Hi,
sometimes one way, another time the other:) depends on the leg i jumped out
of bed with.
Anywayz, I usually do not use the __proto__ approach for the main document,
but rather for the low down dirty stuff you hope nobody will see on a first
glance:).

When I do use the linkage id approach (for example for a form), I try to get
gProject to fill in most of the references from the movieclip into my
classfile automatically. When using the composition approach, I use a
ReferenceValidator. It a) checks the existence of the fields i expect in the
clip i'm wrapping, b) checks their types c) copies it into fields of the
wrapping class. A bit overkill maybe, but it saved me some hard to find bugs
on a few occasions.

greetz
JC




On 9/19/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:

I don't use the class linkage in the library, always seemed kinda
kludgy.  I'm using composition, setting mc properties to a class
instance - probably just as kludgy though - so thanks for the link!
Excited about using AS 3.0 some day.

Jason Merrill
Bank of America
Learning & Organization Effectiveness - Technology Solutions






>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of slangeberg
>>Sent: Tuesday, September 19, 2006 4:29 PM
>>To: [EMAIL PROTECTED]; Flashcoders mailing list
>>Subject: [Flashcoders] Associate clip with class
>>
>>I was looking at Danny's article regarding a Flash Document Class at:
>>
>>http://www.dannypatterson.com/Resources/Blog/EntryDetail.cfm?id=106
>>
>>And i started to wonder if people are using this to associate their
clips on
>>stage with a class?
>>
>>Are people doing this kind of thing (or otherwise) instead of setting
the AS
>>2.0 class property in the 'linkage' dialog of their movieclips in the
>>library?
>>
>>I just hate how it's not obvious (by linkage) which class is being
used in
>>Flash 8.0. Only gets me more excited for some Flash 9.0 projects to
come
>>through!
>>
>>: : ) Scott
>>_______________________________________________
>>[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
_______________________________________________
[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

_______________________________________________
[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