Jump to content
Search Community

flash08

Members
  • Posts

    54
  • Joined

  • Last visited

Everything posted by flash08

  1. Trying to use TweenMax AS2 version. Simple test: var myGroup:TweenGroup = TweenGroup.allTo(myArray, .2, {blurFilter:{blurX:10, blurY:10}}, TweenMax); //then later... myGroup.reverse(); Returns errors, "The class BitmapFilter could not be loaded" and "Actionscript 2.0 class scripts may only define class or interface constructs" and some others. I am running Flash MX2004 - is that the prob? TIA for your help.
  2. Thank you! There are some strange things going on with this script, too. The fades work until the script gets to the next to last image in the array. On the first playback, that image just appears, no fade in. Then the last image loads the same way - just jumps in. When it's time to start the array again, it jumps to the first image, and all proceeds normally until the same stuff happens again at the next to last image. Except on the next playback, there is time when there is no image shown, then one jumps in, jumps out, more blank screen, then the jump to the beginning of the array! Wasn't there something about AS2 not properly "trashing" images once they had appeared on screen? It seems to me as if there is some sort of image caching that's breaking down as the number of images increases. There is never any funny stuff in the first 10 or so array images on any playback. Ideas? NB: I'm getting the feeling I need to go out and get the CS4 upgrade...
  3. Thanks. Unforunately, I'm stuck with AS2, as I don't do much Flash development, and my current version is MX2004. I changed the alpha's back to _alpha, but the script won't run. I've got to check the syntax differences, as I think the basic idea is pretty simple. I just can't figure out why the action on the array should fail after the 12th array item in my original AS. Could be related to Flash having to render all of those picture files - whose alpha and visibility should be set to zero before any of the fading happens.
  4. De-lurking here. I have a little script I use for small photo displays that just run through an array of images, fading each one out as the next fades in. If I try to increase the size of the array beyond 12 MC's (each one holds a single symbol = photo), instead of continuing the fadeIn/fadeOut, the transition just jumps to the next item in the array. I have tried all sorts of different symbols, and the result is that same: more than 12 MC's, and the fading fails. When the array has been run through, it starts again at the beginning, as it should, and the fading returns to normal until it hits p_thirteen, which jumps in, and after the delay, jumps again back to p_one. Any idea of what's going on here? TIA for your collective wisdom! Here's the code: import gs.TweenLite; var pixArray:Array = [p_one, p_two, p_three, p_four, p_five, p_six, p_seven, p_eight, p_nine, p_ten, p_eleven, p_twelve, p_thirteen]; var pic:MovieClip; var index:Number = 0; doFadeIn(pixArray[0]); function doFadeIn(mc:MovieClip):Void { TweenLite.to(mc,5,{_alpha:100, onComplete:nextImage, onCompleteParams:[mc]}); } function nextImage(mc:MovieClip) { doFadeOut(mc); index++; if(index > pixArray.length - 1) { index = 0; } doFadeIn(pixArray[index]); } function doFadeOut(mc:MovieClip):Void { TweenLite.to(mc,3,{_alpha:0});
×
×
  • Create New...