Jump to content
Search Community

Search the Community

Showing results for tags 'securityerror'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


X


CodePen


Company Website


other


Location


Interests

Found 1 result

  1. Hi, I am striking a security error when trying to draw bitmapdata from a videoloader. This might be more a Flashplayer question but would like to know how to fix when using VideoLoader. Any help appreciated! Crossdomain policy file: <cross-domain-policy> <site-control permitted-cross-domain-policies="all"/> <allow-access-from domain="*" secure="false"/> <allow-http-request-headers-from domain="*" headers="*" secure="false"/> </cross-domain-policy> Loader: masterLoader.append( new VideoLoader(aryStringPath, {name:aryStringPath, container:videocontainer.videos, width:VIDEO_HI_WIDTH, height:VIDEO_HI_HEIGHT, autoPlay:false, visible:false, scaleMode:"proportionalOutside", checkPolicyFile:true}) ); Complete: I then wait for the complete event. VideoLoader.VIDEO_COMPLETE Bitmap Draw: I then attempt to draw from the parent container. bmDataLeft.draw(videocontainer, new Matrix(1, 0, 0, 1, 0, 0)); Security Error: SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: www.domain.com/swf.swf cannot access unknown URL. No policy files granted access. at flash.display::BitmapData/draw() at com.packagename::WaterRippler/drawBitmaps() at com.packagename::WaterRippler/setupRipples() at com.packagename::VideoContainer/onVideoComplete() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at com.greensock.loading::VideoLoader/_statusHandler() Things I have tried/checked: - policy file - completely open as above and in the root. Using a dedbugging proxy I can tell it loads correctly on page load. - added checkPolicyFile:true to loader params - video file is an FLV pulling from a static server (not streaming) - there is no DRM on the FLV's, they are produced by ourselves and hosted on our own server If you have any ideas please let me know! Thanks for your help.
×
×
  • Create New...