ActionScript 2.0 :: SWF Links Open Chrome Unexpectedly
Jan 28, 2011
I have a Flash site which uses SWFAddress, it has been working fine for more than a year. Recently I opened the fla file again in order to update the site, which I do often. When I publish the swf to test it and click on a link which is supposed to link to another page within the swf itself, instead this opens up Google Chrome, which appears to be going to chromium.org, then the browser crashes. After this, all links within the swf work normally. This is happening with fla / swf files that were working perfectly fine before, and haven't been modified since.
When I upload the file onto the web server to update the site, it behaves a bit randomly; sometimes it works fine, other times the very first clicked link doesn't work, however if I click the same link again or any other link on the page it works fine from then on.
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]So that just pops a new tab, I need a new window, am I going to have to get overly complicated using externalInterface and JS just to achieve this simple task?
I have a piece of Flash on an HTML page that when you hover over it, it expands out to reveal more information.There are text links that it expands over, however in everything but IE, when it's not expanded those links are still covered by the Flash making them unclickable.I have the Flash piece in a separate DIV wmode set to transparent.
I was just wondering how when you assign a link to a button, instead of it opening that link in the same window, how can i get it to open it in a new one.
I have a rotating banner that I have created and it receives it's image and url info from an XML document. When you click on the image displayed it takes you to the correct link but it opens it in a new window. Is there a way to make the link open in the current window?
When the button is pressed, it tries to open in a new tab or in a new window (depending on if you are using Firefox or IE) and first gets blocked by the pop up blocker.
How can I make this where it opens without targeting "_blank" ???
Code: { var targetURL:URLRequest = new URLRequest("http://nameofwebsite.com/about.htm"); navigateToURL(targetURL); this.addEventListener(MouseEvent.CLICK, goURL); }
I have navigateToURL(new URLRequest("page address"),"_self"); still opening a new window for all of the buttons in my menu. I think I have the syntax correct so are there any other factors?
Here is the code
ActionScript Code: Button1_btn.addEventListener(MouseEvent.CLICK,mouse1DownHandler); function mouse1DownHandler(event:MouseEvent):void {
i found this code somewhere, and have used it for a site, but the links open on the same page and i cant find an option to have them open in a different target window.AS code:
Code: // The first step is to activate the XML object headlineXML = new XML();
How on earth do I get the HTML links inside a flash movie open up in the same browser window where said movie is embedded in (As opposed to opening up as a new pop-up windows)? Here is the code I have inside each of the buttons I have inside my flash movie:
var link7:URLRequest=new URLRequest("videos/december.html"); videos_btn.addEventListener(MouseEvent.CLICK, buttonClicked7); function buttonClicked7(event:MouseEvent):void { navigateToURL(link7); }
my links will not open in myspace anymore. read this article for further explanation. [URL] i dont understand what they mean. im just trying to get these buttons working... [URL]
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 "));}
The page is loaded fine.But when I click the links I found sometimes there was no any response while I need a new explore window opened with the linking url.And also I tried:
[URL] On the left you will see a menu, it will be flash (actionscript MX 2004) and for the effect I want it will have to be flash. Now, heres the tricky part for me: I want those links to open up different pages inside the black center box either using frames or php. How could this be done? On the menu part, also, with the buttons, I need to make them movie clips for the effect I need for the rollover, but I want the movieclip to have a hitspace, how do I assign a movie clip a hit space.
I've been using it fine - until the last month - I've completely uninstalled it - and reinstalled it. I was having this problem before I upgraded to 10.5.6... thought upgrading the OS may work - it hasn't. I'm on a MacBook Pro
I'm currently running Mac OSx 10.6.2 and Flash CS4 with the most recent updates. Every time I open Flash CS4, the application quits with the following error: Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000004Crashed Thread:
I've updated the latest version of Java. What the heck is going on?
When it loads, my AS3 script generates input type text fields with filler content text e.g. "type your text here."
The problem is, when the user clicks the text field, the content inexplicably moves to the left so that the first several characters are outside the text box and no longer visible. [code]...
I have a grid based game with eight bots each moving under their own instruction set, I have set them to return their ID and location when clicked, the game as it stands now is over 2k lines so I wont post it all here. On occasion two of the bots are merging into the same MC, clicking on either one or between the two merged ones will return the same ID (bot 0 returns that it is bot 1 in bot 1s location for example). To make it more confusing they are continuing to run their own separate code, bot 0 is not moving the same way as bot 1 is. Doing a var dump does not show anything as wrong, they all show up with the right IDs and locations.
When broadcasting pre-recorded streams on a live applicationFMS always stops streaming at a certain time...
It can be after 10 seconds, it can be after 2 hours, or it can be after any other time, the frame just freezes on the client and the buffer drops to 0.
any attempt to diconnect / reconnect does not resume the streaming, althought the FMS console registers the connected client, no streaming is ensuing. One of the common events we get on the client in such instances when the streaming stops results in get "NetStream.Play.InsufficientBW".[code]...
I was given the following code to have my button open a link.
testbtn.addEventListener(MouseEvent.MOUSE_DOWN, gotest); function gotest(event:MouseEvent):void { navigateToURL(new URLRequest("http://www.bing.com/")); }
This function works fine except that it opens all my links in new windows or tabs. I added the "_self" parameter to the function and created the following:
here comes Explorer destroying any attemp of web design. I've made a flash menu for my joomla site. The menu works great in FF but guess what, this doesn't work in IE 7. This is the simple line of code: navigateToURL(new URLRequest("[URL]"), "_blank"); In FF after the fb button is clicked it goes to the link in a new window....but in Explorer this doesn't work. If I leave it by default: navigateToURL(new URLRequest("[URL]"));
Same result: FF yes - IE7 none What do I must to code in orther to that "Pseudo-Browser" opens a simple New Window. Sorry about the tone but I'm about to cry cause there could'nt be something simplier than this line of code.
i created a flash slideshow with pictures of events and link each picture with its own event (ie. each pictures has its own links to the website). I created the fade in and fade out effect using the class motion tween. With the link, I created a layer with a button that has alpha= 0 (so the user don't see it) and then I used code snippet to make another layer with the action script "click to go to url."
When the slideshow goes to the last picture I made it fade out and the first picture of the slideshow would show up and then the slideshow would replay itself (by default?). My goal is to make a continuous slideshow.
When I tested the swf file, the first time it runs, everything is right. The urls and the pictures are in correct order. However when the slideshow replays itself automatically, I notice that the links are incorrect. In the first play, when I click the picture of the event it would open the url of that event.However when the sldieshow replays, clicking the pictures would only open the url of the first event picture. When I click on the 2nd, 3rd, 4th, etc.pictures the browser opens only the link of the first picture of the slideshow.
I've got a PHP script that searches for links in a block of text and converts them to HTML values. The $message variable is then entered into my database using a simple INSERT. So far, so good. Then I have Flash parse the message using XML:
ActionScript Code: function messStyling() { messCSS = new TextField.StyleSheet(); var messCSSURL = "include/links.css";
[Code].....
The problem, however, is that my links don't work. The rollover works from the CSS styling, but the links don't actually go anywhere. When I rollover the links, the hand cursor doesn't appear, and clicking only serves to change the color back to the non-hover value.
I'm writing some code in Flash MX 2004 and everything works fine except for the last button (4DSystemsProducts).According to the coding if none of the drop down buttons work it should go to products.php, but for some reason it goes to 4DSystemsProducts.php. All of the other menus are coded the same way and work fine, if I take out that button it works fine,or if I take out button 7 and switch 4DSystems to button 7 everything works.Here is the code to clear up this explanation. [code]....
I want to add links to 3 different external html pages in the place of th 3 my trial links(which are on the timeline) Here is code, this creates the three buttons listed in var catBtmmenu_label Array:
Code: Select all// Catalogue Bottom Button //stop(); //hide button on the stage[code]..........
I dont know how to assign links to dynamic created buttons.
I need to made a Browser windows before that i open the Flash movie, like this one: [URL] So i need somme kind of pop up to run when somme one opens the site, and then see the movie.