www.webdeveloper.com
Results 1 to 2 of 2

Thread: Simple Variable Question

  1. #1
    Join Date
    May 2003
    Location
    Australia
    Posts
    368

    Simple Variable Question

    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?
    Last edited by tomyknoker; 03-18-2007 at 10:21 PM.

  2. #2
    Join Date
    Nov 2006
    Location
    Springfield, MO
    Posts
    1,541
    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:

    Code:
    var whatframelabel:String="";
    
    if(_currentframe=="myimage"){
    //load image into movie clip
    
    }
    Ryan Butler

    Ryan Butler.org

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles