Chris_Se7en
08-25-2006, 02:01 PM
I all:
I’ve used the search button for months now to find the information I need. I now find myself in a bind, so this is my first post. I spent yesterday running through every search possible that I can imagine. I think my terminology and/or fundamental understanding might be off.
Here’s my problem. I’m making a movie that uses dropdowns for navigation. Each dropdown is its own movie clip and contains multiple hard coded options. The following actionscript is on the top layer of one of the MCs:
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
As you can see, when I roll over the MC, a pretty little drop down appears and shows a few options. Now, I’m trying to make it so, when a user clicks one of the options, an event occurs. I have five individual button objects in my library. Only the first button that uses the following code will work (the rest throw errors):
this.onRelease = function() {
fscommand ("exec", "open_ECS20.bat");
}
Thing is, it only works for ONE option. The selecting the other options only loads the open_ECS20.bat file; never any of the others. I’m testing all this in the projector EXE file.
How shall I approach the problem?
--Thanks, Chris
I’ve used the search button for months now to find the information I need. I now find myself in a bind, so this is my first post. I spent yesterday running through every search possible that I can imagine. I think my terminology and/or fundamental understanding might be off.
Here’s my problem. I’m making a movie that uses dropdowns for navigation. Each dropdown is its own movie clip and contains multiple hard coded options. The following actionscript is on the top layer of one of the MCs:
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
As you can see, when I roll over the MC, a pretty little drop down appears and shows a few options. Now, I’m trying to make it so, when a user clicks one of the options, an event occurs. I have five individual button objects in my library. Only the first button that uses the following code will work (the rest throw errors):
this.onRelease = function() {
fscommand ("exec", "open_ECS20.bat");
}
Thing is, it only works for ONE option. The selecting the other options only loads the open_ECS20.bat file; never any of the others. I’m testing all this in the projector EXE file.
How shall I approach the problem?
--Thanks, Chris