Highlighted

AIR Mobile app using ringtone volume, not media volume

Community Beginner ,
Oct 06, 2014

Copy link to clipboard

Copied

So I've got an app written in AS3 using AIR Mobile. The issue is that the volume of the app seems to be tied to the ringtone volume on my phone, not the media volume. How do I tie my app's volume to media instead of ringtone? If it makes a difference, I'm developing in FlashDevelop. Thanks.

Adobe Community Professional
Correct answer by Colin Holgate | Adobe Community Professional

Look into this:


SoundMixer.audioPlaybackMode = AudioPlaybackMode.AMBIENT;


The Play Back mode controls what volume is followed. The default should already be doing what I think you want to do.


Look here for other settings:


AudioPlaybackMode - Adobe ActionScript® 3 (AS3 ) API Reference


'media' might be the one you want.

TOPICS
Development

Views

250

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

AIR Mobile app using ringtone volume, not media volume

Community Beginner ,
Oct 06, 2014

Copy link to clipboard

Copied

So I've got an app written in AS3 using AIR Mobile. The issue is that the volume of the app seems to be tied to the ringtone volume on my phone, not the media volume. How do I tie my app's volume to media instead of ringtone? If it makes a difference, I'm developing in FlashDevelop. Thanks.

Adobe Community Professional
Correct answer by Colin Holgate | Adobe Community Professional

Look into this:


SoundMixer.audioPlaybackMode = AudioPlaybackMode.AMBIENT;


The Play Back mode controls what volume is followed. The default should already be doing what I think you want to do.


Look here for other settings:


AudioPlaybackMode - Adobe ActionScript® 3 (AS3 ) API Reference


'media' might be the one you want.

TOPICS
Development

Views

251

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 06, 2014 0
Adobe Community Professional ,
Oct 06, 2014

Copy link to clipboard

Copied

Look into this:


SoundMixer.audioPlaybackMode = AudioPlaybackMode.AMBIENT;


The Play Back mode controls what volume is followed. The default should already be doing what I think you want to do.


Look here for other settings:


AudioPlaybackMode - Adobe ActionScript® 3 (AS3 ) API Reference


'media' might be the one you want.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 06, 2014 0
drw4281 LATEST
Community Beginner ,
Oct 06, 2014

Copy link to clipboard

Copied

Yep, setting it to MEDIA got it to work. Thanks. Not sure why it didn't seem to be the default though.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 06, 2014 0