actionscript 3 - AS3 Air — Check a Zip to get Audio File -
i have problematic situation wish expose because contains opposites constraints. maybe have idea on how unlock problem.
i'm going make mobile application actionscript 3 , air ios , android. application has download zip file uses display text, bitmap , sound. last 1 problem.
after research, 1 of best way found check zip file fzip, allows data zip on bytearray form. , sound can't converted bytearray. ( that's lots of results appear say. )
one of solution proposed put bytearray of sound , put in swf. take swf zip sound. can't because zip uploaded admin interface used anybody. can't force them use flash.
i have few potential direction ask advices :
• use code or native extension ( ios , android ) check zip without files read in bytearray
• convert bytearray sound without have pass in swf
• dynamicly create swf bytearray of sound
• in last possibility, way drag , download few files can consulted in format bytearray ( ios bundle android )
thanks lot me,
you can write bytearray
on local mp3 (or mp4) file , play it, write bytearray
file see documentation here.
Comments
Post a Comment