[font=Century Gothic]tsunami[/font]
[font=Century Gothic][/font]
[font=Century Gothic][color=green]I did this tutorial, and it works fine, but I want to make the individual things into buttons, like a navigation. In the example they have something like, 01. one, 0.2 two…etc. I want those to be buttons, how do I do that??[/color][/font]
Put something like that on each of the menu items
onClipEvent(press){
//do something
}
[font=Century Gothic]I have a picture on frame 40 of the main timeline. I want it so that when I click “01. one” it goes to that picture. So I put this code on “01. one” and it did not work. [/font]
[font=Century Gothic][/font]
[font=Arial Black][color=seagreen]onClipEvent(press){
gotoAndPlay(40);
}[/color][/font]
[font=Arial Black][color=#2e8b57][/color][/font]
[font=Century Gothic][color=black]How do I fix this?[/color][/font]
can you upload your fla that would help for a more exact answer. When you say it’s not working, what is it doing instead… without knowing that I can only guess a bit so these may not help at all.
- try gotoAndStop(40);
- you might need _root.gotoAndPlay(40);
- er I dont have enough info really… sorry man
Is the little finger coming up, like when you roll over a button, or does it stay an arrow? That would help a bit, and I’ll go DL the souce for that file so I can see what youre doing maybe.
[font=Century Gothic]Scroll up to my original message, and click on the link. Download the .fla. Open it. Now you should see a “[color=royalblue]list[/color]” like this:[/font]
[font=Century Gothic][/font]
[font=Century Gothic][/font]
[font=Century Gothic]I want to turn this “[color=royalblue]list[/color]” into a navigation. Let’s say you have a picture on [color=royalblue]frame 40,[/color] and when you click “[color=royalblue]01. one[/color]” it goes to [color=royalblue]frame 40[/color] and shows the picture. I tried the code you posted, and when I press [color=royalblue]‘ctrl+enter’[/color] to watch the movie, this happens[/font]
srry, the pics dont work
the message that i get when i try to play the movie is
[font=Courier New][color=red]Error Symbol=02 - textcol1, layer=c1- 01, frame=1:Line 1: You must export your movie as Flash 5 to use this action.
onClipEvent(press){[/color][/font]
[font=Courier New][color=red]Total ActionScript Errors: 1 Reported Errors: 1[/color][/font]
Making me do work to help you isn’t a very good way of getting things done, my time is probably as filled as yours, however, I’ll let you off.
I was simply trying to see the direction you are going and your code additions and modifications, so that I might be able to tailor a solution to your style of coding…that way I wouldn’t have to explain my style. I’ll attach the file as I have modified it, so you can learn from it, I did not make it with comments or anything but I think you can figure it out. If you need more help you are going to have to post the file as you have it.
oh, thanks alot, i know im probably annoying you by now with this, its just that im new with actionscript…and if i wasnt so **** lazy last year, i would of continued those flash lessons and i would know all of this stuff. thanks again!
[font=Century Gothic]theres one problem with this, it does not move…its not a tsunami anymore, the 01. one and 0.2 two…and so forth are still, there supposed to be moving like [/font]
[font=Century Gothic]here[/font][font=Century Gothic].[/font]
[color=black]add this action to the 01 movie clip:[/color]
[color=black] [/color]
[color=red]on (release) {[/color]
[color=red]gotoAndPlay(40);[/color]
[color=red]}[/color]
[color=#ff0000][/color]
[color=black]if frame 40 is on the same level as 01 movie clip.[/color]
[color=#ff0000][/color]
[color=black]You’ll have to publish it as flash6 to make it work.[/color]