How to get a link from an HTML page to specific SWF in Flash movie?
Hello,
Sorry to post this simple question but this challenge landed in my lap and I know next to nothing about Flash or esp. AS3.
I need to know how to write the code that would allow a link from the html page to load a specific swf in the Flash movie.
The flash movie currently has buttons that load the specific SWF into a loader. The user needs to be able to essentially click through that button from the html/url link (not having to hit the flash movie THEN find and click the button.
The code in AS3 for the buttons is as follows:
//
Alpha_btn.addEventListener(MouseEvent.CLICK,Alpha1911);
function Alpha1911(e:MouseEvent): void {
galleryLoader.source = "flash/1911Alpha.swf";
}
BarnesEff_btn.addEventListener(MouseEvent.CLICK,BarnesEff713);
function BarnesEff713(e:MouseEvent): void {
galleryLoader.source = "flash/713BarnesEff.swf";
}
etc...
//
I hope this makes sense.
Thanks!
Bull