Solved

Flash UI Components Events in Flash MX

Posted on 2003-10-30
1
217 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 20 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

707 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