Javascript Popup Window Buggy
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
Similar Posts:
May 21, 2010
I have to have many small thumbnails on a page and each one needs to open up to a full size (640x480) video with controls when clicked.
View 3 Replies
Jan 21, 2011
Problem When resizing a Flash object in IE, it's resize handler incorrectly thinks that only the stage width has been updated. Steps for reproducing the bug You roll over and click a Flash button The button makes an ExternalInterface call to JS. JS resizes Flash among other things. In all non-IE browsers, Flash is notified of the dimension change and executes its resize handler flawlessly. In IE8, the resize handler is called but is only its stage width has been updated. It still believes its height is the same. To finally get IE8's Flash to acknowledge its true height, roll your mouse out of the SWF.
[Code]....
View 4 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
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 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
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
Nov 30, 2011
I created a Flash application that reads POST data from a form. A user clicks the button, and the data gets posted to the flash app in a new window (_blank). Now takes the data and then spins a wheel to give users a prize. If they don't win a message pops up letting them know they didn't win. If they don't win, clicking the OK button needs to close the browser window.
I've tried a number of solutions and it seems that the only way to get this done is to launch the window with javascript and then use ExternalInterface.call('window.close'); to close the window from within the Flash actionscript (3) because otherwise the window won't close (I've tried just using window.close and window.close() with no luck)
I understand how to launch a new window with javascript, but I don't know how to simultaneously launch and POST data to that window (the Flash application has to have the POST data. Is this the best solution? Is there a way to close a browser window easier than what I'm describing?[URL]
View 1 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
Mar 13, 2009
I posted about this a few weeks ago but it's still unresolved....I'm about ready to cry or go postal or both. I would love any input you might have. Another Flashkit member said he thought it might be line 23 of the html code, but I can't identify what's wrong with it. I will seriously send you a bar of fine chocolate I have created a multimedia site that pops up swf photo galleries. Trouble is.....the swf's are not loading in the popup windows. Here is an example:[URL] The link that opens the gallery is halfway down on the right.
It works perfectly on my local machine, and you can navigate directly to the swf ([URL]) so I'm thinking it's something in the html code of either the gallery "popper" or the "poppee." This is a recent development--until sometime this year it worked just fine. Not sure if some web standard changed or what?
View 3 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 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
May 9, 2010
I have some content on the stage of my project, and I would like for a TextInput box to pop up when you press a button. When I tried to implement this, it seems like the textInput box is at the lowest layer because things from the previous stage is appearing on top of the text input box instead of the other way around.I right-clicked on the text input box and adjusted the layer properties to 'Bring to Front' but it's still not working.How do I make the box and its contents appear on top of everything else on the stage?
View 4 Replies
Mar 4, 2009
i create a popup window using window component in as2 with Popupmanger unfortunately as3 havn't it.how can i create popup window in action script 3.0..? is there any alternative component .
View 2 Replies
Feb 7, 2003
how do you use javascript to close a popup window, from inside an html window in the swf file itself... ?
View 3 Replies
May 14, 2003
I went through the tutorial on this site that shows you how to launch a popup window, from Flash, that is centered. The only thing is that I would like to be able to open multiple windows so customers can compare many different products. I tried a few things but can't get it to work.
View 5 Replies
Nov 6, 2006
I was trying to make a popup window so I was just writing the code, published... and staring to nothing. I thought I made something wrong, so I checked the help and copied this piece of code from there (it's the code under MovieClip.createEmptyMovieClip()):
ActionScript Code:
var container:MovieClip = this.createEmptyMovieClip("container", this.getNextHighestDepth());
var label:TextField = container.createTextField("label", 1, 0, 0, 150, 20);
[Code]....
PS: I read about returning Void, but whatever I make, I cannot create a movieclip with a textfield inside in FP7
View 1 Replies
Oct 19, 2004
is it possible create a pop up window with, as target, a swf file? How? What code I can use for the button that logs the swf pop up centered window?
View 8 Replies
Dec 27, 2004
I need to know how to shake the popup browser window title bar (like in an earthquake) using just action scripting. I found some tutorials on this effect but they involve html which i can't/don't know how to use coz my animation is in a cd rom not web.
View 1 Replies
Sep 1, 2009
I´m trying using a <a> tag in a html content in my code to make a link. Till now work perfectly. Problem begins though when i try to use javascript in the <a> tag to create a popup window. Here is the code-line. ct.content_right.htmlText = "<a href='javascript:popUp('impressum.html')'>"+"Impressum"+"</a><br/>";
View 7 Replies