Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flash General Questions > Flash 8 General Questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-07-2006, 04:30 AM   #1
wownflutter
Senior Member
 
Join Date: Oct 2002
Posts: 258
Default Easing movement from forward and backward buttons.

Hi

I am trying to set up a long horizontal movie clip which will be eased to different points from a forward and a backward button.

I would love to have this done simply via targeting x axis values, but realize this may be best just with "advancing forward" a set number of frames.

But, I still need easing.

How can I code the button to move set amounts of x axis with easing?

Thanks for any help
wownflutter is offline   Reply With Quote
Old 02-07-2006, 04:40 AM   #2
oldnewbie
Banned by AS.org Staff
 
Join Date: Mar 2002
Posts: 10,533
Default

You can look into "barney" type sliders (that have easing...) and using 2 buttons , especially if your displays are all of the same width, just move (forward or back...) for a fixed number of pixels, on each of the button presses...

http://www.flashkit.com/search.php?t...=19&Submit.y=7
oldnewbie is offline   Reply With Quote
Old 02-07-2006, 05:03 AM   #3
oldnewbie
Banned by AS.org Staff
 
Join Date: Mar 2002
Posts: 10,533
Default

You don't ease to frames... But to specific coordinates.

Supposing you have 10*200 pixels pictures and the starting position is 0, then the next position will be 0+200 and so fourth...

If the current position (including 0) is set within an updated variable, the going forward or backward, is pos_var + 200 or pos_var - 200...
oldnewbie is offline   Reply With Quote
Old 02-08-2006, 03:36 PM   #4
antibob
Registered User
 
Join Date: May 2004
Posts: 4
Default

I was wonderin ghte same thing as wownflutter...

Your post makes sense oldnewb, but how would one go about easing to the destination coordinates?

thanks for any advice/links.

-ab
antibob is offline   Reply With Quote
Old 02-08-2006, 04:11 PM   #5
wownflutter
Senior Member
 
Join Date: Oct 2002
Posts: 258
Default

I can explain the easing via the laco tweens, but having the movie clip not scroll past the stage is still a big mystery.

I have searched this "everywhere" with no answer.... (oouch)
wownflutter 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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
crossfade- backward and forward tony_montana ActionScript 2.0 9 04-28-2004 02:52 AM
forward backward script andreas Other Flash General Questions 1 04-19-2001 06:49 PM


All times are GMT. The time now is 11:56 AM.

///
Follow actionscriptorg on Twitter

 


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