Friday, April 2, 2010

hai Shardul Singh Bartwal doubt...

Hai Shardul Singh Bartwal

Thank u For your reply ,

?

I used your idea and implemented but again i am not able to type anything on the textbox, but it is focusing the txtbox and the cursor also

blinks there.

?Can u help me

Thanks In Advance

hai Shardul Singh Bartwal doubt...

Hi,Pls check this demo,its working fine.Pls note that you will not find it working

when you will see it after running or debugging.Go to your 'bin-debug',and click the swf there.You will find it working perfectly and also you can enter the text too.

%26lt;?xml version=''1.0'' encoding=''utf-8''?%26gt;

%26lt;mx:Application xmlns:mx=''http://www.adobe.com/2006/mxml''

layout=''absolute''%26gt;

%26lt;mx:Script%26gt;

%26lt;![CDATA[

private function onCreationComplete():void

{

txtInput.setFocus();

}

]]%26gt;

%26lt;/mx:Script%26gt;

%26lt;mx:TextInput id=''txtInput'' creationComplete=''onCreationComplete()''/%26gt;

%26lt;/mx:Application%26gt;

with Regards,

Shardul Singh Bartwal

hai Shardul Singh Bartwal doubt...

Hai Shardul Singh Bartwal

Thank You, it is working fine....

  • facebook.com
  • No comments:

    Post a Comment