TwelvestoneFlash

ComboBox controlling Timeline


Sign in

  • Waiting for Godot ( 720 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 4.8 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.8 k posts )
    general front end design an...
  • Back End ( 9.6 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
guigsythemagician
 
2009-06-04

Hey Guys,

Just wondering if anyone can help out on this...

Im in Flash cs3, Working action script 1 - 2 (not 3)

And I'm looking to make a drop down combo box, and when you select one of the entries, the timeline goes to the frame with that marker text.

I've got it pieced together, but it's not going anywhere...the drop down works, and gets populated, but it won't actually move the timeline...

Any thoughts?

Cheers!

[quote]function cbUpdate() { choice = _root.comboBox.getSelectedItem().data; //choice is now inside the function _root.gotoAndPlay(choice); }

_root.comboBox.setChangeHandler("cbUpdate");

_root.comboBox.setChangeHandler("change"); _root.comboBox.addItem("Home","Main Start"); _root.comboBox.addItem("Online Advertising", "OnlineAdvertising"); _root.comboBox.addItem("Enhancing Placement", "EnhancingPlacement"); _root.comboBox.addItem("Enhancing Content", "EnhancingContent"); _root.comboBox.addItem("Search Engine Exposure", "SearchEngineExposure");

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFlash

ComboBox controlling Timeline