473,395 Members | 1,629 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

dropdown play flash movie

51
Now I have 3 flash movies.I want to create a dropdown menu to select what movie i want to play.And the movie will be played below of menu.any php solutions for it.
thanks
Mar 3 '08 #1
3 1663
ronverdonk
4,258 Expert 4TB
Show the code you have developed so far, show it within appropriate code tags, tell us the problem and we will have a look at it.

Ronald
Mar 3 '08 #2
th1982
51
I have the code like this :

[html]
<style type="text/css">
.style20 {font-size: 9px}
</style>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function change(node) {
var video = document.getElementById('video_container');
video.src = "flash/video" + node.value + ".swf";
}
</SCRIPT>
<table border="0" cellspacing="2">
<tr><br /><br /><br /><br /><br /><br /></tr> <tr>
<td style="padding-left:2px;"><table width="239" border="0" cellpadding="0" cellspacing="0" bgcolor="#d4d8d9">
<tr>
<td><img src="img/latest news.jpg" alt="ee" width="41" height="34" /></td>
<td style="padding-left:15px;"><p align="left"><span class="style20"><strong>Lastest News</strong> |
Download here</span> </p></td>
</tr>
</table></td>
</tr>
<tr>
<td style="padding-left:2px;"><table width="239" border="0" cellpadding="0" cellspacing="0" bgcolor="#d4d8d9">
<tr>
<td width="41"><a href="index.php?l1=161&l2=171"><img src="img/careers.jpg" alt="ee" width="41" height="34" border="0" /></a></td>
<td style="padding-left:15px;"><a href="index.php?l1=161&l2=171" class="tablink"><b>Career</b> | Apply now!</a></td>
</tr>
</table></td>
</tr>
<tr>
<td ><table width="100%" border="0" cellpadding="3">
<tr>
<td>Video</td>
<td><select name="select" id="numpage" onchange="change(this);">
<option id="0" value="0">VFM - ad</option>
<option id="1" value="1">VFM - Introduction</option>
<option id="2" value="2">VFM - VietNam: The potential market</option>
</select>
</td>
</tr>
</table>
<param name="quality" value="high" />
<embed id="video_container" src="flash/video0.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="270" height="250"></embed>
</tr>
</table>[/html]

I 've tried with javascript but it did not work. another way i want to use php to do it.is it possible? Thanks
have a look at this: http://www.purpleasia.com/clients/VFM_test/index.php?l1=161
Mar 3 '08 #3
th1982
51
Pls, help me who know about it.thanks a lot
Mar 5 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: jparker | last post by:
I have been working with ASP classic on this current project im involved in. Well the problem im facing now is there is a page where a flash movie should play in a particular section on the page...
0
by: plunder | last post by:
Hi all what I'm trying to do is a flash menu which in some points has a dropdown sub-menu which comes out on mouseover and contains elements which if clicked link to other pages. Point is that these...
5
by: mratanudey83 | last post by:
With the help of this forum members and google search i've done the following part Imports AxShockwaveFlashObjects Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object,...
26
by: Jake Barnes | last post by:
I did a search on the newsgroup comp.lang.javascript. I was searching for "how to play a sound with Javascript". I'm somewhat suprised that the majority of entries are from the 1990s, and there are...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.