# Need help in automating this popup

**URL:** <https://forum.kirupa.com/t/need-help-in-automating-this-popup/216002>\
**Category:** flash\
**Created:** [February 12, 2007, 8:46pm UTC](https://forum.kirupa.com/t/need-help-in-automating-this-popup/216002 "2007-02-12T20:46:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tripdragon](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@tripdragon](https://forum.kirupa.com/u/tripdragon)\
**Post date:** [February 12, 2007, 8:46pm UTC](https://forum.kirupa.com/t/need-help-in-automating-this-popup/216002/1 "2007-02-12T20:46:05Z")

</div>

I have a button that pops up a box display  
But I have so many its driving me nuts…

Someway to auto array this somehow would be nice… reading but just need a pointer somewhere

```auto

import com.mosesSupposes.fuse.*;
ZigoEngine.simpleSetup( Shortcuts, PennerEasing, Fuse );

 box1._scale = 0; 
  box2._scale = 0;  

// set 1 Start
// talk_window
var g:Fuse = Fuse.open();
g.label = "talk_window";
g.autoClear = false; // self-delete when done.
Fuse.openGroup();
box1.tween("_scale, _alpha", [100, 100], 1, "easeInExpo");
Fuse.close();

box1_B.onPress = function () {
	g.start();
}

// close_window
var p:Fuse = Fuse.open();
p.label = "close";
p.autoClear = false; // self-delete when done.
// the next action uses one tween call to group three properties.
box1.tween("_scale, _alpha", [0, 0], .5, "easeOutExpo");
Fuse.close();

box1.onPress = function () {
	p.start();
}
// set 1 End      

// set 2 Start
// talk_window
var g2:Fuse = Fuse.open();
g2.label = "talk_window";
g2.autoClear = false; // self-delete when done.
Fuse.openGroup();
box2.tween("_scale, _alpha", [100, 100], 1, "easeInExpo");
Fuse.close();

box2_B.onPress = function () {
	g2.start();
}

// close_window
var p2:Fuse = Fuse.open();
p2.label = "close";
p2.autoClear = false; // self-delete when done.
// the next action uses one tween call to group three properties.
box2.tween("_scale, _alpha", [0, 0], .5, "easeOutExpo");
Fuse.close();

box2.onPress = function () {
	p2.start();
}
// set 1 End

```
