Copy link to clipboard
Copied
When I write the code:
import flash.media.AudioPlaybackMode;
SoundMixer.audioPlaybackMode = AudioPlaybackMode.AMBIENT;
"AudioPlaybackMode" is not highlighted... Im running Air !8 in Flash CS6 on a mac.
When I install the app on my iPhone and iPad...this code works. But when i try and open the swf on my desktop the app crashes...I get Error#1065:Variable flash.media::AudioPlaybackMode is not defined
I have a feeling this is the cause for my app to be rejected from apple...
Anybody else have this problem? How can I fix this?
Copy link to clipboard
Copied
whenever you get an apple reject, make sure you're using the latest air sdk.
as of today, you should be using air 18.0.0.199. Archived Adobe AIR SDK versions
Copy link to clipboard
Copied
Im using the air 18.0.0.199....maybe i didn't install properly....thank you for your quick response .....
Copy link to clipboard
Copied
I uninstalled Air 18.0.0.199 and reinstalled it....i followed the directions on uninstall and install from the link u sent me...still flash file does not recognize "AudioPlaybackMode" in my flash file. I even reinstalled and updated my flash program....I just don't see why i can't use the AudioPlaybackMode feature..
Im going crazy!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now