On 6/25/05, Rick Bullotta <[EMAIL PROTECTED]> wrote:

> Is there a way to use the import statement in "inline" script in an
> <mx:Script> block?  The compiler complains if we try this.

Yes, certainly.

  <mx:Script>
    import foo.Bar;

    function blah():Void
    {
      Bar.bar();
    }
  </mx:Script>

Must be something wrong with the way you are importing.  If you still
have the problem, you could post the exact compiler error.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to