Solved

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

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Embedded Webpage Videos don't auto play on Windows 7 1 111
Open Source MP4 Flash Player 2 178
Shockwave Flash Object within PowerPoint 2013 2 129
Removing Flash from Website 6 63
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

785 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