Jusss thinkin out loud

hmm i was thinkin to myself… about actionscript. i dont know much of anything except for… gotoandplay… iftotalbytesloaded() etc.

i was kinda thinkin… and i will explain in rough (not real) action script

if you had a dragable closable and MINIMIZABLE box… u could do something like this?

on (release)(
(if.state.minimized==true
_root._y+1
if._root_y==300( //or the height you want it to maximize to…
(_root_y==300)
if.state.maximized==true
_root._y-1
if._root_y==0( //or the height you want it to minimize to…
(_root_y==0)

//and on the button
onenterframe
set.state==maximized

im sure all you ASers out there ar cringing right now… but i dunno much about AS and i was just kidna thinkin aloud

:smiley:

if you understand what i mean… do you think it would work?

:smiley: :smiley: :smiley: :smiley: :smiley: :smiley:

Meister,
write down in palin english the different things you want to happen on certain events, then look up the code and try to translate it into AS, read the reference panel to see what each function does, or check the as help file…have a go, then post with encountered pb’s. Better to try yourself, than just get it worked out for you. What do you want to happen there, and when?

nononono, im not actully trying to acheive this, juss speculating

rofl, im so disoriented right now… soooo tired… sooo late

do you know what i mean though?

lost, EG, anyone! can you try to translate what i mean into real AS? i want to see if i was “right”!

if you can, thx… if ur busy, np

hawk

*Originally posted by Hawk *
**nononono, im not actully trying to acheive this, juss speculating
**
Are you or are you not trying to do that??

And don’t pm questions, please.

i wasnt at the time i posted this, i might use it when i do make my flash site though… but not at the moment… i juss thought it would be kinda cool

sry ilyas, no harm intended :crazy: