load tour swf into other swf  

Share your tips and tricks here or get help with any Panotour problem!
No bug reports (of any kind) in this forum!
no avatar
usrnm
New member
 
Posts: 1
Joined: Fri Oct 25, 2013 4:44 am

load tour swf into other swf

by usrnm » Fri Oct 25, 2013 4:51 am

Hello! Good news!

How to load tour swf into other swf?

Code: Select all
var loader:Loader = new Loader();
var url:URLRequest =  new URLRequest("index.swf");
var loaderContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
loader.load(url, loaderContext);

addChild(loader);


and

Code: Select all
var ldr:Loader = new Loader();
var url:String =  "index.swf";
var urlReq:URLRequest = new URLRequest(url);
ldr.load(urlReq);

addChild(ldr);


doesn't work, index.swf not displayed

Return to Using Panotour / Panotour Pro 1.8

Who is online

Users browsing this forum: No registered users and 5 guests