PDA

View Full Version : A lot or a little... :D


Cragdo
01-20-2003, 07:31 PM
I have to write a script where you click on a thumbnail picture and it expands to a given size. I am going to have it so that the thumbnails are imported into the flash project while the larger ones are going to be loaded from an external source.

First off i have a movie clip called holder. basically an expanding rectangle with some variables. I want to have an invisible button over each thumbnail that would set that variable inside holder.

The problem is this. How do i load an external .jpg file and why is this not working:

_root.holder._x = this._x;


Is there something wrong with that code because it wont work... :confused:

CyanBlue
01-21-2003, 12:50 AM
Howdy... :)

Without seeing the actual code, I don't know... My guess is that the JPEG file is not fully loaded so your line is not working... Make sure you do the modification after the external file is fully loaded...