I don't have one handy (I did this while working with a flash developer,
who has all the FLA files) but I remember we had a slight problem, and
there's a trick to fixing it.

Try using a call like:
_javascript_:parent.function(parameters);
instead of
_javascript_:function(parameters);

That might have been what the problem was.

Sorry my brain can't dredge it up for sure....

--Ben

Bryan Stevenson wrote:

> Hey Ben,
>
> Can you fire up a sample getURL() call with window.open and some window
> properties set?  I must just be missing some syntax....I tried several
> approaches but something is off ;-)
>
> Cheers
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> t. 250.920.8830
> e. [EMAIL PROTECTED]
>
> ---------------------------------------------------------
> Macromedia Associate Partner
> www.macromedia.com
> ---------------------------------------------------------
> Vancouver Island ColdFusion Users Group
> Founder & Director
> www.cfug-vancouverisland.com
>   ----- Original Message -----
>   From: Ben Doom
>   To: CF-Talk
>   Sent: Friday, April 02, 2004 10:34 AM
>   Subject: Re: OT: Flash pop-up help
>
>   You can use the getURL() function to call _javascript_ in the enclosing
>   page, just like you would out of an anchor tag.
>
>   --Ben
>
>   Bryan Stevenson wrote:
>
>   > Hey All,
>   >
>   > I want to open a window from in side a Flash movie using
> _javascript_.  So far
>   > all I've been able to do is open the window using the getURL()
> function with
>   > a target of "_blank".  This gets me the window I want, but when I use
>   > "window.close();" in the pop-up window to allow users to close it, that
>   > annoying "The web page you are viewing is trying to close this
> window.  Do
>   > you want to close this window?" alert window.
>   >
>   > My assumption is that because the pop-up was not opened via
> _javascript_ that
>   > it whines when closed with _javascript_.  All my other pop-ups that
> are popped
>   > from a regular web page (not from inside Flash) using _javascript_ do
> not show
>   > this alert when being closed via _javascript_.  Of course it may also have
>   > something to do with the pop-up being launched from inside Flash.
>   >
>   > Any thoughts would be greatly appreciated!!
>   >
>   > Cheers
>   >
>   > Bryan Stevenson B.Comm.
>   > VP & Director of E-Commerce Development
>   > Electric Edge Systems Group Inc.
>   > t. 250.920.8830
>   > e. [EMAIL PROTECTED]
>   >
>   > ---------------------------------------------------------
>   > Macromedia Associate Partner
>   > www.macromedia.com
>   > ---------------------------------------------------------
>   > Vancouver Island ColdFusion Users Group
>   > Founder & Director
>   > www.cfug-vancouverisland.com
>   >
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to