To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash 8

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 07-19-2007, 07:09 PM   #1
bscarr
Member
 
Join Date: Jul 2002
Location: London, England
Posts: 46
Zoom In/Zoom Out of Picture

What type of animation or action script, do I need use to to zoom in and out of pictures like on this site ......

http://www.electrolyte.co.uk/browser...lyte.asp?sid=9
__________________
Ben
bscarr is offline   Reply With Quote
Old 07-20-2007, 09:55 AM   #2
cancerinform
Mod
 
cancerinform's Avatar
 
Join Date: Mar 2002
Location: press the picture...
Posts: 12,312
The pictures are probably loaded into empty movieclips and scaled down to thumbnails. Then when you click on them they are repositioned and scaled up using a tween. You need to look into _xscale and _yscale.
__________________

- The right of the People to create Flash movies shall not be infringed. -
| www.Flashscript.biz | Help a little girl, Ana, who has cancer. | Flashscript Biz Classes/Components | The new Event design pattern | Clothing for Haiti |
cancerinform is offline   Reply With Quote
Old 07-20-2007, 03:17 PM   #3
bscarr
Member
 
Join Date: Jul 2002
Location: London, England
Posts: 46
Thanks for the advice. I guess this is a stupid question, but how do I create an empty MovieClip ?
__________________
Ben
bscarr is offline   Reply With Quote
Old 07-20-2007, 07:51 PM   #4
joran420
Senior Member
 
Join Date: Apr 2006
Posts: 1,059
createEmptyMovieClip("EMPTY",depth)
joran420 is offline   Reply With Quote
Old 07-21-2007, 01:23 AM   #5
cancerinform
Mod
 
cancerinform's Avatar
 
Join Date: Mar 2002
Location: press the picture...
Posts: 12,312
this.createEmptyMovieClip("mc", this.getNextHighestDepth());

or you just create a new MovieClip and leave it empty. Drag it from the library and give it a unique name.
__________________

- The right of the People to create Flash movies shall not be infringed. -
| www.Flashscript.biz | Help a little girl, Ana, who has cancer. | Flashscript Biz Classes/Components | The new Event design pattern | Clothing for Haiti |
cancerinform is offline   Reply With Quote
Old 07-21-2007, 01:53 AM   #6
AttackRabbit
rabid_Delineator
 
AttackRabbit's Avatar
 
Join Date: Dec 2003
Location: Orlando, Florida
Posts: 433
it looks to me like they are resizing the actual thumbnal image , resulting in a blurry low res version, as this is happening they are using a movieclip loader to load a full res version of the larger image into a seperate movieclip inside the thumb. Another way to do this would be to load the full res larger image into a movieclip , convert it to bitmap data , draw, clear the intial movieclip, then on scale , run some sort of perlin noise or martix transformation to give the image the pixelated appearance. I would do it the first way though, maybe also using bitmap data with smoothing to true.
AttackRabbit is offline   Reply With Quote
Old 07-21-2007, 02:23 PM   #7
bscarr
Member
 
Join Date: Jul 2002
Location: London, England
Posts: 46
Thanks to all of you for the advice. I'll try out some of them.
__________________
Ben
bscarr is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash 8

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:10 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.