Can we extend document class with custom class in flash as3?
Hi,
Can we extend document class with custom class in flash as3?
Thanks,
Amisha
Hi,
Can we extend document class with custom class in flash as3?
Thanks,
Amisha
try:
amishap67776642 wrote:
package
{
public class accessories extends ScreenBase
{
public function accessories()
{
super();
addEventListener(Event.ADDED_TO_STAGE,onAddedTostageHandler)
}
private function onAddedTostageHandler(e:Event):void
{
super.init();
}
}
}
/* class ScreenBase*/
package
{
public class ScreenBase extends MovieClip
{
public function ScreenBase ()
{
super();
}
public function init():void
{
MovieClip(this).tutorialBox_mc.visible = true;
}
}
}
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.