sprite with lingo into score

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default sprite with lingo into score

    i want to create a text member an put it into a sprite to display it onto the stage. the script that i wrote makes a member in the castlib but dont put it into the score. please help if you can.



    on preparemovie me


    welt=new(#text)

    welt.name="text"


    s=sprite(1)


    s.locH=160

    s.locV=120


    s.member=member("3D") -- <<< this step does not work <<<


    end



    thanks a lot

    Lutz Westermann Guest

  2. Similar Questions and Discussions

    1. Unlock sprite through Lingo?
      I could not find any way to do it, I searched the dirapi.dll for anything with lock, but nothing worked in lingo. Perhaps write an xtra that could...
    2. Create a sprite w/lingo?
      I am experienced Flash user (since it was FutureSplash) and now developing with Director (just a day or so). I have been able to create complex...
    3. Sprite Colour in Score
      Hi, I want to script the colour of sprites in the score. What I'm talking about is not the colour of sprites on the stage, but rather in the...
    4. how to find a member in score by lingo
      just like the menu function-->find in score?
    5. Manipulate an sprite in the score?
      with score recording it is possible to reconstruct the sprite on a new channel, but I don't recall a move channel function. to temporarily change...
  3. #2

    Default Re: sprite with lingo into score

    s.member=member("3D") -- <<< this step does not work <<<


    I thought you named your new Member as "text"...

    welt.name="text"

    So... you should use the same name... not 3D....

    you can also refer to that member with your variable welt or by a member number...

    Another thing is...

    You NEED an existent sprite in channel number one for this script to work. Remember that it is not the same SPRITE and SPRITE CHANNEL.... so will need to place a sprite in channel 1... u can place 1 x 1 pixel or u can place that sprite out of stage so it will look like you are "creating" it...

    Let us know how is it going on...


    Arturo

    ___________________________
    Arturo Toledo
    Milton Frank Studios!
    044 (55) 5432 1833
    MSN : [email]toledoarch@hotmail.com[/email]
    [url]www.miltonfrank.tv[/url]

    "Lutz Westermann" <lutz@kisd.de> escribió en el mensaje news:bqm098$5v3$1@forums.macromedia.com...
    i want to create a text member an put it into a sprite to display it onto the stage. the script that i wrote makes a member in the castlib but dont put it into the score. please help if you can.



    on preparemovie me


    welt=new(#text)

    welt.name="text"


    s=sprite(1)


    s.locH=160

    s.locV=120


    s.member=member("3D") -- <<< this step does not work <<<


    end



    thanks a lot

    Arturo Toledo Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139