source: subversion/applications/editors/potlatch/potlatch_assets.pl @ 34678

Last change on this file since 34678 was 19957, checked in by richard, 10 years ago

duplicate nodes stuff

File size: 88.3 KB
Line 
1
2        # **********************************************
3
4        use Math::Trig;
5
6        # ----- Export symbols
7
8        #               Empty movie-clips for prototypes
9       
10        $ec=new SWF::MovieClip(); $ec->nextFrame(); $m->addExport($ec,"way");
11        $ec=new SWF::MovieClip(); $ec->nextFrame(); $m->addExport($ec,"relation");
12        $ec=new SWF::MovieClip(); $ec->nextFrame(); $m->addExport($ec,"keyvalue");
13        $ec=new SWF::MovieClip(); $ec->nextFrame(); $m->addExport($ec,"relmember");
14        $ec=new SWF::MovieClip(); $ec->nextFrame(); $m->addExport($ec,"propwindow");
15        $ec=new SWF::MovieClip(); $ec->nextFrame(); $m->addExport($ec,"presetmenu");
16        $ec=new SWF::MovieClip(); $ec->nextFrame(); $m->addExport($ec,"menu");
17        $ec=new SWF::MovieClip(); $ec->nextFrame(); $m->addExport($ec,"checkbox");
18        $ec=new SWF::MovieClip(); $ec->nextFrame(); $m->addExport($ec,"radio");
19        $ec=new SWF::MovieClip(); $ec->nextFrame(); $m->addExport($ec,"auto");
20        $ec=new SWF::MovieClip(); $ec->nextFrame(); $m->addExport($ec,"modal");
21        $ec=new SWF::MovieClip(); $ec->nextFrame(); $m->addExport($ec,"palette");
22        $ec=new SWF::MovieClip(); $ec->nextFrame(); $m->addExport($ec,"vertical");
23
24        #               POI icons
25
26        $iconlist='';
27        opendir(DBL,"icons_dbl") or die "Can't open PNG directory: $!\n";
28        foreach $fn (sort readdir(DBL)) {
29                next unless ($fn=~/^(.+)\.dbl$/);
30                $iconlist.="$1;";
31
32                # add once as the actual POI...
33                $ec=new SWF::MovieClip();
34                $di=$ec->add(new SWF::Bitmap("icons_dbl/$fn"));
35                $di->moveTo(-8,-8);
36                $ec->nextFrame();
37                $m->addExport($ec,"poi_$1");
38
39                # ...then again for the panel (different prototype)
40                $ec=new SWF::MovieClip();
41                $di=$ec->add(new SWF::Bitmap("icons_dbl/$fn"));
42                $di->moveTo(-8,-8);
43                $ec->nextFrame();
44                $m->addExport($ec,"icon_$1");
45        }
46        closedir DBL;
47        chop $iconlist;
48
49        #               Scrollbar arrows
50       
51        $ec=new SWF::MovieClip(); $ch=new SWF::Shape();
52        $ch->setLine(20*$cw,0xCC,0xCC,0xCC);
53        $ch->setRightFill(0,0,0x8B);
54        $ch->movePenTo(0,0); $ch->drawLineTo(10,0);
55        $ch->drawLineTo(10,10); $ch->drawLineTo(0,10);
56        $ch->drawLineTo(0,0); $ec->add($ch); 
57
58        $ch=new SWF::Shape();
59        $ch->setRightFill(255,255,255);
60        $ch->movePenTo(5,2); $ch->drawLineTo(9,8);
61        $ch->drawLineTo(2,8); $ch->drawLineTo(5,2);
62        $ec->add($ch); 
63        $ec->nextFrame();
64        $m->addExport($ec,"scroll_up");
65
66        $ec=new SWF::MovieClip(); $ch=new SWF::Shape();
67        $ch->setLine(20*$cw,0xCC,0xCC,0xCC);
68        $ch->setRightFill(0,0,0x8B);
69        $ch->movePenTo(0,0); $ch->drawLineTo(10,0);
70        $ch->drawLineTo(10,10); $ch->drawLineTo(0,10);
71        $ch->drawLineTo(0,0); $ec->add($ch); 
72
73        $ch=new SWF::Shape();
74        $ch->setRightFill(255,255,255);
75        $ch->movePenTo(5,8); $ch->drawLineTo(9,2);
76        $ch->drawLineTo(2,2); $ch->drawLineTo(5,8);
77        $ec->add($ch); 
78        $ec->nextFrame();
79        $m->addExport($ec,"scroll_down");
80
81        #               Radio buttons
82       
83        $ec=new SWF::MovieClip(); $ch=new SWF::Shape();
84        $ch->setRightFill(0xBB,0xBB,0xBB); $ch->movePenTo(5,5); $ch->setLine(20*$cw,0,0,0); $ch->drawCircle(6);
85        $ec->add($ch); $ec->nextFrame(); $m->addExport($ec,"radio_off");
86
87        $ec=new SWF::MovieClip(); $ch=new SWF::Shape();
88        $ch->setRightFill(0xBB,0xBB,0xBB); $ch->movePenTo(5,5); $ch->setLine(20*$cw,0,0,0); $ch->drawCircle(6);
89        $ch->setRightFill(0   ,0   ,0   ); $ch->movePenTo(5,5); $ch->setLine(20*$cw,0,0,0); $ch->drawCircle(3);
90        $ec->add($ch); $ec->nextFrame(); $m->addExport($ec,"radio_on");
91
92        #               Whirling 'in progress' animation
93       
94        $a=3.1415926/6;
95        $ec=new SWF::MovieClip();
96        for ($i=0; $i<12; $i++) {
97                $ch=new SWF::Shape();
98                for ($j=0; $j<12; $j++) {
99                        $t=$i-$j; if ($t<0) { $t+=12; }
100                        $t=$t*15.5; $ch->setLine(50*$cw,$t,$t,$t);
101                        $ch->movePenTo(cos($j*$a)*5,sin($j*$a)*5);
102                        $ch->drawLineTo(cos($j*$a)*10,sin($j*$a)*10);
103                }
104                $ec->add($ch);
105                $ec->nextFrame(); $ec->nextFrame();
106                $ec->nextFrame(); $ec->nextFrame();
107        }
108        $m->addExport($ec,"whirl");
109
110        #               Photo
111       
112        $ec=new SWF::MovieClip();
113        $ch=new SWF::Shape();
114
115        $ch->setRightFill(127,255,127);
116        $ch->setLine(20*$cw,127,255,127);
117        $ch->movePenTo(-6,-6);
118        $ch->drawLineTo(6,-6); $ch->drawLineTo(6,6);
119        $ch->drawLineTo(-6,6); $ch->drawLineTo(-6,-6);
120        $ec->add($ch);
121
122        $ch=new SWF::Shape();
123        $ch->setRightFill(0,0,0);
124        $ch->movePenTo(-6,-6);
125        $ch->drawLineTo(6,-6); $ch->drawLineTo(6,6);
126        $ch->drawLineTo(-6,6); $ch->drawLineTo(-6,-6);
127       
128        for ($i=-5.5; $i<=3.5; $i+=3) {
129                for ($j=-5; $j<=3.5; $j+=8) {
130                        $ch->setRightFill(255,255,255);
131                        $ch->movePenTo($j,$i);
132                        $ch->drawLineTo($j,$i+2);
133                        $ch->drawLineTo($j+2,$i+2);
134                        $ch->drawLineTo($j+2,$i);
135                        $ch->drawLineTo($j,$i);
136                }
137        }
138        for ($i=-5; $i<3.5; $i+=6) {
139                $ch->setRightFill(255,255,255);
140                $ch->movePenTo(-2,$i);
141                $ch->drawLineTo(-2,$i+4);
142                $ch->drawLineTo(-2+4,$i+4);
143                $ch->drawLineTo(-2+4,$i);
144                $ch->drawLineTo(-2,$i);
145        }
146        $ec->add($ch);
147        $ec->nextFrame();
148        $m->addExport($ec,"photo");
149
150        #               POI
151       
152        $ec=new SWF::MovieClip();
153        $ch=new SWF::Shape();
154        $ch->setRightFill(0,155,0);
155        $ch->setLine(20*$cw,0,0,0);
156        $ch->drawCircle(4);
157        $ec->add($ch);
158        $ec->nextFrame();
159        $m->addExport($ec,"poi");
160
161        #               POI in way
162       
163        $ec=new SWF::MovieClip();
164        $ch=new SWF::Shape();
165        $ch->setRightFill(0,0,0);
166        $ch->setLine(20*$cw,0,0,0);
167        $ch->drawCircle(3);
168        $ec->add($ch); $ec->nextFrame();
169        $m->addExport($ec,"poiinway");
170
171        #               Anchor (pulsating dupes)
172       
173        for ($s=0; $s<2; $s++) {
174                if ($s==0) { $r=255; $b=0; }
175                          else { $r=0; $b=255; }
176                undef $last;
177                $ec=new SWF::MovieClip();
178
179                $ch=new SWF::Shape();
180                $ch->setRightFill($r,0,$b); $ch->movePenTo(-2,-2);
181                $ch->drawLine( 4,0); $ch->drawLine(0, 4);
182                $ch->drawLine(-4,0); $ch->drawLine(0,-4);
183                $ec->add($ch);
184
185                for ($i=0; $i<10; $i++) {
186                        if ($last) { $ec->remove($last); }
187                        $c=3+sin(deg2rad($i*18))*3;
188                        $c2=new SWF::Shape;
189                        $c2->setLine(40*$cw,$r,0,$b);
190                        $c2->drawCircle($c);
191                        $last=$ec->add($c2);
192
193                        $ec->nextFrame();
194                }
195                if ($s==0) { $m->addExport($ec,"anchor_dupe"); }
196                          else { $m->addExport($ec,"anchorhint_dupe"); }
197        }
198
199        #               Anchor (selected)
200
201        $ec=new SWF::MovieClip();
202        $ch=new SWF::Shape();
203        $ch->setRightFill(255,0,0); $ch->movePenTo(-2,-2);
204        $ch->drawLine( 4,0); $ch->drawLine(0, 4);
205        $ch->drawLine(-4,0); $ch->drawLine(0,-4);
206        $ec->add($ch);
207        $ec->nextFrame();
208        $m->addExport($ec,"anchor");
209
210        $ec=new SWF::MovieClip();
211        $c2=new SWF::Shape();
212        $c2->movePenTo(-3,-3);
213        $c2->setLine(20*$cw,0,0,0);
214        $c2->drawLine( 6,0); $c2->drawLine(0, 6);
215        $c2->drawLine(-6,0); $c2->drawLine(0,-6);
216        $ec->add($ch); $ec->add($c2);
217        $ec->nextFrame();
218        $m->addExport($ec,"anchor_junction");
219
220        #               Anchor (mouseover)
221
222        $ec=new SWF::MovieClip();
223        $ch=new SWF::Shape();
224        $ch->setRightFill(0,0,255); $ch->movePenTo(-2,-2);
225        $ch->drawLine( 4,0); $ch->drawLine(0, 4);
226        $ch->drawLine(-4,0); $ch->drawLine(0,-4);
227        $ec->add($ch); $ec->nextFrame();
228        $m->addExport($ec,"anchorhint");
229
230        $ec=new SWF::MovieClip();
231        $ec->add($ch); $ec->add($c2);
232        $ec->nextFrame();
233        $m->addExport($ec,"anchorhint_junction");
234
235        #               Zoom in
236
237        $ec=new SWF::MovieClip();
238        $bq=new SWF::Shape();
239        $bq->setRightFill($bq->addFill(0,0,0x8b));
240        $bq->movePenTo(0,20);
241        $bq->drawLineTo(0,10);
242        $bq->drawCurveTo(0,0,10,0);
243        $bq->drawCurveTo(20,0,20,10);
244        $bq->drawLineTo(20,20);
245        $bq->drawLineTo(0,20);
246        $bq->setLine(50*$cw,255,255,255);
247        $bq->movePenTo(5,9); $bq->drawLineTo(15,9);
248        $bq->drawLineTo(10,9); $bq->drawLineTo(10,4); $bq->drawLineTo(10,14);
249        $bq->drawLineTo(10,9); $bq->drawLineTo(5,9);
250        $ec->add($bq); $ec->nextFrame();
251        $m->addExport($ec,"zoomin");
252       
253        #               Zoom out
254
255        $ec=new SWF::MovieClip();
256        $bq=new SWF::Shape();
257        $bq->setRightFill($bq->addFill(0,0,0x8b));
258        $bq->drawLineTo(0,10);
259        $bq->drawCurveTo(0,20,10,20);
260        $bq->drawCurveTo(20,20,20,10);
261        $bq->drawLineTo(20,0);
262        $bq->drawLineTo(0,0);
263        $bq->setLine(50*$cw,255,255,255);
264        $bq->movePenTo(6,9); $bq->drawLineTo(14,9);
265        $ec->add($bq); $ec->nextFrame();
266        $m->addExport($ec,"zoomout");
267       
268        # ----- 'locked' entry
269
270        $ec=new SWF::MovieClip();
271        $s=new SWF::Shape();
272        $s->setRightFill($s->addFill(0xFF,0,0));
273        $s->movePenTo(0,0); $s->drawLineTo(182,0);
274        $s->drawLineTo(182,17); $s->drawLineTo(0,17);
275        $s->drawLineTo(0,0); $ec->add($s); 
276
277        $s=new SWF::Shape();
278        $s->movePenTo(3,-2); $s->setLine(25*$cw,255,255,255); $s->drawCircle(2);
279        $s->movePenTo(0,0); $s->setRightFill($s->addFill(255,255,255));
280        $s->drawLineTo(6,0); $s->drawLineTo(6,6);
281        $s->drawLineTo(0,6); $s->drawLineTo(0,0); 
282        $r=$ec->add($s);
283        $r->moveTo(4,7);
284       
285        $ec->nextFrame();
286        $m->addExport($ec,'locked');
287
288        # ------ exclamation sprite
289       
290        $ec=new SWF::MovieClip();
291       
292        $s=new SWF::Shape();
293        $s->setRightFill(255,0,0);
294        $s->movePenTo(20.50,19.73);
295        $s->drawCurveTo(15.70,11.43,9.91,1.39);
296        $s->drawCurveTo(8.92,-0.32,7.70,0.00);
297        $s->drawCurveTo(7.01,0.18,5.98,1.96);
298        $s->drawCurveTo(3.21,6.76,-0.40,13.01);
299        $s->drawCurveTo(-2.56,16.76,-3.35,18.13);
300        $s->drawCurveTo(-3.36,18.14,-3.85,18.92);
301        $s->drawCurveTo(-4.48,19.92,-4.50,20.53);
302        $s->drawCurveTo(-4.54,22.24,-2.43,22.24);
303        $s->drawCurveTo(-2.43,22.24,2.00,22.24);
304        $s->drawCurveTo(2.00,22.24,15.52,22.24);
305        $s->drawCurveTo(15.52,22.24,18.97,22.24);
306        $s->drawCurveTo(20.66,22.24,20.72,20.60);
307        $s->drawCurveTo(20.73,20.15,20.50,19.73);
308        $ec->add($s);
309       
310        $s=new SWF::Shape();
311        $s->setRightFill(255,255,255);
312        $s->movePenTo(18.09,20.01);
313        $s->drawCurveTo(18.09,20.01,-1.84,20.01);
314        $s->drawCurveTo(-1.84,20.01,-1.86,20.01);
315        $s->drawCurveTo(-1.79,19.88,5.59,7.10);
316        $s->drawCurveTo(6.98,4.68,8.10,2.75);
317        $s->drawCurveTo(8.10,2.75,8.11,2.73);
318        $s->drawCurveTo(14.90,14.50,18.07,19.99);
319        $s->drawCurveTo(18.08,19.99,18.09,20.01);
320        $ec->add($s);
321       
322        $s=new SWF::Shape();
323        $s->setRightFill(0,0,0);
324        $s->movePenTo(9.60,17.78);
325        $s->drawCurveTo(9.58,16.10,7.84,16.37);
326        $s->drawCurveTo(6.62,16.56,6.62,17.78);
327        $s->drawCurveTo(6.62,19.46,8.37,19.20);
328        $s->drawCurveTo(9.58,19.00,9.60,17.78);
329        $ec->add($s);
330       
331        $s=new SWF::Shape();
332        $s->setRightFill(0,0,0);
333        $s->movePenTo(9.99,9.04);
334        $s->drawCurveTo(10.34,7.48,8.88,6.80);
335        $s->drawCurveTo(8.18,6.49,7.45,6.75);
336        $s->drawCurveTo(5.86,7.33,6.41,9.72);
337        $s->drawCurveTo(6.44,9.82,6.46,9.93);
338        $s->drawCurveTo(6.47,9.95,7.21,12.89);
339        $s->drawCurveTo(7.61,14.45,7.88,15.52);
340        $s->drawCurveTo(7.93,15.71,8.29,15.55);
341        $s->drawCurveTo(8.34,15.52,8.35,15.49);
342        $s->drawCurveTo(8.35,15.48,8.54,14.74);
343        $s->drawCurveTo(8.56,14.64,8.59,14.56);
344        $s->drawCurveTo(9.02,12.85,9.43,11.25);
345        $s->drawCurveTo(9.84,9.61,9.99,9.04);
346        $ec->add($s);
347       
348        $ec->nextFrame(); $m->addExport($ec,"exclamation");
349
350        # ------ potlatch_rotation sprite
351       
352        $ec=new SWF::MovieClip();
353       
354        $s=new SWF::Shape();
355        $s->setRightFill(127,127,127);
356        drawLargeCircle();
357        $ec->add($s);
358       
359        $s=new SWF::Shape();
360        $s->setRightFill(255,255,255);
361        $s->movePenTo(5.68,0.63);
362        $s->drawLineTo(6.39,-6.49);
363        $s->drawLineTo(-0.72,-5.78);
364        $s->drawLineTo(5.68,0.63);
365        $ec->add($s);
366       
367        $s=new SWF::Shape();
368        $s->setRightFill(255,255,255);
369        $s->movePenTo(-4.22,6.41);
370        $s->drawLineTo(-6.41,4.22);
371        $s->drawLineTo(2.80,-5.00);
372        $s->drawLineTo(5.00,-2.80);
373        $s->drawLineTo(-4.22,6.41);
374        $ec->add($s);
375       
376        $ec->nextFrame(); $m->addExport($ec,"rotation");
377       
378        # ------ clockwise and anticlockwise
379       
380        $ec=new SWF::MovieClip();
381       
382        $s=new SWF::Shape();
383        $s->setRightFill(127,127,127);
384        drawLargeCircle();
385        $ec->add($s);
386       
387        $s=new SWF::Shape();
388        $s->setRightFill(255,255,255);
389        $s->movePenTo(2.90,-4.60);
390        $s->drawCurveTo(5.43,-3.12,5.43,-0.20);
391        $s->drawCurveTo(5.43,0.84,5.03,1.79);
392        $s->drawLineTo(6.70,2.49);
393        $s->drawCurveTo(7.24,1.21,7.24,-0.20);
394        $s->drawCurveTo(7.24,-4.16,3.81,-6.16);
395        $s->drawLineTo(2.90,-4.60);
396        $ec->add($s);
397       
398        $s=new SWF::Shape();
399        $s->setRightFill(255,255,255);
400        $s->movePenTo(3.79,0.45);
401        $s->drawLineTo(4.42,5.53);
402        $s->drawLineTo(8.51,2.44);
403        $s->drawLineTo(3.79,0.45);
404        $ec->add($s);
405       
406        $s=new SWF::Shape();
407        $s->setRightFill(255,255,255);
408        $s->movePenTo(-3.75,-5.92);
409        $s->drawCurveTo(-6.58,-4.28,-7.11,-1.05);
410        $s->drawLineTo(-5.33,-0.76);
411        $s->drawCurveTo(-4.94,-3.15,-2.85,-4.35);
412        $s->drawCurveTo(-1.95,-4.87,-0.93,-5.00);
413        $s->drawLineTo(-1.15,-6.79);
414        $s->drawCurveTo(-2.54,-6.62,-3.75,-5.92);
415        $ec->add($s);
416       
417        $s=new SWF::Shape();
418        $s->setRightFill(255,255,255);
419        $s->movePenTo(-1.47,-3.25);
420        $s->drawLineTo(2.62,-6.34);
421        $s->drawLineTo(-2.10,-8.34);
422        $s->drawLineTo(-1.47,-3.25);
423        $ec->add($s);
424       
425        $s=new SWF::Shape();
426        $s->setRightFill(255,255,255);
427        $s->movePenTo(-5.37,4.25);
428        $s->drawCurveTo(-4.53,5.36,-3.31,6.07);
429        $s->drawCurveTo(-0.07,7.94,3.27,6.24);
430        $s->drawLineTo(2.46,4.63);
431        $s->drawCurveTo(-0.01,5.89,-2.41,4.50);
432        $s->drawCurveTo(-3.31,3.98,-3.93,3.17);
433        $s->drawLineTo(-5.37,4.25);
434        $ec->add($s);
435       
436        $s=new SWF::Shape();
437        $s->setRightFill(255,255,255);
438        $s->movePenTo(-2.14,2.76);
439        $s->drawLineTo(-6.86,0.76);
440        $s->drawLineTo(-6.23,5.85);
441        $s->drawLineTo(-2.14,2.76);
442        $ec->add($s);
443       
444        $ec->nextFrame(); $m->addExport($ec,"clockwise");
445
446        #
447
448        $ec=new SWF::MovieClip();
449       
450        $s=new SWF::Shape();
451        $s->setRightFill(127,127,127);
452        drawLargeCircle();
453        $ec->add($s);
454
455        $s=new SWF::Shape();
456        $s->setRightFill(255,255,255);
457        $s->movePenTo(-2.71,-4.60);
458        $s->drawCurveTo(-5.24,-3.12,-5.24,-0.20);
459        $s->drawCurveTo(-5.24,0.84,-4.84,1.79);
460        $s->drawLineTo(-6.50,2.49);
461        $s->drawCurveTo(-7.04,1.21,-7.04,-0.20);
462        $s->drawCurveTo(-7.04,-4.16,-3.62,-6.16);
463        $s->drawLineTo(-2.71,-4.60);
464        $ec->add($s);
465       
466        $s=new SWF::Shape();
467        $s->setRightFill(255,255,255);
468        $s->movePenTo(-3.59,0.45);
469        $s->drawLineTo(-4.22,5.53);
470        $s->drawLineTo(-8.31,2.44);
471        $s->drawLineTo(-3.59,0.45);
472        $ec->add($s);
473       
474        $s=new SWF::Shape();
475        $s->setRightFill(255,255,255);
476        $s->movePenTo(3.95,-5.92);
477        $s->drawCurveTo(6.78,-4.28,7.31,-1.05);
478        $s->drawLineTo(5.53,-0.76);
479        $s->drawCurveTo(5.14,-3.15,3.05,-4.35);
480        $s->drawCurveTo(2.15,-4.87,1.13,-5.00);
481        $s->drawLineTo(1.35,-6.79);
482        $s->drawCurveTo(2.73,-6.62,3.95,-5.92);
483        $ec->add($s);
484       
485        $s=new SWF::Shape();
486        $s->setRightFill(255,255,255);
487        $s->movePenTo(1.67,-3.25);
488        $s->drawLineTo(-2.42,-6.34);
489        $s->drawLineTo(2.30,-8.34);
490        $s->drawLineTo(1.67,-3.25);
491        $ec->add($s);
492       
493        $s=new SWF::Shape();
494        $s->setRightFill(255,255,255);
495        $s->movePenTo(5.56,4.25);
496        $s->drawCurveTo(4.72,5.36,3.51,6.07);
497        $s->drawCurveTo(0.27,7.94,-3.08,6.24);
498        $s->drawLineTo(-2.26,4.63);
499        $s->drawCurveTo(0.21,5.89,2.61,4.50);
500        $s->drawCurveTo(3.51,3.98,4.12,3.17);
501        $s->drawLineTo(5.56,4.25);
502        $ec->add($s);
503       
504        $s=new SWF::Shape();
505        $s->setRightFill(255,255,255);
506        $s->movePenTo(2.34,2.76);
507        $s->drawLineTo(7.06,0.76);
508        $s->drawLineTo(6.43,5.85);
509        $s->drawLineTo(2.34,2.76);
510        $ec->add($s);
511       
512        $ec->nextFrame(); $m->addExport($ec,"anticlockwise");
513
514       
515        #               Scissors (auto-generated from AI-to-Ming script)
516
517        $ec=new SWF::MovieClip();
518
519        $s=new SWF::Shape();
520        $s->setRightFill($s->addFill(127,127,127));
521        drawLargeCircle();
522    $d=$ec->add($s);
523    $d->move(5,5);
524       
525        $s=new SWF::Shape();
526        $s->setRightFill($s->addFill(255,255,255));
527        $s->movePenTo(0.93,-1.62);
528        $s->drawLineTo(0.29,-2.66);
529        $s->drawLineTo(0.62,-3.22);
530        $s->drawCurveTo(1.07,-3.37,1.45,-4.24);
531        $s->drawLineTo(2.13,-5.78);
532        $s->drawCurveTo(2.89,-7.53,4.03,-7.53);
533        $s->drawCurveTo(4.63,-7.53,5.05,-7.08);
534        $s->drawCurveTo(5.46,-6.63,5.46,-5.99);
535        $s->drawCurveTo(5.46,-5.07,4.84,-4.38);
536        $s->drawCurveTo(4.23,-3.69,3.41,-3.69);
537        $s->drawCurveTo(3.34,-3.69,3.00,-3.73);
538        $s->drawLineTo(2.83,-3.74);
539        $s->drawCurveTo(2.65,-3.76,2.58,-3.76);
540        $s->drawCurveTo(2.04,-3.76,1.66,-2.91);
541        $s->drawCurveTo(1.59,-2.77,1.50,-2.62);
542        $s->drawLineTo(0.93,-1.62);
543    $d=$ec->add($s);
544    $d->move(5,5);
545       
546        $s=new SWF::Shape();
547        $s->setRightFill($s->addFill(255,255,255));
548        $s->movePenTo(-0.45,-3.15);
549        $s->drawLineTo(4.77,5.25);
550        $s->drawCurveTo(4.80,5.46,4.80,5.66);
551        $s->drawCurveTo(4.80,6.68,4.39,7.68);
552        $s->drawLineTo(-0.78,-1.23);
553        $s->drawCurveTo(-1.03,-1.65,-1.09,-1.80);
554        $s->drawLineTo(-1.15,-1.97);
555        $s->drawCurveTo(-1.39,-2.60,-2.00,-2.60);
556        $s->drawLineTo(-2.07,-2.60);
557        $s->drawLineTo(-2.25,-2.59);
558        $s->drawLineTo(-2.62,-2.57);
559        $s->drawCurveTo(-3.63,-2.52,-4.58,-3.66);
560        $s->drawCurveTo(-5.54,-4.81,-5.54,-6.07);
561        $s->drawCurveTo(-5.54,-6.71,-5.21,-7.12);
562        $s->drawCurveTo(-4.89,-7.53,-4.39,-7.53);
563        $s->drawCurveTo(-3.74,-7.53,-2.94,-6.26);
564        $s->drawLineTo(-1.47,-3.90);
565        $s->drawCurveTo(-0.99,-3.13,-0.60,-3.13);
566        $s->drawCurveTo(-0.56,-3.13,-0.45,-3.15);
567    $d=$ec->add($s);
568    $d->move(5,5);
569       
570        $s=new SWF::Shape();
571        $s->setRightFill($s->addFill(255,255,255));
572        $s->movePenTo(-0.92,-0.73);
573        $s->drawLineTo(-0.24,0.41);
574        $s->drawLineTo(-4.42,7.68);
575        $s->drawCurveTo(-4.79,6.77,-4.79,5.94);
576        $s->drawCurveTo(-4.79,5.60,-4.73,5.22);
577        $s->drawLineTo(-0.92,-0.73);
578    $d=$ec->add($s);
579    $d->move(5,5);
580       
581        $s=new SWF::Shape();
582        $s->setRightFill($s->addFill(127,127,127));
583        $s->movePenTo(2.87,-5.99);
584        $s->drawLineTo(2.69,-5.63);
585        $s->drawCurveTo(2.46,-5.13,2.46,-4.83);
586        $s->drawCurveTo(2.46,-4.23,3.29,-4.23);
587        $s->drawCurveTo(3.91,-4.23,4.42,-4.79);
588        $s->drawCurveTo(4.94,-5.34,4.94,-6.00);
589        $s->drawCurveTo(4.94,-6.39,4.66,-6.68);
590        $s->drawCurveTo(4.39,-6.97,4.00,-6.97);
591        $s->drawCurveTo(3.37,-6.97,2.87,-5.99);
592    $d=$ec->add($s);
593    $d->move(5,5);
594       
595        $s=new SWF::Shape();
596        $s->setRightFill($s->addFill(127,127,127));
597        $s->movePenTo(-2.47,-4.49);
598        $s->drawLineTo(-3.53,-6.19);
599        $s->drawCurveTo(-4.03,-6.97,-4.39,-6.97);
600        $s->drawCurveTo(-4.69,-6.97,-4.84,-6.73);
601        $s->drawCurveTo(-4.99,-6.49,-4.99,-6.02);
602        $s->drawCurveTo(-4.99,-5.03,-4.23,-4.09);
603        $s->drawCurveTo(-3.46,-3.15,-2.66,-3.15);
604        $s->drawCurveTo(-2.12,-3.15,-2.12,-3.62);
605        $s->drawCurveTo(-2.12,-3.90,-2.47,-4.49);
606    $d=$ec->add($s);
607    $d->move(5,5);
608       
609        $s=new SWF::Shape();
610        $s->setRightFill($s->addFill(127,127,127));
611        $s->movePenTo(-0.38,-1.25);
612        $s->drawCurveTo(-0.38,-0.89,-0.04,-0.89);
613        $s->drawCurveTo(0.30,-0.89,0.30,-1.25);
614        $s->drawCurveTo(0.30,-1.60,-0.04,-1.60);
615        $s->drawCurveTo(-0.38,-1.60,-0.38,-1.25);
616    $d=$ec->add($s);
617    $d->move(5,5);
618       
619        $ec->nextFrame();
620        $m->addExport($ec,"scissors");
621
622        #               Undo
623       
624        $ec=new SWF::MovieClip();
625       
626        $s=new SWF::Shape();
627        $s->setRightFill(127,127,127);
628        $s->movePenTo(-10.00,0.00);
629        $s->drawCurveTo(-10.00,-6.72,-3.75,-9.27);
630        $s->drawCurveTo(-1.96,-10.00,0.00,-10.00);
631        $s->drawCurveTo(7.41,-10.00,9.58,-2.89);
632        $s->drawCurveTo(10.00,-1.48,10.00,0.00);
633        $s->drawCurveTo(10.00,6.72,3.75,9.27);
634        $s->drawCurveTo(1.96,10.00,0.00,10.00);
635        $s->drawCurveTo(-7.41,10.00,-9.58,2.89);
636        $s->drawCurveTo(-10.00,1.48,-10.00,0.00);
637    $d=$ec->add($s);
638    $d->move(5,5);
639       
640        $s=new SWF::Shape();
641        $s->setRightFill(127,127,127);
642        $s->movePenTo(-0.38,-1.25);
643        $s->drawCurveTo(-0.38,-0.89,-0.04,-0.89);
644        $s->drawCurveTo(0.30,-0.89,0.30,-1.25);
645        $s->drawCurveTo(0.30,-1.60,-0.04,-1.60);
646        $s->drawCurveTo(-0.38,-1.60,-0.38,-1.25);
647    $d=$ec->add($s);
648    $d->move(5,5);
649       
650        $s=new SWF::Shape();
651        $s->setRightFill(255,255,255);
652        $s->movePenTo(-0.65,-1.60);
653        $s->drawLineTo(0.04,0.80);
654        $s->drawCurveTo(-3.26,-2.07,-6.53,-3.28);
655        $s->drawCurveTo(-2.66,-4.72,0.04,-7.07);
656        $s->drawLineTo(-0.57,-4.82);
657        $s->drawCurveTo(7.85,-2.68,5.36,1.99);
658        $s->drawCurveTo(3.92,4.65,0.15,6.85);
659        $s->drawCurveTo(-0.41,7.18,-0.55,6.60);
660        $s->drawCurveTo(-0.56,6.55,-0.56,6.50);
661        $s->drawCurveTo(-0.56,6.49,-0.56,6.49);
662        $s->drawCurveTo(-0.56,6.49,-0.56,6.49);
663        $s->drawCurveTo(-0.55,6.48,-0.54,6.47);
664        $s->drawCurveTo(-0.38,6.34,-0.19,6.17);
665        $s->drawCurveTo(1.83,4.33,2.51,2.66);
666        $s->drawCurveTo(3.80,-0.52,-0.65,-1.60);
667    $d=$ec->add($s);
668    $d->move(5,5);
669       
670        $ec->nextFrame(); $m->addExport($ec,"undo");
671
672        #               Photo-mapping
673        #               (ok, so this is just the tourism icon reshaped a bit...)
674       
675        $ec=new SWF::MovieClip();
676
677        $s=new SWF::Shape();
678        $s->setRightFill(127,127,127);
679        drawLargeCircle();
680    $d=$ec->add($s);
681    $d->move(5,5);
682
683$s=new SWF::Shape();
684$s->setRightFill(255,255,255);
685$s->movePenTo(11.74,5.18);
686$s->drawLineTo(-4.19,5.18);
687$s->drawCurveTo(-4.23,5.17,-4.27,5.16);
688$s->drawCurveTo(-4.70,4.99,-4.72,4.49);
689$s->drawCurveTo(-4.77,3.61,-4.77,1.27);
690$s->drawCurveTo(-4.77,-1.67,-4.63,-2.52);
691$s->drawCurveTo(-4.45,-3.62,-4.34,-4.16);
692$s->drawCurveTo(-4.33,-4.21,-4.32,-4.24);
693$s->drawCurveTo(-4.31,-4.27,-4.29,-4.30);
694$s->drawCurveTo(-4.14,-4.66,-3.82,-4.74);
695$s->drawCurveTo(-3.81,-4.74,-3.67,-4.78);
696$s->drawCurveTo(-2.37,-5.11,-1.61,-4.93);
697$s->drawCurveTo(-1.50,-4.90,-1.41,-4.87);
698$s->drawCurveTo(-1.43,-4.89,-1.41,-5.11);
699$s->drawCurveTo(-1.41,-5.13,-1.41,-5.15);
700$s->drawCurveTo(-1.38,-5.17,-1.33,-5.21);
701$s->drawCurveTo(-0.87,-5.52,0.03,-5.52);
702$s->drawCurveTo(0.93,-5.52,1.58,-5.21);
703$s->drawCurveTo(1.64,-5.18,1.69,-5.15);
704$s->drawCurveTo(1.69,-5.15,1.69,-5.15);
705$s->drawLineTo(1.72,-4.71);
706$s->drawCurveTo(1.77,-4.70,1.82,-4.69);
707$s->drawCurveTo(2.36,-4.63,2.73,-5.37);
708$s->drawCurveTo(3.09,-6.10,3.76,-7.13);
709$s->drawCurveTo(3.83,-7.22,3.87,-7.30);
710$s->drawCurveTo(3.88,-7.30,3.88,-7.31);
711$s->drawCurveTo(3.88,-7.31,3.89,-7.31);
712$s->drawCurveTo(3.94,-7.34,4.02,-7.37);
713$s->drawCurveTo(4.86,-7.75,5.79,-7.75);
714$s->drawCurveTo(6.72,-7.75,7.80,-7.40);
715$s->drawCurveTo(7.90,-7.37,7.97,-7.34);
716$s->drawCurveTo(7.98,-7.34,7.98,-7.34);
717$s->drawLineTo(9.36,-5.05);
718$s->drawCurveTo(9.38,-5.01,9.41,-4.97);
719$s->drawCurveTo(9.74,-4.48,10.24,-4.43);
720$s->drawCurveTo(11.79,-4.27,12.21,-3.04);
721$s->drawCurveTo(12.30,-2.79,12.33,-2.49);
722$s->drawCurveTo(12.44,-1.56,12.41,1.16);
723$s->drawCurveTo(12.39,2.61,12.34,4.21);
724$s->drawCurveTo(12.34,4.36,12.33,4.47);
725$s->drawCurveTo(12.33,4.48,12.33,4.49);
726$s->drawCurveTo(12.33,4.49,12.33,4.50);
727$s->drawCurveTo(12.34,4.54,12.33,4.60);
728$s->drawCurveTo(12.29,5.18,11.74,5.18);
729$d=$ec->add($s); $d->move(2,4.5); $d->scale(0.9); $d->rotate(-15);
730
731$s=new SWF::Shape();
732$s->setRightFill(150,150,150);
733$s->movePenTo(1.75,0.33);
734$s->drawCurveTo(1.75,-3.83,5.92,-3.83);
735$s->drawCurveTo(10.08,-3.83,10.08,0.33);
736$s->drawCurveTo(10.08,4.49,5.92,4.49);
737$s->drawCurveTo(1.75,4.49,1.75,0.33);
738$d=$ec->add($s); $d->move(2,4.5); $d->scale(0.9); $d->rotate(-15);
739
740$s=new SWF::Shape();
741$s->setLine(1.34,127,127,127);
742$s->movePenTo(-0.56,4.59);
743$s->drawCurveTo(-0.56,4.56,-0.56,4.53);
744$s->drawCurveTo(-0.60,4.17,-0.63,3.73);
745$s->drawCurveTo(-0.97,-0.97,-0.03,-3.02);
746$d=$ec->add($s); $d->move(2,4.5); $d->scale(0.9); $d->rotate(-15);
747
748$s=new SWF::Shape();
749$s->setLine(0.67,127,127,127);
750$s->movePenTo(3.60,-5.37);
751$s->drawLineTo(8.17,-5.37);
752$d=$ec->add($s); $d->move(2,4.5); $d->scale(0.9); $d->rotate(-15);
753
754
755        $ec->nextFrame();
756    $m->addExport($ec,"camera");
757
758        #               Align
759
760        $ec=new SWF::MovieClip();
761
762        $s=new SWF::Shape();
763        $s->setRightFill(127,127,127);
764        drawLargeCircle();
765    $d=$ec->add($s);
766
767        $s=new SWF::Shape();
768        $s->setRightFill(255,255,255);
769        $s->movePenTo(0,0); $s->drawLineTo(4,0); $s->drawLineTo(4,4);
770        $s->drawLineTo(0,4); $s->drawLineTo(0,0);
771        $d=$ec->add($s); $d->move(-6,2); 
772        $d=$ec->add($s); $d->move(-2,-2); 
773        $d=$ec->add($s); $d->move(2,-6); 
774       
775        $ec->nextFrame();
776    $m->addExport($ec,"tidy");
777
778        #               GPS
779
780        $ec=new SWF::MovieClip();
781
782        $s=new SWF::Shape();
783        $s->setRightFill(127,127,127);
784        drawLargeCircle();
785    $d=$ec->add($s);
786    $d->move(5,5);
787       
788        $s=new SWF::Shape();
789        $s->setRightFill(255,255,255);
790        $s->movePenTo(1.47,8.21);
791        $s->drawCurveTo(1.27,8.74,0.74,8.54);
792        $s->drawLineTo(-5.96,6.06);
793        $s->drawCurveTo(-6.49,5.86,-6.29,5.32);
794        $s->drawLineTo(-1.22,-8.34);
795        $s->drawCurveTo(-1.02,-8.87,-0.48,-8.67);
796        $s->drawLineTo(6.21,-6.18);
797        $s->drawCurveTo(6.75,-5.98,6.55,-5.45);
798        $s->drawLineTo(1.47,8.21);
799    $d=$ec->add($s);
800    $d->move(5,5);
801       
802        $s=new SWF::Shape();
803        $s->setRightFill(127,127,127);
804        $s->movePenTo(3.86,-0.62);
805        $s->drawCurveTo(4.06,-1.15,3.52,-1.35);
806        $s->drawLineTo(-1.57,-3.24);
807        $s->drawCurveTo(-2.10,-3.44,-2.30,-2.91);
808        $s->drawLineTo(-5.11,4.66);
809        $s->drawCurveTo(-5.31,5.20,-4.78,5.39);
810        $s->drawLineTo(0.31,7.29);
811        $s->drawCurveTo(0.85,7.48,1.04,6.95);
812        $s->drawLineTo(3.86,-0.62);
813    $d=$ec->add($s);
814    $d->move(5,5);
815       
816        $s=new SWF::Shape();
817        $s->setRightFill(127,127,127);
818        $s->movePenTo(4.09,-4.36);
819        $s->drawCurveTo(3.94,-3.95,4.32,-3.81);
820        $s->drawCurveTo(4.70,-3.67,4.85,-4.07);
821        $s->drawCurveTo(5.00,-4.47,4.62,-4.61);
822        $s->drawCurveTo(4.24,-4.75,4.09,-4.36);
823    $d=$ec->add($s);
824    $d->move(5,5);
825       
826        $s=new SWF::Shape();
827        $s->setRightFill(127,127,127);
828        $s->movePenTo(2.77,-3.40);
829        $s->drawCurveTo(2.62,-3.00,3.00,-2.86);
830        $s->drawCurveTo(3.39,-2.71,3.54,-3.12);
831        $s->drawCurveTo(3.68,-3.52,3.30,-3.66);
832        $s->drawCurveTo(2.92,-3.80,2.77,-3.40);
833    $d=$ec->add($s);
834    $d->move(5,5);
835
836        $ec->nextFrame();
837    $m->addExport($ec,"gps");
838       
839        #               Prefs
840
841        $ec=new SWF::MovieClip();
842       
843        $s=new SWF::Shape();
844        $s->setRightFill(127,127,127);
845        drawLargeCircle();
846    $d=$ec->add($s);
847    $d->move(5,5);
848       
849        $s=new SWF::Shape();
850        $s->setRightFill(255,255,255);
851        $s->movePenTo(4.29,-2.58);
852        $s->drawLineTo(4.29,5.32);
853        $s->drawLineTo(-4.76,5.32);
854        $s->drawLineTo(-4.76,-3.72);
855        $s->drawLineTo(1.30,-3.72);
856        $s->drawLineTo(1.93,-4.80);
857        $s->drawLineTo(-5.84,-4.80);
858        $s->drawLineTo(-5.84,6.40);
859        $s->drawLineTo(5.37,6.40);
860        $s->drawLineTo(5.37,-3.89);
861        $s->drawLineTo(4.29,-2.58);
862    $d=$ec->add($s);
863    $d->move(5,5);
864       
865        $s=new SWF::Shape();
866        $s->setRightFill(255,255,255);
867        $s->movePenTo(6.80,-6.73);
868        $s->drawCurveTo(4.78,-4.47,3.03,-2.08);
869        $s->drawCurveTo(1.27,0.31,-0.21,2.84);
870        $s->drawCurveTo(-0.31,3.02,-0.48,3.36);
871        $s->drawCurveTo(-0.99,4.37,-1.92,4.37);
872        $s->drawCurveTo(-2.31,4.37,-2.57,4.26);
873        $s->drawCurveTo(-2.83,4.14,-3.05,3.85);
874        $s->drawCurveTo(-3.22,3.61,-3.38,3.20);
875        $s->drawCurveTo(-3.53,2.81,-3.75,2.03);
876        $s->drawCurveTo(-3.76,1.98,-3.78,1.91);
877        $s->drawCurveTo(-4.02,1.05,-4.02,0.83);
878        $s->drawCurveTo(-4.02,0.39,-3.50,0.02);
879        $s->drawCurveTo(-2.98,-0.35,-2.48,-0.35);
880        $s->drawCurveTo(-2.32,-0.35,-2.21,-0.25);
881        $s->drawCurveTo(-2.11,-0.16,-1.98,0.16);
882        $s->drawCurveTo(-1.90,0.36,-1.79,0.69);
883        $s->drawCurveTo(-1.52,1.44,-1.34,1.44);
884        $s->drawCurveTo(-1.19,1.44,-0.12,-0.27);
885        $s->drawCurveTo(0.94,-1.94,1.65,-2.99);
886        $s->drawCurveTo(2.68,-4.53,3.22,-5.23);
887        $s->drawCurveTo(3.76,-5.92,4.20,-6.27);
888        $s->drawCurveTo(4.57,-6.58,5.18,-6.76);
889        $s->drawCurveTo(5.78,-6.94,6.69,-7.00);
890        $s->drawLineTo(6.80,-6.73);
891    $d=$ec->add($s);
892    $d->move(5,5);
893       
894        $ec->nextFrame(); $m->addExport($ec,"prefs");
895
896
897
898        #Ê===== Menu icons
899               
900# ------ potlatch_iplace sprite
901
902# ------ potlatch_iskyline sprite
903
904$ec=new SWF::MovieClip();
905
906$s=new SWF::Shape();
907$s->setRightFill(190,190,190);
908$s->movePenTo(-10.00,7.17);
909$s->drawLineTo(19.00,7.17);
910$s->drawLineTo(19.00,-10.00);
911$s->drawLineTo(-10.00,-10.00);
912$s->drawLineTo(-10.00,7.17);
913$ec->add($s);
914
915$s=new SWF::Shape();
916$s->setRightFill(255,255,255);
917$s->movePenTo(-7.71,4.70);
918$s->drawLineTo(-7.71,-3.43);
919$s->drawLineTo(-4.37,-3.43);
920$s->drawLineTo(-4.37,4.69);
921$s->drawLineTo(-7.71,4.70);
922$ec->add($s);
923
924$s=new SWF::Shape();
925$s->setRightFill(255,255,255);
926$s->movePenTo(-5.18,-4.65);
927$s->drawLineTo(-2.72,-7.11);
928$s->drawLineTo(-0.27,-4.67);
929$s->drawLineTo(-0.27,4.77);
930$s->drawLineTo(-3.31,4.77);
931$s->drawLineTo(-3.31,-4.61);
932$s->drawLineTo(-5.18,-4.65);
933$ec->add($s);
934
935$s=new SWF::Shape();
936$s->setRightFill(255,255,255);
937$s->movePenTo(4.42,-1.42);
938$s->drawLineTo(4.42,-7.21);
939$s->drawLineTo(0.69,-7.21);
940$s->drawLineTo(0.69,4.70);
941$s->drawLineTo(3.14,4.70);
942$s->drawLineTo(3.19,-1.42);
943$s->drawLineTo(4.42,-1.42);
944$ec->add($s);
945
946$s=new SWF::Shape();
947$s->setRightFill(255,255,255);
948$s->movePenTo(12.32,4.64);
949$s->drawLineTo(4.03,4.64);
950$s->drawLineTo(4.03,-0.70);
951$s->drawLineTo(12.32,-0.70);
952$s->drawLineTo(12.32,4.64);
953$ec->add($s);
954
955$s=new SWF::Shape();
956$s->setRightFill(255,255,255);
957$s->movePenTo(7.37,-4.09);
958$s->drawLineTo(5.48,-4.09);
959$s->drawLineTo(5.48,-1.53);
960$s->drawLineTo(7.37,-1.53);
961$s->drawLineTo(7.37,-4.09);
962$ec->add($s);
963
964$s=new SWF::Shape();
965$s->setRightFill(255,255,255);
966$s->movePenTo(12.21,-7.77);
967$s->drawLineTo(9.82,-7.77);
968$s->drawLineTo(9.82,-1.59);
969$s->drawLineTo(12.21,-1.59);
970$s->drawLineTo(12.21,-7.77);
971$ec->add($s);
972
973$s=new SWF::Shape();
974$s->setRightFill(255,255,255);
975$s->movePenTo(16.60,-6.32);
976$s->drawLineTo(14.71,-8.04);
977$s->drawLineTo(12.99,-6.32);
978$s->drawLineTo(12.99,4.64);
979$s->drawLineTo(16.60,4.64);
980$s->drawLineTo(16.60,-6.32);
981$ec->add($s);
982
983$ec->nextFrame(); $m->addExport($ec,"preset_place");
984
985# ------ potlatch_itourism sprite
986
987$ec=new SWF::MovieClip();
988
989$s=new SWF::Shape();
990$s->setRightFill(190,190,190);
991$s->movePenTo(-10.00,7.17);
992$s->drawLineTo(19.00,7.17);
993$s->drawLineTo(19.00,-10.00);
994$s->drawLineTo(-10.00,-10.00);
995$s->drawLineTo(-10.00,7.17);
996$ec->add($s);
997
998$s=new SWF::Shape();
999$s->setRightFill(255,255,255);
1000$s->movePenTo(11.74,5.18);
1001$s->drawLineTo(-4.19,5.18);
1002$s->drawCurveTo(-4.23,5.17,-4.27,5.16);
1003$s->drawCurveTo(-4.70,4.99,-4.72,4.49);
1004$s->drawCurveTo(-4.77,3.61,-4.77,1.27);
1005$s->drawCurveTo(-4.77,-1.67,-4.63,-2.52);
1006$s->drawCurveTo(-4.45,-3.62,-4.34,-4.16);
1007$s->drawCurveTo(-4.33,-4.21,-4.32,-4.24);
1008$s->drawCurveTo(-4.31,-4.27,-4.29,-4.30);
1009$s->drawCurveTo(-4.14,-4.66,-3.82,-4.74);
1010$s->drawCurveTo(-3.81,-4.74,-3.67,-4.78);
1011$s->drawCurveTo(-2.37,-5.11,-1.61,-4.93);
1012$s->drawCurveTo(-1.50,-4.90,-1.41,-4.87);
1013$s->drawCurveTo(-1.43,-4.89,-1.41,-5.11);
1014$s->drawCurveTo(-1.41,-5.13,-1.41,-5.15);
1015$s->drawCurveTo(-1.38,-5.17,-1.33,-5.21);
1016$s->drawCurveTo(-0.87,-5.52,0.03,-5.52);
1017$s->drawCurveTo(0.93,-5.52,1.58,-5.21);
1018$s->drawCurveTo(1.64,-5.18,1.69,-5.15);
1019$s->drawCurveTo(1.69,-5.15,1.69,-5.15);
1020$s->drawLineTo(1.72,-4.71);
1021$s->drawCurveTo(1.77,-4.70,1.82,-4.69);
1022$s->drawCurveTo(2.36,-4.63,2.73,-5.37);
1023$s->drawCurveTo(3.09,-6.10,3.76,-7.13);
1024$s->drawCurveTo(3.83,-7.22,3.87,-7.30);
1025$s->drawCurveTo(3.88,-7.30,3.88,-7.31);
1026$s->drawCurveTo(3.88,-7.31,3.89,-7.31);
1027$s->drawCurveTo(3.94,-7.34,4.02,-7.37);
1028$s->drawCurveTo(4.86,-7.75,5.79,-7.75);
1029$s->drawCurveTo(6.72,-7.75,7.80,-7.40);
1030$s->drawCurveTo(7.90,-7.37,7.97,-7.34);
1031$s->drawCurveTo(7.98,-7.34,7.98,-7.34);
1032$s->drawLineTo(9.36,-5.05);
1033$s->drawCurveTo(9.38,-5.01,9.41,-4.97);
1034$s->drawCurveTo(9.74,-4.48,10.24,-4.43);
1035$s->drawCurveTo(11.79,-4.27,12.21,-3.04);
1036$s->drawCurveTo(12.30,-2.79,12.33,-2.49);
1037$s->drawCurveTo(12.44,-1.56,12.41,1.16);
1038$s->drawCurveTo(12.39,2.61,12.34,4.21);
1039$s->drawCurveTo(12.34,4.36,12.33,4.47);
1040$s->drawCurveTo(12.33,4.48,12.33,4.49);
1041$s->drawCurveTo(12.33,4.49,12.33,4.50);
1042$s->drawCurveTo(12.34,4.54,12.33,4.60);
1043$s->drawCurveTo(12.29,5.18,11.74,5.18);
1044$ec->add($s);
1045
1046$s=new SWF::Shape();
1047$s->setRightFill(190,190,190);
1048$s->movePenTo(1.75,0.33);
1049$s->drawCurveTo(1.75,-3.83,5.92,-3.83);
1050$s->drawCurveTo(10.08,-3.83,10.08,0.33);
1051$s->drawCurveTo(10.08,4.49,5.92,4.49);
1052$s->drawCurveTo(1.75,4.49,1.75,0.33);
1053$ec->add($s);
1054
1055$s=new SWF::Shape();
1056$s->setLine(1.34,190,190,190);
1057$s->movePenTo(-0.56,4.59);
1058$s->drawCurveTo(-0.56,4.56,-0.56,4.53);
1059$s->drawCurveTo(-0.60,4.17,-0.63,3.73);
1060$s->drawCurveTo(-0.97,-0.97,-0.03,-3.02);
1061$ec->add($s);
1062
1063$s=new SWF::Shape();
1064$s->setLine(0.67,190,190,190);
1065$s->movePenTo(3.60,-5.37);
1066$s->drawLineTo(8.17,-5.37);
1067$ec->add($s);
1068
1069$ec->nextFrame(); $m->addExport($ec,"preset_tourism");
1070
1071# ------ potlatch_inatural sprite
1072
1073# ------ potlatch_itrees sprite
1074
1075$ec=new SWF::MovieClip();
1076
1077$s=new SWF::Shape();
1078$s->setRightFill(190,190,190);
1079$s->movePenTo(-10.00,7.17);
1080$s->drawLineTo(19.00,7.17);
1081$s->drawLineTo(19.00,-10.00);
1082$s->drawLineTo(-10.00,-10.00);
1083$s->drawLineTo(-10.00,7.17);
1084$ec->add($s);
1085
1086$s=new SWF::Shape();
1087$s->setRightFill(255,255,255);
1088$s->movePenTo(-6.54,0.95);
1089$s->drawLineTo(-2.87,-7.50);
1090$s->drawLineTo(0.02,0.62);
1091$s->drawLineTo(-1.87,0.84);
1092$s->drawLineTo(-2.09,5.07);
1093$s->drawLineTo(-4.54,5.07);
1094$s->drawLineTo(-4.43,1.07);
1095$s->drawLineTo(-6.54,0.95);
1096$ec->add($s);
1097
1098$s=new SWF::Shape();
1099$s->setRightFill(255,255,255);
1100$s->movePenTo(8.70,1.18);
1101$s->drawLineTo(12.82,-7.50);
1102$s->drawLineTo(16.55,1.51);
1103$s->drawLineTo(13.49,2.85);
1104$s->drawLineTo(13.60,5.07);
1105$s->drawLineTo(11.15,5.07);
1106$s->drawLineTo(11.26,2.40);
1107$s->drawLineTo(8.70,1.18);
1108$ec->add($s);
1109
1110$s=new SWF::Shape();
1111$s->setRightFill(255,255,255);
1112$s->movePenTo(2.19,2.12);
1113$s->drawLineTo(4.95,-3.33);
1114$s->drawLineTo(7.65,2.35);
1115$s->drawLineTo(5.64,3.01);
1116$s->drawLineTo(5.75,5.24);
1117$s->drawLineTo(3.97,5.24);
1118$s->drawLineTo(4.08,2.57);
1119$s->drawLineTo(2.19,2.12);
1120$ec->add($s);
1121
1122$s=new SWF::Shape();
1123$s->setLine(0.67,255,255,255);
1124$s->movePenTo(-0.31,-8.50);
1125$s->drawCurveTo(-0.30,-8.50,-0.29,-8.50);
1126$s->drawCurveTo(-0.16,-8.50,0.00,-8.48);
1127$s->drawCurveTo(1.72,-8.22,1.86,-6.67);
1128$s->drawCurveTo(1.87,-6.68,1.87,-6.68);
1129$s->drawCurveTo(1.94,-6.78,2.03,-6.88);
1130$s->drawCurveTo(3.07,-8.01,4.20,-7.17);
1131$ec->add($s);
1132
1133$ec->nextFrame(); $m->addExport($ec,"preset_natural");
1134
1135        # ----- potlatch_iboat sprite
1136       
1137        $ec=new SWF::MovieClip();
1138       
1139        $s=new SWF::Shape();
1140        $s->setRightFill(190,190,190);
1141        $s->movePenTo(-10.00,7.17);
1142        $s->drawLineTo(19.00,7.17);
1143        $s->drawLineTo(19.00,-10.00);
1144        $s->drawLineTo(-10.00,-10.00);
1145        $s->drawLineTo(-10.00,7.17);
1146        $ec->add($s);
1147       
1148        $s=new SWF::Shape();
1149        $s->setRightFill(255,255,255);
1150        $s->movePenTo(-7.61,1.78);
1151        $s->drawCurveTo(-3.99,-0.47,-0.35,1.17);
1152        $s->drawCurveTo(0.41,1.52,1.06,1.74);
1153        $s->drawCurveTo(3.05,2.40,4.79,2.05);
1154        $s->drawCurveTo(5.51,1.91,7.34,1.11);
1155        $s->drawCurveTo(8.58,0.58,9.96,0.50);
1156        $s->drawCurveTo(12.31,0.38,14.52,1.99);
1157        $s->drawLineTo(14.66,1.83);
1158        $s->drawCurveTo(14.80,1.91,17.13,-2.69);
1159        $s->drawCurveTo(17.34,-3.12,17.52,-3.47);
1160        $s->drawCurveTo(17.54,-3.50,17.55,-3.53);
1161        $s->drawCurveTo(17.55,-3.53,17.44,-3.53);
1162        $s->drawCurveTo(17.08,-3.52,16.86,-3.51);
1163        $s->drawCurveTo(13.20,-3.44,13.20,-3.65);
1164        $s->drawCurveTo(13.20,-3.65,13.20,-5.08);
1165        $s->drawLineTo(11.42,-6.73);
1166        $s->drawCurveTo(0.47,-6.73,0.47,-6.73);
1167        $s->drawLineTo(0.41,-3.48);
1168        $s->drawLineTo(-6.43,-3.53);
1169        $s->drawLineTo(-6.43,-1.55);
1170        $s->drawLineTo(-7.71,-1.55);
1171        $s->drawLineTo(-7.61,1.78);
1172        $ec->add($s);
1173       
1174        $s=new SWF::Shape();
1175        $s->setRightFill(255,255,255);
1176        $s->movePenTo(14.25,3.39);
1177        $s->drawCurveTo(12.08,1.85,9.78,2.08);
1178        $s->drawCurveTo(9.78,2.08,5.71,3.40);
1179        $s->drawCurveTo(5.35,3.51,5.02,3.59);
1180        $s->drawCurveTo(2.64,4.13,0.33,3.13);
1181        $s->drawCurveTo(-1.61,2.30,-2.00,2.22);
1182        $s->drawCurveTo(-3.34,1.95,-4.43,2.14);
1183        $s->drawCurveTo(-6.07,2.42,-7.59,3.48);
1184        $s->drawCurveTo(-7.30,3.94,-7.16,4.18);
1185        $s->drawCurveTo(-6.97,4.49,-6.68,4.29);
1186        $s->drawCurveTo(-6.20,3.98,-5.58,3.74);
1187        $s->drawCurveTo(-4.39,3.29,-3.15,3.35);
1188        $s->drawCurveTo(-3.11,3.35,0.98,4.67);
1189        $s->drawCurveTo(1.32,4.78,1.63,4.84);
1190        $s->drawCurveTo(4.15,5.38,6.59,4.43);
1191        $s->drawCurveTo(6.60,4.43,7.83,3.88);
1192        $s->drawCurveTo(8.46,3.60,8.92,3.50);
1193        $s->drawCurveTo(10.24,3.22,11.36,3.44);
1194        $s->drawCurveTo(12.26,3.62,13.07,4.04);
1195        $s->drawCurveTo(13.07,4.04,13.51,4.30);
1196        $s->drawCurveTo(13.81,4.49,13.82,4.48);
1197        $s->drawCurveTo(13.83,4.47,14.13,3.65);
1198        $s->drawCurveTo(14.18,3.50,14.25,3.39);
1199        $ec->add($s);
1200       
1201        $s=new SWF::Shape();
1202        $s->setRightFill(190,190,190);
1203        $s->movePenTo(7.56,-5.46);
1204        $s->drawLineTo(7.56,-3.53);
1205        $s->drawLineTo(11.61,-3.53);
1206        $s->drawLineTo(11.61,-5.46);
1207        $s->drawLineTo(7.56,-5.46);
1208        $ec->add($s);
1209       
1210        $s=new SWF::Shape();
1211        $s->setRightFill(190,190,190);
1212        $s->movePenTo(1.91,-5.46);
1213        $s->drawLineTo(1.91,-3.53);
1214        $s->drawLineTo(5.96,-3.53);
1215        $s->drawLineTo(5.96,-5.46);
1216        $s->drawLineTo(1.91,-5.46);
1217        $ec->add($s);
1218       
1219        $s=new SWF::Shape();
1220        $s->setRightFill(255,255,255);
1221        $s->movePenTo(-0.80,-8.58);
1222        $s->drawLineTo(1.71,-6.08);
1223        $s->drawLineTo(2.18,-6.55);
1224        $s->drawLineTo(-0.33,-9.05);
1225        $s->drawLineTo(-0.80,-8.58);
1226        $ec->add($s);
1227       
1228        $ec->nextFrame(); $m->addExport($ec,"preset_waterway");
1229       
1230        # ------ potlatch_icar sprite
1231       
1232        $ec=new SWF::MovieClip();
1233       
1234        $s=new SWF::Shape();
1235        $s->setRightFill(190,190,190);
1236        $s->movePenTo(-10.00,7.17);
1237        $s->drawLineTo(19.00,7.17);
1238        $s->drawLineTo(19.00,-10.00);
1239        $s->drawLineTo(-10.00,-10.00);
1240        $s->drawLineTo(-10.00,7.17);
1241        $ec->add($s);
1242       
1243        $s=new SWF::Shape();
1244        $s->setRightFill(255,255,255);
1245        $s->movePenTo(10.82,3.30);
1246        $s->drawCurveTo(10.86,2.02,11.77,1.31);
1247        $s->drawCurveTo(12.75,0.54,13.93,0.79);
1248        $s->drawCurveTo(17.07,1.47,15.72,4.37);
1249        $s->drawCurveTo(14.37,7.25,11.84,5.36);
1250        $s->drawCurveTo(10.86,4.63,10.82,3.30);
1251        $ec->add($s);
1252       
1253        $s=new SWF::Shape();
1254        $s->setRightFill(190,190,190);
1255        $s->movePenTo(12.02,3.30);
1256        $s->drawCurveTo(12.09,1.88,13.48,1.95);
1257        $s->drawCurveTo(14.96,2.03,14.73,3.47);
1258        $s->drawCurveTo(14.53,4.72,13.28,4.66);
1259        $s->drawCurveTo(12.09,4.60,12.02,3.30);
1260        $ec->add($s);
1261       
1262        $s=new SWF::Shape();
1263        $s->setRightFill(255,255,255);
1264        $s->movePenTo(-7.14,3.37);
1265        $s->drawCurveTo(-7.10,2.08,-6.18,1.37);
1266        $s->drawCurveTo(-5.20,0.59,-4.03,0.86);
1267        $s->drawCurveTo(-0.92,1.56,-2.24,4.43);
1268        $s->drawCurveTo(-3.57,7.33,-6.11,5.42);
1269        $s->drawCurveTo(-7.10,4.68,-7.14,3.37);
1270        $ec->add($s);
1271       
1272        $s=new SWF::Shape();
1273        $s->setRightFill(190,190,190);
1274        $s->movePenTo(-5.93,3.37);
1275        $s->drawCurveTo(-5.86,1.94,-4.47,2.01);
1276        $s->drawCurveTo(-3.00,2.09,-3.23,3.53);
1277        $s->drawCurveTo(-3.42,4.78,-4.67,4.72);
1278        $s->drawCurveTo(-5.87,4.66,-5.93,3.37);
1279        $ec->add($s);
1280       
1281        $s=new SWF::Shape();
1282        $s->setRightFill(255,255,255);
1283        $s->movePenTo(-7.22,-2.70);
1284        $s->drawCurveTo(-7.21,-2.73,-7.19,-2.77);
1285        $s->drawCurveTo(-7.06,-3.15,-6.84,-3.60);
1286        $s->drawCurveTo(-4.50,-8.53,0.05,-8.53);
1287        $s->drawCurveTo(4.48,-8.53,8.98,-3.62);
1288        $s->drawCurveTo(9.57,-2.97,9.75,-2.83);
1289        $s->drawCurveTo(13.58,-2.33,15.54,-1.77);
1290        $s->drawCurveTo(17.62,-1.16,17.64,1.82);
1291        $s->drawCurveTo(17.64,1.87,17.64,1.96);
1292        $s->drawCurveTo(17.64,2.04,17.64,2.05);
1293        $s->drawCurveTo(17.64,3.26,16.63,3.43);
1294        $s->drawCurveTo(16.74,1.87,15.89,0.90);
1295        $s->drawCurveTo(15.02,-0.10,13.48,-0.15);
1296        $s->drawCurveTo(11.90,-0.20,10.94,0.83);
1297        $s->drawCurveTo(10.02,1.81,10.13,3.43);
1298        $s->drawLineTo(-1.16,3.43);
1299        $s->drawCurveTo(-1.05,1.88,-1.90,0.90);
1300        $s->drawCurveTo(-2.76,-0.10,-4.30,-0.15);
1301        $s->drawCurveTo(-5.91,-0.20,-6.85,0.83);
1302        $s->drawCurveTo(-7.53,1.58,-7.78,3.07);
1303        $s->drawLineTo(-8.76,2.80);
1304        $s->drawCurveTo(-9.11,3.60,-7.80,-0.85);
1305        $s->drawCurveTo(-7.46,-2.02,-7.22,-2.70);
1306        $ec->add($s);
1307       
1308        $s=new SWF::Shape();
1309        $s->setRightFill(190,190,190);
1310        $s->movePenTo(8.25,-2.81);
1311        $s->drawCurveTo(8.23,-2.83,8.21,-2.85);
1312        $s->drawCurveTo(7.96,-3.10,7.65,-3.40);
1313        $s->drawCurveTo(4.31,-6.61,2.57,-7.16);
1314        $s->drawCurveTo(2.15,-7.29,1.44,-7.39);
1315        $s->drawCurveTo(1.38,-7.40,1.33,-7.40);
1316        $s->drawCurveTo(1.32,-7.41,1.32,-7.41);
1317        $s->drawLineTo(1.37,-3.31);
1318        $s->drawLineTo(8.25,-2.81);
1319        $ec->add($s);
1320       
1321        $s=new SWF::Shape();
1322        $s->setRightFill(190,190,190);
1323        $s->movePenTo(0.40,-7.53);
1324        $s->drawCurveTo(0.38,-7.53,0.35,-7.53);
1325        $s->drawCurveTo(0.09,-7.54,-0.25,-7.50);
1326        $s->drawCurveTo(-3.83,-7.08,-5.57,-3.43);
1327        $s->drawLineTo(0.31,-3.27);
1328        $s->drawLineTo(0.40,-7.53);
1329        $ec->add($s);
1330       
1331        $s=new SWF::Shape();
1332        $s->setRightFill(255,255,255);
1333        $s->movePenTo(1.55,-1.77);
1334        $s->drawLineTo(2.89,-1.68);
1335        $s->drawLineTo(2.92,-2.18);
1336        $s->drawLineTo(1.59,-2.27);
1337        $s->drawLineTo(1.55,-1.77);
1338        $ec->add($s);
1339       
1340        $s=new SWF::Shape();
1341        $s->setRightFill(255,255,255);
1342        $s->movePenTo(-1.07,-1.89);
1343        $s->drawLineTo(0.26,-1.81);
1344        $s->drawLineTo(0.29,-2.31);
1345        $s->drawLineTo(-1.04,-2.39);
1346        $s->drawLineTo(-1.07,-1.89);
1347        $ec->add($s);
1348       
1349        $ec->nextFrame(); $m->addExport($ec,"preset_road");
1350       
1351        # ------ potlatch_icycle sprite
1352       
1353        $ec=new SWF::MovieClip();
1354       
1355        $s=new SWF::Shape();
1356        $s->setRightFill(190,190,190);
1357        $s->movePenTo(-10.00,7.17);
1358        $s->drawLineTo(19.00,7.17);
1359        $s->drawLineTo(19.00,-10.00);
1360        $s->drawLineTo(-10.00,-10.00);
1361        $s->drawLineTo(-10.00,7.17);
1362        $ec->add($s);
1363       
1364        $s=new SWF::Shape();
1365        $s->setRightFill(255,255,255);
1366        $s->movePenTo(9.43,-6.21);
1367        $s->drawCurveTo(10.17,-3.43,10.35,-2.77);
1368        $s->drawCurveTo(12.09,-3.33,13.45,-2.73);
1369        $s->drawCurveTo(15.07,-2.01,15.70,-0.59);
1370        $s->drawCurveTo(16.25,0.64,16.06,1.88);
1371        $s->drawCurveTo(16.00,2.21,15.90,2.53);
1372        $s->drawCurveTo(15.34,4.17,13.91,4.94);
1373        $s->drawCurveTo(10.39,6.83,8.26,3.51);
1374        $s->drawCurveTo(6.84,1.30,8.24,-1.01);
1375        $s->drawCurveTo(8.67,-1.72,9.33,-2.21);
1376        $s->drawCurveTo(9.40,-2.26,9.35,-2.45);
1377        $s->drawCurveTo(9.34,-2.49,9.26,-2.71);
1378        $s->drawCurveTo(9.25,-2.75,9.25,-2.77);
1379        $s->drawCurveTo(8.10,-1.97,6.39,-0.77);
1380        $s->drawCurveTo(5.01,0.19,4.70,0.41);
1381        $s->drawCurveTo(4.70,0.42,4.41,0.61);
1382        $s->drawCurveTo(4.37,0.65,4.33,0.67);
1383        $s->drawCurveTo(4.32,0.68,4.38,1.21);
1384        $s->drawCurveTo(4.39,1.29,4.39,1.31);
1385        $s->drawCurveTo(4.39,2.37,3.41,2.80);
1386        $s->drawCurveTo(2.91,3.03,2.46,2.98);
1387        $s->drawCurveTo(2.46,2.98,2.28,2.94);
1388        $s->drawCurveTo(2.11,2.90,2.07,2.98);
1389        $s->drawCurveTo(1.98,3.18,1.84,3.49);
1390        $s->drawCurveTo(1.84,3.49,2.27,3.49);
1391        $s->drawCurveTo(2.35,3.49,2.33,3.74);
1392        $s->drawCurveTo(2.32,3.80,2.32,3.82);
1393        $s->drawCurveTo(2.32,3.83,2.33,3.94);
1394        $s->drawCurveTo(2.34,4.06,2.24,4.06);
1395        $s->drawCurveTo(2.24,4.06,2.08,4.05);
1396        $s->drawCurveTo(1.86,4.03,1.81,4.10);
1397        $s->drawCurveTo(1.52,4.45,1.16,4.19);
1398        $s->drawCurveTo(0.98,4.06,0.90,4.06);
1399        $s->drawCurveTo(0.90,4.06,0.77,4.07);
1400        $s->drawCurveTo(0.54,4.08,0.54,4.01);
1401        $s->drawCurveTo(0.54,4.01,0.54,3.53);
1402        $s->drawCurveTo(0.54,3.46,0.81,3.48);
1403        $s->drawCurveTo(0.83,3.49,0.84,3.49);
1404        $s->drawCurveTo(0.84,3.49,1.29,3.49);
1405        $s->drawCurveTo(1.31,3.49,1.43,3.19);
1406        $s->drawCurveTo(1.45,3.15,1.45,3.14);
1407        $s->drawCurveTo(1.58,2.87,1.65,2.72);
1408        $s->drawCurveTo(1.65,2.71,1.41,2.51);
1409        $s->drawCurveTo(1.38,2.48,1.37,2.47);
1410        $s->drawCurveTo(1.05,2.16,0.95,1.81);
1411        $s->drawCurveTo(0.89,1.61,0.71,1.61);
1412        $s->drawCurveTo(0.47,1.61,0.45,1.80);
1413        $s->drawCurveTo(0.41,2.12,0.26,2.60);
1414        $s->drawCurveTo(0.06,3.30,-0.49,3.93);
1415        $s->drawCurveTo(-1.60,5.23,-3.23,5.44);
1416        $s->drawCurveTo(-7.10,5.93,-7.94,2.04);
1417        $s->drawCurveTo(-8.18,0.94,-7.77,-0.21);
1418        $s->drawCurveTo(-7.62,-0.63,-7.38,-1.03);
1419        $s->drawCurveTo(-6.59,-2.35,-4.89,-2.89);
1420        $s->drawCurveTo(-4.16,-3.12,-3.37,-3.02);
1421        $s->drawCurveTo(-2.87,-2.95,-2.54,-2.86);
1422        $s->drawCurveTo(-2.10,-2.73,-2.07,-2.79);
1423        $s->drawCurveTo(-2.06,-2.80,-1.45,-3.86);
1424        $s->drawCurveTo(-1.21,-4.27,-1.04,-4.57);
1425        $s->drawCurveTo(-1.04,-4.58,-0.62,-5.30);
1426        $s->drawCurveTo(-0.58,-5.36,-0.55,-5.42);
1427        $s->drawCurveTo(-0.44,-5.61,-0.47,-5.72);
1428        $s->drawCurveTo(-0.48,-5.75,-0.51,-5.83);
1429        $s->drawCurveTo(-0.51,-5.83,-0.65,-6.22);
1430        $s->drawCurveTo(-0.68,-6.29,-0.70,-6.35);
1431        $s->drawCurveTo(-0.76,-6.52,-0.94,-6.55);
1432        $s->drawCurveTo(-1.27,-6.60,-1.59,-6.93);
1433        $s->drawCurveTo(-1.86,-7.19,-1.90,-7.46);
1434        $s->drawCurveTo(-1.91,-7.53,-1.89,-7.58);
1435        $s->drawCurveTo(-1.84,-7.67,-1.50,-7.65);
1436        $s->drawCurveTo(-1.48,-7.65,-1.47,-7.65);
1437        $s->drawCurveTo(-1.47,-7.65,0.73,-7.65);
1438        $s->drawCurveTo(0.73,-7.65,1.68,-7.65);
1439        $s->drawCurveTo(2.04,-7.65,2.15,-7.56);
1440        $s->drawCurveTo(2.44,-7.30,2.15,-7.04);
1441        $s->drawCurveTo(2.09,-6.98,1.72,-6.90);
1442        $s->drawCurveTo(1.72,-6.90,0.34,-6.59);
1443        $s->drawCurveTo(0.63,-5.80,0.67,-5.71);
1444        $s->drawCurveTo(0.73,-5.53,0.84,-5.53);
1445        $s->drawCurveTo(0.84,-5.53,2.25,-5.53);
1446        $s->drawCurveTo(2.25,-5.53,6.95,-5.53);
1447        $s->drawCurveTo(6.95,-5.53,8.51,-5.53);
1448        $s->drawCurveTo(8.25,-6.48,8.39,-6.82);
1449        $s->drawCurveTo(8.43,-6.92,8.50,-7.02);
1450        $s->drawCurveTo(8.50,-7.02,8.73,-7.22);
1451        $s->drawCurveTo(8.94,-7.41,8.83,-7.55);
1452        $s->drawCurveTo(8.75,-7.65,8.20,-7.65);
1453        $s->drawCurveTo(8.20,-7.65,7.11,-7.65);
1454        $s->drawCurveTo(7.02,-7.65,7.02,-7.72);
1455        $s->drawCurveTo(7.02,-7.72,7.02,-8.29);
1456        $s->drawCurveTo(7.02,-8.29,7.02,-8.71);
1457        $s->drawCurveTo(7.02,-8.73,7.17,-8.72);
1458        $s->drawCurveTo(7.19,-8.72,7.20,-8.72);
1459        $s->drawCurveTo(7.20,-8.72,8.31,-8.72);
1460        $s->drawCurveTo(9.12,-8.72,9.34,-8.67);
1461        $s->drawCurveTo(9.80,-8.57,10.07,-7.98);
1462        $s->drawCurveTo(10.27,-7.56,9.98,-7.00);
1463        $s->drawCurveTo(9.97,-6.98,9.58,-6.60);
1464        $s->drawCurveTo(9.40,-6.42,9.43,-6.21);
1465        $ec->add($s);
1466       
1467        $s=new SWF::Shape();
1468        $s->setRightFill(190,190,190);
1469        $s->movePenTo(9.99,-0.01);
1470        $s->drawCurveTo(9.99,-0.01,9.80,-0.72);
1471        $s->drawCurveTo(9.77,-0.82,9.75,-0.90);
1472        $s->drawCurveTo(8.45,0.55,9.00,2.09);
1473        $s->drawCurveTo(9.65,3.88,11.31,4.15);
1474        $s->drawCurveTo(13.20,4.44,14.20,3.04);
1475        $s->drawCurveTo(15.05,1.86,14.75,0.55);
1476        $s->drawCurveTo(14.68,0.24,14.54,-0.05);
1477        $s->drawCurveTo(13.76,-1.66,11.94,-1.76);
1478        $s->drawCurveTo(11.53,-1.78,11.17,-1.68);
1479        $s->drawCurveTo(10.96,-1.63,10.75,-1.55);
1480        $s->drawCurveTo(10.66,-1.52,10.71,-1.38);
1481        $s->drawCurveTo(10.71,-1.38,10.74,-1.29);
1482        $s->drawCurveTo(10.75,-1.25,10.76,-1.23);
1483        $s->drawCurveTo(11.03,-0.20,11.42,0.26);
1484        $s->drawCurveTo(11.55,0.43,11.83,0.68);
1485        $s->drawCurveTo(11.83,0.68,12.05,0.84);
1486        $s->drawCurveTo(12.20,0.94,12.23,1.05);
1487        $s->drawCurveTo(12.33,1.33,12.12,1.54);
1488        $s->drawCurveTo(11.98,1.69,11.57,1.59);
1489        $s->drawCurveTo(10.43,1.31,9.99,-0.01);
1490        $ec->add($s);
1491       
1492        $s=new SWF::Shape();
1493        $s->setRightFill(190,190,190);
1494        $s->movePenTo(4.70,-1.62);
1495        $s->drawLineTo(4.70,-1.05);
1496        $s->drawLineTo(4.02,-1.05);
1497        $s->drawLineTo(3.60,-0.26);
1498        $s->drawLineTo(3.71,-0.19);
1499        $s->drawLineTo(8.86,-3.80);
1500        $s->drawLineTo(8.69,-4.46);
1501        $s->drawLineTo(1.12,-4.46);
1502        $s->drawLineTo(2.54,-0.56);
1503        $s->drawLineTo(3.10,-0.49);
1504        $s->drawLineTo(3.41,-1.05);
1505        $s->drawLineTo(2.98,-1.05);
1506        $s->drawLineTo(2.98,-1.62);
1507        $s->drawCurveTo(3.01,-1.62,3.04,-1.62);
1508        $s->drawCurveTo(3.38,-1.58,3.42,-1.64);
1509        $s->drawCurveTo(3.82,-2.13,4.24,-1.62);
1510        $s->drawLineTo(4.70,-1.62);
1511        $ec->add($s);
1512       
1513        $s=new SWF::Shape();
1514        $s->setRightFill(190,190,190);
1515        $s->movePenTo(-0.81,0.83);
1516        $s->drawCurveTo(-0.81,0.83,-2.92,0.83);
1517        $s->drawCurveTo(-2.20,-0.43,-1.84,-1.06);
1518        $s->drawCurveTo(-1.00,-0.27,-0.81,0.83);
1519        $ec->add($s);
1520       
1521        $s=new SWF::Shape();
1522        $s->setRightFill(190,190,190);
1523        $s->movePenTo(0.04,-4.31);
1524        $s->drawCurveTo(0.04,-4.30,-0.78,-2.90);
1525        $s->drawCurveTo(-0.84,-2.80,-0.89,-2.70);
1526        $s->drawCurveTo(-0.89,-2.70,-0.94,-2.63);
1527        $s->drawCurveTo(-1.21,-2.19,-1.19,-2.17);
1528        $s->drawCurveTo(-0.80,-1.86,-0.60,-1.62);
1529        $s->drawCurveTo(-0.07,-1.00,0.24,-0.22);
1530        $s->drawCurveTo(0.38,0.14,0.43,0.50);
1531        $s->drawCurveTo(0.43,0.51,0.44,0.64);
1532        $s->drawCurveTo(0.45,0.83,0.53,0.83);
1533        $s->drawCurveTo(0.89,0.83,0.91,0.75);
1534        $s->drawCurveTo(1.01,0.41,1.20,0.16);
1535        $s->drawCurveTo(1.20,0.16,1.42,-0.07);
1536        $s->drawCurveTo(1.55,-0.20,1.54,-0.21);
1537        $s->drawCurveTo(1.54,-0.22,1.28,-0.92);
1538        $s->drawCurveTo(1.18,-1.19,1.11,-1.39);
1539        $s->drawCurveTo(0.42,-3.29,0.04,-4.31);
1540        $ec->add($s);
1541       
1542        $s=new SWF::Shape();
1543        $s->setRightFill(190,190,190);
1544        $s->movePenTo(1.49,1.22);
1545        $s->drawCurveTo(1.56,0.28,2.31,0.13);
1546        $s->drawCurveTo(3.15,-0.05,3.61,0.66);
1547        $s->drawCurveTo(4.97,2.75,2.43,2.34);
1548        $s->drawCurveTo(2.24,2.31,2.07,2.21);
1549        $s->drawCurveTo(1.54,1.88,1.49,1.22);
1550        $ec->add($s);
1551       
1552        $s=new SWF::Shape();
1553        $s->setRightFill(190,190,190);
1554        $s->movePenTo(-4.27,1.02);
1555        $s->drawCurveTo(-4.57,1.66,-3.23,1.61);
1556        $s->drawCurveTo(-3.13,1.61,-3.09,1.61);
1557        $s->drawCurveTo(-3.09,1.61,-0.81,1.61);
1558        $s->drawCurveTo(-1.16,3.50,-2.74,4.01);
1559        $s->drawCurveTo(-4.55,4.60,-5.77,3.42);
1560        $s->drawCurveTo(-7.13,2.11,-6.64,0.44);
1561        $s->drawCurveTo(-6.12,-1.38,-4.37,-1.70);
1562        $s->drawCurveTo(-3.61,-1.84,-2.76,-1.59);
1563        $s->drawCurveTo(-3.78,0.18,-4.27,1.02);
1564        $ec->add($s);
1565       
1566        $ec->nextFrame(); $m->addExport($ec,"preset_cycleway");
1567       
1568        # ------ potlatch_itrain sprite
1569       
1570        $ec=new SWF::MovieClip();
1571       
1572        $s=new SWF::Shape();
1573        $s->setRightFill(190,190,190);
1574        $s->movePenTo(-10.00,7.17);
1575        $s->drawLineTo(19.00,7.17);
1576        $s->drawLineTo(19.00,-10.00);
1577        $s->drawLineTo(-10.00,-10.00);
1578        $s->drawLineTo(-10.00,7.17);
1579        $ec->add($s);
1580       
1581        $s=new SWF::Shape();
1582        $s->setRightFill(255,255,255);
1583        $s->movePenTo(2.12,4.24);
1584        $s->drawCurveTo(2.16,3.21,2.88,2.64);
1585        $s->drawCurveTo(3.66,2.02,4.61,2.23);
1586        $s->drawCurveTo(7.12,2.77,6.04,5.09);
1587        $s->drawCurveTo(4.96,7.40,2.94,5.88);
1588        $s->drawCurveTo(2.16,5.29,2.12,4.24);
1589        $ec->add($s);
1590       
1591       
1592        $s=new SWF::Shape();
1593        $s->setRightFill(255,255,255);
1594        $s->movePenTo(7.13,4.24);
1595        $s->drawCurveTo(7.16,3.21,7.89,2.64);
1596        $s->drawCurveTo(8.67,2.02,9.62,2.23);
1597        $s->drawCurveTo(12.13,2.77,11.05,5.09);
1598        $s->drawCurveTo(9.97,7.40,7.95,5.88);
1599        $s->drawCurveTo(7.17,5.29,7.13,4.24);
1600        $ec->add($s);
1601       
1602        $s=new SWF::Shape();
1603        $s->setRightFill(255,255,255);
1604        $s->movePenTo(15.27,-1.30);
1605        $s->drawCurveTo(15.76,-0.83,16.02,-0.52);
1606        $s->drawCurveTo(16.04,-0.49,16.06,-0.47);
1607        $s->drawCurveTo(16.06,-0.47,16.07,-0.46);
1608        $s->drawCurveTo(16.12,-0.42,16.17,-0.35);
1609        $s->drawCurveTo(16.71,0.33,16.15,1.11);
1610        $s->drawCurveTo(15.60,1.89,13.73,3.35);
1611        $s->drawCurveTo(13.55,3.49,13.41,3.59);
1612        $s->drawCurveTo(13.40,3.60,13.39,3.61);
1613        $s->drawCurveTo(13.34,3.64,13.28,3.67);
1614        $s->drawCurveTo(12.68,4.01,12.20,4.01);
1615        $s->drawCurveTo(11.99,4.01,-5.15,4.08);
1616        $s->drawCurveTo(-6.72,4.09,-8.04,4.09);
1617        $s->drawCurveTo(-8.16,4.09,-8.25,4.09);
1618        $s->drawCurveTo(-8.26,4.09,-8.26,4.09);
1619        $s->drawLineTo(-8.25,-7.49);
1620        $s->drawLineTo(6.94,-7.49);
1621        $s->drawCurveTo(6.94,-7.49,6.95,-7.49);
1622        $s->drawCurveTo(7.00,-7.49,7.08,-7.48);
1623        $s->drawCurveTo(7.96,-7.39,9.44,-6.39);
1624        $s->drawCurveTo(9.63,-6.26,10.18,-5.81);
1625        $s->drawCurveTo(10.23,-5.77,10.27,-5.74);
1626        $s->drawCurveTo(10.27,-5.73,10.28,-5.73);
1627        $s->drawLineTo(8.18,-5.73);
1628        $s->drawLineTo(12.52,-1.30);
1629        $s->drawLineTo(15.27,-1.30);
1630        $ec->add($s);
1631       
1632        $s=new SWF::Shape();
1633        $s->setRightFill(190,190,190);
1634        $s->movePenTo(6.62,-3.06);
1635        $s->drawLineTo(9.50,-3.06);
1636        $s->drawLineTo(11.29,-1.32);
1637        $s->drawLineTo(6.62,-1.32);
1638        $s->drawLineTo(6.62,-3.06);
1639        $ec->add($s);
1640       
1641        $s=new SWF::Shape();
1642        $s->setRightFill(190,190,190);
1643        $s->movePenTo(1.27,-1.32);
1644        $s->drawLineTo(-8.45,-1.32);
1645        $s->drawLineTo(-8.45,-3.06);
1646        $s->drawLineTo(1.27,-3.06);
1647        $s->drawLineTo(1.27,-1.32);
1648        $ec->add($s);
1649       
1650        $s=new SWF::Shape();
1651        $s->setLine(0.50,255,255,255);
1652        $s->setRightFill(190,190,190);
1653        $s->movePenTo(1.74,-6.13);
1654        $s->drawLineTo(6.22,-6.13);
1655        $s->drawLineTo(6.22,1.29);
1656        $s->drawLineTo(1.74,1.29);
1657        $s->drawLineTo(1.74,-6.13);
1658        $ec->add($s);
1659       
1660        $s=new SWF::Shape();
1661        $s->setRightFill(190,190,190);
1662        $s->movePenTo(13.00,4.20);
1663        $s->drawLineTo(-8.45,4.20);
1664        $s->drawLineTo(-8.45,3.87);
1665        $s->drawLineTo(13.00,3.87);
1666        $s->drawLineTo(13.00,4.20);
1667        $ec->add($s);
1668       
1669        $ec->nextFrame(); $m->addExport($ec,"preset_railway");
1670       
1671        # ------ potlatch_iwalking sprite
1672       
1673        $ec=new SWF::MovieClip();
1674       
1675        $s=new SWF::Shape();
1676        $s->setRightFill(190,190,190);
1677        $s->movePenTo(-10.00,7.17);
1678        $s->drawLineTo(19.00,7.17);
1679        $s->drawLineTo(19.00,-10.00);
1680        $s->drawLineTo(-10.00,-10.00);
1681        $s->drawLineTo(-10.00,7.17);
1682        $ec->add($s);
1683       
1684        $s=new SWF::Shape();
1685        $s->setRightFill(255,255,255);
1686        $s->movePenTo(-0.14,-0.20);
1687        $s->drawCurveTo(-0.80,-1.72,-0.28,-3.26);
1688        $s->drawCurveTo(0.44,-1.75,2.08,-1.21);
1689        $s->drawCurveTo(2.08,-1.21,2.27,-1.15);
1690        $s->drawCurveTo(3.15,-0.84,3.27,-1.13);
1691        $s->drawCurveTo(3.40,-1.42,3.44,-1.59);
1692        $s->drawCurveTo(3.48,-1.79,3.44,-1.88);
1693        $s->drawCurveTo(3.44,-1.88,2.99,-1.97);
1694        $s->drawCurveTo(2.98,-1.97,2.97,-1.97);
1695        $s->drawCurveTo(1.97,-2.32,1.34,-3.14);
1696        $s->drawCurveTo(1.34,-3.15,0.70,-4.57);
1697        $s->drawCurveTo(0.64,-4.68,0.59,-4.78);
1698        $s->drawCurveTo(0.40,-5.12,0.12,-5.46);
1699        $s->drawCurveTo(0.12,-5.46,-0.18,-5.73);
1700        $s->drawCurveTo(-0.40,-5.93,-0.40,-6.02);
1701        $s->drawCurveTo(-0.41,-6.06,-0.05,-6.36);
1702        $s->drawCurveTo(0.22,-6.58,0.32,-6.92);
1703        $s->drawCurveTo(1.09,-9.39,-1.26,-8.25);
1704        $s->drawCurveTo(-1.93,-7.93,-1.90,-7.18);
1705        $s->drawCurveTo(-1.90,-7.18,-1.68,-6.62);
1706        $s->drawCurveTo(-1.55,-6.27,-1.83,-6.25);
1707        $s->drawCurveTo(-3.73,-6.14,-4.82,-3.89);
1708        $s->drawCurveTo(-5.28,-2.97,-5.41,-1.99);
1709        $s->drawCurveTo(-5.45,-1.67,-5.62,-1.46);
1710        $s->drawCurveTo(-5.74,-1.32,-5.66,-1.11);
1711        $s->drawCurveTo(-5.35,-0.25,-4.52,-0.61);
1712        $s->drawCurveTo(-4.34,-0.69,-4.34,-0.92);
1713        $s->drawCurveTo(-4.34,-0.93,-4.42,-1.67);
1714        $s->drawCurveTo(-4.45,-1.89,-4.43,-2.06);
1715        $s->drawCurveTo(-4.42,-2.12,-4.41,-2.19);
1716        $s->drawCurveTo(-4.27,-2.81,-3.23,-3.71);
1717        $s->drawCurveTo(-3.07,-0.08,-6.07,3.03);
1718        $s->drawCurveTo(-6.07,3.03,-6.46,3.35);
1719        $s->drawCurveTo(-6.75,3.59,-6.77,3.69);
1720        $s->drawCurveTo(-6.81,3.82,-6.25,4.65);
1721        $s->drawCurveTo(-6.20,4.74,-6.17,4.78);
1722        $s->drawCurveTo(-5.95,5.20,-5.04,5.31);
1723        $s->drawCurveTo(-4.63,5.36,-4.96,5.08);
1724        $s->drawCurveTo(-4.96,5.08,-4.97,5.07);
1725        $s->drawCurveTo(-5.24,4.87,-5.44,4.04);
1726        $s->drawCurveTo(-5.47,3.90,-4.29,2.88);
1727        $s->drawCurveTo(-4.16,2.76,-4.11,2.71);
1728        $s->drawCurveTo(-2.93,1.45,-2.18,-0.20);
1729        $s->drawCurveTo(-0.12,2.55,0.61,5.94);
1730        $s->drawCurveTo(1.36,5.62,1.75,5.46);
1731        $s->drawCurveTo(1.75,5.45,2.16,5.32);
1732        $s->drawCurveTo(2.78,5.12,2.83,4.98);
1733        $s->drawCurveTo(2.91,4.74,2.26,4.72);
1734        $s->drawCurveTo(2.21,4.72,2.18,4.72);
1735        $s->drawCurveTo(2.18,4.72,1.62,4.66);
1736        $s->drawCurveTo(1.51,4.65,1.43,4.64);
1737        $s->drawCurveTo(1.35,4.63,1.33,4.20);
1738        $s->drawCurveTo(1.33,4.18,1.33,4.16);
1739        $s->drawCurveTo(1.21,3.05,0.86,1.91);
1740        $s->drawCurveTo(0.81,1.75,-0.14,-0.20);
1741        $ec->add($s);
1742       
1743        $ec->nextFrame(); $m->addExport($ec,"preset_footway");
1744       
1745       
1746
1747
1748
1749
1750        #               add new attribute
1751       
1752        $ec=new SWF::MovieClip();
1753
1754        $s=new SWF::Shape();
1755        $s->setRightFill(127,127,127);
1756        drawSmallCircle();
1757        $ec->add($s);
1758       
1759        $s=new SWF::Shape();
1760        $s->setRightFill(255,255,255);
1761        $s->movePenTo(-1.62,1.83);
1762        $s->drawLineTo(-3.38,1.83);
1763        $s->drawLineTo(-3.38,-6.83);
1764        $s->drawLineTo(-1.62,-6.83);
1765        $s->drawLineTo(-1.62,1.83);
1766        $ec->add($s);
1767       
1768        $s=new SWF::Shape();
1769        $s->setRightFill(255,255,255);
1770        $s->movePenTo(1.83,-3.38);
1771        $s->drawLineTo(1.83,-1.62);
1772        $s->drawLineTo(-6.83,-1.62);
1773        $s->drawLineTo(-6.83,-3.38);
1774        $s->drawLineTo(1.83,-3.38);
1775        $ec->add($s);
1776       
1777        $ec->nextFrame();
1778        $m->addExport($ec,"newattr");
1779       
1780        #               close cross
1781       
1782        $ec=new SWF::MovieClip();
1783
1784        $s=new SWF::Shape();
1785        $s->setRightFill(127,127,127);
1786        $s->drawCircle(6);
1787        $ec->add($s);
1788
1789        $s=new SWF::Shape();
1790        $s->setLine(40*$cw,255,255,255);
1791        $s->movePenTo(-2.5,-2.5); $s->drawLineTo(2.5, 2.5);
1792        $s->movePenTo(-2.5, 2.5); $s->drawLineTo(2.5,-2.5);
1793        $ec->add($s);
1794        $ec->nextFrame();
1795        $m->addExport($ec,"closecross");
1796
1797        #               close cross - variant for window
1798       
1799        $ec=new SWF::MovieClip();
1800
1801        $s=new SWF::Shape();
1802        $s->setRightFill(0,0,0);
1803        $s->setLine(20*$cw,255,255,255);
1804        $s->drawCircle(7);
1805        $ec->add($s);
1806
1807        $s=new SWF::Shape();
1808        $s->setLine(40*$cw,255,255,255);
1809        $s->movePenTo(-2.5,-2.5); $s->drawLineTo(2.5, 2.5);
1810        $s->movePenTo(-2.5, 2.5); $s->drawLineTo(2.5,-2.5);
1811        $ec->add($s);
1812        $ec->nextFrame();
1813        $m->addExport($ec,"closewindow");
1814
1815        #               add new relation
1816       
1817        $ec=new SWF::MovieClip();
1818
1819        $s=new SWF::Shape();
1820        $s->setRightFill(127,127,127);
1821        drawSmallCircle();
1822        $ec->add($s);
1823
1824        $s=new SWF::Shape();
1825        $s->setRightFill(255,255,255);
1826        $s->movePenTo(-3.97,0.28);
1827        $s->drawLineTo(-7.68,0.26);
1828        $s->drawLineTo(-7.72,2.56);
1829        $s->drawLineTo(-3.70,2.56);
1830        $s->drawCurveTo(-2.14,2.56,-1.08,1.41);
1831        $s->drawLineTo(-2.22,1.42);
1832        $s->drawLineTo(-3.04,1.07);
1833        $s->drawLineTo(-3.97,0.28);
1834        $ec->add($s);
1835       
1836        $s=new SWF::Shape();
1837        $s->setRightFill(255,255,255);
1838        $s->movePenTo(-2.91,-2.50);
1839        $s->drawLineTo(-4.68,-2.40);
1840        $s->drawCurveTo(-4.16,0.55,-1.16,0.55);
1841        $s->drawLineTo(2.72,0.55);
1842        $s->drawLineTo(2.75,-1.48);
1843        $s->drawLineTo(-1.13,-1.48);
1844        $s->drawCurveTo(-2.01,-1.49,-2.78,-2.34);
1845        $s->drawCurveTo(-2.85,-2.42,-2.90,-2.49);
1846        $s->drawCurveTo(-2.90,-2.49,-2.90,-2.49);
1847        $ec->add($s);
1848       
1849        $s=new SWF::Shape();
1850        $s->setRightFill(255,255,255);
1851        $s->movePenTo(-3.84,-6.35);
1852        $s->drawCurveTo(-2.77,-7.51,-1.21,-7.51);
1853        $s->drawLineTo(2.70,-7.51);
1854        $s->drawLineTo(2.81,-5.48);
1855        $s->drawLineTo(-1.10,-5.48);
1856        $s->drawLineTo(-2.03,-6.11);
1857        $s->drawLineTo(-2.77,-6.28);
1858        $s->drawLineTo(-3.84,-6.35);
1859        $ec->add($s);
1860       
1861        $s=new SWF::Shape();
1862        $s->setRightFill(255,255,255);
1863        $s->movePenTo(-7.81,-3.51);
1864        $s->drawLineTo(-3.83,-3.51);
1865        $s->drawCurveTo(-2.65,-3.51,-2.20,-2.88);
1866        $s->drawCurveTo(-2.11,-2.75,-1.56,-2.55);
1867        $s->drawCurveTo(-1.51,-2.53,-1.47,-2.52);
1868        $s->drawCurveTo(-1.46,-2.52,-1.46,-2.51);
1869        $s->drawLineTo(-0.01,-2.72);
1870        $s->drawCurveTo(-0.59,-5.53,-3.79,-5.53);
1871        $s->drawLineTo(-7.77,-5.53);
1872        $s->drawLineTo(-7.81,-3.51);
1873        $ec->add($s);
1874               
1875        $ec->nextFrame();
1876        $m->addExport($ec,"newrel");
1877       
1878        #               repeat last attributes
1879       
1880        $ec=new SWF::MovieClip();
1881       
1882        $s=new SWF::Shape();
1883        $s->setRightFill(127,127,127);
1884        drawSmallCircle();
1885        $ec->add($s);
1886       
1887        $s=new SWF::Shape();
1888        $s->setRightFill(255,255,255);
1889        $s->movePenTo(-6.03,1.04);
1890        $s->drawCurveTo(-2.57,4.50,0.89,1.04);
1891        $s->drawLineTo(-0.45,-0.30);
1892        $s->drawCurveTo(-2.56,1.80,-4.69,-0.30);
1893        $s->drawCurveTo(-4.69,-0.30,-4.69,-0.30);
1894        $s->drawCurveTo(-6.30,-1.91,-5.19,-3.89);
1895        $s->drawCurveTo(-4.99,-4.25,-4.69,-4.55);
1896        $s->drawCurveTo(-2.57,-6.67,-0.45,-4.55);
1897        $s->drawLineTo(0.89,-5.89);
1898        $s->drawCurveTo(-2.57,-9.35,-6.03,-5.89);
1899        $s->drawCurveTo(-8.36,-3.56,-7.08,-0.51);
1900        $s->drawCurveTo(-6.71,0.36,-6.03,1.04);
1901        $ec->add($s);
1902       
1903        $s=new SWF::Shape();
1904        $s->setRightFill(255,255,255);
1905        $s->movePenTo(-2.14,-3.35);
1906        $s->drawLineTo(2.31,-2.90);
1907        $s->drawLineTo(1.86,-7.35);
1908        $s->drawLineTo(-2.14,-3.35);
1909        $ec->add($s);
1910       
1911        $ec->nextFrame();
1912        $m->addExport($ec,"repeatattr");
1913       
1914        #               next page of attributes
1915       
1916        $ec=new SWF::MovieClip();
1917       
1918        $s=new SWF::Shape();
1919        $s->setRightFill(127,127,127);
1920        drawSmallCircle();
1921        $ec->add($s);
1922       
1923        $s=new SWF::Shape();
1924        $s->setRightFill(255,255,255);
1925        $s->movePenTo(-6.35,1.09);
1926        $s->drawLineTo(-1.78,-2.64);
1927        $s->drawLineTo(-6.35,-6.38);
1928        $s->drawLineTo(-6.35,1.09);
1929        $ec->add($s);
1930       
1931        $s=new SWF::Shape();
1932        $s->setRightFill(255,255,255);
1933        $s->movePenTo(-1.69,1.09);
1934        $s->drawLineTo(2.87,-2.64);
1935        $s->drawLineTo(-1.69,-6.38);
1936        $s->drawLineTo(-1.69,1.09);
1937        $ec->add($s);
1938       
1939        $ec->nextFrame();
1940        $m->addExport($ec,"nextattr");
1941       
1942        #               pointers
1943        #               compasses
1944
1945        # ----- Set up screen layout
1946
1947        #               Properties window
1948
1949if (1==0) {
1950        $ch=new SWF::Shape();
1951        $ch->setLine(1,0xCC,0xCC,0xCC);
1952        $ch->setRightFill(0xF3,0xF3,0xF3);
1953        $ch->movePenTo(0,500); $ch->drawLine( 699,0);
1954        $ch->drawLine (0,99 ); $ch->drawLine(-699,0);
1955        $ch->drawLine (0,-99); $m->add($ch);
1956        $m->add($ch);
1957
1958        $ch=new SWF::Shape();
1959        $ch->setLine(1,0xCC,0xCC,0xCC);
1960        $ch->movePen(100,500); $ch->drawLine (0,99 );
1961        $i=$m->add($ch);
1962}
1963
1964        #               Map background
1965
1966        #               ..mask
1967
1968        $maskSprite=new SWF::MovieClip();
1969        $maskShape =new SWF::Shape();
1970        $maskShape->setLine(1,0,0,0);
1971        $maskShape->setRightFill($maskShape->addFill(0xE0,0xE0,0xFF));
1972        $maskShape->movePenTo(0,0);
1973        $maskShape->drawLine( 3000,0); $maskShape->drawLine(0, 3000);
1974        $maskShape->drawLine(-3000,0); $maskShape->drawLine(0,-3000);
1975        $maskSprite->add($maskShape);
1976        $maskSprite->nextFrame();
1977        $i=$m->add($maskSprite);
1978        $i->setName("masksquare");
1979
1980#       $maskSprite=new SWF::MovieClip();
1981#       $maskShape =new SWF::Shape();
1982#       $maskShape->setRightFill($maskShape->addFill(0xF3,0xF3,0xF3));
1983#       $maskShape->movePenTo(0,500);
1984#       $maskShape->drawLine( 700,0); $maskShape->drawLine(0,200);
1985#       $maskShape->drawLine(-700,0); $maskShape->drawLine(0,-200);
1986#       $maskSprite->add($maskShape);
1987#       $maskSprite->nextFrame();
1988#       $i=$m->add($maskSprite);
1989#       $i->setName("masksquare2");
1990
1991        # ====== pointers
1992       
1993        # ------ hand pointer
1994       
1995        $ec=new SWF::MovieClip();
1996       
1997        $s=new SWF::Shape();
1998        $s->setLine(0.94,0,0,0);
1999        $s->setRightFill(255,255,255);
2000        $s->movePenTo(6.00,14.57);
2001        $s->drawLineTo(6.00,14.21);
2002        $s->drawCurveTo(5.98,14.04,8.06,10.29);
2003        $s->drawCurveTo(9.24,8.17,9.50,5.56);
2004        $s->drawCurveTo(9.79,2.68,8.06,2.68);
2005        $s->drawCurveTo(7.02,2.68,6.67,4.94);
2006        $s->drawCurveTo(6.64,5.15,6.62,5.32);
2007        $s->drawCurveTo(6.62,5.34,6.62,5.35);
2008        $s->drawCurveTo(6.62,5.35,6.62,2.88);
2009        $s->drawCurveTo(6.62,1.30,5.18,0.82);
2010        $s->drawCurveTo(4.13,0.48,3.96,4.60);
2011        $s->drawCurveTo(3.94,4.98,3.94,5.30);
2012        $s->drawCurveTo(3.94,5.33,3.94,5.35);
2013        $s->drawCurveTo(3.94,5.35,3.94,1.85);
2014        $s->drawCurveTo(3.94,0.00,2.29,0.00);
2015        $s->drawCurveTo(0.91,0.00,1.02,4.33);
2016        $s->drawCurveTo(1.03,4.74,1.05,5.09);
2017        $s->drawCurveTo(1.06,5.12,1.06,5.14);
2018        $s->drawCurveTo(1.06,5.13,1.06,5.13);
2019        $s->drawCurveTo(1.04,5.03,1.02,4.90);
2020        $s->drawCurveTo(0.79,3.54,0.44,2.68);
2021        $s->drawCurveTo(-0.45,0.45,-2.03,1.24);
2022        $s->drawCurveTo(-3.46,1.95,-1.78,5.47);
2023        $s->drawCurveTo(-1.31,6.47,-0.70,7.45);
2024        $s->drawCurveTo(-0.64,7.54,-0.60,7.61);
2025        $s->drawCurveTo(-0.59,7.61,-0.59,7.62);
2026        $s->drawCurveTo(-0.59,7.61,-0.59,7.61);
2027        $s->drawCurveTo(-0.62,7.55,-0.67,7.47);
2028        $s->drawCurveTo(-1.16,6.66,-2.03,5.97);
2029        $s->drawCurveTo(-3.26,4.98,-4.50,5.97);
2030        $s->drawCurveTo(-5.76,6.98,-2.24,10.50);
2031        $s->drawCurveTo(-1.02,11.72,-0.29,14.01);
2032        $s->drawCurveTo(-0.23,14.22,-0.18,14.39);
2033        $s->drawCurveTo(-0.18,14.40,-0.18,14.41);
2034        $s->drawLineTo(-0.18,14.66);
2035        $s->drawLineTo(6.00,14.57);
2036        $ec->add($s);
2037       
2038        $ec->nextFrame(); $m->addExport($ec,"hand");
2039
2040        # ------ pen pointer
2041       
2042        $ec=new SWF::MovieClip();
2043        drawPen();
2044        $ec->nextFrame(); $m->addExport($ec,"pen");
2045       
2046        # ------ penx pointer
2047       
2048        $ec=new SWF::MovieClip();
2049        drawPen();
2050        $s=new SWF::Shape();
2051        $s->setLine(3,0,0,0);
2052        $s->movePenTo(5,18);
2053        $s->drawLine(5,-5); $s->movePen(-5,0); $s->drawLine(5,5);
2054        $ec->add($s);
2055        $ec->nextFrame(); $m->addExport($ec,"penx");
2056       
2057        # ------ penplus pointer
2058       
2059        $ec=new SWF::MovieClip();
2060        drawPen();
2061        $s=new SWF::Shape();
2062        $s->setLine(3,0,0,0);
2063        $s->movePenTo(6,14);
2064        $s->drawLine(0,5); $s->movePen(-2,-3); $s->drawLine(5,0);
2065        $ec->add($s);
2066        $ec->nextFrame(); $m->addExport($ec,"penplus");
2067       
2068        # ------ peno pointer
2069       
2070        $ec=new SWF::MovieClip();
2071        drawPen();
2072        $s=new SWF::Shape();
2073        $s->setLine(2,0,0,0);
2074        $s->setRightFill(255,255,255);
2075        $s->movePenTo(7,16); $s->drawCircle(2);
2076        $ec->add($s);
2077        $ec->nextFrame(); $m->addExport($ec,"peno");
2078       
2079        # ------ penso pointer (solid o)
2080       
2081        $ec=new SWF::MovieClip();
2082        drawPen();
2083        $s=new SWF::Shape();
2084        $s->setLine(2,0,0,0);
2085        $s->setRightFill(0,0,0);
2086        $s->movePenTo(7,16); $s->drawCircle(2);
2087        $ec->add($s);
2088        $ec->nextFrame(); $m->addExport($ec,"penso");
2089       
2090
2091
2092
2093        # ----- repeated drawing instructions
2094
2095        sub drawLargeCircle {
2096                $s->movePenTo(-10.00,0.00);
2097                $s->drawCurveTo(-10.00,-6.72,-3.75,-9.27);
2098                $s->drawCurveTo(-1.96,-10.00,0.00,-10.00);
2099                $s->drawCurveTo(7.41,-10.00,9.58,-2.89);
2100                $s->drawCurveTo(10.00,-1.48,10.00,0.00);
2101                $s->drawCurveTo(10.00,6.72,3.75,9.27);
2102                $s->drawCurveTo(1.96,10.00,0.00,10.00);
2103                $s->drawCurveTo(-7.41,10.00,-9.58,2.89);
2104                $s->drawCurveTo(-10.00,1.48,-10.00,0.00);
2105        }
2106
2107       
2108        sub drawSmallCircle {
2109                $s->movePenTo(-10.00,-2.50);
2110                $s->drawCurveTo(-10.00,-8.58,-4.03,-9.84);
2111                $s->drawCurveTo(-3.28,-10.00,-2.50,-10.00);
2112                $s->drawCurveTo(3.90,-10.00,4.91,-3.67);
2113                $s->drawCurveTo(5.00,-3.09,5.00,-2.50);
2114                $s->drawCurveTo(5.00,3.58,-0.97,4.84);
2115                $s->drawCurveTo(-1.72,5.00,-2.50,5.00);
2116                $s->drawCurveTo(-8.90,5.00,-9.91,-1.33);
2117                $s->drawCurveTo(-10.00,-1.91,-10.00,-2.50);
2118        }
2119
2120        sub drawPen {
2121                $s=new SWF::Shape();
2122                $s->setLine(1.08,0,0,0);
2123                $s->setRightFill(255,255,255);
2124                $s->movePenTo(-2.13,13.97);
2125                $s->drawLineTo(-4.50,8.76);
2126                $s->drawLineTo(-0.00,0.00);
2127                $s->drawLineTo(4.50,8.76);
2128                $s->drawLineTo(1.89,13.97);
2129                $s->drawLineTo(-2.13,13.97);
2130                $ec->add($s);
2131               
2132                $s=new SWF::Shape();
2133                $s->setLine(1.08,130,130,130);
2134                $s->movePenTo(-0.00,8.53);
2135                $s->drawLineTo(-0.00,1.90);
2136                $s->drawLineTo(-0.20,1.90);
2137                $s->drawLineTo(-0.20,8.53);
2138                $s->drawLineTo(-0.00,8.53);
2139                $ec->add($s);
2140               
2141                $s=new SWF::Shape();
2142                $s->setLine(1.08,0,0,0);
2143                $s->movePenTo(-3.79,13.97);
2144                $s->drawLineTo(4.03,13.97);
2145                $ec->add($s);
2146               
2147                $s=new SWF::Shape();
2148                $s->setRightFill(0,0,0);
2149                $s->movePenTo(2.60,14.21);
2150                $s->drawLineTo(-2.61,14.21);
2151                $s->drawLineTo(-2.61,17.53);
2152                $s->drawLineTo(2.60,17.53);
2153                $s->drawLineTo(2.60,14.21);
2154                $ec->add($s);
2155        }
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166# ------ potlatch_iaddress sprite
2167
2168$ec=new SWF::MovieClip();
2169
2170$s=new SWF::Shape();
2171$s->setRightFill(190,190,190);
2172$s->movePenTo(-10.00,7.17);
2173$s->drawLineTo(19.00,7.17);
2174$s->drawLineTo(19.00,-10.00);
2175$s->drawLineTo(-10.00,-10.00);
2176$s->drawLineTo(-10.00,7.17);
2177$ec->add($s);
2178
2179$s=new SWF::Shape();
2180$s->setLine(1.34,255,255,255);
2181$s->movePenTo(-6.94,0.38);
2182$s->drawCurveTo(-7.81,-4.67,-2.76,-5.53);
2183$s->drawCurveTo(2.28,-6.40,3.15,-1.35);
2184$s->drawCurveTo(4.01,3.69,-1.03,4.56);
2185$s->drawCurveTo(-6.08,5.42,-6.94,0.38);
2186$ec->add($s);
2187
2188$s=new SWF::Shape();
2189$s->setLine(0.67,255,255,255);
2190$s->movePenTo(3.26,-5.32);
2191$s->drawCurveTo(3.27,-5.34,3.27,-5.35);
2192$s->drawCurveTo(3.36,-5.49,3.48,-5.65);
2193$s->drawCurveTo(4.75,-7.29,6.33,-5.85);
2194$s->drawCurveTo(8.35,-4.01,9.40,-6.38);
2195$s->drawCurveTo(10.52,-8.89,12.87,-6.91);
2196$s->drawCurveTo(12.88,-6.90,12.89,-6.90);
2197$s->drawCurveTo(13.00,-6.79,13.16,-6.69);
2198$s->drawCurveTo(14.77,-5.64,15.92,-7.55);
2199$ec->add($s);
2200
2201$s=new SWF::Shape();
2202$s->setLine(0.67,255,255,255);
2203$s->movePenTo(5.15,-3.84);
2204$s->drawCurveTo(5.95,-3.98,6.78,-3.21);
2205$s->drawCurveTo(8.80,-1.37,9.85,-3.74);
2206$s->drawCurveTo(10.97,-6.25,13.32,-4.28);
2207$s->drawCurveTo(13.33,-4.27,13.34,-4.26);
2208$s->drawCurveTo(13.45,-4.16,13.60,-4.06);
2209$s->drawCurveTo(15.22,-3.00,16.37,-4.91);
2210$ec->add($s);
2211
2212$s=new SWF::Shape();
2213$s->setLine(0.67,255,255,255);
2214$s->movePenTo(5.66,-1.21);
2215$s->drawCurveTo(6.43,-1.31,7.23,-0.58);
2216$s->drawCurveTo(9.25,1.26,10.30,-1.11);
2217$s->drawCurveTo(11.42,-3.62,13.77,-1.64);
2218$s->drawCurveTo(13.78,-1.63,13.79,-1.63);
2219$s->drawCurveTo(13.90,-1.53,14.05,-1.43);
2220$s->drawCurveTo(15.67,-0.37,16.82,-2.28);
2221$ec->add($s);
2222
2223$s=new SWF::Shape();
2224$s->setLine(0.67,255,255,255);
2225$s->movePenTo(4.61,2.58);
2226$s->drawCurveTo(4.62,2.57,4.63,2.56);
2227$s->drawCurveTo(4.71,2.41,4.83,2.25);
2228$s->drawCurveTo(6.11,0.62,7.69,2.06);
2229$s->drawCurveTo(9.70,3.90,10.76,1.53);
2230$s->drawCurveTo(11.87,-0.98,14.22,0.99);
2231$s->drawCurveTo(14.23,1.00,14.24,1.01);
2232$s->drawCurveTo(14.36,1.11,14.51,1.21);
2233$s->drawCurveTo(16.13,2.26,17.27,0.36);
2234$ec->add($s);
2235
2236$s=new SWF::Shape();
2237$s->setRightFill(255,255,255);
2238$s->movePenTo(-0.14,0.31);
2239$s->drawCurveTo(-0.03,1.01,0.11,1.45);
2240$s->drawLineTo(-0.67,1.57);
2241$s->drawLineTo(-0.85,0.98);
2242$s->drawLineTo(-0.87,0.99);
2243$s->drawCurveTo(-1.25,1.78,-2.23,1.93);
2244$s->drawCurveTo(-3.69,2.16,-3.91,0.78);
2245$s->drawCurveTo(-4.19,-1.02,-1.30,-1.45);
2246$s->drawLineTo(-1.32,-1.55);
2247$s->drawCurveTo(-1.50,-2.67,-2.58,-2.49);
2248$s->drawCurveTo(-3.31,-2.37,-3.78,-1.94);
2249$s->drawLineTo(-4.07,-2.49);
2250$s->drawCurveTo(-3.47,-3.01,-2.55,-3.15);
2251$s->drawCurveTo(-0.72,-3.44,-0.42,-1.48);
2252$s->drawLineTo(-0.14,0.31);
2253$ec->add($s);
2254
2255$s=new SWF::Shape();
2256$s->setRightFill(190,190,190);
2257$s->movePenTo(-1.19,-0.85);
2258$s->drawCurveTo(-3.23,-0.58,-3.05,0.55);
2259$s->drawCurveTo(-2.92,1.38,-2.11,1.25);
2260$s->drawCurveTo(-1.21,1.11,-1.06,0.26);
2261$s->drawCurveTo(-1.04,0.14,-1.06,-0.02);
2262$s->drawLineTo(-1.19,-0.85);
2263$ec->add($s);
2264
2265$ec->nextFrame(); $m->addExport($ec,"preset_address");
2266
2267# ------ potlatch_ilanduse sprite
2268
2269$ec=new SWF::MovieClip();
2270
2271$s=new SWF::Shape();
2272$s->setRightFill(190,190,190);
2273$s->movePenTo(-10.00,7.17);
2274$s->drawLineTo(19.00,7.17);
2275$s->drawLineTo(19.00,-10.00);
2276$s->drawLineTo(-10.00,-10.00);
2277$s->drawLineTo(-10.00,7.17);
2278$ec->add($s);
2279
2280$s=new SWF::Shape();
2281$s->setRightFill(255,255,255);
2282$s->movePenTo(3.38,4.72);
2283$s->drawLineTo(-6.53,4.72);
2284$s->drawLineTo(-6.53,-6.80);
2285$s->drawLineTo(3.38,-6.80);
2286$s->drawLineTo(3.38,4.72);
2287$ec->add($s);
2288
2289$s=new SWF::Shape();
2290$s->setRightFill(255,255,255);
2291$s->movePenTo(15.67,-0.20);
2292$s->drawLineTo(4.91,-0.20);
2293$s->drawLineTo(4.91,-6.80);
2294$s->drawLineTo(15.67,-6.80);
2295$s->drawLineTo(15.67,-0.20);
2296$ec->add($s);
2297
2298$s=new SWF::Shape();
2299$s->setRightFill(255,255,255);
2300$s->movePenTo(15.67,4.69);
2301$s->drawLineTo(4.91,4.69);
2302$s->drawLineTo(4.91,1.69);
2303$s->drawLineTo(15.67,1.69);
2304$s->drawLineTo(15.67,4.69);
2305$ec->add($s);
2306
2307$ec->nextFrame(); $m->addExport($ec,"preset_landuse");
2308
2309# ------ potlatch_itrack sprite
2310
2311$ec=new SWF::MovieClip();
2312
2313$s=new SWF::Shape();
2314$s->setRightFill(190,190,190);
2315$s->movePenTo(-10.00,7.17);
2316$s->drawLineTo(19.00,7.17);
2317$s->drawLineTo(19.00,-10.00);
2318$s->drawLineTo(-10.00,-10.00);
2319$s->drawLineTo(-10.00,7.17);
2320$ec->add($s);
2321
2322$s=new SWF::Shape();
2323$s->setRightFill(255,255,255);
2324$s->movePenTo(13.00,7.21);
2325$s->drawCurveTo(12.93,4.45,12.91,4.25);
2326$s->drawCurveTo(12.77,2.60,8.65,-1.01);
2327$s->drawCurveTo(8.49,-1.16,8.37,-1.27);
2328$s->drawCurveTo(5.66,-3.78,5.79,-4.92);
2329$s->drawCurveTo(5.86,-5.59,8.36,-6.76);
2330$s->drawCurveTo(8.59,-6.87,8.78,-6.95);
2331$s->drawCurveTo(8.80,-6.96,8.81,-6.96);
2332$s->drawLineTo(7.92,-7.05);
2333$s->drawCurveTo(7.91,-7.05,7.90,-7.04);
2334$s->drawCurveTo(7.72,-6.99,7.50,-6.91);
2335$s->drawCurveTo(5.16,-6.08,3.74,-5.18);
2336$s->drawCurveTo(2.20,-4.21,3.69,-1.91);
2337$s->drawCurveTo(3.89,-1.60,4.10,-1.36);
2338$s->drawCurveTo(4.79,-0.52,5.46,0.77);
2339$s->drawCurveTo(6.36,2.49,6.41,3.81);
2340$s->drawCurveTo(6.45,4.86,3.24,7.16);
2341$s->drawLineTo(13.00,7.21);
2342$ec->add($s);
2343
2344$s=new SWF::Shape();
2345$s->setLine(0.67,255,255,255);
2346$s->movePenTo(-7.43,-6.05);
2347$s->drawCurveTo(-7.42,-6.06,-7.41,-6.07);
2348$s->drawCurveTo(-7.28,-6.17,-7.11,-6.29);
2349$s->drawCurveTo(-5.25,-7.56,-3.65,-7.27);
2350$s->drawCurveTo(-3.24,-7.20,-1.36,-6.24);
2351$s->drawCurveTo(-0.77,-5.94,0.02,-5.94);
2352$s->drawCurveTo(0.14,-5.94,3.46,-7.10);
2353$s->drawCurveTo(4.34,-7.41,5.03,-7.27);
2354$s->drawCurveTo(7.62,-6.76,8.37,-7.16);
2355$s->drawCurveTo(10.77,-8.47,12.15,-7.61);
2356$s->drawCurveTo(15.00,-5.83,16.83,-5.83);
2357$ec->add($s);
2358
2359$ec->nextFrame(); $m->addExport($ec,"preset_track");
2360
2361# ------ potlatch_ilighthouse sprite
2362
2363$ec=new SWF::MovieClip();
2364
2365$s=new SWF::Shape();
2366$s->setRightFill(190,190,190);
2367$s->movePenTo(-10.00,7.17);
2368$s->drawLineTo(19.00,7.17);
2369$s->drawLineTo(19.00,-10.00);
2370$s->drawLineTo(-10.00,-10.00);
2371$s->drawLineTo(-10.00,7.17);
2372$ec->add($s);
2373
2374$s=new SWF::Shape();
2375$s->setRightFill(255,255,255);
2376$s->movePenTo(-7.66,-4.74);
2377$s->drawLineTo(-1.65,-8.52);
2378$s->drawLineTo(4.36,-4.74);
2379$s->drawLineTo(-3.54,-4.74);
2380$s->drawLineTo(-3.54,1.35);
2381$s->drawLineTo(2.64,1.35);
2382$s->drawLineTo(4.70,1.93);
2383$s->drawLineTo(4.64,2.86);
2384$s->drawLineTo(-7.54,2.86);
2385$s->drawLineTo(-7.54,1.47);
2386$s->drawLineTo(-4.98,1.47);
2387$s->drawLineTo(-4.98,-4.74);
2388$s->drawLineTo(-7.66,-4.74);
2389$ec->add($s);
2390
2391$s=new SWF::Shape();
2392$s->setRightFill(255,255,255);
2393$s->movePenTo(16.04,-8.02);
2394$s->drawLineTo(1.80,-2.26);
2395$s->drawLineTo(16.84,-5.78);
2396$s->drawLineTo(16.84,-8.01);
2397$s->drawLineTo(16.04,-8.02);
2398$ec->add($s);
2399
2400$s=new SWF::Shape();
2401$s->setRightFill(255,255,255);
2402$s->movePenTo(16.38,2.57);
2403$s->drawLineTo(1.86,-0.31);
2404$s->drawLineTo(15.26,4.37);
2405$s->drawLineTo(16.38,4.37);
2406$s->drawLineTo(16.38,2.57);
2407$ec->add($s);
2408
2409$s=new SWF::Shape();
2410$s->setRightFill(255,255,255);
2411$s->movePenTo(0.88,-3.12);
2412$s->drawCurveTo(0.59,-3.22,0.29,-3.22);
2413$s->drawCurveTo(-2.31,-3.22,-2.31,-1.48);
2414$s->drawCurveTo(-2.31,0.25,0.29,0.25);
2415$s->drawCurveTo(0.68,0.25,1.03,0.09);
2416$s->drawCurveTo(1.02,0.08,1.01,0.08);
2417$s->drawCurveTo(0.90,0.03,0.78,-0.04);
2418$s->drawCurveTo(-0.53,-0.78,-0.53,-1.47);
2419$s->drawCurveTo(-0.53,-2.16,0.66,-2.98);
2420$s->drawCurveTo(0.77,-3.05,0.86,-3.11);
2421$s->drawCurveTo(0.87,-3.11,0.87,-3.11);
2422$ec->add($s);
2423
2424$s=new SWF::Shape();
2425$s->setRightFill(255,255,255);
2426$s->movePenTo(2.47,5.78);
2427$s->drawLineTo(-5.76,5.78);
2428$s->drawLineTo(-5.76,1.74);
2429$s->drawLineTo(2.47,1.74);
2430$s->drawLineTo(2.47,5.78);
2431$ec->add($s);
2432
2433$ec->nextFrame(); $m->addExport($ec,"preset_landmark");
2434
2435# ------ potlatch_ishopping sprite
2436
2437$ec=new SWF::MovieClip();
2438
2439$s=new SWF::Shape();
2440$s->setRightFill(190,190,190);
2441$s->movePenTo(-10.00,7.17);
2442$s->drawLineTo(19.00,7.17);
2443$s->drawLineTo(19.00,-10.00);
2444$s->drawLineTo(-10.00,-10.00);
2445$s->drawLineTo(-10.00,7.17);
2446$ec->add($s);
2447
2448$s=new SWF::Shape();
2449$s->setRightFill(255,255,255);
2450$s->movePenTo(-0.18,-4.92);
2451$s->drawLineTo(9.35,-4.92);
2452$s->drawCurveTo(9.38,-4.91,9.42,-4.90);
2453$s->drawCurveTo(9.79,-4.76,9.79,-4.34);
2454$s->drawCurveTo(9.79,-4.34,9.79,3.45);
2455$s->drawCurveTo(9.79,3.46,9.79,3.47);
2456$s->drawCurveTo(9.74,3.61,9.68,3.79);
2457$s->drawCurveTo(8.97,5.58,7.66,5.58);
2458$s->drawCurveTo(7.66,5.58,1.47,5.58);
2459$s->drawCurveTo(1.46,5.58,1.45,5.57);
2460$s->drawCurveTo(1.31,5.53,1.15,5.45);
2461$s->drawCurveTo(-0.62,4.66,-0.62,3.49);
2462$s->drawCurveTo(-0.62,3.49,-0.62,-4.43);
2463$s->drawCurveTo(-0.62,-4.47,-0.60,-4.51);
2464$s->drawCurveTo(-0.48,-4.92,-0.18,-4.92);
2465$ec->add($s);
2466
2467$s=new SWF::Shape();
2468$s->setLine(1.34,255,255,255);
2469$s->movePenTo(2.63,-4.97);
2470$s->drawLineTo(2.63,-5.77);
2471$s->drawCurveTo(2.63,-5.78,2.63,-5.79);
2472$s->drawCurveTo(2.62,-5.92,2.63,-6.08);
2473$s->drawCurveTo(2.79,-7.77,4.63,-7.77);
2474$s->drawCurveTo(6.47,-7.77,6.59,-6.04);
2475$s->drawCurveTo(6.60,-5.88,6.59,-5.75);
2476$s->drawCurveTo(6.59,-5.73,6.59,-5.73);
2477$s->drawLineTo(6.59,-4.97);
2478$ec->add($s);
2479
2480$s=new SWF::Shape();
2481$s->setLine(0.73,190,190,190);
2482$s->movePenTo(8.37,-5.38);
2483$s->drawCurveTo(8.37,-5.37,8.37,-5.36);
2484$s->drawCurveTo(8.34,-5.25,8.31,-5.10);
2485$s->drawCurveTo(7.97,-3.58,7.67,-3.32);
2486$ec->add($s);
2487
2488$s=new SWF::Shape();
2489$s->setLine(0.73,190,190,190);
2490$s->movePenTo(7.94,-2.99);
2491$s->drawCurveTo(8.11,-2.79,7.91,-2.61);
2492$s->drawLineTo(6.27,-1.23);
2493$s->drawCurveTo(6.07,-1.06,5.90,-1.27);
2494$s->drawLineTo(5.35,-1.91);
2495$s->drawCurveTo(5.18,-2.12,5.38,-2.29);
2496$s->drawLineTo(7.02,-3.67);
2497$s->drawCurveTo(7.22,-3.84,7.39,-3.64);
2498$s->drawLineTo(7.94,-2.99);
2499$ec->add($s);
2500
2501$ec->nextFrame(); $m->addExport($ec,"preset_shop");
2502
2503# ------ potlatch_ipostbox sprite
2504
2505$ec=new SWF::MovieClip();
2506
2507$s=new SWF::Shape();
2508$s->setRightFill(190,190,190);
2509$s->movePenTo(-10.00,7.17);
2510$s->drawLineTo(19.00,7.17);
2511$s->drawLineTo(19.00,-10.00);
2512$s->drawLineTo(-10.00,-10.00);
2513$s->drawLineTo(-10.00,7.17);
2514$ec->add($s);
2515
2516$s=new SWF::Shape();
2517$s->setRightFill(255,255,255);
2518$s->movePenTo(-2.13,5.78);
2519$s->drawLineTo(-2.13,-1.45);
2520$s->drawLineTo(-4.05,-4.46);
2521$s->drawLineTo(-4.38,-4.50);
2522$s->drawLineTo(-4.42,-6.29);
2523$s->drawCurveTo(-4.41,-6.30,-4.40,-6.31);
2524$s->drawCurveTo(-4.25,-6.42,-4.01,-6.56);
2525$s->drawCurveTo(-1.40,-8.01,4.09,-8.01);
2526$s->drawCurveTo(9.58,-8.01,12.90,-6.52);
2527$s->drawCurveTo(13.21,-6.39,13.41,-6.27);
2528$s->drawCurveTo(13.43,-6.26,13.44,-6.25);
2529$s->drawLineTo(13.48,-4.54);
2530$s->drawLineTo(12.90,-4.54);
2531$s->drawLineTo(11.44,-1.54);
2532$s->drawLineTo(11.44,5.86);
2533$s->drawLineTo(-2.13,5.78);
2534$ec->add($s);
2535
2536$s=new SWF::Shape();
2537$s->setRightFill(190,190,190);
2538$s->movePenTo(8.01,3.05);
2539$s->drawLineTo(0.79,3.05);
2540$s->drawLineTo(0.79,0.38);
2541$s->drawLineTo(8.01,0.38);
2542$s->drawLineTo(8.01,3.05);
2543$ec->add($s);
2544
2545$s=new SWF::Shape();
2546$s->setLine(1.00,190,190,190);
2547$s->movePenTo(-1.71,-1.75);
2548$s->drawLineTo(10.77,-1.75);
2549$ec->add($s);
2550
2551$s=new SWF::Shape();
2552$s->setLine(1.00,190,190,190);
2553$s->movePenTo(-3.38,-4.54);
2554$s->drawLineTo(12.23,-4.54);
2555$ec->add($s);
2556
2557$s=new SWF::Shape();
2558$s->setRightFill(190,190,190);
2559$s->movePenTo(5.87,4.85);
2560$s->drawLineTo(2.86,4.85);
2561$s->drawLineTo(2.86,6.30);
2562$s->drawLineTo(5.87,6.30);
2563$s->drawLineTo(5.87,4.85);
2564$ec->add($s);
2565
2566$ec->nextFrame(); $m->addExport($ec,"preset_utility");
2567
2568# ------ potlatch_ifootball sprite
2569
2570$ec=new SWF::MovieClip();
2571
2572$s=new SWF::Shape();
2573$s->setRightFill(190,190,190);
2574$s->movePenTo(-10.00,7.17);
2575$s->drawLineTo(19.00,7.17);
2576$s->drawLineTo(19.00,-10.00);
2577$s->drawLineTo(-10.00,-10.00);
2578$s->drawLineTo(-10.00,7.17);
2579$ec->add($s);
2580
2581$s=new SWF::Shape();
2582$s->setRightFill(255,255,255);
2583$s->movePenTo(-3.56,-1.26);
2584$s->drawCurveTo(-3.56,-8.85,4.03,-8.85);
2585$s->drawCurveTo(11.62,-8.85,11.62,-1.26);
2586$s->drawCurveTo(11.62,6.34,4.03,6.34);
2587$s->drawCurveTo(-3.56,6.34,-3.56,-1.26);
2588$ec->add($s);
2589
2590$s=new SWF::Shape();
2591$s->setRightFill(190,190,190);
2592$s->movePenTo(0.97,-6.34);
2593$s->drawCurveTo(0.97,-6.34,0.98,-6.35);
2594$s->drawCurveTo(1.05,-6.39,1.14,-6.44);
2595$s->drawCurveTo(2.07,-6.96,2.52,-7.10);
2596$s->drawCurveTo(2.98,-7.24,4.09,-7.50);
2597$s->drawCurveTo(4.19,-7.52,4.28,-7.54);
2598$s->drawCurveTo(4.28,-7.54,4.29,-7.54);
2599$s->drawCurveTo(4.29,-7.54,4.42,-7.45);
2600$s->drawCurveTo(5.18,-6.93,5.49,-6.62);
2601$s->drawCurveTo(5.79,-6.33,6.50,-5.56);
2602$s->drawCurveTo(6.56,-5.49,6.61,-5.43);
2603$s->drawCurveTo(6.62,-5.43,6.62,-5.42);
2604$s->drawLineTo(4.74,-2.66);
2605$s->drawLineTo(1.11,-3.32);
2606$s->drawCurveTo(1.11,-3.33,1.11,-3.34);
2607$s->drawCurveTo(1.09,-3.43,1.08,-3.54);
2608$s->drawCurveTo(0.94,-4.71,0.94,-4.95);
2609$s->drawCurveTo(0.94,-5.19,0.96,-6.16);
2610$s->drawCurveTo(0.96,-6.25,0.97,-6.33);
2611$s->drawCurveTo(0.97,-6.33,0.97,-6.34);
2612$ec->add($s);
2613
2614$s=new SWF::Shape();
2615$s->setRightFill(190,190,190);
2616$s->movePenTo(-1.13,-0.54);
2617$s->drawLineTo(-3.04,-1.16);
2618$s->drawCurveTo(-3.04,-1.15,-3.04,-1.14);
2619$s->drawCurveTo(-3.05,-1.01,-3.07,-0.85);
2620$s->drawCurveTo(-3.22,0.88,-3.16,1.20);
2621$s->drawCurveTo(-3.00,2.04,-1.81,3.27);
2622$s->drawCurveTo(-1.44,3.65,-1.11,3.81);
2623$s->drawCurveTo(-1.09,3.81,-0.05,2.94);
2624$s->drawCurveTo(0.05,2.86,0.13,2.79);
2625$s->drawCurveTo(0.13,2.79,0.14,2.78);
2626$s->drawCurveTo(0.14,2.78,0.11,2.72);
2627$s->drawCurveTo(0.02,2.53,-0.05,2.39);
2628$s->drawCurveTo(-1.03,0.26,-1.13,-0.54);
2629$ec->add($s);
2630
2631$s=new SWF::Shape();
2632$s->setRightFill(190,190,190);
2633$s->movePenTo(3.72,3.56);
2634$s->drawCurveTo(3.73,3.54,3.74,3.54);
2635$s->drawCurveTo(3.86,3.42,4.00,3.28);
2636$s->drawCurveTo(5.51,1.77,5.96,1.03);
2637$s->drawCurveTo(5.96,1.02,8.48,1.37);
2638$s->drawCurveTo(8.72,1.40,8.92,1.43);
2639$s->drawCurveTo(8.94,1.43,8.95,1.44);
2640$s->drawCurveTo(8.95,1.44,8.95,1.45);
2641$s->drawCurveTo(8.97,1.56,8.97,1.72);
2642$s->drawCurveTo(9.05,3.31,8.55,4.05);
2643$s->drawCurveTo(8.55,4.05,8.34,4.22);
2644$s->drawCurveTo(7.17,5.11,5.87,5.32);
2645$s->drawCurveTo(5.60,5.36,5.33,5.37);
2646$s->drawCurveTo(5.25,5.37,4.58,4.67);
2647$s->drawCurveTo(3.89,3.96,3.75,3.60);
2648$ec->add($s);
2649
2650$s=new SWF::Shape();
2651$s->setRightFill(190,190,190);
2652$s->movePenTo(9.64,-4.60);
2653$s->drawCurveTo(9.64,-4.60,9.64,-4.61);
2654$s->drawCurveTo(9.67,-4.68,9.70,-4.76);
2655$s->drawCurveTo(10.01,-5.64,9.97,-5.94);
2656$s->drawCurveTo(9.99,-5.94,10.14,-5.76);
2657$s->drawCurveTo(11.07,-4.65,11.33,-3.37);
2658$s->drawCurveTo(11.59,-2.12,11.62,-1.23);
2659$s->drawCurveTo(11.62,-1.15,11.62,-1.10);
2660$s->drawCurveTo(11.62,-1.09,11.62,-1.09);
2661$s->drawCurveTo(11.61,-1.09,11.61,-1.09);
2662$s->drawCurveTo(11.56,-1.11,11.50,-1.13);
2663$s->drawCurveTo(10.89,-1.37,10.68,-1.37);
2664$s->drawCurveTo(10.68,-1.37,10.67,-1.40);
2665$s->drawCurveTo(10.65,-1.58,10.62,-1.77);
2666$s->drawCurveTo(10.29,-3.99,9.64,-4.60);
2667$ec->add($s);
2668
2669$s=new SWF::Shape();
2670$s->setLine(0.73,190,190,190);
2671$s->movePenTo(4.63,-3.39);
2672$s->drawLineTo(6.09,1.43);
2673$ec->add($s);
2674
2675$s=new SWF::Shape();
2676$s->setLine(0.73,190,190,190);
2677$s->movePenTo(-1.27,-0.38);
2678$s->drawLineTo(1.50,-3.89);
2679$ec->add($s);
2680
2681$s=new SWF::Shape();
2682$s->setLine(0.73,190,190,190);
2683$s->movePenTo(1.37,-6.10);
2684$s->drawLineTo(-1.85,-6.83);
2685$ec->add($s);
2686
2687$s=new SWF::Shape();
2688$s->setLine(0.73,190,190,190);
2689$s->movePenTo(4.27,-7.43);
2690$s->drawCurveTo(4.27,-7.43,4.27,-7.44);
2691$s->drawCurveTo(4.31,-7.52,4.37,-7.61);
2692$s->drawCurveTo(4.95,-8.65,5.54,-9.13);
2693$ec->add($s);
2694
2695$s=new SWF::Shape();
2696$s->setLine(0.73,190,190,190);
2697$s->movePenTo(5.82,-5.46);
2698$s->drawCurveTo(5.84,-5.45,5.86,-5.45);
2699$s->drawCurveTo(6.10,-5.42,6.40,-5.38);
2700$s->drawCurveTo(9.61,-4.96,10.23,-4.45);
2701$ec->add($s);
2702
2703$s=new SWF::Shape();
2704$s->setLine(0.73,190,190,190);
2705$s->movePenTo(8.77,1.72);
2706$s->drawCurveTo(8.78,1.70,8.79,1.69);
2707$s->drawCurveTo(8.92,1.51,9.09,1.29);
2708$s->drawCurveTo(10.86,-1.14,10.96,-2.06);
2709$ec->add($s);
2710
2711$s=new SWF::Shape();
2712$s->setLine(0.73,190,190,190);
2713$s->movePenTo(9.81,4.46);
2714$s->drawCurveTo(9.81,4.46,9.80,4.46);
2715$s->drawCurveTo(9.72,4.43,9.62,4.39);
2716$s->drawCurveTo(8.54,3.99,7.89,3.91);
2717$ec->add($s);
2718
2719$s=new SWF::Shape();
2720$s->setLine(0.73,190,190,190);
2721$s->movePenTo(3.98,3.53);
2722$s->drawCurveTo(3.97,3.53,3.95,3.53);
2723$s->drawCurveTo(3.77,3.52,3.54,3.49);
2724$s->drawCurveTo(1.10,3.24,-0.16,2.71);
2725$ec->add($s);
2726
2727$s=new SWF::Shape();
2728$s->setLine(0.73,190,190,190);
2729$s->movePenTo(3.48,6.80);
2730$s->drawCurveTo(3.49,6.80,3.50,6.79);
2731$s->drawCurveTo(3.61,6.74,3.74,6.66);
2732$s->drawCurveTo(5.18,5.85,5.54,5.13);
2733$ec->add($s);
2734
2735$s=new SWF::Shape();
2736$s->setLine(0.73,190,190,190);
2737$s->movePenTo(-0.24,5.84);
2738$s->drawCurveTo(-0.25,5.83,-0.25,5.82);
2739$s->drawCurveTo(-0.30,5.70,-0.37,5.56);
2740$s->drawCurveTo(-1.07,4.03,-1.23,3.44);
2741$ec->add($s);
2742
2743$s=new SWF::Shape();
2744$s->setLine(0.73,190,190,190);
2745$s->movePenTo(-2.72,-0.45);
2746$s->drawCurveTo(-2.72,-0.45,-2.72,-0.46);
2747$s->drawCurveTo(-2.73,-0.50,-2.75,-0.57);
2748$s->drawCurveTo(-2.94,-1.25,-3.08,-1.93);
2749$s->drawCurveTo(-3.47,-3.89,-3.18,-4.49);
2750$ec->add($s);
2751
2752$ec->nextFrame(); $m->addExport($ec,"preset_recreation");
2753
2754
2755
2756
2757    # ------ editlive sprite
2758
2759    $ec=new SWF::MovieClip();
2760
2761    $s=new SWF::Shape();
2762    $s->setLine(0.27,0,0,0);
2763    $s->setRightFill(255,255,255);
2764    $s->movePenTo(12.56,7.80);
2765    $s->drawLineTo(19.00,11.73);
2766    $s->drawCurveTo(19.00,11.74,18.99,11.74);
2767    $s->drawCurveTo(18.94,11.80,18.87,11.89);
2768    $s->drawCurveTo(18.10,12.76,17.17,13.83);
2769    $s->drawCurveTo(7.05,25.41,6.29,26.77);
2770    $s->drawCurveTo(5.53,28.13,4.65,28.81);
2771    $s->drawCurveTo(4.57,28.87,4.51,28.91);
2772    $s->drawCurveTo(4.50,28.92,4.50,28.92);
2773    $s->drawCurveTo(4.47,28.91,4.44,28.90);
2774    $s->drawCurveTo(4.11,28.76,3.68,28.59);
2775    $s->drawCurveTo(-1.04,26.67,-3.91,25.16);
2776    $s->drawCurveTo(-6.78,23.65,-9.08,22.03);
2777    $s->drawCurveTo(-9.29,21.89,-9.44,21.78);
2778    $s->drawCurveTo(-9.45,21.77,-9.46,21.76);
2779    $s->drawLineTo(-7.14,19.07);
2780    $s->drawLineTo(5.57,5.83);
2781    $s->drawLineTo(12.56,7.80);
2782    $ec->add($s);
2783
2784    $s=new SWF::Shape();
2785    $s->setLine(0.27,0,0,0);
2786    $s->movePenTo(0.56,27.49);
2787    $s->drawLineTo(16.67,10.48);
2788    $ec->add($s);
2789
2790    $s=new SWF::Shape();
2791    $s->setLine(0.27,0,0,0);
2792    $s->movePenTo(8.62,14.24);
2793    $s->drawCurveTo(8.64,14.22,8.67,14.19);
2794    $s->drawCurveTo(8.97,13.92,9.35,13.59);
2795    $s->drawCurveTo(13.44,9.95,14.35,9.05);
2796    $ec->add($s);
2797
2798    $s=new SWF::Shape();
2799    $s->setLine(0.27,0,0,0);
2800    $s->movePenTo(15.78,14.96);
2801    $s->drawLineTo(10.23,11.55);
2802    $ec->add($s);
2803
2804    $s=new SWF::Shape();
2805    $s->setRightFill(169,0,0);
2806    $s->movePenTo(13.76,2.47);
2807    $s->drawLineTo(12.69,7.57);
2808    $s->drawLineTo(10.54,6.50);
2809    $s->drawLineTo(12.42,14.29);
2810    $s->drawLineTo(18.87,8.65);
2811    $s->drawLineTo(16.18,8.11);
2812    $s->drawLineTo(18.60,-3.97);
2813                $s->drawLineTo(13.76,2.47);
2814    $ec->add($s);
2815
2816    $s=new SWF::Shape();
2817    $s->setLine(0.27,0,0,0);
2818    $s->setRightFill(255,255,255);
2819    $s->movePenTo(-10.00,18.72);
2820    $s->drawCurveTo(-10.00,18.71,-9.99,18.71);
2821    $s->drawCurveTo(-9.95,18.65,-9.89,18.58);
2822    $s->drawCurveTo(-9.23,17.77,-8.43,16.79);
2823    $s->drawCurveTo(0.28,6.11,1.64,4.75);
2824    $s->drawCurveTo(3.00,3.39,3.98,2.11);
2825    $s->drawCurveTo(4.07,1.99,4.13,1.90);
2826    $s->drawCurveTo(4.14,1.90,4.14,1.89);
2827    $s->drawCurveTo(4.14,1.89,4.16,1.89);
2828    $s->drawCurveTo(4.31,1.88,4.56,1.87);
2829    $s->drawCurveTo(6.98,1.82,8.80,2.42);
2830    $s->drawCurveTo(10.61,3.03,13.94,3.89);
2831    $s->drawCurveTo(14.25,3.97,14.49,4.03);
2832    $s->drawCurveTo(14.51,4.03,14.52,4.04);
2833    $s->drawCurveTo(14.52,4.04,14.07,4.86);
2834    $s->drawCurveTo(11.41,9.65,9.69,12.63);
2835    $s->drawCurveTo(8.03,15.50,4.88,21.28);
2836    $s->drawCurveTo(4.58,21.81,4.36,22.23);
2837    $s->drawCurveTo(4.34,22.26,4.32,22.29);
2838    $s->drawCurveTo(4.32,22.29,4.25,22.26);
2839    $s->drawCurveTo(3.99,22.14,3.80,22.06);
2840    $s->drawCurveTo(0.85,20.74,-1.23,20.15);
2841    $s->drawCurveTo(-3.34,19.54,-9.00,18.84);
2842    $s->drawCurveTo(-9.52,18.77,-9.93,18.72);
2843    $s->drawCurveTo(-9.97,18.72,-10.00,18.72);
2844    $ec->add($s);
2845
2846    $s=new SWF::Shape();
2847    $s->setLine(0.27,0,0,0);
2848    $s->movePenTo(-4.27,19.43);
2849    $s->drawCurveTo(-4.25,19.39,-4.22,19.34);
2850    $s->drawCurveTo(-3.95,18.81,-3.61,18.15);
2851    $s->drawCurveTo(0.13,10.98,1.64,8.87);
2852    $s->drawCurveTo(3.15,6.75,6.12,2.62);
2853    $s->drawCurveTo(6.40,2.23,6.61,1.94);
2854    $s->drawCurveTo(6.63,1.91,6.65,1.89);
2855    $ec->add($s);
2856
2857    $s=new SWF::Shape();
2858    $s->setLine(0.27,0,0,0);
2859    $s->movePenTo(10.05,2.78);
2860    $s->drawCurveTo(10.03,2.81,10.01,2.85);
2861    $s->drawCurveTo(9.79,3.23,9.51,3.71);
2862    $s->drawCurveTo(6.57,8.82,5.22,11.38);
2863    $s->drawCurveTo(3.86,13.94,1.36,19.67);
2864    $s->drawCurveTo(1.13,20.20,0.95,20.62);
2865    $s->drawCurveTo(0.93,20.65,0.92,20.68);
2866    $ec->add($s);
2867
2868    $s=new SWF::Shape();
2869    $s->setLine(0.27,0,0,0);
2870    $s->movePenTo(-5.17,12.45);
2871    $s->drawCurveTo(-5.12,12.46,-5.07,12.47);
2872    $s->drawCurveTo(-4.52,12.58,-3.81,12.73);
2873    $s->drawCurveTo(3.89,14.37,7.36,16.03);
2874    $ec->add($s);
2875
2876    $s=new SWF::Shape();
2877    $s->setLine(0.27,0,0,0);
2878    $s->movePenTo(-0.51,7.08);
2879    $s->drawCurveTo(-0.47,7.09,-0.41,7.10);
2880    $s->drawCurveTo(0.16,7.21,0.87,7.36);
2881    $s->drawCurveTo(8.36,8.95,10.77,10.30);
2882    $ec->add($s);
2883
2884    $s=new SWF::Shape();
2885    $s->setLine(0.27,0,0,0);
2886    $s->movePenTo(-7.85,18.89);
2887    $s->drawCurveTo(-7.84,18.87,-7.82,18.83);
2888    $s->drawCurveTo(-7.63,18.45,-7.39,17.98);
2889    $s->drawCurveTo(-4.82,12.89,-3.91,11.38);
2890    $ec->add($s);
2891
2892    $s=new SWF::Shape();
2893    $s->setLine(0.27,0,0,0);
2894    $s->movePenTo(-2.84,25.52);
2895    $s->drawLineTo(-0.15,22.47);
2896    $ec->add($s);
2897
2898    $s=new SWF::Shape();
2899    $s->setLine(0.27,0,0,0);
2900    $s->movePenTo(-6.60,23.37);
2901    $s->drawLineTo(-5.52,22.30);
2902    $ec->add($s);
2903
2904    $s=new SWF::Shape();
2905    $s->setLine(0.27,0,0,0);
2906    $s->movePenTo(8.26,23.73);
2907    $s->drawLineTo(4.86,21.40);
2908    $ec->add($s);
2909
2910    $s=new SWF::Shape();
2911    $s->setLine(0.27,0,0,0);
2912    $s->movePenTo(12.02,19.43);
2913    $s->drawLineTo(7.36,16.75);
2914    $ec->add($s);
2915
2916    $s=new SWF::Shape();
2917    $s->setRightFill(169,0,0);
2918    $s->movePenTo(18.60,-3.97);
2919    $s->drawLineTo(12.84,-1.68);
2920    $s->drawLineTo(16.37,-8.57);
2921    $s->drawLineTo(13.27,-7.85);
2922    $s->drawLineTo(11.36,-10.00);
2923    $s->drawLineTo(6.25,4.89);
2924    $s->drawLineTo(13.76,2.47);
2925    $s->drawLineTo(18.60,-3.97);
2926    $ec->add($s);
2927
2928    $s=new SWF::Shape();
2929    $s->setLine(0.27,0,0,0);
2930    $s->setRightFill(0,0,0);
2931    $s->movePenTo(4.32,22.30);
2932    $s->drawCurveTo(4.27,22.30,4.22,22.30);
2933    $s->drawCurveTo(3.59,22.35,2.79,22.39);
2934    $s->drawCurveTo(-5.84,22.82,-9.46,21.76);
2935    $s->drawLineTo(-7.14,19.07);
2936    $s->drawCurveTo(-1.45,19.62,3.49,21.89);
2937    $s->drawCurveTo(3.95,22.10,4.27,22.27);
2938    $s->drawCurveTo(4.30,22.28,4.32,22.29);
2939    $ec->add($s);
2940
2941    $s=new SWF::Shape();
2942    $s->setLine(0.72,255,255,255);
2943    $s->movePenTo(17.04,10.24);
2944    $s->drawLineTo(18.87,8.65);
2945    $s->drawLineTo(16.18,8.11);
2946    $s->drawLineTo(18.60,-3.97);
2947    $s->drawLineTo(12.84,-1.68);
2948    $s->drawLineTo(16.37,-8.57);
2949    $s->drawLineTo(13.27,-7.85);
2950    $s->drawLineTo(11.36,-10.00);
2951    $s->drawLineTo(6.25,4.89);
2952    $s->drawLineTo(13.76,2.47);
2953    $s->drawLineTo(13.55,3.47);
2954    $ec->add($s);
2955
2956    $s=new SWF::Shape();
2957    $s->setLine(0.72,255,255,255);
2958    $s->movePenTo(11.43,10.19);
2959    $s->drawLineTo(12.42,14.29);
2960    $s->drawLineTo(17.04,10.24);
2961    $ec->add($s);
2962
2963    $ec->nextFrame(); $m->addExport($ec,"editlive");
2964
2965    # ------ editwithsave sprite
2966
2967    $ec=new SWF::MovieClip();
2968
2969    $s=new SWF::Shape();
2970    $s->setLine(0.20,0,0,0);
2971    $s->setRightFill(255,255,255);
2972    $s->movePenTo(7.05,2.03);
2973    $s->drawLineTo(11.92,5.01);
2974    $s->drawCurveTo(11.92,5.01,11.91,5.01);
2975    $s->drawCurveTo(11.87,5.06,11.82,5.12);
2976    $s->drawCurveTo(11.22,5.80,10.49,6.63);
2977    $s->drawCurveTo(2.88,15.35,2.31,16.37);
2978    $s->drawCurveTo(1.74,17.40,1.07,17.91);
2979    $s->drawCurveTo(1.01,17.96,0.97,17.99);
2980    $s->drawCurveTo(0.96,17.99,0.96,18.00);
2981    $s->drawCurveTo(0.94,17.99,0.92,17.98);
2982    $s->drawCurveTo(0.66,17.88,0.34,17.75);
2983    $s->drawCurveTo(-3.23,16.30,-5.40,15.15);
2984    $s->drawCurveTo(-7.57,14.01,-9.30,12.79);
2985    $s->drawCurveTo(-9.46,12.68,-9.58,12.60);
2986    $s->drawCurveTo(-9.59,12.59,-9.59,12.58);
2987    $s->drawLineTo(-7.84,10.55);
2988    $s->drawLineTo(1.77,0.54);
2989    $s->drawLineTo(7.05,2.03);
2990    $ec->add($s);
2991
2992    $s=new SWF::Shape();
2993    $s->setLine(0.20,0,0,0);
2994    $s->setRightFill(0,0,0);
2995    $s->movePenTo(0.82,12.99);
2996    $s->drawCurveTo(0.79,12.99,0.75,12.99);
2997    $s->drawCurveTo(0.27,13.03,-0.33,13.06);
2998    $s->drawCurveTo(-6.85,13.38,-9.59,12.58);
2999    $s->drawLineTo(-7.84,10.55);
3000    $s->drawCurveTo(-3.54,10.96,0.20,12.68);
3001    $s->drawCurveTo(0.54,12.84,0.78,12.97);
3002    $s->drawCurveTo(0.81,12.98,0.82,12.99);
3003    $ec->add($s);
3004
3005    $s=new SWF::Shape();
3006    $s->setLine(0.20,0,0,0);
3007    $s->movePenTo(-2.02,16.91);
3008    $s->drawLineTo(10.16,4.06);
3009    $ec->add($s);
3010
3011    $s=new SWF::Shape();
3012    $s->setLine(0.20,0,0,0);
3013    $s->movePenTo(-4.59,15.42);
3014    $s->drawLineTo(-2.56,13.12);
3015    $ec->add($s);
3016
3017    $s=new SWF::Shape();
3018    $s->setLine(0.20,0,0,0);
3019    $s->movePenTo(4.07,6.90);
3020    $s->drawCurveTo(4.09,6.88,4.11,6.86);
3021    $s->drawCurveTo(4.35,6.65,4.64,6.39);
3022    $s->drawCurveTo(7.72,3.66,8.40,2.98);
3023    $ec->add($s);
3024
3025    $s=new SWF::Shape();
3026    $s->setLine(0.20,0,0,0);
3027    $s->movePenTo(-7.43,13.80);
3028    $s->drawLineTo(-6.62,12.99);
3029    $ec->add($s);
3030
3031    $s=new SWF::Shape();
3032    $s->setLine(0.20,0,0,0);
3033    $s->movePenTo(3.80,14.07);
3034    $s->drawLineTo(1.23,12.31);
3035    $ec->add($s);
3036
3037    $s=new SWF::Shape();
3038    $s->setLine(0.20,0,0,0);
3039    $s->movePenTo(6.64,10.82);
3040    $s->drawLineTo(3.12,8.79);
3041    $ec->add($s);
3042
3043    $s=new SWF::Shape();
3044    $s->setLine(0.20,0,0,0);
3045    $s->movePenTo(9.48,7.44);
3046    $s->drawLineTo(5.29,4.87);
3047    $ec->add($s);
3048
3049    $s=new SWF::Shape();
3050    $s->setLine(0.54,255,255,255);
3051    $s->setRightFill(0,164,0);
3052    $s->movePenTo(10.93,-1.90);
3053    $s->drawCurveTo(10.93,4.11,3.95,2.05);
3054    $s->drawCurveTo(2.06,1.49,3.70,2.61);
3055    $s->drawCurveTo(9.82,6.78,12.82,3.87);
3056    $s->drawCurveTo(15.29,1.47,15.35,-1.47);
3057    $s->drawCurveTo(15.35,-1.74,15.33,-1.94);
3058    $s->drawCurveTo(15.33,-1.96,15.32,-1.97);
3059    $s->drawLineTo(19.00,-1.14);
3060    $s->drawLineTo(13.41,-10.00);
3061    $s->drawLineTo(7.63,-1.34);
3062    $s->drawLineTo(10.93,-1.90);
3063    $ec->add($s);
3064
3065    $s=new SWF::Shape();
3066    $s->setLine(0.20,0,0,0);
3067    $s->setRightFill(255,255,255);
3068    $s->movePenTo(-10.00,10.28);
3069    $s->drawCurveTo(-10.00,10.28,-9.99,10.28);
3070    $s->drawCurveTo(-9.96,10.24,-9.92,10.18);
3071    $s->drawCurveTo(-9.42,9.57,-8.81,8.83);
3072    $s->drawCurveTo(-2.23,0.76,-1.21,-0.27);
3073    $s->drawCurveTo(-0.18,-1.30,0.57,-2.27);
3074    $s->drawCurveTo(0.63,-2.36,0.68,-2.42);
3075    $s->drawCurveTo(0.68,-2.43,0.69,-2.43);
3076    $s->drawCurveTo(0.69,-2.43,0.70,-2.43);
3077    $s->drawCurveTo(0.82,-2.44,1.00,-2.45);
3078    $s->drawCurveTo(2.83,-2.49,4.21,-2.03);
3079    $s->drawCurveTo(5.58,-1.57,8.09,-0.92);
3080    $s->drawCurveTo(8.33,-0.86,8.51,-0.82);
3081    $s->drawCurveTo(8.52,-0.82,8.53,-0.81);
3082    $s->drawCurveTo(8.54,-0.81,8.19,-0.19);
3083    $s->drawCurveTo(6.19,3.43,4.88,5.68);
3084    $s->drawCurveTo(3.63,7.84,1.26,12.20);
3085    $s->drawCurveTo(1.03,12.61,0.85,12.93);
3086    $s->drawCurveTo(0.84,12.96,0.83,12.99);
3087    $s->drawCurveTo(0.83,12.99,0.77,12.96);
3088    $s->drawCurveTo(0.57,12.87,0.43,12.81);
3089    $s->drawCurveTo(-1.80,11.81,-3.37,11.37);
3090    $s->drawCurveTo(-4.97,10.91,-9.24,10.37);
3091    $s->drawCurveTo(-9.64,10.33,-9.95,10.29);
3092    $s->drawCurveTo(-9.98,10.29,-10.00,10.28);
3093    $ec->add($s);
3094
3095    $s=new SWF::Shape();
3096    $s->setLine(0.20,0,0,0);
3097    $s->movePenTo(-5.67,10.82);
3098    $s->drawCurveTo(-5.65,10.79,-5.64,10.76);
3099    $s->drawCurveTo(-5.43,10.36,-5.17,9.86);
3100    $s->drawCurveTo(-2.35,4.44,-1.21,2.84);
3101    $s->drawCurveTo(-0.06,1.24,2.19,-1.89);
3102    $s->drawCurveTo(2.39,-2.17,2.56,-2.40);
3103    $s->drawCurveTo(2.57,-2.42,2.58,-2.43);
3104    $ec->add($s);
3105
3106    $s=new SWF::Shape();
3107    $s->setLine(0.20,0,0,0);
3108    $s->movePenTo(5.15,-1.76);
3109    $s->drawCurveTo(5.14,-1.74,5.13,-1.71);
3110    $s->drawCurveTo(4.97,-1.43,4.76,-1.08);
3111    $s->drawCurveTo(2.53,2.79,1.50,4.74);
3112    $s->drawCurveTo(0.48,6.67,-1.41,10.98);
3113    $s->drawCurveTo(-1.58,11.39,-1.72,11.72);
3114    $s->drawCurveTo(-1.74,11.75,-1.75,11.77);
3115    $ec->add($s);
3116
3117    $s=new SWF::Shape();
3118    $s->setLine(0.20,0,0,0);
3119    $s->movePenTo(-6.35,5.55);
3120    $s->drawCurveTo(-6.31,5.55,-6.27,5.56);
3121    $s->drawCurveTo(-5.84,5.65,-5.29,5.76);
3122    $s->drawCurveTo(0.51,7.00,3.12,8.25);
3123    $ec->add($s);
3124
3125    $s=new SWF::Shape();
3126    $s->setLine(0.20,0,0,0);
3127    $s->movePenTo(-2.83,1.49);
3128    $s->drawCurveTo(-2.80,1.49,-2.76,1.50);
3129    $s->drawCurveTo(-2.34,1.58,-1.82,1.69);
3130    $s->drawCurveTo(3.87,2.90,5.69,3.92);
3131    $ec->add($s);
3132
3133    $s=new SWF::Shape();
3134    $s->setLine(0.20,0,0,0);
3135    $s->movePenTo(-8.38,10.42);
3136    $s->drawCurveTo(-8.37,10.40,-8.35,10.37);
3137    $s->drawCurveTo(-8.21,10.09,-8.03,9.73);
3138    $s->drawCurveTo(-6.08,5.88,-5.40,4.74);
3139    $ec->add($s);
3140
3141    $ec->nextFrame(); $m->addExport($ec,"editwithsave");
3142
3143
3144
3145
3146
3147        $m->writeExports();
3148
3149        1;
Note: See TracBrowser for help on using the repository browser.