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


Similar Posts:


Professional :: The 'works Locally Fine, Not On Server' Deal?

Feb 5, 2010

There was always a flash movie on the homepage and it worked fine. A couple days ago I replaced the movie with a new one and added a .swf to the portfolio page as well. On the portfolio page, the movie is layered behind a series of transparent .pngs that link to their corresponding lightbox designations. The movie just plays, there isn't any interaction this way, atleast not in flash.

The problem: Everything works perfectly fine locally on all browsers and not at all on the server across all browsers. I have seen this problem before and read alot of posts about it.I know I have the proper scripts files. I've re-saved flash movies, changed their location within the site, published them with the appropriate settings, nothing seems to do the trick. Whats worse is that the lightbox doesn't even work online and it runs fine locally. Infact you cant even click on the .pngs and they aren't positioned the same with the css as they are viewed locally. I've overwritten the css with the up-to-date stylesheet many times as well

View 5 Replies

ActionScript 3.0 :: Loading Images From Another Server But Works Locally?

Mar 30, 2010

I'm using BulkLoader to load a single XML, parsing this, extracting out a list of images on another server (amazon), adding them to BulkLoader and loading them in.
 
this all works great running in the Flash IDE but as soon as it's uploaded the xml loads, parses BulkLoaders starts but non of the images load.

I assume it's a security issue but linking to these images from the local or from a html page works fine just not from Flash from a server.

View 4 Replies

ActionScript 2.0 :: XML Data Displayer - Works Fine Locally... But Not On Site?

Jun 2, 2007

I have my XML Data Displayer referring to an XML feed on the web, it works fine when I run it locally, however it doesn't work when I run it off my site.There's no missing files- since I'm referencing to an XML feed on the web.How can I solve this problem and display XML data from the web, on the web?

View 2 Replies

ActionScript 3.0 :: Video Site Works Fine Locally, But Not After Upload

Jan 15, 2012

getting this here Flash website to work. It is an .swf that has four different buttons in it. Each different button uploads a different video thumbnail with a play-button over it. When you click on that thumbnail with the play-button over it, it goes to the thumbnailed video which automatically plays. Here is the link:

[URL]

There are no bells and whistles with the html, it's just tagged and uploaded with the Fullscreen-true so that you can make the video go full-screen.

But see, when I upload the thing, the buttons no longer navigate to the different videos unless the play-button over the thumbnail is already pressed and its video is already playing. I need them to work anyways.

View 2 Replies

ActionScript 3.0 :: Loaderinfo Event - Works Fine Locally And In IE But In Firefox It Fails?

May 4, 2010

I've createa simple flash banner (FL10, CS4) that is used stored in multiple locations on a server, which is sent a relative path to an XML file via FlashVars. relative path images are then loaded from this xml file.the base class for the banner is.Thins all works fine locally and in IE but in Firefox it fails about half the time to trigger the loaderinfo Event.COMPLETE  call.(essence of the Base class below:)

