
Joined: 02 Jul 2003
Posts: 558
Location: UK
|
Dreamweaver Javascript into Flash XML
Im not sure if anyone can help, but i am having no luck trying to get this to work, so i am hoping someone with some web knowledge can help me out.
Can anyone help me out.
I have a video web page on my website, created using Dreamweaver cs3, and my player is by wasp. I have a list/menu below the video player of all the clips, each starts with Click Here To Play Video, when you click the video file plays, heres the code.
code: <h1>video footage</h1>
<p><a href="java script:;" onClick="wasp_loadAndPlay('video.flv')">Click to play:</a> <span class="style4">Display</span> - Part I
<p><a href="java script:;" onClick="wasp_loadAndPlay('video_1.flv')">Click to play:</a> <span class="style4">Display</span> - Part II</p>
*** not code but this repeats up to video_15.flv ****
</div>
<h1> </h1>
</div>
Now i want to change this text list to a flash scrolling menu, which i have. But it calls the links via xml file. A typical line from the xml is below
code:
<item>
<item_name>Project 1 </item_name>
<item_link>http://www.google.com</item_link>
</item>
<item>
<item_name>Project 2 </item_name>
<item_link>http://www.goole.com</item_link>
</item>
My question is, how can i make the flash xml menu call the video files from the <item_link> data entry, the same or similar way to the javascript in the dreamweaver code?, or is it even possible?
If anyone can help with the coding i would be very greatful.
Hope it makes sence
Many thanks
moses _________________ Any Backups Supplied To You By Us Are Supplied On The Understanding That You Own The Original Copy.
*** Discount on discs? Logon to DiskDepot with - username: disqworld password: diskdepot ***
|