dotkrawler
04-11-2004, 05:29 AM
It seems like I'm really close to this, but I can't figure out my problem...
I've attached my file for any who can help...
OK, I made a movieClip that contains some buttons. This movieClip is to act like a multiple state button, witch it does. Then I wanted to use a few instances of that clip as buttons that would link to a few outside pages. However, if I simply put an on(press) action to the movieClip instance, that the buttons inside the clip no longer work, but I did find a way around that by using a function in the root timeline.
I want this function to determine which Clip is pressed and get a URL based off of witch Clip is selected.
So, in order to know which Clip is being selected I made a variable "selected".
(which is traced, so you can see that it is being set properly)
Now, here's the kicker, it seems that it works, but only after the Clip has either been selected twice, or is selected once, then a different Clip selected.
It seems to be delayed???? Always falling one click behind, even though when I trace the "selected" variable it's always correct.
FYI while looking at the scripts, button01_mc should open a new window with image.html , and button02_mc should open a new window with image2.html. And if you can help me get the script right, each numbered button should open a corresponding image.html.
Thanks for taking the time to lend your thoughts on this....
I've attached my file for any who can help...
OK, I made a movieClip that contains some buttons. This movieClip is to act like a multiple state button, witch it does. Then I wanted to use a few instances of that clip as buttons that would link to a few outside pages. However, if I simply put an on(press) action to the movieClip instance, that the buttons inside the clip no longer work, but I did find a way around that by using a function in the root timeline.
I want this function to determine which Clip is pressed and get a URL based off of witch Clip is selected.
So, in order to know which Clip is being selected I made a variable "selected".
(which is traced, so you can see that it is being set properly)
Now, here's the kicker, it seems that it works, but only after the Clip has either been selected twice, or is selected once, then a different Clip selected.
It seems to be delayed???? Always falling one click behind, even though when I trace the "selected" variable it's always correct.
FYI while looking at the scripts, button01_mc should open a new window with image.html , and button02_mc should open a new window with image2.html. And if you can help me get the script right, each numbered button should open a corresponding image.html.
Thanks for taking the time to lend your thoughts on this....