Re: [Flashcoders] AS2 FlashDevelop -- Warning unsupported #include

2008-10-22 Thread ekameleon
Hello :)
If you use MTASC... is normal :)

MTASC dont' support the #include directive, isn't a bug bug a limitation of
MTASC.

See http://www.mtasc.org/ : http://www.mtasc.org/

*#include :*

MMC allows code file inclusion using the #include directive.

MTASC does not allow it.

*Rationale :* Such coding practices are obsoletes with ActionScript2, and
the programmer should keep common duplicated code into separate classes.

For me the #include instruction is important... but not for Nicolas ;)

You can find in OSFlash a patch to transform the mx.* AS2 class and can be
compatible with MTASC ;)

EKA+ :)

2008/10/22 Andrew Sinning [EMAIL PROTECTED]

 In FlashDevelop working with AS2, I get a Warning unsupported #include.
  The warning refers to the line

   #include Version.as

 in mx.transitions.Tween, mx.transitions.easing.Strong and
 mx.transitions.easing.Bounce

 I never use a # in front of my includes, but these are mx files and they
 compile just fine, but what's the deal with the #?

 Thanks!
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS2 FlashDevelop -- Warning unsupported #include

2008-10-22 Thread Hans Wichman
Hi,

as an alternative you have different options:
- dont use the tween classes, but use the TweenMax series from
greensock. However you are bound to run into other problems using the
mx classes together with FlashDevelop.

I found the following method the easiest, although patching is an option too:
* convert macromedia all classes to intrinsic classes using asigen
* generate an injection swf containing all your mx classes
* set mx= true in mtasc
* fix any errors you still get in your intrinsic copy of the mx
classes (set them as classpath)

greetz
JC

On Wed, Oct 22, 2008 at 5:58 PM, Ian Thomas [EMAIL PROTECTED] wrote:
 This is because MTASC, the compiler used by FlashDevelop, doesn't
 support #include.

 See here:
 http://www.mtasc.org/#comparison

 HTH,
   Ian

 On Wed, Oct 22, 2008 at 4:51 PM, Andrew Sinning [EMAIL PROTECTED] wrote:
 In FlashDevelop working with AS2, I get a Warning unsupported #include.
  The warning refers to the line

   #include Version.as

 in mx.transitions.Tween, mx.transitions.easing.Strong and
 mx.transitions.easing.Bounce

 I never use a # in front of my includes, but these are mx files and they
 compile just fine, but what's the deal with the #?

 Thanks!
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS2 FlashDevelop -- Warning unsupported #include

2008-10-22 Thread Andrew Sinning

Thanks for all the input on this topic!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders