import flash.net.URLLoader; import flash.net.URLRequest; import flash.events.Event; var txtLoad:URLLoader = new URLLoader(); //txt.txt文本以UTF-8的编码保存. var txtURL:URLRequest = new URLRequest("txt.txt"); txtLoad.addEventListener(Event.COMPLETE, show…
需求: 有一个文件,根据指定的字符串,得到该字符串上两行的内容. 文件内容如下: linux-56:# cat sys.ttconnect.ini # Copyright (C) 1999, 2006, Oracle. All rights reserved. ############################################################### # This is a file used for the TimesTen Client. # It con…