ReferenceError: #1056

Discussions about the Thumbnail Scroller component.

ReferenceError: #1056

Postby atlasman on Mon Jun 28, 2010 12:44 pm

Hi David,

I'm using a number of components—Slideshow, Carousel and ThumbnailGrid. I've created a new Flash document with just the grid and entering the xlm path directly to the component property and it works. But in context with the other components, I get the following error:

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()

Can you shed some light on this?

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

Re: ReferenceError: #1056

Postby David on Mon Jun 28, 2010 1:00 pm

Hi Joseph,

That error is thrown because the Grid component that you're using is not the standard one, it's a custom version which has a few additional properties like "itemPadding". If you don't need the "itemPadding" property in this project, I recommend you use the standard version of the Grid, which you can download from your account.
David
Site Admin
 
Posts: 350
Joined: Tue Nov 04, 2008 4:38 pm

Re: ReferenceError: #1056

Postby atlasman on Mon Jun 28, 2010 1:03 pm

Thanks David.

The standard version still contains the ability to add a custom background?

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

Re: ReferenceError: #1056

Postby David on Mon Jun 28, 2010 1:23 pm

No, if you need a custom background, I'll have to recompile the components and send them to you.
David
Site Admin
 
Posts: 350
Joined: Tue Nov 04, 2008 4:38 pm

Re: ReferenceError: #1056

Postby atlasman on Mon Jun 28, 2010 1:44 pm

I am using the custom background.
atlasman
 
Posts: 85
Joined: Fri May 22, 2009 7:32 pm

Re: ReferenceError: #1056

Postby David on Mon Jun 28, 2010 4:30 pm

Great! :) It's ok if I send you the components tomorrow or you need them now?
David
Site Admin
 
Posts: 350
Joined: Tue Nov 04, 2008 4:38 pm

Re: ReferenceError: #1056

Postby atlasman on Mon Jun 28, 2010 4:58 pm

Not a problem. Thanks.
atlasman
 
Posts: 85
Joined: Fri May 22, 2009 7:32 pm


Return to Thumbnail Scroller

Who is online

Users browsing this forum: No registered users and 1 guest

cron