#1 (permalink)  
Old 05-23-2008, 05:10 PM
Junior Member
 
Join Date: May 2008
Posts: 6
Default location of files

when i put the swf file, the xml file in the same directory as the html file that class the flsh i have no problem

but when i put the flash file in a different directory than the html file i do not manage to use it; the flash animation does not appear

for example if i put the flsh file in a flash sub directory and call var so = new SWFObject("\flashsubdirectory\flashfile.swf", ...) it does not function

i can put the data.xml anywhere it does not change the issue

is it possible to put the swf and the html files in different directories ?

loic
Reply With Quote
  #2 (permalink)  
Old 06-20-2008, 10:23 AM
Super Moderator
 
Join Date: May 2008
Posts: 518
Send a message via Skype™ to Adrian
Default

Yes,
You can put the swf and html in diferent locations but make sure the xml file file stays in the same directory as the html, or make sure if you send the xml file via flashvars, you specify the path relative to the html page.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.