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




PopUp At Framenr



Hello,

What I’m looking for is a popup that appears at the moment the movie reaches a certain frame number.

I’m using “easy Popup Windows 3.0” by shevlin dising that uses the following code.


on (rollOver) {
trace("!!You must publish movie first, then test easyPopup ("+ type +") from a browser!!");
if (type == "basic") {
getURL("javascript:window.open('" add url add "','" add winName add "','width=" add winW add ",height=" add winH add ",top=" add winTop add ",screeny=" add winTop add ",left=" add winLeft add ",screenx=" add winLeft add ",toolbar=" add tools add ",scrollbars=" add scroll add ",resizable=" add resize add ",menubar=" add menu add ",status=" add status add ",directories=" add directory add ",location=" add location add "'); void(0);");
} else if (type == "center") {
getURL("javascript:window.open('" add url add "','" add winName add "','width=" add winW add ",height=" add winH add ",top='+((screen.height/2)-(" add winH/2 add "))+',left='+((screen.width/2)-(" add winW/2 add "))+',toolbar=" add tools add ",scrollbars=" add scroll add ",resizable=" add resize add ",menubar=" add menu add ",status=" add status add ",directories=" add directory add ",location=" add location add "'); void(0);");
} else if (type == "full") {
getURL("javascript:window.open('" add url add "','" add winName add "','screeny=0,screenx=0,fullscreen=yes,outerHeight =' + screen.availHeight + ',outerWidth=' + screen.availWidth); void(0);");
} else {
return;
}
}


Thanx for helping

Greeting Denjor



FlashKit > Flash Help > Flash MX
Posted on: 02-11-2004, 09:34 AM


View Complete Forum Thread with Replies

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

PopUp Window Help - Toggle Control Between Popup And Stage?
How do you toggle control between a popup window and the main timeline?

I have a button that opens up a pop up window. The popup window is going to contain some text instructions. I would like to have the text instructions visible and allow the user to control a movie clip on the stage. Unfortunately, right now once the popup window appears, the user can no longer control the movie clip on the stage until they close the popup. I'm using MX 2004.

Here is the code I have on my button - this creates the popup window (I got this from some other postings):

on (press) {
import mx.containers.Window;
var win = mx.managers.PopUpManager.createPopUp(_root, Window, true);
win.setSize(375, 262);
win.closeButton = true;
win.contentPath = 'text';
win.click = function() {
this.removeEventListener("click", this);
this.deletePopUp();
};
win.addEventListener("click", win);
}

This is my first posting, please let me know if I haven't provided enough information or if I'm going about this completely wrong. My project will not be posted on a website, it needs to be executed off of a CD so that's why I didn't use a getURL().

Popup Window From Flash, Making Everything Load In Just 1 Popup
I have a simple thumbnail gallery in flash.
When a user clicks a thumbnail, I want a popup to appear. I got this far... now for my problem.

Without closing the window that has popped up, if you click another thumbnail, ANOTHER window pops up so I decided to keep the name of the windows the same to prevent this.

Now... when you click on the thumbnails, everything loads in just the one window without popping up a new window everytime you click a thumbnail but... the popup window stays minimized or "behind the main window".....


any help would be appreciated, thank you!

Problems Openin Another Popup From An Existin Popup
helo.....
The first popup window is fine...

but when i use this method again on the swf in the popup to open another popup... it fail... y is this so????
Thankz alot for spendin time to go thru the script...


Script in flash...
------------------------------------------------------
on (release) {
getURL ("javascriptpenNewWindow('XXX.htm','popuppage',' width=430,height=90,top=0,left=0,scrollbars=no')") ;
}
-----------------------------------------------------
Script in html...
-----------------------------------------------------
<script language="JavaScript">
var newWindow
function openNewWindow(URLtoOpen, windowName, windowFeatures) {

newWindow=window.open(URLtoOpen, windowName,width=400,height=160, windowFeatures);
}
var height = window.screen.availHeight;
var width = window.screen.availWidth;
window.moveTo((width /2)-400,(height /2)-200);

</script>
------------------------------------------------------

Load Jpg Into Popup, Size Of Popup Based On Jpg?
How do I dynamically load an external jpg into a new popup, but with the popup size based of those of the jpg, so as to leave a 30 pixel border around the jpg???

I also want to dynamically put a short description of the photograph at the bottom.

Please help!!!

PopUp Window Gets Blocked By Popup Blockers
Flash CS3
Actionscript 2.0

I have text on the flash website that is being called from an external .txt file. The problem i'm having is that any links called from that .txt file is blocked by popup blockers upon clicking on them.

I have another popup window in the flash itself from on of the navigation buttons, and that one does not get blocked... but the ones in the .txt files do.

However with the design and the content of the flash, I really need that link to be in the .txt file.

