Error publishing Air in Flash CS3
Hi All
On the Adobe Air Flash CS3 wiki page
http://labs.adobe.com/wiki/index.php/AIR:Flash_CS3_Professional_Update:Getting_Started_wit h_AIR_for_Flash_CS3_Professional)
I found a simlpe tutorial "Creating an Adobe AIR application
in Flash"
I thought well this can't be hard can it?
However when I use the Publish Air File button in the 'AIR -
Applications and Installer Settings' window I will get the
following error:
"namespace is invalid in the application descriptor file"
Now I have tried to look into the XML file but I cannot see
any problems.
I also tried to use the descriptor-template.xml which came
with the Air - SDK
However also that will not work.
Has anyone got an idea why I get this error?
Hi FragFood!
I received the same error "Namespace is invalid in the
application descriptor file" repeatedly on many computers
(XP/Vista) and here is how i repeatedly worked around it.
I made a step-by-step sheet explaining exactly how to install
Flash CS3 (9.0) with the Latest Flash Player (v9.0.124), and with
Adobe AIR (1.0) as of today (3/May/2008).
If you have already installed Flash CS3
Uninstall Flash CS3
Goto all the "Program Data" folders, RENAME/DELETE the "en"
folder
Goto "Program Files" folder, RENAME/DELETE the "en" folder
Now to get the latest version of Flash CS3 installed!
Please follow these steps exactly; each one is extremely
important.
Installing Adobe Flash CS3
#1. Install Flash CS3
#2. Open Flash, Close it
Installing Adobe AIR Runtime
#3. Download & Install "AdobeAIRInstaller.exe"
--->
Adobe AIR Download Center
Installing Adobe Flash Player Update for Flash CS3 Professional
(9.0.2) -- 12/12/2007
#4. Download & Install "flash9-en_US_9_0_2_Update.exe"
--->
English/Windows,
English/Macintosh,
Other
Languages
Installing Adobe AIR Update for Flash CS3 Professional --
2/25/2008
#5. Download & Install "flash9-en_US_9_0_3_Update.exe"
--->
English/Windows,
English/Macintosh,
Other
Languages
Installing Adobe AIR update beta 3 for Flash CS3 Professional
– Updated 12/14/07
#6. Download & Install
"flashcs3_air_extension_p3_en_121407.exe"
--->
Multi-lingual/Windows,
Multi-lingual/Macintosh,
Other
Languages
#7. Open Flash, Close it
Installing Adobe AIR Update for Flash CS3 Professional --
2/25/2008
#8. Install "flash9-en_US_9_0_3_Update.exe" again
---> see #5
#9. Open Flash, Close it
Installing Adobe Flash Player Update for Flash CS3 Professional
-- 04/17/2008
#10. Browse to "C:\Program Files\Adobe\Adobe Flash CS3",
DELETE the "Players" folder
#11. Download "flash_player_update6_flash9.zip"
--->
Multi-lingual/Windows/Macintosh
#12. Copy the "Players" folder from
"flash_player_update6_flash9.zip"
#13. Paste into "C:\Program Files\Adobe\Adobe Flash CS3"
To test your Flash Player installation... (Optional)
Open Flash
Create New > Flash File (AS 3)
File > Publish Settings
Checkmark "Windows Projector .exe", OK
File > Save, Save it someplace with any name
File > Publish
Now browse to the folder you saved the FLA File
Look at your EXE File
You should see a "Red colored square" icon instead of the
usual "Blue colored circle" one
To test your AIR installation... (Optional)
Open Flash
Create New > Flash File (AIR)
Click OK on the message that appears
File > Save, Save it someplace with any name
Commands > "AIR - Create AIR file"
Then on the dialog that appears asking you for a Digital
Certificate:
Press Create...
Type some info, and a password, and save it into the same
folder you saved the FLA File
Now type the same password again, Press OK
If you see an error "Unable to contact timestamping server",
press "Continue without timestamping"
You should see a message "AIR File has been created" !!!
Enjoy Flash CS3 with the Latest Flash Player (v9.0.124), and
with Adobe AIR (1.0) !!
Faithfully,
Robin.
Similar Messages
-
I'm having difficulty getting the option for New>Flash File (Adobe AIR). I've installed the Adobe AIR update for Flash CS3 Professional but the AIR file type doesn't appear. The update notes say "Be sure to follow the instructions in Installing Adobe Air 1.1 Update for Flash CS3 Professional to ensure you use the latest update" but if I follow this link the update doesn't download as it says I already have the latest version installed. In fact Adobe AIR reports version 1.5.1.8210 so do I have to uninstall the latest version of AIR and then install AIR 1.1? Rather puzzlingly, if I create a new AS3.0 file in Flash the publish options only allow me to target AIR 1.0.
Any suggestions gratefully received.Hi David,
Thanks for the feedback. It's never too late because we can
change this in the next release of Flash (that also includes AIR
support). However, I'm unable to reproduce the problem on Vista
with 1024x768 screen resolution. The dialog still fits in the
screen at this resolution. We'll shrink it down for the next
release. Please let me know if you're using the Flash build that is
not English.
Thanks,
San -
Trace() crashes Flash CS3
Hi!
I have a nested for-next loop running in Flash AS3. The loop
is functioning correctly.
But, when I add any trace() inside the loop to track
variables, it crashes Flash CS3 (shuts down).
Has anyone else experienced this?
I am on Macintosh OSX. Flash seems to be crash-happy. I am
still in my 30-day trial period, and not even sure I'll buy it.
Seems to be quite buggy.
TIABy the way heres is the Vista Error Log:
Produkt
Adobe Flash CS3
Problemsignatur
Problemhendelsesnavn: APPCRASH
Programnavn: Flash.exe
Programversjon: 9.0.0.494
Tidsstempel for program: 46015140
Navn på feilmodul: AILib.dll
Feilmodulversjon: 13.0.128.0
Tidsstempel for feilmodul: 45c17494
Unntakskode: c0000005
Unntaksforskyvning: 0005bda0
OS-versjon: 6.0.6000.2.0.0.256.1
ID for nasjonal innstilling: 1044
Tilleggsinformasjon 1: b179
Tilleggsinformasjon 2: 3002bfb3a6ea85a667dd3f5c05c040c5
Tilleggsinformasjon 3: dde9
Tilleggsinformasjon 4: c7a68b49da8650225411c072c3e54c24 -
Publishing AIR for iOS in Flash CS5.5 gives Java VM error
Hi,
I have been getting the following error when trying to publish AIR for iOS from Flash CS5.5. I'm using AIR 2.7 overlayed, Windows 7 x64.
Any help would be greatly appreciated.
Thanks!I tried overlaying the latest AIR as sinious suggested, but that only changed my error message by adding the line about ADT as in the original post.
I was finally able to get the app to compile by calling adt from the command line. Here is an example .bat file that worked for me:
@echo=off
@set java_cmd="C:\Program Files\Java\jre6\bin\java.exe"
@set java_param=-Xmx128m -jar
@set adt_cmd="C:\Program Files (x86)\Adobe\Adobe Flash CS5.5\AIR2.6\lib\adt.jar"
@set target=ipa-test
@set cert=iOS_dev.p12
@set cert_pass=password
@set provisioning=my_iOS_device.mobileprovision
@set build_file=helloworld.ipa
@set desc_files=helloworld-app.xml
@set files=helloworld.swf AppIconsFolder
%java_cmd% %java_param% %adt_cmd% -package -target %target% -storetype pkcs12 -keystore %cert% -storepass %cert_pass% -provisioning-profile %provisioning% %build_file% %desc_files% %files%
pause -
Publish timestamp error - Air 2 Flash CS5
Hello, I use Adobe Flash CS5 Pro to create AIR presentations and when I try to build an AIR application, Flash fails to create the timestamp for the self-signed certificate and shows an error "There was an error connecting to the timestamp server. You might not have a connection to the network, or the server itself may have a problem".
I've tried publishing at home and the server seems to work, so I guess it's something related with the company firewall. Can anyone provide any information about what might be blocking a connection to the timestamp server? Is there some other setting that I can change (other than the JRE proxy settings)?
Thanks a lot,
MicheleHi Michele,
Our timestamp server url is https://timestamp.geotrust.com/tsa, however this isn't a normal webserver so it gives me a 404 when I try and navigate to it. I'm not sure is there is a way or utility to verify it's online other than going through the ADT process.
Chris -
AIR Intrinsic Classes-Tried and Proven Approach to building AIR applications in the Flash CS3 IDE
Hi everyone,
For all of you out there who would like to develop AIR
applications
from the Flash CS3 IDE but aren't sure how to get those pesky
intrinsic
classes working, I have a technique that you can work with to
create
your classes and make fully functional AIR applications.
First of all, those solutions out there that list
"intrinsic" functions
in their class definitions won't work. That keyword has been
taken out
and simply won't work. The "native" keyword also doesn't work
because
Flash will reject it. The solution is to do dynamic name
resolution at
runtime to get all the classes you need.
Here's a sample class that returns references to the "File",
"FileStream", and "FileMode" classes:
package com.adobe{
import flash.utils.*;
import flash.display.*;
public class AIR extends MovieClip {
public static function get File():Class {
try {
var classRef:*=getDefinitionByName('flash.filesystem.File');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get File
public static function get FileMode():Class {
try {
var
classRef:*=getDefinitionByName('flash.filesystem.FileMode');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get FileMode
public static function get FileStream():Class {
try {
var
classRef:*=getDefinitionByName('flash.filesystem.FileStream');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get FileStream
}//AIR class
}//com.adobe package
I've defined the package as com.adobe but you can call it
whatever you
like. You do, however, need to import "flash.utils.*" because
this
package contains the "getDefinitionByName" method. Here I'm
also
extending the MovieClip class so that I can use the extending
class
(shown next) as the main Document class in the Flash IDE.
Again, this is
entirely up to you. If you have another type of class that
will extend
this one, you can have this one extend Sprite, Math, or
whatever else
you need (or nothing if it's all the same to you).
Now, in the extending class, the Document class of the FLA,
here's the
class that extends and uses it:
package {
import com.adobe.AIR;
public class airtest extends AIR{
public function airtest() {
var field:TextField=new TextField();
field.autoSize='left';
this.addChild(field);
field.text="Fileobject="+File;
}//constructor
}//airtest class
}//package
Here I'm just showing that the class actually exists but not
doing much
with it.
If you run this in the Flash IDE, the text field will show
"File
object=null". This is because in the IDE, there really is no
File
object, it only exists when the SWF is running within the
Integrated
Runtime. However, when you run the SWF as an AIR application
(using the
adl.exe utility that comes with the SDK, for example), the
text field
will now show: "File object=[object File]". Using this
reference, you
can use all of the File methods directly (have a look here
for all of
them:
http://livedocs.adobe.com/labs/flex/3/langref/flash/filesystem/File.html).
For example, you can call:
var appResource:File=File.applicationResourceDirectory;
This particular method is static so you don't need an
instance. If you
do (such as when Flash tells you the property isn't static),
simply
create an instance like this:
var fileInstace:File=new File();
fileInstance.someMethod('abc'); //just an example...read the
reference
for actual function calls
Because the getter function in the AIR class returns a Class
reference,
it allows you to perform all of these actions directly as
though the
File class is part of the built in class structure (which in
the
runtime, it is!).
Using this technique, you can create references to literally
*ALL* of
the AIR classes and use them to build your AIR application.
The beauty
of this technique is its brevity. When you define the class
reference,
all of the methods and properties are automatically
associated with it
so you don't need reams of code to define each and every
item.
There's a bit more that can be done with this AIR class to
make it
friendlier and I'll be extending mine until all the AIR
classes are
available. If anyone's interested, feel free to drop me a
line or drop
by my site at
http://www.baynewmedia.com
where I'll be posting the
completed class. I may also make it into a component if
there's enough
interest. To all of you who knew all this already, I hope I
didn't waste
your time.
Happy coding,
PatrickWow, you're right. The content simply doesn't show up at all.
No
JavaScript or HTML parsing errors, apparently. But no IE7
content.
I'll definitely have to look into that. In the meantime, try
FireFox :)
I'm trying to develop a panel to output AIR applications from
within the
Flash IDE. GSkinner has one but I haven't been able to get it
to work
successfully. Mine has exported an AIR app already so that's
a step in
the right direction but JSFL is a tricky beast, especially
when trying
to integrate it using MMExecute strings.
But, if you can, create AIR applications by hand. I haven't
yet seen an
application that allows you to change every single option
like you can
when you update the application.xml file yourself. Also, it's
a great
fallback skill to have.
Let me know if you need some assistance with AIR exports.
Once you've
done it a couple of times, it becomes pretty straightforward.
Patrick
GWD wrote:
> P.S. I've clicked on your link a few times over the last
couple of days to
> check it out but all I get is a black page with a BNM
flash header and no way
> to navigate to any content. Using IE7 if that's any
help.
>
>
>
http://www.baynewmedia.com
Faster, easier, better...ActionScript development taken to
new heights.
Download the BNMAPI today. You'll wonder how you ever did
without it!
Available for ActionScript 2.0/3.0. -
I am having a bit of trouble using Flash CS3. I have created
my flash file, and published it to my hard drive. There are two
files, one is the flash.swf file, and the other is index.html. With
Flash MX I used to put these two files on my server and everything
worked fine, however, this is not the case since I have gotten CS3
- when I go to the domain it gives me this message: [Not Found The
requested URL /public_html/Bluevision/ was not found on this
server. Additionally, a 404 Not Found error was encountered while
trying to use an ErrorDocument to handle the request.]. How do I
fix this?I believe that refers to the timeout limit when a for loop or
recursive function goes into an endless loop (default is 15 sec).
Should not affect your coding unless you need to alter the
limit. -
Any version of Flash (cs3-cs5) will not publish my file..
Hi all,
this is the first time i encounter this problem.. I had the problem where a file would not open correctly which was also addressed at this forum. But this one is different. this file was created (from what i remember) in Flash 8, then opened/saved in all possible flash versions for updates in time.
While it will open just fine, it will not publish. The publish window with the percentage will open up for a split second, then it will close with no messages whatsoever, no actionscript errors, nothing. F12, the same thing again. No possible settings could solve this. I am willing to send the file for testing of course, have tried to publish using Flash cs4 and Flash cs5. I thought of going back to Flash 8 by opening the file and saving to a previous version but as soon as i open the file in Flash cs3 (while the file has been saved as cs3) it will not open the file with an error message that i cannot remember right now.
So the problem might lie in how Flash cs3 saved the file, but it will open just fine in cs4 and cs5 so the file is not corrupt in any means..
any ideas?
George
p.s. I tried deleting EVERYTHING off the stage and the library and yet it wont publish.. tried copying all frames on another empty file, couldnt publish either...Hi,
Try using different machine -
First publish to AIR in Flash CS6 problem
I get this error after trying to install the .air file from a successful publish to AIR from Flash CS6. The file I'm using has been working fine for publish to AIR in CS5.5. Anyone know what is up here? I'm not using teh embedded runtime publish option.
"This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance."
Thanks!Hi David ,
The reason for the above problem could be that the same application exported with different certificates, and the new one which you are trying to install conflicts with the old one.
Try the following steps :
1. Make sure you uninstall the AIR application completely.Search for the application from its App name which you had specified in the "AIR Settings" dialog.
2. Install the AIR application again.
If this also doesn't help then
You can check by changing the ID of the application and install it as a brand new app that has never been installed before.
Thanks and regards,
Sudeshna Sarkar
Adobe Flash Professional Team. -
Problem with AIR Flash CS3 Italian version
I have installed the Adobe AIR update for Flash CS3 italian
mac version but in the welcome screen I don't see the Flash File
(Adobe AIR) preset.I know about the fix that consists in deleting
the folder HD:/Users/<username>/Libraries/Application
Support/Adobe/Flash CS3/<language>/Configuration/StartPage
and I did it, but the problem remains. Now what should I do?Hi Alessandro,
Please try rerunning the Adobe AIR Update for Flash CS3 to
see if the problem can be solved.
If after running the updater again and it still doesn't work,
the workaround is to create a Flash 9 (ActionScript 3.0) fla. Then
selecting Commands > AIR - Application and Installer Settings
and Flash will ask if you want convert the publish settings to
Adobe AIR, click yes.
Thanks,
San -
I am having a bit of trouble using Flash CS3. I have created
my flash file, and published it to my hard drive. There are two
files, one is the flash.swf file, and the other is index.html. With
Flash MX I used to put these two files on my server and everything
worked fine, however, this is not the case since I have gotten CS3
- when I go to the domain it gives me this message: [Not Found The
requested URL /public_html/Bluevision/ was not found on this
server. Additionally, a 404 Not Found error was encountered while
trying to use an ErrorDocument to handle the request.]. How do I
fix this?Todd,
Not sure what your exact publish settings are or the contents
of the movie... but you might want to set your publish settings to
Detect Flash Version in the HTML panel. CS3 will output a file
called AC_RunActiveContent.js and should be in the same folder with
the current file. Try and see if this fixes the problem...
otherwise give some more details about what is in your movie
regarding any file accessing, etc.
BTW: Perhaps your server is not setup to run flash? -
Any Flash CS3 AS3 Map samples available that work in AIR?
Any Flash CS3 AS3 Map samples available that work in AIR?
Like Google or Yahoo.
The ones that I have tried fail to work when making the final
AIR app.I changed the profile of both to AIR2.0, and it still shows AIR1.0 in the properties panel. I'm able to publish the Panel.swf now but it also generates an unwanted panel-app.xml -- unwanted because panel is not an app, it's merely a SWF to run inside the main app.
Is there a better way? And why does it still say AIR1.0 in the properties panel? -
Publish AIR on a Mac is crashing Flash every time
OS X 10.4.11, I've reinstalled CS3 after running maccs3clean.
I've ran the Adobe Updater on the new install and it doesn't fail
so I should be up to 9.0.3 right? The Flash Splash screen however
still says 9.0. Get Info on the App says 9.0.0.494
When I try and publish an AIR app Flash crashes every time.Tried it on another Mac but this time I am able to compile.
Updates to 9.0.3 go the same and Get Info on the App also says
9.0.0.494.
Since I have tried reinstalling CS3 on the offending Mac what
should I try next? -
Flash CS3: Getting Started with AIR
Ok, heres the manual i'm following
http://livedocs.adobe.com/air/1/devappsflash/help.html?content=FlashHelloWorld_1.html
1. Start Flash. <-- oke i can figure out how to do that
:P
2. In the Welcome Screen, click Flash File (Adobe AIR) to create
an empty FLA file with Adobe AIR publish settings. <--
no?..i dont see anything about AIR ?
soo..what now?..
apparently this is the way you'do it..according to the manual
which says:
Creating an Adobe AIR application in Flash is much like creating
any other Flash application. The differences are that you begin by
creating a Flash File (Adobe AIR) from the Welcome screen and
conclude by creating application and installer settings and
installing your AIR application. -- great =/
EDIT: i found i might have to update my version of
flash.AIR Update for Flash CS3 can be downloaded from this link:
http://www.adobe.com/support/flash/downloads.html -
Error embed / insert Flash CS3 9.0 swf in Acrobat 8.1.2
Goal: embed Flash swf file in Acrobat pdf.
Software: Flash CS3 9.0, Acrobat Pro 8.1.2, Mac OS 10.5.2 (all updates applied as available 3/27/08). If it matters: Quicktime Player 7.4.1. All swf files are associated to open with Flash Player 9 (9,0,115,0).
Hardware: PowerMac Dual 2GHz G5, 9.5 GB RAM
Error Description: This error is seen on 2 out of 3 PowerMacs; the 3rd PowerMac will inexplicably work. Here is what is done to receive error: Open pdf document in Acrobat. Select Movie Tool from Advanced Editing Toolbar, choose swf file from Desktop (pdf file is also saved on Desktop to eliminate network considerations). All defaults are retained in dialog window, when "OK" is pressed, status message "Initializing authoring system" appears and remains indefinitely. "Cancel" is pressed and produces following error message window: "Cannot create the movie annotation because the movie could not be loaded. This can occur if the file cannot be found or the URL is unreachable (make sure proxy server settings are correct)."
Adobe Support claims Leopard incompatibility with embedded Quicktime 7.3.1 (I have updated to 7.4.1). Also, AS recommended file association of swf to Flash Player exclusively. Have taken all actions recommended...still have problem.
Anyone have any ideas?I believe that the latest version of QuickTime which you no doubt have installed does not support the latest version of Flash (9.0). Since Acrobat depends on QuickTime for multimedia in Acrobat 8 Professional, this feature breaks.
What needs to happen is for the next version of Acrobat to support Flash directly, not using QuickTime.
Maybe you are looking for
-
See question above in title.
-
Adobe PDF printer stopped working
Hello! Windows XP Pro Acrobat Standard 8.1.3 Office XP InDesign CS3 Problem with Adobe PDF printer. It used to work fine, but it stopped working last week, whatever application I use to print. The "PDF Creation" window appears, the process seems to s
-
Can i view powerpoint on the iPad?
Can i view powerpoint downloads from my email on the ipad?
-
Cómo instalo Photoshop cc en el Mac si Adobe Create Cloud, me dice que ya está instalado?
-
Can I use Mainstage software instruments in Logic Express 9?
I would like to add more software (MIDI) instruments to Logic Express 9. I understand Mainstage comes with what used to be called Jam Packs. Can I use those Mainstage software instruments in Logic Express 9? If not, where do i find additional softwar