[color=#003399]id = 99;[/color]
[color=#003399]code = d02d;[/color]
[color=#003399]pass = 32422;[/color]
[color=#003399]user = bob;[/color]
[color=#003399][/color]
[color=#003399]info from a url ie:[/color]
[color=#003399][/color] [color=blue]http://www.mydomain.com/guestbook.html?id=99&code=d02d&pass=32422&&user=bob[/color]
[color=#003399][/color]
[color=#003399][/color]
[color=#003399]I would imagine pulling it into a array and cutting it up, however thats beyond me.[/color]
[color=#003399][/color]
[color=#003399]If anyone could help with this, or point me towards a snipt of code I could modify it would be much appreciated.[/color]
To my knowledge, you would have to use javascript to deliver that info into flash, because I don’t think that flash has any way to check the URL for variables.
You can also have a php script write a text file and load that, etc. etc., there are some workarounds.
I don’t agree with what was said ealier, I think they are automatically avialable inside flashes root, just refer to user or whatever variable and it automatically returns the variable
you can adapt that if you can get bombingpixels idea to work, but I have never heard of how to access url variables in _root. If anybody knows how that is done, please let us know.
function doPassVar(args){
var sendText = args.value;
window.document.myFlash.SetVariable("myVar", sendText);
}
function getHTMLURL(){
alert("HTML URL is : " + document.URL);
}
I was just trying to work out how to combine those to functions, which would pass the entire URL to flash… I would then still have to break it up…
I see where you have it… but that wont help me there…
It will be coming from a e-mail account vailidation…
I wont know what the:
id
code (md5 encryption)
username
password
is…
Looks like its back to the Java function… and then the dam split()
OOP’s… lucky I posted the Java, I closed the file I was working on and didn’t save it… and I would hate to try and find it again… About time I got lucky