homepage Welcome to WebmasterWorld Guest from 54.237.95.6
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Flash working offline but not online
mini




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

The index file has flash which works offline but does not work after it is uploaded. Why is it so?

 

rocknbil




msg:4402628
 4:18 pm on Dec 31, 2011 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved