Is it possible to make a Web Button Generator with RR?

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
alex298
Posts: 101
Joined: Mon May 01, 2006 1:17 pm

Is it possible to make a Web Button Generator with RR?

Post by alex298 » Sun Apr 06, 2008 3:21 pm

Hello,

I wish to use RR to make a Web Button generator. The idea is that:

1. Users enter the text (e.g. About Us)

2. Adjust the Font Size, Font Type and Font Color.

3. Select the Button Background Color.

4. Adjust the button size.

5. The result or effect can be seen through a Preview Window.

6. Export the button in .GIF, .JPEG or .PNG format.

Is it possible to do with RR?

If the answer is positive. Could you please provide some guidelines to do that?

Thanks and best regards
Alex
Nice to meet all of you.

Klaus
Posts: 14191
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Sun Apr 06, 2008 6:43 pm

Hi alex,

yes this is possble and someone already did it ;-)

Check this Rev-app:
http://www.buttongadget.com/buttongadget2/default.htm


Best

Klaus

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Sun Apr 06, 2008 6:45 pm

Hi ALex,

Chipp Walters of Altuit created ButtonGadget using Revolution: http://www.buttongadget.com

So it is defintiely possible; you will want to combine graphics with patterns and images to achieve the look of the button, and a label field to put on top. And then you'd export a snaphsot of the rectangular area containing the web button.

So look at:
- the 'backgroundColor' property
- the 'textFont' property
- the 'textSize' property
- the 'textStyle' property
- the 'export snapshot' command.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Post Reply