Archived entries for actionscript

Busting AS3’s Myths


Mythbusters Video Voting Minisite

Another good practice for me to debunk all my questions on AS3 right away. Took quite a while for the power to kick in, but I really felt using best practice in AS3 really does fastens up productivity by a lot.
That is not only applying for myself, but imagining there will be another colleague of yours that might need to change your code in case you are not there, temporarily. Full fledge Tweener class in AS3 is used inside as you can see.

Minimal animation at this point because I’m not sure if it is appropriate to go all crazy with my limited knowledge on AS3. On the other, I noticed error handling are certainly way better and detailed than AS2/AS1 counterparts, though it might be a serious pain in the ass when the compiler keeps bitching on missing or unknown objects.

What other benefits I have learnt from there? Loading objects and controlling them are becoming more structural, if it’s a correct word to use, which means sending and receiving data will be more “organized”. Even controlling of video object (flv) is easy, and I can easily retrieve the playheadTime on the fly. But of course one of the biggest myth debunked that, learning AS2 in advance does help you to-know which object to use for an interaction, although the calling method might be entirely different now.

offtopic – have I mentioned I totally enjoyed http://www.thesixtyone.com ?

jumbleText Class (v1.0 11 June 2008)


jumbleText Class (v1.0 11 June 2008)
Hi there everyone, I’m hereby would like to share with you my first humble experience in creating a class for AS2.0, namely jumbleText.as which you can download at :
http://www.manmeng.net/fun/jumbleText.zip

What it does?
Takes up your text and jumble it up in a bunch of gibberish and then slowly forming it back to the original text. Look at…matrix? or http://www.yugop.com

How does it look?
Here I have setup a sample page : http://www.manmeng.net/fun/jumbleText.swf

What is this?!
It’s an experimentation that I did back then to incorporate to my long overdued portfolio site, but I felt it’s best I share it to see how I can improve from here.

How do I use it?
I’m trying my best to make it as dumbproof and easy for user, but at this point, here are what it is needed (refer to screenshot on top as well).

  • Create a new font and link to “myfont”
  • import com.manmeng.misc.io or import.com.manmeng.misc.*
  • use an empty movie clip, probably name it, such as “mc”
  • use this… io.jumbleText(movieClipName, yourText, width, height, textColor, textSize)

And then you are ready to rock! Hope you will enjoy it. Any bugs report or suggestion please mail it to siaukia [at gmail dot com. I will port thisto AS3 as well. Keep in tuned!



Copyright © 2004–2009. All rights reserved.

RSS Feed. This blog is proudly powered by Wordpress and uses Modern Clix, a theme by Rodrigo Galindez.