interactive
11-11-2002, 12:09 AM
Ok I'm not a flash expert at all. Just helping a friend out automating his shard (UO) sign ups. For some the variables aren't named correctly. When he setup the text fields or wahtever he set "Variable" to /:username like we read in a tutorial that didn't work so we tried just username. Any ideas? All help is appreciated.
interactive
11-12-2002, 08:44 PM
still stuck on this anyone got any ideas?
sasha
11-12-2002, 09:18 PM
Don't get it. Are you just tring to send some vars from flash to php??
Rich2k
11-13-2002, 05:33 AM
Both can be done but I think we need a bit more info as to what you are trying to achieve.
Bulldog
11-13-2002, 10:47 AM
Yah, I'm not exactly clear on what you're trying to accomplish.
But if it's simply sending variables from a flash form to a processing mechanism take a look in google and find some tutorials.
jtrovato
11-13-2002, 06:17 PM
Flash and PHP work great together.
Sending variables back and forth is easy. Of course they have to be the same variable and case.
all you have to do is echo the variable name to the screen and the value. From what I know about flash, you will need a loop terminater
output:
variable1="hi"&variable2=50&loaded=true
that should be echoed to the screen and the flash should be able to read that in and see the two variables.
If you can post a more clear thread we can help....
John
serveit
11-14-2002, 05:03 PM
Also take a look at
http://www.flashkit.com/tutorials and http://www.hotscripts.com/Flash/
Both are excellent sites and I know there are examples at both.
Also, there is a book called "Robert Penner's Programming Macromedia Flash MX" that you might want to pick up.
It gives a pretty good how-to on passing info back and forth between flash and asp or php.
dTuesday
11-14-2002, 09:32 PM
Originally posted by jtrovato
Flash and PHP work great together.
all you have to do is echo the variable name to the screen and the value. From what I know about flash, you will need a loop terminater
You can also use:
onClipEvent( data ){
statement(s);
}
instead of a loop.
- D
dTuesday
11-14-2002, 09:37 PM
oh, and if you are sending info from PHP to Flash, Flash likes it best when the very first name value pair is sent with an & up front.
i.e. --
&myVar=data
- D
dTuesday
11-15-2002, 03:35 AM
Another good link is www.moock.org
you have to look around a bit but they've got some good examples.
jtrovato
11-15-2002, 05:05 AM
that's a good idea too...