nevermind, solved it (or atleast came up with something that works):
I found this:
http://desdev.blogspot.com/2005/10/getting-querystring-params-to-flash_07.html
and is AS3 I used this:
try {
var keyStr:String;
var valueStr:String;
var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
for (keyStr in paramObj) {
valueStr = String(paramObj[keyStr]);
if (keyStr =="process"){
trackName.text = valueStr;
myVar.text = keyStr;
}
if (keyStr =="mySong"){
mySong.text = valueStr;
//myVar.text = keyStr;
}
if (keyStr =="myTable"){
myTable.text = valueStr;
//myVar.text = keyStr;
}
}
} catch (error:Error) {
// tf.appendText(error);
}
Thanks.
On 11/2/06, Carl Welch <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to send an URL query string to AS 3:
heres the string:
http://someurl/track_visualizer.php?process=foo.mp3&myTable=bar
I found this example (12th item down):
http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/
Now, I suck at using classes (at the moment) and would just like to
put it in the frame with the rest of my script. I've tried to widdle
it down but keep getting errors. Can someone point me in the right
direction?
--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]
805.403.4819
--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]
805.403.4819
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com