Tim...
I do have it coded using the navigateToURL function as an alternate
solution.  And yes, it works great, EXCEPT, the users have control of
the browser utlities.  This means they can bookmark the page with the
original values still stored and being passed in.  I was looking for a
 less code intensive way of stripping them of this capability.  I
thought the ExternalInterface would work, because I can strip away
browser control from the users.  And since this is an intranet
application, we have set the standard here as IE.  So, I can do that
will little worry about browser compatibility in the short term.

Thank you soo much for your response...i appreciate your time.

--- In [email protected], "sufibaba" <[EMAIL PROTECTED]> wrote:
>
> 
> I had a problem with Firefox with this example.
> 
> As it turns out, opening a window with the ExternalInterface for
> firefox doesn't work.  The work around is to use
> 
>            var request:URLRequest = new URLRequest(strURL);
> 
>             try {            
>                 navigateToURL(request);
>             }
>             catch (e:Error) {
>                 // handle error here
>             }
> 
> The above code seems to work well for opening a window and is less
> affected by browsers incompatibility.
> 
> -Tim
> 
> 
> --- In [email protected], "wi1df1ower" <wi1df1ower@> wrote:
> >
> > Can anyone tell me why the following is not working?
> > --in the actionscript:
> > 
> > public function openWindow():void {
> >               var strFunction:String = "openWindow";
> >               var strURL:String = "http://www.yahoo.com";;
> >               var strCall:String =
> > ExternalInterface.call(strFunction,strURL);
> >         }
> > 
> > --called from my linkbutton:
> > <mx:LinkButton  label="Homework" enabled="true" click="openWindow()"/>
> > 
> > --in my .html wrapper.  I have the "generate html" functionality
> > turned off.
> > 
> > <script type="text/javascript">
> > var WindowObjectReference = null; // global variable
> > 
> > function openWindow(strUrl)
> > {
> >       if (WindowObjectReference == null ||
WindowObjectReference.closed)
> >       {
> >             WindowObjectReference = window.open(strUrl,null,
> > "resizable=yes,scrollbars=yes,status=yes");
> >       } else {
> >             WindowObjectReference.focus();
> >       };
> > }
> > </script>
> > 
> > I am using this from a tip used on CFLEX...its just about verbatim,
> > but it wont work.
> > 
> > i feel silly....please tell me if you see anything please.
> >
>










------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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/

<*> 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