0 Replies Latest reply on Nov 21, 2008 3:25 AM by DAVID NAJAR

    Ini Flash component properties on beginSprite event

    DAVID NAJAR Level 1
      Hi,

      I spend some time searching the web for a solution to initialize Flash components (buttons, input text, list, tree, and so on) properties on the beginSprite Director’s event and I couldn’t find any practical solution then I‘d like to share with you an easy trick I’ve found.

      With this little script you can have just one Flash member on your cast and put on the stage any number of instances of it and set its properties independently or you can call any handler that fills data on components like List, Tree or Data Grid on the beginSprite event.

      Works fine and it’s much more efficient than the enterFrame or exitFrame solutions out there, on this stepFrame is played once instead every application loop like enterFrame and exitFrame, so no processor penalties.

      I hope this can help to anyone who needs it.