Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Popup Windows


Question. I have a movie, movie_4, loaded into level4 of mainmovie. I have a button in movie_4 that uses getURL to open a new window. Can I use javascript to control the new window properties? I've tried this code and it doesn't seem to work

movie_4

On (Release)
Get URL("javascript:launchwin('http://www.stattik.com/old_intro.html' , 'newwindow', 'height=600,width=800')", window="_blank")
End On

in old intro.html

<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>

So, what am I doing wrong? I'm new to this whole javascript thing, so I have no clue. Any suggestions.




FlashKit > Flash Help > Flash ActionScript
Posted on: 03-22-2002, 01:16 PM


View Complete Forum Thread with Replies

Sponsored Links:

Flash Popup Adverts/windows That Aren't Windows
Hi there

Just wondering if anyone knows any links to tutorials to make those flash adverts you find on websites? They are actual popup windows but flash boxes that appear above a webpage.

I think they use div layers as well as some flash? But im not sure where to find a tutorial!

For an example visit:

http://www.channel4.com/4car/news/index.jsp

(you might need to click on several pages down the left to get one to appear)

Any help on this would be a great help.

Thanks

View Replies !    View Related
Popup Windows......
Hi, I have made a site with a popup window, but the person I am making if for wants the tool bar and the url bar to be there. Does anyone know how to make these show on a popup window?



Thanks

This is the code I am using.

<A HREF=javascript:window.open

('mymovie.html','mymovie','width=600,height=450'

);void(0);></A>

View Replies !    View Related
Popup Windows............
Hi, I have created a site that uses a javascript popup window when launched. The only thing is the guy I'm making it for wants the task and url bar on that popup window. Does anyone know the code for this?


Thanks

View Replies !    View Related
Popup Windows
I am problems with locking popup windows in flash....
I thought I was doing this right, but obviously I am not!

If anyone can help....heres he code i am attemting to use

