ActionScript 3.0 :: Get Pop Up Blocked When Using NavigatetoURL

Jul 14, 2008

I'm fairly new to actionscript. I have created a flash banner ad that is now hosted on a site. Whenever somebody clicks the banner IE responds witha a "pop-up blocked"!

The code that handles this is:
ActionScript Code:
clicky.addEventListener(MouseEvent.CLICK, gotourl);
function gotourl(e:MouseEvent):void {
if (root.loaderInfo.parameters.clickTAG.substr(0,5)=="http:") {
navigateToURL(new URLRequest(root.loaderInfo.parameters.clickTAG),"_blank");
}}

Where "clicky" is a SimpleButton that covers the entire flash. clickTAG is passed as an argument as to where to navigate. If I allow pop-ups everything works as it should! Howvere disabling pop-ups shouldnt be needed - and i see that other flash ads on the site works without and pop-up warning.

View 9 Replies


Similar Posts:


ActionScript 3.0 :: NavigateToURL Vs Blocked Pop-up Windows

Apr 25, 2011

Assuming that I want to open some html file placed on server with the use of navigateToURL: navigateToURL(new URLRequest("MyDirectory_1/MyDirectory_2/index.html"), "_blank"); Html opened in this way makes browser treat it as a pop-up window. As a result the html is blocked by browser.

View 2 Replies

Actionscript 3 :: ExternalInterface / NavigateToUrl Popups Blocked When Called From SetTimeout?

Sep 19, 2010

The Symptoms: pop ups intermittently blocked/let through from external interface and navigateToURL combinations.The Problem: Flash (or the browser..not sure) wont let pop ups be triggered outside of a time range and/or an event duration.The Environment: I have an app that needs to send data via zendAMF, do some processing and be sent back to the flash player. On the response, if certain conditions are met true - then trigger a pop open window. The same code that gets blocked on response, works directly from a mouse event trigger.So i set up a basic situation: 6 buttons, calling 3 methods. 3 buttons would call the method directly (all open the window perfectly) the other three would get the value of a numeric stepper, and use setTimeout(openWinMethod, NumericStepper.value) to simulate a delayed call from the zendAMF response.

UPDATE : if i select the 'navigateToURL, no delay' button first, close that window, then try any of the other delay calls - they work. its like the browser accepts that you have clicked to open a window at some point and therefore are allowed to call from a delay then on. (firefox only)All three using the delay would be blocked (firefox and chrome) whereas all three directly would open.afari - as well documented, would only work on the 2 methods using navigateToURLf interest: the js function in the html wrapper would be called be external interface to open a window. Without a delay this worked. With a delay, the js function would be called (as verified by some alert statements) but a new window was never spawned./popup/