Not really sure how i should go about resolving this.

Any and all help will be greatly appreciated, thank you

Popup Window From Flash, But Have Only 1 Popup
I have a simple thumbnail gallery in flash.
When a user clicks a thumbnail, I want a popup to appear. I got this far... now for my problem.

Without closing the window that has popped up, if you click another thumbnail, ANOTHER window pops up so I decided to keep the name of the windows the same to prevent this.

Now... when you click on the thumbnails, everything loads in just the one window without popping up a new window everytime you click a thumbnail but... the popup window stays minimized or "behind the main window".....


any help would be appreciated, thank you!

Firefox Saying Popup Block : But Its Not Popup
I've made simple flash document and added invisible hotspot to link to a website and put following code


Code:

on(press) {
getURL("http://www.site.net",
_blank, "POST");
}



when link is clicked firefox display message Popup blocked. I've seen many other site in which firefox don't display any popup message when we click in link how its possible? i've visited and clicked cnet.com flash ad which opens in new tab without any message. i want to make like that.

Next is my flash is not looping in firefox but looping in IE7. I'm using Flash MX 2004.

any suggestion.

thanks.

Openning A Popup From A Popup?
Hi,
I'm able to open a popup from a normal sized window but the code doesn't seem to work in a popup. Why????

This is what I used.

on (release) {
getURL ("javascript:window.open('" add url add "','" add winName add "','width=" add winW add ",height=" add winH add ",top='+((screen.height/2)-(" add winH/2 add "))+',left='+((screen.width/2)-(" add winW/2 add "))+',toolbar=" add tools add ",scrollbars=" add scroll add ",resizable=" add resize add ",menubar=" add menu add ",status=" add status add ",directories=" add directory add ",location=" add location add "'); void(0);");
}

Thanks

POPUP POP-UP Popup Pop-up >>the Easy Way
No scripting, just follow the links and do the tutorial


>center popup
http://www.macromedia.com/exchange/flash/

under the support info link:
Tutorial: http://www.geocities.com/p_shevlin/centerpopuphelp.html

or if you want to stay in tha house
http://www.flashkit.com/movies/Smart...64/index.shtml


[Edited by tputtemans on 10-12-2001 at 01:37 PM]

Popup Winthin A Popup
how do i create a pop up windwo within a popup window?
i used this code for the initial pop up window:

javascriptpenNewWindow('popup.html','thewin','heig ht=250,width=100,toolbar=no,srollbars=yes')



but when i put the same code on the button within that window what ends up happening is that the next movie opens in the same window

please help =)

Launch Popup From One Popup
Hi,

Sorry for this newbie question, but how i can open a new popup from a previous popup? I mean, I launch one popup and then from this popup I need open a new popup.For now the flash popup open the new inside the same window.


Thanks!

Popup Inside A Popup?
Hi.
I'm trying to do some popup windows from flash. Having a small problem.
Trawled the forums for a bit but didn't find anything of use to me.

I have a flash button inside of my main window which opens a popup window just fine. When I put a button inside the popup to try and get it to open yet another popup,
nothing happens. Am using the same function parameters, tried changing the window names and the function name, but it won't do it.

I'm not a flash programmer, so class structures, parent/child stuff etc. defy me.
Is there a simple way to do this?

My code is posted below:

Javascript:

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


<SCRIPT LANGUAGE="JavaScript">
<!--
function openWindow(url, name, w, h) {
popupWin = window.open(url, name,'width=' + w + ',height=' + h);
}

//-->
</SCRIPT>

Actionscript:
on (release) {
getURL("javascript:openNewWindow('http://www.mysite.ca/test.html','window','height=200,width=500,toolbar= no,scrollbars=no')");
}

Any help getting the buttons inside the popup to open another popup
is greatly appreciated!


cheers,

arno

Centre Popup Window / Title Popup Window
Hi

Can anyone help? I would like my popup window to sit centre of the browswer and have a title on the top can I define it within the following actionscript?

on(release){
geturl("javascript:window.open('myfile.html','winO ne','height=400 width=450');void(0)");
}

Thanks ravenotice

Popup?
hmm, how do I make my flash movie "popup" in an own flash standalone-window instead of showing in the the net browser?

If you don`t understand what I am saying take a look at this link http://www.lynweb.no and press the "flash site" button!

Help apreciated)

How To Popup?
Hi guys,
I wonder if someone can help in this..

I need to know how to pop-up a fixed size and controllable browser window from a flash movie.

something i can add to a button in the swf that load a new browser window and i can controll it`s appearance and size just like the "window.open" function in javascript.

thank you very much in advance...

PopUp F#$% Up
Working on a fairly straightforward popup menu. on mouse over the button base, three buttons slide up. fine. now, the problem comes when I try to make the little bleeders actually do something; onRelease and onPress actions are just closing the menu/sending it back to the first keyframe of the menu movie.

