Doug...
Thanks soo much for responding.  I wish that were it...but its still
giving me a generic, "Error on this page" in IE.

So, I am still working on it.  It works fine when I use the
NavigateToURL...so it must be somewhere not in the javascript, but in
the actionscript, I am supposing.   A missed quote or something stupid
like that....

Anyway, i appreciate the help.

Vida

--- In [email protected], "Doug Lowder" <[EMAIL PROTECTED]> wrote:
>
> See if your browser's popup blocker is interfering.
> 
>  {
>    WindowObjectReference = window.open(strUrl,null,
>     "resizable=yes,scrollbars=yes,status=yes");
>    if (WindowObjectReference == null) alert("Popup blocked!");
>  } else {
> 
> 
> --- 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