# Sticky intro problem

**URL:** <https://forum.kirupa.com/t/sticky-intro-problem/270790>\
**Category:** flash\
**Created:** [September 14, 2008, 11:46am UTC](https://forum.kirupa.com/t/sticky-intro-problem/270790 "2008-09-14T11:46:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alber\_Kidd](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)\
**Post date:** [September 14, 2008, 11:46am UTC](https://forum.kirupa.com/t/sticky-intro-problem/270790/1 "2008-09-14T11:46:49Z")

</div>

Hi,

I have a problem with my intro. It tends to stick even though I preload and will only play when I refresh the page. It is not that complicated just some graphics being moved in and out of the stage.

[http://blue-fly.co.uk/intro.swf](http://blue-fly.co.uk/intro.swf)

The some of the actionscript is pasted below. I suspect it is the elastic tweens can someone help me debug this problem.

function getWavesFrame(event:Event) {  
if (waves\_mc.currentFrame == 20) {  
waves\_mc.removeEventListener(Event.ENTER\_FRAME, getWavesFrame);

```
var myObj = dermaText;
dermaText.product = naturaDerma;
animate();
	
	
}

function animate() {

myObj.x = 520;
myObj.y = 320;
var logoAlpha1:Tween = new Tween(myObj, "alpha", Elastic.easeIn, 0.3, 1, 0.1, true);
var logoScale1:Tween = new Tween(myObj, "scaleX", Elastic.easeOut, 1, 2.5, 2, true);
var logoScale2:Tween = new Tween(myObj, "scaleY", Elastic.easeOut, 1, 2.5, 2, true);
logoScale2.addEventListener(TweenEvent.MOTION_STOP, fadeLogo);

}

function fadeLogo() {

var logoFade:Tween = new Tween(myObj, "alpha", Strong.easeOut, 1, 0, 0.3, true);
moveIn();
}

function moveIn () {

var prod = myObj.product;
var myTween:Tween = new Tween(prod, "x", None.easeIn, 800, 520, 0.3, true);
var myTween2:Tween = new Tween(prod, "scaleX", None.easeIn, 0.5, 1, 0.3, true);
var myTween3:Tween = new Tween(prod, "scaleY", None.easeIn, 0.5, 1, 0.3, true);
var myTween4:Tween = new Tween(prod, "alpha", None.easeIn, 0, 1, 0.3, true);
myTween4.addEventListener(TweenEvent.MOTION_STOP, pauseIt);
}
```
