Solved

Which is faster - Actionscript Tween or in-flash animation?

Posted on 2008-10-28
3
347 Views
Last Modified: 2013-11-11
I am working on a new Flash game, and have currently animated the 'peeps' walking using the actionscript Tween class. The movements are stored in an array and executed one after the other.

However, performance is a big issue in this game, and I was wondering if it would be less CPU intensive if I created the animations in flash and then did a gotoAndPlay('walk') instead?
0
Comment
Question by:JPardoe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Expert Comment

by:asaivan
ID: 22824625
Not that I'm aware of.  Things on the timeline just compile down to binary anyway, same as AS.  My thought is, that it's less intensive overall to use ActionScript.  But it may just be the same.
0
 
LVL 1

Accepted Solution

by:
trypt earned 125 total points
ID: 22840457
as tween is definitely faster than timeline tween.
but if u're so concern about performance,
i suggest not to use the default tween class in the class library.
go get TweenMax from greensock. it's the fastest as tween engine so far that i know...
or get Tweener from google code, that one is also a great tween engine, but not as fast as TweenMax.
0
 

Author Comment

by:JPardoe
ID: 22849700
Many thanks for your input! That info was very useful!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question