Answered Lost Flash Images on new host

  • Friday, October 05, 2012 8:17 PM
     
     

    I am transferring my website from GoDaddy to Arvixe.

    It's been a painful process, but the only bug left is that the flash images on the right hand header - which work fine on the old site - see www.hewitthome.net - do not show at all on the new site - www.paulandmark.com. 

    I've compared the code but am no nearer to solving this issue. Any help or advice would be much appreciated!

All Replies

  • Friday, October 05, 2012 8:21 PM
     
     Answered

    Did you upload all the files for the Flash, and are they where they belong?  And is the page calling for them from the right location? Your page code is only part of it, for flash.

    • Edited by KathyW2 Friday, October 05, 2012 8:28 PM
    • Marked As Answer by Steve, London Saturday, October 06, 2012 6:43 PM
    •  
  • Friday, October 05, 2012 8:50 PM
     
     Answered

    The code for the embed looks the same, but the src attribute looks a little strange. You have this for both pages:

    src="../flash/flash-images/template-images.swf"

    Now, for most sites, that would actually be pointing to a folder at the same level as the site root folder. Some providers permit access there (Lunarpages), others do not. In my Arvixe account (Windows serer), I can access the level above wwwroot (the site root folder) and create folders there. I have not actually tested calling assets located at that level from pages found in wwwroot, but in any case, if it works, you will have to actually create a "flash" folder at that level (the same level where you see wwwroot as a folder in your control panel), then put the swf file you are calling there.

    The notation "../flash/" means "go up to the parent level, then down to the 'flash' folder, and look for this asset."Since EW expects all of your assets to be contained within the site root, I would advise you to create a "flash" folder within your site root folder (i.e. wwwroot/flash), and put the flash file there, then change your src attribute to

    src="flash/template-images.swf"

    You don't actually need that "flash-images" subfolder; it's completely redundant and only makes your URLs unnecessarily long. That will find the asset and display it.

    cheers,
    scott


    Please remember to "Mark as Answer" the responses that resolved your issue. It is common courtesy to recognize those who have helped you, and it also makes it easier for visitors to find the resolution later.

  • Saturday, October 06, 2012 6:44 PM
     
     
    Kathy, many thanks. The files were indeed in the wrong place. 
  • Saturday, October 06, 2012 6:46 PM
     
     
    Many thanks Scott. The files/folders structure had got a bit confused and the necessary files were in the wrong place.