diff --git a/graphics/fire.ani b/graphics/fire.ani
index 38a75d2..e851bce 100644
--- a/graphics/fire.ani
+++ b/graphics/fire.ani
@@ -1,11 +1,11 @@
-terrain@0,896
-terrain@0,912
-terrain@0,928
-terrain@0,944
-terrain@0,960
-terrain@0,976
-terrain@0,992
-terrain@0,1008
+
+
+
+
+
+
+
+
diff --git a/graphics/fountain.ani b/graphics/fountain.ani
index 3877351..03eb5d5 100644
--- a/graphics/fountain.ani
+++ b/graphics/fountain.ani
@@ -1,7 +1,7 @@
-misc_animation@0,208
-misc_animation@0,224
-misc_animation@0,240
-misc_animation@0,256
+
+
+
+
diff --git a/graphics/nuclear-swirl.ani b/graphics/nuclear-swirl.ani
index b605846..d2b5187 100644
--- a/graphics/nuclear-swirl.ani
+++ b/graphics/nuclear-swirl.ani
@@ -1,7 +1,7 @@
-misc_animation@0,2000
-misc_animation@0,2016
-misc_animation@0,2032
-misc_animation@0,2048
+
+
+
+
diff --git a/graphics/radar.ani b/graphics/radar.ani
index 802f364..c8ba6d2 100644
--- a/graphics/radar.ani
+++ b/graphics/radar.ani
@@ -1,11 +1,11 @@
-misc_animation@0,80
-misc_animation@0,96
-misc_animation@0,112
-misc_animation@0,128
-misc_animation@0,144
-misc_animation@0,160
-misc_animation@0,176
-misc_animation@0,192
+
+
+
+
+
+
+
+
diff --git a/graphics/stadium_animation.ani b/graphics/stadium_animation.ani
index b60f404..e8804a7 100644
--- a/graphics/stadium_animation.ani
+++ b/graphics/stadium_animation.ani
@@ -1,11 +1,11 @@
-stadium_animation_gfx@0,0
-stadium_animation_gfx@16,0
-stadium_animation_gfx@32,0
-stadium_animation_gfx@48,0
-stadium_animation_gfx@64,0
-stadium_animation_gfx@80,0
-stadium_animation_gfx@96,0
-stadium_animation_gfx@112,0
+
+
+
+
+
+
+
+
diff --git a/src/micropolisj/graphics/Animation.java b/src/micropolisj/graphics/Animation.java
index 818c038..e0a3ccc 100644
--- a/src/micropolisj/graphics/Animation.java
+++ b/src/micropolisj/graphics/Animation.java
@@ -71,15 +71,7 @@ public class Animation extends TileImage
String tmp = in.getAttributeValue(null, "duration");
int duration = tmp != null ? Integer.parseInt(tmp) : DEFAULT_DURATION;
- String text = in.getElementText();
- TileImage frameImage;
- try {
- frameImage = ctx.parseFrameSpec(text);
- }
- catch (IOException e) {
- throw new XMLStreamException("Unable to load frame image: "+text, e);
- }
-
+ TileImage frameImage = TileImage.readTileImageM(in, ctx);
addFrame( frameImage, duration );
}
else {