LoginSignup
1
1

More than 5 years have passed since last update.

Flash内でjsの関数呼び出す

Last updated at Posted at 2013-05-20

Flash内でjsの関数呼び出してなんかするとき。

下の例は画面遷移とかでつかってた時の

as sample.as
getURL("javascript:void(jump())");

javascript sample.js
function jump(){
location.href = "http://xxxxx";
}

swiffyobjectに変換したのだとgetURL()のパラメータ内に直接アドレス打っても
ちゃんと遷移しなかったのでこんな形にしたとかなんとか。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1