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 06-19-2001, 02:21 PM   #1
losse
Registered User
 
Join Date: Jun 2001
Location: Toronto
Posts: 6
Angry

Hello
I want my Flash movie to pop up when a user clicks on a link in my web page. Does anyone know the HTML code so that the window pops up, the size of the flash movie when the user clicks on the link?

Thanks
Carlos
losse is offline   Reply With Quote
Old 06-19-2001, 03:24 PM   #2
kingarturo
Wind Chaser
 
kingarturo's Avatar
 
Join Date: Feb 2001
Location: Calgary, Canada
Posts: 306
Default

Hi there,

Check this;

http://www.actionscripts.org/tutoria...sh/index.shtml

Hope that helps.

Peace.
kingarturo is offline   Reply With Quote
Old 06-19-2001, 03:50 PM   #3
losse
Registered User
 
Join Date: Jun 2001
Location: Toronto
Posts: 6
Default Not exactly

Thanks for your help Arturo but what I want is a straight
up html link <a href> ..... </a> that when you click on it the pop up window opens and the flash movie plays....

Thanks
losse is offline   Reply With Quote
Old 06-20-2001, 07:14 AM   #4
Strok
Registered User
 
Join Date: Nov 2000
Location: Toronto Canada
Posts: 789
Send a message via ICQ to Strok
Default

<HTML>
<HEAD>
<TITLE>actionscripts.org</TITLE>
<script>
<!-- hide it

function open_window(url) {
email = window.open(url,"eMail",'toolbar=0,location=0,dire ctories=0,status=0,menubar=0,scrollbars=yes,resiza ble=0,width=750,height=550');
}

// -->
</script>
</HEAD>
<BODY>
<a href="javascript:open_window('yourpage.shtml')">cl ick here to open</a>
</BODY>
</HTML>

Strok is offline   Reply With Quote
Old 06-21-2001, 02:39 PM   #5
losse
Registered User
 
Join Date: Jun 2001
Location: Toronto
Posts: 6
Arrow Why the "email" tag

Hello and thanks for your reply I was just wondering what the "email" is for in the tag above that you provided me?!?!?!

Thanks again!

Losse
losse is offline   Reply With Quote
Old 06-21-2001, 03:10 PM   #6
Strok
Registered User
 
Join Date: Nov 2000
Location: Toronto Canada
Posts: 789
Send a message via ICQ to Strok
Default

It's just a target-name for Pop-up window

There's an example with "eMail" and "eMail2"--- in this case you'll have 2 separate popup-windows
but if you'll change "eMail2" to "eMail" than every time you'll open popup in the same window

<HTML>
<HEAD>
<TITLE>actionscripts.org</TITLE>
<script>
<!-- hide it

function open_window(url) {
email = window.open(url,"eMail",'toolbar=0,location=0,dire ctories=0,status=0,menubar=0,scrollbars=yes,resiza ble=0,width=750,height=550');
}


function open_window2(url) {
email = window.open(url,"eMail2",'toolbar=0,location=0,dir ectories=0,status=0,menubar=0,scrollbars=yes,resiz able=0,width=300,height=400');
}

// -->
</script>
</HEAD>
<BODY>
<a href="javascript:open_window('blank.htm')">click here to open1</a><br>
<a href="javascript:open_window2('http://www.actionscripts.org/index.shtml')">click here to open2</a>
</BODY>
</HTML>
Strok 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) 9 01-02-2010 12:01 AM
Browser Pop up window scripts Nicidemus ActionScript 1.0 (and below) 2 11-12-2003 03:00 PM
Problem in pop up window. NovNov ActionScript 1.0 (and below) 3 07-11-2003 04:25 AM
Pop up window from another pop up window ecwashere7 ActionScript 1.0 (and below) 1 01-09-2002 10:37 PM
Close/Open new pop up window bcmuth ActionScript 1.0 (and below) 3 06-25-2001 03:16 AM


All times are GMT. The time now is 10:42 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, 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.