Если данный туториал не то, что Вы искали, у Вас все еще остались вопросы или предложения - дайте нам знать. Пожалуйста, помогите нам обслуживать Вас лучше!

Ваше имя

Ваш e-mail

Ваше сообщение (обязательно)

Dynamic SWiSH. Как создать контактную форму

 .ZIP файл с образцами контакт — формы для SWiSH (Contact.swi), contact.php и contact.aspвы можете загрузить здесь. 

Скрипт для кнопок « Текстовые поля « 
  
onLoad(){
   
   recipient=_root.mail;
    _root.serv=»php»;
   _parent.fields_descriptions= Array («»,
    Array(«t1″, «your_name», «Your Name:»),
    Array(«t2″, «your_email», «Your Email:»),
    Array(«t3″, «telephone», «Telephone:»),
    Array(«t4″, «message», «Message:»),
    Array(«t5″, «address», «Your Address:»),
    Array(«t6″, «123″, «Your wegweg:»),

);   
}
  

Скрипт для кнопки  « Отправить «
  
on (rollOver) {
    this.gotoAndPlay(«s1″);
}
on (releaseOutside, rollOut) {
    this.gotoAndPlay(«s2″);
}
on (release) {
      
       for (i=1; i<_parent._parent.fields_descriptions.length; i++) {
           if (_parent[_parent._parent.fields_descriptions[i][0]].text!=»")  {
           this[_parent._parent.fields_descriptions[i][1]]=_parent[_parent._parent.fields_descriptions[i][0]].text+»&777&»+_parent._parent.fields_descriptions[i][2];
           }
        }
      this.recipient=_parent.recipient;
   
     
    getURL(«contact.»+_root.serv, «_blank», «POST»);
  
    
}    
      

Скрипт для кнопки  « Очистить «
  
on (rollOver){
    gotoAndPlay(«s1″);
}
on (rollOut){
    gotoAndPlay(«s2″);
}
on (release) {
     for (i=1; i<_parent._parent.fields_descriptions.length; i++) {
          _parent[_parent._parent.fields_descriptions[i][0]].text=»";
        }

aquí