Hi Wendy, It sounds like you're asking a bunch of questions, without realising it. I would break the problem down something like this:
1. Create a video (non-flash) 2. Convert video to flv (non-code) 3. Upload video to web server (non-flash, maybe non-code) 4. Create xml to describe which videos are available (non-flash, maybe non-code) 5. Flash application loads xml from server, and parses it 6. Flash application creates buttons for videos, depending on what's in the xml On this list, it's probably best to stick with #s 5&6, as 1-4 are really not topical. So let's assume that you've got your videos already uploaded to your server, and an xml file describing where they are. For #5, you'll need to create an XML object in your code. Here's a link to a tutorial on how to do that: http://www.actionscript.org/resources/articles/9/1/XML-101/Page1.html For the buttons (#6), you'll need to have a button movieclip in your library. It could be as simple as a movieclip with a shape and a textfield. In the library, you'll also want to give the button movieclip a linkage Id, (right-click on the item in the library, select "Linkage"). Once that's done, you can attach the movieclip to the stage in code by using the attachMovie function. Here's a wee tutorial about that: http://flash-creations.com/notes/dynamic_attachmovie.php Basically, what you need to do is to load the xml into an XML object, then loop through the values in the xml, using attachMovie to drop a new button on the stage for each video in the xml. I think that should get you started. Hope that helps.. Francis Wendy Marino schrieb:
Hello list!
please: this list is for asking specific coding questions. not asking for someone doing someone elses work. please respect the lists etiquette. micha @Micha: can't we at least help to break it down, so that it BECOMES a specific coding question? She did take the trouble to come here, after all. On 3/8/07, Wendy Marino <[EMAIL PROTECTED]> wrote:
Hello list! Does anyone know the code to make -selectable dynamic video buttons- appear -only- if/when there is an .flv available to be called from in the xml code??? I¹m dealing with 3 to 5 videos that need to be removed and then replaced daily after rendering in final cut, exported to .flv¹s then put on web. The prior needs to be taken down, and the new put up when ready. I don¹t want the button for whichever video to appear unless the video is there. Any suggestions would be greatly appreciated!! Thank You! Wendy -- Wendy Marino Digital Media Operations Specialist The Journal News 1 Gannett Drive White Plains, NY 10604 914-694-5288 E-mail: [EMAIL PROTECTED] www.lohud.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com