Flizash.com will be writing tutorials for Actionscript 3.0 users, publishing custom games, and more. Check back often!
Hi Rahul,
You have the same name as my grand father :).
im trying your tutorial to that moves a ball animation using as3.
im trying to modify it so it will load a swf after a few seconds. Could you help me a little?
var loader:Loader=new Loader(); var mcExternal:MovieClip; var oldTime:int = getTimer();
loader.load(new URLRequest(”portfolio.swf”));
addEventListener(Event.ENTER_FRAME, addSwf);
function addSwf(event:Event):void { var interval:int = getTimer();// - oldTime; oldTime += interval; interval = (400); this.addChild(loader);
}
i have this code so far still working on it but maybe you can see things esier than me i am new to as3 have a nice day man.
Name (required)
Mail (will not be published) (required)
Website
Message
Hi Rahul,
You have the same name as my grand father :).
im trying your tutorial to that moves a ball animation using as3.
im trying to modify it so it will load a swf after a few seconds. Could you help me a little?
var loader:Loader=new Loader();
var mcExternal:MovieClip;
var oldTime:int = getTimer();
loader.load(new URLRequest(”portfolio.swf”));
addEventListener(Event.ENTER_FRAME, addSwf);
function addSwf(event:Event):void {
var interval:int = getTimer();// - oldTime;
oldTime += interval;
interval = (400);
this.addChild(loader);
}
i have this code so far still working on it but maybe you can see things esier than me i am new to as3
have a nice day man.