?
Solved

Flash UI Components Events in Flash MX

Posted on 2003-10-30
1
Medium Priority
?
218 Views
Last Modified: 2010-04-03
Hello All,
            i want to write the events for Flash UI Components in Flash MX , if a combox box has values 1,2,3,4,5 if i just choose 5 it must go on to 5th frame or some function call . Can someone tell me clearly where to write events for these components.(i have done this successfully in Flash 2004 using on (change){} but i am needed of that same functionalaty in Flash MX)
waiting for reply very badly.
                                    Zahid
0
Comment
Question by:zahidrahim
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 27

Accepted Solution

by:
negatyve earned 80 total points
ID: 9656098
Drop in the same frame where the combobox "combo_cb" lies:

combo_cb.setChangeHandler("changeFrame");
function changeFrame(cb){
      this.gotoAndPlay(cb.getSelectedItem().data);
}
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses
Course of the Month10 days, 23 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question