Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-31-2002, 10:27 PM   #1
ptown
Registered User
 
Join Date: Oct 2001
Posts: 29
Default Pop up windows

Hi,

I am having trouble with multiple pop up windows. I have a movie that has two different buttons that I want to pop up two different windows.

The action script for the button looks like this

on(release){
getURL("JavaScriptop();");
}

The Java script between the <HEAD> and the </HEAD> looks like this

<SCRIPT LANGUAGE="JavaScript">
function pop(){
window.open("http://misc.htm","height=200,width=200,toolbar=no,scrollb ars=no");
}
</script>


But everytime I press the button I get a JavaScript error????

What am I doing wrong|?
ptown is offline   Reply With Quote
Old 01-31-2002, 11:28 PM   #2
Billy T
Oops I did it again
 
Billy T's Avatar
 
Join Date: Oct 2001
Location: Melbourne
Posts: 8,579
Default

try this one
Attached Files
File Type: zip centerpopup.zip (2.9 KB, 189 views)
__________________
Billy
Online Galleries
iPhone Safety App - iStaySafe
Free Flash Video Tutorials
Photo Website Template

Don't email or PM me questions...
Billy T is offline   Reply With Quote
Reply


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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why everyone hates (or should hate!) mircosoft stealthelephant General Chat 100 01-07-2005 01:17 PM
Pop up windows Developer Other Flash General Questions 6 01-24-2004 09:10 AM
pop up windows and swf files Displaced Simple Stuff (Newbies) 2 05-20-2003 01:09 PM
site structure and pop up windows in flash eskymo ActionScript 1.0 (and below) 4 02-07-2003 11:01 AM


All times are GMT. The time now is 08:22 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.