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

  1. #1

    Default very basic

    hi all

    i am quite new to lingo and got a basic problem

    i ve 5 buttons b1,b2,b3,b4,b5
    and i ve 5 movies in the cast m1,m2,m3,m4,m5

    simply i want to link these 5 buttons to their movies
    b1 link to m1
    b2 link to m2
    b3 link to m3
    -
    -
    for example when i press button 1 i want to load movie 1 in the sprite 1 and it goes like that

    i ve tried
    repeat while i to ...... syntax but i didnt figured it out..

    i am waiting for help...
    thanx...






    okanulas webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. FMS BASIC HELP PLEASE
      I am a newb but learning, im wanting to know if i can have a 2 way webcam chat installed on a clients website, hosted from my own pc? if so whats the...
    2. Basic SQL
      I have this bit of code: <cfif day eq '_1'> <cfquery name = "update" dataSource = "KFS"> UPDATE tbl_Legends SET _1 = '#description#' WHERE...
    3. 3D basic
      I'm having some problems in 3D basic programming: 1. how can i remove one or more model in a 3D sprite on the stage? 2. how can i get the model's...
    4. Dark basic pro VS blitz basic 3D VS 3d game studio VS shockwave VS jamajic
      What are all your thoughts on the other leading 3D indi game creation packages out there? Are there others that I didn?t mention? here are a few...
    5. BASIC HELP on php
      I am new in programming with PHP. I wrote the following code: file name: output.php <?php echo $texto; ?> And I call it on my browser...
  3. #2

    Default Re: very basic

    your >> 5 movies in the cast m1,m2,m3,m4,m5

    sounds like a style of programming one would use in flash when dealing
    with movie clips. Director film loops are more limited and tougher to
    revise after creation.

    Instead of switching in movies, one usually would jump to markers with
    the main movie or jump to seperate external movies.




    If you do wnat to assign a film loop to an on stage sprite.

    Have a 'placeholde'r sprite already on stage, then reassign it's member
    with:

    sprite(10).member = "m2"
    JB Guest

  4. #3

    Default Re: very basic

    Hi...

    First of all, what's the idea of a repeat statement when you just want Director to perfom a task an nothing more ?...Repeat statements are to be used only when you want Director to continually perform something (events) as long as a condition is true.

    For your above example....all that needs is a go to movie command (if that's what i've understood from your post)


    script for button b1

    on mouseup me
    go to "m1"
    end




    Vj
    vij010 Guest

  5. #4

    Default Re: very basic

    thanx guys

    i gave behaviors to all the buttons...it was massy when you dealing with 80 buttons,and movieclips..


    okanulas webforumsuser@macromedia.com Guest

  6. #5

    Default Re: very basic

    In this case you would use one single behaviour, and take advantage of the
    getPropertyDescriptionList handler to pass in variables to your buttons.

    There are many examples out there, check some out at [url]www.mediamacros.com[/url]

    Adam

    "okanulas" <webforumsuser@macromedia.com> wrote in message
    news:boq5vk$rhh$1@forums.macromedia.com...
    > thanx guys
    >
    > i gave behaviors to all the buttons...it was massy when you dealing with
    80 buttons,and movieclips..
    >
    >

    Adam Royle 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