Skip navigation
Currently Being Moderated

osmf 1.6 vs osmf with Adobe FlashBuilder 4.6 Beta

Nov 30, 2011 12:56 AM

Hi All,


  I was using OSMF that comes with Flash Builder 4.5/4.6 until now... This SWC file is about 341KB, and when I call this method to get the Media Element for a FLV/MP4 file it works just fine -




Now, I get the 1.6 release of OSMF so I could take advantage of StageVideo, so I added this new SWC file to the project path (the SWC is of 229 KB), but when I try to call the same above code, the MediaElement returned is NULL for a FLV or MP4 file...


What is going wrong? Can someone help me out please?




  • Currently Being Moderated
    Dec 3, 2011 12:34 PM   in reply to BaligaN

    Are you trying to call osmfMediaFactory from what object a media object?


    One flow could be this:


    var playerInstance = new MediaPlayerSprite();

    var url_resource:URLResource = new URLResource('myVideo.mp4');

    playerInstance.resource = url_resource;

    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