Flash Tracer, win7, Firefox

Making Flash Tracer work under win7, flash debug player 10.

1. install Flash tracer from http://www.sephiroth.it/firefox/flashtracer/
2. create text file with the name ‘mm.cfg’ and save it inside “c:\Users\{username}\”.
mm.cfg should contain:
Continue reading ‘Flash Tracer, win7, Firefox’

JSFL move exported symbols to timeline

Couple of days ago I wrote simple jsfl (my first) script to automate the process of moving library symbols with linkage id to main Timeline.
The reason: to show proper loading progress. Was doing it one by one for every project before: uncheck export in frame one, move to main timeline keyframe2.
Once all symbols are moved, using frame one for preloader and after jump to frame 3 for main movie.
Continue reading ‘JSFL move exported symbols to timeline’

as3 Scaling Image Gallery

I remember ~5-6 years ago when I decide to make my first flash components using actionscript only, scaling image slideshow was one of them.
I got lots of feedback, comments and after that I start my freelance flash development carrier.
In fact, the slideshows, galleries are the flash elements that I’m using almost in all flash projects/websites, so I think it might be useful to share some code for scaling image gallery.
Continue reading ‘as3 Scaling Image Gallery’

New toy: macBook pro

It have been like one month since I got my new toy … macBook pro 15 inch 2.8 GHZ laptop.
I just love it since first day of use, its fast, sexy and it works fine.
But not for flash development which is my primary job all time. The only software that I can’t work without is flashdevelop.
Continue reading ‘New toy: macBook pro’

as3 remove duplicated childs

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:
Continue reading ‘as3 remove duplicated childs’

Changed blog theme to K2

Just changed my blog theme to K2, I like the simple and clean look, need to change couple of settings later during the weekend.

AS3 Simulating cue points for Sound

update:
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.

Continue reading ‘AS3 Simulating cue points for Sound’

AS3 CursorManager

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).
Continue reading ‘AS3 CursorManager’

Easing preloader as3

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 ‘Easing preloader as3′

Tile background in AS3

Update
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 ‘Tile background in AS3′