Expand my Community achievements bar.

I am new to flash cs4 and I need help

Avatar

Level 1

I am new to flash cs4, I am trying to get four buttons to work:  1-terms of agreement, 2-about us, 3-contact, 4- submit.

I have visited communities and watched tutorials and my buttons and links still don't work.  The same problem happens with my scroll bar please help me with this.

I also have another problem, on stage and my preset spiral works but when I export the swf the spiral will not spiral but it is spiraling on stage, at one point it was spiraling in the swf but then it stopped. Help me, please time is of the essence other than the above my site is very good and filled with animation.

This is my action script:


btntoa_agreement.addEventListener(MouseEvent.CLICK,goWeb_termsofagreement) ;
au_btn.addEventListener(MouseEvent.CLICK,goAbout_us);
contact_btn.addEventListener(MouseEvent.CLICK,goContact);
send_btn.addEventListener(MouseEvent.CLICK,goSend);

function goWeb_termsofagreement(e:MouseEvent):void{
gotoAndStop("web_termsofagreementfinala");
    }
function goAbout_us(e:MouseEvent):void{
gotoAndStop("about us");
}
function goContact(e:MouseEvent):void{
gotoAndStop("contact");
}
function goSend(e:MouseEvent):void {
  gotoAndStop("send");
}
send_btn.addEventListner(MouseEvent.CLICK,onSubmit);
function onSubmit(e:Event):void{
  variables.sName=name_txt.text;
  variables.sEmail=email_txt.text;
variables.sMessage=variables.sName+"has sent this note:"+"\n\n"+note_txt.text;
variables.sSubject=subject_txt.text};
mailAddress.data=variables;
mailAddress.method=URLRequestMethod.POST;
sendToURL(name.com);

feedback_txt.text="Your mail has been sent";


$sendTo = $_POST["contact.name.com"];
$subject = $_POST["contact.name.com"];


$headers = "From: ".$_POST["newcontactweb1"].$"<items>" . $POST["contact.name.com"] .">\p\n";
$headers = "Reply-To:".$_POST["Email"] .<items>"\p\n";


$headers = "Return-path:" . $_POST["Email"];

$message = $_POST["contact.name.com"];


mail($sendTo, $subject, $message, $headers);
<items>

var variables:URLVariables = new URLVariables();
var mailAddress:URLRequest = new
URLRequest("http://www.name.com/email.php");

send_btn.addEventListener(MouseEvent.CLICK, onSend);
function onSend(e:Event):void{
variables.sName = name_txt.text};
variables.sEmail = email_txt.text;
variables.sSubject = subject_txt.text;
variables.sMessage = variable.eserName + "has sent this note:" + "\n\n" + note_txt.text;
mailAddress.data = variables;
mailAddress.method = URLRequestMethod.POST;
sendToURL(www.name.com);
}
feedback_txt.text = "Your mail has been sent";
}

1 Reply

Avatar

Former Community Member

Hi justwondering,

For questions regarding Flash CS4, please refer to the Flash forum at http://forums.adobe.com/community/flash/flash_general.  You'll likely find what you need there as this forum is meant for addressing questions and issues on the Adobe Flash Collaboration Service.

Regards,

Fang