Skip to main content
Participant
May 23, 2006
Question

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

  • May 23, 2006
  • 2 replies
  • 221 views
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 on my MAC. But other people have been telling me that on their PC's that only some of them work. I looked on another PC for myself and found out that only a few buttons out of 53 work when they have the popupwindow code on them. All of the buttons have the same 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 = funtion(url, winName, w, h, toolbar, location, directories, status, menubar, scollbars, resizable) {getUrl("javascript:window.open('"+url"','"+winName"','"+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 doesnt make sense that some of the buttons would work fine on my MAC but only a handful (maybe 5 random ones) would work on a PC. 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. So if anyone could help me or offer a suggestion I would really appreciate it.
This topic has been closed for replies.

2 replies

MiyokonosAuthor
Participant
May 23, 2006
Its published it to Flash Player 7 but the code doesn't seem to work in either player 7 or 8 on a PC.
MiyokonosAuthor
Participant
May 24, 2006
Please help!!! take a look for yourselves...< http://www.larsmith.com >
go to the portfolio section and see how crazy it is.
i think it has something to do with IE because it works in Mozilla but not in Internet Explorer.
Has anyone else had this problem before?
Inspiring
May 23, 2006

"larsmith" <webforumsuser@macromedia.com> wrote in message news:e4vjkn$t62$1@forums.macromedia.com...
> 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 on my MAC. But other
> people have been telling me that on their PC's that only some of them work. I
> looked on another PC for myself and found out that only a few buttons out of 53
> work when they have the popupwindow code on them. All of the buttons have the
> same code below on them with just the filename and the window title modified
> for each one.

Can you try publishing for version 7? OR .. force requirement for version 8 player?
(just my guess)
tralfaz