Follow me Stepbystep Flex tutorial

Source: Internet
Author: User

There is one line of code in the LoadModule way of the previous lecture Demo7:

Moduleinfo = Modulemanager.getmodule ("module/multiwinmodule.swf");

This is the manager for this talk, not PM's manager, which is the manager in Flex.

The person who has studied the workflow may have a better understanding of the manager (for example, graphsession, taskmgmtsession, etc. in JBPM, which is just like, is the kind of tacit, essentially different, which means it's just a feeling, It may not be appropriate to write in the course of the tutorial Oh, hehe.

The manager in Flex has the following main issues:

1, Systemmanager (Mx.managers.SystemManager): is the application of Flex program controller, each Flex program is from the Systemmanager start;

Believe that when starting a flex application, the reader will first see a progress bar, this is the download application of the progress bar, but also the first frame of the Flex program.

When the load is complete, it enters the second frame, which is the application you see, when the program is ready to run.

Both of these frames were completed by Systemmanager. Interested readers can study, so you can make a personalized download progress bar, but the first frame as little as possible so that the application load as soon as possible;

2, Dragmanager (Mx.managers.DragManager): Management drag-and-drop action, which is one of the biggest flex features. For example: You can select a list, drag it to another component to add (this effect is demonstrated in Demo1, readers can review).

3, Sytlemanager (Mx.styles.StyleManager): Used to get and set styles for all user interface components in an instance of a component, an entire component type, or a Flash document (styles and themes are discussed in the next lecture, but as long as you're familiar with the Java EE project) ;

4, Cursormanager (Mx.managers.CursorManager): To control the cursor and can replace the cursor image;

5, Modulemanager (Mx.managers.ModuleManager): Load Management module. Combined with Imoduleinfo can dynamically load module (DEMO7 is dynamically loaded module);

6, Bindingmanager (import Mx.managers.LayoutManager): Flex's engine for measuring and layout strategies. Three stages of submission, measurement, and layout. Interested readers can study for themselves;

In addition, there are Focusmanager, Popupmanager, Historymanager and so on, here is not one to explain, we are interested in learning their own learning.

The manager is very important to learn about flex, so it's a separate story here to help you get a sense of what's on the conceptual and mental picture.

Article Source: http://wangyisong.javaeye.com/blog/380055

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.