on (release) {
getURL("javascript:window.open('bordenspe.htm','wi dth=350,height=210, resize=no, scrollbars=no');
}

View Replies !    View Related
Popup Windows
i am trying to get a popup window from flash, unfortunately i am having extreme troubles...i have looked at most of the tutorials and i still can't get it...any help would be greatly appreciated...especially the exact coding on both ends.

View Replies !    View Related
Popup Windows
I'm using Flash 5 and I've created a series of popups from my main.swf file from one of the many tutorials on the web. I specifically wanted no toolbar on the window that pops up so I can't just use geturl() so there's some javascript in the main.html to call these popups.

Unfortunately when I send these via email various servers keep quarrantining them coming back with reports that they've detected javascript and so won't let them through in case they are bugged. This is very annoying - is there anyway I can either produce popups from flash without toolbars without using javascript in the HTML? Or can I just change the HTML in dreamweaver to produce no toolbar without the use of javascript?

Thanks!

View Replies !    View Related
Windows Popup
Well, I'm having some trouble.. and after trying to find examples or a tutorials nothing seemed to help me.. So,

anyway..

heres the code.. .

getURL ("javascript:NewWindow=window.open('http://www.digitally-advanced.com/,'newWin','width=405,height=205,left=0,top=0,toolb ar=No,location=No,scrollbars=No,status=No,resizabl e=No,fullscreen=No'); NewWindow.focus(); void(0);");


now when I click on the button that executes this.. after I published it and its just on my local HD it works.. but when I upload it to my server it just gets an unfound page.. and I know javascript works becuase I have a scrren check working on another project.. any ideas???



thanks...

View Replies !    View Related
Popup Windows
Can anyone help me?

I'm trying to simply popup a window by clicking a button from within flash. The problem I am having seems to stem from the fact that I have an .swf file (TWO) loaded into an empty movie clip in another file. (ONE) It's from the file (TWO) that I wan to popup a window.

I can get it to work when the button is in the first level file (ONE) but not if it's in TWO.

This is the code I have on the button:

on (release) {
getURL("javascript:NewWindow('popup1.html','mypete r','400','300','no')");
}

And I have all the other javascript functions in my base HTML page.

Please help, I'm going mad!

Cheers

C.

View Replies !    View Related
Help With Popup Windows
Ok I have a website that is flash and I want to add JavaScript style popup windows without a browser or any of that stuff. I make my buttons and put them in and this is all on one page so I need to find a way to make all my buttons open to there specific windows. I also when back and used a code from the boad to see if it worked and it did but what I need is a code that makes it possible for me to resize the windows once I've published flash and all that and I also need to add scrollbars to each window. I want the windows to be able to be different sizes set to there specific page once you click the link. I hope this makes sense and I hope some one can writing me out a code that I can add to my html and a code to put in the getURL action in flash for each button...Please help...Thanks

View Replies !    View Related
Popup Windows
Can anyone help out with the following:

I need to launch four popup windows from the same movie at the moment I can just launch 1! I am not sure what changes I need to make to the actionscript and javascript code to allow for more than 1?

Any help greatly appreciated!

Thanks

ravenotice

View Replies !    View Related
Popup Windows
I'm trying to make a seperate html document popup without any of the scroll bars, etc., and in the correct position/sized right. I'm not sure how to do this in code for Flash. I played around with using java script in Flash but was not succesful. Any help would be appreciated.

-Tim

View Replies !    View Related
Popup Windows
Hi,

I used the EASY POPUP extension for flash to create a flash site with popup windows. Everything works well, but I want my main window which contains all the popup links to stay AT THE BACK of all popup windows ALL THE TIME (now when you click a link on the main page all opened popup windows dissapear behind my main window). I guess you have to do it with some HTML coding in the html file of my main movie. Does anybody have a clue?


thanks
stanno

View Replies !    View Related
Popup Windows
Greetings to you all.

Im trying to have little pop up windows come up when the relevant buttons are clicked. All the buttons are on the same layer. But when any of them are clicked - no popup appears??

Cant understand it as Im following all the instructions Ive used before.

Please help!

Website is: www.absolutleynights.co.uk/residents.swf

Thanks

JJ

View Replies !    View Related
Popup Windows On MAC
I put the source code below on my HTML page ( which embeded .swf file ) for links pop-up windows on flash,it does works properly on PC. But on MAC it does open up the popup windows on the first selected link ,then I selected the others links I have to closed down the first popup windows otherwised it will not works.

<script language="JavaScript">
var popwindow;
popwindow=null;
function show_desc(file,w,h,t,l)
{
if(popwindow == null)
{
popwindow=window.open(file, "Preview", "toolbar=0,location=0,directories=0,status=0,menub ar=0,scrollbars=no,resizable=0,copyhistory=0,width ="+w+",height="+h+",top="+t+",left="+l);
}
else
{
popwindow.close();
popwindow=null;
popwindow=window.open(file, "Preview", "toolbar=0,location=0,directories=0,status=0,menub ar=0,scrollbars=no,resizable=0,copyhistory=0,width ="+w+",height="+h+",top="+t+",left="+l);
popwindow.focus();
}
}
</script>



THANKS FOR YOUR HELP

View Replies !    View Related
PopUp Windows
hi there to all,

I need help on popup windows in flash. kindly check this link

http://www.llbean.com//shop/shopByCa...H/catalog.html

This is a E-catalog of LLBEAN. On 2nd page of this catalog you will see if we drag mouse on any text it shows a message click to enlarge text and when we click on it. This shows a popup window with same picture and the size of window is also same. so how can i open that kind of windows which will auto detect size of that picture.


Looking for some guidance.
thanks

View Replies !    View Related
[F8] Help With Popup Windows
I'm pretty new to flash and I'm using flash 8. I have a website template that my boss purchased and assigned to me to edit and I've done pretty well with it except for one thing. It has these popup windows that appear when you click the "Read More" links and I'm having a hard time making them work. I have made a copy of the popup and the contents of it, but I can't figure out how to open the new popup when I click the "Read More" links. They all open the original popup. I have spent hours trying to figure it out. I'm sure it's something easy but I'm just not seeing it. Any help with this would be HUGELY appreciated. I will attach the fla file.

The symbol name for the original popup is called "0Symbol 1 copy 2" - I made a copy of it and named it "0Symbol 1 copy 2a"

The original symbol contains another symbol called "00Symbol 5 copy" which is the contents of the popup window. I have made a copy of this called "00Symbol 5 copy 2" and added that to "0Symbol 1 copy 2a." Now I just can't figure out how to link to that new popup window.

If anyone can help me with this, I would owe them my life. Well, not my life, but a lot! Lol. Thanks in advance!


EDIT: The fla file was too big. You can download it >>>HERE<<<

View Replies !    View Related
Popup Windows
Just wondering why I can still resize this window?

on (release) {
getURL("javascriptpenNewWindow('test.html','thew in','height=600,width=800,toolbar=no,scrollbars=no ,resizable=no,scale=no') ");
}

View Replies !    View Related
Popup Windows
I am using flash 8, and I'm trying to use javascript to create popup windows. I'm using the code:

on (release) {
getURL("javascript:openNewWindow('link2.html','the win','height=200,width=200,toolbar=no,scrollbars=n o')" );

However, when I test it, I get this message in Safari:
Safari can’t run the script “openNewWindow('link2.html','thewin','height=200,w idth=200,toolbar=no,scrollbars=no')” because Safari doesn’t allow JavaScript to be used in this way.

Does anyone know what's going on?

Thanks

View Replies !    View Related
Popup Windows
Can anyone help me?

I'm trying to simply popup a window by clicking a button from within flash. The problem I am having seems to stem from the fact that I have an .swf file (TWO) loaded into an empty movie clip in another file. (ONE) It's from the file (TWO) that I wan to popup a window.

I can get it to work when the button is in the first level file (ONE) but not if it's in TWO.

This is the code I have on the button:

on (release) {
getURL("javascript:NewWindow('popup1.html','mypete r','400','300','no')");
}

And I have all the other javascript functions in my base HTML page.

Please help, I'm going mad!

Cheers

C.

View Replies !    View Related
Popup Windows
I was going through this website http://www.ziggystudio.com/v1/main.htm (great site by the way) and I was wondering how does he/she create those popup windows that have a perfect size around the images o swfs. I doubt that it's done manually because it looks to great. I would really appreciate the clarification. Thanks!

View Replies !    View Related
Popup Windows
I was going through this website http://www.ziggystudio.com/v1/main.htm (great site by the way) and I was wondering how does he/she create those popup windows that have a perfect size around the images o swfs. I doubt that it's done manually because it looks to great. I would really appreciate the clarification. Thanks!

View Replies !    View Related
Popup Windows
I am new to this flash thing and I am trying to create a menu that pops up the photo album (Found in the tutorials). If anyone knows how to do this please can the post back with a simple tutorial etc that would help me in my quest......

Tnx in Advanced.

G2F::

View Replies !    View Related
Popup Windows
Hi,

I would like to have a popup HTML window launched from Flash to specific dimensions. Grateful for some advice, thanks.

View Replies !    View Related
Why Use Popup Windows?
Ok this may have been asked before but I couldn't find any answers.

Why do designers use pop up windows rather than embed their content in their main home page. I have never understood this. It is a little annoying having to close two windows when you exit the site.

Also, on kind of the same note, why do some sites have redundant splash pages which only say "Click to enter"?

View Replies !    View Related
Three Popup Windows
hi all in the hall, UltrSck guys and aliens

i apologize i couldn't find a clear answer in the forums so i may ask:

i'm looking for the correct javascript code to open (at the same time) three browser (popup) windows ... one on the left, one on the center one on the right...

k thanks bye all in the hall

renato

View Replies !    View Related
Fscommand Popup Windows
ok im having trouble making this script work:
<HTML>
<HEAD>
<TITLE>stuff</TITLE>
</HEAD>

<script LANGUAGE="JavaScript">
<!-- Hide

function stuff_DoFSCommand(command, args)
{
if ( command == "this1" )
{
myWin=window.open("", "Click_Image_to_Close_Window", "width=480,height=326,status=no,toolbar=no,menubar =no,,scrollbars=no");
myWin.document.open();
myWin.document.write("<html><head><title>Click Image to Close Window");
myWin.document.write("</title></head><body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 link=#000000>");
myWin.document.write("<center><a href='javascript:close()'>");
myWin.document.write(args);
myWin.document.write("</a>");
myWin.document.write("</font></center>");
myWin.document.write("</body></html>");
myWin.document.close();
}
}
// done hiding -->
</script>

<script LANGUAGE="VBScript">
<!--
Sub stuff_FSCommand(ByVal command, ByVal args)
call stuff_DoFSCommand(command, args)
end sub
// done hiding -->
</script>

<BODY bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<OBJECT WIDTH=764 HEIGHT=548 ID="stuff">
<PARAM NAME=movie VALUE="stuff.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="stuff.swf" name="stuff" quality=high bgcolor=#FFFFFF WIDTH=764 HEIGHT=548></EMBED>
</OBJECT>
</BODY>
</HTML>

As you can see all the movie and ID info work
in the args field(whatever u call it) is:
<img src="images/Untitled-26.jpg" border=1><br>

i have seen other ways to make pop up windows
and this is the best way for me in this situation cause i dun wanna make an html file for every image,
and right now i have the entire javascript part as a JS command in a flash getURL command (takes up too much space) so can any1 help me make this work?

p.s. i have double checked that the fs command line is this1

View Replies !    View Related
Javascript Popup Windows.... Help
I have gotten several reccomendations on how to make a javascript popup window from a button within flash 5 but I can't seem to work it out. I keep getting a script error.
Can anyone tell me what I have overlooked?


in the html that runs the flash movie I placed:

<SCRIPT LANGUAGE="javascript">
function newWindow(url,name,features){
var newWin = window.open(url,name,features);
}
</script>

and on the button in the flash movie I placed:

on (release) {
getURL (javascript:newWindow('test.html','newWin','height =200,width=400,toolbar=0,menubar=0,location=0,scro llbars=0,resizable=0'), _blank, "POST");
}

I tried this several other ways as well but nothing has given me any indications of the problem

I'd appreciate any suggestions.

View Replies !    View Related
Java Popup Two Windows?
Hi
When I use a javescript popup window two windows open, a standard ie window and the popup I want. Can anyone tell me how I make it so just one window opens please?

Thanks,

View Replies !    View Related
Help With Browser Popup Windows
Hello,
Thank you in advance for your help. I have posted on this board before and I received valuable advise from very talented flash developers, so here I go again:
I am not very experienced with java (or html for that matter+I don't have dreamweaver) and I am having difficulties creating multiple pop-up windows. Here is my specific problem:

-I have already created a continuous motion scrollbar that scrolls my movieclip (a series of thumnail photos)across the stage.
-I have put invisible buttons over each photo with the actions--on release, get url....
Now what????
-I want my site to have small thumnails that when you click on them brings up an enlargement of the thumnail in it's own little browser window (with no address bar ect.)
*I don't want to use loadmovie command
**Also, how do I control where the popup window appears...


-I have found many tutorials, but they all seem to use different javascript and none of them show the code that I need to insert into my main movie html to allow it to support the multiple popup windows...
--Sorry for the long explanation, just wanted to be sure to explain my problem fully.
(Can you direct me to any good, thourough tuturials on this subject?)

thanks a bunch,
Lex
http://www.maczkarts.com

View Replies !    View Related
Positioning Popup Windows?
hi

im wondering if you can specify where you want a popup window to appear on the screen i.e. positioning it. im using this script on the button:

on (press) {
getURL ("javascript:launchwin('http://www.xyi.uk.com/Bafta/breadnroses/trailers/choose.html' , 'newwindow' , 'height=195,width=195' , 'noresize')");
}

thanks in advance

View Replies !    View Related
Popup Windows In Flash 5
I am looking for ideas for actionscript to call multiple customizable pop-up windows in Flash 5 from a mouse action. Are there any tutorials to point me in the right direction?

View Replies !    View Related
Serious Help On Popup Windows Required
Hi all,

I have a flash movie with lots of buttons in it, each button calls a straight HTML page using the _blank method. Fine, but what I realy need help with is making each HTML page open in a popup window of a certain dimension with scrollbars. I know I have to use javascript in each of the HTML pages and an action script string on each button, but what I have been using is not working!!

This is the code on the button:
javascript: newwindow('it/Animated_Emails.htm','newwin','height=500,width=40 0,menubar=0,location=0,scrollbars=1,toolbar=0')

And this is in the HEAD of the Animated_Emails.htm page:
<script language="javascript">
<!--//
function newWindow(loc,name,params){
var newWin = window.open(loc,name,params);
}
//-->
</script>

Could some kind sole please tell me what is wrong as clicking on the button in the movie does nothing when published.

Si

View Replies !    View Related
Javascript Popup Windows
not having a good time at the moment...

need a javascript popup window to open on a button press, have a button in a flash movie with the code on it:

on (release) {
getURL ("JavaScriptopup();");
}

on in the html file which flash makes i have put this code in between the head tags:

<script language="javascript">
function popup(){
newWin=window.open("popup.html", "pop up window from flash", "height=400, width=400");
}
</script>

i keep on getting invalid argument..have no idea what that is

cheers helpers

View Replies !    View Related
Resizing Popup Windows
i've seen a cool efect on: http://devlab.swift3d.com/

click on DEVLAB and than select the fourth icon.

when loading the movie, the browser-window changes it'd dimensions.

how can i do this?

View Replies !    View Related
Targetting Popup Windows
I am opening one popup window using a javaScript from the main window, and opening a second popup window using a java script from the first popup window.

These two popup windows have their respective names which are:win1 and win2. Win1 has a flash movie wich has a button linking to a certain page called content1.htm.

What I am trying to do is to open content1.htm inside the second popup window named "win2". I am trying to use the target command in Flash, but it is not working. On the field "window" I write "win2" (as usualy I do to target the window I want to). But, action script doesn't seem to recognize my window named "win2".

What should I do?

Please I need help!

View Replies !    View Related
Dreamweaver & Popup Windows
Is there a way to add a popwindow/menu in dreamweaver instead of having to import it from fireworks or any other software?

View Replies !    View Related
PopUp Windows On Set Coordinates
Howdy!
I'm calling up images from my server through buttons using the following code. They appear CENTERED
in java windows...
___________________________________
on (release) { getURL("javascript:fensterauf('Market.jpg','portfo lioWin1',323,480)");
}

View Replies !    View Related
Sizing Popup Windows?
Ok, i have a fla embedded in an html file. both are size at 1024 x 768. I want the window to size "full screen." do i need to modify the fla and the html? if so, how do i do that?
thanks

View Replies !    View Related
Popup Windows - Flash 5
On my Flash Project I have about 11 links to be opened in new windows. I have put the following code in Flash:
onRelease {
get URL (javascript : pop(); ");
}
And altered the HTML page with Javascript:
function pop()
window.open...
But...
How can I distinguish in Flash (with Actionscript) and the corresponding HTML page (with Javascript) the opening of the pages? I am using 4 different Javascript functions to do it (pop, newwindow, onClick and openwindow). Currently, with these 4 functions I can only open 4 links, there are still 7 missing :-). Probably I only need one function with variables to do it right... Can anyone help me please?

View Replies !    View Related
Popup Windows In Hotmail
I have an swf that I send linked to an email.The file is supposed to play and then launch a popup window. This works great except when it is viewed in Hotmail. Does anyone know how to get around this? It doesnt seem to like Java.
I have tried:

javascript:NewWindow=window.open('targetname.php', 'newWin','width=600,height=400,left=0,top=0,toolba r=No,location=No,scrollbars=No,status=No,resizable =Yes,fullscreen=No');

Paul

View Replies !    View Related
Popup Windows From Flash?
Hi, does anybody know a way to create a popup browser window, i.e. without toolbar, menubar, addressbar from Flash? getURL() creates a full-featured window, and I nead a "clean" one :0.

Please, help!

View Replies !    View Related
Popup Windows Solved
Ok, for those who don't know HOW to make a popup window, then just make a regular link, but instead of the url type this:


Code:
javascript: window.open('SOMETHING.HTML', 'TITLE', 'width=300,height=200')
Then, for those who get the problem with the main window turning into something that says:

[ object ]

and the window opens somewhere, this is the way to solve it!

instead of:

javascript: window.open(....

use:


Code:
javascript:void window.open(....
simple as that! Nothing fancy even needed!

View Replies !    View Related
Dynamic JPG Popup Windows
Hey all;

I would like to have pop-up windows that display a larger version of a jpg image, when the original thumbnail is clicked on. I know I can use the getURL() function to create this, but what I would really like is to not have to create a seperate HTML page for each image. I would like the popup to dynamically load the appropriate image when the thumbnail is clicked.

The site where the thumbnails are currently is:
jerseyroots.com Just click on the part of New Jersey labeled Photo Gallery (must roll over state outline). Then choose a date to see images from that concert.

As you can see, I have everything set up and ready to add the popups. What I would ideally like to be able to do is simply upload the larger JPG files and have them dynamically load into the popup depending on which image is selected.

Any help on this is very much appreciated. Thanks to all in advance.

View Replies !    View Related
Centred Popup Windows
hi all,
i have an index page with a slideout menu which calls pages which contain gallery swfs. what i want is for the swf to load into a popup window which will then close when the next section is chosen.

this is the page at the moment. http://www.craigcahillphotography.com.au

any help appreciated.

ozdude

View Replies !    View Related
Javascript? Popup Windows?
ive tried several different scripts.. i cant get any of them to work.
i have a link or button in flash 5 i want to launch a browser window,
sized, no tool bars just scrolling. anyone please????

jason

View Replies !    View Related
PopUp Windows From Flash
I am redoing a website to include PopUps. The splash page is HTML. The link launches a new window that contains the Flash site. From the Flash site, I need to make some popup windows for some of the images. I can control the size of the new HTML window with onload commands. I need to turn everything off except the title bar. Can I do this from Flash? Can I reference the Javascript from the splash page via Flash? The website link is http://www.alienartstattoo.com
The owner wants some of the more intricate tattoos to be opened in popups so that they can be seen more clearly. I have not found anything that works so far. All help is appreciated. Not to be picky, but could any information refer to the pages (splash, flash, popup) just so I don't have to repost for clarification. I basically want the popup windows to have the same feel as the window that houses the Flash site. Thanks for all help.

View Replies !    View Related
Moveable Popup Windows
Hi, I'm not sure if this is a newbie question or not (probably is)

But I have a flash movie that has popup windows, (from symbol not javascript type) and I was wondering if someone could tell me or point me to a place that shows how to make it so that the popup window can be moved around stuff.

Thanks,

Bill D.

View Replies !    View Related
Popup Windows In Flash
Hi,

I have a flash movie, and within the movie I have buttons. When the user pushes the button I want a new window to open with a specific url. The flash is embedded in a jsp page. Can someone please help me?? Thanks in advance!

EDIT:
Sorry, I didn't make myself clear enough...the new window that I want to open needs to be a specific size.

View Replies !    View Related
Questions About Popup Windows
Not really sure if what I want to do is actually popup windows or perhaps called something else. I'm new to Flash with a beginners course under my belt and attempting to build a site (slowly).

Basically I have these two images. One will display information, perhaps submenus, and video. The other will be used for site navigation. When the site loads I want both of these images in seperate explorer / netscape windows. One will need to be to the right (and I'm not sure how specific I can be about where it can sit on the screen). The other imagine, another seperate browser window to the left. I also want these browser windows to scale to the size of the image. Side note - once i can get those two things working correct, I'd like to use the (ideally the center of) main browser window for displaying other things.

Now the questions:
1-Which (I'm assuming actionscript) commands should I read up on regarding the creation and control of these extra browser windows.
2-Should these two images reside on the main scene or put them in their own scene. Not sure if that matters or will make a difference.

Any other suggestions would be greatly appreciated. I'm not necessarily looking for a tutorial here. Only some places I can start to understand how to implement this idea.

Thanks
Stuart

View Replies !    View Related
Popup Windows - Multiple
can anyone help me!

I need to have 4 popup window launching from the same movie

I have figured out how to do one, but am not sure how to enable 4 separate popups to launch from the same movie

thanks

ravenotice

View Replies !    View Related
Controling Other Windows From Popup
Hello,

I have a popup window that has a Flash Music Player in it. In the music player I have a button that I would like to have tell the main window of my website to go to another URL. Should "_parent" do it? If not, what do I need to do?

Thanks,
Josh

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved