Category archive - Flash

move a movieclip to top of everything in Actionsctipt 3.0

A quick and easy way to move a movieclip to top of everything in Actionsctipt 3.0:

function moveToTop( mc:DisplayObject ):void
{
 (mc.parent != null) ? mc.parent.setChildIndex(mc, mc.parent.numChildren-1) : null;
}

fscommand in Flash CS5

For some reason the fscommand(“exec”,”some_app.app”); does not work when you publish a mac projector through flash CS5. the fscommand(“exec”,”some_exe.exe”); works fine when you publish a windows projector through flash CS5. The work around for mac which i came to know is:

navigateToURL (
   new URLRequest(
      "file:///Volumes/Name of Disc/your pdf file.pdf"), "_blank"
   );

this would not open in a browser window but open the pdf in acrobat. check out this forum on adobe’s website: http://forums.adobe.com/thread/790499?decorator=print&displayFullThread=true

Flash apps on iPads

Some examples of Flash applications on iPads.

Comb Over Charlie – an AIR 2.6 multiscreen game


Rossignol Experience iPad App


Digitas Cache II


Fishing Letter – CPU vs GPU (Air 2.6 / 2.7)


Flex on the iPad


Cabana App


Credits: http://www.bytearray.org/?p=3202