Image loads locally but not on Website?

I have constructed a slide show viewer for use on a website.
The swf loads jpeg images which are contained in the same
directory. This works well on my local machine but when uploaded to
a website and called up by an html file, the swf runs and shows the
correct backgrounds but fails to load any jpegs. I assume that the
problem is to do with the transfer of the variable 'Select_picture"
into the loadMovie statement?
The following loop (step variable = pic_no) works locally but
not on website:-
>>var Select_picture:String="Pic"+pic_no+".jpg";
>>var Select_mc:String="mc"+pic_no;
>>
>>this.createEmptyMovieClip([Select_mc], depthnow++);
>>loadMovie([Select_picture], [Select_mc]);
In order to prove that a picture could be loaded on the
website, I simplied the code to :
>>loadMovie("pic1.jpg",[Select_mc]);
and this worked.
So, I tried to transfer the same string directly via the
variable;-
>>var Select_picture:String="Pic1.jpg";
>>
>>loadMovie([Select_picture], [Select_mc]);
But this does not work.
Any suggestions would be greatly appreciated.
Regards
Dave

Thanks , Arunkkumar2207j and ggshow for your suggestions.
1, The image size isn't a problem because the one I used for
the test is only 200k. And the single test image loads very quickly
on the website.
2. I don't think the depth of the movie clip is a problem
either because depthnow starts at a very large number and is
incremented for each clip and works well for multiple clips on my
local machine. Also when loading a single image is should not be a
problem. Also, I think I proved that was working with the single
image test?
3. The htm, swf and images are in the same directory. But for
the test, I ran the swf directly on the website (without using the
htm file to load it)
Please keep the suggestions coming....!
Many thanks
Dave

