Here's my problem and how far I am so far. I struggled for awhile to get the browser to fill most of it with my flash movie and keep it proportional if the user chooses to size up or size down. This pretty much takes care of the browser size complications. Here is original script and it works. But now I have few problems after this.
CODE#1
Expand|Select|Wrap|Line Numbers
- <!-- masked -->
- <html>
- <head>
- <title>PinkSlipStudio</title>
- </head>
- <!--text used in the movie-->
- <frameset rows="100%,*" border="0">
- <frame src="http://www.spiralof5.com/pinkslipstudio.swf" frameborder="0">
- <frame frameborder="0" noresize>
- </frameset>
- </html>
- <!-- m -->
Expand|Select|Wrap|Line Numbers
- getURL("javascript:openNewWindow('http://www.spiralof5.com/tb_flash2.swf','thewin', 'height=206,width=430,toolbar=no,scrollbars=no')");
CODE#2
Expand|Select|Wrap|Line Numbers
- <script language="JavaScript">
- function openNewWindow(URLtoOpen, windowName, windowFeatures) {
- newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
- </script>
But remember this doesn't have code #1 in it. Since I don't want the object tags and body tags messing with the code from #1 I instead paste code #2 into my made from scratch html that contains code #1. I get no popups. I've tried to mix and match the html files and this is what I came up with but it doesn't work.
Expand|Select|Wrap|Line Numbers
- <!-- masked -->
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <title>PinkSlipStudio</title>
- <script language="JavaScript">
- function openNewWindow(URLtoOpen, windowName, windowFeatures) {
- newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
- </script>
- </head>
- <!--text used in the movie-->
- <frameset rows="100%,*" border="0">
- <frame src="http://www.spiralof5.com/pinkslipstudio.swf" frameborder="0">
- <frame frameborder="0" noresize>
- </frameset>
- <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">
- <param name="allowScriptAccess" value="sameDomain"/>
- <embed allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/>
- </object>
- </html>
- <!-- m -->
Thank you very much,
Scott