A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Pop up windows in loaded movies

  1. #1
    Bin Laden And Co.
    Join Date
    May 2000
    Ive got this problem..Firstill tell you the structure of movie..Ive got a htmlpage where it has a splash image..You click on that a window pops up and then theres the base movie..level0..Now there r buttons and for every button a movie loads a section into a seperate level..so basically ive got a swf file for each section.To cut down the loading time..
    Now..For the design section ive got examples of design work ive done..I want these to open up in a seperate pop up window as well..So what ive done is in the html page where the base movie (level0) ive put the following code
    <SCRIPT LANGUAGE="JavaScript">

    var newwin;

    function launchwin(winurl,winname,winfeatures)
    //This launches a new window and then
    //focuses it if window.focus() is supported.
    newwin = window.open(winurl,winname,winfeatures);
    if(javascript_version > 1.0)
    //delay a bit here because IE4 encounters errors
    //when trying to focus a recently opened window

    Then for the button where i want to open my second pop up window ive got this get url action
    javascript:launchwin('good.htm' , 'newwindow' , 'height=520,width=720')

    But it doesnt open the second pop up window..Is it because ive loaded that movie and it doesnt see the script in the html for the base movie..Or am i doing something wrong..
    Cheers guys

  2. #2
    Junior Member
    Join Date
    Mar 2001
    I have the same dilema and have been hoping to find an answer on the boards. I have posted several queries about this subject for a week now but have gotten no responses.

    My latest post is on the Flash 4 Actionscript board
    "Popup html from Popup Flash 4 - Not working. Help!"
    and General Help
    "navigation problem between swf movie and html file "
    Trying to work the problem from a different angle.

    If you find a solution Please let me know and I will do the same.
    max crisp

  3. #3
    Bin Laden And Co.
    Join Date
    May 2000
    cheers mate..Ive seen it done on the web on several sites..
    But i cant getit to work for some reason..And i dont think anyone here can either..Cheers anyways guys..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center