I have a movie clip called R&D Buttons on the main timeline. Within this movie
clip I have 10 additional movie clips, which are basically animated buttons.
You can only see 5 of these buttons at a time so I have a button to toggle
which buttons are viewable. This button is placed in one of the 10 movie clips
inside the R&D Buttons movie clip.
I need to get this button to make the R&D Buttons movie clip play from a frame
name called 'Swap 1'.
After checking some tutorials I figured the script would be:
on (release) {
gotoAndPlay("_level0.R&D Buttons", "swap 1")
}
but this just makes the main timeline jump back to the beginning.
Any ideas? This is driving me nuts!
Thanks
Charles
w m d - 29 Sep 2005 12:35 GMT
Maybe the 'space' character and the '&' characters in the instance name are the problem.
CharlesNew - 29 Sep 2005 12:38 GMT
Nope, still does it. You click on it and it just jumps back to the first frame of the main timeline.
CharlesNew - 30 Sep 2005 10:33 GMT
I've made the .fla available for download as it might make it a bit easier:
http://www.bm-group.co.uk/testspace/bmgroup/HomePageButtons.zip
If you take a look in the library folder called 'R&D Buttons & Clips' its the
movie clip called 'Projects Clip 'IN' that has the command applied when you
click on the button inside it.
Any help would be very much appreciated!
Thanks
Charles
p.s. I know the links dont work and most of the buttons are missing but I've
only just started this particular job.
w m d - 30 Sep 2005 14:17 GMT
The script on your 'Projects Clip IN' button is OK at frame 1, but not at frame
7
Modify the last part of your button's script on frame 7:
on (release) {
_parent.gotoAndPlay("Swap 1");
}
Also, you might have had other problems because the instance of 'R&D Buttons
Clip' on the main timeline has no instance name.
CharlesNew - 30 Sep 2005 16:25 GMT
Thanks W M D, sometimes when you've been looking at something for so long its hard to see you've done something really simple and stupid!
Cheers
Charles
CharlesNew - 30 Sep 2005 16:25 GMT
Thanks W M D, sometimes when you've been looking at something for so long its hard to see you've done something really simple and stupid!
Cheers
Charles