Just curious--why do you want to do this?

On 11/22/06, Dani Bacon <[EMAIL PROTECTED]> wrote:
anyone know if i can change the class registration of a MovieClip instance
that was placed on stage manually using AS2 code ?
ive tried using Object.registerClass which works fine for any dynamically
attached MCs but all symbol instances that where already on stage did
register with the new class.

the code-

class Main
{

    static function main()
    {
        _root.stop();

        Object.registerClass("idTest", classes.someClass);
        _root.attachMovie("idTest", "testname",
_root.getNextHighestDepth());

    }

}

this works and generates MC named "testname" registered to the class "
classes.someClass". but any instance of MC with linkage id "idTest" that was
already on stage doesnt register with "classes.someClass". so how do i get
them to register ?

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