Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-30-2003, 10:39 PM   #1
Registered User
Join Date: Jan 2003
Posts: 17
Default getting the component that called the event handler

I attach comboboxes using a loop. I name the comboboxes: "combo"+x. I then add changeHandlers to each of the comboboxes. I need to determine which combobox triggered the call to the changeHandler.

Any ideas how I can achieve that?
pickels5980 is offline   Reply With Quote
Old 01-31-2003, 01:52 AM   #2
Senior Member
binkyboo's Avatar
Join Date: Mar 2002
Location: Madison, Wisconsin
Posts: 1,312
Send a message via MSN to binkyboo

What does your code look like. I'm guessing you can use the trace feature to gather the information you need.
binkyboo is offline   Reply With Quote
Old 01-31-2003, 09:04 AM   #3
Registered User
Join Date: Jan 2003
Location: Kyiv, Ukraine
Posts: 39
Send a message via Skype™ to JabbyPanda

Do you use Macromedia UI Combobox component or your own?

In Macromedia UI Combobox simply in the handler function specify the parameter name.

it will refer to the the object which invoked an event


function Clicked(par) {




movieclip is on the top level and its name: combo1

Change Handler parametr sets to "Chicked"
JabbyPanda is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 09:13 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.