I am trying to build a page on a site to display race transporters for sale.
A friend has given me a leg up by setting up a page for me with PHP feeding a text file from a Flash file. So far so good. I have variables set up with input boxes and text boxes to display the stuff. It can be seen at http://www.thepastafactory.co.uk/forsale.html It's not very pretty at present but I am hoping to drop it into a page controlled by a template that serves the rest of the html pages.
I want to put on some radio buttons for instance "rigid or articulated lorry".
I also want check boxes to indicate whether or not certain items are installed on the lorry like say fridge or shower.
Ideally it would be nice to have some selectable menus eg no of cars per deck could be selected form a drop down menu.
At the moment I have variables for these items, but they are only connected to text boxes. The chap who has been helping me doesn't seem to know how to do this.
I have tried googling radio buttons but the only stuff I have found seems to want me to use actionscript 3. I only understand fairly basic action script 2 at present and the flash file is an action script 2 file so I don't want to start messing with 3 ... at least not yet!
I have only ever used flash to animate in the past and the odd bit of navigation so this is a steep learning curve and I am finding it very complicated.
someone will probably show you how to use AS2 components.
Although I am more a coder than a designer, I still fancy the old-fashioned way of making my own checkboxes.
A checkbox is just a movie clip with 2 frames, a stop() action on either frame, and a button that simply play()s the clip.
You can either set a variable to 0 or 1 as part of the button action, or you can use the Movieclip._currentframe property to determine which frame the clip currently is on.
A radio group combines two or more of these checkboxes with a script that tells every button - other than self - in the group to gotoAndStop(1) when one of the check boxes is clicked.
Thanks for your input. Sadly I am very much a designer and find any form of coding extremely difficult.
I have decided taht the simplist way for me to so the problem is to try and learn how to get a combo box to write to the text file via PHP. At the moment I am using input text boxes to write variable to a text file and then having them displayed in dynamic text boxes for the end user to read. What I need to do is try and get someone to tell me how to get the combo box to write the variable, but I can't see any mention of variables anywhere on the combo boxes.
Sadly my friend who helped me make the basic workings of the flash file and PHP stuff doesn't know how either I have trolled the internet and can find nothing.