hi [EMAIL PROTECTED] many many thanks for ur help, its really work that i want i m useing same code (ur code) on beginSPrite me tempFont = new(#font) listOfFonts = tempFont.fontList() erase tempFont sprite(me.spritenum).member.text = me.miListToString(listOfFonts) end on miListToString (me, itemList) if not listP(itemList) then return "" str = "" endVal = itemList.count repeat with i = 1 to endVal str = str & RETURN & itemList[i] end repeat delete char 1 of str return str end but i have problem
i gave one more script on it that is on mouseup put mousechar or (mouseword)into field "a" --this is second field. end its put the numaric value like 4 , 7, 9 ..... arial --(1) arial black --(2) bla bal --(3) bal --(4) bla --(5) verdana --(6) tahoma --(7) times new roman --(8) the problem is when i click on arial its put 1 into field its ok but when i click on verdana its put 64 or ... but should put 6 into field "a" coz verdana font is on 6th position just like that when i click on different fonts its put different value even font has different position in font list r u getting what i m talking about plz help me with best whishes nitin __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]