>Yes, they're both events, but we usually use beginSprite for sprite
>initialization, and beginMovie for more global stuff. For one thing,
>beginSprite happens before startMovie (surprised? I was.) It makes sense 
>toget all your sprites initialized before the movie begins.
>

How about prepareMovie ?  Where does this fit in? Would this  not initialize 
the movie even before beginSprite?


>This is a recurrent theme in our conversations. You are looking for yes/no 
>answers, and there often are no yes/no answers in programming. >More often, 
>it depends on what fits.


I always thought programming is logic � either it works or it doesn�t.
My code doesn�t work 99% of the time.


>>I think  the code should be written like this:
>>
>>repeat with i = 1 to 100
>>--what should be the command here? GoTo? I am not sure.
>>repeat with sprNum = 1 to 20
>>end repeat
>>set the LocH of sprite sprNum = (the LocH of  sprite sprNum)-i
>>end repeat
>>end


>I think I'm going to throw that one back at you. The critical point is, 
>where do you set the locH of the sprite?

locH  must be set  at the beginning. I didn�t do that. I understand that I 
must do that but I don�t know how to do it.  May I have  one more lesson, 
please?


>Did you run this through the debugger? Did you analyze the logic?


Yes, my logic is wrong.   Even after your explanation of the grocery store 
loop, I still can�t figure out the logic. I�m sorry. Programming is tough.


>>When I create property lists, I am defining properties for each item. I an
>>thus storing values for each item? So if I use a whole range of values, I
>>need to 'string' them?
>
>I *think* I understand what you're asking. I'm not being intentionally 
>obtuse, but 'string' can have two meanings. One is to convert something to 
>a string--e.g., string(10) returns the string "10" instead of the number 
>10. That may not seem particularly important, but it is.


Could you elaborate, please? I do not understand.


>I meant the writing of behaviors using getPropertyDescriptionList. You 
> >have to understand a number of things about Director and Lingo when >you 
>tackle a getPropertyDescriptionList. That doesn't mean you >shouldn't try. 
>It just means you should be prepared for some >frustrations.


The getPropertyDescriptionList is used as a function to create a property 
list ? Is this what you mean?


But this List can also be used as a movie or frame event?


What is the number of things I need to understand?


I�m  very sorry that I do not understand what you write.


Thanks very much for helping.

Genevieve


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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