sorr its a late, but cheat... var foo:Object = myCheckBox;
foo.dispatchEvent( {type:"cick", target:myCheckBox}); if you use an object reference the compiler doesn't enforce class modifiers so you can basically bypass protected. Grant. ----- Original Message ----- From: Yotam Laufer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/20/06 9:52 AM Subject: Re: [Flashcoders] Fire Event Manually > unless dispatchEvent is a private method ;) > > On 20 Jan 20 > 06 14:27:30 -0000, [EMAIL PROTECTED] > wrote: > > > > myCheckBox.dispatchEvent( {type:"cick", targ > et:myCheckBox}); > > > > or > > > > > > > > should work ? > > > > Grant. > > > > > ----- Original Message ----- > > From: julian atienza j > [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > af.com > > Sent: 1/20/06 5:59 AM > > Subject: [Flashcoders] F > ire Event Manually > > > > > Anybody can helps me with this? > > > > > > > I have a collection of checkbox, with their own a > ctionscript code in the > > > on(click) or on(change) regio > n of code to manage events... > > > > > > in one special case > , i want to manually (through actionscript code in a > > > > class) fire the click event on every checkbox control of > my panel. > > > > > > there is any way to make this? to fire > click event like if a user > > interacts > > > with the contr > ol and click on it? > > > > > > I'm talking about Checkbox Co > ntrol (not about HTML checkbox) ... > > > > > > thank u in ad > vance! > > > ______________________________________________ > _ > > > Flashcoders mailing list > > > [EMAIL PROTECTED] > figleaf.com > > > http://chattyfig.figleaf.com/mailman/list > info/flashcoders > > > > ____________________________________ > ___________ > > Flashcoders mailing list > > [EMAIL PROTECTED] > tyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/ > listinfo/flashcoders > > > > > > -- > Yotam Laufer | Flash Develop > er | mobile +44 (0) 79 205 17 212 > > > V¬ Êz»>¨¥x>+- > V¬ Êz» «mÉø ~(%y§Ü¢ > Ûiÿ÷!jÛr~( ^i÷(ùYùb²Ø§~ß«!r^® _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders