I try to make a GPS device interactive for a learning module. The problem is when I put an action to a button that he has to go to a frame the first time is no problem. He has to show what is on the display and a new button. This button is the same as before but needs a new different action ( show another button and display) but he is not going to the next button and display. he just stops.
Can anybody help me.
This is the code I use:
var _this = this;
Clicking on the specified symbol instance executes a function.
Moves the playhead to the specified frame number in the timeline and stops the movie.
Can be used on the main timeline or on movie clip timelines.
i don't know what you mean by, "This button is the same as before.." but a button that executes different code is in no way (other than possibly appearance), the same. it's a different button with a different instance name and different code.
It is for this device. There are lots of buttons who has more options. for example the menu button. When you klik the first time on this button (I made a button with the name knop_menu_01) something popups on de screen. Than you have to klik a second time on the button (button name knop_menu_02) a different screen is visible. But he stops after the first button. The code above is for the first button (knop_menu_01) the only change I did was the name of the button. But he won't go to the second screen.
Sorry here is the device.
If you just jump the frame.(I can't speak English, I use translation software, so please understand)
//Create an array to hold the frames you want to jump
//The first page
//Jump to the specified location of the array
//The array position plus 1 after the jump.
//My English is very poor.Whether the text is understandable
//Only within the range of arrays