Skip navigation
sunny_liu
Currently Being Moderated

swf-version can be specified when using SDK 3.6? [ Error #1065: Variable JSON is not defined ]

Nov 24, 2011 12:24 AM

I've been using playerglobal.swc of flash player 11 and SDK 3.6.

 

ReferenceError: Error #1065: Variable JSON is not defined

can be solved by setting -swf-version to 13. (http://forums.adobe.com/message/3933620#3933620)

 

However, swf-version is not available in SDK 3.6.

 

Can native JSON be used?

 

Otherwise, can com.adobe.serialization.json.JSON be used without name conflict?

JSON (from ...\flex_sdk_3.6\frameworks\libs\player\11\playerglobal.swc(JSON))

com.adobe.serialization.json:JSON (from ...\as3corelib.swc(com/adobe/serialization/json/JSON))

 
Replies
  • Currently Being Moderated
    Mar 30, 2012 3:27 PM   in reply to sunny_liu

    anyone know the answer to this?

     

    how are we supposed to use the new player features with using the 3.x SDK?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points