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>