Get the App
SLTechnology News&Howtos  ›  Development  › 

Example Analysis of the interaction between Flex and Html

Shulou Source: shulou.com Published: 2022-06-02 08:04:16 11月12日 Update

This article shares with you the content of a sample analysis of the interaction between Flex and Html. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Interaction between Flex and Html

Flex for ◆ Flex and Html interaction is embedded into Html:

With swfobject, download .js address: http://www.adobe.com/devnet/activecontent/articles/devletter.Html

Embed this script file in the header area of your Html page:

Write a container in your Html that holds the Flash, for example, and give a random id such as flashcontent. Then put your replacement content in it.

Viewplaincopytoclipboardprint?

The replacement content is put here to display when the Flash cannot be displayed.

The replacement content is put here to display when the Flash cannot be displayed.

Replace this with a script:

Viewplaincopytoclipboardprint?

This script can be written in Html or in an external .js file.

Html for ◆ Flex and Html interaction is embedded into Flex

Find an iframe custom class of Flex, which is easy to use. Please visit http://code.google.com/p/Flex-iframe/

First download the iframe package from the above URL

Extract and find IFrameDemo\ src\ IFrame.as

Copy it to your own src

Add xmlns:local= "*" (local) to the mxml you need

Xml code

Where ◆ needs to be used

Xml code

Source is the web page url that needs to be referenced.

Thank you for reading! This is the end of the article on "sample Analysis of the interaction between Flex and Html". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Content scripts examples analysis code files more articles time display good practical address place header container that is articles look knowledge URL Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB NVidia Xiaomi Shulou Technology Apple