# How to transition with AS?

**URL:** <https://forum.kirupa.com/t/how-to-transition-with-as/108275>\
**Category:** Uncategorized\
**Created:** [April 23, 2004, 11:30am UTC](https://forum.kirupa.com/t/how-to-transition-with-as/108275 "2004-04-23T11:30:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashSprocket](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@flashSprocket](https://forum.kirupa.com/u/flashSprocket)\
**Post date:** [April 23, 2004, 11:30am UTC](https://forum.kirupa.com/t/how-to-transition-with-as/108275/1 "2004-04-23T11:30:05Z")

</div>

I have so far figured out how to use AS to change and resize the information presented to a user based on simple mouse inputs. The following does what I want it to, only too abruptly. How can I transition (zoom) the resizes in this script, which I’ve highlighted in blue?

[color=Blue]on (rollOver) {  
\_height = 360;  
\_width = 360;  
\_x = 407.8;  
\_y = 245.9;[/color]

```
 gotoAndPlay("Design");
 _root.mc_erTitles._alpha = 0;
 _root.mc_erText._alpha = 0;

```

}  
on (release) {  
tellTarget (\_root.mc\_erTitles) {  
gotoAndPlay(“titleDesign”);  
gotoAndPlay(“Design”);  
\_root.mc\_erTitles.\_alpha = 70;  
\_root.mc\_erText.\_alpha = 100;  
}  
tellTarget (\_root.mc\_erText) {  
gotoAndPlay(“text\_design”);  
}  
[color=Blue] \_height = 158;  
\_width = 158;  
\_x = 308.8;  
\_y = 146.4;[/color]  
;  
}
