| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
im trying to make my flash movie pop up from an html page in to a pop up my html looks like this
<HTML> <HEAD><script language="JavaScript"> <!-- spawnWindow('http://24.20.65.99/snake/flash-hagen.swf','Flash_hagen.swf','toolbar=no,location= no,status=no,menubar=no,scrollbars=no,resizable=ye s,width=650,height=250')} //--> </script> <TITLE>flash-hagen1</TITLE> </HEAD> my flash button in the html page to make the new window looks like this on (release) { getURL ("javascript:spawnWindow..."); } i keep geting a santex error and it ask me if i wont to debug. what did i do now to make these errors. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Try making it:
spawnWindow('http://24.20.65.99/snake/flash-hagen.swf','Flash_hagen','toolbar=no,l... ) ie. Remove the ".swf" from the Flash_hagen window name. Window names can't include periods I think you'll find. (At a glance this appears to be the cause. If it doesn't fix it, reply...) Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jan 2001
Location: Wisconsin
Posts: 10
|
I believe this is one of the easiest way to do this because you can use it over and over again....
<script lanugage="JavaScript> <!--Begin function theWindow(strURL) { var windowObject; if (navigator.appName.indexOf("Netscape") != -1) { windowObject = window.open(strURL, "WindowName" , "outerwid } else { windowObject = window.open (strURL "WindowName= , "width } return; } thescript is not fully finished because I assum you know the width and height specifications.... then in flash its simple ![]() on (release) { getURL ("javascript:theWindow('yoursite.htm')"); } have fun... ________________ thegraphicguru ![]() |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tutorial for Launching a Centered Pop-Up Window | vazbo | ActionScript 1.0 (and below) | 6 | 09-11-2009 11:19 PM |
| Controlling Browser Window via Flash Javascript buttons [via 'get url' statement]. | cheeky_monkey | ActionScript 1.0 (and below) | 7 | 01-20-2009 03:30 PM |
| A shot in the dark - !please read! | seeFresh | ActionScript 2.0 | 2 | 09-01-2005 04:07 PM |
| Login In using stand alone player, by spawning a new authenticated window. | dixieflatline | ActionScript 2.0 | 1 | 06-06-2005 05:20 PM |
| Spawning of new window | -[LoR]- | Simple Stuff (Newbies) | 5 | 04-02-2004 10:26 AM |