# Newbie question

**URL:** <https://forum.kirupa.com/t/newbie-question/269167>\
**Category:** Uncategorized\
**Created:** [August 23, 2008, 8:42pm UTC](https://forum.kirupa.com/t/newbie-question/269167 "2008-08-23T20:42:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![steven101](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@steven101](https://forum.kirupa.com/u/steven101)\
**Post date:** [August 23, 2008, 8:42pm UTC](https://forum.kirupa.com/t/newbie-question/269167/1 "2008-08-23T20:42:03Z")

</div>

I have tried my very first simple flash anim. and I have a glitch. Maybe you can help me…

I have three images 3.png, 2.png, and 1.png which I have compiled into a swf file. ([http://centryan.com/images/321.swf](http://centryan.com/images/321.swf))

I have created a new flash document with a loader, in case I want to add larger images later on ([http://centryan.com/test.html](http://centryan.com/test.html))

However, after the loader finishes, I get the animation to display, but I also see the progress bar (100%) in one of the frames.

All I want is the loader and then the 3-2-1 to loop forever. What am I doing wrong?

Thanks.

---

<div class="post-metadata">

**Author:** ![REEF](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@REEF](https://forum.kirupa.com/u/REEF)\
**Post date:** [August 23, 2008, 9:02pm UTC](https://forum.kirupa.com/t/newbie-question/269167/2 "2008-08-23T21:02:01Z")

</div>

Probably have to put a gotoAndPlay(“framewithnumber1”) somewhere, a .fla file would help see how you’ve set this up since theres many ways.

---

<div class="post-metadata">

**Author:** ![snickelfritz](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@snickelfritz](https://forum.kirupa.com/u/snickelfritz)\
**Post date:** [August 23, 2008, 9:08pm UTC](https://forum.kirupa.com/t/newbie-question/269167/3 "2008-08-23T21:08:55Z")

</div>

Here’s a suggestion.

First download and install [TweenMax](http://blog.greensock.com/tweenmaxas3/).  
You will be wanting this class anyway, so you might as well start learning how to use it now.

set up your stage in the following way.  
Create the three movieclip symbols on the stage.  
Instance names: “num1” “num2” "num3"  
Stack them up so their center points are aligned.  
Paste the following script into the actions layer on frame1.  
The numbers should continue to cycle until you kill the function.  
Tweak the speed of the cycle in the time and delay properties of the multiSequence.

```auto
stop();
import gs.TweenMax;
import gs.easing.*;

var numArray:Array = [num1, num2, num3];
TweenMax.allTo(numArray, 0, {alpha:0});

function numCounter():void{
	TweenMax.multiSequence([{target:num1,time:.1, alpha:1},
							{delay:.5,target:num1,time:0, alpha:0},
							{target:num2,time:.1, alpha:1},
							{delay:.5,target:num2,time:0, alpha:0},
							{target:num3,time:.1, alpha:1},
							{delay:.5,target:num3,time:0, alpha:0, onComplete:numCounter}]);
}
numCounter();

```

---

<div class="post-metadata">

**Author:** ![steven101](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@steven101](https://forum.kirupa.com/u/steven101)\
**Post date:** [August 24, 2008, 12:23am UTC](https://forum.kirupa.com/t/newbie-question/269167/4 "2008-08-24T00:23:51Z")

</div>

I have a .fla file here…[http://centryan.com/test.fla](http://centryan.com/test.fla)

Thanks…
