[Scaleform] Prepar3D v4.1 CTD invoking sound.play()

For topics related to the creation of simulation objects (SimObjects). This includes development of aircraft, ground, and maritime vehicles.
Locked
tflyer
Posts: 14
Joined: Mon Nov 20, 2017 3:47 pm

[Scaleform] Prepar3D v4.1 CTD invoking sound.play()

Post by tflyer »

Hello,
i set up Adobe Flash for Scaleform gauge editing.
I was able to load the SoundTest.swf panel included in the example 4.1 SDK, but when it plays the sound Prepar3D crash to desktop, with no event log.
It can play the 4th option (play custom sound), but it cannot play any other option from the panel (normal play, looped, and so on).
What is the problem?
Thanks
User avatar
Rob McCarthy
Lockheed Martin
Posts: 3703
Joined: Wed Aug 24, 2011 1:37 pm

Re: [Scaleform] Prepar3D v4.1 CTD invoking sound.play()

Post by Rob McCarthy »

Hello,

Thanks for bringing this to our attention. We'll investigate the cause of the issue and report back.

Regards,
Rob McCarthy
Rob McCarthy
Prepar3D® Core Lead
tflyer
Posts: 14
Joined: Mon Nov 20, 2017 3:47 pm

Re: [Scaleform] Prepar3D v4.1 CTD invoking sound.play()

Post by tflyer »

Thanks so much!
Waiting for some informations. This is quite important to me, as I am a -small business- P3D addon's developer.
Thanks again.
User avatar
Rob McCarthy
Lockheed Martin
Posts: 3703
Joined: Wed Aug 24, 2011 1:37 pm

Re: [Scaleform] Prepar3D v4.1 CTD invoking sound.play()

Post by Rob McCarthy »

We identified the cause of the issue. A fix for this will be in our next update. In the meantime the SoundOneShot call used in option 4 should function correctly.

Regards,
Rob McCarthy
Rob McCarthy
Prepar3D® Core Lead
tflyer
Posts: 14
Joined: Mon Nov 20, 2017 3:47 pm

Re: [Scaleform] Prepar3D v4.1 CTD invoking sound.play()

Post by tflyer »

Thanks Rob, very good news.
Yes, the 4th works, but i needed the "soundloop" method.
I wait for the fix. Will the fix be in the SDK or in the P3D Client?
User avatar
Rob McCarthy
Lockheed Martin
Posts: 3703
Joined: Wed Aug 24, 2011 1:37 pm

Re: [Scaleform] Prepar3D v4.1 CTD invoking sound.play()

Post by Rob McCarthy »

It will be in the client.

Regards,
Rob McCarthy
Rob McCarthy
Prepar3D® Core Lead
Locked