Solved

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

Posted on 2008-10-28
3
345 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
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I convert a CS4 FLA file to CS6? 1 877
To view Flash technology content error 4 6,650
Action Script commands 3 220
Software Restriction Policy 8 873
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

808 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