I need more examples animating external files. My ball in the external swf is suppose tick across the stage. How do I get "ldr.swf" to load "ball.swf" and tell it to move the ball across the stage?
var bgLoader:Loader = new Loader();
bg_mc.addChild(bgLoader);
var bgURL:URLRequest = new URLRequest("ball.swf");
bgLoader.load(bgURL);
import flash.utils.*;
var myTimer:Timer = new Timer(200);
myTimer.addEventListener(TimerEvent.TIMER, timedFunction);
myTimer.start();
function timedFunction(eventArgs:TimerEvent)
{
var bl:MovieClip = event.target.content.root.ball;
//
bl.x += 10;
addChild(bl);
}