# Load pictuer dynamically

**URL:** <https://forum.kirupa.com/t/load-pictuer-dynamically/262272>\
**Category:** flash\
**Created:** [June 4, 2008, 3:10pm UTC](https://forum.kirupa.com/t/load-pictuer-dynamically/262272 "2008-06-04T15:10:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![husnain](https://avatars.discourse-cdn.com/v4/letter/h/a9a28c/32.png) [@husnain](https://forum.kirupa.com/u/husnain)\
**Post date:** [June 4, 2008, 3:10pm UTC](https://forum.kirupa.com/t/load-pictuer-dynamically/262272/1 "2008-06-04T15:10:58Z")

</div>

Hi.  
I have made a website in flash 8. i have made a btn and a movie clip with instance name load.  
When i put below mentioned code in btn 1234.jpg loads in movie clip  
on (release) {  
loadMovie(“C:\Tomcat 5.5\webapps\myapp\1234.JPG”, “load”, “GET”);  
}

but when i run tomcat 5.5 and put in btn below mentioned code 1234.jpg does not load what is the worong with this.  
on (release) {  
loadMovie(“http:\loacalhost:8080\webapps\myapp\1234.JPG”, “load”, “GET”);  
}

Kindly help me for loading jpg while running in tomcat 5.5

Thanks

Husnain

---

<div class="post-metadata">

**Author:** ![matthewjumps](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Post date:** [June 4, 2008, 5:32pm UTC](https://forum.kirupa.com/t/load-pictuer-dynamically/262272/2 "2008-06-04T17:32:54Z")

</div>

dude this is the wrong section for this…most definate lack of cool site-y-ness…

---

<div class="post-metadata">

**Author:** ![Titleist](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Titleist](https://forum.kirupa.com/u/Titleist)\
**Post date:** [June 27, 2008, 2:21am UTC](https://forum.kirupa.com/t/load-pictuer-dynamically/262272/3 "2008-06-27T02:21:11Z")

</div>

lol[quote=matthewjumps;2336584]dude this is the wrong section for this…most definate lack of cool site-y-ness…[/quote]
