hi,
i'm trying to migrate from as2... and I need to access a mc named mc1 that is
on stage. no class associated with this mc, only 1 class for the entire movie.
I have the following class:
package
{
import flash.display.*;
import flash.events.*;
public class foo
{
//constructor
public function foo():void
{
trace("hi")
mc1.x+=30; <- don't work.
}
}
how can I inform the class that I have a mc (mc1) in the stage in order to
access i´'s properties and methods? tried with addChild too but had no luck.
thanks,
rodrigo.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders