[Top][All Lists]

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

Re: [Swftools-common] Transparent backgrounds again! SWFC this time.

From: Matthew Ayres
Subject: Re: [Swftools-common] Transparent backgrounds again! SWFC this time.
Date: Sun, 15 Feb 2009 15:26:41 +0000

Sorry if I seem impatient/pushy, but I could still do with a
resolution :\  Some updated script which still has an annoying black

.flash filename="lozenge.swf" fps=25

        .outline backer:
                M 0.0,0 L 468.0,0.0 C 468.0,44.0 445.0,60.0 408.0,60.0
                        L 0.0,60.0 L 0.0,0.0
        .filled backing outline=backer fill=#ddddff color=#ddddff
        .png s1 "logo.png"
        .font Albany "/usr/share/fonts/truetype/albw.ttf"
        .text title font=Albany text="Lorem Ipsum" color=#0000dd size=40pt
        .text byline font=Albany text="dolor Sit Amet" color=#0000dd size=12pt
        .text service1 font=Albany text="Fusce congue" color=#0000dd size=40pt
        .text web1 font=Albany text="Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Fusce congue diam a pede." color=#0000dd size=10pt
        .text web2 font=Albany text="Vestibulum lacinia aliquam odio. Donec
odio nisl, aliquam in, pulvinar at, consequat" color=#0000dd size=10pt
        .text web3 font=Albany text="eu, felis. Etiam tortor orci, dictum
nec, lacinia et, mattis sit amet, nulla. Nunc aliquam" color=#0000dd
        .text web4 font=Albany text="ante vel nulla. Etiam rhoncus accumsan
odio. Morbi commodo." color=#0000dd size=10pt

        .put backing x=0 y=0
        .put s1 x=0 y=0 scalex=79 scaley=60
        .put title x=80 y=40
        .put byline x=189 y=52

        .frame 50
        .change title
        .change byline
        .frame 75
        .change title alpha=0%
        .change byline alpha=0%
        .frame 76
        .put service1 x=84 y=40 alpha=0%
        .frame 101
        .change service1 alpha=100%
        .frame 126
        .change service1 y=12 scale=25%
        .put web1 x=84 y=24 alpha=0%
        .put web2 x=84 y=34 alpha=0%
        .put web3 x=84 y=44 alpha=0%
        .put web4 x=84 y=54 alpha=0%
        .frame 151
        .change web1 alpha=100%
        .change web2 alpha=100%
        .change web3 alpha=100%
        .change web4 alpha=100%
        .frame 251
        .change service1
        .change web1
        .change web2
        .change web3
        .change web4
        .frame 276
        .change service1 alpha=0%
        .change web1 alpha=0%
        .change web2 alpha=0%
        .change web3 alpha=0%
        .change web4 alpha=0%
        .change title
        .change byline
        .frame 301
        .change title alpha=100%
        .change byline alpha=100%


On Sat, Feb 14, 2009 at 4:35 PM, Matthew Ayres
<address@hidden> wrote:
> Hmmm, looking at the list archive it seems to have lost one of the
> attachments, so I've decided to just paste the script and html in a
> new email.
> The script:
> .flash filename="lozenge.swf" version=9 fps=25 bbox=468x60 background=#ddddff
>        .png s1 "logo.png"
>        .font Albany "/usr/share/fonts/truetype/albw.ttf"
>        .text title font=Albany text="Test text" color=#0000dd size=40pt
>        .text byline font=Albany text="from Matthew Ayres" color=#0000dd 
> size=12pt
>        .put s1 x=0 y=0 scalex=79 scaley=60
>        .put title x=80 y=40
>        .put byline x=189 y=52
>        .frame 50
>        .change title
>        .change byline
>        .frame 75
>        .change title alpha=0%
>        .change byline alpha=0%
> .end
> The html:
> <object width="468" height="60">
> <param name="movie" value="lozenge.swf">
> <param name="wmode" value="transparent">
> <embed src="lozenge.swf" wmode="transparent" width="468" height="60">
> </embed>
> </object>
> On Sat, Feb 14, 2009 at 12:34 AM, Matthew Ayres
> <address@hidden> wrote:
>> On Fri, Feb 13, 2009 at 8:40 PM, Matthias Kramm <address@hidden> wrote:
>>> On Fri, Feb 13, 2009 at 01:41:00PM +0000, Matthew Ayres <address@hidden> 
>>> wrote:
>>>> I'm quite new to Flash and am seeking to create an animation with a
>>>> transparent background by scripting the whole thing by hand ( I'm not
>>>> new to scripting in general ) and running it through SWFC.  I hoped
>>>> all I'd have to do was put the wmode params into my html and maybe a
>>>> bounding box or background into the script, but it hasn't worked.
>>> It should. Could you attach your script as well as your html?
>> Of course :)  I've slightly modified the script because I want to keep
>> the exact wording a little bit of a secret at the moment, but after
>> all it's not the text that matters.
>> If you can point me to what I've done wrong, I'll be very grateful!
>> Oh, and also, I did try setting the extra alpha hex digits in the
>> background color, but it made no difference.

reply via email to

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