# Load image in to Load Component

**URL:** <https://forum.kirupa.com/t/load-image-in-to-load-component/261369>\
**Category:** Uncategorized\
**Created:** [May 27, 2008, 12:36am UTC](https://forum.kirupa.com/t/load-image-in-to-load-component/261369 "2008-05-27T00:36:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daimz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/daimz/32/2383_2.png) [@Daimz](https://forum.kirupa.com/u/Daimz)\
**Post date:** [May 27, 2008, 12:36am UTC](https://forum.kirupa.com/t/load-image-in-to-load-component/261369/1 "2008-05-27T00:36:54Z")

</div>

Can anyone please tell me how I can tell Flash to load an image into the Load component when the component is on a different frame.  
What I mean is…I have a button that I want to load an image but I want that image to load on the 2nd frame not the first because that is where the load component is. So I think it would be something like OnRelease(); {gotoAndPlay(2);} onLoad (); but I don’t actually know I have no idea. I am literally just starting to lean AS3. I have an idea of what I want to build I just don’t know the correct way of doing it so if someone wouldn’t mind helping me out with the how the code should look or even a better way of doing what I want I would appreciate it a lot.  
Cheers
