Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 3 of 3

Thread: The only person in the world with this popup window problem!

  1. #1

    Default The only person in the world with this popup window problem!

    I'm using Flash MX 2004. I created my site on my MAC and when i uploaded it to the web all of the popupwindows on my site work perfectly in Safari and Firefox. But in Internet Explorer only some of them work. Only a few buttons out of 53 work when they have the popupwindow code on them. All of the buttons have the same exact code below on them with just the filename and the window title modified for each one.


    on (release)
    //customize the window that gets opened
    // 0 equals NO.
    // 1 equals YES.
    address = "http://www.larsmith.com";
    target_winName = "Sketchbook entry";
    width = 800
    height = 700
    toolbar = 0
    location = 0
    directories = 0
    status = 0
    menubar = 0
    scrollbars = 0
    resizable = 0
    //sends data back to the function
    openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
    }


    All of the buttons are inside a movie clip and on the top layer of the movie clip i have this code.


    _global.openWinCentre = function(url, winName, w, h, toolbar, location, directories, status, menubar, scollbars, resizable) {getUrl("javascript:window.open('"+url"','"+winNam e"','"+width="+w+", height="+h+", tollbar="+toolbar+", location="+location+", directories="+directories+", status="+status+", menubar="+menubar+", scrollbars="+scrollbars+", resizable="+resizable+", top='+((screen.height/2)-("+h/2+"))+',left='+((screen.width/2)-("+w/2+))+'"+"'); void(0);");};

    It seems like im the only person in the world who has had this problem because i cant find any help in any other forum. Please take alook for yourself in the portfolio section at http://www.larsmith.com to see what im talking about. So if anyone could help me or at least offer a suggestion I would really appreciate it.
    .::Lars::.

  2. #2
    Join Date
    May 2004
    Location
    U.S.A.
    Posts
    2,890

    Default

    Hi,

    I dont see any glareing code errors but the buttons dont work in the link you posted. I use a similar method for launching pop up windows and it works fine in IE. Maybe looking through one of these threads will prove helpful...

    http://www.flashadvisor.com/forum/viewtopic_php|t=1065.html

    http://www.flashadvisor.com/forum/viewtopic_php|t=1194.html
    A mind once stretched by a new idea never regains its original dimensions.
    - Oliver Wendell Holmes

  3. #3

    Default

    I tried the above but I had no success. I also tried using flash.external.ExternalInterface, but I was unable to get anywhere also. In both cases the browser opened but nothing was displayed. I tried both local file and internet addresses.

    I would like to use the folllowing javascript code in my flash project
    Code:
    function mappop(imagename) {
    popwin = this.open(imagename, "map", "width=515,height=235, toolbar=no,menubar=no,location=no,resize=no,noresize");
    popwin.focus();}
    If anyone can help... I'm looking your way NTD ... I would appreciate it

    Thank you,
    Vinny P

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. World map with dragging/zooming problem...script inside
    By batmanbury in forum Flash Scripting
    Replies: 0
    Last Post: 12-19-2006, 02:57 PM
  2. Create a popup window with specific size
    By stellagifford in forum Advanced Flash
    Replies: 1
    Last Post: 05-18-2005, 05:57 PM
  3. Multi-Person Development Group
    By JoshDev in forum General Flash
    Replies: 1
    Last Post: 05-22-2004, 11:45 PM

Bookmarks

Posting Permissions

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