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>

Recommended Answers

All 3 Replies

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()

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>

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 code is 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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.