LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-08-2006, 09:34 PM
ViXeN ViXeN is offline
Registered User
 
Join Date: Mar 2006
Posts: 1
Rep Power: 0
ViXeN is on a distinguished road
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
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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




All times are GMT. The time now is 02:05 AM.