Solved

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

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
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…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

695 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