Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using a variable in a link 1

Status
Not open for further replies.

Thoe99

Programmer
May 11, 2001
119
US
How do I use a variable in a link of a geturl? I want to loadmovienum(flash/folder2/+variable+".swf")

I hope you got the idea.
 
What exactly you want to do with that variable?
...and as far as i know you cannot use folder specifications with that action: flash/folder2/movie.swf ...won't work...you need to have all the files in the same directory. Regards,
Dragos.


 
This will work:

loadMovieNum("flash/folder2/"+variable+".swf",1);
 
Thanx wangbar, man...one of those late night of programming. Ends up I did try your method, but I had something else completely wrong! Sleep refreshes your mind so well!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top