Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > General > Animation and Effects

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-26-2001, 04:23 PM   #1
solidsnake
Registered User
 
Join Date: Mar 2001
Posts: 26
Default

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
solidsnake is offline   Reply With Quote
Old 03-27-2001, 04:45 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Old 03-27-2001, 06:04 PM   #3
solidsnake
Registered User
 
Join Date: Mar 2001
Posts: 26
Default thnx again :)

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
solidsnake is offline   Reply With Quote
Old 03-30-2001, 09:28 AM   #4
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 04:41 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.