Similar Messages

  • RSS Widget works locally but not on website

    I used the RSS widget to insert the following RSS feed:
    feed://www.bpkids.org/updates.xml
    I have also tried inserting with http:// instead of feed:// but no difference
    When I publish the site and check it on my local folder, it works. But when I post it to my website, it shows nothing.
    This is the first time I've used the RSS widget. It seems straight forward enought, however, I've read in these discussions that there was a bug with the RSS widget recently that was causing it not to work and wasn't sure if this is still a problem. Thanks

    That is a crossdomain issue because you have the site
    accessible via www or without.
    If you use
    http://www.sneeple.com/media_test/index.html
    to access that page it will work.
    Here's what to do to fix it:
    http://forums.flashgods.org/viewtopic.php?f=39&t=94

  • Loads locally but not on server

    I am able to run the sample report on our Linux server. I am able to run my report locally, on Windows. However, when I try to run my report on the Linux server, I get:
    Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc.
    org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot load JDBC Driver class: com.mysql.jdbc.Driver.

    Solved. Copied mysql-connector-java-5.1.36-bin.jar to webapps/birt-viewer/WEB-INF/lib/ and then restarted the birt-viewer webapp in Tomcat.

  • FLV files run locally but not on website

    My flash video plays back when I do a preview, but after uploading the FLV files and the new page to the web site all I have are blank squares, not videos. What's up?

    Your welcome

  • 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

  • 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.

  • Get "javascript(void)" error on numerous, but not all websites

    I'm getting a "javascript(void)" message in my status bar on numerous, but not all websites, accompanied by an inability to utilize FF on these sites; for instance, my company email. It'll log in and load the inbox, but will not open anything that has a hyperlink (read:anything off the primary top page). My only change in the past forever, has been uninstalling noscript (it was blocking EVERYTHING and I simply wasn't able to understand a lot of the functionality).
    I've checked all the blocks and settings til I'm blue in the face, but I do not see what the deal is that's causing my issue.
    == URL of affected sites ==
    http://

    Hello Robert.
    First of all, and although possibly not related to your problem, I will remind you that the version of Firefox you are using at the moment as been discontinued and is no longer supported. Furthermore, it has known bugs and security problems. I urge you to update to the latest version of Firefox, for maximum stability, performance, security and usability. You can get it for free, as always, at [http://www.getfirefox.com getfirefox.com].
    As for your issue, you may be having a problem with some extension or plugin that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?

  • [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

  • IPhoto frustrating error..The volume for "Df23.JPG" cannot be found. It prompts for all photos with this issue rather than offering an option to ignore. I can find the images in spotlight but not in Find Photo. Does anyone have a solution

    iPhoto frustrating error..The volume for "Df23.JPG" cannot be found. It prompts for all photos with this issue rather than offering an option to ignore. I can find the images in spotlight but not in Find Photo. Does anyone have a solution?

    Unless you have the source files that were on the TC or Windows machine you will have to start over with a new library as follows:
    Start over from scratch with new library
    Start over with a new library and import the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from your original library as follows:
    1.  Move the existing library folder to the desktop.
    2. Open the library package like this.
    Click to view full size
    3. Launch iPhoto and, when asked, select the option to create a new library.
    4. Drag the Masters (iPhoto 11) folder from the iPhoto Library on the desktop into the open iPhoto window.
    Click to view full size
    This will create a new library with the same Events as the original library but will not keep the metadata, albums, books slideshows and other projects.  Your original library will remain intact for further attempts at fixes is so desired.
    OT

  • Slideshow works on local but not remote server?

    Slideshow works on local but not remote server? The site is patriceclarkson.com.

    When I compare your:
    http://www.warpd.ca/SpryAssets/SpryWidget.js
    to this one:
    http://labs.adobe.com/technologies/spry/ui/includes/SpryWidget.js
    I do not see the same file. Try uploading the correct file and check again.
    Xav

  • I can open pdf files in emails, but not on websites. I have the new Reader.

    I can open pdf files in emails, but not on websites, as I was able to a couple of weeks ago. On websites I get the message, "Adobe Acrobat has crashed". I downloaded the new Adobe Reader and that didn't help. I don't have Adobe Acrobat, on Adobe Reader.

    Windows 7, Google Chrome and the most recent Adobe Reader (just downloaded the same day). The problem is with Google Chrome, as Fire Fox works fine. I tried enabling and disabling what would read pdf files in Chrome plugins and found that the only thing that worked was to disable adobe reader and enable chrome reader, which is the opposite of what was reccomended in answer to other adobe forum questions that were similar to mine.

  • Adding an image when signing, but not in the signature field, in Reader

    Hi,
    I would like to know if it is possible to add an image to a pdf document when I sign the document in Reader.
    I do not want to add the image in the signature field as a signature, but rather below the signature field. The image is 'n barcode providing me with more information on the signature.
    I have looked at the Stamper example, but this functionality is not avialable in Reader.
    Thank you,
    Magda

    If you insert after signing you will break the signature!!   You need to do any such stamping BEFORE signing.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 26 Oct 2011 23:54:15 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Adding an image when signing, but not in the signature field, in Reader
    Re: Adding an image when signing, but not in the signature field, in Reader
    created by magdakuit<http://forums.adobe.com/people/magdakuit> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3992619#3992619

  • Why can you flip an image in Photoshop, but not Cmera RAW, or can you?  (CS5)

    Why can you flip an image in Photoshop, but not Cmera RAW, or can you?  (CS5)

    Doesn't look like you can. I'm just a user, so I don't know why. It can be done in Lightroom if that's any consolation.

  • Load Started but not finished

    Hello
    When I try to load the Pas Model by entry & approval, appears the follow message : "load started but not finished. Check contents of wfmde_update_bica01devpbi.trc file".
    When I check this file, in the end appears the follow:
    FROM CPMS_EA_DETAIL, CPMS_EA_DATA
    WHERE CPMS_EA_DETAIL.ID = CPMS_EA_DATA.CPMS_EA_DETAIL_ID
    AND SUBSTR(DIM0_MEMBER, LENGTH(DIM0_MEMBER)-2, 3) LIKE 'ACT'
    AND CPMS_EA_MASTER_ID = 109423193977918
    AND INUSE = 1
    AND READY = 1
    end
    LSLink> lss create TIME =  substr(PERIOD,1,4) + '/' + substr(PERIOD,5,2) + '/' + substr(PERIOD,7,2)
    LSLink> read
    DAT046:
    The Dimension NODIM Must Appear in the ACROSS/DOWN List
    I don't understand what is wrong, because everything works fine, and nothing change with this dimension.
    Regards
    Andreia

    Hello Andreia,
    I think you have also opened a customer message for this as I seem to recollect seeing it.
    My guess here is that, since the metric set was created, the measure definition was changed so that, in addition to being defined by the dimensions in the metric set, is also defined by something called NODIM.  That's the usual way in which an error like this occurs.
    Thanks,
    Robert

  • 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.

Maybe you are looking for

  • Return Delivery on PO Item History Screen

    Hello, please, does anyone know where the value of a "Return Delivery" comes from? I can find Confirmations values, Invoices, even if I need to bring from ECC (erp). But for "Return Delivery", I have searched in all the FM's and tables that I know, b

  • (?) next to a LOT of songs!! how do i undo in bulk?

    i have all my music on an external hard drive. just a few days ago, i updated my ipod (which is set to automatically update) BUT i forgot to turn the external hard drive on. now, there are hundreds of songs that have (?) next to them, and it will tak

  • Enhancement request: Branch report

    I think this has come up many times on the forum, but I would really like to see better branch reports under application reports. For example 1. show me all pages that don't have a single branch defined. This would avoid the sheepish grin when users

  • Overwriting Text Files?

    I've got a program that writes text files ... cool. Up until now, I've been tagging the text file names with a time stamp so they don't overwrite each other between program runs. Now I'd like to (under certain criteria) actually overwrite some of the

  • Bapi BAPI_PRODORDCONF_CREATE_TT

    Hi people, I'm  trying to use BAPI_PRODORDCONF_CREATE_TT to load data into tx CO11N. I need to fill the field "production date", and couldn't find the corresponding field in this bapi. I can't fill the structure "goodsmovements" because this bapi def