ActionScript 2.0 :: Firefox Blocking Pop Up Window?
Jul 30, 2008
I have a Flash movie that loads an html file with a link that should open a new window when clicked. The problem is that Firefox blocks the new window from opening, and I don't know how to solve it. Unfortunately, I have no access to the HTML page where the Flash will be included, so I couldn't use Javascript in that HTML page.This is the code in the HTML file that is loaded into the Flash movie:
<p>This is the company that makes Photoshop:<a href="http:[url].... target="_blank">Adobe</a></p>
View 3 Replies
Similar Posts:
Aug 16, 2009
I've created a client that communicates with a server via XML-RPC through a network using the URLRequest object to contact the server.
When activating the client through flashplayer, explorer or chrome, the xml-rpc messages are sent. When using firefox, for some reason these xml messages are blocked, and are not seen on the server.
What's causing firefox to block xml messages to a remote server and how can I make it work??
View 10 Replies
Dec 23, 2009
By default Firefox opens urls set to 'new window' in a new firefox tab instead. Is there any way to force Firefox to open a new window?This doesn't work in Firefox: it opens a new tab window instead of a real new window. How can I make Firefox open a new window? Without the popup blocker blocking it?
View 1 Replies
Sep 1, 2005
I've written getURL("javascript:window.close()"); to close the windowwhich runs only in IE. What should be written for Firefox?
View 1 Replies
May 25, 2010
Currently I have the code for a button within the swf on our webpage:
Actionscript Code:
on(release){ getURL('javascript:window.close()'); getURL("MyUrl.com","_blank");}
close the web browser (including the swf document) and to open another webpage in a new browser. I have looked around and nothing seems to work with Firefox (because of java security). While I know a user could disable this java security, it is obviously not practical to ask every one who visits the site to so and was curious if there is a way to do this same operation with Firefox?
View 2 Replies
Jun 4, 2010
An old discussion - but still relevant: Does anyone know a script for a button making it able to close a Firefox browser window (on a mac)?
I have tried 1) variants of "javascript:window.close()" and 2) to make the button open a new window in itself, which immediately afterwards closes itself...
View 1 Replies
Apr 18, 2011
With selenium I'm currently automating tests for a website having flash elements for user inputs. While everything works fine when executing these tests on my computer locally, it fails to load the embeded flash if I start selenium on a remote Windows XP machine.
However, the flash just loads fine if I start the tests while I'm logged in via remote desktop.
This leads me to the assumption that whithout any desktop environment loaded or user logged in the firefox window is treated just as though it was minimized or the current tab was inactive, which I know prevents flash from loading until that window/tab is activated.if there is a way to enable firefox to load flash even if it's not currently displayed in an active window?
View 1 Replies
Oct 30, 2009
I am having a problem. I found the actionscript 2 code to open a browser window, but it is not working in Safari, or Firefox. I found an old action script 1 file version 5 for the flash player that works just fine, but I am using 8 and actionscript 2 so that doesn't work for me.
View 5 Replies
Apr 16, 2006
I found a great tutorial on launching a centered pop up window that kirupa posted and firefox won't execute it correctly or at all. I'm extremely frustrated because I need pop ups for my site to work and now it only functions in internet explorer or safari (mac). The url for the tutorial is [Url]
The way it works is that you have a frame action with the following function:
[Code]...
View 1 Replies
Jan 27, 2011
I have a flash movie that has a thin white line on the left side which comes and goes as you stretch a window. Does not show up in any other browser. [URL] Same thing occurs in another site [URL] The flash movie is the same width as container div.
View 1 Replies
Mar 17, 2011
I'm having a problem with Firefox "flashing" when resizing the window. I've created a fullscreen background. See the site here "ohbehave.dk/beta"
Why is it doing this? Also, do you have any tips on improving performance when resizing?
ActionScript Code:
// -------------------------
// BACKGROUND SETUP
// -------------------------
stage.scaleMode = StageScaleMode.NO_SCALE;
[Code]....
View 1 Replies
Jul 21, 2009
works perfect on my macbook pro (safari, firefox, and opera) but when I view the site on Vmare Fusion Windows XP and use IE and FireFox the pages don't load... I don't know what to make of this. Has anyone hear or seen anything like this happen before? BTW the website was created in Adobe Flash CS4/ AS 3.0 and published using Flash Player 10.
View 2 Replies
Jun 8, 2009
I've got a strange thing in attached fla: my gotoAndStop command won't go past a photo?First I've got the 'background' layer. On it is a red rectangle on frame 1 and 2. Frame 3 changes it into a jpg.
On the actions layer I've got a gotoAndStop(4), which should show the photo and trace a command. But it won't get past the red square? It's like the jpg photo blocks the gotoandStop(or Play for that matter) command. It doesn't trace to prove that the gotoAndStop command is executed on frame 4 and it keeps showing the red square on frame 1 and 2. Where it should show the photo which has already been placed on frame 3. when I replace the photo with a normal Flash shape (rectangle e.g.) it works fine.
View 2 Replies
Nov 6, 2009
I am creating a very simple interaction. I have a symbol as a moviclip which I can move around the screen using the arrow keys. I want to block certain parts of the stage so that the movieclip cannot pass into them. For example if I have a fence on the stage I don't want the movieclip to move over the fence I want it to stop when it reaches it. This will keep the user moving in the directions that i want, lead them toward another area of interaction.
View 2 Replies
Jul 29, 2009
I have an animation, when i preview it looks fine, but when i use the timeline to scroll through the animation (and when i export as .avi) - there's this strange white bar over the text! I have tried to remove the object from the library, but then the text disappears (also when i preview)
If you wonna check it out, the .fla file is here (5mb) : [URL]
View 2 Replies
Feb 28, 2010
is there non-blocking io in flash? I need it for my live chat project.what thing need if i make a live chat with the web cam in java.
View 1 Replies
Aug 21, 2009
I'm using Flash 4 and AS2;I've composed the code such that my MC (called hole) will turn slowly upon entering the first frame:
var hole:MovieClip;
this.createEmptyMovieClip("rotator_mc", this.getNextHighestDepth());
rotator_mc.onEnterFrame = function() {
hole._rotation += 1;
};
Then, on frame 55 I have:
rotator_mc.removeMovieClip();
to stop the clip. After that, I animated "hole" on the timeline to shrink... but when I play my movie, the timeline animation doesn't happen.
View 7 Replies
Oct 21, 2010
I'm working on a simple website for A level ICT and am having some difficulties. My site has a javascript based drop down menu, as well as two .swf files embedded. When the drop down buttons in the menu are scrolled over, the .swf files disappear.index1.jpg is a screenshot of the page normally, index2.jpg is a screenshot when the menu link is scrolled over.I am also having difficulties with flash working with java on another page, the same .swf files do not fade into the background like the rest of the page when images are enlarged in a javascript gallery within the page. gallery.jpg shows this.
View 2 Replies
Mar 20, 2010
I've been creating a calculator as part of an assignment. I've created button instances in actionscript and then putting a text field over it. The problem is the text field blocks my button so it is difficult to press.exaple code:
var equals_btn:equals = new equals();equals_btn.x = 247;equals_btn.y = 369.9;equals_btn.width = 115;equals_btn.height = 45;this.addChild(equals_btn);
var equalText = new TextField();equalText.x = 276.1;equalText.y = 349.9;equalText.width =
[code]......
View 5 Replies
Dec 14, 2010
I have various buttons on stage that will initiate a popup box upon hover. But some of the pop up boxes are too big and covers some buttons which disables the button.Is there anyway around this? Logically, when a button isn't hovered, its popup box shouldn't cover what's underneath it. I have tried moving the layers around, although this works, but now the buttons are on top of the pop-up boxes which is no good.
View 3 Replies
Apr 11, 2012
I have a first SWF, the interface, which loads external SWFs, the pages, throughattachMovie. The pages themselves contain clickable buttons. What I am trying to do is enable and disable the buttons on the pages, without altering the code of the pages. I can only change the contents of the interface.I have tried using a blocker, a movieclip with :
onrelease = function() {};
onpress = function() {};
useHandCursor = false;
[code]....
View 1 Replies
Sep 25, 2009
I'm trying to use PNGEncoder to encode a bitmapData object into a png ByteArray so I can send the data to the server. Everything would be peachy except the bitmapData is 4000x4000px and when I run the PNGEncoder.encode function on it the whole app stops (UI is blocked) for 5-8 seconds while it runs. Does anybody have any suggestions on how to not make it block so bad, I read about chunking up the process (since you can't multithread in AS3) but can't find any sample code on chunking up the process.
View 6 Replies
Aug 4, 2010
An image says a thousand words:URL...A flash object in a CKEditor dialog is being blocked by the IFrame element. This only happens on Chrome. I have tried changing the z-index, that didn't work at all.
View 1 Replies
Jan 4, 2010
I am having a terrible time trying to sort out a clickTag issue.
I have now decided in placing an embedded url within the flash file and use the navigatetourl code.
It seems to be blocked in IE.
View 0 Replies
Jul 3, 2003
I have a button (with actionscript) under some dynamic text. The dynamic text, including some small transparent space around it, is blocking the hit area of the button. How do I solve this problem?
View 2 Replies
Jun 9, 2008
made a site with several buttons that load other .swf on level 1 which cover the entire stage, but the buttons that are on level 0 can still be clicked on. Is there anyway to block these buttons while the level 1 .swf is playing
View 1 Replies
Dec 2, 2009
In developing (and learning) some OOP gallery class structures, I seem to hit a snag with the non-blocking nature of AS3.[code]However, I need to get these into a grid, and I have a grid class written that takes an array input. So, ideally I would push the i and v instances into the array, and have the grid class loop through and put them in a neat little block. However, I can't access the width and height of the img and vid class instances. I tried getters, and am thinking of having to do some custom events but I'd rather not. Surely there's something I'm missing?The closest thing I got, but it still triggered late, was an Event.ADDED in the img class.
View 3 Replies
Apr 8, 2009
I have a series of buttons and a text field that follows the cursor, showing you the name of the button you roll over. How do I get the text field to stop interfering with the buttons? You don't get the pointing finger or get a click registered since you're clicking on the text, not the button.
I tried setting the mouseChildren of the text to false, which did nothing. And since it's not part of any button, there's no point in setting the property for each button.
My only option is to have hidden copies of the button floating over the text, but there ought to be a way to have the click pass thru the text and reach the button, yes?
P.S. FWIW, the buttons are actually movie clips with buttonmode = true and useHandCursor = true.
View 3 Replies
Mar 17, 2010
I just finished creating/testing and uploading a flash file to my media server. However because I wanted it to stay a constant size and centred on peoples screens I embedded the flash file into an html page using dreamweaver. Everything still worked fine except for one function. My contact movie clip (mail_mc) had a getURL function ("mailto:etcetc");
View 1 Replies
Nov 5, 2011
i creat domain blocking for video player.in this file i took 2 scence.message in scence1 & video player in scene2.running fine scence1, next scence2 coming.but not run script file in scene2
var allowed_site:String = website.com;
var domain:String = this.root.loaderInfo.url.split(/)[2];
if (domain.indexOf(allowed_site) >=0 && domain.indexOf(allowed_site) == (domain.length -
[code].....
View 3 Replies