Skip to content

Instantly share code, notes, and snippets.

@Riduidel
Created May 10, 2011 12:38
Show Gist options
  • Select an option

  • Save Riduidel/964393 to your computer and use it in GitHub Desktop.

Select an option

Save Riduidel/964393 to your computer and use it in GitHub Desktop.
an example ActionScript file with conditional compilation
ackage com.foo.bar
{
public class SharedClass
{
public function SharedClass()
{
}
CONFIG::FLEX
public function getLibFrom():String
{
return "Flex";
}
CONFIG::AIR
public function getLibFrom():String
{
return "AIR";
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment