在https中加载swf时出现白屏

时间:2013-04-23 06:07:52

标签: flash flex ssl flash-builder

以https加载时,我的swf会瞬间闪烁,然后变成空白屏幕。在做这些事情的时候,闪光灯正在加载。当用户手动按下浏览器刷新按钮时,它将最终显示。是什么原因造成的?

要重现此问题,请在干净的浏览器环境中打开https://www.vantagefx.com/webtrader以避免浏览器缓存(例如:Google Chrome隐身模式)

当通过http加载相同的swf时,问题不会发生,例如:http://www.enfinium.com.au/webtrader。 (那些是相同的swf,只有不同的品牌)

请帮忙

1 个答案:

答案 0 :(得分:1)

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()