Verify Error with SampleDataEvent in browser
[AS3]
import flash.events.SampleDataEvent;
var data:SampleDataEvent = new SampleDataEvent(SampleDataEvent.SAMPLE_DATA);
[/AS3]
compile it with Flex 3.6 and run local works, then run in browser, works.
compile it with Flex 4.5.1 and run local works, then run in browser, throws exception:
An ActionScript error has occurred:
VerifyError: Error #1014: Class flash.events::SampleDataEvent could not be found.
at global$init()
Is that a known Adobe bug? Are there any workarounds to it?