Answer the question
In order to leave comments, you need to log in
How to convert flash file with scripts to html5 format?
Good afternoon, I received the following task:
it is necessary to convert the flash file to html5 format so that it can be played normally on mobile devices
ActionScript is embedded inside the document
import scripts.functions;
import flash.utils.Timer;
import flash.events.TimerEvent;
var f:functions = new functions();
var kol:int = 2;
var id:int = 0;
function anim()
{
if(id == kol)
{
f.tweenfunc(this["f" + id], "alpha", 0, 1, 1);
_timer.start();
}
else f.tweenfunc(this["f" + id], "alpha", 0, 1, 1, anim, false);
id++;
}
anim();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question