PDA

View Full Version : Re size handle



sintax321
September 16th, 2002, 05:40 PM
Is there any way to apply a resize handle on a movie clip? I have a nav system where multiple windows open and I would like the user to have an option to resize the differnt MC's. Any Ideas?

pom
September 16th, 2002, 05:45 PM
Put a button inside your mc and then play with the _height and _width of the movie, making it relative to the distance between the registration point and the button.

Mmm... Doesn't sound so clear...

pom :asian:

lostinbeta
September 16th, 2002, 05:47 PM
I have never done it myself so I don't know how. I have ideas of how, but they are untested.

If you want you can use a component. There is one that sounds exactly like what you want on www.flashcomponents.net

Here is a direct link to it...

http://www.flashcomponents.net/component.cfm?nav=2&id=103

Here is another one that sounds like what you want also....

http://www.flashcomponents.net/component.cfm?nav=2&id=32

and another (haha)......

http://www.flashcomponents.net/component.cfm?nav=2&id=11

pom
September 16th, 2002, 06:04 PM
Ouh... Neato!

sintax321
September 16th, 2002, 06:51 PM
Thanks you guys. You know the kirupa forums has to have been the best web tool I have found. I post a thread and within a half an hour great people like you guys have all the information I need. When I finish my personal site all you guys will have big thank you's on the main page. Great work and thanks again :)

lostinbeta
September 16th, 2002, 07:07 PM
Our pleasure:) Well I can't speak for anyone else, but you know what I mean.

sintax321
September 16th, 2002, 07:10 PM
Quick question. Will the componets work in Flash 5 also?

pom
September 16th, 2002, 07:12 PM
Nope. And doing it yourself is a good exercise anyway, right? :P

lostinbeta
September 16th, 2002, 07:16 PM
Always:)

I find it better to learn, and if you find it to be a pain after you build it, then use a component. It is always good to know what is going on in your movie, whether you use a component or a widget (components in Flash 5 I believe).

Sorry, for some reason I thought you were using MX. Pretty idiotic of me considering this is in the FLASH 5 FORUM! I feel pretty stupid right now...haha..I will get over it.

Again....Sorry:(

sintax321
September 16th, 2002, 07:23 PM
No problem I would rather do it my self anyway. Will I be able to open the componet with 5 or will I have to find a widget? I would at least like to view it so I can see how he achived it and then build my own in 5.

pom
September 16th, 2002, 07:28 PM
No need to open the component. The code is very confusing anyway... And a flash 5 component would be a smart clip, I think.

Anyway, here's how I would do it: registration point at the top left of the clip, and a draggable clip containing a button at the bottom right. That way, you can have access to everything you need: height and width of the clip...

pom :asian:

sintax321
September 16th, 2002, 07:36 PM
Ya my windows are already contained in a dragable MC. How do you set up a registration point?