Welcome to WebmasterWorld Guest from 54.197.171.28

Forum Moderators: open

Message Too Old, No Replies

Flash working offline but not online

   
2:45 pm on Dec 31, 2011 (gmt 0)

5+ Year Member



The index file has flash which works offline but does not work after it is uploaded. Why is it so?
4:18 pm on Dec 31, 2011 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Check your paths. You may have relative paths or paths relative to your local file system, like

file:///C:/Users/your-username/site/flash/myflash.swf

which need to be

/flash/myflash.swf

presuming, of course, "myflash.swf" is located in a directory "flash" in the domain root. This is true of all references, inside and external to the flash object. For example, if you load an XML file for video (or images, or whatever),

/flash/my-video-list.swf

The XML file should contain
<?xml version="1.0" encoding="ISO-8859-1"?>
<movies>
<movie url="/video/somefile.flv" moviename="some title"/>
</movies>

and within the flash, the reference to that xml would be something like

/flash/my-playlist.xml