Beating The Popup Blocker
I have an aspx form that I need to load from a button as a popup but the blocker catches it. We tried to load it with getURL(javascript:window.open()), but the popup blocker(IE and a google popup blocker) caught it. Is there a way to make something popup on a user driven event like this? The thing is is that we could do it with "_blank" just fine but we also need to limit the size of the window scallability menubar and all that other stuff you can do with window.open. What do you guys suggest?
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 07-28-2006, 07:11 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Get URL Popup Blocker
Hi all
Iv'e searched the forum for a while and couldn't find anything, so i've resorted to start a new thread.
Iv'e got a getURL code that works fine, but it gets blocked by browsers when I use the _blank target.
PHP Code:
hit1_btn.onRelease = function() {
getURL("http://www.google.com", "_blank");
}
Ive searched the web for a Java script alternative - to which I found loads, but every single one did not work. Thing is, I created a small site a year or so ago with javascript getURL and it worked perfectly, but today the script doesen't (and annoyingly, I dont have the original flash file anymore).
If I test it offline, A browser window pops up quickly followed by an IE error message. Testing it online doesn't work. Iv'e inputted the code correctly (to my knowledge) and added the relevant javascript code into the HTML file, but alas, nothing.
Hmm, basically what im asking here is for a piece of code that is guarenteed to work and not get blocked by browser popup blockers. One button, click, new browser window opens in a new window. Simple.
Cheers
T
OT: XP SP2 Popup Blocker
Hi all.
Someone here now the code to permit to a popup to open itself without being blocked by the popup blocker of XP SP2??
Tnx to all.
Popup Blocker Blues
I've created a Flash eCommerce site over 2 years ago that uses an automatic Popup. With some of the new browsers Popup Blocker is set and stopping the load.
Does anyone know of a Flash work around to bypass the Blockers without making a button click?
AakerElectrical
Thanks.
Disabling Popup Blocker
Hi,
I have created a small site and embeded the SWF into HTML but keep getting that pop up blocker - to do with active X etc.
How can I dissable the pop up blocker?
Thanks in adv.
IE Popup Blocker Problem
Hi Everyone,
Internet Explorer keeps blocking all the .swf files on the webpage I am making for a class project.
I have no problems with Firefox but IE gives me the message "to help protect your security, internet explorer has restricted this file from showing active content that could access your computer. Click here for options..."
I thought it might be my IE settings but flash content on other websites work just fine. Is there anything I can do to avoid this? Why don't most websites with flash content have this problem?
It's ridiculous. IE never block real popups, but it just happens to block the .swf on my site.
Any help would be appreciated.
By-pass IE Popup Blocker
Hi!
my name is Alon and maybe you'll be able to answer my question:
i'm playing an flv file inside flash player (swf).
i want to open a pop-up window if user clicks the movie.
i'm calling a js window.open function from the flash file (by onRelease event),
but the bloody IE pop-up blocker blocks my pop-up.
do you know what can i do in order to pass this pop-up blocker?
thanks a lot for you help,
Alon
Popup Blocker Workaround?
The usual issue in IE - You can popup an html window from flash using a button, but using a movie clip or a simple onLoad causes the popup blocker to kick in. Has anyone come up with a workaround so that I can pop up the window sans button? Many thanks.
Popup Blocker Workaround?
The usual issue in IE - You can popup an html window from flash using a button, but using a movie clip or a simple onLoad causes the popup blocker to kick in. Has anyone come up with a workaround so that I can pop up the window sans button? Many thanks.
By-pass IE Popup Blocker
Hi!
my name is Alon and maybe you'll be able to answer my question:
i'm playing an flv file inside flash player (swf).
i want to open a pop-up window if user clicks the movie.
i'm calling a js window.open function from the flash file (by onRelease event),
but the bloody IE pop-up blocker blocks my pop-up.
do you know what can i do in order to pass this pop-up blocker?
thanks a lot for you help,
Alon
I.E. Xp2 Sp2 GetURL Blocker Popup Download = Help
Hi,
thanks for looking,
when using getURL with Javascript, to open a new window. any way round the new sp2 windows pop up blocker?
Also same kinda thing, prob more important... I use getURL to prompt a zip download. which also brings down the information bar alert. but for downloads.
are anybody else experience thse annoying new additions, and any way to fix it?
cheers.
b.
GetURL Triggers Popup Blocker?
Why are user initiated actions triggering popup blockers?!
Code:
my_button.onRelease = function(): Void {
getURL("http://www.macromedia.com", "_blank", "POST");
}
should not trigger a popup blocker!
Anybody know of any workarounds? What I really need to be able to use is:
Code:
my_button.onRelease = function(): Void {
LoadVars.send("https://www.paypal.com/cgi-bin/webscr", "_blank", "POST");
}
but getting the GetURL to work is a start... I've tried changing "_blank" to a named window and "_self", neither work. I've also tried using an onMouseEvent listener to open the new window and that triggers the popup blocker too.
Thanks.
GetURL() Function With The Popup Blocker...
Howdy...
Can somebody verify this???
If I use getURL() function with one of our company ad on a button, is new window supposed be blocked with the Popup blocker software like Google toolbar or whatnots???
ActionScript Code:
getURL(_level0.clickTAG, "_blank");
I thought that user initiated click on the Flash ad is supposed to open up the popup window with no problem... But it is not the case...
Anybody had a chance to play with this???
Thank you...
LoadMovieNum Triggering IE Popup Blocker
Hello All,
I have a few movies on my web site that use loadMovieNum (button is pushed to load a movie) and I notice they are triggering IE's popup blocker. Is this expected behavior? Is there a way around it?
Thanks for any help or direction.
Scott
LoadMovieNum Triggering IE Popup Blocker
Hello All,
I have a few movies on my web site that use loadMovieNum (button is pushed to load a movie) and I notice they are triggering IE's popup blocker. Is this expected behavior? Is there a way around it?
Thanks for any help or direction.
Scott
Bypassing Popup Blocker From Flash
I couldn't find a solution for bypassing a popup blocker when launching a popup from flash, but eventually figured one out, so I wanted to post my logic in case anyone else has problems:
I ended up wrapping the flash content in a div and assigning that an onClick handler that called a function to pop up a window. The url to pop up is a global javascript variable initially set to "". I then used ExternalInterface to call a function that sets the global url variable in javascript. It works because the external interface gets called before the onclick handler. So in the onclick handler's function it checks to see if the global url variable is set and if so, then launches a popup. Once the pop up launches, the global url variable is reset to "". It seems to get through most popup blockers, but I haven't tested them all.
Detect Popup Blocker And Alert User
Hello,
My swf opens another browser window on the same domain using this code
myVars.send("SaveInfo.asp", myVars, "POST");
The script that the variables are sent to saves customer information to a database. Every once in a while a customer will complain that their information was not saved and it is apparently because the window that needs to open had been blocked. I do make mention in the instructions that pop-up blockers must be disabled in order to save their information but we all know how people skim over or skip the instructions....I'm one of them
Anyways, I've done some searching and found ways to create and manipulate popup windows from Flash, but I'm not finding a way to determine if this popup window successfully opened to save their information. I would like to be able to alert the user if the popup was blocked and inform them that their information was NOT saved.
Any suggestions here?
Thanks
Popup Blocker Detection In Flash? (FMX04)
I have seen popup blocker detection script in Javascript that will alert folks that a window did not launch due to a pop-up blocker. What I was wondering is, is it possible to detect that within flash and play a movie if a popup blocker is enabled? I need to forewarn folks that certain areas of this flash site require popups and that they have them blocked currently.
Bypass Popup Blocker Useing Flash
Hey Everyone,
I have a small issue with a flash gallery being blocked in MSIE - I have a flash button that has an action to open a new 400 x 600 window on the same page to display the gallery.
I works fine but I would like some feedback from you guys on how I should handle the annoying popup blocker.
If anyone know how to bypass it let me know -
Thanks in advance
Popup Blocker GetUrl Action Script
Hi,
I have a simple flash banner ad that I placed a transperant box over with the following action script attached to it:
Code:
on (release) {
getURL("http://myurl.com", "_blank");
}
The problem is Internet Explorer 7 is blocking the window when you click it. Does anyone know a way to get around that?
Also, what is the best way to have the flash automatically activated in internet explorer 7 w/o too much javascript? I'm placing the advertisement on someone else's site, and I don't think they want too much javascript for my ad.
Thanks for any advice!!!!!!!!
How Can Flash Be Added To Web Page And Not Be Stopped By Popup Blocker
Any time I add flash to a web page and try to preview it the popup blocker stops the flash content and I have to allow (blocked content) in order to view entire page. The question realy, is it possible to build a web page in flash that won't get auto blocked by popup blocker.
Tanks in advance for any help. Peter
Dynamic Text Link Caught By Popup Blocker
I'll start off by saying it's way to late to look for another method of doing this. Just hoping i can tweak something:
i have a dynamic text field, with text that has been typed into it. Some of that text has been given a link, via the property panel's URL link input field.
Problem: when i choose target: _blank, Firefox is catching treating this as a popup, not a _blank window as in HTML. The popup blocker in Firefox is preventing a new window from opening.
Any ideas?
How To Avoid Popup Blocker When Using Flash Paypal Button?
Hi. I'm having trouble with a portion of my site that contains a flash paypal button. When the button to "buy" is pressed on a PC - the paypal page is blocked by popup software in IE. The paypal page is blocked on the PC until the popup blocker is disabled by holding the ctrl key while clicking the "buy" buttton. The swf containing the paypal button loads in level 1 of the parent swf. Paypal window should open in a blank but is blocked.
See the site: http://circlesandsquares.biz/
Please click the shopping cart icon, then the handbag icon, then the top banner that says "circles & squares". any thumbnail brings up a page like the one in question. Any help is much appreciated!!
Flash Button + Full-screen Window = Popup Blocker ?
I came across the following javascript code that creates a fullscreen pop up window from a rollover button (html/javascript) that appears to be unaffected by popup blockers in IE (or at least on my computers it's unaffected). However, when I adapt the button code to actionscript for use with a flash button it starts to trigger the popup blocker. Can someone help me figure out the correct actionscript to make this work without being blocked?
---------- Flash Button (Not working properly) ----------
on (release) {
getURL("javascript:openNewWindow('main.htm','0','s creen.availHeight','screen.availWidth')");
}
---------- Javascript Button ----------
<a href="#null" onClick="opensesame('main.htm',0 ,screen.availWidth, screen.availHeight)" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('portfolio','','splash/sn_port_over.jpg',1)"><img src="splash/sn_port.jpg" alt="portfolio" name="portfolio" width="206" height="37" border="0"></a>
---------- Javascript head code ----------
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
window.open = SymWinOpen;
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
var aw = screen.availWidth;
var ah = screen.availHeight;
var vWidth = screen.width;
var vHeight = screen.height;
function opensesame (url, full, w, h) {
var opts = "width="+ w +",height="+ h +",scrollbars=0";
if(full == true) opts += ",fullscreen=1";
//opts += ",top="+(ah-720)/2+",left="+(aw-1000)/2;
opts += ",top=0,left=0";
var ow = window.open(url,"ow",opts);
ow.focus();
}
var win = null;
function newWindow(mypage,myname,w,h,features) {
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
if (winl < 0) winl = 0;
if (wint < 0) wint = 0;
var settings = 'height=' + h + ',';
settings += 'width=' + w + ',';
settings += 'top=' + wint + ',';
settings += 'left=' + winl + ',';
settings += features;
win = window.open(mypage,myname,settings);
win.window.focus();
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
Firefox Popup Blocker Is Blocking Flash Banners Regular GetURL?
Are there any solutions to this? It seems Firefox is blocking every other banner.
We are using just the regular getURL with "_blank".
Has this something to do with the embedding of the flash or is it just highly annoying Firefox bug? Are there any javascript solutions that I'm not aware of?
Thanks in advance..
Beating The Login
I have a flash movie that starts out with a login. It's purpose is just to give the user a username. I want them to be able to use spaces, but I don't want them to just hit the spacebar a bunch of times. How do I make sure they use some combination of letters and numbers and not just a bunch of spaces and making it look like there is no name?
I restricted what they can input by using:
myText_txt.restrict = "A-Z a-z 0-9";
And, I can use the code below, but it won't help if they hit the spacebar.
if (myText_txt != "") {
//login;
}
Any suggestions?
Ok, I've Been Beating Around The Bush But I Can't Figure It Out
I've been trying to get ideas to help me with what I'm trying to do, and everyone HAS helped me a lot... but I still can't figure it out! What I'm trying to do is have a ball always moving right; when it reaches a certain point... say frame 15 or getTimer()+whatever, then it will start over (moving right) but the rotation will be random and it will resume from the position that the last frame was at. So it's constantly moving, after a while it will turn a random direction and go that way, after a while it will turn... you get it. I've tried everything! OY!! If you want me to say what I've tried so that you have a starting point or so that you can see what I was doing wrong, please say so. Thanks
I Know Im Beating A Dead Horse.....
But someone has to have an idea
Here we go
Ok, I have a flash movie, this flash movie is a map with 52 movie clips, they all have an instance name of "section" with a number after it IE: section0 section1 and so on. Ok, In the main coding of my movie I have XML that passes thru ASP that changes the color of the movie clips depending on the variable that is in my database. I use SQL. Here is the coding in my movie
"
/* function sectorArray(){
var msectors, varColor, sid, ftxt
for(i=0;i<=rcrXML.childNodes.length;i++){
if(this.childNodes[i].nodeValue == null && this.childNodes[i].nodeName =="sectors"){
msectors=this.childNodes[i];
}
}
var msector
for (q=0;q<=msectors.childNodes.length;q++){
if(msectors.childNodes[q].nodeName=="sector"){
msector=msectors.childNodes[q];
sid=msector.attributes["id"];
for(j=0;j<=msector.childNodes.length;j++){
if(msector.childNodes[j].nodeName=="color"){
varColor=msector.childNodes[j].firstChild.nodeValue;}
}
changecolors(varColor,sid)
}
}
}
function changecolors(varColor,sid){
ftxt=new Color("section"+sid)
ftxt.setRGB("0x"+varColor)
}
rcrXML = new XML();
rcrXML.ignoreWhite = true;
rcrXML.onLoad = sectorArray;
rcrXML.load("zRcrXml.asp?mdsid=2")
stop ();
||||||
That is the code INSIDE the movie. My actual xml/asp file has this
"
<%option explicit
dim cn, rs, sql
Set cn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")
Response.Buffer = true
sql="SELECT * FROM vw_RCR_Mapdata WHERE mdsid = " & request.QueryString("mdsid") & "; "
'Response.Write sql
'Response.End
cn.Open "provider = SQLOLEDB.1;Initial Catalog = OGToolsDb; Data source = Webapps; user id=fsfxsb07; password = "
rs.Open sql,cn
%><?xml version="1.0" encoding="iso-8859-1"?>
<sectors>
<%
do until rs.EOF%>
<sector id="<%=rs("secid")%>">
<rcr>"<%=rs("Rcr_Value")%>"</rcr>
<secname>"<%=rs("Name")%>"</secname>
<%'Check for runway surface conditions for this secid
'Response.Write rs("secid") & ", "
'Response.Write rs("Rcr_Value") & ", "
'Response.Write rs("Takeoff_Landing") & ", "
'Response.Write rs("WaiverThreshold") & ", "
'Response.Write rs("TaxiThreshold") & ", "
if rs("secid") = 0 or rs("secid") = 5 then
'Comparison between takeoff threshold for the runway and rcr
if rs("Rcr_Value") < rs("Takeoff_Landingcaution") then
if rs("Rcr_Value") >= rs("Takeoff_LandingRed") then
'Assign yellow as the color
%><color>ffff00</color><%
else
'Assign red as the color
%><color>ff0000</color><%
end if
else
'Assign green as the color
%><color>00ff00</color><%
end if
else
'Comparison between taxi threshold for the rest of the airfield
if rs("Rcr_Value") < rs("Taxicaution") then
if rs("Rcr_Value") >= rs("TaxiRed") then
'Assign yellow as the color
%><color>ffff00</color><%
else
'Assign red as the color
%><color>ff0000</color><%
end if
else
'Assign green as the color
%><color>00ff00</color><%
end if
end if
rs.Movenext
%></sector><%
loop
%></sectors><%
rs.Close
cn.Close
set cn = nothing
set rs = nothing
*/
||||||||
My question being, there has to be some way possible, to make a code that allows me to mouseover any of the movie clips, and they display the variable in the database that corresponds to their individual section number
Or am I just not going to get it cuz its not possible????
Delay Action Is Beating Me
I have a movie clip that comes to meet the mouse when the mouse hovers over the botom portion of the stage. The clip is scripted to move only along the x axis. When the mouse leaves that bottom area, The movie clip flies off the stage to the left or right, depending on which is closer.
What I want the movie clip to do is wait a few seconds before it flies off the stage when the mouse leaves the bottom area. That way if the mouse wanders from that area for a second or two, the movement of the movie clip won't be annoying. Here is my code:
onClipEvent (enterFrame) {
if (_root._xmouse<795 && _root._xmouse>05 && _root._ymouse>405 && _root._ymouse<445) {
var distance = _root._xmouse-this._x;
if (this._x != _root._xmouse) {
this._x += .15*distance;
}
} else if (this._x<401) {
var homing_distance = -120;
if (this._x != homing_distance) {
this._x += .15*homing_distance;
}
} else if (this._x>400) {
var homing_distance= 820;
if (this._x != homing_distance) {
this._x += .02*homing_distance;
}
}
}
I have been messing with gettimer, but I can only get the delay to work once. I think set interval might be the key. Please help, this is driving me nuts!
Thanks
Heart Beating Tween
How can I implement a tween simulting the heart beating.
var myTweenX:Tween=new Tween(myShiningLogo,"scaleX",Bounce.easeOut,1,0.6, 1,true);
var myTweenY:Tween=new Tween(myShiningLogo,"scaleY",Bounce.easeOut,1,0.6, 1,true);
this is almost what I want. But I would like the object to come back to initial dimensions. Should I use other 2 tweens ?
Beating The 16,000 Frame Barrier Without LoadMovie()
Heya folks.
I've been working ona personal Flash project for quite some time now. I was oblivious to the 16,000 frame limit until now. My movie is running at 30 fps and is between 10-12 minutes long, so as it turns out I'll be exceeding this limit by a fair amount. Cutting stuff out of my film or reducing the fps is not an option at this point in development, and this all need to be contained in one SWF. I really want to beat the barrier, and I have an idea, but I wanted to throw it out there to make sure it will work before I go through the trouble of doing it.
I'm assuming 16,000 frames is the limit for the main timeline, but the timelines of movie clips exist outside of this barrier. Could you realistically compile half the movie into an 8000 frame movie clip, put the other half of the movie into another 8000 frame movie clip, and then put these two movie clips on a 2-frame movie? The first movie clip would have actionscript that moved the main timeline to the second frame (and the second half of the movie) when it completed its 8000 frame run.
I've never tried this before. Would this work without defying any of the frame limits? If this idea is even theoretically sound but I'm missing something important, any advice is greatly appreciated. Thanks for your time.
Beating My Head Against A Wall Over Mappings And External Data
Ok, here's what I need to do.
I have a set of options, such as eye color. There are a variety of choices.
The choices are based on a previous variable.
What I would like to do is have an external file contain these choices in a mapping, such as eyecolor = (["blue", "green"])
In flash, I'll have a dynamic text box to display the choices (one at a time), and a left and right arrow to cycle through the various possibilities.
What's driving me crazy is turning those externally defined mappings into something flash can use, probably an array. That way I can have the buttons control a function that cycles through the array's indexes.
Any suggestions are greatly appreciated.
XML Resize Thumbs (hope I'm Not Beating A Dead Horse)
Hello everyone! I've been all through these 60 some pages on this subject and didn't find what totally what I was looking for... of course eye strain might be a problem so if there is a thread to something I ask please tell me. I apologize in advance if I do. This is my first ever thread also.
Here is a zip of all my files so far. http://marazita.com/funstuff/gallery.zip First here is the link to Scotty's thumb resize that I've put into my .fla. V3_with_thumbs zip Mine doesn't work because what I'm trying to do is make the thumbs replace the mc's that I've added (each with an instance name thumb1, thumb2, etc.). As an artist I like to group images that belong in a group. Sometimes a group can have 3 sometimes 4, etc.. This is what's been wrong with what I've found in the threads so far. They've just been lumped into a certain amount to columns and rows. If you look at my files you'll understand better. I was also hoping that the thumbs would load like this zipped file http://marazita.com/funstuff/gallery_preloadthumbs.zip (which is another nice dynamic loaded one that you don't have control over either). Any help will be greatly appreciated and at the end I'll post my finished file to share with everyone since I've gained so much from this site I would like to also give back. This will help a lot of artists out there I'm sure. Thanks to all that help in advance. I have other questions... but lets do baby steps at first.
-Justin-
www.marazita.com
Help With Loading External Movie Clip(beating A Dead Horse)
Hello folks, I seem to have run into some problem with a project of mine. I have a Main movie which loads multiple external movies. I am using an empty movie clip called contents to load them into.
one of my external movies has a button in it that launches a centered pop up window(kirupa tutorial). This external movie named site works perfectly by itself, but when loaded into the main movie, the button does not work. I'm using:
on (release) {
_root.contents.loadMovie("site.swf");
}
any input would be greatly appreciated.
Help With Loading External Movie Clip(beating A Dead Horse)
Hello folks, I seem to have run into some problem with a project of mine. I have a Main movie which loads multiple external movies. I am using an empty movie clip called contents to load them into.
one of my external movies has a button in it that launches a centered pop up window(kirupa tutorial). This external movie named site works perfectly by itself, but when loaded into the main movie, the button does not work. I'm using:
on (release) {
_root.contents.loadMovie("site.swf");
}
any input would be greatly appreciated.
IE Pop Up Blocker
Last edited by DeepSun : 2007-12-29 at 07:50.
Hello
Please could you help me with IE Pop-up blocker. I'm using this code in flash:
butt.onRelease = function() {
getURL("javascriptpenNewWindow('http://www.somedomain.com/file.html','thewin', 'height=360,width=600,toolbar=no,scrollbars=no')");
};
,a this one in HTML:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
If IE Pop-up blocker is "on", I can't open a window.
Does anyone know how to solve this problem?
Thanks
Pop-Up Blocker Question
My website relies on a pop-up window, which I am learning is blocked by many of my potential viewers. How hard is it to override the pop-up blocker?
Button Blocker?
Hey All!
I need some simple AS for blocking the use of a button on a particular frame.
example.... In a timeline based site, if your located on the "home" frame, I dont want to have the use of the home button. So I really just need some script to shut the use off while on that frame.
I'm sure someone knows what this is.... and I know its just a little line of script.
Please help!
Thanks!!!
Firefox Pop-up Blocker
hey there
I've just learned how to add a link to a button, but when viewed in firefox it wants to open up a new tab, and the popup blocker stops the new page from loading. (Seems to work fine in Safari, however)
here's the script I put in the first keyframe of the timeline:
big_button.addEventListener(MouseEvent.CLICK, goWhere)
function goWhere (evt) {
var url = "page2.html"
navigateToURL(new URLRequest(url))
}
there's a video clip that runs in a later frame of the swf, could that be part of the problem?
thanks for your tips!!
Edited: 01/05/2008 at 02:54:42 PM by luckymac
Bypass Win Xp Pop-up Blocker?
Hello, I have loaded an external textfile into flash with links, but if you click on the link under Win XP the new window gets blocked by the pop-up blocker. Is there a way to bypass it? My clients would go nuts disabeling the pop-up blocker all the time :S
Thank you very much in advance!
Right Mouse Button Blocker ? :-)
How to block functionality of RightMouseButton in NetBrowser ShockwavePlugIn? For Standalone Player is "fscommand", but for PlugIn :O ... (Sorry if here are errors in this txt - I'm not well in English language).
For PL users:
Jak zablokowaæ prawy klawisz myszki w pliku *.swf odtwarzanym na przegl±darce internetowej? :O
otx@o2.pl
Pop-up Blocker Detection Script
Does anyone know how to detect pop-up blockers?
I just visited a site that has a very nice way of detecting if the client's browser has pop-ups blocked.
http://www.bobbretttennis.com/index.html
It presents the visitor with an alternative page with a message that informs the user about the pop-up blocker and gives them a link back to the home page. I think the alternative page is http://www.bobbretttennis.com/bye.html.
Avoiding IE Security Blocker With Active X
Im new to the flash and web design. I been having this nagging problem concerning the security of Active x. I notice that sites with flash content don't give me that "IE has resticted this file from showing active content". But when I test my page, it gives me that. I don't have a host site yet, will this problem go away when I upload it to a server?
Second...I use the EXPORT MOVIE instead of publish for my flash content. Being that I use dreamweaver to place the content in a table is this the best way to go?
GetUrl From A Button Blocked By The Pop-up Blocker
I have a SWF movie with a button in it that opens a sitein a new window.
But some how the link does not open because of the popup blocker blockes it although it is triggered by the user.
maybe you have an idea what can i do?
Blocker Problems In Flash Game
Hi everyone
I’m trying to create a game whit mouse control and I’m having some problem creating a blocker.
When I click whit the mouse so that the ball moves form A to B if a blocker is in the way the ball reappears at the starting point and try’s again until you stop it.
Expected: when the ball hits the blocker it should stop.
I used this code for blocker:
if (hitTest(_level0.wall)==true) {
_x=_x-2;
Redesigned The Game Still Have Blocker Problem
I’m trying to create a game whit mouse control and I’m having some problem creating a blocker.
I want to make’ it so that if an object is an the way the other object should stop right before.
If the controller was whit the keyboard I cud use the hit test, whit the mouse control it doesn’t work
This is a link to the game http://www.orasulcarei.com/popescu/joc.fla
[AS3] NavigateToURL And Firefox Pop-up Blocker Problem
Hi, im using this code
Code:
navigateToURL(new URLRequest("http://www.knorcedger.com/"), "_blank");
and i use firefox, which blocks flash from opening a new tab. I read around internet, and i find out that it may be possible to make it work with javascript.
Can someone write an example on how to do it with javascript, or any other possible way?
Pop Up Blocker Interfering Loadmovie Functionality
Hi guys,
I have a website containing a flash movie which loads other movies using loadMovie. Unfortunately, those movies were not loaded at all, and then I figured out that when I set the popup blocker off, then the movies are loaded normally. As long as it is on, the movies are not loaded.
This is something totally new. Why is it doing this? How can I avoid this problem? I want all the visitors to be able to see the content .. they obviously won't know what they're waiting for or what they're expecting, and I don't think that anyone would guess their popup blocker is causing something!!
[MX04] Vars.send Stopped By Pop Up Blocker
The code below causes IE7's and Firefox's pop up blocker to trigger. I don't so much care that 'Information Bar' appears in IE, allowing the user to either allow or keep blocking pop ups from my site, what I have a problem with is that if the user right clicks the 'Information Bar' and chooses 'allow popup' then my swf reloads taking the user back to the homepage! With firefox, when the user clicks 'allow popup' the swf does not reload, which is what I want for IE.
Code:
home.SubmitPaypal.onRelease = function():Void{
Vars.send("https://www.paypal.com/cgi-bin/webscr", "_blank", "POST");
}
Thanks.
Using Target _blank Generates Firefox Pop Up Blocker
I've some html formatted text that is loaded from an xml file into flash. My problem is that an html link with the target="_blank" activates the firefox pop up blocker.
<link>
<![CDATA[<a href='http://www.myurlhere.org' target='_blank'>www.myurlhere.org</a>]]>
</link>
I tried a solution from flashloaded that recommended using the asfunction as below:
this on my fla timeline:
function openLink(url_str) {
getURL(url_str, "_blank");
}
this in the xml
<link>
<![CDATA[<a href='asfunction:_root.openLink,http://www.myurlhere.org'>www.myurlhere.org</a>
</link>
this still activates the firefox pop up blocker
I would welcome any ideas/solutions
thanks
|