hello,

if you'd want to do it conceptually right OOP-wise, basically you have to
write a class for each nested clip (or one class for all nested clips if
their functionality overlaps).

-Meinte

On 2/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> This is my first experience use the mailing List so I hope this makes
> sense!
> My question is more of a conceptual one regarding oop best practises. If
> I have a class which attaches a clip to the stage how can I attach
> functions
> to clips nested inside this clip. Putting code on the attached clip?s
> timeline
> is wrong, I can use;
>
> myClip.MyChildClip.onRelease = function() { stuff };
>
> It works, but seems fundamentally wrong, as I understood it was bad
> practise
> to add methods to an object dynamically. Should I make the class listen
> for
> clicks on the nested clip or is there another solution?
>
> Cheers,
> Paul
>
> ___________________________________________________________
>
> Tiscali Broadband from 14.99 with free setup!
> http://www.tiscali.co.uk/products/broadband/
>
>
> _______________________________________________
> [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