-
1. Re: Using flash.desktop.NativeApplication and publish for both Flash and iOS
relaxatraja Jun 15, 2011 12:32 AM (in response to Skeeto)Itz only work with AIR
-
2. Re: Using flash.desktop.NativeApplication and publish for both Flash and iOS
Skeeto Jun 15, 2011 1:03 AM (in response to relaxatraja)Hello
Thank you.
Yes, I found out/know.
However, when you make a crossplatform app for both Flash/iOS/etc. it's necessary to have some parts of the code taking care of platform specific things.
It's not practial to have to comment out/in parts of your code whenever you change publishng target.
So far I have found out to use conditional compiling and use a CONFIG::CONST in actionscript settings.
It's a bit annoying to have to switch this/these const to true/false whenever you change platform in publish settings, but it's a lot better than changing the code.
/Skeeto
-
3. Re: Using flash.desktop.NativeApplication and publish for both Flash and iOS
relaxatraja Jun 15, 2011 2:38 AM (in response to Skeeto)I didn't aware of CONFIG::CONST?
-
4. Re: Using flash.desktop.NativeApplication and publish for both Flash and iOS
Skeeto Jun 15, 2011 4:31 AM (in response to relaxatraja)Hello
You can see here how it is done
You then go to your actionscript settings in Flash and enter your constant settings by clicking the "+".
/Skeeto
-
5. Re: Using flash.desktop.NativeApplication and publish for both Flash and iOS
relaxatraja Jun 15, 2011 4:33 AM (in response to Skeeto)Thanks


