Well i've been searching for about 30 mins now, found some programs that will put php info into flash, but i was wondering it i could just easily, do something like menu.swf?id=1, so then in flash i could detect that 1, in php it would be $_GET...
But i dont know how/if i can do it in flash..
-NSF
$_GET in Flash? [Solved!]
Moderator: General Moderators
$_GET in Flash? [Solved!]
Last edited by Zoxive on Tue Nov 01, 2005 8:42 pm, edited 1 time in total.
I almost put it in Miscellaneous, but...... i didn't...feyd wrote:Flash (Actionscripting) questions aren't PHP - Code
I also figure it out, its very simple and easy....
My example, is menu.swf?var=1
Then in Flash, on the main timeline, i could just link to that variable.
Ex. _root.textz = varz;
Then "textx" would show 1.
-NSF
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
you can also set the variable using Javascript

Code: Select all
<script>
movie = document.getElementById('<id of the flash movie>');
movie.SetVariable('var name', 'value');
</script>