I have the same player version for both IE and Firefox - 9 0 45 0 ..

(
 as per: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15507 
)


The following code ( I know its incorrect but it illustrates the point
).  

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; 
        creationComplete="init()" layout="absolute" xmlns:ns1="*">
<mx:Script>
        <![CDATA[
                
                import mx.controls.Alert;
                        
                private function init():void
                {               
                        var gdata:String = null;

                        Alert.show(gdata.split(":").toString());
                        
                }
        ]]>
</mx:Script>
</mx:Application>

generates a SWF that behaves differently depending on the browser .. 

For IE I get an error: 

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
        at testExt/::init()
        at testExt/___Application1_creationComplete()
        at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at mx.core::UIComponent/dispatchEvent()
        at mx.core::UIComponent/set initialized()
        at mx.managers::LayoutManager/::doPhasedInstantiation()
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at mx.core::UIComponent/::callLaterDispatcher2()
        at mx.core::UIComponent/::callLaterDispatcher()

which is understandable :) .. 

For Firefox  I get nothing .. just a nice 'blueish grey screen' :) .. 

Is this a known problem with the Firefox flash plugin ? 

thanks in advance ..



Reply via email to