Featured FLA
» Author: Bugra Ozden
» Title: Skatalog v9 - product catalog
» Description: Create your product catalog easly and publish on your website or Create your image gallery, documents list, portfolio. Fully XML Driven
» More by Bugra Ozden
Featured Site
» Posted in the Flash Kit Links section
» Title: Creative DW Image Show PRO
» Description: Creative DW Image Show PRO is a Dreamweaver extension which enables the user to create multimedia presentations. It combines the features of the popular Creative DW Image Show with the ability to add professional text effects to slides (similar to After Effects). The product is very customizable: the user can choose the duration of the transition effects, the slide motion start and end position, zoom and panning type for both images and texts.
Open the actions tab for the send button (modify>Instance>actions)
Create the following code:
On (Release)
If (txtName ne "" and txtCompany ne "" and txtPosition ne "" and txtFrom ne "" and txtmessage ne "")
Load Variables ("cdontsMail.asp", 0, vars=POST)
Go to and Play ("valid")
Else
Go to and Play ("invalid")
End If
End On
NB: Look at the .fla file for a better idea of how this is done.
What we've done:
We have created an action script which checks whether all variables (text fields) have a value. If they do (If txtName ne (does not equal) "" (nothing)) the actionscript tells Flash to send their values to a page called cdontsMail.asp and play the valid 'screen'. If any variable does not have a value (ie: the text field is empty) the actionscript simply sais go and play the invalid 'screen'