[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Problem in .sc fileformat
From: |
Chris Flowers |
Subject: |
Re: [Swftools-common] Problem in .sc fileformat |
Date: |
Sat, 20 Nov 2004 08:17:03 -0500 |
Hey Jürgen,
Try it this way. Also don't forgot the colon after "action:"
.flash bbox=320x240 fps=30 version=6 compress background=#CCCCCC
.action:
with(_root){
beginFill(0xffdddd);
lineTo(10,0);
lineTo(10,10);
lineTo(0,10);
lineTo(0,0);
endFill();
}
.end
.end
One advantage to using the 'with' approach is that the drawing
code can be easily reused by other clips just by changing the name inside
the (name)
should you wish to copy it to another movie or change its heirarchy.
Chris