Don't know if that makes any sense.

Help appreciated,

Popup
all swish user!!!

i will open a popup window without frames.


please help!!!

thanX
[Edited by darkforcez on 11-03-2001 at 04:18 PM]

More Than One Popup
I had no problem creaing a popup window using Flash 5, but when I try create more than one popup I get error messages on my browser.

Popup
Hiya

For some time I have been trying to find some info on how to create the popup boxes that show up when you mouse over a menu item, as in http://www.flash99good.com/. These follow the mouse pointer within the menu item's range and I think that's great for displaying additional info. Would someone be kind enough to show me some tips on this?

Popup
Hi all,

in flash i need to give a image link, which open in new window with exact width and height. what action i need to
give for a button which sits on thumbnail image.

thanks for your replay.

naushad

Popup New Win
hi all
First of all,I hope you will understand me because I'm french so....
Here is my problem, I have an MC with a variable inside . A loadvariables action at the end of the sequence that fill my variable with a .txt document. In this doc, many links with a HREF..._BLANK command to pop a new window. But I'd like to ha ve a new window without menu, scollbars etc...and with a specific size.
I hope its clear for you.
Thanx for helping me ;-)

Popup
I am trying to build a portfolio via flash projector file. I have all of my audio in individual swf files (have play, pause, stop, rewind). I would like the individual swf files to popup over the main projector when a coresponding button is pressed. Flash keeps trying to load them in the same window as my main projector file. Any suggestions? If not, my main file is going to be huge. Thanks.

Popup HELP
Hi I want to put to make it so that my flash movie pops up when I click a link to it.
Similar to this http://trans9.com/
If u can help thx

Popup
hello,
could you tell me if it's possible to open a popup in flash without embedding in html.
I was going to make one in a mc using blank frames to hide and show - if theres another way please tell.
thankyou for your time -

Help With A Popup
I am using this script in swish and for some reason the toolbars will not show up? I have tested it and everything esle is fine, I also used a diffrent url and same thing no toolbar. Any help would be great.

window.open('https://www.loanupdate.com/lu/borrower/apps/1003/introduction.asp?page=1562','app','width=575,heigh t=625,resizable=yes,scrollbars=yes,toolbar=yes,top ='+((screen.availHeight/2)-(625/2))+',left='+((screen.availWidth/2)-(575/2)));

Popup Help
I am building a portfolio site in which I want the user to click on the thumbnail...then a popup window comes up with fixed dimension, no scrolling, and no toolbar...please help!

Popup
hi
i need to know how to make a popup new window that
pop alone (no buttons), whith flash and frontpage?

Popup Help Please
i need help in making a popup window with my own size can some one help me please

Popup
hi
i would like to learnehow to make apopup movie clipe with out shoing the border around ?
for example a spider walkes around the screen or something...

Popup
Hi

I created a link that will show a popup. I just don't know how to make the pop up open in the center of the page rather than it open up in the bottom right or top left. here is the script i have. What needs to be changed for it to open in the center of the page.
Thanks

