Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What does Flex have to do with Flash?

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the relationship between Flex and Flash, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Introduction to AdobeFlex

Flex usually refers to AdobeFlex, which was first released by Macromedia in March 2004. based on its proprietary MacromediaFlash platform, it is a series of technology combinations that support the development and deployment of RIA (RichInternetApplications). Another meaning of Flex is a tool that generates scanners that can recognize lexical patterns in text.

MacromediaFlash is a powerful vector animation editing tool. After doing animation, Flash has been seeking the dominant position of RIA (richinternetapplication) rich client. The most influential thing is that it has launched an object-oriented programming script ActionScript3.0, and established a class library similar to javaswing and the corresponding component (components). Flex interprets .mxml files to organize components and generate corresponding .swf files through non-Flash channels such as java or. Net. Flex's component is similar to flash's component, but it has been improved and enhanced. At present, Macromedia has been acquired by ADOBE. The current (October 2008) Flex version is 3.0. (now it is 4.0 (2010))

The effect of Flex can be achieved by using Flash, so why do you need Flex? There are two reasons:

1: to cater to more developers (developers). Flash is born for designer (designer) design, the interface and flash animation concept and program developers do not fit in, in order to attract more programmers such as jsp/asp/php, Macromedia launched Flex, using a very simple .mxml to describe the interface for jsp/asp/php programmers to use. (XUnid) html is very similar, and mxml is more standardized and standardized.

2: for a standard. You must have heard of the first generation of Microsoft operating system longhorn (that is, vista, and the subsequent win7 is also the same core). When longhorn was launched, Microsoft also launched a new language xaml, an interface description language, which corresponds to something very similar between smartclient and Flex (that is, SilverLight). Mxml and Xaml are also very similar. This is an important embodiment of the progress of human-computer interaction technology, that is, the internal logic and external interface are separated from each other.

Flex has nothing to do with j2ee/.net. Macromedia uses java to create an application that integrates flash technology into J2EE, and then uses .net technology to create a .net application that integrates flash technology into .net. It should be said that Flex solves the most cumbersome problem in J2EE and .net, that is, the web client problem.

The relationship between Flex and Flash

First of all, what I want to say here is that Flash is not just a simple vector animation creation tool, but a web application development tool that is constantly evolving in function and positioning by virtue of the scripting language ActionScript. As early as FlashMX, it has become a tool for macroemdia to promote RIA strategy. But after all, the original positioning of Flash is a vector animation creation tool for art animation designers, which is not suitable for traditional developers. As a result, Flex has become a * for developers.

Both FLASHFlex and Flash use ActionScript as their core programming language and are compiled into swf files to run in the Flashplayer virtual machine. Therefore, Flex also inherits the inherent beauty of Flash in the presentation layer, in addition to visual comfort, but also born with convenient vector graphics, animation and media processing interface.

Although Flex and Flash have many similarities, there are still many differences:

1. Despite the public ActionScript, the libraries used are not exactly the same, and it is more appropriate to say that the two use two sets of libraries with a large "functional overlap" scope.

2.Flash is biased towards art animators, so it is easier to give play to the advantages of special effects, while Flex is biased towards developers, so it is easy to make applications with rich interactive functions.

3.Flash can only be developed in the form of ActionScript scripts (the stage is associated with a class called documentclass), and stage elements can also be bound to scripts, but this is not recommended from a software engineering point of view. Flex can also use a markup language called mxml to describe the appearance and behavior of applications, and ActionScript scripts can be directly embedded in mxml.

4. Due to the difference in market positioning caused by the third point, Flex is for enterprise-level network applications, while Flash is for multimedia display programs such as graphic animation and advertising design.

5. Mobile applications can be developed with the help of FlashLite, the Flashplayer,Flash on mobile devices, but not Flex.

6.Flash 's programming model is based on the timeline, while Flex's is based on forms, although it runs in a web page.

Thank you for reading this article carefully. I hope the article "what is the relationship between Flex and Flash" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report