openfl-samples icon indicating copy to clipboard operation
openfl-samples copied to clipboard

[C#] After pausing sound, I can't click background anymore in PlayingSound example on cs

Open vroad opened this issue 9 years ago • 0 comments

Actuate.tween (background, fadeOut, { alpha: 0.1 }); in line 60 somehow make background Sprite unclickable. Sprite fadeouts correctly, but becomes unclickable after finishing fadeout. background.alpha = 0.1; does not make background unclickable, so there might be some issue in actuate library.

As of lime 3.4.1 sound does not play on cs, because of a bug in AudioBuffer.fromFile, but I think this should be discussed in other issues.

https://github.com/openfl/openfl-samples/blob/66bd07b8ca3e82130643ca7f6455bdad6fe2fe8a/features/media/PlayingSound/Source/Main.hx#L60

vroad avatar Nov 11 '16 06:11 vroad