M
M
mihail_gavriljuk2016-05-09 14:24:23
JavaScript
mihail_gavriljuk, 2016-05-09 14:24:23

Calling a function from actionscript3 with javascript?

How to run this function using javascript?

function play()
{
  var mySound:Sound = new Sound();
  mySound.load(new URLRequest("myFavSong.mp3"));
  mySound.play();
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ineshin, 2016-05-09
@IonDen

External Interface PS You don't need Flash to play music in modern browsers, regular JavaScript
can handle it too .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question