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…
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.