Dezinerfolio

Embed Gallery in existing SWF and loaderInfo.parameters

I would like the gallery to be added as a Child to my existing SWF. The gallery should open with the click of a button from the main swf.

1. Could you please provide some example code with loaderInfo.parameters to add to the ActionScript 3 code for the main swf?

2. And also what to put exactly in the main html page where the main swf is loaded?

I believe many people would like some help on this.

Thank you!

My AS3 code:

photo.addEventListener(MouseEvent.CLICK, Photos);
function Photos(e:MouseEvent):void {
var loader:Loader = new Loader();
var request:URLRequest = new URLRequest("http://www.mydomain.com/photo/DfGallery.swf");
loader.load(request);
sectionArea2.addChild(loader);
}

What loaderInfo.parameters should I put in this code, and where?

I added the embed gallery code to my html page, between

Status: 
New

Comments

Anonymous's picture

I have same problem, and still can't find the solution

Anonymous
Mon, 10/11/2010 - 08:22
Dukessa's picture

The last sentence of my post is incomplete:
"I added the embed gallery code to my html page, between "noscript" tags. Is that ok?"

Thank you.

Thu, 03/05/2009 - 18:15

Post new comment