[Mugeda HTML5 technical tutorial 10] published content

Source: Internet
Author: User

After an animated file is created, it must be used. How to publish it to the desired position is also a matter of concern to the animation maker. This section describes how to publish the animated content to the desired place. There are three possible use cases for the prepared content: direct export, publish to Mugeda CDN, and upload to your own or a third-party server.

 

Export the data to your local disk and deploy it elsewhere. Click the export button on the toolbar or click File \ export \ animation in the menu bar to download the ZIP File of the animation package to your local device. After decompression, the folder of the animation package is displayed. Then you can deploy it elsewhere.

 

 

The content of the animation package varies depending on the animation content. There are two main types of scripts based on whether an animation is used.

Package Type 1: Applicable to the animation content that you have created a script or has animation control (including frame jump, such as gotoAndPlay, gotoAndPause, next frame, and previous frame. Such Package content includes resource files (images), animated data, user-created scripts, HTML files (for browsing or iframe-based tags) and Loader are used for script tags and Mugeda public library files.

Package Type 2: Suitable for normal Mugeda animation content that users do not have to create scripts, or that simple animations control except frame jump (for example, pause or play. Such Package content includes resource files, CSS style files (only one file matching the browser type will be transmitted and used), HTML files, loader file (used based on script tags), and the public library file of Mugeda.

To export and deploy Mugeda content, follow these steps:

• Export content packages

• Upload the entire package and get the URL of the upload path, such as the http://www.server.com/path/

• Create script-based or iframe-based ad labels


Script-based ad labels are as follows,



Iframe-based ad labels are as follows,

<Iframe

Src = "http://www.server.com/path/index.html? Key1 = value1 & key2 = value2 & mugeda_click_link = % ELINK % "width =" 320 "height =" 50 "marginwidth =" 0 "marginheight =" 0 "frameborder =" 0 "scrolling = "no">

</Iframe>


Steps for publishing to Mugeda CDN:

• Publish and deploy an idea to Mugeda CDN

• Obtain the URL on the Mugeda CDN to create a script or iframe advertisement tag

For more details about how to publish to Mugeda CDN, contact Mugeda.


Steps for uploading data to a third-party server

• The exported Mugeda content package can be uploaded to the desired server and an advertisement tag can be created using a URL.

• Optional: for white-label customers, you can directly upload the package to the specified server according to the protocol Mugeda.

For more details about uploading data to a third-party server, contact Mugeda.


In summary, there are three methods to publish a good mugeda file: direct export and deployment; publishing to Mugeda CDN; uploading to your own or a third-party server. For these three methods, you can choose the method that suits your needs. In the next section, we will describe the Mugeda API. You can use the mugtings API to write script code to control animations to implement complex animations.

 

Related Article

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.