| | |
Display a movie clip on a button click
Please support our Graphics and Multimedia advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Well, here's a quick and dirty code for this would be
however the real syntax is
For furthur features you could use JavaScript
Graphics and Multimedia Syntax (Toggle Plain Text)
getURL("URL", "_target");
Graphics and Multimedia Syntax (Toggle Plain Text)
getURL(url [, window [, "variables"]])
•
•
Join Date: Nov 2006
Posts: 27
Reputation:
Solved Threads: 0
•
•
•
•
Well, here's a quick and dirty code for this would be
however the real syntax isGraphics and Multimedia Syntax (Toggle Plain Text)
getURL("URL", "_target");
For furthur features you could use JavaScriptGraphics and Multimedia Syntax (Toggle Plain Text)
getURL(url [, window [, "variables"]])
Thats what i said use javascript. Add javascript to the page you want to open and set the width, height of the page. e.g.
[html]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<script language="JavaScript" type="text/javascript">
/*<![CDATA[*/
function resize(w,h)
{
window.resizeTo(w,h);
}
/*]]>*/
</script>
</head>
<body onload="resize(200,200)">
</body>
</html>
[/html]
[html]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<script language="JavaScript" type="text/javascript">
/*<![CDATA[*/
function resize(w,h)
{
window.resizeTo(w,h);
}
/*]]>*/
</script>
</head>
<body onload="resize(200,200)">
</body>
</html>
[/html]
Why make it complicated? Keep it simple:
make a button, and link it to a page containing a movie.
make a button, and link it to a page containing a movie.
Graphics and Multimedia Syntax (Toggle Plain Text)
<a href="mymoviepage.htm"><img src="pictureofmybutton.jpg" /></a>
Last edited by MidiMagic; Mar 21st, 2007 at 12:08 am.
Daylight-saving time uses more gasoline
I agree, why not just link it to another page simple and easy.
Note: Just be sure that the movie is optimized so the download time will be fast.
Note: Just be sure that the movie is optimized so the download time will be fast.
![]() |
Similar Threads
- How To Save/Download A Short Movie Clip (Windows 95 / 98 / Me)
- Tk Button Click Response (Python)
- Windows Media Player not playing movie clips Error ID = 0xC00D11D1 (Windows NT / 2000 / XP)
Other Threads in the Graphics and Multimedia Forum
- Previous Thread: How to run A script
- Next Thread: Can I place an image into the Flash movie box so appears when Flash blocked by browse
| Thread Tools | Search this Thread |
3d 10 actionscript3 adobe adobeacrobat adobereader air ajax amazon amf apple button cart childprotection cloud dashboard dell design dojofoundation dreamweaver ebay eclipse ecommerce elasticcomputecloud embed endorsement extra family flash flash-develop flashlite flex free harddrive iamthwee ibm illustrator imflash intel interactivemap javafx javascript laptop legal map micron microsoft mobile monitoringsoftware moonlight multimedia myspace nand news novell panorama pdf pedophiles photoshop photosynth php safety sandisk security shopping silverlight solidstatedrive sproutcore ssd streaming swf table ukmap unload unwanted video vulnerability web white.space xml zend zephyr zeroday






