dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Smart Clip Question...

  1. #1
    Senior Member Knoj's Avatar
    Join Date
    Sep 2000
    Location
    Ames IA
    Posts
    361
    I know there has to be a way to do this...

    How would I go about using actionscript from a button to change the Array[] of a smart clip? I want to be able to do this from outside of the smartclip.

    the array's name is items, I want to be able to change items[0], items[1], and items[2] from outside of the smart clip

    Any help in any direction would be helpfull!

    Thanks!

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Posts
    588
    Well, if the button is outside of the smart clip, you should just be able to do something like:

    clip1.items[0] = newValue
    clip1.items[1] = newValue2
    clip1.items[2] = newValue3

    Or you could set up a for loop to do something like this.

  3. #3
    Senior Member Knoj's Avatar
    Join Date
    Sep 2000
    Location
    Ames IA
    Posts
    361
    I must say, "U'da man!"

    Thank you so much!!!

    Worked perfictly! (all I had to do was ""s arround the value, but I'm not complaining!!!)

    Thanks again!

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