any ideas? Why the google video player randomly gives exception, how can I fix it?
This problem suddenly started this week or so.
SecurityError: Error #2047: Security sandbox violation: parent: my.swf cannot access
http://s.ytimg.com/yts/swfbin/player-vflqv4MLv/watch_as3.swf.
at flash.display::DisplayObject/get parent()
at fl.managers::FocusManager/isTabVisible()
at fl.managers::FocusManager/tabEnabledChangeHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.google.youtube.ui::UIElement/onAddedToStage()
at flash.display::DisplayObjectContainer/addChild()
at com.google.ads.ima.formats.common.video::YouTubeChromelessPlaybackImpl/play()
at com.google.ads.ima.formats.vast.ui::AbstractVideoAdRenderer/usePlaybackToPlayVideo()
at com.google.ads.ima.formats.vast.ui::AbstractVideoAdRenderer/start()
at com.google.ads.ima.formats.common::AbstractVpaidAd/start()
at com.google.ads.ima.formats.common.video::AbstractVideoAd/start()
at com.google.ads.ima.formats.common::VpaidAdsManagerImpl/startCurrentAd()
at com.google.ads.ima.formats.common::VpaidAdsManagerImpl/startInternal()
at com.google.ads.ima.common::AbstractAdsManager/start()
at com.google.ads.ima.formats.common::VpaidAdsManagerImpl/redispatchAdEventHandler()
at com.google.ads.ima.common::AbstractAdsManager/adEventHandler()
at flash.events::EventDispatcher/dispatchEventF
答案 0 :(得分:1)
试试这个步骤:
在Flash IDE中,转到文件 - >发布设置 - > Flash->本地播放安全性,然后选择“仅访问本地文件”或“仅限访问网络”。
在FlashDevelop中右键单击您的项目 - >属性 - >编译器选项 - >使用网络服务
在Amethyst中右键单击解决方案资源管理器中的项目 - >属性 - >编译器 - >使用网络
取自:here