Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
May 17, 2023 May 17, 2023

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

1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 18, 2023 May 18, 2023
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 18, 2023 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.

as3setting.png

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 18, 2023 May 18, 2023

you have the air sdk?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 18, 2023 May 18, 2023

I have

Full AIR SDK with new ActionScript Compiler: AIR SDK for MacOS - (50.2.2.5)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 18, 2023 May 18, 2023

then add the sdk

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 18, 2023 May 18, 2023

I already had that Manage Adobe AIR SDK

sdk.png

(is it this?)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 18, 2023 May 18, 2023

that looks like the standard air sdk (that doesn't include avfoundation).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 18, 2023 May 18, 2023

I have this

https://airsdk.harman.com/api/versions/50.2.2.5/sdks/AIRSDK_MacOS.zip?id=12868


and inside is

lib aot stub AVFoundation.framework

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 18, 2023 May 18, 2023

why do you have flash.media.avsynthesizer?  

 

is that an adobe class?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 18, 2023 May 18, 2023

That's how it was suggested to me.
I just pasted this code:
import flash.media.AVSpeechSynthesizer;
import flash.media.AVSpeechUtterance;

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 19, 2023 May 19, 2023

avspeechsynthesizer is not part of adobe's api.  it's an apple api.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 19, 2023 May 19, 2023

So I have to program the ANE addon in xCode?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 19, 2023 May 19, 2023

i would think that would be the easiest way.  you could look for an as3 implementation, but i doubt one exists for avspeechsynthesizer.

 

why don't you use an as3 speech synthesizer?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 19, 2023 May 19, 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.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 19, 2023 May 19, 2023
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 19, 2023 May 19, 2023

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 19, 2023 May 19, 2023

did you get it working?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 20, 2023 May 20, 2023

No, I gave up.

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 20, 2023 May 20, 2023

Finally it was done.
I generated the ipa in Adobe Animate
instead of a script in the terminal.

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2023 May 20, 2023
LATEST

you're welcome.

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