It could have something to do with TextArea's contentBackgroundColor/Alpha. Try playing around with those. Or try in your TitleWindowSkin to include the background image in all states.
Thank you Kevinklee for the quick answer =)
Changing the TextArea's background alfa brings to nothing =\
But I saw a change when I applied the image component of my skin in all the states
Here is the new skin code (yellow line is the edited part)
The change I see is this: now I can't see my image in Design mode as well and in all the states of my TitleWindow
In the skin design mode anyway I can see my image. Now what I have to do to make it visible everywhere?
I've tried making the skin from scratch again.
And everything went well, but when I run the code, in the moment I try to open my panel I got the error "Undefined state 'inactive' "
and this is true. There is no state "inactive" in my skin, but this is because my base skin (which is spark.components.SkinnableContainer) does not have that state!
I can obviously add one my self but.......... here comes the problem of the blank skin when applied on a component =\
And I stated that blank skin = problems in skin definition
what to do? what am I doing wrong?
Thanks for your patience. Is it possible to see your new skin you made from scratch? While I take a look at that, try creating your skin from the TitleWindowSkin instead of the SkinnableContainerSkin. That will give you all the states that TitleWindow has. You don't have to use them though. This is just to try and isolate the problem.
Also, you could try replacing the hardcoded x, y, width, and height values on the image and replace it with just width=100%, height=100%. This shouldn't change anything, but it'll simplify things.
Once you try all this, if it still doesn't work, repost your code and I'll have another look.
Here is the skin made from scratch
(I had to make it again... and now it doesn't seem to work anymore.... but I'm SURE it was like that before as well)
Anyway I've already tried the TitleWindowSkin way. It has lots of things I don't need and removing them takes to strange behaviours. I haven't put much attention in editing it though, so I will retry and give feedback =)
Skin looks good to me. Has your other code changed any?
No... haven't changed anything except for the skin =(