Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie Q: Simple Banner won't tween smoothly

Status
Not open for further replies.

MarkRobinson

Programmer
Feb 18, 2000
112
0
0
US
at djbmechanical.com we want photos to scroll from left to wright in a 1000px wide box.
I made a jpg 3000 px wide, and imported it into a 1000 px wide stage.
Ccreated two keyframes at position 1 and position 360, one where the jpg is justified on the left, and the other where the jpg is on the right.
Did a motion tween. at 12 fps.
Works, but looks choppy. Would love it to be smooth. Increasing the fps to 94 is better -- but there are warnings about this.
Is there a better way?

Flash newbie - please be gentle.
 
oldnewbie is right - it is possible to tween using actionscript, and it is usually less choppy. There is a great tutorial on the kirupa website - just google: kirupa tween class.

Also, if you are trying to tween a 3000px wide jpg - there might be some slowdown (due to the size of the jpg). If you right-click on the image in your library, you can edit the settings of your image (i usually tick the smoothing tickbox, and untick the "use document default quality" tickbox, and fiddle with the quality until you get the optimum mix of performance v quality.



A computer always does what you tell it to, but rarely does what you want it to.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top