First of all, we need to say that some style attributes of flex sdk3.0 version and sdk4.* version Panel are different. For example, headerHeight does not exist when it is in flex4, so we will not explain it in detail here.
First: Remove the Panel's title:
The code is as follows:
= 0;//myPanel is the id of Panel
I put this statement in the creationcomplete of the application or module, which can be implemented. The effects are as follows:
Don't doubt it is indeed a panel, but there is no title part.
Secondly: Setting transparency is also a long-winded statement. Everyone knows it, but let’s mention it.
The code is as follows:
= false;//Set the title is completely transparent.
Set the previous effect
Effect after setting
First: Remove the Panel's title:
The code is as follows:
Copy the codeThe code is as follows:
= 0;//myPanel is the id of Panel
I put this statement in the creationcomplete of the application or module, which can be implemented. The effects are as follows:
Don't doubt it is indeed a panel, but there is no title part.
Secondly: Setting transparency is also a long-winded statement. Everyone knows it, but let’s mention it.
The code is as follows:
Copy the codeThe code is as follows:
= false;//Set the title is completely transparent.
Set the previous effect
Effect after setting