flunardelli / efflex

Automatically exported from code.google.com/p/efflex
0 stars 0 forks source link

Unable to Compile: "component MotionPath is defined more than once in this namespace." #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In trying to compile my application, I see a few errors shown in 
compilation:

"Error: component MotionPath is defined more than once in this namespace. 
Remove the mapping to spark.effects:MotionPath or 
spark.effects.animation:MotionPath"
"Error: component SimpleMotionPath is defined more than once in this 
namespace. Remove the mapping to spark.effects.animation:SimpleMotionPath 
or spark.effects:SimpleMotionPath"

I'm compiling with Flex 4.0.0.13XXX. If I could check out the project (all 
that is available currently is the AS files, no build scripts or anything) 
and change the source myself and compile it, I would, but I can't. 

The actual SWC file packs a lot of other libraries in with it, including 
PaperVision3D, spark.effects.*, mx.core.*, mx.graphics.*, 
org.flintparticles.*, spark.core.*, spark.effects.* etc. I would be glad to 
patch the library, if I could get access to all of the sources :)

Original issue reported on code.google.com by rfkroc...@gmail.com on 18 Feb 2010 at 6:58

GoogleCodeExporter commented 9 years ago
I am also experiencing this. Any chance a fix is on the way?

Original comment by adam.d...@gorillanation.com on 23 Feb 2010 at 9:05

GoogleCodeExporter commented 9 years ago
If the full project source code was published, I would be more than willing to 
fix 
these compile-time problems :) We can always hope!

Original comment by rfkroc...@gmail.com on 23 Feb 2010 at 9:23

GoogleCodeExporter commented 9 years ago
A fix would be great for this. I'm not able to get past this and use the 
library. 

Original comment by stephen....@gmail.com on 27 Jun 2010 at 7:57

GoogleCodeExporter commented 9 years ago
I have the same issue, any fix for this?

Original comment by CJBellom...@gmail.com on 16 Jul 2010 at 9:05

GoogleCodeExporter commented 9 years ago
Hi,

here is a fix :)

1. Extract the Efflex_v0.03.swc with a Zip-Programm like 7Zip. 
2. Edit the catalog.xml
3. Delete two lines:

<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. Zip the folder and name it Efflex_v0.04.swc 

Vola!

Noquarter :)

Original comment by christia...@gmail.com on 21 Jul 2010 at 9:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
um... new error... when use TileEffect,
Error: addChild() is not available in this class. Instead, use addElement() or 
modify the skin, if you have one.

how this problem to solve?

Original comment by nana090...@gmail.com on 24 Jul 2010 at 2:46

GoogleCodeExporter commented 9 years ago
Hi,

i'm not sure at the moment. Can you post your sorce. I have attached my verion 
of efflex. If you have any problems write me. christian.grube@web-grube.de

Original comment by christia...@gmail.com on 30 Jul 2010 at 11:38

Attachments:

GoogleCodeExporter commented 9 years ago
hi, christian. 

same error..addChild() is not available in this class. Instead, use 
addElement() or modify the skin, if you have one.

What should i do??.. help me..

I have sent you a message. this address : christian.grube@web-grube.de
I appreciate your reply//

Original comment by nana090...@gmail.com on 14 Aug 2010 at 2:03

GoogleCodeExporter commented 9 years ago
Thanks for the solution Christia ... @ web-grube.de

Original comment by lluucc...@gmail.com on 4 Sep 2010 at 8:20

GoogleCodeExporter commented 9 years ago
Thanks christia...@web-grube.de
worked like a charm

Original comment by jmudgl...@gmail.com on 12 Nov 2010 at 3:49

GoogleCodeExporter commented 9 years ago
instead of deleting the 2 lines, just change their paths. The MotionPath and 
SimpleMotionPath have been moved to the new package spark.effects.animation

<component className="spark.effects.animation:MotionPath" name="MotionPath" 
uri="library://ns.adobe.com/flex/spark"  />
    <component className="spark.effects.animation:SimpleMotionPath" name="SimpleMotionPath" uri="library://ns.adobe.com/flex/spark"  />

Original comment by write....@gmail.com on 21 Dec 2010 at 2:02

GoogleCodeExporter commented 9 years ago
I had this problem : "Error: component MotionPath is defined more than once in 
this namespace. 
Remove the mapping to spark.effects:MotionPath or 
spark.effects.animation:MotionPath"

I tried what you've explained but when I compile it as a lib in Flex4 it says : 
impossible to use Efflex.swc SWC :(

thx

Original comment by antoine....@gmail.com on 9 Feb 2011 at 3:18

GoogleCodeExporter commented 9 years ago
run-time error.."addChild() is not available in this class. Instead, use 
addElement() or modify the skin, if you have one." when call 
viewStackEffects:List

Using Efflex_v0.04.swc and Flex 4.1.  

Any solutions to this?

Original comment by hover6...@gmail.com on 3 Mar 2011 at 4:49