Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Flash General Questions > Other Flash General Questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-02-2001, 12:01 AM   #1
flash-hagen
Registered User
 
Join Date: Dec 2000
Posts: 4
Send a message via Yahoo to flash-hagen
Question

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.
flash-hagen is offline   Reply With Quote
Old 01-02-2001, 12:47 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Old 01-17-2001, 04:22 AM   #3
thegraphicguru
Registered User
 
Join Date: Jan 2001
Location: Wisconsin
Posts: 10
Default open a br window

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
thegraphicguru 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
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


All times are GMT. The time now is 09:23 PM.


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