changed this.setText(); to _root.content.setText();
same problem , even tried. setText(); by it self.
changed this.setText(); to _root.content.setText();
same problem , even tried. setText(); by it self.
non of the above worked, any suggestion kax?
ehmm… try adding this before the instance name of the TextField in the function. :-\
this.currentImage.text = gallery[subgallery][index];
that line?
Still not working :-\ ok, im going to make a new swf, with new mc’s and new external swf, and see how i go, might be something weird with the layout im working with.
I’ll keep u posted.
::Soulty:smirk:
hmmm… i feel stupid.
attach/send me your files and i’ll try to fix it. =)
check ur PM
yup… got the files. =)
do you have any masks in base8.swf?
i got it to work by embedding the font and this script:
_global.subgallery=0, _global.index=0;
gallery = [["wathever"], ["whatever"], ["whatever"], ["whatever"]];
test.sub.onRelease = function() {
_global.subgallery = 0;
_global.index = 0;
this._parent._parent.currentImage.text = gallery[subgallery][index];
};
test.sub2.onRelease = function() {
_global.subgallery = 1;
_global.index = 0;
this._parent._parent.currentImage.text = gallery[subgallery][index];
};
test.sub3.onRelease = function() {
_global.subgallery = 2;
_global.index = 0;
this._parent._parent.currentImage.text = gallery[subgallery][index];
};
test.sub4.onRelease = function() {
_global.subgallery = 3;
_global.index = 0;
this._parent._parent.currentImage.text = gallery[subgallery][index];
};
prevPic.onRelease = function() {
_global.index>0 ? _global.index-- : _global.index=gallery[subgallery].length-1;
this._parent._parent.currentImage.text = gallery[subgallery][index];
};
nextPic.onRelease = function() {
_global.index<gallery[subgallery].length-1 ? _global.index++ : _global.index=0;
this._parent._parent.currentImage.text = gallery[subgallery][index];
};
the door transition has a mask. why you asked?
:wouldnt think something like that would effect it.
because you must embed the font outline in order to mask a dynamic TextField.
edit. is the MovieClip contents masked or not?
WOOHOO , IT WORKS !!!
Ah the most simplest of thing :!:
Thanks dude for you help :beam:
NOw i can finally get on with the rest of my site.
::: wont be too hard to add a image fade in and out to this script will it? using the kirupa photo gallery as a reference.?
yeah… you shouldn’t have any problems.
just remember to remove/change _root in the script of the photo gallery.
*Originally posted by kax *
**because you must embed the font outline in order to mask a dynamic TextField.
edit. is the MovieClip contents masked or not? **
yeah it is masked, its got a transition animation code in there. frame label open with the mask hiding the doors and frame label close with them hiding the doors. All good now, working
*Originally posted by kax *
**yeah… you shouldn’t have any problems.
just remember to remove/change _root in the script of the photo gallery. **
yeah i remember seeing some thread, when i went searching for the gallery before about changing _root to this :beam:
thanks again mate, i appreciate your help BIG time! :beam:
no problem. =)
you can call me superkax from now on… jk
all is good for the type but i forgot this was for jpegs. lol
Don’t i just have to change is the array to jpgs and the
this._parent._parent.currentImage.text = gallery[subgallery][index];
//to point it to a mc called holder
this._parent.holder = gallery[subgallery][index];
or is there more to it?. such as loadMovie?
sorry to be bothering you again :-\
yeah, change the array to the jpg’s and
this._parent.holder.loadMovie(gallery[subgallery][index]);
I’m falling Superkax !!!
not working :-\
:: Copyright KIRUPA 2024 //--