You can call Javascript from Flex 1.5 using
mx.core.Application.getURL(). Here's an example that opens a new
browser window:
getURL( "javascript:window.open('http://www.adobe.com', '_blank')" );
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/core/Application.htm\
l#getURL
<http://livedocs.macromedia.com/flex/15/asdocs_en/mx/core/Application.ht\
ml#getURL>
--- In [email protected], "eight.seventeen"
<[EMAIL PROTECTED]> wrote:
>
> All info I can find these days is for Flex 2.x which we are not using
> yet. I am using a jsp file to launch our mxml app in the browser. I
> have created a Javascript function that I need to call from within the
> Flex app via a simple button click.
>
> Is this possible? If so, how the heck do you do it? This seems to be
> too elusive for such a seemingly simple task.
>
> Thanks!
>