ActionScript 2.0 :: LoadVariablesNum Working Locally Not Live?

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


Similar Posts:


ActionScript 2.0 :: LoadVars Working Locally, Not Live?

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

ActionScript 2.0 :: MovieClipLoader Works Locally / But Not Live

Feb 8, 2009

I'm using a MovieClipLoader in order to load in a couple of images into my flash during runtime. And it works perfectly when I play it locally, as well as from the FTP so to speak, but when I go "live" with it - that is with a URL... it just doesn't work! The XML file that goes with it works very well, and I've traced the paths and they're the same live and local.

View 1 Replies

ActionScript 2.0 :: UTF-8 French Characters Working Locally, But Not Working On Server?

Apr 21, 2009

I missing a file that needs to reside on the server to get this working?

View 1 Replies

ActionScript 3.0 :: Flash - Url Picking Not Working On Server But Working Locally

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

Media Server :: Live SWF Video Plays Locally But Only The Skin Is Visible Remotely

Jul 18, 2011

I have tested other embedded videos and they will play remotely so I know the hosting site is working.Currently,the live video will play locally and remotely from this computer where all the files are stored but only the skin is visible on any other remote computer's web browser.

View 2 Replies

Flash :: Working Fine In Local System ... Not Working In The Live Site

Nov 5, 2009

I have a flash project, its working fine in local system, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading... [URL]

View 12 Replies

Flash Working Fine In Local System / Not Working In Live Site

Dec 14, 2009

I have a flash project, its working fine in local system and checked this file with uploading in someother websites, its working fine there too, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading.URL...and here the same file which i have uploaded it in other server its working fine.URL...

View 2 Replies

ActionScript 3.0 :: Video Skin Work And Play Video Locally And NOT Live?

Jul 31, 2009

Why does my swf's skin referenced by a simple component FLA work locally but NOT live? There's no AS3 in the component FLA. It's just a one-layer component referenced to the the FLV. When I test locally, IN FLASH CS4 ONLY, and click on "Animalia - Verse From the Zoo" the FLV and skin load and the video (source FLV - "Sequence01.flv") plays. But the same thing live only loads the swf for the FLV file area but NO SKIN. Try it yourself, please:Has anyone had this problem and knows the solution? All files are in the SAME FOLDER on the web server. I've tried every URL and path combination I can think of on the website. I've tried referencing the whole URL.

