Hi,
I have some code (in frame 1 of a scene) that iterates through a set of images (to scroll them) and when done, I want it to go to either the nextframe or next scene, but everytime I put the code to go to the next scene at the end, it doesn't do anything. I actually had this code from a guy who was working for me and wasn't able to complete it so I'm trying to finish the project but am a little lost (haven't done too much actionscripting..)
Here's the code snippet from frame 1 in scene one (there are some other layers that have other symbols and the mc for the family1...
Any help?
Thanks!
family1.setMask(mask);
letter.text = "Exquisite food";
letter.nXstart = 25;
var lett = letter;
family1.onEnterFrame = function() {
this._x -= 4;
if (this._x<mask._x-(this._width-mask._width)) {
this.onEnterFrame = function() {
this._alpha -= 10;
lett._visible=0;
if (this._alpha<0) {
this._visible = 0;
lett.removeMovieClip();
family1.removeMovieClip();
//delete this.onEnterFrame;
}
};
}
};
nextScene();
I have some code (in frame 1 of a scene) that iterates through a set of images (to scroll them) and when done, I want it to go to either the nextframe or next scene, but everytime I put the code to go to the next scene at the end, it doesn't do anything. I actually had this code from a guy who was working for me and wasn't able to complete it so I'm trying to finish the project but am a little lost (haven't done too much actionscripting..)
Here's the code snippet from frame 1 in scene one (there are some other layers that have other symbols and the mc for the family1...
Any help?
Thanks!
family1.setMask(mask);
letter.text = "Exquisite food";
letter.nXstart = 25;
var lett = letter;
family1.onEnterFrame = function() {
this._x -= 4;
if (this._x<mask._x-(this._width-mask._width)) {
this.onEnterFrame = function() {
this._alpha -= 10;
lett._visible=0;
if (this._alpha<0) {
this._visible = 0;
lett.removeMovieClip();
family1.removeMovieClip();
//delete this.onEnterFrame;
}
};
}
};
nextScene();