|
-
I want a flash player to read a html link, can anybody help me here
-
read a html link ??
you mean something like this :
movie.swf?var=value;??
or
movie.html?var=value;
the first is rather simple but the second is more difficult because you can do it 2 ways :
1. clientside (with javascript)
2. serverside (with server side scripting; bv. asp)
Here the second is simpler because you don't have to worry about different browsers..
hope started you little bit, if you need more help let me know
Nyls
-
Hi,
you dont have to worry about different browsers with JS as well (unless they do not support JS at all), and you save one round trip to the server...
When you load xy.html?stuff=abc you will have the location.search property set to ?stuff=abc - it is just up to you to pass it on to html embedding
document.write('...<embed src="movie.swf'+location.search+'" width=...></embed>');
Musicman
-
Cheers mate,
what i've got is a html document that contains various links to mp3's.
What i'm trying to do is when they select the link a movie.swf opens up in a different html document and plays the selected mp3.
First of all i've got this:
<a href="Link.asp?lee=raisingfinance.mp3" Audio.mp3</a>
then
when the html document opens with the embeded swf file, i've attached:
"AudioPlayer.swf?name=lee"
to the embed and object tags.
Then there is a loadMovie script that reads the variable then loads it into a host.
I've set it all up but can't get the flash player to read the variable and play the mp3.
cheers
lee
-
Hi,
since this looks like it should work, you should perhaps post a link to your movie , so that someone can have an eye at it
Musicman
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|