Yet whatever path combination I try, either nothing happens, or I just get the FLV box but no skin. Which is what's happening now. Publish settings are set to Flash Player 10 for all files. And I've tried the component SWF WITH and WITHOUT the fl.video package (import fl.video.*. No difference. Why does the skin load and play locally but not live? It's all AS3. No AS2. And it does not seem to be a "publish settings" issue as far as I can see. The relevant code in my API is:

var AnimalFLVLoader:Loader = new Loader();
AnimalFLVLoader.contentLoaderInfo.addEventListener (MouseEvent.MOUSE_DOWN,fAnimaliaVOn);
Animalia2.addEventListener(MouseEvent.MOUSE_DOWN, fAnimaliaVOn);

[code].....

View 9 Replies

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

ActionScript 3.0 :: XML Refresh Working Locally But Not Online?

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

ActionScript 3.0 :: RSS Feed Working Locally But Not Online

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

Actionscript :: ExternalInterface.addCallback Only Working Locally, Not In Production

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

Actionscript 3 :: Flex: Flexlib Base64Image Not Working Locally?

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

ActionScript 3.0 :: Flash - Share Objects Only Working Locally?

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

ActionScript 3.0 :: PHP Email Form Class Working Locally / Not Online

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

ActionScript 2.0 :: Loading Variables Not Working On Server But Works FINE Locally?

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

ActionScript 3.0 :: Save Flash Data Locally From Locally Running .swf?

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

ActionScript 3.0 :: UncaughtErrorEvent Not Working Live?

Feb 25, 2011

in an attempt to narrow down a very frustrating problem with my project, I've implemented an UncaughtErrorEvent listener which will trace uncaught errors to a textfield that I can view.To test this out, I've forced the application to encounter errors at very specific points, to ensure that the errors are being handled properly.
 
In the flash sandbox environment, the errors displayed properly in the textfield, however, running the application in browser does NOT show any kind of error! It moves right past the errors as though they never happened!

View 4 Replies

Media Server :: H.264 Not Working In Live Stream

Dec 4, 2008

I have a HD Camera streaming a live feed through FME 2.5 to FMS 3.0 using the VP6 codec and it works fine. I have now been trying to get the same stream running via H.264 and althogh FME 2.5 connects to the FMS 3.0 server and the stream starts with FMS 3.0 reporting the stream no problem. The Client application crerated with Captivate 3 using Flash Player 9 for publishing no longer dispays the video. Switching back to VP6 works again.

View 4 Replies

Actionscript 3 :: Streaming Support For Flex With Ruby On Rails (working With Live Data )

Mar 9, 2010

I am working on flex dasboards and charting stuff. Till now I have build them for static data only now I want to upgrade them to work for real time data where new data is continuosly sent to client (swf file) from server and it updates the same.I am using Jruby with RoR.

View 5 Replies

Actionscript 3 :: Live Streaming Of .flv Format Movie Is Not Working If The Directory Is Moved Into Other Place

Jun 27, 2011

I can play the .flv movie after compilation through FlashDevelop but its not working if I move the whole directory into another PC or another Directory in the same PC.

package
{
import flash.display.Sprite;
import flash.net.NetConnection;

[Code]....

View 1 Replies

Professional :: LoadVariablesNum In Different Directory?

Oct 19, 2010

(and wondering if it's somethin completely unrelated that i'm missing as i can't see how this would have any effect on loadVariablesNum!)

View 3 Replies

ActionScript 2.0 :: This LoadVariablesNum Won't Work

Apr 29, 2011

loadVariablesNum("script.php", 0, "POST");

That won't work. Could the error be that it's in a movie clip? Or is the script just wrong?

View 8 Replies

ActionScript 2.0 :: LoadVariablesNum To LoadVars?

Feb 8, 2003

When I was working with a txt file locally I used this command

file = new LoadVars();
fileURL = "PhoneBook.txt";
file.load(fileURL);

[code].....

View 7 Replies

ActionScript 2.0 :: How To Rewrite LoadVariablesNum

Feb 13, 2006

I have this script for flash player 6.. [kirupa tutorials][code]this is working fine in flash player 6.. but doesn't work in flash player 8.. so the question is how to rewrite loadVariablesNum so it would work?

View 1 Replies

IDE :: Cannot Use LoadVariablesNum Variables Outside Of Textboxes?

Feb 15, 2010

Does anybody know any reason why I can't use variables loaded from a text file using loadVariablesNum anywhere but in the Var field of a text box? If I try this:

The loadVariablesNum ("textfile.txt",0);it loads the textvariable1=3.14159&variable2=cowfrom the text file, and if I make 2 dynamic text boxes with the Var parameter as variable1 and variable2, they'd have "3.14159" and "cow" show up in them when I run the script. So I know that the textfile is being read and the variables are being loaded.But if I try newvar1=variable1;newvar2=variable2;in my code, and then put newvar1 and newvar2 in my textbbox Var, I get nothing in them. I should be able to assign the newvar variable the same value as variable1, but I can't. trace (variable1);should output the text "3.14159" when run, but it displays "undefined" every time.Every site I have been to says I should be able to access my loaded variable values simply by using variable1, or _root.variable1, or _level0.variable1, but none of these work any differently.

I can assign an instance name to the textbox and then assign a value to that instance name, and if I do that, assuming the instance name is "box")

[Code]...

View 3 Replies

ActionScript 2.0 :: Loading A Txt File With LoadVariablesNum?

May 7, 2004

i'm loading a txt file with loadVariablesNum, which contains : a=1 or, when I try : trace(a) is says : undefined or, when I define a dynamique txt filed and in the properties / var I put the variable a from the txt file : it publishs : 1 so, I can read the variable or I cant use it !

View 5 Replies

ActionScript 2.0 :: This LoadVariablesNum Wont Work?

May 20, 2004

loadVariablesNum("script.php", 0, "POST"); That won't work. Could the error be that it's in a movie clip? Or is the script just wrong?

View 6 Replies

ActionScript 2.0 :: LoadVariablesNum Doesn't Work Within MC?

Jan 23, 2006

I'm trying to make some sort of a GuestBook. I'm using one from flashkit. It's working ok but I need to put the hole thing inside of a movie clip. That's where my problems come out.It's just refusing to load my GuestBook.php.Here's the code for loading variables:

NumLow = 0;
NumHigh = 10;
loadVariablesNum ("GuestBook.php?NumLow="+NumLow+"&NumHigh="+NumHig h+"&R="+random(999),

[code].....

View 3 Replies







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