Skip to content
Discussion options

You must be logged in to vote

The vscode-as3mxml extension can definitely handle the newer removeAt() and insertAt() methods added to the Vector class.

You might need to use an updated playerglobal.swc in your Flex SDK. It appears that Flex SDK 4.6.0 comes with frameworks/libs/player/11.1/playerglobal.swc. I think that the new Vector methods were added several versions after 11.1.

You can find an official link to playerglobal.swc for Flash Player 32.0 here:

https://gist.github.com/joshtynjala/633fbaca5733a889da31498bdbf45dd6

You should copy it to frameworks/libs/player/32.0/playerglobal.swc.

You may also need to set a couple of compiler options in your asconfig.json file. Set target-player to "32.0", and set swf-version

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by capashaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants