Dezinerfolio

possibly to embed gallery in existing SWF?

Hello - is it possible to embed your gallery inside another SWF with the flashvar's included in the URLRequest?

 

I have attempted a few ways and the object always comes up null.

 

Thank you for your time.

Status: 
Resolved

Comments

Dukessa's picture

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

Thu, 03/05/2009 - 18:17
Anonymous's picture

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!!

Anonymous
Thu, 03/05/2009 - 09:14
admin's picture

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

Wed, 02/04/2009 - 01:57
Anonymous's picture

How was this resolved? I have a xml flash website, and it will not allow me to embed the html code provided during cofiguration.

Anonymous
Thu, 02/26/2009 - 21:34

Post new comment