Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-09-2010, 12:50 AM   #1
aktell
FLEX Jokey
 
aktell's Avatar
 
Join Date: Jun 2007
Location: New Zealand
Posts: 154
Default Addressing a clickHandler through ....

Hi there,



I like to address the 'clickHandler' event at Application start up by using 'creationComplete' ???

Code:
<mx:Script>
<![CDATA[
protected function linkBtnFullAuto_clickHandler(event:MouseEvent):void {
btnFullAuto.enabled = false;
autoOne();
}
]]>
</mx:Script>

<mx:LinkButton
id="btnFullAuto"
click="linkBtnFullAuto_clickHandler(event)"/>
Thanks in advance aktell
aktell is offline   Reply With Quote
Old 10-09-2010, 12:58 PM   #2
Peter Cowling
quantum tunneler
 
Join Date: Sep 2008
Location: London, UK
Posts: 882
Default

Your question is a statement.

Your code sheds no light on your problem.

Try improving your question(s) to improve the chance that you will receive answers.
Peter Cowling is offline   Reply With Quote
Old 10-09-2010, 11:08 PM   #3
aktell
FLEX Jokey
 
aktell's Avatar
 
Join Date: Jun 2007
Location: New Zealand
Posts: 154
Default

Quote:
Originally Posted by Peter Cowling View Post
Your question is a statement.

Your code sheds no light on your problem.

Try improving your question(s) to improve the chance that you will receive answers.
Thanks Peter !

And the answer is:

Code:
linkBtnFullAuto_clickHandler(null)
aktell is offline   Reply With Quote
Old 10-10-2010, 07:29 AM   #4
drkstr
Flexpert
 
drkstr's Avatar
 
Join Date: Sep 2006
Location: Seattle, WA: USA
Posts: 1,587
Default

Which would of been an easy answer to give, had we known what you were actually trying to do
drkstr is offline   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:42 PM.

///
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.