# Problem with Loading External jpeg into swf?!?

**URL:** <https://forum.kirupa.com/t/problem-with-loading-external-jpeg-into-swf/157584>\
**Category:** flash\
**Created:** [August 2, 2005, 11:05pm UTC](https://forum.kirupa.com/t/problem-with-loading-external-jpeg-into-swf/157584 "2005-08-02T23:05:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![webee](https://avatars.discourse-cdn.com/v4/letter/w/7cd45c/32.png) [@webee](https://forum.kirupa.com/u/webee)\
**Post date:** [August 2, 2005, 11:05pm UTC](https://forum.kirupa.com/t/problem-with-loading-external-jpeg-into-swf/157584/1 "2005-08-02T23:05:56Z")

</div>

i created a movie clip called “call” which has a black rectangle, in a movie clip(25th frame). and i gave the frame a stop action.  
then from the behaviour panel i told “call” to load external jpeg by that script:

on (release) {  
//load Graphic Behavior  
this.loadMovie(“2.jpg”);  
//End Behavior  
}

so the button that i previously created would going to play “call” and that will load the external file.  
the button stops at frame 25 with the black rectangle . but it loads the jpeg when i click on it twice…?!
