ActionScript 2.0 :: Popup Opens In The SAME Window And Not Ina New Window
Mar 27, 2006
following situation: a button with AS :
[Code]...
this popup opens in the SAME window and not ina new window. What can I do to let it open in a new window and given the same properties to this new window as above: toolbar=No,location=No,scrollbars=No,status=No etc.... a geturl opens it in a new window but does not give toolbar=No,location=No,scrollbars=No,status=No etc.... properties to the window
View 2 Replies
Similar Posts:
Jun 12, 2009
i would like that my window opens and closes (opens: scale out; closes: scale in) not by clicking on the button but on the window itself.here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
Grtz,Jan the man
here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
schuifwindow www.truevision.be/other/btn_home.flascroll www.truevision.be/other/scroll.flafotoalbum www.truevision.be/other/foto_album.fla only picture one (left up corner) has a X button (i dont want to use this button)
View 5 Replies
Mar 16, 2010
I'm trying to place a popup window (TitleWindow) in the middle of the main application window. how do i set the coordinates of my popup window to be of the main application window? i tried the localToGlobal function but with no luck, I just can't get the main window x and y.
View 3 Replies
Aug 12, 2011
How to access main window's variable from popup window.
I create a popup window in the main window, and pass variable "content" to this popup window as following [code]...
View 2 Replies
Apr 25, 2008
Go to [URL]. Click on "The Photos". It will pop up in a fullscreen window. Try resizing the window and you'll notice that the background is vector and it looks like the scale mode is set to "showAll". BUT, the photos look like they have a separate scale mode set to "noScale". They don't resize.
View 2 Replies
Mar 26, 2009
I have a window component on my main timeline that gets called up on several instances. When the popup window appears, everything looks fine, except that the user can still click on links that are now behind the actual popup window itself. My question is how do I keep those buttons from being active while the popup window is active?
View 2 Replies
Jul 6, 2004
i'm using the centered pop up window script from: [URL]. i have multiple buttons in my flash movie which open screenshot html pages in external browser windows. the script works fine except when a popup window stays open. the rest of the buttons don't open/replace past that one popup. i tried changing the window name in the onRelease script to screen1, screen2, etc for each button, but that didn't work.
View 1 Replies
Dec 12, 2011
I need to close the popup(adobe flex), non modal window if I click on the parent page of the popup. I have to do the out of focus check and then do some validation before close the popup. So what I was thinking that is there any inbuilt focus check event or do we need to create custom event for that?
View 1 Replies
May 21, 2009
I currently have a website that has a photo gallery. The home page has a link to the actual photo gallery. I'm using the (getURL) to open the photo gallery in a new window, however the new window opens up to the same size as the home page. I would like to shrink down the window size of the photo gallery so the user can still see some of the home page behind the new window.
I know javascript can take care of this problem, but I was wondering if there is a way to do it with Flash? I just need to specify the size of the new window when it opens.
View 9 Replies
Aug 23, 2010
Using CS3
AS 2.0
I have a button that when pressed it opens a url in a new window. Works on Safari great, but not in Explorer.
Code...
on (release) {
getURL("http://www.name of website", "_blank");
}
View 3 Replies
Sep 29, 2005
i've got a form, which i then would like to send using asp (CDO).anyway, it works a dream when i use the following:
GetUrl("processForm.asp",0,"post");
however when u use:
loadVariables("processForm.asp",0,"post");
It does nothing.the problem with GetURL is that it opens the scrpt in another window, which isnt ideal.the code in processForm.asp is:
<%@language = "VBScript" %>
<%
strName = Request.Form("FirstName")[code].....
View 2 Replies
Sep 6, 2009
I've used Greensocks Tween lite to build a photo gallery that resizes with the window browser. The only problem is that when I first open up the window the gallery is not properly scaled to fit the window size. How can I make is so when you first open up the window the movieclip is told to resize to the current window size? Here is my code below.
import gs.*;
import fl.transitions.*;
import fl.transitions.Tween;
[Code]....
View 2 Replies
Nov 6, 2009
The swf buttons on my website open double browser windows in Safari - it's fine in IE and FF, just have this problem in Safari.So, why Safari opens the same window twice?
View 0 Replies
Aug 4, 2007
Here is a link to an example of which i am referring.If you rollover anyone of the pictures a pop up image appears..
View 2 Replies
Aug 4, 2003
i am trying to make a flash site, and anyway i got some problems i want to make a button that when pressed opens a window (set size of 500 400) what actions should the button have?
View 4 Replies
May 9, 2004
i have game im doing, and i want it to jump to level 2 upon completing the first level, but the problem is, the level 2 is a seperate swf, i've tried to use
[Code]...
View 3 Replies
Jul 25, 2009
I have a .swf I'm inserting at the top of a page in DW. I have a button named "aboutUs_btn" which when pressed needs to load "aboutUs.html. That part works fine, but it always loads the page into a new window. How do I make it load into the same window? I could do this in AS2 with getURL and using _self. Here is what I have:
var aboutUsLink:URLRequest = new URLRequest("aboutUs.html");
aboutUs_btn.addEventListener(MouseEvent.CLICK,aboutUsClick);
function aboutUsClick(event:MouseEvent):void{navigateToURL(aboutUsLink);}
[code].......
View 5 Replies
Nov 17, 2009
CS3 Actionscript 2.0: I'm trying to get a nested movie clip to open the default mail app. on release. I used the on (release){ getURL("mailto:. which opens the mail window fine, but it also opens a blank browser window (Mac OS). Can someone tell me how to stop this from occurring?
I see this question crops up a lot but after many searches I haven't been able to find the solution anywhere. Forgive me, but I'm new to Flash/Actionscript. My script:
[Code]...
View 5 Replies
Aug 7, 2006
I have been using this function for a long time and this problem never occured. When the user press send button it does send the form as email but it also opens my aspx file in a seperate window.[code]...
View 3 Replies
Jul 1, 2009
How can I create a new window such as the one that opens here when i click the "insert link" above, with fade out and one that looks as if it's in the same window ?
View 1 Replies
Dec 9, 2009
I have a gallery that calls the images from xml that loads into my place holder witch it attaches the url for the images to open in another window. Now, I will like only one image to open a new popup window, how can I activate that using xml and possibly a bit of as2? here is what I got: javascript to open new window:
Code:
on (release) {
getURL [code]......
View 2 Replies
Jul 19, 2009
I have a flash website, and I want to put in a button that when onrelease is triggered will popup a window that I can play another movie in, I have the movie both as an .flv file and I have also converted it to a .swf movie as a seperate little movie, I could also convert it to another format if its easier, The movie size is only 320x240 in dimension.
View 1 Replies
Jan 5, 2010
All the info I see on the net is for 3.0. I have a file that uses 2.0 and I need to try to get a popup window to work. The point is so that I can have a window come up at specific dimension when clicking on a button. This is some 3.0 script I got from the net.
[Code]....
View 7 Replies
Mar 2, 2011
I am trying to open a new browser window popup from Flash. I am using:
[Code]....
What is supposed to happen is that the popup should open in a new smaller window whilst the original window keeps displaying the flash file. Not sure what I'm doing wrong. Is there a better way to go about this? NOTE: I know that you can call JavaScript functions and house your js in the HTML file, but I cannot edit the HTML file since it is a page from a remote site.
View 5 Replies
Mar 30, 2010
How can I center popup window in flex 4 ?
I have tried:
PopUpManager.addPopUp(AlertPopUp,DisplayObject(spark.components.Application), true);
PopUpManager.centerPopUp(AlertPopUp);
but it's problem with conversion Application->DisplayObject.
View 2 Replies
Nov 19, 2010
How should I open a popup window from a swf?My method - create another panel and overlay on the original swf.The problem is that the size of the original swf is small compared to the size of the popup window.No JS call allowed which does not allow me to use window.open javascript call.I need to be able to communicate with this popup window as well. This eliminates opening a new window using navigateToURL method.
View 2 Replies
Feb 9, 2011
I am trying to set a variable in a titlewindow pupup and use it in a script section. The variable is not being set and I don't know why. Here is my Main.mxml file:
[Code]...
View 2 Replies
May 23, 2009
I've done a lot of C# programming with both Winforms and WPF. I'm working on a Flex/Air app now for cross platform support. But this is my first flex project, so I'm learning as I go. I've got a window that I want to popup, that the user will fill out a form, then hit OK or CANCEL. I set it up the same way I would've in C#, but it doesn't work, and I can't really see a way to make it do what I want.
[Code]...
View 3 Replies
Sep 11, 2009
I'm using this code in Flash to popup a window:
on (release) {
var jscommand:String = "window.open('[URL]','win','height=550,width=830,toolbar =no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");
}
The code is in 10 different buttons, each loading a different content for the same popup window. In Safari, if I click on the parent window and then click on another button, the popup window will come back on top of all other pages automatically, but it does not work with Firefox. In Firefox, the popup window will stay behind the parent window. I'd like for the popup window to be always centered on any screen.
View 1 Replies
Nov 21, 2009
I have code that opens a new window with the image of "pic1_popup.jpg" inside. Both the jpg and the size of the window are the same. The code below is wrapped in a URLRequest and submitted with a navigateToURL method.
When the window displays, the title bar displays "pic1_popup.jpg" and the size of the image.
What I need is to replace the title with "Enlargement"
Within the argument string, I tried title=Enlargement both with single quotes around Enlargement and without. Neither one changed the title.[code]...
View 2 Replies