Load Data from (txtTable and So On)

xiaoxiao2021-03-06  67

1, New Flash DOC

2, COPY:

MyData = new loadvars () MyData.Load ("data.txt") MyData.onload = function (success) {if (success) {name.text = this.name} else trace ("error loading data)}

To Frame Action

3, add dy txt and named name

4, New Data.txt Doc Write Name = Tojava and Save It in The Same Dir with The SWF File

5 ENTER CTR

6 you can see tojava in The Flash Player

转载请注明原文地址:https://www.9cbs.com/read-120213.html

New Post(0)