ActionScript 2.0 :: Banner Won't Open Link In A New Tab On One Particular Site
Nov 11, 2011
I've gotten a complaint from one operator that my banner won't open in a new tab. Indeed on their site it opens the link on self. Its fine on other sites tho.Btw I noticed all the banners on their site open in self. Including an old banner I did for them with the same [code]...
View 1 Replies
Similar Posts:
Jan 15, 2010
I made a Flash banner ad that I want to put on my site for my client to view. In Flash, when I test it, everything works, button email link. I import it into the body of my DW html page, test it in DW...works. However, when I upload to my site, the button doesn't open an email link.
Attachments: MatterAd.swf (32.3 K)
View 1 Replies
Jun 10, 2009
I've created a flash naviagation menu and currenlly my links will open a pop up window. I don't want this. I want it to open the link in the same window. Here is the code for one of the links:
var home:URLRequest = new URLRequest("index.html");
function homeDown(event:MouseEvent):void { navigateToURL(home,"_self");}
button_home.addEventListener(MouseEvent.CLICK,homeDown);
View 1 Replies
Aug 16, 2010
I found the solution!
View 4 Replies
May 11, 2009
I'm trying to link a web site to a banner, I've created a button put an action to the hit icon went back to the actions form put the command[code]...
View 1 Replies
Jul 19, 2010
I have created a banner and I need it to link to a URL. The problem is that when I click on the banner my browser opens but it does not go to my URL. My AS3 code (which I copied from this forum) is as follows:
[Code]...
View 5 Replies
Mar 10, 2006
so we have this banner ad system and we plug peoples banners into it. Some people give us .swf files that open to _self or the current window the banner is sitting in.I was wondering if there is a way to force the .swf to open to a _blank window.
View 5 Replies
Jan 13, 2009
We recently decided to add a flash banner to our site which calls an xml file which loads the price and name for 5 separate products and keeps looping through until a user clicks a product. Unfortunately, it appears each time the file loops it calls another iteration of the xml file -- so if a user opens our homepage and walks away the xml file could be called 100s of times. My question is, can we set up the actionscript so the xml file is called just once?
View 1 Replies
Dec 24, 2010
Specs:
Windows 7 Ultimate 64-bit Browsers: IE (64-bit),
Chrome & Safari Flash Player: 10 ActiveX & 10 Plugin
Coded in Action Script 2
I made a flash banner to my friend so he could upload it on his site. [URL]. Image:
The flash banner on top loads in Mac OS X in every browser I try. On Windows though it works only on Firefox & Internet Explorer Beta 9. I disabled the firewall to see if that work, but no result. There's an inconsistency issue. At my workplace it works as it should. It's also important to note that other .swf files on the net plays fine, so it's only this particular site.
View 1 Replies
Feb 18, 2009
I'm trying to create a flash banner with URL buttons for a html site but I've come acropa and can't figure out why.
Here is my code
[code]...
but why am I getting 2 syntax errors on the URL line?
View 9 Replies
Mar 31, 2009
I am having an issue with making a flash banner clickable. I cant figure out why. I had this site developed by a programmer and he has the site in php with includes files (so the header is in an "includes" folder at the root of my server and the index.php and banner.swf is at the very root of my server).Anyhow, can someone please a take a look at this page and tell me why the banner isn't active to[url]...?[code]...
View 1 Replies
Jan 30, 2009
I've been working on my first full blown flash site for a few weeks, tackling problems as I encounter them, and I've learned a lot...but sometimes the simplest things I cannot figure out for the life of me. All I am trying to do is have some flash banner SWF files play within the portfolio page of my site. I don't want them to open in a pop up or anything just play within the page when the link on my site is clicked. I figured it would act like a movie clip and I could just drop it onto the stage, but when I do that it doesn't look right, loops continuously, and is not interactive. How can I make this work?
View 0 Replies
Oct 29, 2010
Now with Flash Cs4 couldn't find the way to link the banner to other page. this is what i wrote on Actionscript:
inv_btn.onRelease = function() { getURL("http://www.sanpedrofashion.com/contactus.php" "self");}
AND GETTING THIS ERROR MESSAGE:
1084: syntax error: expection rightparen before self.
View 6 Replies
Oct 31, 2010
Still getting two errors message.After created the button with graphic from Flash CS4 using Action script 3.0.
myBtn.onRelease = function[code]....
View 2 Replies
Jan 5, 2011
I have created a basic animation in Flash CS5 and I need to add a clickable URL link to it. I've tried a few tutorials that looked promising, but none of them solved my problem. I've tried a number of things including converting parts or all of the images to simple buttons or movies and linking them that way as well as typing in code for ActionScript 2 and 3, none of which were successful. The animation plays correctly when viewed in my browser, but when I click on it, the link does not work. I would prefer that the entire banner be clickable to take viewers to the linked website rather than using hyperlinked text. Also, when I open the Code Snippets window, it is empty, no matter what image or frame I've selected. Do I need to import code snippets from somewhere or am I simply going about things the wrong way?
View 4 Replies
Nov 2, 2009
I'm working on a website which has advert banners which link to external pages.I've recently added the ability to have flash banners, but am stuck on how to make the banners link without editing the flash file.
The idea is that clients wanting to advertise on the site send a flash advert which is then linked to their site through the CMS, however unless the client embeds the link into the flash file, or add a flashvar parameter which can then pull in the info from the database, the flash banner doesn't link as it's seems not to link being surrounded by an <a> tag.
This is probably a well known thing, but this is my first time doing flash adverts, so I'm coming to it from a completely novice position.Is this something than anyone creating a flash advert would know about and instinctively do or will it need to be instructed to the client before hand, or is there a way to get it to be a link through html?
View 1 Replies
Jan 24, 2011
I have a flash banner and i am using AS 2.0. The code embedded in the flash banner works with any url other that the one i am trying to embed.Here is the code i am using:
on (press)
{
getURL("https://wcc.webeventservices.com/eventRegistration/EventLobbyServlet?[code]....
Somehow flash does not like https links. It works fine with other links.
View 1 Replies
Jul 30, 2010
I am a graphic designer. I do not work with flash too much. I recently make a flash banner for my client but had a problem with linking the flash file to the url. I know actionscript 3.0 little.I used a movieclip (instance name: link_handler) over all content and set alpha to zero. That use this coding:[code]I used _self because i want to open the link to current window. If i use nothing it open in new tab/window. But this causing error when clicked and flash player shows this error.[code]you can see the page here. montana2you.bigcartel(.)com/ The banner is in the footer. (all url replaced by {url} )
View 4 Replies
Dec 12, 2011
Im trying to link a flash banner but seem to be having trouble. I know I need to add the link within Flash on the button or actionscript of the button. I need help with the code. This is for linking a flash banner to a streaming service. I need to add this to the <head> tag: <SCRIPT language=javascriptsrc=" [URL] This is the code that would be used in normal HTML: <Ahref="javascript:callLTR='WECK';grptuner='';file ='';title='';ListenLive();"target=_self>Listen Live</A>
View 2 Replies
Aug 18, 2009
I'm having a little trouble with my flash banner. When I click on my button, it opens the link I specified in a new window or new tab, like target _blank in HTML. I want it to open in the same window, so you're still navigating through the site. Here's my button's code: link_btn5.addEventListener(MouseEvent.... goToURL5); function goToURL5(e:MouseEvent):void{ navigateToURL(new URLRequest ("/forums/index.php "));}
View 4 Replies
Aug 25, 2011
This is an example of a problem I'm having with some fla files not testing. I posted this problem earlier this week but didn't know how to upload the file to the server to be looked at. This is the link to the file that I figured out how to upload
View 3 Replies
Feb 21, 2010
I purchased a flash website template and am in the process of editing my main.fla file. In order to get listed on an advertising website with a higher rating, I have to place a reciprocal link to them on my site. However, I cannot figure out how to place an html link/banner on my site for other businesses. If I paste the html code in a text box, all that shows up is the html code rather than the image and link it is meant to generate.
View 1 Replies
Feb 25, 2011
My client is complaining that the site that will be hosting her banner is refusing to add the forwarding link to her banner (that upon clicking will redirect to her website). I'd like to know how I can add this function to the Flash CS5 banner I have designed. Also, I have a clicktag on my banner if that makes a difference.
View 3 Replies
Oct 13, 2011
We have a Flash banner on the home page and each slide has a link to some other page. Everything works fine, exept in IE.
Basically what happens is that if you click on the banner the first time, the link will work fine and bring you to the new page. However, if you go back to the home page again, then the banner does not even present a link anymore (it will still work fine as far as the banner rotation is concerned - just no more links)..
View 4 Replies
Sep 26, 2011
Is there a cross-browser solution available to give a flash banner an html link, without putting it into the flash itself? (i.e. the Flash has no clickable button in it). I tried giving the surrounding anchor tag a high z-index, but that did not work. I'm using the standard google swfobject to include the flash banner, but am not stuck on using that.
View 1 Replies
Feb 24, 2010
I have a flash banner that references and XML file with an absolute link, whilst I test the banner locally it works fine but when I test it online it doesn't link to the xml file.
View 1 Replies
May 17, 2009
I am trying to have multiple links off site but have hit a brick wall. If I have the code listed below, it opens the second link as soon as you open the links page, If I have the"function onLinkClick (evt)", above btn6_btn I end up with the duplicate error message. Is there a way to have multiple link buttons on a page. I have played with this for hours.
[Code]...
View 15 Replies
Sep 9, 2009
This is what I have so far. [URL]. My problem is trying to code the menu:
I've managed to get the services link to do what I'm after but that is because it is positioned straight after the opening animation in the timeline - that is to have the banner fade out and the bottom line drop down to allow room for the content. From the home page I want each of the links, when clicked, to fade out the banner and drop the banner line down......THEN.......if home is clicked from any of the other pages I want the banner line to move back up and the banner to resume (in my case this is frame 279)
View 0 Replies
May 10, 2010
I'm busy with making a XML banner in AS3. It worked so far with the following code:
Code:
Select allvar xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
xmlLoader.load(new URLRequest("private"));
function LoadXML(e:Event):void {
[Code] .....
And it worked! It bypassed all the browsers popup blockers, but it brought in some new problems. Every time the .swf loops. The addeventlistener adds a listener. So if the .swf loops 5 times it will open 5 windows when I will click it. I've tried to use removeeventlistener but with no success so far. In the code without the popup bypass this problem didn't occurred. Probably due the new URLRequest. But I don't know how to use this in the javascript. The other problem is the string of the link. For some reason javascript deletes parts of the link when there is an question mark in it. Example:
If the link is [URL]
The link what will open is: [URL]
View 5 Replies
May 3, 2010
PHP Code:
var xmlLoader:URLLoader = new URLLoader() var xmlData:XML =new XML(); xmlLoader.addEventListener(Event.COMPLETE, LoadXML); xmlLoader.load(new URLRequest("private"));
[code].....
View 2 Replies