Flash Xml embeded in HTML problem

  • venky1893
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Oct 18, 2010
  • Posts: 5
  • Status: Offline

Post December 13th, 2010, 10:22 pm

i had made a swf file which load the xml file .his works fine whn i call the swf.. but whn i embed in html it doent work

html -- /index.html -- this calls -- " /photos.swf "
swf -- /photos/pic.swf -- this calls -- " ../photos/pic.xml "
xml -- /photos/pic.xml

it doesnt run whn index.html is on the root folder. whn i put in "/photos" it works fine but i need in root folder
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post December 13th, 2010, 10:22 pm

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post December 14th, 2010, 9:11 am

The path being called INSIDE flash is relative to the container page and not the swf file. So you would need a path inside the swf of /photos/pic.xml instead of ../photos/pic.xml
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 89 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.