View unanswered posts | View active topics



Reply to topic  [ 7 posts ] 
Conditional constant: web 
Author Message
Member

Joined: Thu Apr 10, 2014 7:51 am
Posts: 22
FlashDevelop comes with three conditional constants for determining what type of AIR app an app is, but none for determining if it is a web app. I sometimes need a bunch of conditional code for whether my app is for web or mobile, so it would be great if FlashDevelop had a constant for when the platform is "Flash Player" instead of AIR.


Fri Jul 17, 2015 7:10 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Fair enough, please raise that on Github.


Tue Jul 21, 2015 9:30 am
Profile WWW
Member

Joined: Thu Apr 10, 2014 7:51 am
Posts: 22
Why is there a suggestion forum if we are expected to raise the issues again on Github?


Last edited by Cyrix on Fri Jul 24, 2015 8:53 pm, edited 1 time in total.



Wed Jul 22, 2015 6:14 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
The forum preexisted Github, and it's very difficult to track requests from the forum.
That's still a good place to discuss.

Happy to create the ticket if you don't feel like it.


Wed Jul 22, 2015 8:54 pm
Profile WWW
Member

Joined: Thu Apr 10, 2014 7:51 am
Posts: 22
Hmm... that's completely reasonable... :P

If you wouldn't mind, I'd appreciate it. I'll have to dig up my Github account at some point for future requests.


Fri Jul 24, 2015 8:52 pm
Profile
Member

Joined: Fri Jul 23, 2010 10:26 am
Posts: 146
Cyrix, could you give an example of how to use the existing conditional constants? I didn't find this info.


Tue Sep 01, 2015 5:48 am
Profile
Member

Joined: Thu Apr 10, 2014 7:51 am
Posts: 22
heilong wrote:
Cyrix, could you give an example of how to use the existing conditional constants? I didn't find this info.


See http://www.flashdevelop.org/wikidocs/in ... ompilation . Conditional compilation is actually a feature of the AS3 compiler, so it's not specific to FlashDevelop, but FlashDevelop includes some automatically generated constants.


Wed Nov 25, 2015 7:01 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.