At 10:43 AM +0000 3/21/01, pete carss wrote:
>Hello There - I hope someone can help - I have an object that is being
>birthed during the "startmovie" handler. As soon as it is birthed - it grabs
>3 sprite channels and uses them to place graphics on the stage. The code all
>works faultlessly except: If you run the movie after firing up director or
>after launching it in a browser (i.e. the first time through) before the
>first sprite gets positioned it spends a couple of frames in the top left
>hand corner point(0, 0). Nothing I do will change this - even making the
>very first thing in the movie to set the loc of this sprite to something
>useful - any ideas - I've run out
>

Two possible suggestions:

1) Are you sure you are trying to set the location during the 
"startMovie" handler - rather than the "prepareMovie" handler?  At 
prepareMovie, the sprites havent been created yet, so trying to set 
their loc would be ineffective.  So if you are not really doing it at 
startMovie, do it there.

2)  You say that you "grab 3 sprite channels".  Is there anything in 
these channels (e.g., a 1 pixel or 0 pixel member)?  If not, you may 
need to add a line like this:

      puppetSpite xx, TRUE

For each channel.  This will ensure that the sprites are completely 
under your control and not the score.

Irv
-- 

Lingo / Director / Shockwave development for all occasions.

   (Home-made Lingo cooked up fresh every day just for you.)

[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