473,473 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

flashvars???

347 Contributor
I have a flash file setup to play an mp3, just a simple player at the moment.
the followinf code tells it what the file to play is

s = new Sound();
s.loadSound("test.mp3",true);
gotoAndPlay("Playing");

what i want to do is pass the name of the mp3 file from the param tag in the html page

i have tried the following

<param name="Flashvars" value="&amp;mp3file=test.mp3">

but cant figure out how to get this variable in the actionscript

can anyone help??
Jul 9 '08 #1
0 1678

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

Similar topics

5
by: Keeko | last post by:
Actionscriptor needs help! I have a working javascript function (getVar()) that extracts a variable from a link and returns it. (tested with alert() works fine). But I am unsure of how to right...
0
by: Dariusz Tomon | last post by:
Hi I have got the problem with web control displaying flash (swf) object. The problem is connected with the fact that 1-st swf should loads the second one. But it doesn't. That's why I suspects...
1
by: lexx | last post by:
Hello, I was wondering if this is possible. Can I change the value of the FlashVars parameter of an embeded swf file using a button with a javascript onClick event handler. I want a button to...
0
by: crisscross27 | last post by:
Hi, I found a page called "myflashfetish" where you chan choose mp3 players for my space, well the problem is this, I wanted to place 2 or more players in myspace in a particular place, I read...
9
by: GloStix | last post by:
Okay, when I click the link it dissapears and makes a white space underneath it but the space is clickable. so when you click the space, the link actually works Used Firefox 3.0 RC2 for this. OS X...
7
by: Anil Gupte/iCinema.com | last post by:
I am trying to create a simple FlashPlayer in VB. I used the following: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim...
1
by: theJonster | last post by:
Hi I am embedding a swf object. I try: <script type="text/javascript" src="../scripts/swfobject.js"></script> <script type="text/javascript"> var flashvars = { ...
2
by: harryusa | last post by:
Greetings all: I'm using an off the shelf uploader called MultipowUpload (see http://www.element-it.com/MultiPowUpload.aspx) a nice Flash FTP uploader. I have used it for a few years but I only...
44
colinod
by: colinod | last post by:
I really need some help!!!!!! I look after a website for my company www.yaketyyak.co.uk as you will see we have a large list of actors on the site that we look after, each actor has their own id...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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,...
1
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...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
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.