PDA

View Full Version : text effect


samanthayy
10-06-2002, 10:33 PM
can someone tell me (in a very simple way) how to use the dos cursor effect?

Don't understand what is going on.... :confused:

sfa
10-07-2002, 06:48 AM
onClipEvent(load){
titletemp = "Write your message here.";
}
onClipEvent(enterFrame){
count+=1
if(count == 5){
if(under == ""){
under = "_";
}else{
under = "";
}
counttemp+=1;
title = titletemp.substring ( titletemp, counttemp, 1) + under;
count = 0;
}
}


Recently I used the cursor effect and came up with this code. Dont know if it uses the concept as the one you are looking at, can you understand this one

SFA

Ricod
10-07-2002, 03:05 PM
First look yourself, and then check your answer :


























onClipEvent(load){
titletemp = "Write your message here."; // the text being displayed
}
onClipEvent(enterFrame){
count+=1 // add 1 to 'count'
if(count == 5){ // is count 5 ?
if(under == ""){ // is the cursor not visible (is under 'empty') ?
under = "_"; // then place it (under = "_")
}else{ // if it is there
under = ""; // remove it
}
counttemp+=1; // temporary counter, add 1
title = titletemp.substring ( titletemp, counttemp, 1) + under; // the real message is being 'built' from titletemp
count = 0; // reset count
}
}

*yuck, furballs everywhere here*

sfa
10-07-2002, 03:17 PM
eh?

SFA

samanthayy
10-07-2002, 11:30 PM
Give me a couple more days .....

I am totally absorbed in school work ~ Physics and Math are killing me.....

maybe girls don't have the right brain constructions for programming......

Ricod
10-09-2002, 12:40 PM
I wonder ... oh Pink ? How is your coding going ? I know mine sucks, and I'm a guy, so might not be gender related ...

samanthayy
10-09-2002, 11:33 PM
but I am trying to do my best > squeeze in time between my studies... and try to be better at I.T. stuff.... besides pursuing my goal, which is to get a Ph.D in something....

I wanto be someone great....