Loading a module from outside the application directory in AIR

That has taken a fair bit of Googling to figure that one out. Because of security sandbox restrictions, when using the url of the ModuleLoader component, modules can only be loaded from the application directory (or any of its subdirectories).

Solution adapted from Enable Local App to load RunTime CSS.swf from Server

That has taken a fair bit of Googling to figure that one out. Because of security sandbox restrictions, when using the url of the ModuleLoader component, modules can only be loaded from the application directory (or any of its subdirectories).

Solution adapted from Enable Local App to load RunTime CSS.swf from Server

{syntaxhighlighter brush: as3}
private function loadModule():void
{
var file:File = File.userDirectory.resolvePath("test/MyModule.swf");

jQuery for cross device learning activities

I have started playing a bit with jQuery recently to explore its potential for cross-device coding. So far so good. I have created a few learning activities as jQuery plugins.

http://widgeds.wikispaces.com/

They run on desktop, iPad, iPod Touch, Android, OLPC browser.

Embedding tinyMCE or firebug-lite in the <mx:HTML> tag of an AIR project

When I started experimenting with the mx:HTML tag in AIR, I ran into a series of problem. Javascrpt code that would run perfectly fine in the webkit browser running on the desktop would not run correctly in an AIR app (using the same version of webkit) .

Flex project setup - Five use cases for multiple source paths linking

I had a chance to give a talk at the Wellington User Group recently. In the process of preparing it, I discovered a few new tricks and solidified a few old ones.

What I will describe here is how you can take advantage of source import to set up your flex project to enable parallel development of an official release, unit test, web service test, ui development and experimentation, mock data.

At its worst, you will end up with a reserved workspace in Flash Builder that contains the following projects:

Syndicate content
Powered by Drupal, an open source content management system