two7s_clash
two7s_clash

Reputation: 5827

Fixing Flash error 1046 against SoundEvent

I'm trying publish an old .fla (I'm not the author) after doing some minor graphical edits, but the complier is reporting:

1046: Type was not found or was not a compile-time constant: SoundEvent.

The source it points me to is:

private function volumeHandler(evt:SoundEvent):void { this.soundTransform = evt.soundTransform; }

Here is the sum of the source: http://snipplr.com/view/79370/fixing-flash-error-1046-against-soundevent/

I'm a little over my head here, any help would be appreciated. I found this thread and monkied around with some of the suggestions there to no avail.

Upvotes: 0

Views: 76

Answers (1)

oto lolua
oto lolua

Reputation: 499

import fl.video.SoundEvent; is not defined in sdk... I think you use some library and it's not imported in your project...

Upvotes: 1

Related Questions