<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml " xmlns="*" backgroundColor="#FF0000" alpha=" 10" height="300" width="300 ">
<mx:Script>
<![CDATA[

import mx.controls.Alert;

import mx.events.AlertClickEvent

function click(evt:AlertClickEvent)

{

if(evt.detail == Alert.OK)

{ txt2.text = txt1.text; }

Alert.show("Click the right Button", "Alert Box",

Alert.OK | Alert.CANCEL | Alert.NO | Alert.YES);

}

]]>

</mx:Script>

<mx:TextInput id="txt1" width="100 " />

<mx:TextInput id="txt2" width="200 " />

<mx:Button id="m_btn" label="CLICK " click="click(evt:AlertClickEvent)" color="#ff0000" />

</mx:Application>



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