URL Links Not Working In Browser
Ive been developing a flash site in MX 2004, but in some HTML browsers, including my own, the button links to external websites are not working. Although when tested in Flash player the links work fine. Can anyone tell me why this is and any way to get around this?
Other flash sites and banners links seem to be working fine when I view them on the internet.
Tim
FlashKit > Flash Help > Flash MX
Posted on: 10-20-2006, 07:10 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Links Not Working In Browser But Do In Test Movie?
Hi,
For some reason none of the links in my site work with when I preview it in the browser (IE7). They work fine when I hit ctrl + enterand test the movie in Flash though.
My links are simple buttons composed of text and have the ususal ActionScript:
on (release) {
getURL("http://www.bbc.co.uk", "_blank");
}
What is going on? Oh, and I have made sure I have already 'clicked to activate' the movie.
Please help?
New Browser Window For Links In Text Box
I'm using Flash 5,
I have links in a text box, so that when you click on them they goto a certain webpage. The links do not open in a new window, which I would like them to,.
Also the text box is a scrolling one, so i basically need to know the snytax to open a link in a new window in ActionScript.
Heres a lil bit of what it looks like:
TextBox = "<P ALIGN="LEFT"></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="16" COLOR="#FFFFFF"><A HREF="http:\www.yahoo.com">Yahoo</A></FONT></P>...
That link works,
But doesn't open in a new window.
I wanted to know if there was a way to edit it directly so that it could open in a new window and so that there isn't a snytax error for the ActionScript....
Thanks....
[MX] Adding External Links But With New Browser Tab
Hi guys,
i figured i ll poston in the newbies section since this is my first post on this forum, although i have to admit I am a forum junkie, I am a contributor of several.
Could anyone help me with a little issue I have on one of my website,
When I assign some text a URL (that si external from my web site), the page will open in the same window and make me leave my web site.
Does any of you guys know how to force a separate browser windows when the link is clicked on.
Thank you much and once again i say hallo to everybody and hope to become a contributor too.
Thank you
SWF Links And Control Of Browser Features?
Hi
In Dreamweaver you can control the size and features of the browser window that comes up when you hit a link. I like that you can make choices like whether the browser window has controls, or a scroll bar, etc.
I have a swf file placed in my index.html file (its the whole page).
Can links in an SWF also control the browser like dreamweaver can? Where do I find such options?
Thank you kindly!
Browser Loads Flash - But Links Don't Work
Why is this?
My flash page's actionscript links used to in all browsers as long as they had the plugin - now my flash loads - except the actionscript links don't work - even if my browser has the latest flash plugin. In this case, the browser just laods a new window - without the URL I specified using a button & "on_release" using actionscript.
is
Do you think this because of the new flash MX player reading my older flash swf's incorrectly?
Or is there something wrong I'm doing - in actionscripting or something? This is only happening to Flash 5.O swf's that I uploaded months ago. I don't get it.
The actionscript links from these three flash swf's work in some browsers but not others:
http://www.lettie.com/flash.html
http://www.mcguiredesignstudios.com
http://www.wamventures.com
HELP?
Thanks,
-mcgrafx
Url Links Work In Standalone, But Not When Opened In Browser
I am currently using flash to create an electronic press kit. In that, i have 2 links to youtube (since embedding the videos was not an option, making the file too large), and one link to yousendit for the viewer to be able to download a pdf file.
Now when i open the swf by double clicking on it (which i can do, but when on another computer, that has flash player installed, the swf will not open unless opened through a browser....not sure if that is just something where you can open an swf strictly by itself only if you actually have flash or what....that is another issue), but anyways, when i open the swf by itself, the links work correctly. once opened through a browser, the links do not work.
Safari error:
Adobe flash player has stopped a potentially unsafe operation.
The following local application of your computer or network:
(location of swf on harddisk)
is trying to communicate with this internet-enabled location:
youtube.com
To let this application communicate with the internet, click SETTINGS.
You must restart this application after changing your settings.
Of course i did that, and it didnt happen.
My question is however, even if this is a simple security issue/setting within the browser, is there any way to get around this? Because when sending this press kit out, the last thing i want is for the viewer to have to take the time to change their browser settings and try to get this to work and all that stuff.
Any help would be appreciated.
You can also download this swf at the following link:
http://www.yousendit.com/transfer.ph...661F585ACE0521
Open Links In Main Browser Window From Swf Pop-up
ac3
Actionscript 2
I am building a Flash interactive map that opens in a pop-up window from several pages on the site. This flash doc has buttons that suppose to open pages back in the window that the flash pop-up came from.
I tried all I could think of and search for days, I am, well kind of desperate please help.
The latest thing I found looks good but I don't know where to put the javascript Flash doc portion. See below....
Code:
in javascript on your html/php page:
function loadParent (file,target) {
if (target != '') target.window.location.href = file;
else window.location.href = file;
}
in flash:
// the function
getPage = function (url) {
getURL ("javascript:loadParent ('" + url + "',top.opener)");
}
// on your button
on (release) {
_root.getPage ("http://user:pass@www.bigjolt.com/lab") ;
}
(link to the source of this code)
http://board.flashkit.com/board/arch.../t-338419.html
To see my test site go to this link and click on the small map.
http://www.dangrossmanmedia.com/test_site/
Thank you very much
Links Not Working
I have a flash movie which has 40 scenes. I have assigned a script to the links so that the scenes are interconnected (_root.gotoandStop). The problem is that some of the links do not work although the script is perfectly right and error free. Please help me urgently flash gurus or else my backside is going to land on the blade of a sword!!!
Links Not Working In IE
Hello.
I'm new to this forum. I'm starting to work in flash more..so of course I'm having way more problems.
I'm using FLash 5a, and the problem is that when I create buttons that are supposed to act as links, the links don't work on Internet Explorer. And I've tried different versions of Explorer.
Is this a known glitch? Is there a special script I should be using? please, help...
Not Working... [links]
Grrr.. this button won't work. All i want it to do is go to the next frame, so it will run into the next frame.
SWF file - http://www.cogn.net/~dan/flash/dan.swf
FLA file - http://www.cogn.net/~dan/flash/dan.fla
Straightforward which button I am talking about...
-lieb39
Web Links Not Working On MAC
Hey folks.
I made a CD on a PC (windows XP) that works great on a MAC (OS 10) -- except my internet links do not work on the MAC. They work perfectly fine on the PC.
Do I need to do something different with my links to create a MAC version of my CD?
Any ideas?
Thank you
pug
Links Not Working
I'm having a bit of trouble with some links within my movie.
I haven't got the code in front of me at the minute but it goes something like...
onrelease {
getURL("http://www.somesite.com", _blank);
}
It works fine when I run the swf file on its own, but not when I put it within a html file.
I don't have a pop-up blocker running, before you ask
Any ideas ?
[F8] Links Not Working In IE
I've got a couple of movies where the links have suddenly stopped working, but only in IE. (I've only tested this in IE7) The links work in Firefox and in the Flash Development environment. I know the links used to work in IE. Does anyone know what could have caused this? Thanks!
Links Not Working
If you go to my website here you'll see a rotating banner at the top, when you click on a slide in the banner its supposed to take you to a certain link for that slide but for some reason it doesn't work. Here's my coding...
PHP Code:
function goLink(event:MouseEvent):void{
var spotLink:URLRequest = new URLRequest(link);
navigateToURL(spotLink, "_self");
}
Xml Links Not Working
Hi,
I am loading text with xml and the links are working on macs, but not on PC's. Here is my code (I'm working in AS3):
Code:
System.useCodePage=false;
var newsX:XML;
var newsList:XMLList;
var output:String = "";
/*
var style:StyleSheet = new StyleSheet();
style.parseCSS("h1{letterSpacing: .6;color:#000000;font-size:14px;} p{font-size:13px;}");
news_txt.styleSheet = style;*/
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onComplete);
function onComplete(e:Event):void{
newsX = new XML(loader.data);
newsList = newsX.story;
news_txt.htmlText = "<h1>" + newsList[0].title + "</h1>"
news_txt.htmlText += "<p>" + newsList[0].content + "</p>"
}
Code:
<?xml version="1.0" encoding="UTF-8"?>
<news>
<story>
<title><![CDATA[<font face="Akzidenz Grotesk BE Bold">DONATE</font>]]></title>
<content><![CDATA[<font face="Akzidenz Grotesk">
My text goes here
print PDF <a href='form.pdf' target='_blank'><font color="#0000FF">form,</a></font>
Go to Link: <a href='http://www.google.com/' target='_blank'><font color="#0000FF">www.google.com</a></font>
Thanks]]>
</content>
</story>
</news>
Thanks
Why Are My Links Not Working In IE
my links work fine in FF, but in Wonderfull IE they dont? what gives?
Is this due to the Eolas stuff?
please help...
the site: www.lancekorsun.com
thanks
Z
Links Not Working
I have embed code that passes in the swf to use:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="400" height="120" id="main" align="middle">
<param name="movie" value="http://staging.fanlib.com/badge/badge.swf?xmlLocation=/submission/view/flashbadge.do?submissionId=n1eh9" />
<param name="base" value="http://staging.fanlib.com" />
</object>
but when I put this on a server other than http://staging.fanlib.com the links do not work:
http://www.creativenetdesign.com/badge/test.html
Anyone know why?
Two Out Of Seven Links Not Working
All of the links are just dynamic text with the link typed in there, they all are done exactly the same... Two of them dont want to work for some reason. When I check the movie and hover over the links I see the hand on 5 of the seven and no change over two.
Why would it just not work on two of them and how can I fix it? I checked the html file and the links are coded right, but they still dont show up right when I load the page.
Here is the page:
http://www.childphotographyportraits...ackground.html
The "about" and the "contact" links are the ones that dont work.
Thanks for any help :0)
Links Not Working
Hey, I'm having some trouble getting these links to work, so if you could spare some of your time, that would be great. I've attached the file. On that card that you drag it says "mail" "trade" "friend". I've set those up as links, but they aren't working for some reason.
File found here:
goodthursday.net/gaiaflash/acidflash.fla
Links Not Working In IE
I have a bunch of links that open in new windows, on a flash site that i have built. They work fine in Netscape and Firefox, however in IE they don't work(oddly the ones that spawn an .swf file located in the same directory seem to work fine). Anybody encounter this wierdness before??? Any ideas??? or suggestions???
Thanks,
~cx23
Links Not Working
Hi, I have created a navigation bar, and I believe I have it linked properly. The file looks like:
http://surfinthebay.net/links_a.swf
It is streched, but you get the idea. It should open a new page when you click a link, however it goes to a page called 'undefined'. You can download the file I have created by clicking:
http://surfinthebay.net/links.fla
The page the file is on has been password locked, so unfortunately I cant show you exactly what it looks like on the page. If you could look at the coding, and show me where I went wrong, I would be forever greatful.
Thanks
Links/AS Not Working In IE7
So I have a file with buttons that link to external web pages, using the actionscript below.
They work perfectly in every browser on PC and Mac, except IE7.
In IE7 (on PC) when the buttons are clicked, nothing happens, as if the buttons have no ActionScript.
Any ideas why? Any solutions? This happens whether or not I use code to circumvent the "Click here to use this control" issue you get with Flash in IE.
Attach Code
—[actionscript]—
var page5:URLRequest = new URLRequest("page-six_v2.shtml");
buttonFive.addEventListener(MouseEvent.CLICK, onClick6);
function onClick6(event:MouseEvent):void
{
navigateToURL(page6, "_self");
}
—[HTML]—
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="555" height="405" title="FlashMovie" usemap="#map">
<param name="loop" value="false">
<param name="WMode" value="Transparent">
<param name="allowScriptAccess" value="always" />
<param name="movie" value="SD-ASO-0803-04.swf">
<param name="quality" value="high"><param name="BGCOLOR" value="ffffff">
<embed src="SD-ASO-0803-04.swf" width="555" height="405" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="ffffff" allowScriptAccess="always" wmode="Transparent" ></embed>
</object>
Edited: 03/06/2008 at 02:48:02 PM by BlowPurp
Xml Links Not Working
Hi,
I am loading text with xml and the links are working on macs, but not on PC's. Here is my code: Thanks
Attach Code
System.useCodePage=false;
var newsX:XML;
var newsList:XMLList;
var output:String = "";
/*
var style:StyleSheet = new StyleSheet();
style.parseCSS("h1{letterSpacing: .6;color:#000000;font-size:14px;} p{font-size:13px;}");
news_txt.styleSheet = style;*/
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onComplete);
function onComplete(e:Event):void{
newsX = new XML(loader.data);
newsList = newsX.story;
news_txt.htmlText = "<h1>" + newsList[0].title + "</h1>"
news_txt.htmlText += "<p>" + newsList[0].content + "</p>"
}
<?xml version="1.0" encoding="UTF-8"?>
<news>
<story>
<title><![CDATA[<font face="Akzidenz Grotesk BE Bold">DONATE</font>]]></title>
<content><![CDATA[<font face="Akzidenz Grotesk">
My text goes here
print PDF <a href='form.pdf' target='_blank'><font color="#0000FF">form,</a></font>
Go to Link: <a href='http://www.google.com/' target='_blank'><font color="#0000FF">www.google.com</a></font>
Thanks]]>
</content>
</story>
</news>
Xml Links Not Working
Hi,
I am loading text with xml and the links are working on macs, but not on PC's. Here is my code: Thanks
Attach Code
System.useCodePage=false;
var newsX:XML;
var newsList:XMLList;
var output:String = "";
/*
var style:StyleSheet = new StyleSheet();
style.parseCSS("h1{letterSpacing: .6;color:#000000;font-size:14px;} p{font-size:13px;}");
news_txt.styleSheet = style;*/
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onComplete);
function onComplete(e:Event):void{
newsX = new XML(loader.data);
newsList = newsX.story;
news_txt.htmlText = "<h1>" + newsList[0].title + "</h1>"
news_txt.htmlText += "<p>" + newsList[0].content + "</p>"
}
<?xml version="1.0" encoding="UTF-8"?>
<news>
<story>
<title><![CDATA[<font face="Akzidenz Grotesk BE Bold">DONATE</font>]]></title>
<content><![CDATA[<font face="Akzidenz Grotesk">
My text goes here
print PDF <a href='form.pdf' target='_blank'><font color="#0000FF">form,</a></font>
Go to Link: <a href='http://www.google.com/' target='_blank'><font color="#0000FF">www.google.com</a></font>
Thanks]]>
</content>
</story>
</news>
Links Not Working
Here is the problem.
I am loading links from an xml file into an array called myLinks, and the trace code shows that the links have been loaded. But the buttons will not pick up the links in the loop.
If I were to put the links directly into the myLinks array the buttons work perfectly.
Any ideas what I am doing wrong?
Code:
<?xml version="1.0" encoding="utf-8"?>
<mainNode>
<subNode1>http://www.ultrashock.com/</subNode1>
<subNode2>http://www.kirupa.com/</subNode2>
<subNode3>http://www.flashkit.com/</subNode3>
<subNode4>http://www.ultrashock.com/</subNode4>
<subNode5>http://www.kirupa.com/</subNode5>
<subNode6>http://www.flashkit.com/</subNode6>
<subNode7>http://www.ultrashock.com/</subNode7>
<subNode8>http://www.kirupa.com/</subNode8>
<subNode9>http://www.flashkit.com/</subNode9>
</mainNode>
Code:
// Creates a new XML Object
var thisXml:XML = new XML();
// Leave nodes that contain white space alone
thisXml.ignoreWhite = true;
// Loads the XML Document
thisXml.load("xml.xml");
// This function begins once the XML has been successfully received from the server
thisXml.onLoad = function() {
// Create the Array to hold our XML
var myLinks:Array = new Array();
// Loops through all the nodes in our XML file
for (var xNode:XMLNode = thisXml.firstChild.firstChild; xNode != null; xNode = xNode.nextSibling) {
// Load our subNodes into the Array
myLinks.push(xNode.firstChild.nodeValue);
// Close the Loop
}
// Trace the contents of our Array to the output window
trace(myLinks);
// Close the Load Function
}
var buttons:Array = new Array(fm1, fm2, fm3, fm4, fm5, fm6, fm7, fm8, fm9);
// loop to assign actions to buttons
for (var i:Number = 0; i<buttons.length; i++) {
// variable with reference to button
var mc:MovieClip = buttons[i];
// set on release
mc.onRollOver = function() {
this.gotoAndPlay("play");
trace(this._name);
};
mc.onRollOut = function() {
this.gotoAndStop(1);
trace(this._name);
};
mc.id = i;
mc.onRelease = function() {
this.gotoAndStop("11");
getURL(myLinks[this.id],"_parent");
};
}
Links To Url's Via Buttons In Flash Work On Specific Browser
http://www.geckographics.co.uk
If you go to web design and click on the images in Safari this will redirect you to the page wanted. However does this work on all browsers as some of my friends say this does not work.
Is there a way to resolve this?
Also some browsers have a problem as the window does not pop out to full size as it should, any ideas??
Links Not Working On Web Page Plz Help....
OK i made a drop down menu and the problem is that the buttons work FINE when previewed in the browser and on my pc...BUT when uploaded to internet the only button that does NETHING is the button which causes the menu to drop down/up...THE LINKS DO NOT WORK...
PLZ HELP!
[Edited by NotoriousDGer on 12-28-2001 at 03:40 PM]
Links To Other Sites Not Working
in my flash website that i am designing i am having problems getting the links to work....when u click on a link it adds it to the end of the site that the user is already in. example. my website's address is www.members.tripod.com/lunaticracing2 then i had a link to another site www.machvforums.com and when u click that link it loads the site as this http://www.members.tripod.com/lunati...achvforums.com why does it do this how do i fix?
Problems Getting Links Working...
Hi, I posted what I think is a pretty simple problem on the actionscript board but with no luck... I was hoping someone here may be able to take a look for me pleasssse?
http://www.flashkit.com/board/showthread.php?t=634451
Thx muchly
Lev
My External Links Not Working?
alright. i made a .txt file load a file with several links in the <a href></a> tag. They load into the flash file fine. When i test my movie they work fine too. But when i put the .swf into an actual webpage, the links STOP working. How can i fix this? thanks.
Reese
Links/buttons Not Working...
Well I'm working on a site and I was told to read the kirupa tutorial so I downloaded that and I've been trying to go off of that but I've run into some problems with the "hit area" and the buttons loading the urls...
Heres a link to my .fla if anybody can give me a few pointers or figure out what I'm doing wrong I'd appreciate the help.
.FLA
Thanks for you time.
Links Not Working. Please Help It's Urgent
Hi, I'm having a problem with my links on a Flash movie. This is urgent because the customer wants it done asap. The thing is that I make these links to be loaded into a scrollPane everytime you click on section Links. The links appear on the screen, and so does the hand icon when I pass the mouse pointer over them, but when I click on them, nothing happens.
These links are movie clip buttons (buttons made by means of a movie clip), each one an instance of this movie clip called arrow, and their instance names are sequencial: op1, op2, op3,...
This is an example of what I wrote so as to assign them the handler of the event onRelease:
Code:
var numOptions: Number = 3;
for (var i = 1; i <= numOptions; i++) {
this["op"+i].onRelease = function() {
switch (i) {
case 1: getURL("http://www.gurudisco.com","_blank","GET");
break;
case 2: getURL("http://www.binomio.dj","_blank","GET");
break;
case 3: getURL("http://www.jamesfitch.com","_blank","GET");
break;
}
};
}
Moreover I added a hit area to this "mc button" called arrow this way:
On the timeline of arrow, right on a layer over the vector graphic arrow, I placed another mc called hitArea_mc, whose instance is called activeArea. Next, its code on the timeline of arrow:
Code:
this.hitArea = activeArea;
this.activeArea._visible = false;
When I run it, I get my hit area to be invisible, the buttons enable the hand cursor, but nothing happens when I click on them. So, please, could someone tell me what's going on? I don't find the way around this. Any help would be really appreciated.
Scroll And Links Not Working
Hi!
I downloaded the file from the Kirupatutorial on how to load external text to a dynamic textbox.
source.zip
If i put <a href="www.link.com">link</a> in the .txtfile, the link doesn't work, it just writes out the code!
It doesn't help to check the <>box in properties either.
[F8] HtmlText Links Not Working
The Problem:
I have my parent swf load a child swf witch in turn displays some htmlText, specifically a link, and the link is not redirecting the browser when a user clicks the link.
The weird thing is when I access the flash object directly (http://www.mysite.com/example.swf) the links work fine. But when I embed the flash object they don’t work. Now that’s in flash 8, I have a similar flash object that does very similar things with the text, but its in flash 7 and it works perfectly.
Code:
<embed width=’410’ height=’400’ src=’http://www.mysite.com/example.swf’></embed>
Here is the actionscript that adds the html to the dynamic text box. All of the “paths” to the objects work are fine since it is outputting the right text in both the child swf and the parent swf.
Code:
textContainer.textbox.html = true; //It does the same thing with or without this line of code
textContainer.textBox.htmlText = "";
for( var i = 0; i < textData["length"]; i++) {
trace(textData["interstizements"][i]["title"]);
tempText += '<a href="' + textData["interstizements"][i]["uri"] + '"><font color="#0000FF"><u><b>' + textData["interstizements"][i]["content_title"] + '</b></u></font></a> - <a href="' + textData["interstizements"][i]["uri"] + '"><u>' + textData["interstizements"][i]["content_body"] + '</u></a> | ';
textContainer.textBox.htmlText += '<a href="' + textData["interstizements"][i]["uri"] + '"><font size="' + (25 - ((textData["length"]%10)*2)) + '"><u><b>' + textData["interstizements"][i]["content_title"] + '</b></u></font</a><br/><a href="' + textData["interstizements"][i]["uri"] + '"><font size="' + (25 - ((textData["length"]%10)*2)) + '">' + textData["interstizements"][i]["content_body"] + '</font></a><br/><br/>';
}
spaceSize = _root.titleText.textBox.getNewTextFormat().getTextExtent(" ").width;
spacesRequired = Math.ceil(_root.titleText.textBox.width/spaceSize);
for (var i = 0; i<spacesRequired; i++) {
spacebuffer += " ";
}
_root.titleText.textBox.html = true; //It does the same thing with or without this line of code
_root.titleText.textBox.htmlText = spacebuffer + tempText.substr(0, -2) + spacebuffer;
[F8] Links Not Working Properly
I've created a scrolling menu that should link to separate pages on the site, but when I click on the item nothing happens. This is pretty basic stuff and should work, but I'm at a loss.
An example of a link would be:
on (release) {
getURL("http://localhost/golf/golf.aspx");
}
Any ideas?
The scrolling menu looks similar to this, but is contained within a site created in HTML, not Flash:
http://www.wynnlasvegas.com/#homepage/
When I check the links on a local machine I get a browser window message that indicates it's looking for a page. But when I upload the files to the server and test the links in the functioning site nothing happens.
Links Not Working While Streaming MP3
Hi,
I'm stuck with a problem that I have no idea how to fix.
I have built an online music player - it streams music across using the loadSound(location, true); method and the location of the music is fed using XML.
While the song is downloading it is impossible to do anything, click something within the SWF movie, click any link etc.
I've have tried hosting the SWF file on a sub domain to see if it would make any difference, but unfortunately not.
Anyone has any ideas??! Would appreciate any help.
Matt
Links Are Not Working In Flash
Hello friends,
I Created a simple clock gadget and uploaded it to a free hosting server.
Then i embedded the clock in my blogspot.
The clock is working properly, but the link which is present in the clock is not working. What's the reason ?
But that link is working when i embedded it in my wordpress blog ?.I am just confused.
Please help me as it is very urgent
Flash Links Not Working
I had integrated a flash menu into my site but now the links aren't working. It was working earlier, so I am wondering if there is something in my code that could be conflicting with it. It's the top menu - http://www.kayzoesolutions.com/kayzoeaugust/index.html
Thanks
Links In Flash Working
I created a flash movie that has my menu bar in it with links to the various webpages in my site. I put all the links on the root folder of my site and I also put the swf file on the root folder.
When I test it in Flash, my links work. When I import it into dreamweaver as flash, then test it in Firefox or Explorer, the links don't work anymore. They show the hand symbol indicating there is a link but nothing happens when I click on it. Why would this work in Flash and not in Dreamweaver?
Links Not Working After I Add Preloader
I have been working on building my site for a couple of weeks now, adding various things as needed, and after i got all of my links working and all of that stuff i figured i would add a preloader. After i have added the preloader my links no longer work, and when i start the site it is supposed to automatically load my news page, but that is no longer working anymore either. The preloader works fine, and the main animations show up, but the links will no longer work. Does anyone know how i can fix this?
HtmlText Links Not Working
The Problem:
I have my parent swf load a child swf witch in turn displays some htmlText, specifically a link, and the link is not redirecting the browser when a user clicks the link.
The weird thing is when I access the flash object directly (http://www.mysite.com/example.swf) the links work fine. But when I embed the flash object they don’t work. Now that’s in flash 8, I have a similar flash object that does very similar things with the text, but its in flash 7 and it works perfectly.
Code:
<embed width=’410’ height=’400’ src=’http://www.mysite.com/example.swf’></embed>
Here is the actionscript that adds the html to the dynamic text box. All of the “paths” to the objects work are fine since it is outputting the right text in both the child swf and the parent swf.
Code:
textContainer.textbox.html = true; //It does the same thing with or without this line of code
textContainer.textBox.htmlText = "";
for( var i = 0; i < textData["length"]; i++) {
trace(textData["interstizements"][i]["title"]);
tempText += '<a href="' + textData["interstizements"][i]["uri"] + '"><font color="#0000FF"><u><b>' + textData["interstizements"][i]["content_title"] + '</b></u></font></a> - <a href="' + textData["interstizements"][i]["uri"] + '"><u>' + textData["interstizements"][i]["content_body"] + '</u></a> | ';
textContainer.textBox.htmlText += '<a href="' + textData["interstizements"][i]["uri"] + '"><font size="' + (25 - ((textData["length"]%10)*2)) + '"><u><b>' + textData["interstizements"][i]["content_title"] + '</b></u></font</a><br/><a href="' + textData["interstizements"][i]["uri"] + '"><font size="' + (25 - ((textData["length"]%10)*2)) + '">' + textData["interstizements"][i]["content_body"] + '</font></a><br/><br/>';
}
spaceSize = _root.titleText.textBox.getNewTextFormat().getTextExtent(" ").width;
spacesRequired = Math.ceil(_root.titleText.textBox.width/spaceSize);
for (var i = 0; i<spacesRequired; i++) {
spacebuffer += " ";
}
_root.titleText.textBox.html = true; //It does the same thing with or without this line of code
_root.titleText.textBox.htmlText = spacebuffer + tempText.substr(0, -2) + spacebuffer;
AS2 Preloader + Links Are Not Working Well :(
Guys... I've been trying to fix this and no luck Anyone here can help me out ??
What is my current problem is... my actionscript button is working very well but when i added the preloader code in there.. the link just stop working..
Here is my code..
_root.onEnterFrame = function() {
var amountLoaded:Number = _root.getBytesLoaded()/_root.getBytesTotal();
loadText.text = Math.round(amountLoaded*100)+"%";
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndPlay(3);
delete _root.onEnterFrame;
}
};
stop();
_root.mc_about.onEnterFrame = function() {
if (mouse_over_mc_about) {
_root.mc_about.nextFrame();
} else {
_root.mc_about.prevFrame();
}
};
_root.mc_works.onEnterFrame = function() {
if (mouse_over_mc_works) {
_root.mc_works.nextFrame();
} else {
_root.mc_works.prevFrame();
}
};
_root.mc_services.onEnterFrame = function() {
if (mouse_over_mc_services) {
_root.mc_services.nextFrame();
} else {
_root.mc_services.prevFrame();
}
};
_root.mc_contacts.onEnterFrame = function() {
if (mouse_over_mc_contacts) {
_root.mc_contacts.nextFrame();
} else {
_root.mc_contacts.prevFrame();
}
};
Links Not Working After I Add Preloader
I have been working on building my site for a couple of weeks now, adding various things as needed, and after i got all of my links working and all of that stuff i figured i would add a preloader. After i have added the preloader my links no longer work, and when i start the site it is supposed to automatically load my news page, but that is no longer working anymore either. The preloader works fine, and the main animations show up, but the links will no longer work. Does anyone know how i can fix this?
Why Are My Links Not Working Flash CS3
Im sure this is basic but I have been editing a flash page and none of my links are working.
For example I click on text in flash cs3 pro and I get a bar with a chain link next to it among other thing. I put the html link I want to goto when I click the text but it is still taking me to the old flash page.
http://www.arachnocharlotte.com
is the site. If you click on forum it takes you to the old flash gallery page. How do I make it take me to
http://www.arachnocharlotte.com/forum
I think if I can get that I can figure out how to change the rest.
Thanks for the help. http://www.drysnot.com
Links In Flash Not Working
Hello,
I am new to flash.. I can do very basic stuff in it but i am having a small problem with URL's in flash.
I have searched around on the net for info on it and i found this
f1.onRelease=function(){
getURL("URL","_self");
}
which i have tried to use but it dose not seem to work.
What i am after is just this,
1) Flash with 4 layers
2) each layer having a different link to open up a basic htm page on a site
3) for it to repeat its self over and over.
step 1 and 3 i have done, i just cant get step 2 to work.
Any one able to help me?
each layer is just one image that "scrolls" left to right and it just needs to link, the images are done in a "Transition effect"
Is this a problem or can it still be done?
Thank you for your help!
AAARRRGGGHHH Links Not Working
I am trying to produce a website but I can't get these links to work. What am I doing wrong? The last one works fine though, its the internals which I am having trouble with...
stop()
goScene2.onRelease = function(){
goto("Scene2", 1);
}
goScene3.onRelease = function(){
goto("Scene3", 1);
}
goScene4.onRelease = function(){
getURL("http://codfiles.com", _blank);
}
Popup Menu Links Not Working
After following a great tutorial from this site- I have learned how to create popup menus. The trouble I'm experiencing now is regarding the actions placed on the nested button within the movie clip...
The main button launches 3 "sub buttons"- those 3 sub buttons have the basic 'on release goto and stop at frame x' action attached to it--- but that action is not working!
I have set all the buttons in the movie clip to be tracked as menu items, and it hasn't helped. I placed a different instance of one of the sub buttons on a layer of its own outside the movie clip and the same action (above) applied works fine.
can't figure it out!
all suggestions appreciated-
david
|