Skip to main content
vladimiir
Known Participant
May 18, 2023
Question

How to connect iOS AVFoundation FrameWork to Adobe Animate with Adobe Air?

  • May 18, 2023
  • 1 reply
  • 1268 views

How to connect iOS AVFoundation FrameWork to Adobe Animate with Adobe Air?

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    May 18, 2023
    vladimiir
    vladimiirAuthor
    Known Participant
    May 18, 2023

    Thanks, I already saw that.
    But there is no SWC or ANE.
    I attached the path to AIR and that's not enough.

    import flash.media.AVSpeechSynthesizer;
    import flash.media.AVSpeechUtterance;

    var synthesizer:AVSpeechSynthesizer = new AVSpeechSynthesizer();
    var utterance:AVSpeechUtterance = new AVSpeechUtterance("Hello, world!");

     

    Scéna 1, Layer 'skript', Frame 1, Line 20, Column 19 1172: Definition flash.media:AVSpeechSynthesizer could not be found.
    Scéna 1, Layer 'skript', Frame 1, Line 21, Column 19 1172: Definition flash.media:AVSpeechUtterance could not be found.

     

    Does this mean I have to program the ANE addon in xCode?

    kglad
    Community Expert
    Community Expert
    May 20, 2023

    I tried

    https://fabricemontfort.com/voice-recognition-and-speech-synthesis-in-as3-with-air/

    but it only works for Android

    for iPad reports:

    An implementation for native extension 'com.fabricemontfort.air.ezSpeech' required by the application was not found for the target platform.

     


    this looks like an ipad (to me), https://www.youtube.com/watch?v=oTcdw3IKMnE&ab_channel=BobSmolenskiWeb%26Apps