constrict flash
- Started
- Last post
- 16 Responses
- jkosoy0
Maybe an updateAfterEvent() command somehow?
I'm interested in this myself.
- gabriel_pc0
They show how to do it here:
- iSolve0
mucho gracias! :)
- woodyBatts0
that will just pop it into place, forgive the archaic code but you can do it like this...
this.onResize = function(){
this.onEnterFrame = funtion(){
this._height = this.-height - (this._height - Stage.height)*.3;
}
};you can drop that code into any movie clip and viola!
- iSolve0
great! i really appreciate it.
- woodyBatts0
ain't no thang!
- iSolve0
nice site woodyBatts!
- woodyBatts0
Thanx dawg!!!!!!
I dig your clean look!
Yo you in Memphis? I got family in Memphis, word!
- iSolve0
right on! you come down here much?
- woodyBatts0
No never been!
- J0
Hey Woody - I just tried that code but didn't have any joy... i'm not sure i'm using it right. Could you explain how to use it?! I created a box shape, made it a movieclip, then within the movie clip timeline, put those actions on the first frame. Nothing happens when I embed it in a page @ 100% x 100%... no resizing stuff happening. Am I dumb?
- jkosoy0
sweet site Woody. Thanks for the tip, too. :)
- jaybee0
j...
put the code on the moviclip not in the frame...
that should do the trick.
- woodyBatts0
try it on the main timeline, i'm running from memory right now, hit me up with an email, and i'll send you a file this evening. Word!
- iSolve0
well, if you do, email me. i've lived all over, but am residing here, and was born and raised here, so i know where the fun is
- woodyBatts0
yeah i've been meaning to get out there, my uncle has a box of all these old movie of my family I was going to restore, my cousin is in some hot local band, his name is Kenny Batts, don't know if you've heard of him or not, be funny if you did. If you want a really shite code that'll work it's:
onClipEvent(enterFrame){
this._height = this.-height - (this._height - Stage.height)*.3;
}No matter what it'll always resize, but watch the processor running those enterFrames.