here is my as3 class:
package
{

[code].....

View 1 Replies

Flash :: Gets Blocked By ISP

Oct 2, 2011

I have developed a set of flash games which are being used by several schools across the UK. For some odd reason, the school cannot seem to load the Flash games.

Upon contacting the ISP (SWGFL) - I was told that the network would automatically block flash games. This is all well and good BUT the school in question is able to load the following flash game[url].

I am currently using a PHP layer to communicate between Flash and a MySQL database. I was wondering if anyone knew any reasons as to why this might occur? Is there some kind of header() protocol I need to add to bypass this flash blocking?

View 1 Replies

ActionScript 2.0 :: RSS Feed Blocked?

May 26, 2011

I've created a flash with an RSS feed inside it, I've seen it work on other websites but it won't work when I upload it to my server. I've tested it and had to authorize it on my local computer and it's all there, but flash seems to have blocked it when it's online, Here's my AS code, I'm using flash 8

Actionscript Code: [code].....

View 2 Replies

ActionScript 3.0 :: Clicktag - Pop-ups Blocked In IE

Oct 27, 2010

I'm just finishing off my first bannerproject in AS3, but I'm having some issues with the clicktag. The code I've used works just fine on all browsers except IE, which blocks the popup window. I've figured I'm supposed to use the externalinterface call to work around my IE problems. Something like this...

[Code]....

View 0 Replies

ActionScript 2.0 :: Popups Being Blocked In IE?

Dec 8, 2008

I am using AS2.0 and SWFObject to integrate an audio player into a website. I have built a button that launches the player into a seperate window so that people can surf the site and listen to the music simultaneously. There is only one problem!! In IE the window is being block by the browser's inbuilt popup blocker. I have tested other sites that feature similar functionality and popups are not blocked!?

Has anyone experienced this issue before and do you have a workaround?

Site I am referring to = [URL] An example where popups are not blcoked = [URL]

View 3 Replies

Links In Flash Site Pop Up Blocked?

Oct 7, 2009

I have a website located at: tonywilford.com made entirely of flash. However when I click on any outside link like on my contact page , it detects it as a pop up and doesn't open it.I know I can disable the pop up blocker but how can I make it not do this for the everyday ordinary non technical visitor?What I was trying to do (which may caused this) is when a link was clicked it would open in another tab instead of opening in the same window. If possible, I'd still like to achieve this.

View 1 Replies

CS3 GetURL Is Blocked By Flash Player

Dec 27, 2009

I'm making a sort of portfolio movie using flash which I intended to use for directing to different locations in the Web concerning me; my already uploaded flash movies, sites, creations, projects, etc.

It quickly seems all my work till now might have been for nought: when I click on a link in my published flash so far, it displays this message:

"Adobe Flash Player has stopped a potentially unsafe operation.

The following local application:

(swf path)

has tried to communicate with this Internet-enabled location:

(link target)

To let this application communicate with the Internet, click Settings. You must restart the application after changing your settings."

As you can probably understand, I cannot expect visitors to my site to manually configure their player for every single of the tens of links I have in my movie. Is there any way I can convince Flash Player that my links are not potentially unsafe?? I am using Flash CS3 and AS2.

View 4 Replies

Blocked Flash Content On Website?

May 16, 2009

I have recently had a new computer, and I run my own website containing various Flash animations. I have had to reinstall all my software packages onto my new machine incl. Dreamweaver and my FTP program. I've just uploaded my website, but none of the Flash content is able to be viewed online. It works perfectly when viewed via Dreamweaver, but is just not visible on the Net, as if something is blocking it. All other Flash websites, apart from mine are working fine.

View 1 Replies

Flash - AS3 Graph Api -> Popup Blocked?

Jan 16, 2012

we developed an as3 facebook application (http:url....), but unfortunately the authenification popup is blocked in all major browsers (ie, ff, chrome), which leads to a high rejection rate for our campaign.If I have a look here ... http:[url....These fellows used the same api (http:url.....), I checked it with a decompiler and their popup is never blocked!.

View 1 Replies

ActionScript 3.0 :: Flash To Php -. Php To File ... Blocked Somewhere

Jun 28, 2009

so i have this sending info the php

[Code]....

so i published the opinii.swf file and puted all necessary in wamp / www. the javascript file to run activecontent the html file and the swf file.+save.php; [URL] this is where i acces it

View 0 Replies

ActionScript 3.0 :: Mouseposition Interactivity - Blocked By Image?

Jun 28, 2011

I'm using flash to build banners among other things. Today I experienced a problem with a banner with mouseposition interactivity. The expected interactivity was blocked by a transparent gif that lay on top of the banner and apparently was there to track and handle clicks. It's a ad component for Joomla called Ijoomla Ad Agency. There is no way to make the ad component work in another way.

View 8 Replies

Flash :: Professional - Links Being Blocked By Player

Nov 21, 2011

I have been designing an AS2 site for he last 2 months and i have some links to external sources on the site. The only problem is when i try to access those links from the movie or even from the browser it just pops that error message...How do i get rid of this error!

The error reads: Adobe Flash Player has stopped a petential unsafe operation. the following local application on your computer or network: M:path...is trying to access with this internet-enabled location: [URL]

View 1 Replies

Actionscript 3 :: Flex Event Blocked By Another Object

Jan 19, 2010

I am using a box element to add a transparent overlay to a column of buttons. I want to add a click event to the buttons. However, when you click a button the click event is only triggered on the overlaying box. Is there anyway to pass the event to the underlying button or perhaps a better way to display an overlay without blocking the click event?

View 1 Replies

Flash - Can Flex Application Be Blocked With Adblock?

Jun 24, 2011

Can it be blocked with an adblock like Adblock Plus or others...

View 1 Replies

Flash :: Why Get Blocked When Upload With Multiple URLLOADERs?

Sep 19, 2011

I want to upload images with multiple URLLOADER s,so that i could save the time when waiting for the COMPLETE_EVENT.

Sometimes it could get blocked,and it does not give a completion event, does not give a security error, does not give a status event and does not throw an exception. It simply never fires any event at all.

private const RO_NUMBER:int = 2;
private var roPool:Array = new Array();
public function init():void {

[Code].....

the load operation is asynchronous and single thread .why could this get blocked?

View 2 Replies

Data Integration :: Loadvars Blocked When Run From Powerpoint 2003?

Sep 8, 2006

I have done many assignments where I have developed Flash movies that access external databases over a web pages and present the results in custom made graphs. Perfect for scorecard applications etc. The main benefit of using Flash has been that the whole thing can be embedded and run from PowerPoint,

[Code]...

View 1 Replies

ActionScript 3.0 :: MouseEvent.CLICK Blocked By Child Bitmap?

Jul 4, 2010

If anyone has come across this problem or is educated enough so that you may come up with a working solution then please post here. Okay so at the moment I have 2 swfs. One swf is the main swf, which contains a class called Avatar. This class extends Sprite and has 1 child, which is a bitmap image.
 
What I do is load the child swf into the main swf, create an object of the Avatar class and pass the Avatar object down to the child swf. The child swf takes this object and adds it to a Sprite object as one of it's children. Then I add an event listener for MouseEvent.CLICK to the Sprite object (the one containing the Avatar sprite) that is in the child swf.
 
Now when I go to click the Avatar bitmap inside the Sprite inside the child swf. The mouse click event does not fire.

View 2 Replies

Professional :: Create Motion Tween Option Blocked Out?

Dec 19, 2010

Basically, I created an image and converted it to a movie clip. Inside of this movie clip, I create a new layer and I give both layers 70 frames. On the top layer, I then draw a path, right click on the layer, and choose guide. I then drag and drop the bottom layer, which represents my movie clip, under the guide layer. The next step is to right click on the bottom layer, my object layer, and choose create motion tween. This for me however is blocked out, and my only option is to create a classic tween.

Just as a note, I am using CS5 and the tutorial I am following looks to be using an older version. Additionally, they don't right click on the layer and choose motion tween. They select the layer and from like their properties panel, they have a tween option, and from the drop down, they choose motion. I cannot find this option box in my interface however. Is there any logical reason why it wont allow me to do a motion tween?

View 2 Replies

ActionScript 3.0 :: Screen Reader, JAWS Blocked By Swfobject

Sep 18, 2009

SWFObject seems to prevent my screen reader from reading my Flash content.

See: [URL]

View 0 Replies

ActionScript 2.0 :: New Browser Window Is Blocked Using GetURL In Fullscreen

Jul 7, 2009

I'm trying to open an url when in fullscreen mode, but when using getURL firefox3 is blocking the url..

when I exit the fullscreen mode the links are working,

the project is in as2, flash 9

( clicking on an link that take's you to an external page gets blocked in FireFox3 )

View 1 Replies

ActionScript 3.0 :: Facebook Connect Popup Blocked By Some Navigators

Jun 6, 2011

I made a websites which needs the user to login to Facebook. It uses the facebook API to check if the user is logged or not; and the API opens a popup if he is not logged.

[Code]...

Facebook.login(FBfinishedLogin, {perms:"publish_stream,user_location"}); The problem is that with some of the browsers (eg. Safari); the popup is blocked. It is the API and not my code which launches the popup so I have no control on it.

View 2 Replies

Javascript :: Facebook Sdk Login Dialog Blocked When Invoked From Flash?

Feb 27, 2012

I have a SWF file that calls some javascript which shows the facebook login dialog via the javascript sdk.this all works fine, except for that fact that pop-up blockers block the login dialog, as it isnt invoked from a user action, but from flash.

View 1 Replies

ActionScript 2.0 :: Popup Window Form Flash Button Blocked From Ie?

Feb 26, 2010

What I need is a new window with fixed dimensions... I found a script somewhere in the web that works fine with firefox but with ie (I tested only in ie8) the built-in popup blocker is preventing the window to open...Here is the code use:For the flash button:

Code:
on (release) {
getURL ("javascript:openWindow('mypage.php','newWindow','toolbar=0,location=0,directries=0,status=0,menubar=0,scrollbars=1,resizable=0,width=480,height=650,left=80,top=180')");
}

In the head section of the page that contains the flash movie:

Code:
<script language="javascript">
function openWindow(URL,windowName,windowProperties)
{newWindow=window.open(URL,windowName,windowProperties);}
</script>

View 2 Replies

ActionScript 3.0 :: Video Conferencing - Camera Blocked When Timer Event Fired

Apr 18, 2011

I am trying to make an application which will do the video conferencing. I have read some article on actionscript and started making the application. I am capturing image from web cam and copy it in an array which acts as a buffer. Then I am running a timer which pops each image from array and converting it into bytearray and send it via socket. When timer event is fired camera gets blocked and the whole process gets slow down. Is there anyway to do the video conferencing smoothly ?

View 2 Replies

Professional :: SWF Basic Image Slider Causes "Blocked Script" Warning In IE

Jan 1, 2012

I just recently coded a basic image slider/slide show in Flash CS5. Bassicly, it's just a bunch of images that slide via motion tween in and out of view (Like on the right side of Pizzahut.com, my clients insperation) but, when published and thrown into my HTML, it causes Internet Explorer to give the "To Help Protect Your Security, Internet Explorer has prevented this webpage from running scripts or active X Controlls" and you have to click the little bar at the top and select "Allow Blocked COntent" for the slideshow to work. I specifically coded this show in flash (Published as an SWF) to avoid this warniong (As opposed to J-Query) and I have sites that I have made with similar SWF image sliders that don't through up this warning [URL]

View 4 Replies

ActionScript 3.0 :: How To Use NavigateToURL

Jul 31, 2009

i have an xml file and i have created a gallery that loads thumbs at the start.what i want is that when user click on one of the thumb then it should open the big picture in another browser. i actually use it for swf files. swf files will be loaded in other window. my code is here

Code:
var xmlLoader:URLLoader = new URLLoader();
var imageLoader:Loader;
var xmlList:XMLList;

[code]....

View 0 Replies

ActionScript 3.0 :: NavigateToURL With PHP POST?

May 1, 2009

PHP Code:

var req:URLRequest = new URLRequest ("http://localhost/SE/processimage.php");
var vars:URLVariables = new URLVariables ();
vars.awd = "awd";

[code]...

When I load that url the variable is sent using the GET method instead. It appears in the url in the browser and the browser shows an error first then "awd", meaning it worked for $_GET. I tried both req.methods and tried adding "_self" and "_blank" and also on different browsers. It still uses GET.

View 2 Replies

ActionScript 3.0 :: For Loop And NavigateToURL

Feb 4, 2010

I'm having problems with creating a for loop to work with my CLICK state with navigateToURL.Can someone please show me the ways of my errors. I'm sure it is simple. Been out of the game for a while and coming in new to AS3. The roll states work fine.[code]

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved