# Help plz

**URL:** <https://forum.kirupa.com/t/help-plz/17779>\
**Category:** Uncategorized\
**Created:** [April 9, 2003, 4:56am UTC](https://forum.kirupa.com/t/help-plz/17779 "2003-04-09T04:56:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hawk](https://avatars.discourse-cdn.com/v4/letter/h/22d042/32.png) [@Hawk](https://forum.kirupa.com/u/Hawk)\
**Post date:** [April 9, 2003, 4:56am UTC](https://forum.kirupa.com/t/help-plz/17779/1 "2003-04-09T04:56:21Z")

</div>

trying to get this to work,

i need a script to make a box minimizable from anywhere on the stage, and also, when its minimized to be able to be maximized up

thx, heres what i have  
[AS]onClipEvent (load){  
var max = “true”;  
var speed = “10”  
}  
onClipEvent (enterFrame){  
if (max = “true”) {  
on(release){  
this.\_y += speed  
if (this.\_y == 395);  
this.\_y == 395;  
}  
}  
if (max = “false”) {  
on(release){  
this.\_y -= speed  
if (this.\_y == 5);  
this.\_y == 5  
}  
}  
}[/AS]  
^ but this is wrong because i cant nest an ON handler within another one…

im confused ☹  
Hawk

(usin flash mx)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 9, 2003, 7:32am UTC](https://forum.kirupa.com/t/help-plz/17779/2 "2003-04-09T07:32:43Z")

</div>

hi there  
i believe there is a small mistake in your script  
that is  
var speed = “10”

this should be  
var speed = 10

tick expression button

first u correct this.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 9, 2003, 7:42am UTC](https://forum.kirupa.com/t/help-plz/17779/3 "2003-04-09T07:42:48Z")

</div>

no, the other thing about that script is i have an On handle within another one, i cant use that script… it doesnt work… any other suggestions?

btw do you have AIM

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 9, 2003, 7:57am UTC](https://forum.kirupa.com/t/help-plz/17779/4 "2003-04-09T07:57:24Z")

</div>

sorry buddy, i m more in designing less scripting, i just guessed that could expression problem. Wait for some time u ll get the solution from some techie guy soon.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 9, 2003, 7:58am UTC](https://forum.kirupa.com/t/help-plz/17779/5 "2003-04-09T07:58:11Z")

</div>

yea, xcept no techie guys are answering me!

grr

😃

thx tho
