I am fairly new to AC and have some questions about a project. I am creating a gallery with images tweening from one to the other. I have the animation working but it will not loop as expected.
- The images are loaded dynamically via the below code.
- The main stage uses stop(); and all mc’s except the gallery mc will loop as expected.
//simplified code with single image loaded
var urlRequest2:URLRequest = new URLRequest(“fp.jpg”);
var loader:Loader = new Loader();
loader.load(urlRequest2);
fp1s_mc.addChild(loader);
fadeInTween = new Tween( loader, “alpha”, Regular.easeInOut, 1, 0, fadeInDur, true );
Why wont my mc loop when I use a dynamically loaded image ? when I tested with an image from the library and manually tweened the image inside in mc all worked as expected.
I know itll be simple, but just starting out