#11 (permalink)  
Old 05-20-2008, 05:39 PM
Junior Member
 
Join Date: May 2008
Posts: 7
Default

I know that already said that the number of columns depends on the width of the Stage....But isn't there any code I can place for setting the exact number.
I really just need 3. =/
Reply With Quote
  #12 (permalink)  
Old 05-20-2008, 07:49 PM
Super Moderator
 
Join Date: May 2008
Posts: 560
Send a message via Skype™ to Adrian
Default

Hi,
Hope I'm getting this right , open ThumbsGrid.as file and find the method named "arrangeThumbs". Here, inside this method you'll find something like:
Code:
if (cmc._x+cmc.width>w-2*hMargin)
. This is realted to the Stage.width (it is not very sugestive). Now we should restrict it to the width of 3 thumbnails. So, replace that line with:

Code:
if (cmc._x+cmc.width>3*(cmc.width+ths)-ths-2*hMargin)
Where the "3" value represent the maximum number of thumbnails in a row (actually the number of columns).

Try this, please, and let me know if it works.
Reply With Quote
  #13 (permalink)  
Old 05-23-2008, 09:22 PM
Junior Member
 
Join Date: May 2008
Posts: 7
Default

I don't know why, but to leave only 3 columns you have to put the number "4" and not "3" like you said.

if (cmc._x+cmc.width>4*(cmc.width+ths)-ths-2*hMargin);

this worked.

------

Is it possible to set a mask, or how the images inside the thumbnails appear? For example, I'd like all images inside the thumbnails to look retangular/widescreen type. All with the same dimensions as the first thumbnail in your file.

Last edited by gabrielsantana; 05-23-2008 at 09:57 PM.
Reply With Quote
  #14 (permalink)  
Old 05-24-2008, 01:56 AM
Junior Member
 
Join Date: May 2008
Posts: 1
Default Thumbnails or text hyperlink

It is possible to set a hyperlink when clicking to the thumbnails or description text (xml) ? thanks
Reply With Quote
  #15 (permalink)  
Old 05-26-2008, 09:42 AM
Super Moderator
 
Join Date: May 2008
Posts: 560
Send a message via Skype™ to Adrian
Default

HI,
Thumbnails already have an action assigned to the click event, but you can put hyperlinks in the description. The description text is html enabled. You can find the supported tags here

Last edited by Adrian; 05-26-2008 at 09:49 AM.
Reply With Quote
  #16 (permalink)  
Old 05-28-2008, 06:33 PM
Junior Member
 
Join Date: May 2008
Posts: 2
Default Error in publishing the file

Hi, why can’t I seem to publish or preview the source file?

It keeps giving me the following errors:

Error C:\Documents and Settings\Lim De Yang\My Documents\Work\GreatWheel Corporate\New Gallery 080528\source\caurina\transitions\Tweener.as: Line 35: The class or interface ‘caurina.transitions.Equations’ could not be loaded. import caurina.transitions.Equations;

Warning C:\Documents and Settings\Lim De Yang\My Documents\Work\GreatWheel Corporate\New Gallery 080528\source\oxylus\tooltip\Tooltip.as: Line 257: There is no class or package with the name ‘caurina.transitions.Tweener’ found in package ‘caurina.transitions’. Tweener.removeTweens(this);

These are just 2 of the 27 errors… Is there some problem with the pathing? Thanks.
Reply With Quote
  #17 (permalink)  
Old 05-28-2008, 08:43 PM
Super Moderator
 
Join Date: May 2008
Posts: 560
Send a message via Skype™ to Adrian
Default

Hi,
I can't say for sure what is going wrong. Please, check if you have the "caurina" directory inside the "source" directory. Also make sure you open it with flash 8 or cs3 (but with AS2 enabled, not AS3). Try these and if it still doesn't work, send me an email to adrian{at}oxylus{dot}com, with the source files only (in a zip archive).
Reply With Quote
  #18 (permalink)  
Old 05-29-2008, 12:21 PM
Junior Member
 
Join Date: May 2008
Posts: 2
Default Shifting the chunk

Hi,
It's okay, I resolved the issue by importing the whole folder caurina.transitions.*

But are there any parameters that I can amend inorder to bring the chunk down, cause I would like to implement my own title bar or something on the top, so I have to shift everything down (the thumbnails/buttons).

Thanks in advance.
Reply With Quote
  #19 (permalink)  
Old 05-30-2008, 11:27 AM
Super Moderator
 
Join Date: May 2008
Posts: 560
Send a message via Skype™ to Adrian
Default

You'll have to tweak the onResize function located in the script (second frame of the "gallery.fla"). That function's body contains script for respositioning/resizing the stage elements:

Code:
// RESIZE HANDLER
this.onResize = function() {
	var sw:Number = Stage.width;
	var sh:Number = Stage.height;
	if (sw<800) {
		sw = 800;
	}
	if (sh<600) {
		sh = 600;
	}
	TitleBar_mc.width = sw;
	TabSlider_mc.width = sw;
	TabSlider_mc._y = sh-TabSlider_mc.height;
	ThumbsGrid_mc.width = sw;
	ThumbsGrid_mc.height = sh-123;
	Overlay_mc.width = sw;
	Overlay_mc.height = sh;
	Viewer_mc.width = sw;
	Viewer_mc.height = sh;
};
Reply With Quote
  #20 (permalink)  
Old 06-06-2008, 06:04 PM
Junior Member
 
Join Date: May 2008
Posts: 7
Default

Hi, this gallery of yours is being loaded inside a empty movieclip on _root.
It stands on a layer under my menu buttons.
When clicked on a foto and enters that fullscreen photo slide, my menu still recieves rollover actions.

where, wich line can I put something to stop that from happening?
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.