Re: [flexcoders] newbie question : putting a semicolon in a mxml property

2009-07-12 Thread Sam Lai
Not if there is just a single line of script within the quotation
marks. If you wanted to do something like this though,

mx:Button label=some label click=t1.text = t2.text;
doSomethingElse(); t3.visible = false; /

Then you do need the semi-colons. Most people just have the semi-colon
there out of habit from when they write AS in .as files or within the
mx:Script tags (they are needed in those cases).

2009/7/12 ew6014 ew6...@yahoo.com:
 hi guys

 i was reading the flex documentation and i noticed a ; inside a mxml property

 let me give you an example

 mx:Button label=some label click=t1.text = t2.text; /

 ive tried removing the semicolon ;  and also tried leaving it there and there 
 was no error of any kind.

 so im just wondering if this will cause issues or is something going on that 
 i do not know

 thank you guys in advance



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links






[flexcoders] newbie question : putting a semicolon in a mxml property

2009-07-11 Thread ew6014
hi guys

i was reading the flex documentation and i noticed a ; inside a mxml property

let me give you an example

mx:Button label=some label click=t1.text = t2.text; /

ive tried removing the semicolon ;  and also tried leaving it there and there 
was no error of any kind.

so im just wondering if this will cause issues or is something going on that i 
do not know

thank you guys in advance