# \[f8\] xml, as, functions - whats up

**URL:** <https://forum.kirupa.com/t/f8-xml-as-functions-whats-up/219067>\
**Category:** flash\
**Created:** [March 13, 2007, 4:31pm UTC](https://forum.kirupa.com/t/f8-xml-as-functions-whats-up/219067 "2007-03-13T16:31:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dr\_Abner\_Mellon](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Dr\_Abner\_Mellon](https://forum.kirupa.com/u/Dr_Abner_Mellon)\
**Post date:** [March 13, 2007, 4:31pm UTC](https://forum.kirupa.com/t/f8-xml-as-functions-whats-up/219067/1 "2007-03-13T16:31:44Z")

</div>

Hi all,

I’ve been working on this for a while, I’m very new to flash and xml…

I’ve been trying to change a flash xml playlist to play when the site loads, without having to click play, or any of the playlist items.

I’ve been told I should use a functions and then call it in… I’m not sure what that means.

Below is what I’ve been given:

xml.onLoad=function(){  
startPlaying(this)  
}

I put this into flash in both my XML layer, and my Sound layer. nothing happend… I’m assuming I need to add to or change this function to get it to work right.

I can post all my source files as well if that will help get this issue solved.

[http://ezekieldesign.com/clientpreviews/wowhymns/wowhmyns.html](http://ezekieldesign.com/clientpreviews/wowhymns/wowhmyns.html) - here’s what I’m working on… You’ll notice you have to click on the track to get it to pull the Nodes data, including the song.

thanks!
