I think there must be another problem in your file and the compiler just
can't line it up correctly.  Can you break the file down further and see
what happens?  I'm assuming you did this in an AS file and not MXML?

As for JSON I don't think anyone has tried it yet.

Matt

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dhirshbe
Sent: Thursday, February 23, 2006 3:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flexbuilder 2B1: coercion error at package
declaration, JSON

When I try to compile with -strict, I get the error:
Implicit coercion of a value of type 'String' to an unrelated type 'int'


The line it refers to reads "package packagename {"

Any ideas?

Also: 
Is there a convenient way to create objects from JSON in AS3?  

  








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



 




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