Building Air Application in Dreamweaver CC
I need some help on this ASAP. We were recently upgraded to CC and I need to make edits to an Air based application that we had previously built in Dreamweaver. Does anyone know how you get it running?! None of the extensions that I have found in the forums will install and I need to get this working as soon as possible. Are there any links to a set of instructions?
Ask in http://forums.adobe.com/community/air or http://forums.adobe.com/community/dreamweaver
This forum is actually about the Cloud, not about using individual programs
If you start at the Forums Index http://forums.adobe.com/index.jspa
You will be able to select a forum for the specific Adobe product(s) you use
Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll
Similar Messages
-
Building HTML Air Application in Dreamweaver CC
I need some help ASAP. We were recently switched over to Creative Cloud, and besides many issues we are having with CC that I won't go into here, one thing that is an immediate need is figuring out how to build and publish Air apps? All fo the extensions that I have found and instructions I have read do nothing to get it working. I can't even find an air extension from within the extension search/manager within the application itself. Does anyone have the specific extension as well as directions for getting it running? It was fine in CS5.X but no love now. Please help!!
Yes, why! Why doesn't this post have a clear answer but more importantly why doesn't Adobe have a well-published answer to removing this functionality from products and their future vision/plans for Air?
To answer your question directly, you're missing what comes before that sentence... "Can I create Adobe AIR applications with Dreamweaver? Yes. Dreamweaver CS5 (and later) provides native support for building and packaging JavaScript/HTML applications on Adobe AIR for the desktop."
The sentence you refer to is specific to mobile. I'm interested in creating Air apps for desktop directly from DW. It's confusing and misleading (not to mention frustrating) trying to find answers and solutions. Simply saying that this isn't the correct forum isn't helpful. Is there an article that you can point to from here about Adobe's decision to remove Air support? -
Building AIR Applications with the NetBeans IDE
Hello Everyone,
Here's a link to screencast showing you how to Build AIR
Applications with the NetBeans IDE.
http://xwisdomhtml.com/netbeans-and-air.htmlNeat!
-
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. -
Not able to make an air application in dreamweaver
Hi,
I have recently downloaded the air extension for dreamweaver
and have installed the runtime also. Whenever I try to make an
application.xml file, it throws up a dialog box stating that
"already an air application is running or you are previewing an
application. Close the application."
What am I supposed to do?
Any help will be appreciated.
GauravHi Gaurav -
Sorry for the delayed response; I just noticed this post.
Can you tell me a bit more?
1) Is this still happening?
2) What version of the extension are you running?
3) What are the exact steps that lead to this error dialog?
(What do
mean by "making an application.xml file" --- are you just
opening the
AIR Application Settings dialog, entering some details, and
then hitting
the Save button?)
It looks like the error message is actually misleading, but
I'm trying
to figure out what the real problem is.
- Vic -
Getting started building AIR applications for the iPhone
This question was posted in response to the following article: http://help.adobe.com/en_US/as3/iphone/WS789ea67d3e73a8b2-240138de1243a7725e7-8000.html
good
-
Flv video not playing in AIR application
Hi everybody,
i'm building a tutorial with flash catalyst and since the 20 states limit i've split it up in different swf files that I import and show in different states.
One of these swf (which i built with Catalyst as well) is supposed to play a flv video, and it actually plays it if i run it alone.
The problem comes when i build the overall tutorial: it works perfectly with the "run project" command in Catalyst and with the run-local version but the video won't play if i try the AIR application.
Does anyone have any suggestion?
NB: the "asset" directory created with the AIR application installer does contain the flv file (i didn't have to put it there manually)
Thanks in advance for your help,
GiuseppeHi Giuseppe,
what I do is:
1. create a file using Captivate
2. i place a .flv video in this file
3. save the file as .swf
4. then i go to dreamweaver and put the swf on a html page.
Now:
when viewed in a browser, everything runs fine.
when i pack this page into an air application (in dreamweaver) the video does not appear,
instead I get this "Connection Error"
I do not know a console or log file.
However, I learned that there is a .xml file located in the same AIR folder that you publish in.
In this .xml file there is a setting :transparency. in order to playt a .flv file this must not be be "transparent"!
(i read this somewhere in the net)
hope that helps
I will talk to a professional programmer, if I have any news, i will let you know
Claus -
Play flv byte array in Air Application
I'm trying to load and play an FLV from a ByteArray in Air application . I have created small dummy application in which l am readiong flv from file system .After reading flv file i have byte array so can you please help me out in thi how to p-lay flv from byte array.
I have searched the web for awnsers and didn't find anything .
Any help, ideas or something?Hi Giuseppe,
what I do is:
1. create a file using Captivate
2. i place a .flv video in this file
3. save the file as .swf
4. then i go to dreamweaver and put the swf on a html page.
Now:
when viewed in a browser, everything runs fine.
when i pack this page into an air application (in dreamweaver) the video does not appear,
instead I get this "Connection Error"
I do not know a console or log file.
However, I learned that there is a .xml file located in the same AIR folder that you publish in.
In this .xml file there is a setting :transparency. in order to playt a .flv file this must not be be "transparent"!
(i read this somewhere in the net)
hope that helps
I will talk to a professional programmer, if I have any news, i will let you know
Claus -
Hi, all! I'm just learning AIR and I have a question - is it
possible to create modular application based on AIR? Here under
"modular application" I mean that - we have a basic application
which stores it's configuration information in local SQLite db and
we have some kind of "plugins" - we download it, installs but after
installation we have this "plugin" functionality in our base
application, but no the plugin stand alone installed. We can see
such approach for example when installing FlexBuilder plugin for
Eclipse. I want to try to realise the same approach in building AIR
application. Is it possible to achiave this goal?It is possible, and even easier in AIR 1.5 and Flex 3.2 than
in earlier versions.
The main thing you have to be careful about is security --
making sure that your plug-ins arrive at the client untainted. You
can use the AIR XMLSignatureValidator class to help with this
problem. See
http://www.adobe.com/devnet/air/flex/quickstart/xml_signatures.html.
It covers a couple ways to get a "module" to a client and to verify
that it hasn't changed since you signed it, but doesn't cover how
to load the module into your application. There are various ways to
do this depending on whether you are using Flex, Flash, or
JavaScript and whether you need to load the modules into the
application security sandbox or not. -
Build .air behind HTTP proxy with login/password
Hello,
I'made an air application with aptana, bu I can't build my app in a air file.
I'm behind a proxy with authentication. I'got error during timestamp.
I try many options, I can't do this air file.
In another post a find :
"You need to have a network connection for timestamping to work. If that network connection uses a proxy server, you may also need to set up the JRE to use that proxy (Seehttp://www.java.com/en/download/help/5000020600.xml). "
But in the JRE option, I can't set a login or passorwd for proxy.
If I understand my compnany can't build air application ? or there is another soution ?
Thanks.Hello,
Were you able to successfully build your AIR app? It is possible to bypass the timestamp but there are caveats. Here's what the docs have to say:
If ADT cannot connect to the time-stamp server, then signing is canceled and no package is produced. Specify -tsa none to disable time-stamping. However, an AIR application packaged without a timestamp ceases to be installable after the signing certificate expires.
Chris -
Hi All,
Does anyone have sample code how to consume and use the Docconverter service from Adobe Livecycle 8.2 ES in Flex Builder 3.0 AIR Application. I want to consume both the methods 1) toPDFA and 2) isPDFA methods to convert a PDF to PDFA and to check the compliance after conversion. If any one could help me in this, would be very grateful.
Thanks in advance
Umashanker.KI think the problem you are experiencing is this one:
http://subclipse.tigris.org/issues/show_bug.cgi?id=511
You probably have Subclipse 1.2.4 installed, which is the
latest official release. But the new release based on Subversion
1.5 has been in development for over a year. It will be version
1.4.0 and probably released next week when Subversion 1.5 is
released. -
Hi,
Is there anyone would could provide me a link or a simple guide on how to convert an AIR application I developed for the desktop to an .apk file so I could test it on an Android device? Without using Adobe Flash Builder Burrito...Thx.Hi nerostealth
These link should be able to help you:
http://blog.omarfouad.com/?p=334
http://blog.omarfouad.com/?p=365
regards Mike -
Air plugin for dreamweaver breaks application.xml file
the air plugin for dreamweaver breaks the application.xml file when the version is changed from 2.0 to 2.7
How to fix this?Hi Roberto,
I'm sorry I don't know the answer to this one, but I'll ask around. Have you checked out the dreamweaver forum?
Chris -
CS4 or FLEX Builder for AIR Application?
Hello,
I have installed CS4 and Flex builder 3. I would like to develop some desktop applications, which is the best editor to develop AIR application?
Thank youI faced a similar choice recently: Flash or Flex for developing CS4 panels.
John Nack advised me to use Flex Builder. He was right. For a desktop AIR application or something like CS4 panels, the Flex Builder IDE is more powerful and helpful. If you're a developer familiar with other programming tool IDEs, like Microsoft Visual Studio, various Java IDEs, etc. then you will find the Flx Builder IDE to be more intuitive.
Flash is a good choice for developing animated SWF panels that are driving things like Flash movies. If you use Flash, you'll have to deal with the Timeline. With Flex Builder, you don't.
They both provide access to Action Script. But they expose functionality differently. Also, Flex Builder provides some data visualization tools, etc. that are not part of Flash.
Mitch -
What Runtime is Flash Builder using when running or debugging an AIR application?
I just updated my AIR runtime to 3.0 and noticed that my AIR application doesn't work anymore (my logfile reports an Uncaught Error #1508). So I tried to debug it with Flash Builder, but when I run it there, everything works just fine. So I uninstalled the AIR runtime completely but noticed that I can execute my AIR app within Flash Builder still just fine. So the AIR runtime used within Flash Builder seems to be a different one than the systemwide installed AIR runtime. How Do I chose within Flash Builder which runtime to use and how do I update this runtime?
When you use Flash Builder, it uses the copy of the AIR SDK that is inside the Flex SDK. This has a complete AIR runtime that is used for debugging. You can choose which AIR runtime to use by switching to a Flex SDK that has a different version of AIR. You can update any Flex SDK by copying the new AIR SDK into it, replacing any existing AIR files. (On a Mac there are some gotcha's here because copied folders are replaced not combined.)
Maybe you are looking for
-
How can I print multiple copies of the same photo onto one sheet of paper? Do I have to Duplicate the photo in iPhoto and then select them all?
-
Photoshop CS6 trial not downloading
I recently downloaded a free trial of Creative Cloud. When I open Adobe Application Manager, I've been able to download/open/"try" Premiere Pro CS6, but when click "Try" in order to download a Photoshop CS6 trial, it automatically says "Download erro
-
My Photoshop Creative Suites Premium crashes when I try to print a document. WHY?
My Photoshop Creative Suites Premium crashes when I try to print a document. WHY? Why can I not print anything? I have to save it and then print it with Preview.
-
Thumbnails enlarge when hovered over
Hi all, I'm trying to create an archive page for the past issues of a newsletter. I've tried creating one with CSS, which looks fine in Firefox but tweaks out in IE6. So I'm trying to create an archive page using Flash. I'd like to create a page simi
-
My itunes are only playing out of two of my three airport express. Why