Jump to content


Dynamic gallery location


  • You cannot reply to this topic
No replies to this topic

#1 miyagi2003

    New Member

  • New Members
  • Pip
  • 1 posts

Posted 28 November 2007 - 01:05 AM

The gallery script setup section contains the code:

onSelfEvent (load){
 loadSpecs = new Object;
	  loadSpecs = {	  
			text_txt: false,
			text_html: false,
			image_txt: "gallery/gallery_setup.txt",
			image_obj: false,
			video_txt: false,
			video_flv: false,
			video_swf: false
	  };	 
	  // gallery size
	  var WIDTH = 600;
	  var HEIGHT = 400;
	  
	  var MIN_SCALE = 20;
	  var MAX_SCALE = 50;		  
	  var IMAGE_ROWS = 2;
	  var BORDER_Y = 10;
	  var BORDER_X = 5;  
	  var SLIDE_DELAY = 5; // seconds 
	  var PAGE_ACC = 0.76;
	  var SHUFFLE = true;
	  var RECT_ALPHA_MAX = 50;
	  var RECT_ALPHA_MIN = 10;
}

I want to be able to have a different value for image_txt: "gallery/gallery_setup.txt" when I load the movie.
Can I do this through the object params section in the html, or will I have to use a different method ?
If it is the first (html) option - suggestions on how to do it will be appreciated.

Thanks





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users