Flash site works locally but not online (uploaded to server)

We have bought a flash portfolio template and have customized it with our pictures, video, etc.
When we test it locally on our computer (using different web browsers) it all works perfectly well. We have uploaded the finished website to our server and when you go to the address online, it doesn't work (a loader progress shows but it is stopped and nothing happens).
We have however uploaded the original template we bought and it works perfectly online.
The template consists of and index.html, various .swf, and various .xml that we have modified according to the template instructions (it also contains a java script folder we haven't touched).
What is it wrong with our modified template - it works locally without problem…!
Thanks for your help

When a Flash file works locally but not on-line, it's almost always a pathing issue (provided you did upload ALL files and do not have something missing... as suggested by Ned).
A "pathing issue" results when the main .swf cannot find one or more of the associated Flash files...like an xml file or images.
It can be something as simple as using switching file names to all lower case. Local machine is not case sensative... most servers are. So "My Photo.JPG" is not the same as "my_photo.jpg". When naming files, best to use all lower case, no spaces in any file or folder names... use_underscore_instead.
But the most common cause is that those associated files (xml, images, etc.) are not pathed relative to the Web page where the main .swf is embedded. Pathing to the .xml and image files should be as though the .swf was located in the same folder as the Web page... NOT the actual location of the .swf file.
And that includes paths to the xml file and paths to image files coded into those xml files. Everything need to be coded relative to the Web page.
This topic has been covered a number of times here:
http://forums.adobe.com/message/4368273#4368273
http://forums.adobe.com/message/4294529#4294529
http://forums.adobe.com/message/4280086#4280086
http://forums.adobe.com/message/4267408#4267408
Best wishes,
Adninjastrator

Similar Messages

  • Flash Vidio plays locally, but not online - Help!

    I have a htm page that I have inserted a Flash Video. It
    plays locally, but not when I have it on the web. I get nothing -
    no skins, nothing. If I rt click, there are the settings for flash.
    I have the scripts in my scripts folder - double checked that. Can
    anyone see what I'm doing wrong?
    Here is the link.
    http://www.metuchen-edisonymca.org/video/test.htm

    "motomoto111" <[email protected]> wrote in
    message
    news:fmbc9v$l68$[email protected]..
    >I have a htm page that I have inserted a Flash Video. It
    plays locally, but
    >not
    > when I have it on the web. I get nothing - no skins,
    nothing. If I rt
    > click,
    > there are the settings for flash. I have the scripts in
    my scripts
    > folder -
    > double checked that. Can anyone see what I'm doing
    wrong?
    >
    > Here is the link.
    >
    >
    http://www.metuchen-edisonymca.org/video/test.htm
    Make sure your server is configured to serve .flv files. Ask
    your host if
    there is a mime type set up for that file extension.
    Al Sparber - PVII
    http://www.projectseven.com
    Extending Dreamweaver - Nav Systems | Galleries | Widgets
    Authors: "42nd Street: Mastering the Art of CSS Design"

  • Flash works locally, but not online!...

    I put a .SWF on a blank web page. It launches and plays fine
    locally if I launch the page from my hard drive, but online I just
    get a blank white page. Here's the link:
    http://al-i.anixter.com/TEMP/flashTemplate/index.html
    Any ideas?! Thanks!...

    Just realized if you right-click on the page and click
    "forward", it advances and works. I'd think it was something in the
    preloader code, but maybe not, because if the preloader was messed
    up, then I'd think it wouldn't work locally either, right?...
    UPDATED:
    Nevermind - figured it out! Stupid coding error in the
    preloader!!!

  • Spry Horizontal menu works locally but not online.

    Hi people I built a site in Dreamwever CS5.5 and used a spry widget menu. It works great in firefox when I run it locally, but when I try to access a page from the online server it's rubbish. I've uploaded all of the JS files a couple of times and even copied some to multiple locations but still no joy. Any advice would be appreciated, the website is to promote a very noble cause. website is www.stopthetoad.com.au

    Hi Gramps,
    Thanks for your help, from the look of the previous posts on this forum
    you may need to change your name to Altruistic Guru.
    This is actually a site that my 14 years old daughter (Jessica) has put
    together and I'm very proud of her for the effort that she is giving in
    her own time without possibility of reward (other than having our native
    species survive another generation).
    Any further advice you can offer will go a long way towards getting
    those feral toads out of our country.
    We've upload all files via cuteftp, Dreamweaver and even manually 1 file
    at a time!
    But it still wont work. When we try to load a page we get a series of
    messages such as
        SpryMenu.js requires SpryWidget.js
        SpryMenuBarKeyNavigationPlugin.js requires SpryMenu.js!
    All of the files that the messages refer to have been uploaded several
    times but we still get the messages.
    The spry Ui-1.7 folder with all relevanr folders/files is in my
    public_html folder on the server. Should I move all of the Spry folders
    contents into the public_html folder or somewhere else?
    I expected Dreamweaver to do all of this for her perfectly, we must have
    gone wrong somewhere.
    This is a screenshot of the cuteftp screen showing all of the files in
    the public_html folder. You'll notice that I've copied some spry files
    into this folder also (will this cause problems)
    Kind regards,
    David
    (on behalf of Jessica)

  • Flash video works locally but not on server

    I am hoping that someone can help me solve this problem. I cannot seem to fix it. I have created a flash video and it works fine locally but doesn't when I upload it to the server. All I get is a white blank screen. I can access the Flash settings but the video doesn't display. I have checked all file paths, which are correct since everything is in the same folder. I have looked up other forums trying to find a solution but nothing has worked yet. Does anyone here have any idea on how to solve this problem?
    My operating system is Windows XP. I am using IE8 browser and my flash player is up to date. Any help would be appreciated. Thanks.

    Nevermind. I ended up solving the problem on my own. This old guide that I used before ended up helping me out. I will post the link here in case anyone else has the same problem.
    http://web.archive.org/web/20080723224615/http://www.adobe.com/devnet/flash/articles/flvpl ayback_behaviors_print.html

  • Shared Object working locally but not online

    My game records your high score using the sharedobject and while testing it locally it works fine, but when the swf is published and played online, it is not recording the hi score. Is there some sort of new security issue with saving shared objects on people's hard drives now?

    In Frame 1 I have this code. The first is for game progress, the second is for the high score which is then passed to the text object
    var Progress:SharedObject = SharedObject.getLocal("progress", "/");
    var OwlHiScore:SharedObject = SharedObject.getLocal("owlhiscore", "/");
    hisc.mainScore.text = (OwlHiScore.data.HiScore).toString();
    Then on the last frame where the game is over I have this code:
    if (score > OwlHiScore.data.HiScore) {
              hiScoreWon = true;
      OwlHiScore.data.HiScore = score;
      OwlHiScore.flush();
              hiScoreHolder.hiScoreEffect.mainScore.text = (OwlHiScore.data.HiScore).toString();
    } else {
              hiScoreWon = false;

  • Flv player works locally but not when uploaded

    Another day, another issue...
    I have a flash movie that includes an flv player with previews and buttons. It reads the content from an xml file.
    It works without problem when I test it locally. Trouble is when I upload it, everything displays correctly but the flv movie file doesn't play. Here's the test link:
    http://www.swsoftware.com/ncjhs/assets/video/flvplayer.html
    XML file is http://www.swsoftware.com/NCJHS/Assets/Video/video.xml
    Flash file is http://www.swsoftware.com/ncjhs/assets/video/flvplayer.fla
    Anyone have any suggestions? I'm new to flash and this forum has been a tremendous help in resolving my (somewhat numerous) problems.
    Sam

    When I tried to view the posted url I got the following
    errors in the order I have listed them.
    CSInit is undefined Line 23
    Line 75 Object Expected
    Line 66 Object Expected
    My Platform.
    IE 7
    Windows XP Pro

  • Cfmail  - works locally but not when uploaded

    Hi,
    I'm using cfmail with form variables for the email addreses.
    It's so users can send email to political candidates. Here's the
    code:
    <cfoutput>#Form.semails#</cfoutput>,<cfoutput>#Form.hemails#</cfoutput></p>
    <cfmail to="#Form.semails#,#Form.hemails#"
    replyto="#Form.useremail#" failto="[email protected]"
    from="#Form.useremail#" subject="Keep Maine Toxin-Free!"
    server="mail.nosuch.com" port="26" timeout="40"
    username="[email protected]" password="nosuch">
    #Form.usermessage#
    </cfmail>
    The form submit page collects those variables and passes them
    as form variables - GET. The "to" field in cfmail is populated by
    hidden fields that contain session variables... they're forwarded
    on as those .semails and .hemails form variables. Actual values
    have been replaced with "none" or "nosuch" for security, but you
    can see the structure anyway.
    This works when run locally, sends the emails as it should.
    When uploaded exactly as is to godaddy's server, it doesn't send
    emails. Doesn't throw any errors, the form results page displays as
    it should... but the emails just never get sent.
    I'd really appreciate any ideas...
    Joe

    Adam Cameron wrote:
    > I don't know how these shared hosting outfits work, and
    what access you
    > have to what, but here's some questions:
    >
    > - have you inspected the mail logs to see if they cast
    any light on the
    > scene
    > - have you configured CF to tell it where the SMTP
    server is?
    > - do you need to authenticate to it, and that sort of
    thing?
    > - are the email messages failing @ the CF end (in which
    case they'll be in
    > the mail/undeliverable dir (not entirely sure that's the
    name of it, but
    > have a shufti around in the cfusion dir...), or are they
    getting to the
    > SMTP server and failing there (check the SMTP server's
    logs).
    >
    Unfortunately all that can't be done by us users of these
    shared hosting
    outfits. You'll need to contact GoDaddy support and ask them
    to take
    these steps. I'm sorry about your probably experience with
    this.
    While I use GoDaddy for my personal hosting where I care more
    about not
    spending a great deal of money over high performance. I do
    not wish my
    support experiences on anybody. If you know ColdFusion well
    and can
    tell support what needs to be done, they should be able to do
    it. Or,
    more likely, you would be able to figure out the self help
    tools to do
    it yourself. But, unless this has changed since my last
    experience,
    their support staff is not ColdFusion literate and are unable
    to guide
    other, inexperienced ColdFusion users.
    Saying all that. Email works just fine on my GoDaddy website
    and I do
    not believe I had to do anything special to use it.

  • Flash Remoting Works Locally But Not On The Server

    Hello,
    I have a flash file that connects to an asp.net page. The
    aspx page queries a databse and returns a set of records to flash.
    Flash reads in those records and processes those records. Locally,
    this works fine. However, on the server, nothing happends. I spoke
    with tech support at hosting company and they tell me everything is
    installed for Flash Remoting.
    Here is the code thats on the server:
    import mx.remoting.NetServices;
    import mx.remoting.NetDebug;
    mx.remoting.debug.NetDebug.initialize();
    //CONSTRUCTOR
    var inited:Boolean = false;
    if(!inited){
    inited = true;
    NetServices.setDefaultGatewayUrl("
    http://63.134.251.243/gateway.aspx");
    var gatewayConn
    bject = NetServices.createGatewayConnection();
    gatewayConn.setDebugID( "Gateway Connection" );
    var SQLQueryToolService
    bject = gatewayConn.getService("matthewlemke", this
    function SQLQueryToolAction(){
    SQLQueryToolService.test("SELECT * FROM flashImages");
    function test_Result(result){
    trace(result);
    _root.abc.text = result.toString();
    SQLQueryToolAction();
    Here is the code locally:
    import mx.remoting.NetServices;
    import mx.remoting.NetDebug;
    mx.remoting.debug.NetDebug.initialize();
    //CONSTRUCTOR
    var inited:Boolean = false;
    if(!inited){
    inited = true;
    NetServices.setDefaultGatewayUrl("
    http://localhost/matt/gateway.aspx");
    var gatewayConn
    bject = NetServices.createGatewayConnection();
    gatewayConn.setDebugID( "Gateway Connection" );
    var SQLQueryToolService
    bject = gatewayConn.getService("matt", this );
    function SQLQueryToolAction(){
    SQLQueryToolService.test("SELECT * FROM flashImages");
    function test_Result(result){
    trace(result);
    _root.abc.text = result.toString();
    SQLQueryToolAction();
    Any help is greatly appreciated.
    Thanks,
    Vic

    I am having the exact same problem. My remoting application
    works fine on my laptop as long
    as the url for the gateway reads
    http://localhost/remotingData/gateway.aspx,
    but if I change
    it to the name of my machine and attempt to run the swf I
    keep getting a NetConnection.call.badversion error in the
    netconnection debugger. If I attempt to connect through IE it just
    sits with no reply.
    Is there some kind of permission thing going on here?
    Flash MX2004 Professional
    Flash Remoting Components MX2004 (unlicensed)
    IIS 6.0
    IE 6.0

  • LoadMovie works locally, but not online...

    I have the following command on a frame:
    holder_mc.loadMovie("/NF/mp3player.swf");
    When independently launching the .SWF, or when testing the
    movie in Flash, the "holder_mc" loads the "mp3player.swf" just
    fine. But when posted online (or even testing locally inside a
    browser), it doesn't load at all. I have copied the directory
    structures from my local hard drive to my online server EXACTLY...
    Any ideas???...

    DIY_Lobotomy wrote:
    >
    quote:
    Originally posted by:
    Newsgroup User
    > This however will make it impossible to test locally,
    unless in shtml in
    > browser due
    > to the changes in path. You must mind these things while
    design movie, once
    > keeping
    > html and swf separately.
    >
    > I don't understand the statement above...
    Sorry, I can't explain it any better. Perhaps someone else
    will be able to
    help you.
    > This is the link to the page where I'm having a problem:
    >
    >
    http://www.shootingblanks.net/2media.shtml
    >
    > On that page (underneath the "Streaming Music" section)
    is the .swf. It is
    > coded on the webage to this path:
    >
    > audio/streamingAudio.swf
    >
    > Then, within that "streamingAudio.swf" is the following
    lines of actionscript
    > that happen when a button is pressed:
    >
    > holder_mc.loadMovie("WT/mp3player.swf");
    This is exactly what I'm telling you about. DO NOT USE PATHS
    from the perspective
    of flash file but the html file where the flash is. FLASH
    path is irrelevant
    here. It means nothing. IF the HTML is in the root of the
    server, the FLASH file
    thinks it is in the root of the server too so it will seek it
    files from that place
    not from its original location.
    You need to load your file using:
    audio/WT/mp3player.swf
    not
    WT/mp3player.swf

  • cffeed caching works locally but not on server

    So I got my new Hostek account set up (woohoo!) and I've started uploading some basic files so I can do thinks like validate my code and make sure everything's working.  One thing that does not work (but does locally) is my news feed caching.
    Pulling in two RSS feeds was seriously slowing down my index page loading, so I stole a trick from Ray Camden on caching the feeds.  It works perfectly on my dev machine at home, but doesn't work on my hosted account.
    Here's the exact code being used:
    <cfset feedurl = "http://velonews.competitor.com/feed">
    <cfset cacheTime = #createtimespan(1,0,0,0)#>
    <cfif not structKeyExists(application,"rsscache") or dateDiff("n", application.rsscache.created, now()) gt cacheTime>
        <cffeed source="#feedurl#" query="entries">
        <cfset application.rsscache = structNew()>
        <cfset application.rsscache.data = entries>
        <cfset application.rsscache.created = now()>
    </cfif>
    <ul>
    <cfloop query="#application.rsscache.data#" startrow="1" endrow="6">
    <cfoutput><li><a href="#rsslink#">#title#</a></li></cfoutput>
    </cfloop>
    </ul>
    I tried wrapping a try/catch around the top section (above the <ul>) and still got nothing for an error message.  The page just stops being rendered at that first <ul>.
    I'm not sure why it works locally but not on the web server.  Any ideas?

    Miraculously, I got it working.
    I changed this:
    <cfloop query="#application.rsscache.data#" startrow="1" endrow="6">
    <cfoutput><li><a href="#rsslink#">#title#</a></li></cfoutput>
    </cfloop>
    To this:
    <cfoutput maxrows="6" query="application.rsscache.data">
    <li><a href="#rsslink#">#title#</a></li>
    </cfoutput>
    And bingo!  It worked. Perhaps it's an idiosyncrasy between CF9 and CF10.

  • [AS3] EventDispatcher works locally but not remotely

    Hi,
    I am very new to Action Script and have the following
    problem. I hope someone can point me in the right direction.
    I have a small video player app. I have added the FLVPlayback
    component to the stage and set some properties via action script
    (AS 3)
    I then instantiate a class to go and retrieve some XML,
    register an eventListener to wait for the XML to be loaded and once
    the event has fired, load the FLV file (just hard coded at the
    moment) into the FLVPlayback object.
    This works when testing in the Flash IDE but not when I
    publish the movie to my webserver. I have tried commenting out the
    player.load() and just adding a textfield and again this works
    locally but not when I publish to the webserver. I have included
    some code snippets below.
    Can anyone tell me where I am going wrong?
    Any pointers much appreciated.
    Thanks
    Martin

    Hi,
    I found the problem if anyone has the same issue. I was
    passing some FlashVars in incorrectly using the
    AC_RunActiveContent.js that comes with Flash. I have switched to
    swfobject and all is well.
    thanks

  • Flash videos showing locally, but not on my site. help please

    Hi,
    I converted several avi's to flash, I then inserted the FLV
    file into and html file in dreamweaver.
    The flash files will play locally, but not when i upload them
    to web server. Check it out here please
    http://kdsi.org/kds/demo.html
    please check the demos above to see what i mean. I just get a
    blank page.
    Anyway to insert video into the page like youtube? (instead
    of the "demo video" button have the video embedded and just click
    play to play it. without using the popup like i did.)
    thank you.
    thanks

    Hi,
    I am sorry i did not get what you mean with the last
    sentence, but generally, this may be a path problem, you need to
    check your FLV path and make it meet the path on the server not the
    local machine.

  • Swf works locally, but not on server

    I have an issue with an xml-driven swf file. It plays fine when I test the site locally, but not when it's uploaded to a server. Here is a link to the page. There are many posts on this and other forums describing the same problem, though I can't find the right solution. The only thing it has convinced me of, is that it is probably a pathing problem. I purchased the file online, and instead of one swf and one xml there are about ten of each to make it work. In addition to this there are about 40 .as files. (all this to make it "easier" to customize).  Since I plan to use this banner rotator on multiple pages, it will be very unconvenient to upload all these files for every page I make. I checked with support for this product, and was told I could make a flash directory, only duplicating the xml-files for each new page and linking the xml back to the swf-files. Otherwise the support answer was very short and unhelpful. I have renamed every path in the xmls so that it should be right. As I said, the file works locally, so I'm not sure what I am doing wrong.
    I have posted in adobe forums before, and I have alwas found helpful and kind responses.
    Thank you,
    Siri

    They're all uploaded to the server, it is also possible for me to dowload them from there. When i run the main swf file through flash player debugger, I get this message:
    Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/xml/abrMain.xml
              at com.sQrt121.utils::CustomLoader/configureLoader()
              at com.sQrt121.utils::CustomLoader()
              at com.sQrt121.utils::LoadJob/initJob()
              at com.sQrt121.utils::LoadJob()
              at com.sQrt121.utils::ContentLoader$/addJob()
              at AbrMain/init()
    So I guess it can't locate the xml folder (since it is not there), but I don't know how to change the path. I can change it in the xml, pointing to the swf, but how do I do it the other way?
    This is the main xml-file:
    <?xml version='1.0' encoding='UTF-8'?>
    <abrMain
              width                              = "300"
              height                              = "250"
              pauseOnOver                    = "off"
    >
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrcontent.swf"                                    xml = "xml/abrContent.xml"                                        config          = "xml/config.xml"/>
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrbuttonscolor.swf"                               xml = "xml/abrButtonsColor.xml"                                        config          = "xml/config.xml"/>
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrpreloadercircle.sw f"               xml = "xml/abrPreloaderCircle.xml"                              config          = "xml/config.xml"/>
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrpreloaderline.swf"                               xml = "xml/abrPreloaderLine.xml"                              config          = "xml/config.xml"/>
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrplaypause.swf"                               xml = "xml/abrPlayPause.xml"                                        config          = "xml/config.xml"/>
    </abrMain>
    the abrMain.xml tells the swf what files it shold use, and where to find them, but where do I tell the abrMain.swf to find the xml? Maybe this is an issue for product support instead, though they only answer short and cryptic.
    Murray *ACP* wrote:
    None of your SWF files are found in the location where the page's code places them.
    For example:
    <param name="movie" value="../../../flash/produkter/deploy/abrmain.swf" />
    Did you upload them?

  • XmlSocket works locally but not on webserver

    Hey, so I have an xmlsocket sending info to another server and that all works fine when I test in on my computer (locally) but when I upload the site to my server, the socket fails to connect. I have heard about policy files but dont really understand where to put it and if it's necesary considering it works fine locally. So I am wondering why it won't work on my server, Any ideas?

    waynecto wrote:
    > I'm using flash 7. My application is a weather bug on a
    portal page. I'm
    > getting the feed from yahoo and compile the application
    using
    > System.security.allowDomain("
    http://xml.weather.yahoo.com/");
    and it is working
    > fine when I'm testing from my local machine.
    Well, that has to work both ways. On your site and On the
    giving data server side.
    It needs XML file on the root of the directory allowing you
    to take the data.
    Otherwise we could cross domain people traffic w/o their
    consent.
    So, I don't expect yahoo to drop such xml just for you and
    because that's the case,
    you will need to work around it using proxy on your domain.
    When you request the file from your domain, your domain
    requests it from yahoo and
    hands it off as if it was yours. That's the only way around
    it.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

Maybe you are looking for