Welcome, Guest
  • Author Topic: xml and buttons.  (Read 2441 times)

    prasad gvss

    • Seasoned Programmer
    • ***
    • Posts: 124
    • India
      • View Profile
      • Telugu Entertainment
      • Email
    xml and buttons.
    « on: 04/26/06, 18:21 »
    hi all

    I want to build a movie with some buttons.

    I want the number of buttons and the text for each button to be dynamic and  defined in an XML and depending on how many buttons are defined want only that particular  number of buttons to be placed in the movie.

    I know the max button numbers ofcourse (6).

    Hope you guys got my point. How can we do this?

    thanks in avdvance,
    cheers
    prasad..

                                         

    « Last Edit: 04/26/06, 18:41 by prasad gvss »
    Prasad Gurla,
    Ph.D student in Materials Science,
    Aachen,
    Germany.

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: xml and buttons.
    « Reply #1 on: 04/27/06, 02:12 »

    prasad gvss

    • Seasoned Programmer
    • ***
    • Posts: 124
    • India
      • View Profile
      • Telugu Entertainment
      • Email
    Re: xml and buttons.
    « Reply #2 on: 04/27/06, 04:11 »
    hi

    thanks for the post, I now understand how to get the dynamic buttons! My question still remains as to how to include the number of buttons in it and display only that buttons?

    cheers
    prasad..
    Prasad Gurla,
    Ph.D student in Materials Science,
    Aachen,
    Germany.

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: xml and buttons.
    « Reply #3 on: 04/27/06, 04:13 »
    add some node in the XML saying how much buttons you should show, limit the for ... in loop for this number when creating the buttons.

    Jorge