Hi,

the event you are using to trigger the functionality (beginsprite) is not suited. BeginSprite is executed before the sprite is drawn on stage. Change your event to for instance "exitframe" to start seeing things happening.

hth

Bart Pietercil



On 24 Jun 2006, at 01:15, Oriente Mario Arreseygor wrote:

              Hi all:

I have a text in a member and want that each word appears one
to one. For example with this text: “My question is:” I want that fist
appear “I” later “Want”, later “that” and so on. I made this:

1 – The color initialy is the same that the BackColor of the member 2 - I change the color of each word and the words would be appear.

But the text appear at the end of the script quickly and joined.
       My scripts are this:

----------------------------------------------------------------
       Property pColorVis,pMiembro,pNumSprite

       on getPropertyDescriptionList

         description = [:]

         addProp description,\
         #pColorVis, \
        [#default:rgb(000,000,000),\
         #format:#list,\
         #comment:"¿Qué color produce el efecto de visibilidad?"\
        ]

         return description
       end

       on beginSprite me
         pNumSprite = me.spriteNum
         pMiembro = sprite(pNumSprite).member.name
         palabras = member(pMiembro).text.words.count
         repeat with i = 1 to palabras
           member(pMiembro).word[i].color = pColorVis
           updatestage
           startTimer
           repeat while the timer < 10
             nothing
           end repeat
         end repeat
       end
-----------------------------------------------------------------

       What is wrong? Or which is the way?

       Thank you in advanced

       Oriente Mario Arreseygor





[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email owner- [email protected]). Lingo-L is for learning and helping with programming Lingo. Thanks!]


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to