getURL("javascript:NewWindow=window.open('index.ht ml','newWin','width=760,height=467,left=,top=,tool bar=No,
location=No,scrollbars=No,status=No,resizable=No,f ullscreen=No')
;%20%20NewWindow.focus();%20%20%20%20%20screen_hei ght%20=%20window.screen.availHeight;%20screen_widt h%20=%20window.screen.availWidth;%20left_point%20= %20parseInt(screen_width/2)-(400/2);%20top_point%20=%20parseInt(screen_height/2)-(300/2);%20setTimeout('NewWindow.moveTo(left_point,top_ point)',100);%20void(0);");

Popup
please help me doing this special popup!someone ...anyone

Popup
hi
i would like to make apopup movie clip that has no border or window around.
i mean something like a spider or something that shows up with out the window .

Popup
Hi guys

How do i create a popup that loads as soon as you type in the address.
i don't want a link that would create a popup, i want it to load by itself.

thanks

Popup
Hi

i am a bit stuck on this popup. I want it to load on it's own as soon as the main page is loaded but i have no idea how to do it. can somebody please help me.

thank you

Popup Help
basically i would like to open a html file as a popup window by clicking on the button in my flash site. I would like the pop up to be set to a smaller size then a regular window so that u can see my site behind it. Is this possible, and if so how would i go about doing it.

Popup...
Hi...
I have a flash button who opens a pop up window, and from that popup window I need to open another exactly the same pop up window but this last window is opened from a loaded swf (loaded in the first popup). It doesent work! Why?
THNX

This Popup
Hi there,

I've been looking for ages for a good popupscript.The script I have works fine on my machine (mac) but seeing it from a pc it get's rejected.

I just recently revisited the site http://www.designchapel.com witch is one off my top favorites:-).The thing I like about his popup.you can ajust the size off the window from it's splash.Then the site keeps holding that size.

Anyone can provide me with a script to accomplish this.Should work for mac and pc.

Big thx in advance,

Grtz,

Popup Box
Hey, i have tried to make an html link link to a chromeless unsizable popup box with no success. I need to know how to set a size and how to get the flash to fill out the entire box with no browser junk on top. sorry for describing this is such messy terms, its a common flash thing so most of you probably know what i mean. I have tried this one out
http://www.dhtmlshock.com/window-scr...ss/default.asp
but i couldnt make it work. thanks!
chris

Popup Help
okay...im following this tutorial:

http://www.kirupa.com/developer/mx/centered_popup.htm

and i have everything inplace just like their movie is setup, but when i click my button, nothing happens. im thinking it might have something to do with the target, they have theirs set to "karupa", but even if i leave mine with the same name, it still doesn't work.

this is what i have on the frame where the button is:

Code:
Movieclip.prototype.openWinCentre = function (url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL ("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('" + url + "','" + winName + "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar + ",location=" + location + ",directories=" + directories + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + ",top='+((screen.height/2)-(" + h/2 + "))+',left='+((screen.width/2)-(" + w/2 + "))+'" + "')}else{myWin.focus();};void(0);");
}

and on the button:

Code:
on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "http://www.nlgraphics.com/popups/ani.htm";
target_winName = "print2";
width = 636;
height = 413;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
any ideas? how exactly should that target path be defined if im not using frames and the window is just a regular popup like the one on the tutorial?

Help Popup Swf
I have a botton with the following script:

on (release) {
('http://www.aaa/1.swf','newWin','width=600,height=400,left=0,top=0 ,toolbar=No,location=No,scrollbars=No,status=No,re sizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}

The first time I'm clicking the popup is opening but the main site is changing to a blank page with "[object]" written.

when I'm loading the site again and push the botton it is working fine.
what to do?

Help Popup Swf
I have a botton with the following script:

on (release) {
('http://www.aaa/1. swf','newWin','width=600,height=400,left=0,top=0,t
oolbar=No,location=No,scrollbars=No,status=No,resi
zable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}

The first time I'm clicking the popup is opening but the main site is changing to a blank page with "[object]" written.

when I'm loading the site again and push the botton it is working fine.
what to do?

PopUP
hi everyone
I have a thumbnail image and when the viewer clicks it I want the larger version to popup in a new window...Ive been having a look around at some of the other helps but is there a code you can use so you can preview how it will look (within flash) without having to upload it and test it over the net?
Thanks !

Popup
how do i make a button pop up a new window with a specified web address?

Help Please With Popup
I am trying to make a sized popup window in Flash. I have it working - the thing is - it only works when I open a url (a website online) - when I try to open a file thats sitting on my computer in the popup it just freezes up the window and nothing opens.

I need to be able to open from a source other than a website because the application I am designing will be going to a CD-ROM.

Here is my code on the Flash Button:

on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "folder/file.htm";
target_winName = "new window";
width = 400;
height = 300;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}

And on the first frame inside the flash movie:

_global.openWinCentre = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL("javascript:window.open('"+url+"','"+winNam e+"','"+"width="+w+",height="+h+",toolbar="+toolba r+",location="+location+",directories="+directorie s+",status="+status+",menubar="+menubar+",scrollba rs="+scrollbars+",resizable="+resizable+",top='+(( screen.height/2)-("+h/2+"))+',left='+((screen.width/2)-("+w/2+"))+'"+"');void(0);");
};

Can somebody please tell me how to fix this problem I'm having?

Thanks in advance

Popup Ads
you know those flash popup adverts that come out of nowhere on top of the page? whats that all about? more to the point how?

Popup Box
i have 4 buttons and when i click on one i want a popup box to show up containing text
and when i click another button, i want that popup box to hide and another one pop up

is there a way i can do that?

or how can i make text show and hide with a button

btw im using mx2004

Popup
How can i creat a POPUP in Flash ?
Lets say i have 10 squares each one with a picture on it.
When i click i want to show a popup with the original picture.
And more, LOAD the picture autside the flash in that popup.

Best Regards

Popup
I have try this link
http://www.flash-db.com/PopUp/

But for some reason it want work for me.
It apears that it will open a popup but in the end nothing happen.

What i'm doing wrong here ? :|

Best Regards

Rui Bárcia

Popup
Hello

I want to simply create a popup from flash to a HTML site.

I've been looking at some tutorials, but it wont work.
http://www.flash-db.com/PopUp/JavaSc...pUp.php?page=2

I want to have to Javascript in the flash file.

I'm quite in a hurry, so please answer quickly!

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