Open external swf from within another external swf?
Hello, I'm relatively new to AS3 and have a problem that I'd like to see if anyone can provide a response.
I have an external swf that is opened through a web page, but the swf does not diplay in a web page, we use javascript to remove the browser, control the window size to 1024X710, no scrollbars, etc. Within that external swf I want to use a button that the user can click to open a separate external swf that is located in the same folder; however, I want it to display as the original swf (without it being displayed in an Internet browser, no scroll bars, a certain size 1024X710), etc. I've been able to find script where you can open an external web page with a certain size window; however, I find nothing regarding how to open an external swf with conditions.
Any help you can provide would be greatly appreciated!
We use this script on a web page to open the external swf:
<script language="Javascript">
function openSWF1(cbtFile)
{
window.open(cbtFile,"NewWindow","toolbar=no,directories=no,menubar=no,scrollbars=yes,width=1024,height=710");
}
</script>
We use the following html code to call the JS and open the applicable swf file:
<a href="javascript:openSWF1('CBT/AppTrng/EIP-New-Siebel.swf')">Enterprise Image Processing (EIP)</a>
