Skip to main content
Inspiring
August 23, 2007
Question

Will this work online?

  • August 23, 2007
  • 1 reply
  • 169 views
var View14 = new Loader();
addChild(View14);
View14.load(new URLRequest("media/PortfolioPORT.swf"));

the SWF i'm loading is called PortfolioPORT and it's in a folder named media.
I'm trying to load it into a movieclip named View14, but i'm not sure what did what so i named the variable view14 too.

also, it would be great if i could find out the way you URL offline files.

Thanks!
This topic has been closed for replies.

1 reply

August 23, 2007
Adobe came out with AIR... that does offline and online files.. buts its mostly for desktop apps..

but yes that script should work.. i usually call addChild after the load call.. but it shouldn't make a difference