473,800 Members | 2,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

dropdown play flash movie

51 New Member
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 1685
ronverdonk
4,258 Recognized Expert Specialist
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 New Member
I have the code like this :

[html]
<style type="text/css">
.style20 {font-size: 9px}
</style>
<SCRIPT LANGUAGE="JavaS cript" TYPE="text/javascript">
function change(node) {
var video = document.getEle mentById('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;"><tab le width="239" border="0" cellpadding="0" cellspacing="0" bgcolor="#d4d8d 9">
<tr>
<td><img src="img/latest news.jpg" alt="ee" width="41" height="34" /></td>
<td style="padding-left:15px;"><p align="left"><s pan class="style20" ><strong>Lastes t News</strong> |
Download here</span> </p></td>
</tr>
</table></td>
</tr>
<tr>
<td style="padding-left:2px;"><tab le width="239" border="0" cellpadding="0" cellspacing="0" bgcolor="#d4d8d 9">
<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="chang e(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_conta iner" src="flash/video0.swf" quality="high" pluginspage="ht tp://www.adobe.com/shockwave/download/download.cgi?P1 _Prod_Version=S hockwaveFlash" type="applicati on/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=16 1
Mar 3 '08 #3
th1982
51 New Member
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
2259
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 but it wont play on the secure pages, on the unsecure pages it plays fine. I had added an Active X work in accordance with the Lawsuit issue but it still wont play. Has any body faced this problem and if so could you point me in the right...
0
1644
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 elements contained in this sub menu when clicked actually do nothing...! Here is what I did: placed the menu the way I wanted, converted this images to Movie Clip, double clicked, added 4 layers (one for the actions, one for an alpha...
5
4866
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, ByVal e As System.EventArgs) Handles MyBase.Load Dim axShockwaveFlash As New AxShockwaveFlash axShockwaveFlash.Location = New System.Drawing.Point(10, 10) Me.Controls.Add(axShockwaveFlash)
26
3906
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 almost no posts from the last 3 years: http://groups.google.com/group/comp.lang.javascript/search?group=comp.lang.javascript&q=how+to+play+a+sound+with+Javascript&qt_g=Search+this+group Even after sorting by date, there don't appear any...
0
9690
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10253
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7576
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.