# Having some trouble with loading, "preloading", and playing sound

**URL:** <https://forum.kirupa.com/t/having-some-trouble-with-loading-preloading-and-playing-sound/197773>\
**Category:** Uncategorized\
**Created:** [August 18, 2006, 11:39pm UTC](https://forum.kirupa.com/t/having-some-trouble-with-loading-preloading-and-playing-sound/197773 "2006-08-18T23:39:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lorren\_biffin](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/lorren_biffin/32/2726_2.png) [@lorren\_biffin](https://forum.kirupa.com/u/lorren_biffin)\
**Post date:** [August 18, 2006, 11:39pm UTC](https://forum.kirupa.com/t/having-some-trouble-with-loading-preloading-and-playing-sound/197773/1 "2006-08-18T23:39:45Z")

</div>

Not sure whats going on here. I am completely novice so please excuse my code examples. Well, here goes…

[Use the media player…](http://slicdigital.net/level3/)  
[Download Source…](http://slicdigital.net/level3/preloadandplay.fla)

Occasionally(not everytime, but enough to feel quirky) when i load the movie, the actionscript to preload the sound does not work. any suggestions?

also need to know how i would create a bar that says how much of the song has played. i assume that it would be similar to the preload bar(in theory) but dont know how to get the song length or how much of the song has played into a variable
