Dave
Oct 3 2003, 10:48 AM
How do I link a flash file from an html page and have it open in a new page
at the correct size.
An example, the flash is 320x240, but it open as a full page and is
distorted.
I am link from a button in an html page.
Is there a better way to show and flash file?
Thanks
Dave K
Michael Brown
Oct 3 2003, 12:28 PM
You need to use JavaScript to do this an example would be...
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<a href="void()"
onClick=window.open("myfile.swf","flash","HEIGHT=320,WIDTH=240")>Click
Here</a>
</body>
</html>
Replace myfile.swf with the path to the Flash file you want to open.
Hope this helps
Michael
"Dave" <[Email Removed]> wrote in message
news:7mdfb.13404$[Email Removed]...
QUOTE |
How do I link a flash file from an html page and have it open in a new page at the correct size.
An example, the flash is 320x240, but it open as a full page and is distorted.
I am link from a button in an html page.
Is there a better way to show and flash file?
Thanks
Dave K
|
Dave
Oct 4 2003, 05:25 PM
This works as advertised :-)
Thanks
Dave K
"Michael Brown" <[Email Removed]> wrote in message
news:nQefb.24284$[Email Removed]...
QUOTE |
You need to use JavaScript to do this an example would be...
<html <head <title>Untitled Document</title <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" </head <body <a href="void()" onClick=window.open("myfile.swf","flash","HEIGHT=320,WIDTH=240")>Click Here</a </body </html
Replace myfile.swf with the path to the Flash file you want to open.
Hope this helps
Michael
"Dave" <[Email Removed]> wrote in message news:7mdfb.13404$[Email Removed]... How do I link a flash file from an html page and have it open in a new page at the correct size.
An example, the flash is 320x240, but it open as a full page and is distorted.
I am link from a button in an html page.
Is there a better way to show and flash file?
Thanks
Dave K
|
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.