I have the same problem.
This is my ActionScript 3 code to load the child swf (the gallery)in my main swf file:
function Photos(e:MouseEvent):void {
var loader:Loader = new Loader();
var request:URLRequest = new URLRequest("http://mydomain.com/photo/DfGallery.swf");
loader.load(request);
sectionArea2.addChild(loader);
}
How do I use loaderInfo.parameters ?!
And also, is it normal that in the embed code I see: value="xmlUrl=http://mydomain.com/photo/api/rest/get_gallery/1/json" but the folder "api" doesnt exist in the zip file I downloaded from here, and its not created by the installation!!
The gallery uses the loaderInfo.parameters for all its parameters, please try to pass the required parameters through the loader before you load the SWF
Comments
I opened a new post about it http://www.dezinerfolio.com/issue/embed-gallery-in-existing-swf-and-load...
Please can anyone provide an example code for AS3?
Thank you
I have the same problem.
This is my ActionScript 3 code to load the child swf (the gallery)in my main swf file:
function Photos(e:MouseEvent):void {
var loader:Loader = new Loader();
var request:URLRequest = new URLRequest("http://mydomain.com/photo/DfGallery.swf");
loader.load(request);
sectionArea2.addChild(loader);
}
How do I use loaderInfo.parameters ?!
And also, is it normal that in the embed code I see: value="xmlUrl=http://mydomain.com/photo/api/rest/get_gallery/1/json" but the folder "api" doesnt exist in the zip file I downloaded from here, and its not created by the installation!!
The gallery uses the loaderInfo.parameters for all its parameters, please try to pass the required parameters through the loader before you load the SWF
How was this resolved? I have a xml flash website, and it will not allow me to embed the html code provided during cofiguration.
Post new comment