Hello Danny, To use namespace you should use this
syntax “use namespace” instead of “import” So just try that: use namespace flash_proxy; //instead of import flash.utils. Cheers,
From: I'm trying to extend a subclass of the Proxy class and I'm
getting an error. Here is an example of my problem: // ProxyA.as package { public class ProxyA extends Proxy { // ProxyB.as package { public class ProxyB extends ProxyA { // ProxyBugExample. package { public class ProxyBugExample extends Sprite { I the ProxyB class I get the following error: Namespace was not found or is not a compile-time constant. I assume this is referring to the flash_proxy namespace, but
it is imported just like in the ProxyA class. I'm not sure what the
problem here is, any help would be appreciated. Thanks, Danny -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |
- RE: [flexcoders] Extending a subclass of Proxy Yaniv De Ridder
- Re: [flexcoders] Extending a subclass of Proxy Michael Schmalle