Skip to main content
Participant
March 31, 2008
Question

Distinguish between pure AS3 and Flex project

  • March 31, 2008
  • 1 reply
  • 459 views
Hey,

how can I distinguish if I am compiling currently an AS3 or a Flex project (mxml vs. pure as)?

I acutally want to look something up in the "evaluate" method of a GenerativeFirstPassEvaluator before doing the processing. So I need to know it there.

Any help is much appreciated.

Best,

Joa
This topic has been closed for replies.

1 reply

Participating Frequently
March 31, 2008
MXML is converted to AS3 code as part of the compilation process, then the AS3 is compiled normally like the rest of the project. I don’t think that GFPE is run over anything but an AS3 tree. There may be a way to figure out where the original source came from, e.g. .mxml or .as file, but you’d have to interactively debug and scan the data structures — I don’t know off hand.



 - Jono




From: Joa Ebert <member@adobeforums.com>

Reply-To: <flexsdk-dev@adobeforums.com>

Date: Mon, 31 Mar 2008 05:40:13 -0700

To: <flexsdk-dev@adobeforums.com>

Subject: Distinguish between pure AS3 and Flex project



A new discussion was started by Joa Ebert in



Developers --

  Distinguish between pure AS3 and Flex project



Hey,



how can I distinguish if I am compiling currently an AS3 or a Flex project (mxml vs. pure as)?



I acutally want to look something up in the "evaluate" method of a GenerativeFirstPassEvaluator before doing the processing. So I need to know it there.



Any help is much appreciated.



Best,



Joa




View/reply at Distinguish between pure AS3 and Flex project <http://www.adobeforums.com/webx?13@@.59b4da24>

Replies by email are OK.

Use the unsubscribe <http://www.adobeforums.com/webx?280@@.59b4da24!folder=.3c060fa3>  form to cancel your email subscription.