[As2] Delay function in Flash.

xiaoxiao2021-03-06  35

var cSecPerFrame: Number = 0.05; function Delay (timeDelay: Number, secPerFrame: Number): Void {var startTime: Number = getTimer () / 1000 ;; var tmpTime: Number = startTime; trace (tmpTime); while (tmpTime

Oh, the old soup is replaced with new drugs, but Delay is DELAY, but it is forcibly occupying Flash run resources, and even the screen is suspended together. ~~~~

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

New Post(0)