1 Reply Latest reply on Apr 28, 2013 6:55 PM by gt621

    White screen when loading swf in https


      When loading in https, my swf flashes for split second and then it turns into a blank white screen. It seems the flash is loading while doing tihs. When the user manually press browser refresh button it will finally displays. What causes this?


      To reproduce this issue, open https://www.vantagefx.com/webtrader in a clean browser environment to avoid browser caching (eg: Google Chrome Incognito mode)


      The problem doesn't happen when the same swf is loaded via http, eg: http://www.enfinium.com.au/webtrader. (Those are same swf, only different branding)


      Please help

        • 1. Re: White screen when loading swf in https
          gt621 Level 1

          Further investigation shows this problem is caused by following exceptions. Strangely only happen when swf is loaded via https. This exception happen when my preloader class dispatches the complete


          this.dispatchEvent(new Event(Event.COMPLETE));  


          Is this a known issue? How can I fix / debug further the problem?


          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\sr c\mx\managers\SystemChildrenList.as:163]

          at mx.managers::SystemManager/preloader_preloaderDoneHandler()[E:\dev\4.y\frameworks\project s\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\fra mework\src\mx\preloaders\Preloader.as:582]

          at flash.events::EventDispatcher/dispatchEventFunction()

          at flash.events::EventDispatcher/dispatchEvent()