Click to See Complete Forum and Search --> : XML within Flash File not working


WhiteDragon
09-02-2008, 11:36 AM
I have a XML file with this flash file, when I change the XML file to play a different file it does not work, and I know I have done mostly everything correctly, if you know AS and or XML or both and could give me a hand I would appreciate it. Also open to MSN.

Eye for Video
09-04-2008, 09:01 AM
Are you saying that it worked (the AS part) but when you changed the .xml file it stopped working?
If that's the case, it's most likely a path issue (url to the new file in relation to the .xml file) or a punctution/spelling error when you edited the .xml.
Double check path or move new file to same folder location as old for a test.
Retype the edited portion of the .xml.
Best of luck,
EfV

WhiteDragon
09-04-2008, 10:29 AM
I know I didn't make in typing anything, but I will review it again.

Eye for Video
09-04-2008, 11:50 AM
Does your AS include a trace, something like:
trace("XML file failed to load. Please try again later.");
and no problems there?
Well if you can't figure it out, post the .xml file and we'll take a look.
EfV

WhiteDragon
09-04-2008, 08:17 PM
The problem with this Flash Video player is that instead of the player resizing it self to each video, the video gets scaled to the size of the player so I'm trying to find something else that does what I'm after but can play FLV files.

Eye for Video
09-04-2008, 09:27 PM
So you want the player to resize? I haven’t seen too many of those. Best of luck in your search.
Keep in mind that as the player resizes itself, you’ll have to reserve room for the largest size video/player on your html page. As it grows from smaller to larger or shrinks from larger to smaller, you’ll want to keep that area of your Web page the same size, won’t you?.
What type of playlist are you using? Will you know the video dimensions ahead of time for each video, or are you expecting to read that in from the metadata?
The reason I ask is that lacking a super, duper, resizing player, you could construct your own player and use the playlist in such a way that one size video would play in it’s size and a different size video would play in another size. I’ve used this method to play .jpg photo slideshows and Flash .flv videos in the same player, same space on an html page.
Have you considered the bitrate issues of using different dimension videos? While a 300kbps bitrate may be satisfactory for a 320 X 240 video, your viewers will need a pretty fast connection to view a 640 X 480 video. As a comparison, using 320 X 240 at 300 kbps as a standard, a 480 X 360 would need a bitrate of 2.25 times that (675kbps) to maintain the same quality. The 640 X 480 video would need a whopping 4 time the standard, or a bitrate of 1200kbps to deliver the same quality. What can I say… I’m a video guy and push for quality over quantity.
Best wishes,
Eye for Video
www.cidigitalmedia.com

WhiteDragon
09-05-2008, 03:13 PM
Yeah I see what you mean, trying to find a video player that I am after is very difficult. I do have one which is the one I mentioned with the XML problem but it scales the video, if I knew actionscript I could change it so that the player could resize to the movies propotions.

WhiteDragon
09-06-2008, 09:19 AM
I got it solved on flash video gallery I have, :) Now I just gotta figure out this XML problem if I can't figure it out I'll post a message about it :)
Thank You.