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




Combo Box Opening Popup Window Problem



Hi can any1 help me wiz this. I'm having trouble putting the rite link in this movie vombo box to open a popup window. Help plz



ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)
Posted on: 07-29-2004, 11:58 AM


View Complete Forum Thread with Replies

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

Opening Pop Up Window From Combo Box
Hi,

I've got a combo box that opens a new window when an option is selected using this function


PHP Code:




function urlfunction() {
getURL(mycomboBox.getSelectedItem().data , "_blank");
}







However, I need it to open in a popup window with the toolbars etc removed.

I've created a button that opens a popup window using this code:


PHP Code:




on (release) {
getURL ("javascript:NewWindow=window.open('popup/dealers/dealers.asp?County=Devon','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');  NewWindow.focus();      void(0);");
}







Is there anyway I can use the above code together to get the combo box to open a new popup window?

Thanks in advance

Opening A Popup Window
Hi,

The following script opens a browser window, but the main browser also goes to a different location:

Code:
getURL("javascript:window.open('scores.php','Golf','width=320,height=240,scrollbars=yes')");
How do I prevent that the main browser goes to another url? (the url changes in "javascript:window.open.. etc etc)

Thanx in advance,

Zander

Opening More Than One Popup Window
I'm having a few problems being able to open a customisable popup window from an .swf file. I've followed the tutorial on this site and it works perfectly for one button. The problem I'm having is that I want to have two buttons opeing two seperate web pages. I guess I need two seperate JavaScript functions, but I don't know enough JavaScript to do this.
Thanks

Opening A New Browser Window (from A Popup)
I have a website that is set within a popup window.
I have a link on this site that links to an external page.
When I click on the link it loads the page either within the same
window as my pop-up or in a new window but set the same size (not resizeable)

Can anyone tell me how I can load the page in a new window that can be resized…

Thanks very much in advance

Opening A Popup Window From Flash?
I am having a hard time finding something that really works. Basically I need a movieclip to load a popup window.

I have have IDs on each thumbnail, that ID is loaded in the MC. Then once the ID is stored, I will basically be calling it like getURL("idTag"+"htm"), or something like that. But I need each window to be opened into a popup.

Opening A Popup Window + Sending Variables
Please Excuse me for my english, It's a little bit broken, lol

Hello, I have this code on my flash shoutbox:


Code:
var container:LoadVars = new LoadVars();
container.name = name_txt.text;
container.message = message_txt.text;
container.submit = true;
container.send("http://www.ajdesigns.bendras.com/post.php","_blank",POST");
_root.status_txt.text = "shout sent";
The problem with that is, that on Firefox that opens up a new TAB, thus leaving me inable to resize the newly opened window, because then all my browser window gets resized too.

Is there a way, to force FireFox to open POST.PHP on a popup window (not a firefox tab), so that I can resize my newly opened window, apply javascript feature and such?

Thanks for your help, I would really appreciate it.

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 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!

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

Get URL Opening A Popup?
Hi,

I am trying to create a button/link on a flash movie which would open
a popup window (new window) with specific width and height.
So far I was able to open a new window using the _blank attribute but
can't seem to figure out how to create the window with specific
dimensions.

I have the following as code:
on (release) {
getURL("

Popup Url Needs To Close One B4 Opening 2nd.
i'm using a popup window for some samples on my portfolio site--only thing is the sizes vary and i need the popup to match accordingly.

if the first url opens up in the 200x200 window, the problem is that if the user clicks on an url that requires a 375x665 window, the url will open the already existing 200x200 window.

this script opens up the windows according to the specified size which is fine. how can modify it so that if another url is called with a different window size, this closes and another opens with that specific size?

on (release) {
varHeight = "375";
varWidth = "665";
getURL ("javascript:window.open('http://www.example.com/popup.htm','kakik1','width=665,height=375, scrollbars=0,top='+((screen.availHeight/2)-(" add varHeight/2 add "))+',left='+((screen.availWidth/2)-(" add varWidth/2 add "))); void(0);");
}

thanks!

Opening Popup From Dynamic Txt
can anybody tell me how to load a popup window with given dimensions from a dynamic txtxfield (in swf on level 1).

i've tryed with html a href="lvg.html" target="_blank" onMouseDown="MM_openBrWindow('lvg.html','Limburgs Vormingscentrum Genk','width=400,height=300')"> -here-</a

but it doesnt work .

Do i need to use asp in the html page i want to load ???
And what code do i have to use ? in the txt file an in the html file ?

u can watch my problem on http://webdesigners2002.multimedi.be/steven (button work> other projects >link BSFE_navigation)It still needs a lot of work , i know

i am a newbie in scripting :s can anybody help me?

greetz pixel
[Edited by Envoy on 09-16-2002 at 07:22 PM]

Popup Not Opening From Frame In IE6
I'm having a problem opening a pop-up window from an HTML site within a frame, but only in IE6. I have a 2 framed window. One frame opens a site (eg, www.site1.com) that contains a flash interaction with a button that opens a pop-up window. I'm using the following getURL statement:
on (release){
getURL ("javascript:window.open('http://www.whatever.com','newwindow','width=640,height=48 0,top=0,left=0, scrollbars=1,resizable=1'); void(0);");
}

and the button opens a pop-up window when the site is viewed from outside the framework. However, when the site is viewed from within the frame nothing happens when I click on the button.

This is specific to IE6 - it works in Netscape 6 and 7, so I'm guessing its a problem to do with DOM. Any ideas how to resolve this?

Thanks
-Kim

Opening A Popup By Clicking An Mc
Hello people. I just finished reading the popup tutorials on the site, one is for chromeless windows (which I dont want), and the other one uses buttons.
Is there a quick and easy way where when I click an mc, it will open up an html file?
thanks

Opening Popup From Flash
hello,
I would like to open a html-popup window from a flash movie, but how do I do that?

to test the popup i just made another html site with the following js, but I can't really put this in my as to open it from flash?!


Code:
function PopupFenster() {
F = window.open("pop_kim.html","Popup","width=370,height=450","screenX=500,screenY=500","scrollbars=yes");
another problem im having is that the text in the popup window just won't scroll (no scrollbars showing), even though it's set to scrollbars=yes

Opening A Popup By Clicking An Mc
Hello people. I just finished reading the popup tutorials on the site, one is for chromeless windows (which I dont want), and the other one uses buttons.
Is there a quick and easy way where when I click an mc, it will open up an html file?
thanks

Pop Up Window That Opens To Show A Picture On Website. Not A Popup Window To Open URL
Here is a link to an example of which i am referring. If you rollover anyone of the pictures a pop up image appears. Does anyone know how to accomplish this?
http://www.templatemonster.com/categ...thor=&x=31&y=6

Popup Window(or Separate Window To View Larger Image)
popup window(or separate window to view larger image)
like 'fever' in dreamweaver .

i can click on a small image and have it pop up in it's own window.
Can this be done in flash?
thanks

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!

Opening A Popup From A Flash File
hi guys,

I would relly appreciate it if someone could tell me how to get to a pop-up window from a flash movie....

does anyone know how to do this?

thanks

Niklas Wahlberg

Opening & Closing Little Popup Windows
I have a small movie clip that consists of scrolling text, which can be dragged around the stage. I'd like to add the ability to close the "window," with a small "x" on the corner like a browser window.

Does anyone know how to basically "close" or maybe delete a movie clip???



Thanks to anyone who can help!!

vectorpatrol

Problem Opening A Popup From SwiSH 2
Hi everybody,

I'm trying to open popup windows from my swish2 animation but
it do not work.

I went on http://www.flash-db.com/PopUp/ to create the code and
here it is:

on (release) {
getURL ("javascript:NewWindow=window.open('http://hamsterdeluxe.free.fr/groupe.htm','newWin','width=754,height=800,left=10 ,top=0,toolbar=No,location=No,scrollbars=Yes,statu s=No,resizable=No,fullscreen=No');NewWindow.focus( );void(0);");
}

Where should I insert this code in the Swi to work properly because I only can choose between gotoURL or Javascript Option ?

I've tried both but it's not OK.

I do like that:
I choose the ACTIONS Menu, then "On Release","Add Event"
and finaly "Javascript" and it appears like this

NewWindow=window.open('http://hamsterdeluxe.free.fr/groupe.htm','newWin','width=754,height=800,left=10 ,top=0,toolbar=No,location=No,scrollbars=Yes,statu s=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");

When you click on "La Tribu" on the swish animation, you'll see what happens...

Shell I add a script in my main html file(index1.htm) ? Because when create the javascript on http://www.flash-db.com/PopUp/ the page is being linked without any problem and it opens it in the desired popup form.


Thanks for you help...

Opening Popup-style Windows
I'd like to know what action I have to use to open popup-style windows in a flash scene.I've made a draggable window and I want it not to be visible until a button is pushed. Do I have to use visibility, goto or whatever, i just don't know...

Trying To Geturl In A Popup Window, Not A Full Browser Window
I am using the geturl command to open a popup window. NOT: this is on a frame action, not a button action. I don't want a full browser window, just a popup.

cheers,

will

GetURL - Targetting The Parent Window Of Popup Window?
Hello!

Yet another thread on getURL but I did a search and couldn't find anything related to my question, so here goes...

I have a website which launches a 900x400 popup window which contains an interactive flash movie. From within this movie, I am loading in HTML from a text file which populates a scrolling textfield.

I was pleased to learn that href links within the text file work as links within the flash textfield. What I want to do is have these links open in the parent window that spawned the popup.

If I use target=_blank on these links, the pages open up in a new browser window.

If I use target=_parent on these links, the pages open up in the same popup window and obviously replace the flash movie content (goes to the link instead of launching it in the parent window).

Is it possible to use the _parent target to launch these links into the main website that spawned the popup or is _blank the only one?

If anyone has any tips or experience on this matter it would solve a huge headache for me.

Thank you!

How Do I Set Specific Window Sizes On Popup Window Button
This is what I have so far and it works ... but I want to set specific sizes of the window and have scrolling ....

on (release) {
getURL("

Popup Window Doesn't Stop Window.open
Hi,

check out www.adidas.com/1

You will notice that although you might have popups blocked the site still pops up. I have checked the source and they seem to use window.open.

Any ideas how thye have done this?

thanks

ash

Popup Window Doesn't Stop Window.open
Hi,

check out www.adidas.com/1

You will notice that although you might have popups blocked the site still pops up. I have checked the source and they seem to use window.open.

Any ideas how thye have done this?

thanks

ash

Opening Multiple Popup Windows From One Page?
Opening multiple centered windows, all in one page?
Hello,

I've always really liked the help I get here, so I'm posting another question I have.

I would like to be able to open 12 custom centered windows from a flash file, which holds videos of different sizes and porportions. 4 of them are windows media player files, 4 real player, 4 quicktime.

I already have some code for this, but does not work for opening more then one of these centered windows. For some reason, it will always take the bottom coding of javascript in the list, and open that one, no matter which one the flash file actually calls.

I have made a seperate page for each video, and embedded them with the appropriate video player. The javscript below is in the flash files HTML page 12 times, with the appropriate settings change for each movie and its respectful HTML page.

Here is the coding that is not working to run multiple times:

<script type="text/javascript">
var w=240; /* popup window width*/
var h=191; /* popup window height*/
var l=(screen.width-w)/2; /*this centers horizontally*/
var t=(screen.height-h)/2; /*this centers vertically*/
var url="Movies/WMV9/wmv9_240.htm";
var features="left="+l+",top="+t+",width="+w+",height= "+h+",scrollbars=auto";
function wmv9_240() {window.open(url,"",features);}
</script>

Any help as soon as possible on this, would be much appreciate.

Thank-you.

P.S. (I saw on a movie website, that they used some kind of "Map Gen", in order to use multiple window popups on the same page, would this be what I need?

, Lowell K.


__________________
Lowell Klassen

Opening A Mc In A New Window, While Still Showing The Mc In The Main Window
Hi Guy's
Its mike again. Please can you help.

I have designd a mc and in this mc, it has a button to another mc but what I would like is to open the mc in another window without closeing the first mc window where my button is. also I would like it to open at a perticular size.
Then be able to close the second window.
how is this possible please can someone help!

Thanks

Mike

Opening An HTML Window In A New RESIZED Window?
OK I have a button in flash that I want to open a new window that is 200X400 and NOT resizeable how can I do this?

Opening Links In New Window From A Centered Window...
Hi there. I used this chromeless centered window tutorial to create part of my page...

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

It works fine, I have a little intro, then you click a button, main page loads in the center like it should.

Thing is, I have links within the movie to outside websites, sites I want to display in their own window. When you click these links however, they get loaded up in the same centered window as my main page. Because theyre alot bigger than my flash, you can barely see even the corner of each site. And I want it to open a whole new, full size browser window with all the normal buttons it should have.

My site is the only one I wanted centered and chromeless, the others should act like any old link.

Got it? Think I made that all sound right...
Anyway, any ideas on what to do?

Opening Links In New Window From A Centered Window...
Hi there. I used this chromeless centered window tutorial to create part of my page...

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

It works fine, I have a little intro, then you click a button, main page loads in the center like it should.

Thing is, I have links within the movie to outside websites, sites I want to display in their own window. When you click these links however, they get loaded up in the same centered window as my main page. Because theyre alot bigger than my flash, you can barely see even the corner of each site. And I want it to open a whole new, full size browser window with all the normal buttons it should have.

My site is the only one I wanted centered and chromeless, the others should act like any old link.

Got it? Think I made that all sound right...
Anyway, any ideas on what to do?

Flash Video Opening In Full Browser, Need It Like A Popup
Hello to you all, this is my first post and I'm trying to get my learning head on.
I have imported a video in to Flash Pro 8 encoded it to 300x240 pixels and gone through the process to make a flash video including the published html file. Now when I click on the swf. file directly the movie opens up on my desk-top like a pop-up which I want and plays just perfectly at the size I set it at and complete with the controls I chose.
My problem is that when I click on a text link on my website to open the flash produced html file which in turn opens the swf file, the flash video opens up at the right size but on the left and I have a full browser screen, not the size I want it to as when I tested it from clicking on the swf. file on my desk-top.
Please can you explain how to get the video to open up in another window from the link on my website at the smaller size that I wanted? I presume it is some kind of JavaScript code that needs inserting in flash html page?!?! (probably more complicated than that)?
Can you help please as I want to do this with a number of individual videos with separate links?
Hope all this makes sense?

Popup Window Closing To Main Window?
I can close the popup window of my flash intro, but I want to go to another html page in the main window of my site.
Can anyone help me? Thanks.

[F8] Target Parent Window From Popup Window
I launch a popup window from a flash movie in the main window. When I close the popup window, I need to target the main movie to go to the next frame, depending on weather the the movie in the popup has played to the end. I tried making use of Javascript with a url quaryString when opening the popup:
window.open("popup.swf?variable1=stringvar")
I also tried Flashvars in the param and embed tags, but do not know how to send the flashvar to the popup. Then update the Flashvar when the movie in the popup is done. Then when I close the popup, communicate with the movie in the main window to go to the next frame.

This need to be done without php, cause I need to deploy this in a LMS environment.

Problem With Alert Window On PopUp Window
Hi guys,

I am making a Interview application in which i am showing a Pop window with close button enabled (using mx.managers.PopUpManager class) in which User can edit the content.

Now I want to track If User has changed the content and tried to close the Pop Up without saving changes. In this situation, So I tried to show an Alert window for confirmation to discard changes. Here I am getting Problem with Flash getting struck and giving message "A script in this Movie is causing to Flash Player to run slowly...blah blah". This is my problem.

I tried removing other Event Listeners also but no luck.

Thanks for your help.
pandu

Opening A New Window WITH Furniture From A Window WITHOUT
Hi ya,

I've had a scoot around the site and seen some references to something similar to this problem I have. Hopefully if I describe it, someone will suggest something!!

Okay - we have a furniture less browser window opening up with a flash movie splash screen. Once the splash has finished, a 'Click Here' button appears, which has a getURL action on it. This new URL is supposed to open a new window but this time with furniture. Any suggestions as to how to do this because the norm is that the new window will inherite the layout (ie no furniture) of the last window.

many thanks in advance

frank

New Window Opening With Centered Window
New window opening with centered window as given by kripa is not working ..... can anybody help me on this....?

http://www.kirupa.com/developer/flash5/newwindow.htm

Combo Box - Pop Up Window?
Hi all,

I want to make a combo box that pops up a window when an entry is selected. What i know is the code to open a blank window with an url:

function fun() {
getURL(comboBox.getSelectedItem().data, "_blank");
}

But what i want is to combine the following code with the previous one:

on (release) {
getURL ("javascriptpenNewWindow('my.htm','thewin','heig ht=248,width=210,toolbar=no,resize=no,menubar=no,s tatus=no,scrollbars=no,left=402,top=250');");
}

I want a combo box to open a window as described in on(release...

Can anyone help me with this?
Thanks a bunch!
Natsurfer

Targeting Another Window From .swf In A Popup Window....
Ok...

I have an .swf in a small popup window.

At the end of this movie, I have a button.

I want this button to open the new link in the window that originally launched my popup window.

I'm aware of the javascript function "window.opener", but I'm not sure of the AS syntax I should use.

Can anyone help me out with this?

Thanks so much.
Tone.

Popup Window Instead Of Explorer Window?
I see alot of websites that when you open them the first thing that comes up is a smaller window that is not resizable. Then after either watching the intro or bypassing it, the main page opens in the explorer window. How is that done? If I have a two swf files and I want one to be the intro page and the other to be the main page how do I make the first swf file viewed in a "popup window"?

How To Constrain A New Popup Window Window
Hi all,

This is just a quick question which I am hoping has a few lines of code as the simple solution.

I have a mvie clip in flash that resides in a html page. When you click a button in the swf the actionscript tells it to open a new window to display the link.

What I want to know is how do I do it so that when it opens it contrains the new browser window to a certain size,

Any help would be much appreciated.

Thankx pixelmagik

Target Self Window From Combo Box
hi everyone,
i have a dropdown combo box that links to other pages and i need to be able to have it open in the same window. the coding i am using is

(how do you do that thing where the code is under the heading and in blue?!)


function handler() {
getURL(dropdown.getSelectedItem().data);
}


and the links in the data field of the dropdown are, eg; page1.swf and index.swf


but it opens in a new browser window. please help me!!

thank you...

Targeting New Window Within Combo Box
Hey dudes,

I'd like my Combo Box links to open into a new window. I tried implementing the HTML target="_blank" item, but to no avail. Any suggestions?

Thanks!

Jeff

Targeting New Window Within Combo Box
Hey dudes,

I'd like my Combo Box links to open into a new window. I tried implementing the HTML target="_blank" item, but to no avail. Any suggestions?

Thanks!

Jeff

Popup Window Loading Extra "object" Window For No Reason...
hey all. Following this thread on the subject of popup windows...
http://www.flashkit.com/board/showth...hreadid=397960


Using the code from the Flash-db.com popup window page, I'm getting a second window opening up on top of the window that is supposed to load. The second window contains nothing except the word "object".

sample of code

on (release) {
getURL("javascript:NewWindow=window.open('http://hybrid.concordia.ca/~4919580/dfar351/guineapig/photo/26.html','newWin','width=640,height=520,left=0,top =0,toolbar=No,location=No,scrollbars=No,status=No, resizable=No,fullscreen=No'); void(0);");
}


I'm wondering if it has to do with possibly my personal browser specific settings, or if anyone else gets the extra window as well? No one in the thread mentioned anything about it, but it's driving me nuts... help is greatly appreciated.

ry

Opening Pop-up Window From .exe
Hi,

I'm not sure if this is the right forum for my question but I hope someone can help me.

Using Flash 5,

How do I open Pop-up window with certain size from the
.exe file?

If anyone knows this one please help.

Thank you very much,

Oksej

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