What problem are you trying to solve by taking this approach? Code
re-use? Wny not write a class you can instantiate wherever you want?

Jeff

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of sailorsea21
Sent: Tuesday, April 07, 2009 12:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Is it possible to include a ".as" file in
actionscript within a function?


Hi everyone, is it possible to include an ".as" file in actionscript
within a function but not have the included ".as" be restricted within
the function?

private function loaded():void
{
        include "axis.as";
}

Above, the include file will only apply to the function. How can I
include a file to the main file or app???

Thanks.

-David




------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location:
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-
1e62079f6847
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links



Reply via email to