Between the opening and closing tags <z> </z> is one entry in the Custom Play list. If XML is confusing for you, please Google a tutorial to familarize yourself with XML. It’s really not hard to use and its very popular and versitile.

The tags and what they mean: <z> … </z> is just a complete line entry for the playlist. The good stuff
resides beween these tags.

L=”0″ – L stands for level, level 0 is the main level of the custom menu. All things on level “0” will show first. Some items can link to other levels.

T=”m” – T stands for type, There are 5 types of datum (good stuff). Type T=”m” = YouTube MovieClip. Type T=”d” = default MovieClip (startup movie). Type T=”l” = Link to another level, when clicked it will load the XML for a different level. “s” Live Youtube search link will get 50 movies from a youtube search. Type T=”a” = same as “s” search but no additional tags will be added to the link, this is required for some restricted search pages, like Todays new videos etc.

Lets begin with an example playlist and a simple structure.

Maybe you are making a MusicVideo Player for a Club !

And You want to group music by catagories, Start with the main menu: L=”0″ Level “0” is always the first level we start with.

Example of our first xml entry below:

Just a simple do nothing message. reloads level 0 … Displays a message at the top of the list. Remember the main menu list is level L=”0″ … T=”l” Type = link to another level. The text beween the <n> … </n> tags will be displayed on the line, when clicked it will change levels. It will change levels too the level between the <d> tags. This is a link, taking us to another group of links on layer “0” (the main level again, so we didn’t go anywhere, but we did display a Welcome message on the top line.

<z L=”0″ T=”l”>
<n>Welcome to da Club</n>
<d>0</d>
</z>

On to someting more useful. Lets create a level “1” or “Rock” or “fred”, that will have some preselected Songs and a youtube search.

When someone clicks on this line of the menu it will take them to level “1”.

<z L=”0″ T=”l”>
<n>HE Rock our with your …… out</n>
<d>1</d>
</z>

Anywhere in the XML file can be the following lines. When the computer searches the XML it will look for all the L=”1″ tags and process them for the Level “1” menu. First come first server, in order. But they could come before L=”0″ tags or after, the order only effects how all L=”1″ are ordered, it ignores all other XML within the XML file. So here we have 4 MovieClips, T=”m” (type = movie clips. The movie clips contain a YoutubeID in the data tags, the <d> </d> tags. A youtube movie ID is 11 characters long, lower and uppercase letters , numbers, and – (minus) and _ underscore characters are used by YouTube.

When you look up a MovieClip on youtube, look at the link to a MovieClip, The movie must be able to be Embedded. If on the YouTube page says Embed: Embedding disabled by request, you won’t be able to play it outside of YouTube.com. This happens on some bands copyrighted material, not all. This is an example of one that is restricted: http://www.youtube.com/watch?v=mzX0rhF8buo

6. Do all your normal deriving stuff, textures, opacities and what not.

7. Use button #5 in the picture below to open the product asset folder and drop the HEYouTube.xml file into it before saving and submitting. (and the developerInfo file if you have chosen to use it)8. Click the ‘Apply’ button and continue with your normal submission process.

9. If you have any questions please post a comment bellow and we will try to help.