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
最佳答案
试试这个步骤:
在 Flash IDE 中,通过转至文件->发布设置->Flash->本地播放安全并选择“仅访问本地文件”或“仅访问网络”。
在 FlashDevelop 中通过右键单击您的项目-> 属性-> 编译器选项-> 使用网络服务
在 Amethyst 中右键单击解决方案资源管理器中的项目-> 属性-> 编译器-> 使用网络
取自:here
关于flash - 为什么谷歌视频播放器随机给出异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20989221/