Does anyone know?  This would help me immensely.  

--- In [email protected], "napearson99" <[EMAIL PROTECTED]> wrote:
>
> What if the property.someValue does not exist?  How do I check if the
> reference to dataprovider[i].someValue property is null?
> 
> my dataprovider is an arraycollection and holds different objects. 
> Some objects have .someValue property and some do not.  When i try to
> step through it it doesn't like it when it expects a property but it
> is not there.
> 
> "ReferenceError: Error #1069: Property Desc not found on
> DragDrop_inlineComponent1 and there is no default value."
> 
> --- In [email protected], "Paul DeCoursey" <paul@> wrote:
> >
> > if (dataprovider[i].someValue == null){
> > ...
> > }
> > 
> > --- In [email protected], "napearson99" <napearson99@> wrote:
> > >
> > > I often get this error and I "usually" know why.  Does anyone
know how
> > > to check for a null reference?
> > > 
> > > i.e.
> > > 
> > > if (dataprovider[i].someValue is null){
> > >  dothis();
> > > }
> > > 
> > > Where dataprovider[i] does not have a someValue property.  I bet
this
> > > is pretty simple and I just don't know the syntax.  Thanks in
advance!
> > >
> >
>


Reply via email to