In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.