With the advent of the Flex development framework, developers can finally create the rich web-based, platform-independent applications they 've always wanted. such applications typically require data integration, which is necessary for any use case that requires keeping track of users, conducting authentication, or saving a user's data. you can use local data storage, but without the persistence and centralization brought by client-server communicatio
PHP communicates with Flex through AMF, and I debug the discovery that, as long as there is a date () function, Flex returns an error
a.php
Class Edit_img{ function Gmtime () { $temp = Date (' Z '); return $temp; }
}
?>
This PHP communicates with the flex through AMF, and I debug to find out that as long as there is a date () function,
First, the release target is the independent Flashplayer player.Scaling and alignment modes are similar to Flex 4 desktop projects in many places.Specify the window content area (stage) size for flashplayer by using [SWF (WIDTH=XXX,HEIGHT=XXX)] metadata in Fx:metadata, or by adding-default-size xxx xxx to the compiler parameter. The default size of the stage is still 500x375.When ScaleMode is Noscale, the stage size and application size change as the
Believe it or not, my first flex job had nothing to do with even 1% of rich Internet application. It wasPrint multiple pages in flex.
I know what you are thinking right now. Why shoshould I care printing in flex? Is flex supposed to be used for creating cool stuffs rather than this kind of low-level system function?
clean up the lower additional spaceEnd scaling project to clean up extra space with bottom baseCenter scaling project is centered on the middle and cleans up the upper and lower spaces on averageBaseline scaling project to clean up additional space based on baselineStretch Telescopic project fills the entire container, default5.box-flexThe Box-flex property can use floating-point numbers to distribute scaling itemsSet the proportions that each scalin
After learning the flash event mechanism, we began to learn three communication methods in flex and Java. FLEX can communicate with Java in three ways:
● Flex accesses Java common classes using the remoteobject method, which is also the most commonly used method.
● Flex uses httpservice to access Java Server classes
Today, the third method of communication between flex and Java is finally completed. I didn't figure it out because I don't know how to create a WebService. The free weather forecast service is used on the Internet. All right, you just want to learn this communication style for weather forecast, but I am not sure. Fortunately, we finally got it out today.
We know that flex and Java have three communication
After recent speculation, Flex is still very useful and solves the difficulties that have plagued my web development front-end for a long time. Its AMF communication protocol uses binary stream to transmit data based on HTTP, high efficiency. Combined with blazeds and Ro, It is very convenient to Implement Asynchronous HTTP Communication Between the frontend and the backend. The standard port 80 is nice. The only unpleasant thing is that it takes some
When I did something yesterday, I found that flex and Java could not communicate well with remoteobject. I thought there was a problem with the endpoint path, but no problem was found after careful troubleshooting. "404" error always prompted:
Later, I checked the error message output on the console and found that struts2 was integrated. Therefore, struts2 blocked the request:
There is no Action mapped for namespace/messagebroker and action name
Flex uploads files and flex uploads
I wrote a jsp page using ajaxFileUpload to upload files a few days ago. Now I share the flex upload page as well:
Front-end page
As:
Var file: FileReference = fileList. getItemAt (I) as FileReference; var request: URLRequest = new URLRequest ("s/upload/uploadFile"); request. data = new URLVariables (); request. data. orderRed
Real Flex pages. One page can be reused multiple times and multiple flex pages can be reused.
After the check box is added to the datagrid In Flex, the number of rows on the last page is not enough, but the check box is still there. How can I remove it?
Well, you did. I tested it this time.Because there are not all the code, I copied the code above and deleted
SystemManager:
Systemmanager is the controller of the Flex application, which controls the application window, application instances, pop-ups, and cursors, and manages classes in the Applicationdomain. Systemmanager is the first class instantiated by Flashplayer, which stores the size and position information of the main window, preserving its subcomponents, such as the traces of a floating pop-up window and modal windows. Embedded fonts, styles, and
This article briefly describes the functional extension of DataGrid and other controls using labelfield \ labelfunction and other attributes, and demonstrates the use of data structures such as array, arraylist, and arraycollection as data effects and their performance in mxml and ActionScript. form and Their Derivative functions are enhanced, it is intended to explain that there is a certain way of learning and using between controls, data types, and even between mxml and ActionScript.
See http://www.k-zone.cn/zblog/post/flash-builder-gumbo-customer-sparkskin-3.html for details
Through the last two articles, we can draw a conclusion: it is very easy to set the skin of spark components using sparkskin and skin. If the same effect is set in flex SDK 3, it will be very troublesome.
Flex SDK 4 (gumbo) is known to have two sets of components: the spark component and the halo component. Since s
Recently, there is a need to play an introductory video in the website, so I did a demo with Flex to play video. Video playback of the code is previously found on the Internet, but from the HTML page to get the video address when the parameter transfer problem wasted a lot of time, is summarized as follows:
Receiving parameters in Flex is simple, by FlexGlobals.topLevelApplication.parameters or directly usi
Sometimes flex needs to interact with external containers, such as interacting with other projects and calling external data, it can be implemented through externalinterface. After all, the flex version is still relatively "young" and is not perfect in some places. It must be implemented by external forces.
The externalinterface class is an external API, which is an application programming interface that i
Process introduction of mate flex framework: one-way communication
Introduction to the process of mate flex framework-two-way communication
Introduction to mate flex Framework process-Introduction to listener tagmate flex Framework process-using an adapter
One-way communication about the process of the mate
There are many improvements to the flex SDK and components in flex3, and many new classes/components/functions are added. for example, advanceddatagrid, new collection class, deep Link Interface (browsermanager), Resource Package, dynamic localization, and support for the flex component kit for flash cs3. these new functions enhance the integration with Ajax, provides advanced visual effects and complex res
I didn't understand how Flex was connected to the database when I first started to use flex1.5. Although I knew there were three methods, I still didn't understand it. This problem gave me a headache for a long time, then I finally realized it. Today, I wrote a tutorial on how to use remoteobject In Flex to connect to the database using Java objects. I don't need to read it for beginners.
First, make a not
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.