Simple problem that i cant figure out!!

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 26th, 2007, 02:43
Up'n'Coming Member
Join Date: Jan 2006
Location: NI
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote

  #2 (permalink)  
Old Apr 26th, 2007, 14:53
JustinStudios's Avatar
SuperMember

SuperMember
Join Date: Mar 2007
Location: USA
Posts: 406
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to JustinStudios
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.
Reply With Quote
  #3 (permalink)  
Old Apr 26th, 2007, 23:25
Up'n'Coming Member
Join Date: Jan 2006
Location: NI
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Reply

Tags
frustrated

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 15:10.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43