Hi all,

I've created an object which extends MovieClip that, based on its 
constructor arguments, either displays an external JPG, plays a 
progressive-download FLV file with a player I wrote, or plays an MP3 with 
another player I wrote.

I'm attempting to get this object to work within Papervision3D's 
InteractiveMovieMaterial class, displayed on a Plane object.  I initially 
instantiate my player object on the stage, add it as a child, and then pass 
it to the InteractiveMovieMaterial instance.  Using the examples, I can get 
papervision to display the object if it loads an external JPG.  It also 
successfully loads external PNGs.  However, the moment I attempt to use the 
FLV player or MP3 player, I get the following errors:

FLV:
SecurityError: Error #2135: Security sandbox violation: BitmapData.draw: 
file:///C|/Documents%20and%20Settings/devnull/Desktop/Clients/BuderEngel/BuderEngelSite/release/assets/swf/Shell.swf
 
cannot access null. RTMP content cannot be accessed using this API.
        at flash.display::BitmapData/draw()
        at org.papervision3d.materials::MovieMaterial/drawBitmap()
        at 
org.papervision3d.materials::MovieMaterial/org.papervision3d.materials:MovieMaterial::createBitmapFromSprite()
        at org.papervision3d.materials::MovieMaterial/set texture()
        at org.papervision3d.materials::MovieMaterial$iinit()
        at org.papervision3d.materials::InteractiveMovieMaterial$iinit()
        at com.be::ContentArea/com.be:ContentArea::createPlane()
        at com.be::ContentArea/lateInit()
        at Shell/haveFun()
        at Shell/::frame3()



MP3:
Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
        at com.dave.mediaplayers::ScrubberAudioPlayer/loadFile()
        at com.dave.mediaplayers::ScrubberAudioPlayer/unpauseAudio()
        at com.dave.mediaplayers::ScrubberAudioPlayer/playButtonPressed()
        at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at com.dave.mediaplayers::Scrubber/play_btn_mouseDown()
pause_btn_mouseDown [object MovieClip]




... outside of papervision, these modules work great.  It appears that the 
sound object cannot load the file when its displayed within an 
InteractiveMovieMaterial on a Plane.

Is this a limitation of papervision3D, or is there some workaround I'm not 
aware of?  I appreciate any light anyone can shed on this.

Thanks all.

-Dave Cole
 



_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to