Hi;
I have this code:
public class Main extends MovieClip
{
//Import Library Assests
public var myThumb:CloseThumb;
public function Main()
{
init();
}
public function init():void
{
theThumb();
}
public function theThumb():void
{
myThumb = new CloseThumb():
myThumb.x = 300;
myThumb.y = 350;
addChild(myThumb);
}
}
}
It throws this error:
1078: Label must be a simple identifier.
I've added mcCloseThumb into the library of the fla. I've edited the
Preferences for the same to export for AS and labeled the class
"CloseThumb". What did I do wrong?
TIA,
beno
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders