Solution: flex4 uses efflex_v0.03.swc (fx4/fp10) to define the motionpath ......

Source: Internet
Author: User

Original article: http://hi.baidu.com/mhl29/item/626ea382bec5d1cdee083de1

Problem:

The simplemotionpath component is defined multiple times in the namespace. Delete the ing to spark. effects. Animation: simplemotionpath or spark. Effects: simplemotionpath.

 

Description:

An error is reported when flex4 uses efflex_v0.03.swc (fx4/fp10.

 

Solution:

1. Decompress efflex_v0.03.swc;

2. Edit the catalog. xml file;

3. Delete the following two rows:

<Component classname = "spark. Effects: motionpath" name = "motionpath" uri = "Library: // ns.adobe.com/flex/spark"/>

<Component classname = "spark. Effects: simplemotionpath" name = "simplemotionpath" uri = "Library: // ns.adobe.com/flex/spark"/>

4. Save;

5. Compress and name it efflex_v0.04.swc vola!

 

 

The above is the official solution, web site: http://code.google.com/p/efflex/issues/detail? Id = 23

If you want to be faster, directly download the attachment on the above website,

Efflex_v0.04.swc 
852 KB download

Note:

As shown below, using navigatorcontent does not work. You can change it to an MX component, such as canvas.

<Mx: viewstack id = "vs">

<S: navigatorcontent
Label = "desktop 1" width = "100%" Height = "100%" hideeffect = "effect"
Showeffect = "effect" backgroundcolor = "0x94b2b8"/>

<S: navigatorcontent
Label = "desktop 1" width = "100%" Height = "100%" hideeffect = "effect"
Showeffect = "effect" backgroundcolor = "0x94b2b8"/>

</MX: viewstack>

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.