Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-13-2005, 11:53 PM   #1
00lewis
Registered User
 
Join Date: Apr 2005
Location: england
Posts: 63
Default pop up windows.....

hey guys i have been looking for a good tutorial on how to make a pop up window with just the browser type close buttons..ect.

like the way the portfolio examples are shown on this site....
http://www.mediahead.com/jakub/index2.htm
i would like to know if the files attached have to be in the library or just in the same folder as the main flash piece.... loads of tutorials refere to the html script.... only i am using flash all the way and cant do it the way that is surggested....

i have a few friends that have the same problem, all of have used the search tool (well i have anyway) but dont seem to be finding the correct thing we be looking for.........(we are all beginners)

i tried it by using the code on the button
ActionScript Code:
on (release) {                getURL ("JavaScript:pop();");              }               ///// not 100% where the file name goes
and also tried
ActionScript Code:
on (release) {         getURL("javascript:openWindow(''Think the file location goes her",'newWindow','toolbar=0,location=0,directries=0,status=0,menubar=0,scrollbars=0  ,resizable=0,width=400,height=200,left=100,top=150')"); }
when i tried this all it seemed to was bring the web browser to the front of all other applications on my comp..... is it that i have the right code but it cant find the file to open because its not online...... is there a way to find out if the external windows are working without being online??????????
any help would be greatful

regard

Last edited by CyanBlue; 04-14-2005 at 12:03 AM.. Reason: AS tag is applied
00lewis is offline   Reply With Quote
Old 04-14-2005, 12:03 AM   #2
Gibberish
WHAT!?
 
Join Date: Aug 2004
Location: San Diego, CA
Posts: 1,774
Default

ActionScript Code:
getURL("javascript:NewWindow=window.open('http://www.myURL.com/myFile.html','newWin','width=410,height=420,left=0,top=0, toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');  NewWindow.focus(); void(0);");
Gibberish is offline   Reply With Quote
Old 04-14-2005, 12:07 AM   #3
oldnewbie
Banned by AS.org Staff
 
Join Date: Mar 2002
Posts: 10,534
Default

In fact visit http://www.flash-db.com/PopUp/ , and set the popup as you would like it and generate the code. Then it's simply a question of copying & pasting the generated code in your Flash movie.
oldnewbie is offline   Reply With Quote
Old 04-14-2005, 12:32 AM   #4
00lewis
Registered User
 
Join Date: Apr 2005
Location: england
Posts: 63
Default

hey guys thanx for the window tool....
it wouldnt let me copy paste (doh!) so me typed it instead.... it kinda did the same again it just put my current browser page infront of my flash file is this its way of saying yes it works... or not???? i'm not to sure its working....wherei type in the name of the file location for now should i type in Machintosh:desktop/filename.swf
or how ever its written???
00lewis is offline   Reply With Quote
Old 04-14-2005, 02:11 AM   #5
oldnewbie
Banned by AS.org Staff
 
Join Date: Mar 2002
Posts: 10,534
Default

You've lost me!
oldnewbie is offline   Reply With Quote
Old 04-14-2005, 02:58 AM   #6
00lewis
Registered User
 
Join Date: Apr 2005
Location: england
Posts: 63
Default

sorry dude... i get that a lot about many things...

i followed the getUrl.......bla bla

but when it tested the movie all the button did was to bring my web browsr up to the current page that that was on.......hmmmmm it didnt bring up a seperate box like in the example i attached......
urm... when testing popup windows before you put your file on the web does this usually happen.
00lewis is offline   Reply With Quote
Old 04-14-2005, 03:16 AM   #7
oldnewbie
Banned by AS.org Staff
 
Join Date: Mar 2002
Posts: 10,534
Default

Attach your testing .fla.
oldnewbie is offline   Reply With Quote
Old 04-14-2005, 04:07 AM   #8
00lewis
Registered User
 
Join Date: Apr 2005
Location: england
Posts: 63
Default

basically for now as the piece i'm working on is not on the web at the moment i need away to use the pop up windows tolaunch a file that is on my desktop and not on the web??? i will try to zip my file tomorrow... i have no to attach yet, but could try and knock an example up quickers.....
many thanx for your help and interest.....Peace
00lewis 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


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