Hi, I have a simple entity with a get/set of java.net.URL

public URL getUrl() { }
public void setUrl(URL url) { }

When I generate the As3 code with flexmojos it has a problem with
this.  It generates the code in the Base.as class:

        import java.net.URL;

        public function set url(value:URL):void {
            _url = value;
        }
        public function get url():URL {
            return _url;
        }

..but there is a compiler error as:

Type was not found or was not a compile-time constant: URL.

java.net is part of standard java library...how can I resolve this
with action script?

Thanks in advance,
Davis

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to