Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading and scaling images dynamically

Status
Not open for further replies.

blacktorncoat

Programmer
Dec 2, 2004
32
IL
Hello..

I'm trying to load to different movie clip instances different pictures, and don't understand why it doesnt work..

Say I have instance 'pic', and in the main timeline I load a picture -

loadMovie("pic.jpg","/pic")

That works. But if I add before this line, or after, the statement :

pic._height=110;

Then I dont see the picture.

------------------------------------------

All this is done to create a modular button with changing images and text.. could anyone refer me to a smart clip button that receives text, and image file parameters, to display as the button's graphics?

Thanks,
Y.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top