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
Solved

Flash UI Components Events in Flash MX

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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.

789 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