Compile Error..
Monkey Targets Forums/Flash/Compile Error..
| ||
I'm getting the following compile error when trying to build the Monkey Samples under flash..Translating horsey C:/Users/Administrator/Desktop/MonkeyPro40/bin/trans_winnt -config=release -target=flash -run C:/Users/Administrator/Desktop/MonkeyPro40/bananas/warpy/horsey/horsey.monkey TRANS monkey compiler V1.13 Parsing... Semanting... Translating... Building... Loading configuration file C:\flex_sdk\frameworks\flex-config.xml C:\Users\Administrator\Desktop\MonkeyPro40\bananas\warpy\horsey\horsey.build\flash\MonkeyGame.as(88): col: 19 Error: A conflict exists with definition _2bg in namespace internal. public static var _2bg:Class; ^ TRANS Failed to execute 'mxmlc -static-link-runtime-shared-libraries=true MonkeyGame.as', return code=1 Process Complete Any reasons why? |
| ||
Breaks for me, too. Seems Monkey has a lot of problems, still. The problem is because the resources are named the same, as shown here in the actionscript: final class Assets{ //${ASSETS_BEGIN} [Embed(source="data/bg.mp3")] public static var _2bg:Class; [Embed(source="data/bg.png")] public static var _2bg:Class; [Embed(source="data/clop1.mp3")] public static var _5clop1:Class; [Embed(source="data/clop2.mp3")] public static var _5clop2:Class; [Embed(source="data/clop3.mp3")] public static var _5clop3:Class; [Embed(source="data/fg.png")] public static var _2fg:Class; [Embed(source="data/horse.png")] public static var _5horse:Class; [Embed(source="data/mojo_font.png")] public static var _9mojo_font:Class; [Embed(source="data/neigh.mp3")] public static var _5neigh:Class; //${ASSETS_END} } It's a bug. |