ActionScript 3.0 :: Links Not Working Locally
Aug 10, 2010
I have CS3 movie that opens links to other sites.It works fine when publshed to the web server but when I test it locally (opening it from my own files) the links don't work - is this a security settings issue? I tried opening settings manager and "allowing" files for that file location but it didn't fix it.
View 2 Replies
Similar Posts:
Apr 21, 2009
I missing a file that needs to reside on the server to get this working?
View 1 Replies
Mar 17, 2012
i have a "swf" file which is picking url from xml & displaying the image, when i tested it locally it works fine, which means it picks up URL from XML & displaying corresponding image. After i uploaded it on server, it doesn't show anything.
View 2 Replies
Apr 21, 2011
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.
View 9 Replies
Sep 12, 2009
Everything works fine when I'm testing it locally and sending the variables to the live PHP file online, but as soon as I upload it, everything just kinda goes to hell and nothing gets sent through. I know Flash just changed its security settings to not allow loading from external sources, but I wouldn't think that would make a difference since everything (including the PHP file) is under the same domain. I've put the crossdomain.xml file in there, as well, but still to no avail. My code to send things is pretty simple:
ActionScript Code:
loadVariablesNum("mailto.php"+"?name="+name+"&email="+email+"&message="+message+"&to="+to+"&recipient="+recipient, 0, "POST");
View 1 Replies
Sep 19, 2009
I'm having a bit of trouble with a Flash/PHP voting system. Basically, it's using a loadVars object to send a simple Number variable to a PHP file that connects with a database and returns.
But for some reason, I can only get the votes to count when I test locally with an absolute path to the PHP file on the server. When I put it live, it will read the PHP file but doesn't seem to be able to send the voting data to it. Here's my code:
ActionScript Code:
//----- On load data function -----//
var dataIn:LoadVars = new LoadVars();
var dataOut:LoadVars = new LoadVars();
[Code].....
Like I said, everything works fine in local testing, but when I put it live, the votes don't get counted, whether I use an absolute or a relative path to the PHP file on the server.
View 9 Replies
Jun 18, 2009
So I have an incredibly simple tool that shows some updates from an XML file...In the swf, there is a button that triggers a refresh for the XML file... it works fine locally, but not online...
Code:
stop();
btnRefresh.label = "Refresh";
[code].....
View 6 Replies
Dec 25, 2009
I've got an RSS feed coming into my flash site. When I test this locally its all good, everything works fine, I can see the RSS feed and everything. But now when I test online, I can't see any RSS, nothing. Its just blank. Any idea why this might happen?
View 12 Replies
Jan 15, 2011
In my Flex app, I need a Javascript control to call one of my Actionscript methods. Simple enough, according to the Flex/Actionscript documentation, I wrote this in my Actionscript code:
if (ExternalInterface.available)
ExternalInterface.addCallback("setName", setNameInActiveWindow);
In the Javascript control I wrote:
document.getElementById('FlexAppId').setName(name);
Works great. Exactly as expected, so I went to production. But it doesn't work in production :(. Same exact code... I can't figure it out. The above Javascript code is run, but the callback is not executed in the Actionscript code.
[Code]...
View 1 Replies
Oct 26, 2011
I recreated this example of using Base64Image but it does not work when ran locally, only when I load it from a web server. Is this expected and can it be done so that it works locally?
View 1 Replies
Sep 23, 2010
I'm having problems with Shared Objects. They seem to work on my machine but when I put them on a server they're not working anymore.Basically I have a page with a video player and I only want the video to play when the user visits the page for the first time.This is the code:
PHP Code:
var beenVisited:Boolean=false;var shared:SharedObject=SharedObject.getLocal("visited");if (shared.data.visits==undefined) shared.data.visits = 1; beenVisited=fa
[code]......
View 2 Replies
Mar 2, 2009
I'm working on an email form contained in a separate .as file coded in AS3 with a php file. Everything is working just fine when I test it through Flash, having my swf + my .as file locally and my php file online. As soon as I move all my files online, I submit the form, press my send button, see in the bottom screen of my browser than it seems to be a transfer, but nothing happen, no error message as written in my code...i'm just stuck. Here is parts of my codes.
[Code]...
View 3 Replies
May 17, 2010
I have one .swf that loads a second one on level 2.level 2 then in turn loads variables from a text file .The problem is that it works locally, but refuses to work on the server. The urls are all local. This is such a simple procedure, I can't figure out what is wrong..... are there limitations doing this via server vs. locally? I never get any "file open" errors locally. I've spent 2 hours on this.... I'm just using a simple LoadVars similar to this example:
Code:
loadText = new LoadVars();
loadText.load("text3.txt");
[code].....
View 5 Replies
Jun 10, 2009
I want a user running a Flash game on his machine (not from a server) to be able to save some game data locally.From what I've read, there still isn't any way to do this, but I thought I'd throw it out there in case anyone knows a sneaky xml or php work around.
View 2 Replies
Aug 28, 2009
I opened my flash movie in CS4 that was created in CS3, added additional scene, andrepublished but all links failed to work.
View 2 Replies
Apr 18, 2010
I am using flash CS4, i have created a small flash presentation , it has some hyper links to external web site . All the links are perfectly working in my system but the links are not working when i tried into other system(system does not have flash installed ).
View 1 Replies
Apr 22, 2010
I've been building a website in flash for the first time and I'm struggling how to get the links working, this is how I've been doing, putting the whole file name into the link under options then link, the links when i open the swf files don't work at all. But the htmp pages work on my computer but on an other computer the links don't work cos I have linked the html pages to my folder on the computer I'm working on.
View 11 Replies
Jul 12, 2009
Where is it that I have to add the link to have the e-mail work? Is it in the action script or the up over down hit?
View 6 Replies
Aug 3, 2002
For some reason the links from my home page are not working on some computers (could be a PC thing). This is the basic layout of the action script used on each section's button.
I created this site on a Mac G3 with Flash 4.
[URL]
On (Release)
Get URL ("javascript:Websites=window.open('RezWebsites.swf ','Websites','height=421,width=650,toolbar=no,loca tion=no,scrollbars=no,status=no,resizable=no,fulls creen=no'); Websites.focus(); ")
[Code]....
View 14 Replies
Jun 7, 2007
I am a newbie to Flash. I am working on a template website with a deadline. I was able to change the text, remove items I did not need and add some additional text.....but I cannot get any of the links in either of the two top flash animations (the menu and the header) to work. I am using Flash CS4 (and Dreamweaver CS4). I have tried to add a link to the text, and in the AS. But then they do not seem to be working at all
View 1 Replies
Aug 20, 2009
i have created some flash banners with a url embedded in them, so when they are placed on a web page the banner links through to my website when clicked. Fairly simple.But, i tested them on a website on my server to link to another website on the server and they worked fine. When i gave them to a client to embed on their own website (the flash files are hosted on my server still), the links no longer work.
Is this a security issue to stop the links working? i also checked it in linux and the banners worked, but in windows they do not. I dont want the client to have their own local copy of the flash file, as i may update it in the future and dont want to chase up lots of different copies everywhere.
View 3 Replies
Feb 22, 2010
I am a newbie to Flash. I am working on a template website with a deadline. I was able to change the text, remove items I did not need and add some additional text.....but I cannot get any of the links in either of the two top flash animations (the menu and the header) to work. I am using Flash CS4 (and Dreamweaver CS4). I have tried to add a link to the text, and in the AS. But then they do not seem to be working at all.
Here is a link for a zip'ed file with the index.html webpage, the swf files, and the fla files. Webpage_and_Flash_Files.zip/ I am on a deadline to get this up,
View 6 Replies
Dec 29, 2010
My website links and 2 out of 6 pdf's don't load when I test the movie in Dreamweaver.As far as I can tell everything is correct and all of the names are correct.Each button has an instance name and has been modified.Are there any other possibilities? Here is a sample of the script
menventures.addEventListener(MouseEvent.CLICK, menventuresurl)
function menventuresurl (evtObj:Event):void {var menventures:URLRequest = new URLRequest("http://menventures.com/");flash.net.navigateToURL(menventures, "_blank");trace("The menventures button was clicked");}
View 1 Replies
Sep 14, 2011
I have 6 buttons, for some reason only the first button(my_home) works
my_home.addEventListener(MouseEvent.CLICK, myBtnClicked1);
function myBtnClicked1(e:MouseEvent):void {var url:String = "http://www.weedwarriors.co.uk/";var request:URLRequest = new URLRequest(url);
[Code].....
View 5 Replies
Apr 17, 2009
I have several external SWFs loading into another SWF shell that contains all the files. The problem that I am running into is when some of the external SWF's are loaded into the shell the links stop working. I am using the getURL script to call a javascript function on one link and the same getURL on another link to call the mailto function.
When I test these files on my system and the web, both individually and in the shell, everything works perfectly. However, as soon as I embed the shell SWF into an html page these links don't work and won't do anything. But other links in different external SWF using the getURL script to simply navigate to another html page works perfectly.
View 1 Replies
Jan 6, 2010
My problem is that I just recently start working on the company website. They a have menu bar on the side of the website. Some of the links dont work. Where would I find the hyper links in the file to change them to make them work?
View 5 Replies
May 21, 2010
I have built a site for a client using AS2 which contains links to streaming mp3s. The audio loads and runs just fine in Safari but malfuntions/doesn't even play in other browsers.
Here is the site in question: [URL].. I'm hoping that one of you lovely gurus out there can help me resolve this problem. If needed, I can supply the .fla.
View 3 Replies
Aug 28, 2010
I am building a website through flash. For the past couple of weeks all of the links have been working fine up until now. I have no idea what I could have possibly done to make this happen. In HTML none of the links work. They are all linked up fine, I even re-linked some of them. Nothing happens. The buttons do nothing.
View 7 Replies
Aug 31, 2010
I use Flash 8.I'm making this very simple Nav Box where on certain links open in a new window/tab. Those links work great.But most of the links are set to open in the same window that the Nav Box is on. When saving the SWF and HTML, the links work great.
The problem comes when I place it on other pages/sites. The "Self" links never work. Here are samples.
[URL]
Neither page nor link in the Nav Box requires a Iframe nor anything "special" to work.Here are to version of the AS2 code I've tried (Using the Day Of Victory Ministries link as a sample)
#1
on (release) {getURL("http://www.dovm.org/DOVM_AVP.html");
}
---------------------------------------------------------------------- -------------------
#2
[code]....
Unless I'm mistaken, the way flash works, it matters not which server it is on so long as it's directory is public. This enables the flash to be placed on any page (via it's root link / Embedding code) and still have it's buttons work.
View 3 Replies
Nov 21, 2010
I created a flash movie and published it to get the html file and the swf. The html file works fine on my local computer that I created it on but I went to email the html file with the swf file, the links within the movie are not working?
View 7 Replies