Google Tasks – AIR App
- Compatibility: AIR 1.5.3 and later (ActionScript 3.0)
- File Size: About 400Kb
- Change Log
Download Now (1.0.1)
Description
Google Tasks is an Adobe AIR app that allows you to view/edit/add/delete tasks without your browser.
It is similar to Christian’s found here, but with some added features.
Added Features
- Always on top – I wanted it always on top of my other windows.
- Saves size and position – This way you are not resizing and moving it every time you open it.
.whistler – An AIR Trace Viewer
- Compatibility: AIR 2.0 and later (ActionScript 3.0)
- File Size: About 450Kb
- Change Log
Download Now (1.0.5)
What’s New
- Removes extra spaces from AIR traces
Description
.whistler is an Adobe AIR based utility. It is capable of displaying the trace and policy log generated by the Flash Debug Player. These log files are used by all browsers so this utility can be used with Internet Explorer, Safari or even Chrome all at the same time. What ever browser supports the Flash Debug Player, .whistler can display Flash traces from it.
I made this utility originally for AIR 1.0 but realized that the log files are locked when an AIR app is running. I eventually forgot aout this project until recently. When I learned that as of AIR 1.5.2, an AIR app can read the log files. So I finished this app up and got it out there. This will make it much easier to debug in other browsers besides Firefox. You also won’t need to have Firefox running just to watch traces anymore and best of all, it’s multi-platform to boot!
I know this will overlap with Flashbug, but it’s a great tool none-the-less. Use whichever works best for your workflow. Enjoy!
Features
- View Trace Log – View the trace log from any browser.
- View Policy Log – View the policy log from any browser.
- Filter – Filter the log with any keyword or use regular expressions.
- mm.cfg Creation/Configuration – mm.cfg will be created automatically if it doesn’t exist. You can then configure it directly from .whistler. Any changes you make to mm.cfg outside of .whistler are still reflected in the Options pane.
- Auto-update capability
Notes: General AS3 Tips
This is the final bit migrated from the Labs Wiki. This is just a short list of quick and easy tips to keep in mind when programming AS3.
- Do not use Objects, if you know which properties will be finally involved. Write a class for it; AS3 seems to register a memory space for them and will have faster access.
- Keep variable names as short as possible. While this doesn’t help a lot, it does help a little.
- Items of 0 alpha are still draw on the stage. Use visible = false to save CPU cycles
Notes: Math Optimizations
This is some more stuff migrated from the Labs Wiki. Below is just some aggregated tips and tricks I’ve found on other blogs or websites.
Extract Colors
Not really an optimization per se, but just how to extract color values.
//24bit var color:uint = 0x336699; var r:uint = color >> 16; var g:uint = color >> 8 & 0xFF; var b:uint = color & 0xFF; //32bit var color:uint = 0xff336699; var a:uint = color >>> 24; var r:uint = color >>> 16 & 0xFF; var g:uint = color >>> 8 & 0xFF; var b:uint = color & 0xFF;
Compile Timestamp – Timestamp your SWFs!
- Compatibility: ActionSctip 2.0 / ActionScript 3.0
- File Size: About -Kb
- Change Log
Description
Compile Timstamp is a Flash extension that adds a new layer to your fla with a trace of the filename and compile timestamp. Used with FlashBug, this allows you to easily check the version of your online swf. This was created because the servers we used at work often cached our files on multiple servers. So it was difficult to tell which version we were actually looking at.
Sample
Try Compile Timestamp (You will need to FlashBug open to see the trace)
#### index.fla - 01/17/2008 11:46:39am
Features
- Seamlessly adds a timestamp to your SWF when published
- Contains the time, date, and name of the FLA