Jump to content

Spikeysonic

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Spikeysonic's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Ok why wont this work? Trying to do a Navigation bar button , to preloader to abour me page with a photo component. Not on the pre loader page the bar works, only it wont disappear. [pre]siteLoader.loadMovie("AboutMe5.swf",4); Frame_movie._alpha = 100; loadingBar._alpha = 100; loadingBar._xscale = 1; loadingBar.onEnterFrame = function() { kBytesLoaded = this._parent.siteLoader.getBytesLoaded() / 1024; kBytesTotal = this._parent.siteLoader.getBytesTotal() / 1024; percentage = Math.round(kBytesLoaded / kBytesTotal * 100); this._xscale = percentage; if ("percentage" ==99) { loadingBar._alpha=0; Frame_movie._alpha=0; delete this.onEnterFrame; } }[/pre] The nav bar has the following script [pre] Button_AboutMe.onRelease = function(){ unloadMovie(4); loadMovie("AboutMe_Loader.swf",4); }[/pre] The loaded film used to just have as the script stop(); now I added this script to the final AboutMe5.swf file to try and hide the bar but does not work, also tried using different layers and the unloadMovie(4); script. It did not work. [pre] unloadMovie(4); loadingBar._alpha=25; Frame_movie._alpha=25; SiteLoader._alpha = 10 // loadingBar._alpha=1; // this._alpha=1; //Frame_movie._alpha=1;[/pre] Now Frame_move is a mov (and tried button) and the laoding bar is a mov file. I can make these fade by adusting the alpah but this only works accross the film. I cannot trigger it with the line. [pre]if ("percentage" ==99) {[/pre] Ive tried with and without single and double quotes. and plane. tried replacing percentage with this._xscale loading bar Nothing works. it appears to be the if script thats the problem not triggering the fad or gettig red of the pre loader altogether. Please help
  2. Its coming from a flash file, an email form within a movie with input text fields (and I did set them to stop rendering text as html) Think when I trid the strip tags either it did not work or did not send, will re try
  3. Ok I I trying to get an email form workign on my site... the test fields for Name Department Email Phone and Message Have test contents AAAAAAAAAAAAAAAAAAAAAA BBBBBBBBBBBBBBBBBBBBBBB CCCCCCCCCCCCCCCCCCCCCC DDDDDDDDDDDDDDDDDDDDDDD EEEEEEEEEEEEEEEEEEEEEEEEEE Respectibly... but I have no use for all the <TEXTFORMAT LEADING="2" etc nonsense messing up my emails so can you please tell me how to clean this crap out so I just getr what was asked for please? oh and in flash I already set the render to html option to off in the properties of the input text fields. First Name: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="16" COLOR="#000000" LETTERSPACING="0" KERNING="0">AAAAAAAAAAAAAAAAAAAAA</FONT></P></TEXTFORMAT> Department/Position: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="16" COLOR="#000000" LETTERSPACING="0" KERNING="0">BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB</FONT></P></TEXTFORMAT> Email: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="16" COLOR="#000000" LETTERSPACING="0" KERNING="0">CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC</FONT></P></TEXTFORMAT> Telephone: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="16" COLOR="#000000" LETTERSPACING="0" KERNING="0">DDDDDDDDDDDDDDDDDDDDDDDDDDD</FONT></P></TEXTFORMAT> Comments: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="16" COLOR="#000000" LETTERSPACING="0" KERNING="0">EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</FONT></P></TEXTFORMAT>
  4. Can anyone explain... (note this is first time using PHP , dont have a clue, only using it as FLash CS5 wont send emails forms directly) so add all the details and explain it all please.) why my yahoo email is not detecting this at all. Also I managed some success earlier with earlier attempts but eveythign was surrounded with html tags even though I set them to off in Flash on the property tabs on the input text. In the Flash file . swf the send button has this code on(release){ form.loadVariables("email_send.php", "POST"); } and the movie containing the input text fields has this code onClipEvent(data){ _root.nextFrame(); } the next page is a thank you screen The variables in the input text boxes in the Flash file are name, dept, phone, email and message <?php $sendTo = "chris.bruneluni@yahoo.co.uk"; $subject = "Message from chriscreativity.com"; $headers = "From: ". $_POST("name"); $headers = "Postion: ". $_POST["dept"]; $headers = "<". $_POST["email"] .">". "\r\n"; $headers = "Reply-To: " . $_POST["email"] . "\r\n"; $headers = "Return-Path: ". $_POST["email"] ; $headers = $_POST["phone"]; $message = $_POST["message"]; $message = wordwrap($message, 70); mail($sendTo, $subject, $headers, $message); ?><\Strong> Please can you help to A) get it to email my yahoo email B) make an email that looks like Name: Micky Dept : Disney Emial : Mick @mouse.com etc not <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="16" COLOR="#000000" LETTERSPACING="0" KERNING="0">Micky</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="16" COLOR="#000000" LETTERSPACING="0" KERNING="0"> please [attachment deleted by admin]
  5. Sorry did not realise that was a link. Went through the thread but most of it is way above what I am doing. It was litterally a case of adding a email form to my second flash website. Was told I needed a php file to run it through, I have no idea what apache or mime is etc. I got the basic script from a site www.kirupa.com/developer/actionscript/flash_phpemail.htm Then tried to adapt it for my contact page on www.chriscreativity.com Done in Flash CS5 Which has name, dept, email, phone and message as its variables posted to the php file. Trying to learn from your link I produced this... But It is still not sending anythign to my email at all, let alone one with no html crap tags. Where am I still going wrong please Note this is first time trying a php script. <strong><?php /* --------------------------- php and flash contact form. by www.MacromediaHelp.com --------------------------- Note: most servers require that one of the emails (sender or receiver) to be an email hosted by same server, so make sure your email (on last line of this file) is one hosted on same server. --------------------------- */ $sendTo = 'chris.bruneluni@yahoo.co.uk'; $subject = 'Message from chriscreativity.com'; // read the variables form the string, (this is not needed with some servers). $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers = $_POST['name'] . '\r\n' . $_POST['dept'] . '\r\n' . $_POST['email'] . '\r\n' . $_POST['phone'] . '\r\n'. 'X-Mailer: PHP/' . phpversion(); $headers = 'Reply-To: chris.bruneluni@yahoo.co.uk' . '\r\n' . $message = $_POST['message']; $message = wordwrap($message, 70); mail($sendTo, $subject, stripslashes($headers), stripslashes($message)); if (mail($sendTo, $subject, stripslashes($headers), stripslashes($message))) { echo 'mail() Success!' . "<br />\n"; } else { echo 'mail() Failure!' . "<br />\n"; } ?></strong> [attachment deleted by admin]
  6. <strong><?php /* --------------------------- php and flash contact form. by www.MacromediaHelp.com --------------------------- Note: most servers require that one of the emails (sender or receiver) to be an email hosted by same server, so make sure your email (on last line of this file) is one hosted on same server. --------------------------- */ $sendTo = "chris.bruneluni@yahoo.co.uk"; $subject = "Message from chriscreativity.com"; // read the variables form the string, (this is not needed with some servers). $headers = $_POST["name"] . $_POST["dept"] . $_POST["email"] . $_POST["phone"]; $message = $_POST["message"]; mail(); ?></strong> tried that... nothing came through it was <strong><?php /* --------------------------- php and flash contact form. by www.MacromediaHelp.com --------------------------- Note: most servers require that one of the emails (sender or receiver) to be an email hosted by same server, so make sure your email (on last line of this file) is one hosted on same server. --------------------------- */ $sendTo = "chris.bruneluni@yahoo.co.uk"; $subject = "Message from chriscreativity.com"; // read the variables form the string, (this is not needed with some servers). $headers = $_POST["name"] . $_POST["dept"] . $_POST["email"] . $_POST["phone"]; $message = $_POST["message"]; mail($sendTo, $subject, $message, $headers); before [attachment deleted by admin]
  7. In what way please? I have never used php before. I was only as flash needed it, how should it be done? As said all those variables were set in flash to the input text boxes, which flash was supposed to send to the php to process them and send the info to an email. WITHOUT all the <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="16" COLOR="#000000" LETTERSPACING="0" KERNING="0">AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="16" COLOR="#000000" crap...the AAAAAAAAAAAAAAAAAAAAAA was the test send Exactly what is wrong, why and how do I fix it please
  8. What am I doing wrong? All I want is a flash and php email form working. At best i get the elements emailed surrounded by all the html formatiing tags makign it impossible to head or only a few (ie messahe and phone) show up in email sent or more often nothign gets sent at all. In the flash filn I have a send button with onClipEvent(data){ _root.nextFrame(); } actioned on the form movie in flash And on(release){ form.loadVariables("email_send.php", "POST"); } script on the send button. The movie where the form is places has 5 fields made with input text with Instant names: Inp_Name Inp_Department Inp_Email Inp_Phone Inp_Message their variables are; name dept email phone message Also in the properties theya re all set to HTML rednering is set to off and the webssite is www.chriscreativity.com Why does it not work at all and if it does how do I loose the htmal formings crap and get it to work please <strong><?php /* --------------------------- php and flash contact form. by www.MacromediaHelp.com --------------------------- Note: most servers require that one of the emails (sender or receiver) to be an email hosted by same server, so make sure your email (on last line of this file) is one hosted on same server. --------------------------- */ $sendTo = "chris.bruneluni@yahoo.co.uk"; $subject = "Message from chriscreativity.com"; // read the variables form the string, (this is not needed with some servers). $headers = $_POST["name"] . $_POST["dept"] . $_POST["email"] . $_POST["phone"]; $message = $_POST["message"]; mail($sendTo, $subject, $message, $headers); ?></strong> [attachment deleted by admin]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.