I did get that a while ago...thanks ;-)

It's all working now with a call to an external JS function to open the window....the annoying alert is a thing of the past.

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 1:02 PM
  Subject: Re: OT: Flash pop-up help

  I posted this earlier, but I think it got lost when my mailserver went down.

  Try calling
  _javascript_:parent.function()
  instead of
  _javascript_:function()

  I vaguely remember having to do something like that.  Unfortunately, I
  was working with a Flash developer who has all the FLA files, so I can't
  just go check.

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