Created
October 5, 2011 03:08
-
-
Save 9re/1263525 to your computer and use it in GitHub Desktop.
as3corelib JSON conflicts with Native JSON class for FlashPlayer 11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# as3corelib JSON conflicts with Native JSON | |
# to use FlashPlayer 11 api, you have to | |
# download playerglobal.swc from | |
# http://www.adobe.com/support/flashplayer/downloads.html | |
mxmlc ConflictTest.as |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flex-config> | |
<swf-version>13</swf-version> | |
</flex-config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package { | |
import flash.display.Sprite; | |
import com.adobe.serialization.json.JSON; | |
public class ConflictTest extends Sprite { | |
public function ConflictTest() { | |
JSON; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment