Error #1056

Discussions about the Thumbnail Grid component.

Error #1056

Postby atlasman on Wed Jul 28, 2010 6:22 pm

Hi David, I'm getting this error, any ideas?

ReferenceError: Error #1056: Cannot create property itemPadding on com.flashotaku.displayitem.DisplayItem.
at com.flashotaku.grid::ThumbnailGrid/updateItemProperties()
at com.flashotaku.grid::ThumbnailGrid/updateUnloadedItems()
at com.flashotaku.grid::ThumbnailGrid/draw()
at com.flashotaku.core::FlashOtakuCore/callLaterDispatcher()

Joseph
atlasman
 
Posts: 85
Joined: Fri May 22, 2009 7:32 pm

Re: Error #1056

Postby David on Wed Jul 28, 2010 9:13 pm

Hey Joseph,

That's probably caused by the fact that you're using the custom Thumbnail Grid that can have background together with another component. Is this the case?
David
Site Admin
 
Posts: 350
Joined: Tue Nov 04, 2008 4:38 pm

Re: Error #1056

Postby atlasman on Wed Jul 28, 2010 9:33 pm

How can I tell?
atlasman
 
Posts: 85
Joined: Fri May 22, 2009 7:32 pm

Re: Error #1056

Postby atlasman on Wed Jul 28, 2010 9:39 pm

DA,

I've replaced it, but now I'm getting this error:

1119: Access of possibly undefined property continueAfterError through a reference with static type com.flashotaku.grid:ThumbnailGrid.

Joseph
atlasman
 
Posts: 85
Joined: Fri May 22, 2009 7:32 pm

Re: Error #1056

Postby David on Thu Jul 29, 2010 11:38 am

You need to make sure the other components that you're using are the latest version as well. Sorry for the trouble...
David
Site Admin
 
Posts: 350
Joined: Tue Nov 04, 2008 4:38 pm

Re: Error #1056

Postby atlasman on Thu Jul 29, 2010 2:00 pm

Thanks David, I'm now using the latest.

I now have a new problem.

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at CWRSelector_fla::MainTimeline/loadItemsComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.flashotaku.grid::ThumbnailGrid/loadItems()
at com.flashotaku.grid::ThumbnailGrid/completeHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.flashotaku.displayitem::DisplayItem/completeHandler()

Any insight?
Joseph
atlasman
 
Posts: 85
Joined: Fri May 22, 2009 7:32 pm

Re: Error #1056

Postby David on Thu Jul 29, 2010 3:56 pm

This error is generated by some of the code you have in the FLA, inside the loadItemsComplete function.
David
Site Admin
 
Posts: 350
Joined: Tue Nov 04, 2008 4:38 pm

Re: Error #1056

Postby atlasman on Thu Jul 29, 2010 4:19 pm

Here's the code:

function loadItemsComplete(event:GridEvent):void {
vidConnection.connect(rtmpAp); // connect to the FMS
vidConnection.addEventListener(NetStatusEvent.NET_STATUS, vidConnectionHandler);

vidStream.soundTransform = volumeTransform;
volumeTransform.volume = 5;
vidStream.soundTransform = volumeTransform;

vidStream.bufferTime=50;
}
atlasman
 
Posts: 85
Joined: Fri May 22, 2009 7:32 pm

Re: Error #1056

Postby David on Thu Jul 29, 2010 4:29 pm

well, one or more of the objects you reference there is null. I suggest you use some traces: trace(vidConnection, vidStream, volumeTransform)
David
Site Admin
 
Posts: 350
Joined: Tue Nov 04, 2008 4:38 pm

Re: Error #1056

Postby atlasman on Thu Jul 29, 2010 4:36 pm

Thanks David.
atlasman
 
Posts: 85
Joined: Fri May 22, 2009 7:32 pm


Return to Thumbnail Grid

Who is online

Users browsing this forum: No registered users and 1 guest

cron