A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Newbie to dynamic site needs HELP

  1. #1
    Member
    Join Date
    Apr 2006
    Location
    Pensford, Somerset, UK
    Posts
    46

    Newbie to dynamic site needs HELP

    Hi

    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.

    Any help would be much appreciated.

    Thanx

    Ralph

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,039
    Hi,

    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.

    Musicman

  3. #3
    Member
    Join Date
    Apr 2006
    Location
    Pensford, Somerset, UK
    Posts
    46
    Hi Musicman

    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.

    Regards

    Ralph

  4. #4
    Registered User
    Join Date
    Feb 2001
    Posts
    13,039
    Hi,

    here is an example using this technique

    Musicman
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center