File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 381
381
{
382
382
ContentSoundManager. changeMainMusic((event as AppEventContent). pageData. musicURL,(event as AppEventContent). pageData. musicVolume);
383
383
}
384
+ else
385
+ {
386
+ ContentSoundManager. changeVolume((event as AppEventContent). pageData. musicVolume);
387
+ }
384
388
385
389
386
390
if (mainAnim == null )
Original file line number Diff line number Diff line change @@ -97,6 +97,11 @@ package contents.soundControll
97
97
{
98
98
SoundPlayer. volumeContril(currentSoundId,1 );
99
99
}
100
+
101
+ public static function changeVolume (volume :Number ):void
102
+ {
103
+ SoundPlayer. volumeContril(currentSoundId,volume );
104
+ }
100
105
101
106
/**This will change the current playing music ( not tested yet )*/
102
107
public static function changeMainMusic (musicURL :String = '' ,volume :Number = 1 ):void
You can’t perform that action at this time.
0 commit comments