• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Array from movieclip

Contributor ,
Feb 16, 2015 Feb 16, 2015

Copy link to clipboard

Copied

Im attempting to build a picture carousel. The goal is to load Moviclips into an empty movieclip and have them fade in and out based on a click of a button. I'm loading them into empty movieclip so I can count them, to build corresponiding buttons for each one (on the stage). The problem I am having is getting these into an array that I can then take from and tween.

I make a for loop counting the Movilips in the container, (attempt to load them in an array) picArray.push(container._name), but when I try to take it and tween it nothing happens.

Im guessing it has something to do with they way Im putting into the array or trying to reference in the tween (that it is still an object stored in the array)

Any body got a good way to load up the array in a way to use/tween the movieclip items

Hopefully this makes sense, Oh I'm writing this in AS2, hopefully when we make our upgrade I will take it and convert it to AS3

Thanks

Views

196

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines