homepage Welcome to WebmasterWorld Guest from 54.237.99.131
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
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

5+ Year Member



 
Msg#: 4402613 posted 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

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



 
Msg#: 4402613 posted 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved