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
Comments
I have same problem, and still can't find the solution
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.
Post new comment