cymhappy / as3corelib

Automatically exported from code.google.com/p/as3corelib
0 stars 0 forks source link

Enter one-line summary #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. attach source path
2. copy and paste JSON example in the download
3. Get error in Problems window: 1061: Call to a possibly undefined method
decode through a reference with static type Class.  JSON.mxml   JSON    line 14
April 26, 2007 1:27:25 AM   2231

What is the expected output? What do you see instead?
No errors, Errors

What version of the product are you using? On what operating system?
I don't know but I checked for updates on subversion

Please provide any additional information below.

Original issue reported on code.google.com by joshsp...@gmail.com on 26 Apr 2007 at 6:40

GoogleCodeExporter commented 9 years ago
This error happens because the name of your MXML file is "JSON", which 
conflicts with
the name of the library class "JSON".  Try renaming JSON.mxml to 
JSONExample.mxml, or
using a fully qualified path to com.adobe.serialization.json.JSON.decode();.

Original comment by darron.schall on 30 Apr 2007 at 1:47