You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by ma...@tutanota.com on 2016/11/22 22:46:49 UTC

Simple pure-AS3 command line (mxmlc) compile set-up example, for AIR ?

Hello all:

(I'm sure this must have been answered before)
is there a place to see some samples for 
compiling a simple AIR, pure-AS3 apk?

Something that shows the necessary parms?


I have been through these:
http://flex.apache.org/doc-videos.html
They mostly focus on Flex/Flash builder.



I am targeting Android of course, 
so I'd want to be able to point to a specific AIR SDK/version 
and pull in a couple of .SWCs as well.

The app starts with a Main.as class.

Any good examples to start from?

Thank you!



Re: Simple pure-AS3 command line (mxmlc) compile set-up example, for AIR ?

Posted by fc <fc...@AreYouForThePeople.org>.
Excellent OmPrakash!

Thank you!

On 11/22/2016 6:25 PM, OmPrakash Muppirala wrote:
> You usually do this in two steps:
>
>
> 1.  Compile your actionscript project into a .swf file.
>
> You can simply do: amxmlc myApp.as
>
> More comprehensive list of examples here: [
> http://help.adobe.com/en_US/air/build/WSfffb011ac560372f2012b5a4128cca83a39-8000.html#WS2d929364fa0b8137-4622b98b129dc3cff3f-7ffe
> ]
>
> 2.  Package this swf file as a Android binary.
>
> Sample command:
>
> adt \u2013package -storetype pkcs12 -keystore cert.p12 myApp.air
> release/bin/myApp.xml \u2013C release/bin myApp.swf
>
> More comprehensive list of examples here:
> [
> http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128cdca935b-8000.html#WS901d38e593cd1bac1e63e3d128cdca935b-7fff
> ]
>
> Hope this helps.
>
> Thanks,
> Om
>
> On Tue, Nov 22, 2016 at 2:46 PM, <ma...@tutanota.com> wrote:
>
>> Hello all:
>>
>> (I'm sure this must have been answered before)
>> is there a place to see some samples for
>> compiling a simple AIR, pure-AS3 apk?
>>
>> Something that shows the necessary parms?
>>
>>
>> I have been through these:
>> http://flex.apache.org/doc-videos.html
>> They mostly focus on Flex/Flash builder.
>>
>>
>>
>> I am targeting Android of course,
>> so I'd want to be able to point to a specific AIR SDK/version
>> and pull in a couple of .SWCs as well.
>>
>> The app starts with a Main.as class.
>>
>> Any good examples to start from?
>>
>> Thank you!
>>
>>
>>



Re: Simple pure-AS3 command line (mxmlc) compile set-up example, for AIR ?

Posted by OmPrakash Muppirala <bi...@gmail.com>.
You usually do this in two steps:


1.  Compile your actionscript project into a .swf file.

You can simply do: amxmlc myApp.as

More comprehensive list of examples here: [
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f2012b5a4128cca83a39-8000.html#WS2d929364fa0b8137-4622b98b129dc3cff3f-7ffe
]

2.  Package this swf file as a Android binary.

Sample command:

adt –package -storetype pkcs12 -keystore cert.p12 myApp.air
release/bin/myApp.xml –C release/bin myApp.swf

More comprehensive list of examples here:
[
http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128cdca935b-8000.html#WS901d38e593cd1bac1e63e3d128cdca935b-7fff
]

Hope this helps.

Thanks,
Om

On Tue, Nov 22, 2016 at 2:46 PM, <ma...@tutanota.com> wrote:

> Hello all:
>
> (I'm sure this must have been answered before)
> is there a place to see some samples for
> compiling a simple AIR, pure-AS3 apk?
>
> Something that shows the necessary parms?
>
>
> I have been through these:
> http://flex.apache.org/doc-videos.html
> They mostly focus on Flex/Flash builder.
>
>
>
> I am targeting Android of course,
> so I'd want to be able to point to a specific AIR SDK/version
> and pull in a couple of .SWCs as well.
>
> The app starts with a Main.as class.
>
> Any good examples to start from?
>
> Thank you!
>
>
>