Much appreciated!
John
reflexactions wrote:
> Developing Adobe AIR 1.5 Applications with Flex:
> See section "Creating your first AIR application with the Flex SDK"
>
> See the para "Write the application code"
>
> "Note: SWF-based AIR applications can use a main class defined either with
> MXML
Developing Adobe AIR 1.5 Applications with Flex:
See section "Creating your first AIR application with the Flex SDK"
See the para "Write the application code"
"Note: SWF-based AIR applications can use a main class defined either with MXML
or with Adobe® ActionScript® 3.0. This example uses an M
reflexactions wrote:
> FYI The Adobe docs do describe how to create a pure AS (i.e. not using MXML)
> AIR application.
>
I haven't found that, although I have found lots of other references.
Unfortunately the Adobe PDF help files overlap and they have no dates,
so things are hard to find.
So
FYI The Adobe docs do describe how to create a pure AS (i.e. not using MXML)
AIR application.
--- In flexcoders@yahoogroups.com, John McCormack wrote:
>
> Michael,
>
> I had problems getting the ActionScript project code into the AIR
> application.
>
> The original Document Class from Origina
Michael,
I had problems getting the ActionScript project code into the AIR
application.
The original Document Class from OriginalProgram.AS would not run
because it was no longer automatically on the display list and so its
stage variable was null.
I emptied the code from the constructor into
Brilliant support!
I did hope to do it like this, by instantiating an instance of my
previous main document class within ![CDATA[ tags but that didn't work
I will try these out in the next couple of days.
I also downloaded the AIR help file you pointed me to.
Thank you.
John
Michael wrote:
>
John,
Though your code is in ActionScript, you should just be able to use the MXML
WindowedApplication tag just at the very top-level, and initialize your main
ActionScript UI within an tag.
Something like:
http://www.adobe.com/2006/mxml";
applicationComplete="init();">
Thanks Michael,
I will give this a try.
Currently, within FB3 I can create an AIR project and it does these
things for me but the output is structured similarly to a Flex project
but my projects are ActionScript projects built within FB3 and so the
conversion isn't quite the same.
Perhaps I s
John,
You can convert your Flex project to an AIR application pretty easily. There's
three basic steps involved:
1) Your application should be declared as inheriting from WindowedApplication,
rather than Application in your main myapp.mxml file.
http://www.adobe.com/2006/mxml"; xmlns="*">
9 matches
Mail list logo