hi everyone,
somewhere in the forum i found this slideshow:
http://actionscript-toolbox.com/samplemx_slideshow.php
the script reads:
var pic_arr = [“image01.swf”, “image02.swf”, “image03.swf”, “image04.swf”,
“image05.swf”];
var color_arr = [0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff];
var currentSlide = 0;
// specify pic locations, alpha increment each frame, and
// number of frames to keep current picture displayed before
// transitioning to the next one
this.attachMovie(“slideshow”, “show”, 1, {
_x:0, _y:0, _visible:false, fps:40, nFrames:100, alphaIncr:30,
slides_arr:pic_arr, slideDepth:1, repeat:true,
slideTracker:“currentSlide”});
// tell _root (this) to listen for events broadcast by show
show.addListener(this);
this.onSlideLoaded = function(i) {
(new Color(this[“dot”+i+"_mc"])).setRGB(color_arr*);
// trace('slide ‘+ i + ’ loaded’);
};
this.onAllSlidesLoaded = function() {
show._visible = true;
show.beginTransitions();
};
my problem is, that i load the slideshow into a mc. that works. yet it is trying to load the pics from the main directory and for some reason i cant figure out how to add the specify pic location (the pathToPics) into this script. slideshow.swf and the pics are in the same folder, so why does’nt this work???
could anyone please help?
thanks in advance