hello again,

Here is a example of the problem that I´m having.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute">
        <mx:Script>
                <![CDATA[
                import mx.controls.Alert;
                import flash.external.ExternalInterface;
                private function doAlert():void{
                        var strJavaScript:String = 'alert("blablabla")'
                        ExternalInterface.call(strJavaScript);
                }
                ]]>
        </mx:Script>
        <mx:VBox width="100%" height="100%">
        <mx:Accordion width="100%" height="100%">
                <mx:Canvas label="Test 1">
                        <mx:VBox>
                                <mx:Button label="Button"/>
                                <mx:CheckBox label="Checkbox"/>
                        </mx:VBox>
                </mx:Canvas>
                <mx:Canvas label="Test 2">
                        <mx:VBox>
                                <mx:TextArea/>
                                <mx:Button label="Button"/>
                        </mx:VBox>
                </mx:Canvas>
        </mx:Accordion>
        <mx:Button click="doAlert()" label="Test ExternalInterface"/>
        </mx:VBox>
</mx:Application>

Regards,

Rogerio


--- In flexcoders@yahoogroups.com, "Rogerio Gonzalez"
<[EMAIL PROTECTED]> wrote:
>
> Hello people,
> 
> I am having a problem with Firefox. I do a javascript (window.open) by
> an ExternalInterface.
> Something like this:
> 
> var strJavaScript:String = 'window.open("test.html","Test","width="+
> screen.width +",height="+ (screen.height - 30)
> +",left=0,top=0,status=0")'
> ExternalInterface.call(strJavaScript);
> 
> in IE, everything work just fine. But in Firefox (1.5.0.7) the browser
> execute the Javascript code right, but the FlashPlayer goes funny.
> Some things work, others don´t. ViewStacks, for example. Simple
> doesn´t work after perform an ExternalInterface.call
> 
> Anybody have any ideias?
> 
> Thanks
> 
> Rogerio
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to