PDA

View Full Version : text doesn't appear on time


tracer_bullet
07-04-2002, 10:54 AM
Good day folks.
i'd like to load an text in an MC, but i'd like it to be loaded with the MC. I'm obliged to go to an other frame and to do gotoAndPlay(1);

What should i do to make the text loaded immediatly ?

Ricod
07-04-2002, 11:03 AM
How about u load the text into the _root BEFORE u load the mc, and when the text is completely loaded, u load the mc ! (To make sure its done loading : swonk ! <- search on this word for a complete explanation of the term)

tracer_bullet
07-04-2002, 11:14 AM
ok,
ich mache mein Kram allein.

Ricod
07-04-2002, 11:38 AM
ehr ...

Entschuldigung, aber mein deutsch ist ganz schrecklich ... was ist "Kram" ?

*makes an attempt at speaking german and asks what "Kram" means*

tracer_bullet
07-04-2002, 11:46 AM
es mag sein, dass mein deutsch schlescht ist (fransösich ist mein Muttersprache).
So, should i look at "swonk!" (??) or at "!knows" ,which would make more sens in a code, (for "unkonwn" ) ?

tracer_bullet
07-04-2002, 12:20 PM
hum, problem solved
the text (string "info") appears straight on.
but i'd like it to be cut into pieces ans stuff the variables "texte" with it, like in:
+"N° du pilote : "+info.substr(33, 1)+info.substr(34, 1);

But all that i've got is N° du pilote : . Notice that info is correctly loaded and can be displayed immediatly.

so how could I make "texte" appear right on ?

Ricod
07-04-2002, 12:31 PM
I'm having trouble understanding u ...

with swonk, I meant swonk, not "hey, turn the word around" :)

As for your new question ... u mean :

texte = "N° du pilote :"+info.substr(33, 1)+info.substr(34, 1); ?

So u get :

"N° du pilote : 12"

for instance ?

tracer_bullet
07-04-2002, 12:58 PM
<zennnnnnnnnn>

with "N° du pilote :", I meant "N° du pilote :", not "hey, put any number your thinking of at the end such as 12" :) :D.
^_^
no problem about the sentence building, but it doesn't arrive in the same time. I can display info right on, and texte by COMING BACK from frame2. I'd like it to appear with info (which is loaded) at the cery begin. just launch the animation ans TADAAAAAAAA,here is the amazing texte with is bunch of buddies.

About swonk: i look on google for it. 2320 sites [and always " are you sure tou wouldn't like to try "swank" instead"?" NOOOOOO"].
it will take some time... (i did know that there was so many diane swonk...).

If i'm too "messy" in my explanations, don't hesitate, tell me.
and next time do your arrows in the good sens please.:D

Ricod
07-04-2002, 01:53 PM
Lol ! Actually, I believe Swonk is an AS.org only word ... I meant the forum searcher ... (u see those grey buttons : user cp, register, calendar, ... search <- that's the one I was talking about <- R u reading this as less than minus that's the one I was talking about ? :) )

With swonk, we mean u put a variable with an unique value at the end of whatever ur loading in, and when that variable has that value, it means its done loading.

How about the following construction ? :

1st frame :
Check if loading has begun or is done, if not, start loading.
2nd frame :
Check again, if its done, make texte and go to the 3rd frame. If not, well go back to frame 1.
3rd frame :
animation WITH texte.

tracer_bullet
07-04-2002, 02:31 PM
well,well, well, it surely works.
Bite zehr. :cool:
I thank u so much that nobody can thank u more than i thank u (kind of dumb sentence, but it's registered "Thank you" and i hearn money by saying "Thank you").
Merci beaucoup tres cher(e), vous futes d'une grande aide, ô combien précieuse.

Ricod
07-04-2002, 02:56 PM
No problem, ist ganz gut ! err ... pas de probleme ?