swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] Problem with a script


From: @ndré THEVENIN
Subject: [Swftools-common] Problem with a script
Date: Sun, 21 Oct 2007 12:19:25 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.12) Gecko/20050915


I have a problem with the following script

#BEGINNING
.flash filename="bug.swf" fps=50

        .box fond width=160 height=130 color=gray fill=red line=1

        .circle pfull r=3 color=black fill=#00DF00
        .circle pempty r=3 color=black fill=none line=1
        .circle sempty r=3 color=black fill=none line=2
       

        .outline outline_outdraw:
M 3.8531273,7.25984 C 153.50143,21.17487 154.69862,21.17487 154.69862,21.17487 C 159.20072,7.04901 158.97468,-7.07686 154.69862,-21.20272 L 4.1524273,-6.02268 C -2.6129627,0.75255 1.4637873,3.70903 3.8531273,7.25984 z        
        .end
       
#
# Place Objects
#

.filled outdraw color=blue outline=outline_outdraw fill=none line=1

.sprite draw

    .button butt_indraw
        .show pempty as=shape
        .show pfull as=area
        .show sempty as=hover
    .end
    .button butt_outdraw
        .show outdraw as=shape
        .show outdraw as=hover
    .end
   
   
    .put buttin=butt_indraw scale=87%

#THE PROBLEM DISAPPEARS WHEN I COMMENT THE FOLLOWING LINE (BUT MY DRAWING IS NOT OK OF COURSE)
# LINE BUG
    .put buttout=butt_outdraw scale=19%           
   
    .action:
        function Display() {
            this._x=50;
            this._y=50;
           
            buttin._x=38;
            buttin._y=0;
           
            buttout._x=21.7;
            buttout._y=2.7;

        }
       
    .end   
.end
    .put ff=fond
    .put draw1=draw

.frame 1
   
    .action:
        draw1.Display();
    .end       
    .stop


.end # End swf movie
#END OF THE SCRIPT

My problem is that, when I run the swf under Mozilla or an ActiveX control (under Windows XP or 2000) I get a black border at the top of my display. When I remove the line "BUG" this border disappears.

Do you already know this problem ?

Is ther a solution ?

(I have downloaded the last version of swfc this morning)

Thanks



reply via email to

[Prev in Thread] Current Thread [Next in Thread]