In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Hybrid mode how to achieve Flex4 interface style, many novices are not very clear about this, in order to help you solve this problem, the following small series will explain in detail for everyone, there are people who need this to learn, I hope you can gain something.
TWaverFlex supports SDK4, Flex4 adds Spark interface style, you can choose only halo mode (MXonly), you can also choose mixed mode (MX+Spark), if only MXonly mode and FlexSDK3 is completely no different.
Flex4 If you use mixed mode, you need to make the following settings:
1. When init is initialized, you need to set the default network background parameters of the two TWavers. Otherwise, the background is empty and the interaction cannot be selected.
Defaults.NETWORK_BACKGROUND_ALPHA=0;
Defaults.NETWORK_BACKGROUND_COLOR=0xFF0000;
2. Some parameters of TWaver demo can be simply deleted, because Flex4 changes the style attribute names of a small number of components, such as the following parameters
borderThickness becomes borderVisibility and Canturnborderonandoffonly
dropShadowEnabled becomes dropShadowVisible
BackgroundAlpha becomes contentBackgroundAlpha
BackgroundColor becomes contentBackgroundColor
For details, please refer to the following link: opensource.adobe.com/wiki/display/flexsdk/More+Styles+for+Spark+Skins
3. If you need to zoom the label font in the CloundLayout navigation in the lower left corner of the TWaver product demo, you need to add the embedAsCFF='false' parameter of Flex4 [Embed(source='Helvetica. ttf',
fontName="demoFont",
advancedAntiAliasing="false",
mimeType="application/x-font",
embedAsCFF='false')\]
TWaver package twaver.swc fully supports Flex3 and Flex4 development environments, using MX+Spark hybrid mode Note the above three points.
Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.