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

Last change on this file since 18898 was 18526, checked in by richard, 10 years ago

Potlatch 1.2e

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