[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swftools-common] Buttons
From: |
Benedikt Quirmbach |
Subject: |
[Swftools-common] Buttons |
Date: |
Wed, 25 Jun 2008 11:11:39 +0200 |
Hello,
I have a PHP-Script to create some SWFs. In these SWFs will be placed
some buttons.
In the moment I use just rectangles as buttons. The sc-script is:
...
.box box1_' . $i . ' color=#' . $colorline . ' line=' . $linewidth . '
fill=#' . $color1 . ' width=' . $buttonwidth . ' height=' .
$buttonheight . '
.box box2_' . $i . ' color=#' . $colorline . ' line=' .
$linewidth . ' fill=#' . $color2 . ' width=' . $buttonwidth . '
height=' . $buttonheight . '
.box box3_' . $i . ' color=#' . $colorline . ' line=' .
$linewidth . ' fill=#' . $color3 . ' width=' . $buttonwidth . '
height=' . $buttonheight . '
.box box4_' . $i . ' color=white fill=#99cc99 width=' .
$buttonwidth . ' height=' . $buttonheight . '
.button ' . "button_" . $i . '
.show box1_' . $i . '
as=shape
.show box2_' . $i . '
as=hover
.show box3_' . $i . '
as=pressed
.show box4_' . $i . '
as=area
...
(color is #00000000, line is 0)
Now I want, that the button shows as shape only a line at the bottom
of the button (like an underline or a link in html). The other boxes
should stay as thea are: rectangles.
I tried to set the height of box1 to 1. But then the line is on top of
the button...
How to draw box1?
Benedikt
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Swftools-common] Buttons,
Benedikt Quirmbach <=