Welcome, Guest
  • Author Topic: Urgent please help  (Read 2363 times)

    Sisi Kaiser

    • Server what's that
    • *
    • Posts: 2
      • View Profile
      • Email
    Urgent please help
    « on: 07/20/02, 02:50 »
    OK
    First of all hi! Congratulations to this marvellous site.

    My problem: Need a pop-up out of flash used your tutorial

    getURL ("javascript:NewWindow=window.open('ShowPopup.php','newWin','width=400,height=300,left=0,top=0,
    toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');  

    but nothing happens!!
    Netscape only closes flashsite and opens blank site with the word NULL and the whole command in the location bar

    IE doesnīt do anything.


    So whatīsthe problem?

    Justin-Rei Kurosawa

    • Server what's that
    • *
    • Posts: 1
      • View Profile
      • Email
    Re:Urgent please help
    « Reply #1 on: 07/20/02, 03:02 »
    Have you been through the tutorial at
    http://www.flash-db.com/PopUp/JavaScriptPopUp.php?page=1

    It is quite comprehensive and will probably answer your question.

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re:Urgent please help
    « Reply #2 on: 07/23/02, 08:11 »
    Did you write a PHP-Script with the name "ShowPopup.PHP"
    happy flashing
    8)
    Ronald

    Sisi Kaiser

    • Server what's that
    • *
    • Posts: 2
      • View Profile
      • Email
    Re:Urgent please help
    « Reply #3 on: 07/27/02, 05:50 »
    Yes I did go through the tutorial

    No I didnīt use a php script!


    I did copy and past from the tutorial (just changed the name of my window and the url (the html site is in the same directory as the swf)) but nothing happend.

    H E L P

    Will Harmon

    • Server what's that
    • *
    • Posts: 9
      • View Profile
      • Email
    Re:Urgent please help
    « Reply #4 on: 07/27/02, 18:44 »
    I am having the same problem. I'm using IE 5.0. I have even used this site's code generator. The generator produced what I'm looking for, but when the code is put in
    my flash movie, the new URL replaces my flash movie in the same window. There is no
    new window. I have double-checked spaces, syntax, etc...code works in generator, not in my webpage though.

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re:Urgent please help
    « Reply #5 on: 07/28/02, 03:29 »
    If you don't have a php-script, waht you think should apear in that Window?

    To test that, you need a script with that name you are calling.

    ron
    happy flashing
    8)
    Ronald

    Will Harmon

    • Server what's that
    • *
    • Posts: 9
      • View Profile
      • Email
    Re:Urgent please help
    « Reply #6 on: 07/28/02, 04:58 »
    PHP-script? You mean like including 'ShowPopUp.php'  in the javascript code? The 'ShowPopUp' part is the URL that is supposed to open in the new child window. Could you please explain your response.

    Will Harmon

    • Server what's that
    • *
    • Posts: 9
      • View Profile
      • Email
    Re:Urgent please help
    « Reply #7 on: 07/28/02, 04:59 »
    According to every example in here, the ShowPopUp.php is to be replaced with whatever URL the user wants the new window to open up.

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re:Urgent please help
    « Reply #8 on: 07/28/02, 06:44 »
     :) right!
    You need to put the name of the Page, which you want to show in the new window into the calling inside your action script.
    Thats all.
    :D
    happy flashing
    8)
    Ronald

    Will Harmon

    • Server what's that
    • *
    • Posts: 9
      • View Profile
      • Email
    Re:Urgent please help
    « Reply #9 on: 07/28/02, 17:58 »
    Yeah, that's what I'm doing, but it doesn't work. I know the code works as per the code generator in this site, but once implemented in my flash movie...it does not open a brand new window. The new URL only opens in the window that the flash movie is in. I'm really thrown for a loop. This is the code that I'm using...

    on (release) {
    getURL ("javascript:NewWindow=window.open('http://www.thomashagerfineart.com','newWin','width=750,height=450,left=0,top=0,toolbar=No,location=No,scrollbars=Yes,status=No,resizable=Yes,fullscreen=No');NewWindow.focus();setTimeout('NewWindow.moveTo(0,0)',100); void(0);");
    }

    of course it's all on one line in the AS editor in flash. The other thing is - the attribute resizable = yes isn't recognized by the window at all. See for yourself...
    www.robinleeharmon.com
    go to the links button on the left
    click on www.thomashagerfineart.com

    you'll see what I mean. Thanks for your help.

    Will