A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: loadmovie with combo box selection.How?

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Posts
    22

    loadmovie with combo box selection.How?

    Can anybody tell me as to how to load a movie when user selects an item from combo box. Need this very urgently. I could not get answer to this from any printed document, hence approaching here

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    In the first frame of your movie, insert this function...

    function load_movie() {
    loadMovieNum(myCombo.getValue(),1);
    }
    stop();


    Then in the Change Handler box of the combo, type in load_movie. Of course the Data of your combo should hold the actual movie's name to load, i.e. "your1.swf", "your2.swf"... Etc. Corresponding to the items in the same combo box.

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