
Welcome Guest
|
#1
|
|||
|
|||
|
Need Help With Buttons
Hi Ppl,
I have a flash swf, with buttons that calls up another MC. My problem starts with this MC, as this MC also has another set of buttons which navigates itself...a horizontal- slide navigation style. It wont do what its supposed to do! It doesnt move! It moves in the test/by itself... So im hoping if anybody could tell me what to do, or if i can put the AS into the button, instead of writing it on the movie... FYI, the sliding script is not mine, but i got it from another site : .................... // Loading initial content: onClipEvent (load) { _x = 760; // Initial x coordinate _y = 0; // Initial y coordinate velocity = 3; // Value for the speed of transition } // onRelease methods for the new values of endX and endY: onClipEvent (enterFrame) { _x += (endX - _x) / velocity; _y += (endY - _y) / velocity; _root.item1.onRelease = function() { endX = -760; endY = 0; }; } ............. The main flash is at here,while the second MC is here. Basically what i want to do is, when it goes to the second MC, i can use the buttons to go where i want it to. Any help is appreciated. =) |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help assiging AS to buttons on differnt frames | DJAVUL | ActionScript 3.0 |
1 | 09-01-2009 05:25 PM |
| Mimic button's behavior with MC and keyboard | Jayme65 | Actionscript 2.0 |
1 | 07-26-2006 08:47 PM |
| Loading buttons into movie clips in ordered sequence? | datter | Flash MX ActionScript |
2 | 12-08-2004 03:24 PM |
| Buttons under buttons ? how ? Doesnt work | cheryleong | General Flash | 2 | 04-05-2004 04:57 PM |
| Why won't my buttons work?!? | LPLP | General Flash | 2 | 08-01-2001 06:58 PM |




