just ran into this PITA! In my case I had a typo in a  as class file.  I had

public var foo:Array();  on accident.

no fancy yellow warning fairies either....just about two hours of
digging...errrr.


DK

On 5/4/06, Manish Jethani <[EMAIL PROTECTED]> wrote:
> On 5/4/06, bhaq1972 <[EMAIL PROTECTED]> wrote:
>
> > If you have an mxml component and its associated script file have
> > the same name it doesn't like it.
> >
> > why is that not allowed?
>
> Because when it's looking for component 'Foo', it finds a 'Foo.mxml'
> and a 'Foo.as' and is confused which one to pick up. One could argue
> that it should pick up the .mxml file by default, but, hey, that's how
> it works now. It's better to avoid confusion among developers too (not
> just the compiler).
>
> I've seen a convention in the past: if you have a Foo.mxml file, its
> associated script file is named as Foo_script.as
>
>
>
> --
> 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
>
>
>
>
>
>
>


-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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