|
|
|
#1 |
|
Member
Join Date: Jan 2003
Posts: 78
|
Elastic question Please help:)
I have a real simple question:
I want to make text slide in horizontally, come to it’s location, but it goes past it a little bit bouncing back and forth a few times before it stops. I would like to do this effect with a motion tween but I don’t want to key frame the effect, I want to do it with action script. Can this be done? I looked up and down this entire forum and could not find an example of this. If anybody can do this can you Please, Please, Please post the .fla Thanks
__________________
chris davis |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Dec 2003
Posts: 210
|
personally i use an extension for doing things like this. check out http://proto.layer51.com/d.aspx?f=1142 for more info.
this .mxp makes wonders for me. |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Feb 2004
Location: Los Angeles
Posts: 2,920
|
I like to write these kinds of things myself.
Here's a quicky version. Just attach this script to the first frame of a new movie. Set it to 30 fps for smoother motion. Taking the time to figure out exactly how this script works will make you a better person ![]()
For more examples of things moving with springy motion, see my website (link below). Last edited by jbum; 09-30-2004 at 03:49 PM. |
|
|
|
|
|
#4 |
|
Member
Join Date: Jan 2003
Posts: 78
|
...
thanks for replys, but there is nothing on your site that i was looking for k/smaert.
Jbum looks like you have code that creats a text field onload but i am looking to do it with already created text with a motion tween on it. I am begeining to think there is no way to to it "cries".
__________________
chris davis |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Feb 2004
Location: Los Angeles
Posts: 2,920
|
If you want to use an existing movie clip, then simply remove these lines:
and substitute the name of your pre-existing movieclip for txt_mc, in the last line of the script. If your text field is not currently inside a symbol movieclip, then put it inside one by using convert-to-symbol. This makes it easier to manipulate via actionscript. Use the properties panel to assign the name 'txt_mc' (or whatever you want to use) to the new symbol. - Jim |
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|