Display a movie clip on a button click

Reply

Join Date: Nov 2006
Posts: 27
Reputation: anti_genius is an unknown quantity at this point 
Solved Threads: 0
anti_genius anti_genius is offline Offline
Light Poster

Display a movie clip on a button click

 
0
  #1
Nov 15th, 2006
Hi,

Can someone tell me how can i do the following in Flash;

When i click on a button a movie clip is loaded but in a new pop up window.

Thanks
Last edited by anti_genius; Nov 15th, 2006 at 4:36 am.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 1,337
Reputation: vishesh is on a distinguished road 
Solved Threads: 39
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: Display a movie clip on a button click

 
0
  #2
Nov 16th, 2006
Well, here's a quick and dirty code for this would be
Graphics and Multimedia Syntax (Toggle Plain Text)
  1. getURL("URL", "_target");
however the real syntax is
Graphics and Multimedia Syntax (Toggle Plain Text)
  1. getURL(url [, window [, "variables"]])
For furthur features you could use JavaScript
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 27
Reputation: anti_genius is an unknown quantity at this point 
Solved Threads: 0
anti_genius anti_genius is offline Offline
Light Poster

Re: Display a movie clip on a button click

 
0
  #3
Nov 18th, 2006
Originally Posted by vishesh View Post
Well, here's a quick and dirty code for this would be
Graphics and Multimedia Syntax (Toggle Plain Text)
  1. getURL("URL", "_target");
however the real syntax is
Graphics and Multimedia Syntax (Toggle Plain Text)
  1. getURL(url [, window [, "variables"]])
For furthur features you could use JavaScript
It works but we cannot set the window size with it .
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 1,337
Reputation: vishesh is on a distinguished road 
Solved Threads: 39
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: Display a movie clip on a button click

 
0
  #4
Nov 18th, 2006
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]
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,266
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 170
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Display a movie clip on a button click

 
0
  #5
Mar 21st, 2007
Why make it complicated? Keep it simple:

make a button, and link it to a page containing a movie.

Graphics and Multimedia Syntax (Toggle Plain Text)
  1. <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
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 7
Reputation: philregalo is an unknown quantity at this point 
Solved Threads: 0
philregalo's Avatar
philregalo philregalo is offline Offline
Newbie Poster

Re: Display a movie clip on a button click

 
0
  #6
Mar 21st, 2007
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.
Philregalo Enterprises
A Carmel Trading Company
www.PhilRegalo.com
1-619-374-0762 (USA)
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 26
Reputation: satish.ambition is an unknown quantity at this point 
Solved Threads: 1
satish.ambition's Avatar
satish.ambition satish.ambition is offline Offline
Light Poster

Re: Display a movie clip on a button click

 
0
  #7
Mar 23rd, 2007
we can also do one more thing we may take different frames and use the GOTOAND STOP \PLAY function and control it
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 3799 | Replies: 6
Thread Tools Search this Thread



Tag cloud for Graphics and Multimedia
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC