After update of playerglobal.swc from Flash Player 10.0 to 10.1 for CS4, when I run code (below) in AS 3.0 I receive:
VerifyError: Error #1014: Class flash.net::NetGroup could not be found.
at org.osmf.media::MediaPlayerSprite/get mediaFactory()
at org.osmf.media::MediaPlayerSprite/set resource()
By updating I 1) created a new folder in [app]/Common/Configuration/ActionScript 3.0, named it FP10.1, and dropped the .swc in there, 2)
then opened the file FlashPlayer10.xml located in /Applications/Adobe Flash CS4/Common/Configuration/Players and changed the following lines to this:
<PlayerDefinitionPath as3="$(AppConfig)/ActionScript 3.0/FP10.1/playerglobal.swc"/>
then saved the file as FlashPlayer10_1.xml
and 3) changed the publish settings in the .fla file to target flash player 10.1
my code - a simple adaptation from OSMF developers guide - is:
public class BasicPlayback extends Sprite
public function BasicPlayback()
// Create the container class that displays the media.
var sprite:MediaPlayerSprite = new MediaPlayerSprite();
// Assign the resource to play. This generates the appropriate
// MediaElement and passes it to the MediaPlayer. Because the MediaPlayer
// autoPlay property defaults to true, playback begins immediately.
sprite.resource = new URLResource("videoFile.flv");
Any clue why I receive the NetGroup could not be found error? Wishing this wasn't so complicated...
Thanks very much in advance to anyone who can clue me in.
If you can find on web the latest PlayerGlobal.swc, please replace your version with it.
This may not be the latest one, but it may support NetGroup in the swc.
Thanks for your response. I've uploaded the latest playerglobal. After I publish - both HTML and SWF - I double click on the html file and it opens the video, however double clicking the .swf shows the error.
After extensive googling I've found this at http://www.kolnedra.com/#/detail/223-adobe-stratus-with-flash-cs4-ide.html
The new flashplayer update only works in a browser window, it doesn't work when you publish in flash IDE (CTRL + ENTER or F12)
This is the closest explanation that I've found. But, if this is correct won't I need to use the .swf when I embed the player into the html file via <object>? Also, is this a CS4 issue - would it work with CS5?
Or is there some other method to placing the player into the web page that I'm clueless about?
Confused and thinking about returning to my old player that I built in AS3 before OSMF...