Loading external Jpg's

Hi
I’m trying to get a smart clip to load a external jpg, I made the smartClip already and is loading two variables from a .txt external file but I can’t get the jpg to load .
I created the SmartClip so if I want to duplicate or reused the MC with different text all I need to do is change the value or .txt name and it will load it info from another external file, I want to do something similar for the jpg so if I change the value it will load a different jpg and I want to be able to tell Flash what position and size I want the jpg’s to have
This is the position and size I want Flash to use for the jpg’s, as it now I have a place keeper on it’s position.
W: 143.0-----------------------X: 46.0
H: 136.0------------------------Y: -56.5
Can this be done? If is so can some one tell me how to get those JPG’s to resize and load in a fixed position? or as a second alternative I uploaded the file in my server ( ftp://65.49.66.147 ) The MC zipped with the jpg. The file is called SmartClip.zip
Thanks
Alex

Which version of Flash are you using?

smartclips are in Flash 5 and Flash 5 doesn’t have the ability to dynamically load in external .jpg images.

Components are Flash MX version of smartclips and Flash MX has the ability to load in external non-progressive .jpg images via loadMovie().

lostinbeta I’m runing MX

I think you need to put another MC inside your smart clip.
And add some code in the onClipEvent(load) event, so that when it fires, it resizes that inner MC to something you want…

=) thats the idea =)

i could create an example, i can probably to that later tonight (im at work right now) but if you get it figured out before i go home, i’ll leave it be =)

thanks Raydred, I got it already