Friday, March 26, 2010

Flash Form

Hey all

Is it possible to create a form with flash where one field changes depending on your previous selected option. I know this is possible to do with javascript but not too sure about flash.

If this is possible can anybody give me any pointers on how to do it please.

Thanks,

Oliver

Flash Form

You can add event listeners to detect when something is clicked or changed and have the event handler function manage the visibility of the other items associated with that particular choice.?A RadioButton have change a nd click events that you can listen for (this is a generalized example)...

radio1.addEventListener(MouseEvent.CLICK, clickHandler);

function clickHandler(evt:MouseEvent):void {

clearVaryingElements(); // a function you make that resets/hides the varying form elements

radio1FormElements.visible = true;

}

No comments:

Post a Comment