Home » Archive

Articles in the AS3 Category

AS3, Uncategorized, flash, usefull »

[22 Jun 2011 | No Comment | ]

A very nice tip over there:
http://blog.comtaste.com/2008/11/how_to_know_who_called_my_acti.html

AS3, Featured, Headline, flash »

[4 Aug 2010 | 6 Comments | ]

I was looking for class that would create a really cool lightning effect for me just like that, without having to deal with mathematics and co. Useless to say that when looking for such a thing, this will most likely end as a waste of time.
Well, I was wrong. I found this fabulous piece of art over there: http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/
I take absolutely no credits for what I have done as it’s a pure copy of what this guy did. I just needed to re-do it in order to understand and see …

AS3, Commercial Projects, Featured, Headline, flash »

[8 Jun 2010 | No Comment | ]

And the very last project I worked on is a promotional website for Samsung: http://www.samsung-3dtv.be/
Samsung is now promoting their new 3D Televisions and it was a great occasion to organise an event with plenty of things to win (like this Home Cinema full featured worth +- 6300 €) and a website with plenty of things to win as well (like this Home Cinema full featured worth +- 6300 €)… yeah I’m repeating myself, but it has been discovered that nothing else can be better to actually make you memorize something …

AS3, Commercial Projects, Featured, Headline, flash »

[8 Jun 2010 | No Comment | ]

Launched a few months ago, here is the last project I worked on: Fanta Less Serious, a Youtube channel dedicated to “less serious” stuff…
So what’s the main purpose of this website ? sell more fanta… yeah but also entertain people. This channel regroups all the best fun videos on youtube and that’s pretty great actually.
A few words on the flash development though.
It isn’t really over glowing on the website but there is a smooth displacement effect on the big buttons on the home page (and other pages as well) that …

AS3, Strange/Bugs, flash »

[17 Mar 2010 | No Comment | ]

If your project compiles a bit faster than usual but doesn’t seem to work at all without even giving you any error. Or when debugging your project, it simply tells you that there is no actionscript code or something similar, you might want to have a look at this post first: http://blog.open-design.be/2009/05/27/5005unknown-error-when-optimizing-byte-code-bullshit/
And if this doesn’t solve your problem then you might have this problem:
Two symbols having the same Class name. I know, flash doesn’t allow that but when assigning a base class to a bunch of symbols, it might happen …

AS3, Strange/Bugs, flash, usefull »

[26 Jan 2010 | 5 Comments | ]

Well in fact, it is… or is it not ? depends on how you see it.
The trouble
If using masks or objects that have their “visible” property on true but “alpha” at 0.0, it is taken into account into the calculation of the bounding rectangle. Even objects that are outside of the masked area are added to it.
The solution(s)

During my search, I found a post from David Barlia: http://studio.barliesque.com/blog/2008/10/the-trouble-with-getbounds/. He uses a custom technique to approximately calculate the bounding area of a DisplayObject.

In that same post, someone proposed to use BitmapData …

AS3, Strange/Bugs, flash »

[20 Jan 2010 | 4 Comments | ]

Here is the “configuration”:

One main movie that loads external movies.
Externals movies that have stop() functions on their timeline.

When played alone, the external movies run perfectly. The stop() functions work well and everything’s fine.
But when loaded into the main movieclip, all the stop() functions stop working… (well in a way they work “too well”)
Reason:
Conflicting classes… (I suppose)
My external movies have a base class, let’s call it “ExternalMcBaseClass”.
In my main movie, I declare that my external movies are of the type of “ExternalMcBaseClass”. When I specify their type as a simple “MovieClip”, …

AS3, Featured, Headline, RabbitTween, flash, tween, usefull »

[26 Sep 2009 | 7 Comments | ]

RabbitTween is a professional transition / tween engine written in ActionScript 3 for Flash.
It is fast, easy to use and written in an object oriented way and so easily customizable (code is commented)
If you want to know the “story” behind the RabbitTween, please follow this link.
RabbitTweenMax is making its apparition in the set. It allows to tween filters and much more coming soon.
Check out the new demo showing what you can actually do with RabbitTween and RabbitTweenMax.

AS3, flash, usefull »

[23 Sep 2009 | 2 Comments | ]

Imagine you want to call a function but you don’t have its reference, only its name.
Well everything in ActionScript 3 follows pretty much the same logic. Every member of an object can be accessed via object["member_name"];
Now it should be easy to get a function from it:

var f:Function = object["function_name"] as Function;

Featured, Headline, RabbitTween, flash, tween »

[17 Sep 2009 | 2 Comments | ]

RabbitTween is a brand new AS3 tweening engine, simple, fast and very light weight.

Yeah I know, I have been away for a long time, giving no news and posting absolutely nothing for months !… and look who is coming back with an already existing thing that everybody has already seen everywhere ?!? …
It may look stupid and useless as there are so many engines out there that may do the job a hundred times better. And that’s what I was telling myself till a couple of days ago…
But why would …