PDA

View Full Version : Elastic curved resizement



scotty
May 12th, 2005, 10:22 AM
(If anyone knows a better title -> you're welcome :lol: )

The box is drawn with drawing api and its sides curve while resizing. I had a difficulty retrieving the width and heigth, so there's a transparent box that resizes and outputs the right width and height for the drawing :)

scotty(-:

add a mx file

daveFelton
May 12th, 2005, 10:27 AM
that is TIGHT...not what i expected it to do at all, to be honest! the name doesnt do it justice ;) but then again, i cant really think of a more appropriate name for it...so...yeah...great work!

d

Photogenius
May 12th, 2005, 12:24 PM
How about "resizing bouncy box"?

lunatic
May 12th, 2005, 01:19 PM
is there anything you can't do? :love:

flashead
May 12th, 2005, 01:41 PM
yeah that is very cool!
and don't change the name! haha
"resizement" haha it's great!

-K

stringy
May 12th, 2005, 04:37 PM
looks really good, would make an interesting movie transition.

Lindquist
May 12th, 2005, 05:01 PM
Clever :p:

GW02
May 12th, 2005, 09:40 PM
I really like it, but is it possible to make it more springy and "live"?

Geeko
May 13th, 2005, 03:48 AM
sweet! lurvy~

scotty
May 13th, 2005, 08:12 AM
Thank you all :pleased:

scotty(-:

Mr.Flash Mx
May 13th, 2005, 04:13 PM
Scotty, u really good at Flash. Good Job bro :beer:

RevoGiant
May 14th, 2005, 11:14 PM
dopeness

jasarius
May 15th, 2005, 11:33 AM
Nice.

[JAMIE]
May 15th, 2005, 03:36 PM
i also wanna say that it looks really good. Is there any possibility that a fla for flash MX could be posted.

Thanks

booler
May 16th, 2005, 01:09 AM
']i also wanna say that it looks really good. Is there any possibility that a fla for flash MX could be posted.

Thanks

see the first post they have been there the entire time :rolleyes:

amitgeorge
May 16th, 2005, 02:02 AM
this would have been fantastic if you could also put in content and that would also bounce ....

e-sarbak
May 16th, 2005, 05:46 AM
That is really good
you know that thing...:thumb:

[JAMIE]
May 16th, 2005, 07:05 AM
see the first post they have been there the entire time :rolleyes:

I'm not that big an idiot! Im assuming that the fla posted was for MX2004, as i will not open with MX for me.

booler
May 16th, 2005, 01:37 PM
fair enough, you should be more specific then

n/m you were specific I'll blame it on being up late

scotty
May 16th, 2005, 02:20 PM
[JAMIE] in post #1 I've attached the mx as well :)

scotty(-:

Joppe
May 17th, 2005, 11:03 AM
Is that free of use .. I mean like for websites? :shifty: anyway great effect! :drool:

[JAMIE]
May 19th, 2005, 06:54 AM
thank you. (i really must upgrade tho)

red_A
May 19th, 2005, 05:31 PM
that's AMAZING!!!!

zerogun
May 25th, 2005, 03:38 PM
that's an awesome effect, but I don't know if you're aware of TokyoPlastic.com :) They've used a similiar (if not exact effect) on their site. But BIG props to you in figuring it out!

Photogenius
May 25th, 2005, 05:42 PM
I love tokyoplastic but it makes me really jelous, and makes me think Im really bad at flash because its so good

zed
May 28th, 2005, 06:32 AM
I think this effect is wicked, but how can i make so after a button is pressed to resize it a swf loads? I've been having a look at the code & can't figure it out, because i want the file to load after it has resized...ant suggestions?

Thanks

sumtan
June 1st, 2005, 12:27 AM
Awsome job Scotty!!~ i have a few questions in regards to this,

1) what's the purpose or function of the bg Movie Clip Instance serve? can i get ride of it? i just add a line of code bg._visible = false; at the end of the script to hide it, and it works for now, but i knew its not the perfect solution, can i get ride of it?

2) After i loaded this into another MC the bg and the top gray gradient box became seperated, please see attachment for example. how can i fix that?

3) I am not very good with AS, just started few days ago:hugegrin:, i would like to know how to load contents into box after it resized, something like scotty's Image Resize Gallery http://www.2rdesign.com/gallery/V3_thumbs_scrolled.html , can both be intergrated?

any help would be greatly appreciated.

peace :rabbit:

Lukus
June 1st, 2005, 06:42 PM
Excellent stuff

sumtan
June 6th, 2005, 10:00 AM
no takers?

scotty
June 6th, 2005, 11:13 AM
@sumtan:
on 1: you need the background for the right width and height, so setting it invisble is the best solution (for the moment)
on 2: refer bg's x/and to Stage as well:

var scx = bg._x = Stage.width/2;
var scy = bg._y = Stage.height/2;
on 3: that's possible, you can let the loadPic function call the resize function (i/o the resizeMe function), give the background an instancename 'border'

scotty(-:

sumtan
June 6th, 2005, 01:51 PM
hey scotty..thanks for your help :) i am at work at the momment, but will give it a try after work.

sumtan
June 9th, 2005, 10:33 PM
@sumtan:
on 3: that's possible, you can let the loadPic function call the resize function (i/o the resizeMe function), give the background an instancename 'border'
scotty(-:

hey scotty, I am lost on #3, you making it sound so easy.. yet i have spend hours looking through the script, couldn't figure it out. can you please do a sample for me?

thanks man

yamyam21
June 16th, 2005, 12:04 PM
hey scotty, I am lost on #3, you making it sound so easy.. yet i have spend hours looking through the script, couldn't figure it out. can you please do a sample for me?

thanks man


Hi.

I'm having the same problem, any chance of some guidance. Would be great if i could get this to work with the xml resizing/photo gallery.

ta in advance

Si.