| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Mar 2001
Posts: 26
|
Hi all, i know this sounds complicated but i was wondering if it's possible to use a button(rollover) to control an animated MC and to slow down and stop according to the speed of mouse and rolloff direction? Any comments or suggestions would be greatly appreciated, tia.
Cheers |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
We'd need more details...
See this tutorial first off: http://www.actionscripts.org/tutoria...nt/index.shtml What exactly do you want to have happen? When does the clip stop, and when does it slow down, and in relation to what... Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Mar 2001
Posts: 26
|
Hi Jesse, i want to put a button(say 200x200) on top of a MC,which is constrained to the hit area. on rollover i want the MC to follow the mouse and on rollout i want the MC to slow down, bounce off the hit area and stop in relation to the direction of the mouse rollout. i know it sounds like alot
but thnx again.Cheers |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Sorry Snake but I still can't picture it...
Are the button and the MC separate on the stage, or is the button in the MC, or is it directly on top of the MC. If you're dragging a button, you're never going to be able to rollout... Bouncing off the hit area wouldn't be so hard if the MC was being tweened with Actionscript, but if the user is dragging it they could bring it in on any angle, so getting it to move in relation would be a nightmare. Sorry to sound like a doomsayer but it sounds mighty dificult... take a look at this tutorial at least: http://www.actionscripts.org/tutoria...nt/index.shtml It might help you with the actionscriting of movement if you can figure out how to determine the current angle/pth of the clip on rollout... Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Jigsaw Problem | PabloPicasso | Gaming and Game Development | 6 | 02-23-2005 04:26 AM |
| Actionscript movement help needed! | St. Nick | ActionScript 1.0 (and below) | 11 | 08-18-2003 05:37 PM |
| preloader of external MC and loading MC | net2 | ActionScript 1.0 (and below) | 5 | 08-15-2001 10:32 AM |
| Use loadMovie to load MC into MC ?? | TBoyB | Simple Stuff (Newbies) | 5 | 08-02-2001 04:47 AM |
| mc direction change | defrex | ActionScript 1.0 (and below) | 2 | 07-15-2001 10:37 PM |