Playing sound from externally loaded .swf
i have small .swf file contains 1 of characters in game. in main actionscript 3 project, load .swf external source , display in game. works fine, however, swf contain short sound clip should played whenever character clicked on.
i know add onclick listener small .swf , write code in flash professional play sound. problem have options menu in game allows user specify volume of such sounds, , believe such information unavailable externally loaded .swf
so sound file needs somehow packaged inside character .swf, need able play through custom 'soundplayer' class have in actionscript project. ideas how achieve this?
create public method in external swf controls sounds volume.
More discussions in Adobe Animate CC - General
adobe
Comments
Post a Comment