Hi
Me and a friend has been working on this MP3 player for 2 days now with no luck.
We got a variable called “id” coming in containing a number, that number is then shipped to ASP file that looks it up in a database and returns a URL to a MP3.
_root.loadVariables(“loadlink.asp?id=” + _root.id,“post”);
Sofar so good, and if I create a textfield, set it to Dynamic Text and set the “Var:” to “_root.link” it will write out the URL to the MP3 just fine.
But when I try to use the Variable as a URL for the LoadSound
_global.Behaviors.Sound.mySound.loadSound((_root.link),true);
(If i hardcode the link to the MP3 here, instead of “_root.link”, it works fine)
I get:
Error opening URL “Undefined”