# Flash CS3/AS 2.0

**URL:** <https://forum.kirupa.com/t/flash-cs3-as-2-0/262411>\
**Category:** flash\
**Created:** [June 5, 2008, 6:06pm UTC](https://forum.kirupa.com/t/flash-cs3-as-2-0/262411 "2008-06-05T18:06:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaroslav](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jaroslav](https://forum.kirupa.com/u/jaroslav)\
**Post date:** [June 5, 2008, 6:06pm UTC](https://forum.kirupa.com/t/flash-cs3-as-2-0/262411/1 "2008-06-05T18:06:10Z")

</div>

Hello

I’ve got some problems with my project

\*\* 1st problem \*\*( Actions are correct but menu doesn’t work )

\*\* I’ve got 4 buttons each contains action :

\*\* 1st

> on (press)  
> {gotoAndPlay(“1”,“1”);  
> }  
> 2nd  
> on (press)  
> {gotoAndPlay(“2”,“1”);  
> }

3rd

> on (press)  
> {gotoAndPlay(“3”,“1”);  
> }

4th

> on (press)  
> {gotoAndPlay(“4”,“1”);  
> }

\*\*  
2nd problem \*\*- Scene 4 gallery ( something wrong with position of pic when new pic is loaded i see a bit of prev pic )

ACTIONS

> 

this.createEmptyMovieClip(“images” , 100);  
this.attachMovie (“mask”, “mask” , 101);  
mask.\_x = images.\_x =498.8;  
mask.\_y = target = 256.9;  
images.\_y = -1000;  
images.setMask(mask);  
speed = 5;  
for (var i = 0; i\<50; i++ ){  
var img = images.attachMovie(“image”+i, “image”+i, i);  
img.\_y = img.\_height_i;  
var thumb = this[“thumb”+i];  
thumb.\_alpha = 60;  
thumb.pos = target+(i_-img.\_height);  
thumb.onPress = function() {  
target = this.pos;  
};  
thumb.onRollOver = function() {  
this.\_alpha = 100;  
};  
thumb.onRollOut = function() {  
this.\_alpha = 60;  
};  
}  
this.onEnterFrame = function() {  
images.\_y += (target-images.\_y)/speed;  
};

[screen](http://img84.imageshack.us/img84/8650/12014054qa4.jpg)  
[fla file](http://rapidshare.de/files/39627635/layzmianaful_cs3.fla.html)
