954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

embedded a flash swfl into notepad how to locate a new page(url)

in note pad i have embedded a flash movie.swf file

how can i make the flash swf file go to url in notepad another html page

<html>

<head>title</head>


<body>
<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" width="550" height="400">
</embed>
</object> 
</body>


<html>
bobafet
Newbie Poster
1 post since Sep 2008
Reputation Points: 10
Solved Threads: 0
 

You can not do so. You have to do it in Flash or similar application before you convert source file "fla" into "swf". This is done with ActionScript. More info getURL()

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

please replace this code instead of your code

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" name="somefilename"
 width="550" height="400" hspace="0" vspace="0" align="" id="somefilename">
  <param name=movie value="somefilename.swf" />
  <param name=menu value=false />
  <param name=quality value=high />
  <param name=bgcolor value=#FFFFFF/> <!-- or your bg color -->
  <param name="SCALE" value="exactfit" />
  <param name="wmode" value="transparent" />
  <embed src="somefilename.swf"  width="550" height="400" hspace="0" vspace="0" align="" menu=false quality=high bgcolor=#FFFFFF name="somefilename"
 type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="exactfit" wmode="transparent"></embed>
</object> 
</body>
</html>
siriyal
Light Poster
25 posts since Sep 2008
Reputation Points: 10
Solved Threads: 3
 

please replace this code instead of your code

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" name="somefilename"
 width="550" height="400" hspace="0" vspace="0" align="" id="somefilename">
  <param name=movie value="somefilename.swf" />
  <param name=menu value=false />
  <param name=quality value=high />
  <param name=bgcolor value=#FFFFFF/> <!-- or your bg color -->
  <param name="SCALE" value="exactfit" />
  <param name="wmode" value="transparent" />
  <embed src="somefilename.swf"  width="550" height="400" hspace="0" vspace="0" align="" menu=false quality=high bgcolor=#FFFFFF name="somefilename"
 type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="exactfit" wmode="transparent"></embed>
</object> 
</body>
</html>


The above codeis not solving initial question!
Question is, how does he call a page with use of flash file which was already exported to SWF. The above is just more precise declaration of flash object to be used in web page.

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You