Why is my xml navigation not loading into my Flash movie?
September 19, 2007 6:01 PM   Subscribe

Hyperspecific Html & Flash question especially for XML and Flash Video superstars. Why is my xml navigation not loading into my Flash movie?

First things first. Everything I'm referring to is a local based video player.

I'm working on a video player and it's composed of the following elements:
A folder named "dvd_assets": Inside this folder are four things: an html file, a swf file embedded into that html file, an .xml file and a folder named "video_assets". Inside the video assets folder are a number of flv files. The navigation of this swf player is being generated by a Menu Component.

Everything works fine in the above-mentioned structure. Now, I create a new folder and take the entire folder above and drop it in. I move the .html file up to this folder and fix the link to the embedded swf.

The problem is now that the menu doesn't appear. From what I've gathered it may have to do with the fact that I have an xml file and that creates security issues with the swf. But it's all local, so I don't understand what's going on.

Having typed this, I wonder if this makes any sense to anyone . . .
posted by jeremias to Computers & Internet (4 answers total)
 
Don't have an answer for you, but maybe this will clarify. Did I get it right?

[folder] root
--------- html
--------- [folder] dvd_assets
------------------- html
------------------- swf (embedded in html)
------------------- xml
------------------- [folder] video_assets
---------------------------- video01.flv
---------------------------- video02.flv
---------------------------- etc.
posted by grumblebee at 7:06 PM on September 19, 2007


If this is the common hiccup I think it is, the paths in the XML to the *.flvs need to be relative to the HTML file, not the SWF/XML file.

More info:
- Unexpected “Gotcha” with Relative Paths in ActionScript
-
Relative URLs are not referenced correctly in a Flash movie
posted by elphTeq at 7:23 PM on September 19, 2007


Response by poster: yes, grumblebee, that structure is the one I'm trying to emulate.
posted by jeremias at 3:53 AM on September 20, 2007


Response by poster: elphTeq, that first link looks very promising, I will report back after I figure it out . . .
posted by jeremias at 3:57 AM on September 20, 2007


« Older Help me find a driver backup application that can...   |   What to do in NYC from Sunday to Tuesday? Newer »
This thread is closed to new comments.