FORUMS: list search recent posts

AS 3.0: Multiple Loaders

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
walt landy
AS 3.0: Multiple Loaders
on Dec 18, 2008 at 12:42:26 am

Hi All,

I really appreciate any help with this. I successfully used a loader to display an external .swf. My problem now is that when I use the same code to add more loaders to display more .swf files, it doesn't work.

What do I need to vary in the code for additional loaders (aside from the names of the other .swf files)?

Many thanks!

import flash.display.*;
import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.*;

var request:URLRequest = new URLRequest("mod4.swf");
var loader:Loader = new Loader()
loader.load(request);
addChild(loader);


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]