I can't imagine that would be the problem - SampleDataEvent is in SDK 3.0, 3.1, 
3.2 and 3.3 (At least, according to the manuals for each).

--- In [email protected], "flexcoder99" <haritha.moos...@...> wrote:
>
> Check the Flex SDK used.
> 
> --- In [email protected], "valdhor" <valdhorlists@> wrote:
> >
> > Maybe clean the project?
> > 
> > 
> > --- In [email protected], Aaron Hardy <aaronius9er@> wrote:
> > >
> > > Hey everyone.  A couple months ago I worked on an AIR project where we 
> > > made
> > > use of the SampleDataEvent class to generate dynamic audio.  Today I came
> > > back to the project and ran it and am getting the following run-time 
> > > error:
> > > 
> > > ReferenceError: Error #1065: Variable SampleDataEvent is not defined.
> > > 
> > > It is thrown in the first instance where we are referencing the
> > > SampleDataEvent class:
> > > 
> > > addEventListener(SampleDataEvent.SAMPLE_DATA, sampleDataRequestHandler);
> > > 
> > > I get no compile-time error.  I have an import statement of import
> > > flash.events.SampleDataEvent;  The project does reference other libraries
> > > and I have made sure they are all using the same SDK (I've tried both 3.2
> > > and 3.3), however they do have SWCs in them that may have been built using
> > > an older SDK.  My co-worker is able to run the project without any error
> > > being thrown and I have actually copied the SDKs from his machine to my
> > > machine and it hasn't made any difference.  I HAVE re-installed Flex 
> > > Builder
> > > since the last time the project worked for me.
> > > 
> > > I've tried everything I can think of to no avail.  Does anyone have any
> > > ideas of what might be going on?
> > > 
> > > Thanks!
> > > 
> > > Aaron
> > >
> >
>


Reply via email to