A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: array objects in scroll pane

  1. #1
    Junior Member
    Join Date
    Jul 2000
    Posts
    28
    i made buttons for my portfolio section of my web site using array. is it possible to put those buttons in a scroll pane component??

    thanks in advanced
    riyan

  2. #2
    Yes,

    I am assuming you mean that your buttons are inside MCs and that you are looping through the array of button names and using attachMovie or duplicateMovieClip.

    Now make an empty movie clip and give it a linkage identifier for Actionscript to find it. Attach your button MCs to the empty movieclip and set the scroll pane content to the empty (now filled with buttons) movie clip. Refresh the scroll pane to ensure that its dimensions are correct.

    If this makes no sense post your Actionscript...

  3. #3

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