B4J Question CSSUtils.SetBackGroundColor error - undefined variable?

HamDog

New Member
I'm a beginner just trying to follow the tutorial. On page 219 of "B4X Getting Started V2.4" it says to add the following line:
CSSUtils.SetBackgroundColor(lblComments, fx.colors.rgb(255,235,128))

After adding the library per instruction on page 218, This line (in 3 places, actually) generates this error:

B4XMainPage - 65: Undeclared variable 'fx' is used before it was assigned any value.
B4XMainPage - 61: Undeclared variable 'fx' is used before it was assigned any value.
B4XMainPage - 38: Undeclared variable 'fx' is used before it was assigned any value.

I see no variable called "fx" in this program. Is this syntax wrong? Is there a reference for these libraries?

Doug
 
Top