Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-13-2005, 02:05 AM   #1
third EYE
Banned from Kirupa x2
third EYE's Avatar
Join Date: Aug 2004
Location: Yukon, Canada
Posts: 65
Default HTML Pop up GRRR!

I can't for the life of me get this pop-up window to work in IE! well it works on my server, but when I post it on the clients... I get an 'invalid syntax error' (in the js debugger) here's what I got:

<script language="JavaScript">
    function openNewWindow(URLtoOpen, windowName, windowFeatures) {
        newWindow=window.open(URLtoOpen, windowName, windowFeatures);
and in the EMBED

swLiveConnect=true name="preloader.swf"

the flash side looks like:
_global.openWinCentre = function(url, winName, w, h, toolbar, newlocation, directories, newstatus, menubar, scrollbars, resizable) {
top=((screen.height/2)-("+h/2+")),left=((screen.width/2)-("+w/2+"))') ");
anyone know the fix? or what I'm doing wrong???
third EYE is offline   Reply With Quote
Old 04-13-2005, 02:16 AM   #2
Super Moderator
CyanBlue's Avatar
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666

Try to move all those calculation to the JS rather than doing it in AS and sending it to JS... You might be passing something that's longer than IE can handle...
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 07:17 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.