lynott
August 14th, 2002, 07:57 AM
Hi,
I was wondering if anybody would have some input on this.
I have three paths in my movie, p0, p1 and p2 (instance names). These paths are buttons and when I click on the right button I will get a message saying congratulations, if I click on the wrong button I will get a message saying wrong path.
The catch is, a text file will contain the info on which button(path) is the correct one.
The text file will contain, p1=true&, nothing else.
This text file will change every time the game is played so I was hoping if some one would be able to help me.
Does anyone know the action script that will check the var in the text file and assign the correct path(button) as the successful outcome???
I was wondering if anybody would have some input on this.
I have three paths in my movie, p0, p1 and p2 (instance names). These paths are buttons and when I click on the right button I will get a message saying congratulations, if I click on the wrong button I will get a message saying wrong path.
The catch is, a text file will contain the info on which button(path) is the correct one.
The text file will contain, p1=true&, nothing else.
This text file will change every time the game is played so I was hoping if some one would be able to help me.
Does anyone know the action script that will check the var in the text file and assign the correct path(button) as the successful outcome???