Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 12-11-2005, 03:54 PM   #1
josiewales
Registered User
 
Join Date: May 2005
Posts: 6
Default closing a SPECIFIC html page with actionscript

Hi I am making a cd rom with a flash interface.
The users will have the option of viewing 5 different html pages however I only ever want 1 web page to be open at a time. All of the tutorials have shown me how to close down the particular html page which is currently open however I cant find any ones to show me how to close a specific html page. I have been using this code - which closes a particular windowName but its not working...am I referencing the windowName incorrectly or should I name the page int the html code as well using javascript

To Open:

on (release) {
getURL("javascript:window.open('glimpse.html','joe 2','toolbar=no,statusbar=no,resizable=no,menubar=n o,width=950,height=750,left=40, top=20'); void(0);");
}

To close:

on (release) {
getURL("javascript:closeWindow('joe')");
}

all help much appreciated
josiewales 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
opening a NEW html page from Flash in Opera - simple getURL question Chipmonk77 ActionScript 1.0 (and below) 2 08-17-2007 05:02 AM
Actionscript / Javascript / HTML geakem ActionScript 1.0 (and below) 0 09-01-2005 09:46 PM
regarding pixelwit's pageflip newapple ActionScript 2.0 6 08-28-2005 02:04 PM
Username and Password to lead viewer to specific HTML page rednielsen ActionScript 2.0 0 11-17-2004 11:57 PM
Call actionscript function from a HTML page Michael Server-Side Scripting 1 04-27-2001 09:05 PM


All times are GMT. The time now is 06:49 AM.

///
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.