Load local swf file by flash


dear friends

i have big problem as3. have 2 .swf file : 1- index.swf , 2-page1.swf. index file has 1 frame following action :

 

var loader_mc:loader =new loader();

addchild( loader_mc );// add loader display list
loader_mc.load( "d:\\page1.swf"));// load file

 

i upload index file in site , can't load page1.swf.

please me.

best regards

at first when loading swf why using absolute path?

 

because once upload swf file server path gets changed...

 

in url request give relative path if swf ion same folder use name of swf file want load.

also upload swf want load along original swf.



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

RFID-RC522 with Arduino Pro Micro project. Error on the code?