apache-flex 在https中加载swf时出现白色

dy1byipe  于 2022-11-01  发布在  Apache
关注(0)|答案(1)|浏览(128)

当在https中加载时,我的swf闪烁了一瞬间,然后变成了一个空白的白色屏幕。看起来flash是在做tihs的时候加载的。当用户手动按浏览器刷新按钮时,它最终会显示出来。这是什么原因造成的?
要重现此问题,请在干净的浏览器环境中打开https://www.vantagefx.com/webtrader以避免浏览器缓存(例如:谷歌浏览器隐身模式)
当通过http加载相同的swf时,不会发生此问题,例如:http://www.enfinium.com.au/webtrader。(这些是相同的swf,只是品牌不同)
请帮帮忙

c7rzv4ha

c7rzv4ha1#

https://www.vantagefx.com/webtrader抛出错误:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::rawChildren_removeChild()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2143]
at mx.managers::SystemChildrenList/removeChild()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemChildrenList.as:163]
at mx.managers::SystemManager/preloader_preloaderDoneHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2645]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/displayClassCompleteHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\preloaders\Preloader.as:582]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at libs.Preloader::XPreloader/endClose()[C:\Users\GerryT\Documents\git_repositories\WebTrader\src\libs\Preloader\XPreloader.as:237]
at libs.Preloader::XPreloader/closeEffectTimer_timer()[C:\Users\GerryT\Documents\git_repositories\WebTrader\src\libs\Preloader\XPreloader.as:251]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

相关问题