Recently I wanted to use the Flash Player 10 only type Vector.<T>, so I added the playerglobals.swc from FlashPlayer 10 to my AS Library project's libs path like I feel I have done a zillion times before. However, this time Flex Builder gave me errors for each type I used from the player:
The error I made was that I did not change the Link Type to "External". So just click the small arrow and double-click "Link Type" and change the value to "External":
Moreover, if you get an error about "inconsistant linkage":
Then you have probably forgot to remove the playerglobals.swc from the Flex framework link:
Just select the playerglobals.swc item under Flex and hit Remove.
This was a complete life save. Thanks.
ReplyDelete