Alain,

I think you've misunderstood me.

I already have a movie clip on the stage, which was placed by
attachMovie(), and before it was an instance in the library,
assotiated with  MyClass1 .

Then, after some things happen (e.g. user moved this clip), I wand to
assign ANOTHER class to the mentioned clip, so this very clip to
become an instance of MyClass2.

That's why I need to RE-define the class for this clip.
  

-- 
Best regards,
 GregoryN                        
================================
http://GOusable.com
Flash components development.
Usability services.

> ---------- Alain Rousseau wrote:
>
> You should look into this article in the FlashCoders Wiki
> 
> http://www.osflash.org/flashcoders/as2#creating_a_class_instance_based_on_mo
> vieclip_without_a_symbol_in_the_library
> 
> This is if you want to create dynamically a movie clip and then associate a
> class to it.
> If you allready have a moviclip that you want to use, you should look into
> Object.registerClass(³myClipID², MyClass);

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