Click to See Complete Forum and Search --> : Simple Variable Question


tomyknoker
03-18-2007, 11:06 PM
I have 30 frames on my timeline and am wondering how when I get to frame 15 say I can load an image from a folder, and then at 25 load another image into the same MC?

ryanbutler
03-19-2007, 11:04 AM
I believe you can check a frame label through action script. So, if your frame label at 15 is "myimage", something like this ought to work:

var whatframelabel:String="";

if(_currentframe=="myimage"){
//load image into movie clip

}