annotate nodejs/examples/scribbo/testsvg.js @ 1380:76d2aad5da35

Implement runToScene method for the Flash-like animation.
author wycc
date Wed, 23 Mar 2011 00:33:51 +0800
parents 37dc1ce76bba
children c297ceec37f2
rev   line source
1375
37dc1ce76bba Add example files for the coord_hide issue
wycc
parents:
diff changeset
1 // -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*-
37dc1ce76bba Add example files for the coord_hide issue
wycc
parents:
diff changeset
2 // vim: sw=4:ts=8:sts=4
37dc1ce76bba Add example files for the coord_hide issue
wycc
parents:
diff changeset
3 var svg = require("svg");
37dc1ce76bba Add example files for the coord_hide issue
wycc
parents:
diff changeset
4 var mbapp = require("mbapp");
37dc1ce76bba Add example files for the coord_hide issue
wycc
parents:
diff changeset
5 var sys=require("sys");
37dc1ce76bba Add example files for the coord_hide issue
wycc
parents:
diff changeset
6 var animate=require("animate");
37dc1ce76bba Add example files for the coord_hide issue
wycc
parents:
diff changeset
7 var fs = require("fs");
37dc1ce76bba Add example files for the coord_hide issue
wycc
parents:
diff changeset
8
37dc1ce76bba Add example files for the coord_hide issue
wycc
parents:
diff changeset
9 app = new mbapp.app();
37dc1ce76bba Add example files for the coord_hide issue
wycc
parents:
diff changeset
10 app.loadSVG("test.svg");
1380
76d2aad5da35 Implement runToScene method for the Flash-like animation.
wycc
parents: 1375
diff changeset
11 app.runToScene(15);
1375
37dc1ce76bba Add example files for the coord_hide issue
wycc
parents:
diff changeset
12 app.loop();
37dc1ce76bba Add example files for the coord_hide issue
wycc
parents:
diff changeset
13
37dc1ce76bba Add example files for the coord_hide issue
wycc
parents:
diff changeset
14