In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly shows you "what are the basic knowledge of Flex", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "what are the basic knowledge of Flex" this article.
Basic knowledge of Flex
Can 1:Flex be embedded in html?
Yes, you need to use iframe, the iframe is not well defined, but needs to be defined by yourself.
Can 2:Flex access resources in the system, such as C disk D files?
No, AIR can.
Can 3:Flex operate on files?
No, it does not have the operation of IO, it needs to call java or other languages to read and write files.
4: why is the read data Objectobject?
The data type read is Object, and it is recommended to convert it to string. If not, debug to see if there are many layers in the object, and if so, take them out in turn.
5: how do I access the parent object?
ParentApplication.
6: how to remove the scroll bar?
Bar: horizScrollPolicy= "off"
Vertical bar: verticalScrollPolicy= "off"
7: how to change the zoom size of the picture?
You can use Resize.
Example:
Can 8:Flex and swf interact with each other?
Yes, use LocalConnection.
9.Flex commonly used data exchange. Httpservice and webservice.
1. Use httpservice
{xxx} / / here are the parameters you want to pass to the background, or you can use request. (optional), and there are other ways to write it, which is 1. PrivatefunctiondoResult (evt:ResultEvent): void {/ / the data returned by the backend after this is myhttpsend}
2: use webservice
Ws generally exists as wsdl. Asmx viewing and testing methods can be directly executed in net. Java also provides a xml tool to achieve the same effect. Make sure that ws is successful and then you can start writing Flex to communicate. / / Parameter name {name} / / Parameter value privatefunctiononWs (event:ResultEvent): void {/ / get the return of ws. } FlexSite.HelloWorld.send (); / / call the HelloWorld method and use onWs to receive the return value. These are all the contents of the article "what are the basics of Flex?". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.