FORUMS: list search recent posts

Publish XML Tree for ns Video

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Publish XML Tree for ns Video
on Sep 5, 2006 at 6:17:38 pm

Hi - many thanks to Lee and Todd for the start...

I've been looking for answers to posts about how to get xml to work once published, but I haven't seen a response. So here's the situation:

Created "tree.xml" with this code //
var xml:XML = new XML();
xml.ignoreWhite = true;

xml.onLoad = function() {
theTree.dataProvider = this.firstChild;

theTree.selectedIndex = 0;

xml.load("tree.xml"); //or xml.load("http://www. --- .com/mediaplayer/tree.xml");
Relative and absolute paths for the tree both seem to work in Publish Preview. The tree populates and the videos play. Then I publish and upload everything to the server, and the swf is fine, but the tree component is empty. Is there an xml trick I have missed? Something on the server side? Or possibly a header on the xml file?



Return to posts index

Re: Publish XML Tree for ns Video
on Sep 8, 2006 at 3:24:38 pm

check it out... it is for a local school system... I ftp uploaded on the back of our radio station site for testing.

I think the problem is with the tree component itself, not the xml.
Is there a checklist to use when utilizing a component? Like do I have to select "export for runtime sharing"?

See anything wrong with the swf or xml?

I'm just a video guy trying to help a non-flash web developer- I use flash just for animations.
Any comments/suggestions would be appreciated.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved