CanvasUI

Soma bugs report.

CanvasUI

Postby Scott Blackburn on Mon Nov 23, 2009 12:45 pm

It appears that when layoutScrollBars are set to false when creating an instance of CanvasUI I get an error:

Code: Select all
CanvasUI(widthLayout:Number = 100, heightLayout:Number = 100, layoutScrollbar:Boolean = false, layoutMask:Boolean = true)


Is there another way to turn off the ScrollBars?

Thanks,

Scott
Scott Blackburn
 
Posts: 34
Joined: Tue Sep 01, 2009 4:36 pm

Re: CanvasUI

Postby romu on Mon Nov 23, 2009 2:04 pm

you're using "new" CanvasUI right?

it should just work, can you paste the error here?

Romu
romu
Site Admin
 
Posts: 195
Joined: Thu Sep 11, 2008 10:01 am

Re: CanvasUI

Postby Scott Blackburn on Mon Nov 23, 2009 7:56 pm

Hi Romu,

I found the problem I had a pane assigned to the canvasUi:

Code: Select all
_pane = _canvas.scrollPane


So I received an error when I was trying to turn scrolling off when declaring the instance.

SomaCore sounds great by the way.

Thanks again.
Scott Blackburn
 
Posts: 34
Joined: Tue Sep 01, 2009 4:36 pm


Return to Bugs Report

Who is online

Users browsing this forum: No registered users and 1 guest

cron