gSkinner - Home

AIR Panel for Flash CS3 Updated

Posted on July 3, 2007 by Grant Skinner

We’ve updated our panel for testing, configuring and packaging AIR applications in Flash CS3. The most significant updates are the addition of a setting for window mode (system or transparent), and support for XML round-tripping, so edits/additions to the AIR application XML file will be preserved.

We’ve also tweaked the interface, and made some other minor updates. Click over to the original post for installation instructions, and a download link. Please use extension manager to remove the previous extension prior to installing this version! Everything should still run ok, but removing the old version in the future may cause problems.

We think we’ve also isolated the issues some people were having with packaging to a bug in the JSAPI, and have added troubleshooting information about this to the end of the original post.

Thank you to everyone who tested it, and provided feedback! Please continue to do so.

Follow @gskinner on Twitter for more news and views on interactive media.
18 Comments

Thank Grant for the updates! I'll start playing with it on Thursday.

Posted by: John O on Jul 3, 2007 5:30pm

Ah, Chrome support.. thank you :)

Posted by: Matt on Jul 3, 2007 6:40pm URL: http://www.mkeefedesign.com

for the international users, on the xml app file add:

:)

Posted by: Freddy on Jul 4, 2007 3:22pm

mm, ok that was the UTF-8 declaration line

Posted by: Freddy on Jul 4, 2007 3:42pm

I updated and now when I write classes and check the syntax, I get this error in the Compiler Errors window. I wouldn't ask except that I can't find any documentation since it's a beta.

"Warning: 5004: The file 'playerglobal.swc', which is required for typechecking ActionScript 3.0, could not be found. Please make sure the directory '$(AppConfig)/ActionScript 3.0/Classes' is listed in the global classpath of the ActionScript 3.0 Preferences."

Posted by: Kevin on Jul 6, 2007 2:25pm

sounds like you renamed or deleted playerglobal.swc or you somehow changed your as3.0 publish settings..

make sure that you have the playerglobal.swc in the ActionScript 3.0/Classes/playerglobal.swc of your Flash CS3 install directory.

If it is in there, make sure you didn't delete the line $(AppConfig)/ActionScript 3.0/Classes from your ActionScript 3.0 publish settings

Posted by: Kyle on Jul 6, 2007 3:18pm URL: http://gskinner.com

LOVE YA GS.. works beautifully..

Posted by: Chris on Jul 8, 2007 11:16am URL: http://nuigroup.com

Hey Grant, saw the AIR Panel for the first time at the On Air Bus Tour in LA and knew I had to get it immediately. But it's not working on my Mac. I'm using your Hello World app, hitting Test in the AIR Panel and it publishes but you don't see an end result. Deleted the config file but that didn't change anything.

Posted by: Adam Bell on Jul 19, 2007 5:06pm URL: http://www.datatv.com/

Great job

Is transparent window mode only limited to the Stage size when you publish with Airpanel? Is there a way to utilize the whole desktop?

Posted by: Vitaly on Jul 27, 2007 2:39pm

This is a great extension! Could anyone tell me how to access the AIR runtime classes like the JavaScript "" inclusion?

Posted by: Selkcip on Jul 27, 2007 8:36pm URL: http://jar42.com

Oops I forgot i couldn't use html. This is what I meant: "script src="AIRAliases.js"".

Posted by: Selkcip on Jul 27, 2007 8:38pm URL: http://jar42.com

Hello, great component, I just need to know how to get started with writing AIR specific AS in flash, I tried this:

import flash.display.NativeWindow;

import flash.events.MouseEvent;

close_btn.onRelease = function (){

stage.window.close();

}

stage.addEventListener(MouseEvent.MOUSE_DOWN,onMouseDown);

function onMouseDown(p_event:MouseEvent){

stage.window.startMove();

}

But it doesn't seem to work, and I get this error when I'm compiling: The class or interface 'flash.events.MouseEvent' could not be loaded.

Posted by: Lasse on Aug 11, 2007 5:31am URL: http://www.lassemoos.com

Hi,

This is an amazing extension, thanks for all the hassle you put into making it available to everybody!!

I do have a small issue though..

I've followed the installation instructions but apparently I could only make it work (after quite a few attempts) by putting a copy of airglobal.swc airframework.swc and servicemonitor.swc (from Flex 3 "Moxie" build) in the "Actionscript 3 Classes" folder, it runs perfect besides that 5004 warning about the missing playerglobal.swc (which is still in the same location "Actionscript 3 Classes" folder"), the code is being checked and formated properly, your extension compiles AIR properly, Flash compiles SWF's properly but i still get this 5004 warning.. any ideas about it?

I should mention that I use Mac OSX 10.4.10 PPC.

Just another small one: how do I use custom icon if the XML is generated on compile time and is compiled into the AIR file??

Thanks!!

Amit

Posted by: Amit on Aug 11, 2007 8:05pm

I was having the problem, (as mentioned above at Posted by: Kevin at July 6, 2007 02:25 PM). Once I moved the 'airglobal.swc' file, everything was fine. Makes me think it wasn't in the right directory to begin with and I should read instructions more closely. :P Thanks for the effort! Keep up the great work!

Posted by: kevin on Aug 22, 2007 7:44pm

I can't seem to use any of the air specific code within my Flash AIR file. Am I supposed to be able to do things like launch a new NativeWindow? Are there import statements that I need to include?

Posted by: Becky Kinney on Sep 11, 2007 9:14am

You will need to import any AIR API classes you want to work with.

import flash.filesystem.File;

Posted by: Grant Skinner on Sep 11, 2007 9:42am URL: http://gskinner.com/blog/

I am having problems using the servicemonitor package. I keep getting an error stating that the compilor can't find air.net.URLMonitor class. I have the airframework.swc, servicemonitor.swc in my actionScript 3.0 classes folder. What else do I need to do?

Posted by: Lewis on Sep 18, 2007 9:24am

How do I uninstall this?

I get the "playerglobal.swc" error as well, despite the fact that playerglobal is definitely in \Program Files\Adobe\Adobe Flash CS3\en\Configuration\ActionScript 3.0

Posted by: Aaron on Jan 10, 2008 11:29pm

Leave a Reply

Your email is never published nor shared.




You may use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">