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
  • 1267 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 18, 2023

    you have the air sdk?