[sIFR3-dev] Assorted annoyances :)
Fredrik Bränström
branstrom at gmail.com
Thu Aug 3 16:23:35 GMT 2006
I exported my v8 .swf with a dropshadow, at around 70% strength. This makes
sIFR display the text with a faint dropshadow by default, as intended.
However, it doesn't allow adjusting it with settings in the kwargs objects.
It reacts when I set strength: 1, but not when I set it to strength:
0.5(tried .5 too) or anything below 1. Even strength: 0 doesn't remove
the
effect.
If I remove the filter from the .swf so that it does not render it by
default, and then try to set a dropshadow and in the kwargs specify strength
to < 1, I don't get any effect. It seems as though the .swf doesn't
understand the fractions, only 100% or nothing.
Ergh. While writing this mail, I discovered that if I quote the fraction...
it kind of works. But setting the effect in the kwargs only and with a
fractioned strength, produces a blurry shadow, as opposed to the much
sharper one you get [1] when you set the filter in Flash before exporting
(and then use a strength < 1 or omit the filter spec in the kwargs). I don't
know why this is...
---
Something else: I looked at an old test case... it is quite clear that the
cut-off bug looks the way it does because of the .swf textfield dimensions,
the textfield doesn't get correctly resized internally by the ActionScript,
I guess... I've illustrated it here:
http://filer.brnm.se/i/cutoff3-hmm.pngHope it helps somehow.
It doesn't seem to happen so often now though... Maybe it has to do with
whether you have the filters defined in the replacement call or in the Flash
itself. Could be the trigger. Or maybe you've fixed it altogether, in a more
recent nightly. The one seen above is r103.
---
On yet another topic (I guess I should ideally send separate mails...),
wouldn't it be possible to set the width of the Flash to exactly what's
needed for the text to be visible, and nothing more? I keep getting annoyed
with the need to have 100% width <embed> objects all over the place.
---
Oh, and the latest nightly doesn't work in IE. You should really get
yourself a Windows box for IE testing, or an Intel Mac with Parallels/Boot
Camp.
Mark, I checked out the forums, I hope you're not intimidated by the amount
of bugs that seem to arise everywhere. I would be.
[1]: At least with my font and settings:
http://branstrom.nu:81/new/forum/demo/fms.html
--
Fredrik Bränström
http://fredrik.branstrom.nu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.novemberborn.net/pipermail/sifr3-dev/attachments/20060803/c997399e/attachment.htm
More information about the sifr3-dev
mailing list