following is my code.it works fine anyway..two problems:
 
(1) : text input fields & button orientation how to modify??
(2) : Any idea, how to convert normal curser to Hand cursor when howering on took or cancel button in Alert window???? 
 
 
 
<mx:Application
xmlns:mx="http://www.macromedia.com/2005/mxml"

borderStyle="

solid" backgroundColor="#FFFFFF" width=" 100%" height="100%" >

<mx:Script>

<![CDATA[

import

mx.controls.Alert;

import

mx.events.AlertClickEvent;

//[Embed(source="m_icon.gif")]

//var m_icon:Class;

private

function alertListener(eventObj:AlertClickEvent)

{

// Check to see if the OK button was pressed.

if

(eventObj.detail==Alert.OK)

{ myText.text = myInput.text; }

}

]]>

</mx:Script>

<mx:TextInput

id="myInput" width="150" text="" />

<mx:Button

id="myButton" label="Copy Text vvvvvvvvvvveeeeeeerrrrrrrryyyyyyyyLLLLLLLLLLLoooooonnnnnnnngggggggggg " useHandCursor="true" buttonMode="true"  click='mx.controls .Alert.show("Copy Text xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", " Alert", mx.controls.Alert.OK | mx.controls.Alert.CANCEL, this, alertListener,null, mx.controls.Alert.OK );'  fontSize=" 14" alpha="0.51" themeColor="haloOrange" />

<mx:TextInput

id="myText" width="200" text="" />

</mx:Application>

Any suggestion will be Appreciated,


 
On 11/29/05, Sreenivas R <[EMAIL PROTECTED]> wrote:
Can you share the MXML file ? Which version of Flex are you using ?
 
-Sreenivas

 
On 11/29/05, Jignesh Dodiya < [EMAIL PROTECTED]> wrote:
I am not able to display the Alert message fully.i.e. it is displaying
only first few words in the message.Total message is not displayed.

Morething, whats the method for converting cursor to hand cursor on howering on buttons in alert window?????????

--
jignesh dodiya


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS






--
jignesh dodiya

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to