# Loader component refuses to load

**URL:** <https://forum.kirupa.com/t/loader-component-refuses-to-load/257805>\
**Category:** flash\
**Created:** [April 17, 2008, 9:13am UTC](https://forum.kirupa.com/t/loader-component-refuses-to-load/257805 "2008-04-17T09:13:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vidir](https://avatars.discourse-cdn.com/v4/letter/v/aca169/32.png) [@vidir](https://forum.kirupa.com/u/vidir)\
**Post date:** [April 17, 2008, 9:13am UTC](https://forum.kirupa.com/t/loader-component-refuses-to-load/257805/1 "2008-04-17T09:13:50Z")

</div>

Hi all,

I have made a button which loads a swf file into a loader component. Works fine.

Then inside the swf are pictures which I 've converted to buttons and then added the following action onto:

on (release) {  
container.contentPath = “img.jpg”;  
}

The file img.jpg is in the same dir as the rest of the site. Don’t get a error messages just doesn’t do anything.

What am I missing? I’m aware this is a newbie question. And I have googled and searched the forum. But I’m still perplexed why it doesn’t do anything.

Cant you load buttons into a loader and then add action to these buttons within the loader?

Appreciate an answer.

Best regards  
Vidir
