Ir para conteúdo
Fórum Script Brasil
  • 0

Problema com Formulario XML + flash


msprandel

Pergunta

Galera é o seguinte.. estou com um template que baixei, e ele tem um formulario em flash para envio de e-mail.. ele tem as 3 caixas, nome, e-mail e mensagem, e os botoes enviar e apagar..mas não consigo configurar para funcionar para o e-mail que eu quero, assim como, por exemplo, aperto em enviar, e ele não carrega nada, somente aparece que foi enviado...

Se alguém souber como configurar..

Vou colocar aqui os arquivos que vieram junto ( as e xml )

Fico no aguardo,att

Matheus

ContactModule.as

package classes.com.main

{

import caurina.transitions.*;

import flash.display.*;

import flash.events.*;

import flash.filters.*;

import flash.net.*;

import flash.text.*;

import flash.xml.*;

public class contactModule extends flash.display.Sprite

{

public function contactModule(arg1:Number, arg2:Number, arg3:String, arg4:flash.text.StyleSheet, arg5:uint, arg6:uint)

{

var st:flash.text.StyleSheet;

var bg:flash.display.Sprite;

var Load:Function;

var hei:Number;

var wid:Number;

var l:flash.display.Sprite;

var bgCol:uint;

var file:String;

var loCol:uint;

var loc1:*;

bg = null;

l = null;

Load = null;

wid = arg1;

hei = arg2;

file = arg3;

st = arg4;

bgCol = arg5;

loCol = arg6;

_loader = new flash.display.Sprite();

sendVars = new flash.net.URLVariables();

phpLoader = new flash.net.URLLoader();

_nameBg = new flash.display.Sprite();

_nameErr = new flash.display.Sprite();

_mailBg = new flash.display.Sprite();

_mailErr = new flash.display.Sprite();

_messBg = new flash.display.Sprite();

_messErr = new flash.display.Sprite();

_nameTxt = new flash.text.TextField();

_mailTxt = new flash.text.TextField();

_messTxt = new flash.text.TextField();

_fieldFormat = new flash.text.TextFormat();

_btnFormat = new flash.text.TextFormat();

_sendBtn = new flash.display.Sprite();

_resetBtn = new flash.display.Sprite();

_motion = new flash.display.Sprite();

_holder = new flash.display.Sprite();

_holderMask = new flash.display.Sprite();

moduleStatus = false;

super();

Load = function ():void

{

XMLLoader = new flash.net.URLLoader();

XMLLoader.addEventListener(flash.events.Event.COMPLETE, loadComplete);

XMLLoader.addEventListener(flash.events.ProgressEvent.PROGRESS, loadProgress);

XMLLoader.load(new flash.net.URLRequest(file));

return;

}

mainWid = wid;

mainHei = hei;

style = st;

bg = new flash.display.Sprite();

bg.graphics.beginFill(bgCol);

bg.graphics.drawRect(0, 0, wid, hei);

bg.graphics.endFill();

bg.name = "Background";

bg.width = 0;

addChild(bg);

l = new flash.display.Sprite();

l.graphics.beginFill(loCol);

l.graphics.drawRect(0, 0, mainWid, mainHei);

l.graphics.endFill();

l.name = "FirstLoader";

l.width = 0;

addChild(l);

caurina.transitions.Tweener.addTween(bg, {"width":wid, "time":1, "transition":"easeInOutQuart", "onComplete":Load});

return;

}

public function destroy():void

{

_resetBtn.removeEventListener(flash.events.MouseEvent.CLICK, resetClick);

_sendBtn.removeEventListener(flash.events.MouseEvent.CLICK, submitClick);

_motion.removeEventListener(flash.events.MouseEvent.MOUSE_MOVE, MouseMove);

mainText.destroy();

removeChild(mainText);

return;

}

internal function submitClick(arg1:flash.events.MouseEvent):void

{

if (_nameTxt.text != "")

{

if (_mailTxt.text != "")

{

if (_messTxt.text != "")

{

caurina.transitions.Tweener.addTween(_succeed.getChildByName("Background"), {"width":_succeed.wid, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(_succeed.getChildByName("Holder"), {"x":0, "time":tTim, "transition":tTr});

resetClick(null);

}

else

{

caurina.transitions.Tweener.addTween(_messErr, {"width":_nameBg.width, "time":1, "transition":tTr});

caurina.transitions.Tweener.addTween(_messErr, {"width":0, "delay":1, "time":1, "transition":tTr});

}

}

else

{

caurina.transitions.Tweener.addTween(_mailErr, {"width":_nameBg.width, "time":1, "transition":tTr});

caurina.transitions.Tweener.addTween(_mailErr, {"width":0, "delay":1, "time":1, "transition":tTr});

}

}

else

{

caurina.transitions.Tweener.addTween(_nameErr, {"width":_nameBg.width, "time":1, "transition":tTr});

caurina.transitions.Tweener.addTween(_nameErr, {"width":0, "delay":1, "time":1, "transition":tTr});

}

return;

}

internal function messageSend(arg1:flash.events.Event):void

{

caurina.transitions.Tweener.addTween(_succeed.getChildByName("Background"), {"width":_succeed.wid, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(_succeed.getChildByName("Holder"), {"x":0, "time":tTim, "transition":tTr});

resetClick(null);

return;

}

internal function MouseMove(arg1:flash.events.MouseEvent):void

{

var loc1:*=NaN;

var loc2:*=NaN;

var loc3:*=NaN;

loc1 = arg1.localY;

caurina.transitions.Tweener.removeTweens(itemLoader);

if (itemLoader.width > _motion.width)

{

loc2 = arg1.localX / _motion.width * (itemLoader.width - _motion.width) * -1;

caurina.transitions.Tweener.addTween(itemLoader, {"x":loc2, "time":mouseMoveTransitionTime, "transition":mouseMoveTransition});

}

if (itemLoader.height > _motion.height)

{

if ((loc3 = loc1 / _motion.height * (itemLoader.height - _motion.height) * -1) > 0)

{

loc3 = 0;

}

caurina.transitions.Tweener.addTween(itemLoader, {"y":loc3, "time":mouseMoveTransitionTime, "transition":mouseMoveTransition});

}

return;

}

internal function loadComplete(arg1:flash.events.Event):void

{

var tt:classes.com.main.caption;

var showBg:Function;

var e:flash.events.Event;

var lineTrTm:Number;

var mainBG:flash.display.Sprite;

var dropShadow:flash.filters.DropShadowFilter;

var lineTr:String;

var mainBgTm:String;

var mainBgTr:String;

var addContent:Function;

var loc1:*;

tt = null;

mainBG = null;

dropShadow = null;

mainBgTr = null;

mainBgTm = null;

lineTr = null;

lineTrTm = NaN;

showBg = null;

addContent = null;

e = arg1;

showBg = function ():void

{

caurina.transitions.Tweener.addTween(mainBG, {"width":mainWid, "time":mainBgTm, "transition":mainBgTr, "onComplete":addContent});

caurina.transitions.Tweener.addTween(tt.getChildByName("Background"), {"width":tt.wid, "delay":0.3, "time":titleTime, "transition":titleTran});

caurina.transitions.Tweener.addTween(tt.getChildByName("Holder"), {"x":0, "delay":0.7, "time":titleTime, "transition":titleTran});

return;

}

addContent = function ():void

{

var mainMask:flash.display.Sprite;

var nt:classes.com.main.caption;

var messH:Number;

var padding:Number;

var sendT:flash.text.TextField;

var elemHeight:Number;

var mt:classes.com.main.caption;

var timeObj:Object;

var resT:flash.text.TextField;

var et:classes.com.main.caption;

var elemWidth:Number;

var lineTwo:flash.display.Sprite;

var line:flash.display.Sprite;

var loc1:*;

padding = NaN;

elemWidth = NaN;

elemHeight = NaN;

mainMask = null;

line = null;

nt = null;

et = null;

sendT = null;

resT = null;

messH = NaN;

mt = null;

lineTwo = null;

timeObj = null;

removeChild(getChildByName("Background"));

padding = itemsXML.settings.contentPadding;

elemWidth = (mainWid - padding * 4) / 3;

elemHeight = mainHei - padding * 2;

mainText = new classes.com.main.htmlText(elemWidth - Number(itemsXML.settings.scrollWidth), elemHeight, itemsXML.contactText, style, itemsXML.settings.scrollColor, itemsXML.settings.scrollWidth, itemsXML.settings.scrollBgColor, itemsXML.settings.scrollElipse, itemsXML.settings.scrollSpeed, itemsXML.settings.scrollTransition.@time, itemsXML.settings.scrollTransition);

mainText.x = padding;

mainText.y = padding;

mainMask = new flash.display.Sprite();

mainMask.graphics.beginFill(0);

mainMask.graphics.drawRect(0, 0, elemWidth, elemHeight);

mainMask.graphics.endFill();

mainMask.width = 0;

mainMask.y = padding;

mainMask.x = padding;

mainText.cacheAsBitmap = true;

mainMask.cacheAsBitmap = true;

mainText.mask = mainMask;

line = new flash.display.Sprite();

line.graphics.beginFill(itemsXML.settings.lineColor);

line.graphics.drawRect(0, 0, itemsXML.settings.lineWidth, elemHeight);

line.graphics.endFill();

line.x = mainText.x + mainText.width + padding / 2;

line.y = padding;

_fieldFormat.font = "euro";

_fieldFormat.size = Number(itemsXML.settings.inputFontSize);

_fieldFormat.color = uint(itemsXML.settings.inputFontColor);

_btnFormat.font = "euro";

_btnFormat.size = Number(itemsXML.settings.inputBtnFontSize);

_btnFormat.color = uint(itemsXML.settings.inputBtnFontColor);

nt = new classes.com.main.caption(0, 0, itemsXML.settings.formHeadFontSize, itemsXML.settings.inputHeadTextName, itemsXML.settings.formHeadFontColor);

nt.x = mainText.x + mainText.width + padding;

nt.y = padding;

_nameTxt.type = flash.text.TextFieldType.INPUT;

_nameTxt.embedFonts = true;

_nameTxt.defaultTextFormat = _fieldFormat;

_nameTxt.antiAliasType = flash.text.AntiAliasType.ADVANCED;

_nameTxt.tabIndex = 0;

_nameTxt.width = elemWidth;

_nameTxt.text = "Name";

_nameTxt.height = _nameTxt.textHeight;

_nameBg.graphics.beginFill(itemsXML.settings.inputFieldBgColor);

_nameBg.graphics.lineStyle(itemsXML.settings.inputFieldBorderSize, itemsXML.settings.inputFieldBorderColor);

_nameBg.graphics.drawRect(0, 0, _nameTxt.width, _nameTxt.textHeight + 5);

_nameBg.graphics.endFill();

_nameBg.x = nt.x;

_nameBg.y = nt.y + nt.height;

_nameErr.graphics.beginFill(itemsXML.settings.inputErrorColor, 0.6);

_nameErr.graphics.drawRect(0, 0, _nameBg.width, _nameBg.height);

_nameErr.graphics.endFill();

_nameErr.x = _nameBg.x;

_nameErr.y = _nameBg.y;

_nameErr.width = 0;

et = new classes.com.main.caption(0, 0, itemsXML.settings.formHeadFontSize, itemsXML.settings.inputHeadTextMail, itemsXML.settings.formHeadFontColor);

et.x = _nameBg.x;

et.y = _nameBg.y + _nameBg.height + 2;

_mailTxt.type = flash.text.TextFieldType.INPUT;

_mailTxt.embedFonts = true;

_mailTxt.defaultTextFormat = _fieldFormat;

_mailTxt.antiAliasType = flash.text.AntiAliasType.ADVANCED;

_mailTxt.tabIndex = 1;

_mailTxt.width = elemWidth;

_mailTxt.text = "E-mail";

_mailTxt.height = _mailTxt.textHeight;

_mailBg.graphics.beginFill(itemsXML.settings.inputFieldBgColor);

_mailBg.graphics.lineStyle(itemsXML.settings.inputFieldBorderSize, itemsXML.settings.inputFieldBorderColor);

_mailBg.graphics.drawRect(0, 0, _mailTxt.width, _mailTxt.textHeight + 5);

_mailBg.graphics.endFill();

_mailBg.x = et.x;

_mailBg.y = et.y + et.height;

_mailErr.graphics.beginFill(itemsXML.settings.inputErrorColor, 0.6);

_mailErr.graphics.drawRect(0, 0, _mailBg.width, _mailBg.height);

_mailErr.graphics.endFill();

_mailErr.x = _mailBg.x;

_mailErr.y = _mailBg.y;

_mailErr.width = 0;

sendT = new flash.text.TextField();

sendT.embedFonts = true;

sendT.autoSize = flash.text.TextFieldAutoSize.LEFT;

sendT.defaultTextFormat = _btnFormat;

sendT.antiAliasType = flash.text.AntiAliasType.ADVANCED;

sendT.text = " " + itemsXML.settings.inputBtnSendText + " ";

_sendBtn.graphics.beginFill(itemsXML.settings.inputBtnColor);

_sendBtn.graphics.lineStyle(itemsXML.settings.inputFieldBorderSize, itemsXML.settings.inputFieldBorderColor);

_sendBtn.graphics.drawRect(0, 0, sendT.textWidth + 5, sendT.textHeight + 4);

_sendBtn.graphics.endFill();

resT = new flash.text.TextField();

resT.embedFonts = true;

resT.autoSize = flash.text.TextFieldAutoSize.LEFT;

resT.defaultTextFormat = _btnFormat;

resT.antiAliasType = flash.text.AntiAliasType.ADVANCED;

resT.text = " " + itemsXML.settings.inputBtnResetText + " ";

_resetBtn.graphics.beginFill(itemsXML.settings.inputBtnColor);

_resetBtn.graphics.lineStyle(itemsXML.settings.inputFieldBorderSize, itemsXML.settings.inputFieldBorderColor);

_resetBtn.graphics.drawRect(0, 0, resT.textWidth + 5, resT.textHeight + 4);

_resetBtn.graphics.endFill();

_sendBtn.addChild(sendT);

_resetBtn.addChild(resT);

_sendBtn.buttonMode = true;

_resetBtn.buttonMode = true;

_sendBtn.mouseChildren = false;

_resetBtn.mouseChildren = false;

_sendBtn.y = mainHei - padding - _sendBtn.height;

_sendBtn.x = nt.x + elemWidth - _sendBtn.width;

_resetBtn.y = _sendBtn.y;

_resetBtn.x = _sendBtn.x - _resetBtn.width - 2;

messH = mainHei - padding - _mailErr.y - _mailErr.height - _sendBtn.height - (mainHei - _sendBtn.y);

_succeed = new classes.com.main.caption(0, 0, itemsXML.settings.formHeadFontSize, itemsXML.settings.inputSendSucceedText, itemsXML.settings.formHeadFontColor);

_succeed.x = nt.x;

_succeed.y = _resetBtn.y;

mt = new classes.com.main.caption(0, 0, itemsXML.settings.formHeadFontSize, itemsXML.settings.inputHeadTextMessage, itemsXML.settings.formHeadFontColor);

mt.x = _nameBg.x;

mt.y = _mailBg.y + _mailBg.height + 2;

_messTxt.type = flash.text.TextFieldType.INPUT;

_messTxt.embedFonts = true;

_messTxt.defaultTextFormat = _fieldFormat;

_messTxt.antiAliasType = flash.text.AntiAliasType.ADVANCED;

_messTxt.tabIndex = 2;

_messTxt.wordWrap = true;

_messTxt.multiline = true;

_messTxt.width = elemWidth;

_messTxt.height = messH;

_messBg.graphics.beginFill(itemsXML.settings.inputFieldBgColor);

_messBg.graphics.lineStyle(itemsXML.settings.inputFieldBorderSize, itemsXML.settings.inputFieldBorderColor);

_messBg.graphics.drawRect(0, 0, _messTxt.width, messH);

_messBg.graphics.endFill();

_messBg.x = mt.x;

_messBg.y = mt.y + mt.height;

_messErr.graphics.beginFill(itemsXML.settings.inputErrorColor, 0.6);

_messErr.graphics.drawRect(0, 0, _messBg.width, _messBg.height);

_messErr.graphics.endFill();

_messErr.x = _messBg.x;

_messErr.y = _messBg.y;

_messErr.width = 0;

_nameBg.addChild(_nameTxt);

_nameTxt.text = "";

_mailBg.addChild(_mailTxt);

_mailTxt.text = "";

_messBg.addChild(_messTxt);

lineTwo = new flash.display.Sprite();

lineTwo.graphics.beginFill(itemsXML.settings.lineColor);

lineTwo.graphics.drawRect(0, 0, itemsXML.settings.lineWidth, elemHeight);

lineTwo.graphics.endFill();

lineTwo.x = mainText.x + mainText.width + padding + elemWidth + padding / 2;

lineTwo.y = padding;

_motion.graphics.beginFill(0, 0);

_motion.graphics.drawRect(0, 0, elemWidth, itemsXML.settings.mapHeight);

_motion.graphics.endFill();

_motion.x = _messErr.x + elemWidth + padding;

_motion.y = padding;

_holderMask.graphics.beginFill(0, 0);

_holderMask.graphics.drawRect(0, 0, elemWidth, itemsXML.settings.mapHeight);

_holderMask.graphics.endFill();

_holderMask.x = _messErr.x + elemWidth + padding;

_holderMask.y = padding;

_holder.x = _motion.x;

_holder.y = _motion.y;

_holder.mask = _holderMask;

_nameBg.alpha = 0;

_mailBg.alpha = 0;

_messBg.alpha = 0;

_sendBtn.alpha = 0;

_resetBtn.alpha = 0;

lineTwo.alpha = 0;

line.alpha = 0;

itemLoader = new flash.display.Loader();

itemLoader.contentLoaderInfo.addEventListener(flash.events.Event.COMPLETE, addImage);

itemLoader.load(new flash.net.URLRequest(itemsXML.settings.mapFile));

addChild(mainText);

addChild(mainMask);

addChild(line);

addChild(lineTwo);

addChild(nt);

addChild(et);

addChild(mt);

addChild(_nameBg);

addChild(_nameErr);

addChild(_mailBg);

addChild(_mailErr);

addChild(_messBg);

addChild(_messErr);

addChild(_sendBtn);

addChild(_resetBtn);

addChild(_succeed);

addChild(_holder);

addChild(_holderMask);

addChild(_motion);

_resetBtn.addEventListener(flash.events.MouseEvent.CLICK, resetClick);

_sendBtn.addEventListener(flash.events.MouseEvent.CLICK, submitClick);

_motion.addEventListener(flash.events.MouseEvent.MOUSE_MOVE, MouseMove);

tTr = itemsXML.settings.textTransition;

tTim = itemsXML.settings.textTransition.@time;

caurina.transitions.Tweener.addTween(mainMask, {"width":elemWidth + 10, "time":tTim, "transition":tTr, "onComplete":function ():void

{

mainText.mask = null;

removeChild(this);

return;

}})

caurina.transitions.Tweener.addTween(nt.getChildByName("Background"), {"width":nt.wid, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(nt.getChildByName("Holder"), {"x":0, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(et.getChildByName("Background"), {"width":et.wid, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(et.getChildByName("Holder"), {"x":0, "delay":0.2, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(mt.getChildByName("Background"), {"width":mt.wid, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(mt.getChildByName("Holder"), {"x":0, "delay":0.4, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(_nameBg, {"alpha":1, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(_mailBg, {"alpha":1, "delay":0.2, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(_messBg, {"alpha":1, "delay":0.4, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(_sendBtn, {"alpha":1, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(_resetBtn, {"alpha":1, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(line, {"alpha":1, "time":tTim, "transition":tTr});

caurina.transitions.Tweener.addTween(lineTwo, {"alpha":1, "time":tTim, "transition":tTr});

timeObj = new Object();

caurina.transitions.Tweener.addTween(timeObj, {"time":2, "onComplete":function ():void

{

moduleStatus = true;

return;

}})

return;

}

itemsXML = new XML(e.target.data);

caurina.transitions.Tweener.addTween(getChildByName("FirstLoader"), {"width":0, "delay":1, "time":1, "transition":"easeInOutQuart", "onComplete":function ():void

{

removeChild(this);

showBg();

return;

}})

tt = new classes.com.main.caption(itemsXML.settings.titleBgCol, itemsXML.settings.titleBgAlpha, itemsXML.settings.titleFontSize, itemsXML.settings.titleText, itemsXML.settings.titleFontColor);

tt.x = 0;

tt.y = -tt.height + 7;

addChild(tt);

titleTran = itemsXML.settings.titleTransition;

titleTime = itemsXML.settings.titleTransition.@time;

mouseMoveTransition = itemsXML.settings.mapTransition;

mouseMoveTransitionTime = itemsXML.settings.mapTransition.@time;

mainBG = new flash.display.Sprite();

mainBG.graphics.beginFill(itemsXML.settings.bgColor);

mainBG.graphics.drawRect(0, 0, mainWid, mainHei);

mainBG.graphics.endFill();

mainBG.width = 0;

dropShadow = new flash.filters.DropShadowFilter();

dropShadow.color = itemsXML.settings.ShadowColor;

dropShadow.blurX = itemsXML.settings.ShadowBlurX;

dropShadow.blurY = itemsXML.settings.ShadowBlurY;

dropShadow.angle = itemsXML.settings.ShadowAngle;

dropShadow.alpha = itemsXML.settings.ShadowAlpha;

dropShadow.distance = itemsXML.settings.ShadowDistance;

dropShadow.quality = 2;

filtersArray = new Array(dropShadow);

mainBG.filters = filtersArray;

addChild(mainBG);

mainBgTr = itemsXML.settings.bgTransition;

mainBgTm = itemsXML.settings.bgTransition.@time;

lineTr = itemsXML.settings.lineTrans;

lineTrTm = itemsXML.settings.lineTrans.@time;

return;

}

internal function addImage(arg1:flash.events.Event):void

{

itemLoader.contentLoaderInfo.removeEventListener(flash.events.Event.COMPLETE, addImage);

itemLoader.alpha = 0;

itemLoader.x = (_motion.width - itemLoader.width) / 2;

itemLoader.y = (_motion.height - itemLoader.height) / 2;

_holder.addChild(itemLoader);

caurina.transitions.Tweener.addTween(itemLoader, {"alpha":1, "delay":0.2, "time":2, "transition":"easeInOutQuart"});

return;

}

internal function resetClick(arg1:flash.events.MouseEvent):void

{

_nameTxt.text = "";

_mailTxt.text = "";

_messTxt.text = "";

return;

}

public function getModuleStatus():Boolean

{

return moduleStatus;

}

internal function loadProgress(arg1:flash.events.ProgressEvent):void

{

var loc1:*=NaN;

loc1 = arg1.bytesLoaded / arg1.bytesTotal * mainWid;

caurina.transitions.Tweener.addTween(getChildByName("FirstLoader"), {"width":loc1, "time":1, "transition":"easeInOutQuart"});

return;

}

internal var _messErr:flash.display.Sprite;

internal var _succeed:classes.com.main.caption;

internal var _messTxt:flash.text.TextField;

internal var filtersArray:Array;

internal var _loader:flash.display.Sprite;

internal var tTr:String;

internal var itemsXML:XML;

internal var titleTime:Number;

internal var _btnFormat:flash.text.TextFormat;

internal var _holderMask:flash.display.Sprite;

internal var _nameBg:flash.display.Sprite;

public var mainWid:Number;

internal var _sendBtn:flash.display.Sprite;

internal var _mailBg:flash.display.Sprite;

internal var _messBg:flash.display.Sprite;

internal var tTim:Number;

internal var mouseMoveTransitionTime:Number;

internal var _resetBtn:flash.display.Sprite;

internal var mainText:classes.com.main.htmlText;

public var mainHei:Number;

internal var itemLoader:flash.display.Loader;

internal var _nameTxt:flash.text.TextField;

internal var style:flash.text.StyleSheet;

internal var _nameErr:flash.display.Sprite;

internal var moduleStatus:Boolean=false;

internal var phpLoader:flash.net.URLLoader;

internal var titleTran:String;

internal var mouseMoveTransition:String;

internal var _fieldFormat:flash.text.TextFormat;

internal var _motion:flash.display.Sprite;

internal var _holder:flash.display.Sprite;

internal var sendVars:flash.net.URLVariables;

internal var _mailErr:flash.display.Sprite;

internal var XMLLoader:flash.net.URLLoader;

internal var phpRequest:flash.net.URLRequest;

internal var _mailTxt:flash.text.TextField;

}

}

contact.xml
<?xml version="1.0" encoding="utf-8"?>

<contact>

<!--XML for contact module -->

<settings>

<bgColor>0xf1f1f1</bgColor>

<bgTransition time="1">easeInOutQuart</bgTransition>

<contentPadding>20</contentPadding>

<titleBgCol>0x444444</titleBgCol>

<titleBgAlpha>0</titleBgAlpha>

<titleFontSize>36</titleFontSize>

<titleFontColor>0xb0ac9e</titleFontColor>

<titleText>Contato</titleText>

<titleTransition time="2">easeInOutQuart</titleTransition>

<ShadowColor>0x333333</ShadowColor>

<ShadowBlurX>7</ShadowBlurX>

<ShadowBlurY>7</ShadowBlurY>

<ShadowAngle>90</ShadowAngle>

<ShadowDistance>2</ShadowDistance>

<ShadowAlpha>0.5</ShadowAlpha>

<!-- text -->

<scrollWidth>7</scrollWidth>

<scrollColor>0xbbbbbb</scrollColor>

<scrollBgColor>0xe8e8e8</scrollBgColor>

<scrollElipse>5</scrollElipse>

<scrollSpeed>20</scrollSpeed>

<scrollTransition time="1">easeOutSine</scrollTransition>

<textTransition time="2">easeInOutQuart</textTransition>

<lineColor>0xe8e8e8</lineColor>

<lineWidth>1.5</lineWidth>

<!-- input fields -->

<inputHeadTextName>Nome:</inputHeadTextName>

<inputHeadTextMail>E-mail:</inputHeadTextMail>

<inputHeadTextMessage>Mensagem:</inputHeadTextMessage>

<formHeadFontSize>22</formHeadFontSize>

<formHeadFontColor>0x444444</formHeadFontColor>

<inputFontColor>0x777777</inputFontColor>

<inputFontSize>18</inputFontSize>

<inputFieldBgColor>0xffffff</inputFieldBgColor>

<inputFieldBorderColor>0xe8e8e8</inputFieldBorderColor>

<inputFieldBorderSize>1</inputFieldBorderSize>

<inputBtnColor>0xb0ac9e</inputBtnColor/>

<inputBtnFontColor>0xf1f1f1</inputBtnFontColor>

<inputBtnFontSize>20</inputBtnFontSize>

<inputBtnSendText> Enviar </inputBtnSendText>

<inputBtnResetText>Limpar</inputBtnResetText>

<inputErrorColor>0xda6b87</inputErrorColor>

<inputSendSucceedText>Enviado!</inputSendSucceedText>

<!-- Map settings -->

<mapFile>resources/map.jpg</mapFile>

<mapHeight>310</mapHeight>

<mapTransition time="1">easeOutQuart</mapTransition>

</settings>

</contact>

Link para o comentário
Compartilhar em outros sites

0 respostass a esta questão

Posts Recomendados

Até agora não há respostas para essa pergunta

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,3k
    • Posts
      652,3k
×
×
  • Criar Novo...