Note that there are some explanatory texts on larger screens.

plurals
  1. PO1180 error:Call to a possibly undefined method addFrameScript in as3
    text
    copied!<pre><code>package { import flash.display.Sprite; import flash.utils.*; public class SetTimeoutExample extends Sprite { private var delay:Number = 1000; // delay before calling myDelayedFunction public function SetTimeoutExample() { var intervalId:uint = setTimeout(myDelayedFunction, delay,stopTime); } public function myDelayedFunction():void { if(arguments[0] ==fk.playheadTime) {fk.pause();} } } }//this is my document class named SetTimeoutExample.as </code></pre> <hr> <pre><code>import flash.net.URLLoader; import fl.video.*; import flash.utils.getTimer; import flash.events.Event; fk.autoPlay = false; var myLoaderInfo=new Object(); myLoaderInfo.myParamsLoaded = false; myLoaderInfo.loaderComplete = loaderComplete; this.loaderInfo.addEventListener(Event.COMPLETE, myLoaderInfo.loaderComplete); myLoaderInfo.useParams = useParams; var myParams:Object = new Object(); var myParamsLoaded:Object = new Object(); function loaderComplete(myEvent:Event) { this.myParams = this.loaderInfo.parameters; this.myParamsLoaded = true;//Parametrelerin yuklendigine emin olduk. this.useParams(); fk.play(src); } var src:String; var startTime:Number; var stopTime:Number; function useParams() { var obj:Object = new Object(); var j; for (j in this.myParams) { if (j == "url") { src = this.myParams[j]; } else if (j=="bas") { startTime = int(this.myParams[j]); } else { stopTime = int(this.myParams[j]); } } } fk.addEventListener(VideoEvent.READY, bitti); function bitti(eventObject:VideoEvent):void { fk.seekSeconds(startTime); } //this is my player.fla </code></pre> <p>hi,i get this 1180 error in as3.how can i solve this?i google it but i can't apply the solutions to my my code.i'm really new to as3.thanks for any help.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload