There are several ways of doing the same thing, the result is the same, I was wandering if there is more efficient way to do this.
Lets say you have xml that looks like:
Just changed my blog theme to K2, I like the simple and clean look, need to change couple of settings later during the weekend.
pause() method is added, example .fla file is updated.
As far as I know there is no way for adding cue points in flash Sound, but using SoundChannel.position property we can check playhead current position and simulate cue points for Sound.
So I wrote simple utility Class for simulating cue points for Sound Class In AS3.
CursorManager is simple as3 class that lets you change cursor at runtime.
Example uses also Event.MOUSE_LEAVE event to hide/remove custom cursor when mouse leaves flash display area(with combination of MouseEvent.MOUSE_MOVE to show back cursor).
Here is the example of easing, reusable preloader that I am using in some of my projects.
The general idea is to tween the loader bar to the next point instead of just jumping to it.
The easiest way to achieve that effect is using one of the tweening libraries. Continue reading
Because of for dual screen Capabilities.screenResolutionX returns only size of main screen, setSize method is added in class.
You should set width and height in setBitmap and loadBitmap methods as well.
source files are updated.
Here is the simple class file that allows to set tile background in flash.
Background can be set from both flash IDE library (linkage) and from external path.
Using Capabilities.screenResolutionX and Capabilities.screenResolutionY we can set width and height of background to match the screen size and don’t care for resizing. Continue reading
Here is the way I made Tooltip for my flash projects.
It’s class attached to library symbol, in order to change skin you have to just modify movieclip in library. Background contains guides for 9 slice scaling.
Example of accessing tooltip from external movie is uploaded with the source files.
I got my books week ago, mostly reading these days.
Wish you all Happy New 2009 !
Will try to find more time for blogging in next Year.
I just found from Ben Forta’s Blog that ADC videos are available on iTunes.