This is a discussion on "Simple problem that i cant figure out!!" within the Flash & Multimedia Forum section. This forum, and the thread "Simple problem that i cant figure out!! are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Simple problem that i cant figure out!!
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Simple problem that i cant figure out!!
Hi i am looking to control the rotation of an object using two flash buttons.
When the button on the left is pressed i want it rotate to the left and opposite for the right button. I can get it to go forward but it will stop once it gets to end of the timeline, i need it to keep rotating until i lift the mouse of the flash button. I cant get the left button to work at all as it is allready at start of timeline but i still need it to go opposite way basically playing timeline in reverse. The flash movie itself is an embedded movie with 40 frames. Thanks Robert |
|
|
|
||||
|
Re: Simple problem that i cant figure out!!
There are several ways to do this.
1) you can create a movie clip that plays forwards and then create one that plays backwards and make it loop on mouse-over. 2) You can use actionscript and do this as well, but it'll be a little complicated. Basically you set your variable equal to something on mouseClick then check to see what the variable is and play it from that direction. If variable = left then your going to play it, else call the previous frame. Hope that helps.
Last Blog Entry: Happy Holidays - A Non Offensive way to say Merry Christmas? WRONG! (Dec 11th, 2007)
|
|
|||
|
Re: Simple problem that i cant figure out!!
Hi yeah the actionscript would be better need to keep file size down.
Can u give me more information on the actionscript? Thanks Robert |
![]() |
| Tags |
| frustrated |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] simple div problem | hhelen | Web Page Design | 5 | Apr 4th, 2008 14:56 |
| Simple Problem Please Help! | bthomson82 | JavaScript Forum | 3 | Jun 22nd, 2007 02:59 |
| Simple Flash 8 problem (Hopefully)... | fantombe | Flash & Multimedia Forum | 3 | Aug 31st, 2006 10:19 |
| (hopefully) simple navigation problem | edd_jedi | Web Page Design | 3 | Jul 26th, 2006 15:06 |