#1 (permalink)  
Old 07-10-2008, 09:27 PM
Junior Member
 
Join Date: May 2008
Posts: 10
Default size of thumbnails

I have changed the size of the thumbnails to:
this._xscale = 150;
this._yscale = 150;


Where can you change the distance between thumbs because any thumbnails bigger than your default size overlap.

Thanks
Reply With Quote
  #2 (permalink)  
Old 07-12-2008, 08:36 PM
Super Moderator
 
Join Date: May 2008
Posts: 518
Send a message via Skype™ to Adrian
Default

To modify the width of the thumbnails, open HScroller.as file an serach for:

private static var tw:Number = 80;

change it to the value you desire.

To modify the height, simply use the properties panel and alter the height of the rectangular placeholder on the stage. You should notice that the height altering will also include the thumbnail border and the label’s block height. So if you want you thumbnail to be 100px in height and your border is 2px and the text block has 20px in height, you should put a value of 100+2+2+20 = 124px in the properties panel. You can also modify the height of the label block and the border width by opening the Thumbnail.as file and altering the coresponding variables, “bw” for border width and “lbh” for label height (every variable is commented right above it’s definition)

Hope this clears things a little bit

Adrian
Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.