A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: multiple targets

  1. #1
    Member
    Join Date
    Mar 2000
    Posts
    80

    Question

    Hi there,
    Could someone point me in the right direction......
    How can I write multiple targets using the Set Property action? I have a series of different elements that I wish to make invisible on the click of one button + don't want to write the same action repeatedly..
    thanks,
    Lou

  2. #2
    Junior Member
    Join Date
    Mar 2000
    Posts
    2

    Post

    Hi Lou!

    Have you tried making loops ?
    Combine the names of your mclips with a number.


  3. #3
    Junior Member
    Join Date
    Mar 2000
    Posts
    7

    Post

    Loop While (n<number.of.movieclips)
    Set Property ("moviename"&n ,Visibility) = 0
    Set Variable: n = n+1
    End Loop
    u just need to name yourmovies with number on the end (i.e. "moviename1", "moviename2", .....)

  4. #4
    Member
    Join Date
    Mar 2000
    Posts
    80

    Talking

    Hi manga and Marcel,
    Thanks for the advice - I'm getting there slowly!
    L

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center