public class Banner extends MovieClip {
public function Banner() [code]....

View 3 Replies

ActionScript 3.0 :: Cannot Acces Loader.content On Online Swf, Works Fine Locally?

Jul 1, 2010

I have an image gallery with a thumbnail class which needs information about the content being loaded to be able to resize it appropiatly. Using.content.height and .content.width I can acces this information, however the swf (online) stops working when this code is encountered. No errors are thrown.piece of code from where it stops working

Code:
if (targetThumb.content.width > targetThumb.content.height) {
//scale the width

[code]......

View 1 Replies

Cannot Load Flash On Server But Locally Fine

Jul 11, 2009

I'm converting a several-years-old all-Flash site for a friend. I can activate the site in any browser if all the files are stored on my local drive but when I FTP the files to a server and try to launch, I get an error indicating either that the server has timed out or that the process is taking too long. I suspect the problem is in the index.html file which refers to some very old locations where the Flash Player is probably no longer obtainable, but I'm not sure.
[Code] .....

View 1 Replies

Professional :: UIScrollBar Works Fine On Pc But Not On Server?

Nov 22, 2010

I created a textfield on stage, set it as dynamic, put a UIScrollBar next to it , with component inspector I set scrollTargetName to the instance name of the textfield then I wrote these actions:
 
var externalReq:URLRequest = new URLRequest("loremIpsum.txt");var externalLoad:URLLoader = new URLLoader();externalLoad.load(externalReq);externalLoad.addEventListener(Event.COMPLETE, textReady);function textReady(event:Event):void {    theText.text = event.target.data;}
 
Ot works on pc just fine.  When I upload the swf and the text file to my godaddy linux hosting account the scroller doesn't work.example on server: [URL]the text you see displayed is only about a quarter of the file, I should be able to scroll through it.

View 1 Replies

Professional :: FLV Works Locally But Not On Web Server

Jan 19, 2011

I've got a project that loads a couple of external flv videos. It works great locally but when I upload it to a web server I just get a blank screen.
 
Googling reveals two possible issues... server mime types, and flv path issues.
 
Everything is in the same folder so I'm doubting it's a path issue.
 
If it's the mime type issue, how do I go about fixing it? My host is dreamhost.
 
*update, I tried adding the following two lines to my .htaccess file but it didn't change anything:

AddType application/andrew-inset ez
AddType video/x-flv flv

 Here is the html: [URL]
 
And here is the whole project in a zip if anyone has time to take a look:
 
[URL]

View 1 Replies

IDE :: Preloader Works Locally But Not On Server

Mar 7, 2009

I'm working on a website ([URL] - don't think the flash file can be seen in FF yet) and I want to load an swf-file with some illustrations and such. As this could get a little big, I have made another swf-file which shows a preloader and loads the first swf-file. The preloader works perfectly when tested in Flash CS3, but when uploaded to and tried on my webhost's server, the preloader doesn't load anything. Instead it of the load-percentage it just writes "NaN". You can find the as3-code down below. The preloader-swf and the swf to be loaded are located in the same folder. Both are as3.

This is the code from my as-class file:
package classes{
// Imports necessary classes
import flash.display.MovieClip;
import flash.text.TextField;
import flash.events.Event;
[Code] .....

View 2 Replies

ActionScript 3.0 :: FLV Works Locally But Not On Web Server?

Jan 19, 2011

I've got a project that loads a couple of external flv videos. It works great locally but when I upload it to a web server I just get a blank screen.

View 2 Replies

ActionScript 3.0 :: Preloader Not Working In Safari , Works Fine In Firefox?

Feb 21, 2010

my site is comprised of several images loaded dynamically and added to the display list. i declare a bunch of loaders on the first frame, and add a preloader progress listener to the largest image to have one preloader for all the assets. I then added a COMPLETE listener to the same image, and add that image, along with all the others in the onComplete function. i have two issue. the preloader doesnt work in Safari. but works fine in Firefox? and i'm totally stumped on what it could be? another compatibility issue that seems to be arising is that one of the galleries of my site which corresponds to the "drawn" link. also does not seem to be working in Safari, but works in Firefox. its a fairly simple xml based image gallery, which loads thumbs on to the stage, and then loads a larger version of each, when the corresponding thumbnail is clicked. the other galleries of the site work fine in safari, and are basically the same code wise.heres my code for the loading and preloader in the first frame

Code:
import caurina.transitions.*;
stop();

[code]......

View 1 Replies

Flash Not Loading - Works Fine On Localhost

Feb 11, 2010

Building a website and the navigation menu is flash (.swf file). The mnuLoader.swf file retrieves information from settings.xml file. Everything worked perfectly when I tested in localhost/website/page.html. When I upload to hosting server www.website/index.html the mnuLoader.swf displays but does not load (its like it can't find the settings or picture files and displays the same as when you are waiting for something to load etc).

I have tried changing the xml file path from relative to absolute and no change. All three files index.html - mnuLoader.swf - settings.xml are in the same directory and the mnu_imgs folder contains the img icons for the menu. I don't understand why it would work on localhost but not on the actual server? Also directly underneath on the website I have another flash banner (just looping text pretty much) that works fine both on localhost and actual server so am pretty sure is not an access issue etc.

The mnuLoader.swf is Flash 8

View 2 Replies

Data Integration :: Xml Works Locally But Not On The Server?

Aug 1, 2006

So I have an html file with a swf in the center which loads pictures and text via XML. It works fine on my own computer but on the actual site it doesn't load the pictures or text it, in any browser.

View 1 Replies

ActionScript 3.0 :: Web Service Works Locally Not On Server?

Jul 30, 2009

There is a number of posts but no solution to this issue. I am using alducente web service class to make SOAP calls to a WS from flash and it works perfect in the Flash IDE. When I publish to my server it just hangs.

I have a crossdomain file allowing all headers and domains etc. no luck.

View 0 Replies

ActionScript 2.0 :: Id3.artist Works Locally But Not On Server

Jul 7, 2010

i inherited an old as2 mp3 player. i'm trying to read id3.artist from the mp3 playing. it gets it and displays fine locally but as soon as i put it on a server it always returns 'undefined'. do i need some kind of a security file or something to read the id3 info?

View 1 Replies

Flash :: Full Screen Site Not Working On PC IE / Firefox Only (mac Works Fine)

Aug 6, 2009

My full screen flash site works oerfectly on Mac's (I have a mac). But on PC IE and Firefox the full screen flash site is cut off 1/4 of the way down the page (see screen shots in zip or test if you are on PC). live site [URL] The site uses a swf object (files included in the zip). I got this from a template on flashDen. my problem is that I only have my mac and can't test on PC IE / firefox. Not that I would know where to start. I think that the problem might be the swf object from [URL] but not sure? I need to sure my site to apply for jobs. But recruiters use PC and it is very embarrassing that they can only see 1/4 of the screen.

View 2 Replies

Media Server :: Stream Works Fine On Local Subnet But Not Over Web?

Dec 30, 2009

I followed Tom Green's tutorials and at this point I can publish a live stream which I can view and interact with just fine on my local LAN.The FMS is NAT'ed to the outside world and I have ports 80 & 1935 open to the server.When I use a browser from the outside world and put in the servers public address I can see & interact with the FMS start page just fine. I can use the "interactive" tab and supply my live stream name and view the stream just fineHowever when I try to launch the Flashplayer that I built all I see is the controls with moving stipes, No video feed above. I can browse to the flashplayer HTML file on my local LAN and it works fine. Interestingly enough I cannot open the flashplayer HTML file directly on the server either (but I can open the start page application and interact with it).

View 1 Replies

Flash :: Professional - Movie .works Locally But Not On Server

Jul 26, 2011

I created the movie in a new folder, so I owuld have all the files... fss.html, fss.swf and MinimaFlatCustomColorPlayBackSeekCounterVolMute.swf I uploaded all these to the server.....

[Code]....

View 5 Replies

Javascript :: ExternalInterface. Addcallback Works Locally, But Not On Server?

Nov 9, 2010

Mainly because I have it ALWAYS working locally, when I test in a browser, but the moment I deploy to a server it stops working.

I've added trace commands and confirmed that ExternalInterface is in fact available before adding the callback, and an alert command in the javascript method correctly identifies the flash object. I also checked and allowscriptaccess is set to 'always'.

Could it have something to do with the flash being served on a remote server?

View 1 Replies

XML Gallery Works Fine Offline But Doesnt Work When Uploaded To Server?

Sep 1, 2009

I have decided to attempt making my sisters website. I have used an XML gallery in the website and all works well when viewing the website just in flash, .fla or the .swf file. My problem is, when i come to put it into dreamweaver ready to upload and I preview it in Firefox, or any other broswer, all the pages work but no the XML gallery? Im gettin very stressed out now as all my file routesetc are correct?I have googled the problem and all I have found out is that it could be something to do with security?Does anybody know how to resolve this problem

View 4 Replies

Actionscript 2.0 :: XML Data Not Loading Online, Works Fine When Testing?

Mar 27, 2010

I spent probably 12 hours today trying to make this mp3 player work with my limited AS2 knowledge and finally got something that looks and works the way I want it to! Hooray! Except when I uploaded it, it didn't work anymore. Where the XML data is supposed to be, it just says "undefined." I've searched everywhere for an answer and am not finding anything that fixes it. I've tried moving the files around so they're in the same folder, renaming them, making the path absolute, using gskinner's XML2 classI don't know what else to do[URL]As I was writing this, the site on my desktop where I've been working decided it would load the xml after all...but my laptop is still not cooperating, so there's still something wrong. Maybe it's not loading the xml until the songs are all downloaded?

View 1 Replies

ActionScript 3.0 :: Can't Load File From Server With URLrequest, But Works Locally

Dec 22, 2008

I have made a XMLloader with URLrequest, and it works locally by calling the file directly by its name ie. "myFile.swf". var presLoader:Loader = new Loader(); presLoader.load(new URLRequest("myFile.swf")); addChild(presLoader);

But when I uploaded the loader to the server, I have no file, only "URL not found"-error. So I found out that I should change to URL to "/Files/Images/subloader/myFile.swf" then it will load. But thats a real problem, because I have several loaders.

View 1 Replies

Html :: Swiffy, Flash To HTML5 Works Locally But Not On A Server?

Apr 6, 2012

I have tried numerous attempts at converting flash files to HTML5 with Swiffy -- and they all work great in a browser running locally, but when I put the HTML file that is exported on a server (I tried two separate ones, just in-case it was some server configuration) they do not run, it gives a blank white screen.

I tried saving the file down to Flash 5 export, and changed settings and they work locally but not when placed on a server. I tried converting several flash files all with different animations, and I get the same results -- it works locally but not on a server.

View 1 Replies

ActionScript 3.0 :: Load Sound Via XML Works Locally But Can't From Website / Server

Jul 26, 2010

Anytime this .swf is ran from my computer during test runs it works flawlessly. As soon as It is embedded in an HTML page the sound doesn't play.

View 3 Replies

ActionScript 2.0 :: XML Gallery Works Fine Offline But Doesnt Work When Uploaded To Server?

Sep 1, 2009

Im in my first year studying a web design course, over the summer I have decided to attempt making my sisters website. I have used an XML gallery in the website and all works well when viewing the website just in flash, .fla or the .swf file. My problem is, when i come to put it into dreamweaver ready to upload and I preview it in Firefox, or any other broswer, all the pages work but no the XML gallery? Im gettin very stressed out now as all my file routesetc are correct?I have googled the problem and all I have found out is that it could be something to do with security?

View 1 Replies

ActionScript 3.0 :: Embedded Fonts - Downloading From Separate Swf - Works Locally Not From Web Server

Feb 9, 2009

I'm new to AS & Flash, but not programming in general. I've got a project where I'm needing to use embedded fonts. To save the size of my main .swf, I've been using the Loader class to import .swf files with the fonts embedded at runtime. The "font library" .swf files contain just the embedded font, and in frame 1 have

[Code]...

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







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