
Welcome Guest
|
#1
|
|||
|
|||
|
Jumping to the next scene problem
So I created a typewritter effect after my preloader, and I was able to automatically jump to my typewritter effect after my preloader finished loading, but when my typewritter effect finishes typing out its text, it won't jump to the next scene which is basically a graphic picture. I used the gotoAndPlay("Scene 3", 1), but my text just doesn't appear then. When I erase my stop(); function, the typewritter effect altogether doesn't work.
My typewritter effect calls from external sources; from a .txt file. Any idea how I can make it jump to the next scene? Thanks. coding: The typewritter effect has 3 action frames. Actionscript:
//1st frame:
loadVariables("texteffect.txt","");
//2nd frame:
if (loaded != "yes") {
gotoAndPlay(1);
}
//3rd frame:
stop();
var i = 0;
texteffect = "";
function textwritter() {
texteffect = txt.slice(0, i);
i++;
if (texteffect.length == txt.length) {
clearInterval(intervalID);
}
}
var intervalID = setInterval(textwritter, speed);Last edited by [PAUL FERRIE] : 03-08-2006 at 09:45 PM Reason: tagged code |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Go to a new scene problem | dlonra | Flash MX ActionScript |
1 | 12-01-2004 05:45 PM |
| Loading Scene Problem | iwgalloway | Flash MX |
7 | 09-08-2004 02:00 PM |
| Jumping to a movie clip from Scene 1? | tilsgirl | Flash MX |
0 | 05-19-2004 01:33 AM |
| Is it code correct jumping from one scene to another? | jennyucf | Newbies |
1 | 08-06-2001 08:35 PM |
| scene 1 to scene 2 within a movie clip problem | lidoly | General Flash | 8 | 03-29-2001 06:36 PM |




