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




Animating Window Pop UP ? Actionscript Or Java



http://www.dunun.com/

If you go there, click panorama, and click on the december 25, and click the link that says " websites " in that news entry, how does he/she make the pop up window animatie the width and height ? (, HOW !!!!!! lol, teach me !!!!!!!!!!!111



Ultrashock Forums > Flash > ActionScript
Posted on: 2004-01-23


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Actionscript + Java Popup Window From XML
Im confused as to how I can achieve a pop up from Flash using my XML data.

As it stands, my XML contains many URLs, so I have them launching in a new window because it is simple for now.

But I need to have a javascript that will incorporate the nodes/URLs being pushed by my Actionscript. Its not just as simple as adding one URL address because it needs to load many. All scripts i have seen just handle single URL popups.

I wish there was just ONE script for popups instead of multiple scripts for multiple pages!!!

Ideas Anyone?


See it live @ http://ainternationalwines.com and go to "Our Wines" tab and select a wine to view.


------>>>


tn_group.tn._visible = false;
tn_group.setMask( tn_group_area );
var total:Number = filename_list.length;
var distance_y:Number = tn_group.tn._height + 9;
var current:Number = 0;
var i:Number = 0;

for( ; i < total; i++ )
{
tn_group.tn.duplicateMovieClip("tn"+i, i);
tn_group["tn"+i].preloader._width = 0;
tn_group["tn"+i].tn_button._visible = false;
tn_group["tn"+i].txt = (i+1);
tn_group["tn"+i].tn_no = i;
tn_group["tn"+i]._y = i * distance_y;

tn_group["tn"+i].fm_title.text = title_list;
tn_group["tn"+i].description.text = description_list;
tn_group["tn"+i].price.text = price_list;
tn_group["tn"+i].code.text = code_list;

tn_group["tn"+i].tn_button.onRollOver = function()
{
this._parent.txt = "view info";
}
tn_group["tn"+i].tn_button.onRollOut = function()
{
this._parent.txt = "";
}
tn_group["tn"+i].tn_button.onRelease = function()
{
getURL(url_list[this._parent.tn_no], "_blank");
}
}































Edited: 11/11/2008 at 08:12:21 PM by porchick

Animating JAVA Program?
I would like to create an animated version of a java program (it is a searching program, and I would like to show the steps the algorithm goes through to determine whether or not the pattern is in the text). I was wondering if there was any easy way to convert java code to actionscript so that it may be animated in flash. any help would be greatly appreciated.

Java Window
Anyone know how to call files off the server with buttons in a flash movie?
Trying to call up content (jpeg/quicktime/swf) from my FTP to open in a separate 250 X 300 pixel pop up window from flash. I have seen sites that do this and it looks so great and allows the site to run better (less initial loading).

Best Regards,
Kevin Quatman

Java POP Up Window
I know many people have asked this before but i am struggling to do it, i need to pop up a HTML window from a flash button size 430 by 330, scrolebars and stus bar
aswell hope someone can help me its doing my head in.

Cheers Evy

Java Window Within A Java Window
Hi all

I have an html page that opens a java chromeless window with a swf in. That swf then needs to open another java window, seperatly. But I can only get the second swf to open in the same java window as the first.

This is the script i am using to generate the first java window.

on (release) {
getURL ("javascript:NewWindow=window.open('gallery.html', 'NewWindow','width=600,height=365,left=325,top=300 ,toolbar=No,location=No,scrollbars=No,status=No,re sizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}

Thanks

The Java Window
hi every body,
iam a new member ship in the best board (flash kit)<--- he is realy happy...
i have a question in the action scripts...
how can i put a close button in my movie ,i want a java advertisement window !!!
because i have now an important project , and i want the button close all the movie !!
sorry a bout my language , because i dont wite english very will
can you help me !!

?new Window With Java
I'm opening .jpg pictures in a new window and I modify the window with
javascript for exemple:

getURL("javascript:n_name = window.open('photo1.jpg','new_name1','scrollbars=n o,resizable=yes,toolbar=no,width=680,height=447'); void(0);");
}

its working but I get a few pixels wide white borderline on the left side and on the top. Does anybody know why?

?new Window With Java
I'm opening .jpg pictures in a new window and I modify the window with
javascript for exemple:

getURL("javascript:n_name = window.open('photo1.jpg','new_name1','scrollbars=n o,resizable=yes,toolbar=no,width=680,height=447'); void(0);");
}

its working but I get a few pixels wide white borderline on the left side and on the top. Does anybody know why?

Centre Java Window?
I have popup windows which contain html. thery are called up from flash with no problem. I would like to have this pop up to appear dead centre. so i guess the javascript would have to calculate the window size and the screen size. Any body know how this is done?

ta!

A Way To Open New Window Without Java?
Does anyone know if there's some way to open a new window in flash without using javascript? If so, could you include how I could control the dimensions of the window?

My url is being forwarded into a frame to keep my url name up when you visit my site and I don't know how to reference my javascript from within the frame... If there's some way to do this, I would love to hear about it!

Thanks tenfold in Advance.

Java Pop Up Window Will Not Close?
I am using java in flash to make a window without toolbars and other variables and

i got the script from flash-db popup generator

the window opens fine but the close command given isn't working.....


This is the open commandn (release) {
getURL ("javascripthoto1=window.open('http://blahblah.com/photo1.html','photo1','width=400,height=300,left=0 ,top=0,toolbar=No,location=No,scrollbars=No,status =No,resizable=No,fullscreen=No'); photo1.focus(); void(0);");
}

and here is the close window commandn (release) {
getURL ("javascripthoto1.close(); void(0);");
}

is there any variables that need to be set to the geturl command on the close command???

why not work???


argg


please help me

Popup Window Without Java
Hi!

Thanks for reading this.

I know there are several ways of making a popup win where the actionscript call upon a javascript. I have tried It and there are no problem. But now the BIG Question:

Is it possible to make a popup-window WITHOUT Javascript. I have asked before but everyone seams to forget the point that there should be no work with editing the html-javascript which I always do a long time after I have made the Flash Movie.(And by then I may have forgotten about the popup-button..)

So, once more: NO JAVA! (Sorry for the repeating...)

Thank you for answering this if it´s not to stupid. May be it is impossible?

peace
ikaros

Java Window From Flash MX
I would like to launch a java pop-up window with a quicktime playing in it. I know how to do it when launching the window from a HTML page, but how do I launch the pop-up java page from within FlashMX and by using a button within FlashMX? My client really wants to see this happen without going to a HTML page to launch the Quicktime move. Hope someone knows the code. Thanks!

Java Script For Pop-up Window
Please any1 can help with java scripting for pop-up window without tool bar and scroll bar? The script i did doesn work for me, it only works localy but not uploaded. Somewhere im doing mistake but cant find where. Im still novice in webdesigning, so it looks i cant manage on my own. My both files r in flash. Thank you

Java Popup Window
Hi

I've used the java popup code generator from flash-db.com (couldnt use their forum for some reason). When i put the code into my flash movie, it generates the popop just fine, but it also changes the orginal page where the button was - just brings up [object] and nothing else. Any idea how to stop it from doing this?

Thanks in advance

Java Pop Up Window And Flash
Hello all,

I am designing a website at the moment and I am using flash. I need to make java pop up window so that when you click on a button a new window with a spesific size should be opened but I dont know how to do that.

Ps. I m using flash 5,

Thanks a lot...

Java Window Code ?
I have a button and when it is clicked it loads a java window. In the window I have a close button that I want to close the window when done. Can someone tell me what the code should be for this window to close? Someone told me to use an Fscommand, but I can't get it right. Your help is appreciated.

thanks,

Pop Up Window, Java Script
on (release) {
getURL("javascriptpenNewWindow('phoenix.html','t hewin','height=400,width=360,resizable=no,toolbar= no,scrollbars=no') ");
}

I have put this on a button to open a new window with my site in it. do you know why it isnt working. I have used this method before but cant open my old file to copy it and use it again.
Its kind of working, a window pops up but dissapears straight away.

[F8] New Window With Java Controls
Is there a way to make flash open a new window but with using javascript options like

window size
resizable = no


and what not.

???

Pop Up Window And Its Java Script
Hi. I have a trouble with completing my site where you are supposed to be able to view a pop-up window by clicking a button on that site. I just went to
http://www.kirupa.com/developer/flas...up_window2.htm

and tried to learn how to create a pop-up window in Flash.
I did create something in Flash and broght the html file into DreamWeaver and added JavaScript Codes which launches a pop-up window by clicking a particular button that I just created in Flash.
When I review the html file in Safari and try to launch the pop-up window, there is always an error message saying

"Safari can’t use JavaScript for this action.
Safari can’t run the script “openNewWindow('clip.html','clipwindow','width=400 ,height=316,toolbar=no,scrollbars=no')” because Safari doesn’t allow JavaScript to be used in this way."

Does anybody know what I may need to fix in order to make my pop-up wondow file work in a browser?

Any Comment would be appreciated.
I am using Flash MX 2004 on Mac OS-X.

Opening New Window Whitout Using Java
hello

has aneyone of u flashers

a solution on how to get an new window opened whitout the use of an external javascript.....

(from whitin a flash page...

thnx

Get Url With JAVA, Results In Superfluous Window
I use the get url command to load some movies in my portfolio, I want the movies to open in a blank window WITHOUT buttons or favorites, just a single bar on the top,
wich FINALY succeeded. This the script I used;
<html>
<head>
<title>XSite</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>

<body bgcolor="#666666" onLoad="MM_openBrWindow('site3.swf','XSite','width =850,height=520')">
</body>
</html>

BUT
everything works fine ACCEPT
it doesn't opens just that partyicular window,
IT ALSO OPENS ANOTHER BLANK WINDOW,
how do I get rid of that blank empty window???????????

check it; http://users.skynet.be/digizone
check portfolio

Thanks for any help

How To Use Java Code Open New Window?
can anybody paste me the code and tell me how to put it in html? thanks

Java Script 4 Clsoe Window
i want 2 close my browser screen with some check. and i have jave script for close windows. can i call java script or any other method to close my browser with in flash movie file

thanx

Java Script 4 Clsoe Window
I want 2 close my browser screen with some check. and i have jave script for close windows. can i call java script or any other method to close my browser with in flash movie file

if any example have then plz send.
at mmwaqas@yahoo.com

Quick Java Pop Up Window Question
I'm sure someone here can answer this. I have this picture on an html page. Now when you click on it, what's the code to have a window pop up at like a certain size. Say 300 x 300 with no resizing and any other options?


Thanks ya'll



Double D's

Centering My Java Pop-Up HTML Window
Guys,

Check out the html code on, http://www.vmvisions.com/layout

How do I impement the automatic center for the popup window?
Someone wrote one time saying to use the following code, but I'm not sure how/where to do so.

Here it goes:

in window.open()

function setting left parameter to:

left=(screen.width-wid)/2
where wid is width of window you are opening, and setting top parameter to:

top=(screen.height-hei)/2

where hei is height of popup you are opening... you can do centering later, too, with:

windowName.moveTo((screen.width-wid)/2,(screen.height-hei)/2);

Whats the verdict? Help a guy out.

Thanks,
Marc

How Do I Position Java-popup Window.
Now that I know how to create a Javascript pop-up window, how do I get the pop window with no scrollbars, to be centered in the middle of the screen. It keeps defaulting up in the upper left hand corner.

I think I'm leaving out more scripting that should be added to the actionscript button.

B]What Do you Think?[/b]

Popup Window In Flash Without Java
Hi!

I know there is several ways of creating popup-windows with script in html. But now - in 2002 and Flash MX - perhaps it is possible to make popups without html? Is it possible to controll the size of the popupwindow like it is in java?



Let`s not go to war...
ikaros

Pop Up Blockers Stoping My Java Pop Up Window
i have a java script pop up window...when a user clicks on
a button which opens this

www.angelfire.com/ga4/cds/kt.html

when they click on the button it will...open a java script
pop up window...with the item displayed..( which is a tag for clothing)

how can i get ...the pop up past the pop up blockers.???

Open New Window, Specify Size. Java?
Hey.
I need to open a URL in a new window from flash. I can do that. But i need to define the size the window opens at.

i can do this in html, with java stuff, but how can I do it in flash??

It needs to open a flash page at a certain size.


Thanks

Java Script Pop Up Window From Flash
Good evening.. I have thumbnails in a .swf file which are supposed to open the larger files when clicked, external java script popups. I have tried the following code but it didn't work. I'm using flash mx 2004 and flash player 6 for publish settings but the code I'm using is for flash 5. (or the website I got it from says so)

Can anyone help me with this code? It's kinda urgent..Thanks


Code:
on (release) {
getURL ("javascript:NewWindow=window.open('http://www.geocities.com/darkfaery46/pain.jpg','Diva Estetik','width=533,height=800,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); screen_height = window.screen.availHeight; screen_width = window.screen.availWidth; left_point = parseInt(screen_width/2)-(533/2); top_point = parseInt(screen_height/2)-(800/2); setTimeout('NewWindow.moveTo(left_point,top_point)',100); void(0);");
}

Maxamize Window W/java Script
Can anyone tell me how or send along the code so that I can have a java window open up, maxamize the screen and keep the content centered in the screen?

Thanks again all,

Java POP Up, Window Alignment, Odd Loading
Hi guys

http://www.actionscript.org/forums/s...ght=javascript

at this URL i got this code
on (release) {
getURL("javascript:var Name=window.open('http://www.macromedia.com', Name,'height=600,width=800,toolbar=no,scrollbars=n o');");
}

Wich is GREAT! it works perfectly on a AppleMac. But when i use this code on my PC, tested on XP and VISTA through explorer, then the pop up only works once. I have this code 6 times on 6 buttons so it only wants to open one video only. then when i click again on another button to open another window then it doesnt work. So its purely a browser thing then...

Then also i have a problem with browsing in Firefox. the whole flashfile is aligned to the Right in firefox (althought it has been alighned to the center) and in Firefox it aligns to the right..... In the Safari and Explorer it displays at center wich is correct. On PC Firefox the videos pop up as they should. They dont have the pop up problem that Explorer has,but then the videos dont load.

Is this script good for all browsers or do you reccommend a different script?

Also the file loads very strangely. Is it recommended to preload flash sites?
Thanks so much

Java Scrip-open New Window
i did the open new window tutorial with java script
but it seems it doesnt work does anyone know why?

Opening Multiple New Window With Java From Swf
hello everybody!

it is working which i found in kirupa.com

here is the codes

in sfw

}
on (release)
{
getURL("javascript:Launch('http://www.omerdemir.org/send.html') )");

in html

<!-- Begin
function Launch(newwindow1) {
OpenWin = this.open(newwindow1, "KirupaStyle", "toolbar=no,menubar=no,location=no,scrollbars=no,r esizable=yes,width=750,height=250");
}
// End -->

----------

but i need that to open multiple new and customizable window from sfw..
i am not a web developer..maybe solutions is easy but i cant found..what can i do to solutions for this prb..

is there anybody to help me??!

thanks a lot

Java Script To Open New Window
Hi everyone...i m writing to this post again cos i have some problems...with tutorial...

Opening a New Browser Window in Flash

well its not that much of a problem...but what bodders me is that when i use this code...

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function Launch(page) {
OpenWin = this.open(page, "KirupaStyle", "toolbar=no,menubar=no,location=no,scrollbars=no,r esizable=yes,width=550,height=250");
}
// End -->
</SCRIPT>

all windows that open are the same size...
What i would like to do is to have different windows different sizes...so i would really be thankfull if someone could help me with that...i tried copy this code as many windows i use and changed its sizes but it just used the last size i wrote...

Java Scrip-open New Window
i did the open new window tutorial with java script
but it seems it doesnt work does anyone know why?

New Window Java Script With Flash
Okay i think i submitted this once but im really fustrated right now and im tired of looking of this simple script anyways. I need to know what the script is for opening new window. i have for my flash button javascript:downloads() now whats the rest of it that i put in the html i need the high width and so on i messed up on my html and had to redo it now i forgot the rest of this script. thanks hope this make sence its 3:16 am and im beat. thanks..

Java Script Open New Window
Hi all, I know i submitted this question once and i got the answer but for some reason its not working. ok this is what i got.

I have this index page all made of flash. One of the Flash buttons "when clicked it opens a newpage that has some songs on it". this new page is also done with flash, "its a flash media player i made" I must be doing something wrong cause it doesnt want to open a new page when i click on the link. i have tried doing it all on my HD in the same directory and on my website in the same directory. This is what i got;

for the flash button i put this:

on(release){
getURL("javascript:popUp('player.html')");
}

On the HTML PAGE that has this flash media player i made that i want to open when clicking the flash link i put this at the <HEAD> of the HTML has this:
<script language="javascript">

  function popUp(url){
    popUpWindow=window.open(url,null,"width=500,height=400")
    popUpWindow.focus()

}
</script>

Im sure its something really simple, i just over looked some minor detail.. Anyways I hope someone can help me..
Thanks

Close Window (java Script)
I have created an IBT (internet based training material) that opens in a seperate browser window. Within the IBT there is an "exit" button. When the user clicks on the exit button I would like the browser window to close. I can do this in Director, but how do you do it in Flash? Thanks for your help.
--sheri

Pleeease (Java-popUp-window-borders))
I know there are several posts here about this java-function window.open; but with none of them i get rid of the broders around the swf embedded in the html.
You know: the window.open() function with all its parameters is between the head and body tag of the html-file that embeds my swf, everything works fine, but I have borders on the left side of the window, so it seems the swf is smaller than the popUpWindow.
Help me please, i´m going crazy!!!!
(I´m using mac with ie)

Open New Window Automatically When Closing Old? (java)
when closing a window I want a new window to pop up automatically. Anybody got links to an example?

Close Window Java Makes Mac Crash, WHY
Hey guys,

Here's my dilemma. I'm working on a website, and I keep having this problem. I have popup flash windows whick all have a close button. But when used on a Mac, Explorer or Netscape tends to crash. This does not happen every time you clikc on it, but most of the time, I can not surf the site for more thatn minutes without it happening at least once. But it works perfectly on a PC, why the hell does it crash on Mac.

Here is the Java code attached to the button.

on (release) {
getURL ("javascript:window.close();");
fscommand ("quit");
}

here is a link to the page http://www.glsdezign.com/new_site/index.html

If anyone can help, please do, I can't figure it out
Thanks

Close Window Java Makes Man Crash, WHY
Hey guys,

Here's my dilemma. I'm working on a website, and I keep having this problem. I have popup flash windows whick all have a close button. But when used on a Mac, Explorer or Netscape tends to crash. This does not happen every time you clikc on it, but most of the time, I can not surf the site for more thatn minutes without it happening at least once. But it works perfectly on a PC, why the hell does it crash on Mac.

Here is the Java code attached to the button.

on (release) {
getURL ("javascript:window.close();");
fscommand ("quit");
}

here is a link to the page http://www.glsdezign.com/new_site/index.html

If anyone can help, please do, I can't figure it out
Thanks

Close Window Java Makes Mac Crash, WHY
Hey guys,

Here's my dilemma. I'm working on a website, and I keep having this problem. I have popup flash windows whick all have a close button. But when used on a Mac, Explorer or Netscape tends to crash. This does not happen every time you clikc on it, but most of the time, I can not surf the site for more thatn minutes without it happening at least once. But it works perfectly on a PC, why the hell does it crash on Mac.

Here is the Java code attached to the button.

on (release) {
getURL ("JavaScript:window.close();");
fscommand ("quit");
}

here is a link to the page http://www.glsdezign.com/new_site/index.html

If anyone can help, please do, I can't figure it out
Thanks

Java PopUp Window Question - Worth $10?
Hi everybody: I'll pay via paypal $10 if you can answer this for me. There's a great JavaScript tutorial on Flashkit that explains how to get a Flash button to pop up in a customized browser window. The only problem is the code is designed for one button per page and doesn't show how to put several programmed buttons on one page that I need.

Does anyone know the trick on how to do this? Here is the simple code he provided:

Assign to button, then generate an HTML page with Flash:

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

Next put this code (there was an automatic code genrator available that produced this code based on my specifications for the customized window) in the head tag of the HTML page you just created:

<SCRIPT LANGUAGE="JavaScript">
function popup() {
window.open('photos/kristymcnichol_wayuare.html','','toolbar=no,locati on=no,directories=no,status=no,menubar=no,scrollba rs=no,resizable=no,width=267,height=480,left=0,top =1');
}
</script>
**********************

This code is designed for one button per page, and I don't know what I need to do to make it so a new button on the page will open up another web page in the customized window. Can anyone help? If so, I'll send you $10.00 via paypal.

Java PopUp Window Code Error. Help
Hey everyone. I am having a problem with the java code for the simple old pop up window. I enter it in and it says it's ok, but when I test it, it opens up the file & a seperate window that is all white that says [object] in it.

Here is the code I am using:

on (release) {
getURL ("javascript:NewWindow=window.open ('http://www.maykreal.com/Organic_Technology.html','newWin02','width=1024,he ight=768,left=0,top=0,toolbar=No,location=No,scrol lbars=no,status=No,resizable=no,fullscreen=no'); NewWindow.focus(); void(0);");
}

Also tried this code but it just gives me a syntax error.

on(release){
getUrl("java script:window.open('http://www.maykreal.com/Test. html','newwindow','width=420,height=420,top=0,left
=0'); void(0);")
}


Help!!!

[CS3] Open New Browser Window Java Problem
I have to open a an fla inside an html page in a new window. The new window needs to have no scrolls and no resize. I see some other scripts for this around but all are pre Flash 8. The explanations of critical code in the other pieces I have found all don't work as when I copy into the AS window I get and " and' make a big difference as you know. I need to know can someone post the code and explain the text in uppercase

actions /button

on (release) {
getURL ("javascript:NewWindow=window.open('SHOULD THIS START WITH HTTP ?../html/identity.html','newWin','width=470,height=245,left = 0,top=0,toolbar=No,location=No,scrollbars=No,statu s=No,resizable=No,fullscreen=No'); void(0);");
}

the path is http://abc.com/folder page is in / and then page.html (correct?)
'newwin' ( do I need to rename?)

What is the java that goes in the bodytag?

any help???
thx

Copyright © 2005-08 www.BigResource.com, All rights reserved