View Single Post
Old 09-02-2004, 17:35   #4 (permalink)
andycogbill
Notorious?
 
andycogbill's Avatar
 
Join Date: Nov 2003
Location: Middlebury, VT
Posts: 417
Send a message via AIM to andycogbill
Quote:
Originally Posted by chips
how do I "pass it an argument" to jump to frame 35 when the user selects "feb" ?

You have a function for changeMonth that is the handler for the changing of the drop down. So you should define an array for each month and its corresponding frame number, then in your changeMonth function you test the dropdown for its currently selected value.

Then you compare the selected value with the corresponding array value, then you call another function like monthChangeFrame(yourArrayValue).

I think that should do it quite nicely.
  Reply With Quote