Flash-PHP text Chating

Hello,
am developing a chat application in flash using php. here is
the code for the flash file:
on (release, keyPress "<Enter>") {
if (inputT != "") {
loadVariables("flashtest.php", _root, "POST");
inputT = "";
var param_interval:Number = setInterval(checkParamsLoaded,
225);
//updateAfterEvent();
function checkParamsLoaded() {
if (_root.topNmae == undefined) {
trace("not yet.");
} else {
asd.htmlText += _root.topNmae;
clearInterval(param_interval);
and the php code in the server is :
<?php
$testVar=$_POST["inputT"];
print("topNmae=<b>finoy</b> : $testVar<br
/>");
?>
The problem is that when i use the application, it become
heavy to use the memory usage and the application become slow. How
can i recover it.

THank you for your replies. I have fixed the sender.firstname
bit......
but as i'm of limited knowledge i can't quite see how to fix
the
"and your sendAndLoad() is not in one of your else statements
so it always executes."
If u have the time could you please explain. Thanks
again

Similar Messages

  • Radio Buttons for Flash PHP email.

    Hi.
    I need to add a sign-up form for services to a flash AS2 web site.
    I found a very simple example of a Flash/ PHP email form at Kirupa.
    It works fine, but I need to add some radio buttons.
    My web site will offer various services.
    Ideally I would like to be able for viewers to sign up for a service by clicking the appropriate right radio buttons
    F.ex;
    •   Service 1
    •   Service 2
    •   Service 3
    •   Service 4
    The email should reflect the choices made by listing the text on the selected services (radio buttons).
    Please download the FLA and the PHP file (at the bottom of the tutorial) here:
    http://www.kirupa.com/developer/actionscript/flash_php_email.htm
    I have uploaded a working version here:
    http://gggraphic.com/flash_mail/simple_flash_mail.php
    How do I add and script the radio buttons with both AS and the PHP to make it happen?
    Thank you on beforehand for your help
    ggaarde

    Hi Again
    Maybe check buttons would be a more natural option for this. You should be able to select more than one service.
    Thanks
    ggaarde

  • Flash CS4 Text Layout Component Problem

    Hi,
    We are trying to use multiple instances (around 25) of Flash
    CS4 Text Layout Component in one file to display arabic text. It
    works fine for some random number of instances. However, it gives
    problem if that number increases (The text doesnt show).
    Any help will be highly appreciated.
    Thanks!

    If you're referring to this:
    http://labs.adobe.com/technologies/textlayout/
    Then that's still in beta and you should take your discussion
    to the beta forum on that link.

  • Flash 9 Text Not Properly Anti-Aliased In Flash 10

    I use Flash CS3 to author .swfs for Flash Player 9. recently
    i noticed that Flash 10 is not displaying the anti-aliased text
    from Flash 9 content correctly.
    See image (link:
    http://i717.photobucket.com/albums/ww175/chunk1978/Picture3.png
    ). The above image is Flash 9 text playing in Flash 10. The bottom
    image is Flash 9 text playing in Flash 9. The removal of the fine
    coloring makes the text much sharper looking. It's not ideal,
    especially for smaller text of size 10 and below.
    Is there anyway i can create a Flash 10 file using Flash CS3?
    I've tried using the trial version of Flash CS4 to do this,
    but it really doesn't play nicely with my current CS3 project. LOTS
    of "missing fonts" as well as the working stage not rendering
    correctly in the program. I'd rather avoid CS4 all together as it
    seems littered with issues, and i'm in no position to start from
    scratch.
    any help would be very appreciated.

    Have you checked the font?
    Are they the same fonts in Word and Pages?
    Some applications maintain their own font folders.
    There is also a possibility of font clashes, a problem with OSX having dfonts, ttf and sometimes otf fonts all with the same name. OSX is a bit of a mess with font management (as well as color management).
    Peter

  • Flash animated text gif viewed in Fireworks

    CS3 flash text saved as gif animated and viewed in firework
    text is display as a big dark blob. Is there a way to type the text
    so it can be shown clearly and viewed in fireworks without the blob
    as an animated gif. Is thre a better way to do this?

    quote:
    When I create a short flash with text inbeded and I publish
    the fla as a gif my text does not display clearly like the swf,
    when I view the created gif in fireworks animation, my text looks
    like big glob not as a text.
    Is there a reason you need to make a gif animation instead of
    using a .swf?
    m.

  • Nv_done unable to open "flash:/config.text.new"

    Please a help / support;
    A have a WS-C2960-24TC-L that when i type the command copy running-config  startup-config
    Switch#copy running-config  startup-config
    Destination filename [startup-config]?
    Building configuration...
    nv_done: unable to open "flash:/config.text.new"
    nv_done: unable to open "flash:/private-config.text.new"
    nv_done: unable to open "flash:/multiple-fs.new"[OK]
    0 bytes copied in 0.713 secs (0 bytes/sec)
    Switch#
    Best Regards
    Fernando

    Switch#dir system:
    Directory of system:/
        2  -r--           0                    <no date>  default-running-config
        4  dr-x           0                    <no date>  memory
        1  -rw-        1346                    <no date>  running-config
        3  dr-x           0                    <no date>  vfiles
    No space information available
    Switch#

  • Flash-PHP Chating

    Hello,
    am developing a chat application in flash using php. here is
    the code for the flash file:
    on (release, keyPress "<Enter>") {
    if (inputT != "") {
    loadVariables("flashtest.php", _root, "POST");
    inputT = "";
    var param_interval:Number = setInterval(checkParamsLoaded,
    225);
    //updateAfterEvent();
    function checkParamsLoaded() {
    if (_root.topNmae == undefined) {
    trace("not yet.");
    } else {
    asd.htmlText += _root.topNmae;
    clearInterval(param_interval);
    and the php code in the server is :
    <?php
    $testVar=$_POST["inputT"];
    print("topNmae=<b>finoy</b> : $testVar<br
    />");
    ?>
    The problem is that when i use the application, it become
    heavy to use the memory usage and the application become slow. How
    can i recover it.

    Use POST instead of GET in your sendAndLoad()

  • Send data from PHP - Flash - PHP

    Hi,
    I have some issue with passing data from Flash to PHP and
    reciprocally.
    when i browse the FlashDataExchange.php file (which includes
    the flash)
    it does not redirect automatically to the 2nd PHP page...
    And i do not get any data on the 2nd PHP page....
    i'm lost, what do i do wrong ?
    thanks for your help.
    Alain
    i have the following AS3 code :
    import flash.external.*;
    myButton.addEventListener("click", sendData2PHP);
    //var link2:String = "
    http://192.160.1.2/test/flashdataexchange.php";
    var link:String = "
    http://192.160.1.2/test/DataExchangeResult.php";
    var request:URLRequest = new URLRequest (link);
    var loader:URLLoader = new URLLoader (request);
    var variables:URLVariables = new URLVariables();
    request.method = URLRequestMethod.POST;
    request.data = variables;
    var curUrl:String = String( ExternalInterface.call("
    function(){ return
    document.location.href.toString();}"));
    function sendData2PHP(evt:Event):void
    variables.lg = myField1.text;
    variables.address = myField2.text;
    variables.field2 = curUrl;
    loader.addEventListener(Event.COMPLETE, onComplete);
    loader.addEventListener(IOErrorEvent.IO_ERROR, sendIOError
    loader.dataFormat = URLLoaderDataFormat.TEXT;
    loader.load(request);
    function onComplete (event:Event):void
    Text1.text = event.target.data;
    My DataExchangeResult.php file looks like that:
    <html>
    <head>
    </head>
    <body>
    <?php
    $lg=$_POST['lg'];
    $ad=$_POST['address'];
    $f2=$_POST['field2'];
    echo "test : ".$ad ;
    ?>
    </body>
    </html>
    and my FlashDataExchange.php file is the following one:
    <html>
    <head>
    </head>
    <body>
    <?php
    echo "-- POST -- <br>";
    echo "Lg : ".$_POST['l']."<br>";
    echo "Address : ".$_POST['address']."<br>";
    echo "f2 : ".$_POST['f2']."<br>";
    echo "<br>-- GET -- <br>";
    echo "Lg : ".$_GET['l']."<br>";
    echo "Address : ".$_GET['address']."<br>";
    echo "f2 : ".$_GET['f2']."<br>";
    ?>
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
    width="400" height="200" id="FlashdataExchange"
    align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="FlashdataExchange.swf"
    /><param
    name="quality" value="high" /><param name="bgcolor"
    value="#006600" />
    <embed src="FlashdataExchange.swf" quality="high"
    bgcolor="#006600"
    width="400" height="200" name="FlashdataExchange"
    align="middle"
    allowScriptAccess="sameDomain" allowFullScreen="false"
    type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>
    </body>
    </html>

    &gt; it does not redirect automatically to the 2nd PHP
    page...
    URLLoader does not ever change the page location, it only
    loads data from the URL. To change pages, you need to use
    navigateToURL(), which can also send POST/GET variables along with
    the URL request.
    &gt; And i do not get any data on the 2nd PHP page....
    A quick look at your code looks correct to me: you are
    listening for the complete event, dataFormat is text, and PHP is
    echoing. However, check for httpStatus event and see if it gives
    you anything interesting... I can't get to the link myself, aka
    404. Also check the securityError event.

  • Flash & PHP

    I have created a database that contains mp3 numbered audio
    such as 411.mp3, 412.mp3. However, in Flash, I cannot play the mp3.
    I am using Flash Pro 2004.
    My mp3 audios are located in this folder.
    /media/aduioSermons/audios
    My flash MediaPlayBack that I used from Flash MX 2004 Pro, in
    the parameters tab I had selected mp3 radio button and then in the
    URL this is what has been typed.
    /media/aduioSermons/audios/<?php echo
    $row_rsAudioSermon['listen']; ?>
    The <?php echo $row_rsAudioSermon['listen']; ?> is my
    database in MySQL that stores the name "411.mp3".
    So my plan is to embed one flash file called
    "audioSermonPreview.swf" and inside that SWF has that URL so when
    it is called up in a details page it plays that clip.
    Is this possible to do or there is no way to link them?
    Thank you for all who help.
    AdonaiEchad
    This is my PHP Page

    Hi all_begin,
    here you have to create an another loadvar (which will be the
    return the data in order to you request ) object like to have made
    "var sendMail_lv:LoadVars = new LoadVars();". The newer may be "var
    resultMail_lv:LoadVars = new LoadVars();" and then you have to put
    this "resultMail_lv" in "sendAndLoad" method of flash like :
    sendMAil_lv.sendAndLoad(
    http://PATHtoMYserver/sendMail.php",
    resultMail_lv "POST");.
    Now, you have to write bit of code in your send_btn.onRelease
    function to load data that you want to get from your php file.
    resultMail_lv.onLoad = function(success:Boolean) {
    if (success) {
    result_ta.text = resultMail_lv.welcomeMessage;
    } else {
    result_ta.text = "Error connecting to server.";
    here " result_ta " will be the text area in which you can
    show the data which is cominig from your php side.

  • Flash/PHP form help

    I have posted this before a while back, but never figured it
    out. I think I am really close.
    When my form gets clicked, the following gets triggered:
    var result_lv:LoadVars = new LoadVars();
    result_lv.onLoad = function(success:Boolean) {
    if (success) {
    this.tf_showAlertMsg.text = "Thank you for sending us an
    email";
    } else {
    this.tf_showAlertMsg.text = "Email did not go through";
    var send_lv:LoadVars = new LoadVars();
    send_lv.Name = tName;
    send_lv.FromEmail = tEmail;
    send_lv.Subject = tSubject;
    send_lv.Comments = tMsg;
    send_lv.Newsletter = tCheckBox;
    send_lv.status = "";
    send_lv.sendAndLoad("php/sendContact.php",result_lv,"POST");
    this.showAlertMsg("Sending...");
    Everything gets sent and all is working great. The only thing
    that does not work is the ifStatement in the result_lv never gets
    triggered. I think that this has to do with my php. I don't really
    speak php and so I am having issues with it.
    In the php I have two echos, which I was told I could use
    with the result_lv. I think that my result_lv, does either not know
    what it is listening to, or that my echos are wrong. The echos in
    the php look like this.
    //if($debug)
    echo "mes1 $ToEmailType $ToEmail $Subject $Message From:
    $Name $FromEmail\n ";
    and
    echo "&Status=Your quote request has been sent.";
    What do I have to do, so Flash receives the echo and I can
    tell the user that the info has been received.
    Thanks a lot for help with this!

    OK, great, I am getting closer! Thank you so much.
    I now get the "Email did not go through" case. The email gets
    sent though, so I am not sure why that is happening. I am assuming,
    where you say //find out if it's working first is working because
    the if statement gets triggered.
    How can I proceed from here?
    Thank you so much!

  • Help flash php

    i have 2 dynamic text in same keyframe the name of 1st text is home_txt and the 2on home_txtb. i won't to load php file so do i with this flash action script code
    var homePageText:String;
    var homePageTextb:String;
    // Assign a variable name for our URLVariables object
    var home_variables:URLVariables = new URLVariables();
    //  Build the varSend URL variable
    var home_varSend:URLRequest = new URLRequest("cms_control_katopsis.php");
    home_varSend.method = URLRequestMethod.POST;
    home_varSend.data = home_variables;
    // Build the varLoader variable
    var home_varLoader:URLLoader = new URLLoader;
    home_varLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
    home_varLoader.addEventListener(Event.COMPLETE, home_var_comp);
               home_variables.sendRequest = "get_home_text";   
            // Send the data to the php file
               home_varLoader.load(home_varSend);
    function home_var_comp(event:Event):void {
        // Put the about text from mysql database into the about text field
        homePageText = event.target.data.home_text;
        home_txt.htmlText = "" + homePageText;
        homePageTextb = event.target.data.home_textb;
        home_txtb.htmlText = "" + homePageTextb;
    and i have control code for php
    if ($_POST['sendRequest'] == "get_home_text") {
        $sql = mysql_query("SELECT * FROM aithouses WHERE Aithousa='Ergastirio epikoinonion'");
        while($row= mysql_fetch_array($sql)) {
              $home_body = $row["Aithousa"];
              print "home_text=$home_body <br>";
    so my probleme is i can't desplay the next cell of my data on 2on text field.

    OK, great, I am getting closer! Thank you so much.
    I now get the "Email did not go through" case. The email gets
    sent though, so I am not sure why that is happening. I am assuming,
    where you say //find out if it's working first is working because
    the if statement gets triggered.
    How can I proceed from here?
    Thank you so much!

  • Flash / PHP Contact Form

    Hello,
    I am setting up a flash site (well trying too)  and decided to get a Flash  template of Template Monster so I could work on it, I have the site up  and all but the contact form is not working properly. The problem is the Actionscript dosen't  seem to work with the contact.php file that came in the template pack and  when I contacted them it was of no help, I was just refered me to their help  pages which showed I just had to insert my email address after rec="??????" and it would work. The actionscript is;
    rec="[email protected]";
    serv="php";
    var fields_descriptions= Array ("",
    Array("t1", "your_name", "Your Name:"),
    Array("t2", "your_address", "Your Address:"),
    Array("t3", "phone", "Telephone:"),
    Array("t4", "message", "Message:"),
    Array("t5", "your_email", "E-mail:"),
    Array("t6", "field_3", "Address:"),
    Array("t7", "field_4", "fax:")
    function reset_txt(name,name2,value) {
    path=eval(_target);
    path[name2]=value;
    this[name].onSetFocus=function() {
    path=eval(_target);
    if(path[name2]==value) { path[name2]="";}
    this[name].onKillFocus=function() {
    path=eval(_target);
    if(path[name2]=="") { path[name2]=value;}
    for (i=1; i<=fields_descriptions.length; i++) {
    reset_txt("t"+i, fields_descriptions[i][1], fields_descriptions[i][2]);
    And the contact.php file has the following script;
    <?php
    $your_name = $_GET['your_name'];
    $your_address = $_GET['your_address'];
    $phone = $_GET['phone'];
    $your_email = $_GET['your_email'];
    $message = $_GET['message'];
    $headers .= 'Content-type: text/html; charset=iso-8859-1';
    $content = "<html><head><title>Contact letter</title></head><body><br>";
    $content .= "Company: <b>" . $your_company . "</b><br>";
    $content .= "Name: <b>" . $your_name . "</b><br>";
    $content .= "Phone: <b>" . $your_phone . "</b><br>";
    $content .= "E-mail: <b>" . $your_email . "</b><br><hr><br>";
    $content .= $your_message;
    $content .= "<br></body></html>";
    mail("[email protected]","New enquiry from website",$content,$headers);
    ?>
    <html>
    <body bgcolor="#282E2C">
    <div align="center" style="margin-top:80px;color:#FFFFFF;font-size:16px;font-family:Tahom a;font-weight:bold">
    Your message was sent to <br> East Coast Computer Services <br>We will be in contact with you soon. Thank you.
    </div>
    </body>
    </html>
    I do get email from the form in Outlook but the problem is it has no content just blank fields, see below:
    From: [email protected] [mailto:[email protected]]
    Sent: 24 March 2011 23:10
    To: [email protected]
    Subject: New enquiry from website
    Company:
    Name:
    Phone:
    E-mail:
    I  haven't got a breeze about Flash or PHP, I just know a small bit from  using Dreamweaver. Would you know what is preventing the form from  working, I know it something to do with Arrays but what do I change in the PHP file so I start to receive information in the contact form? Thank you in advance.
    Kevin

    kglad,
    The actionscript calls the PHP form but dosen't post any information, it loads in the browser and I get the email but nothing in it?
    I'm just looking for the correct Actionscript to paste into flash and hopefully get it working. Thanks for the help.

  • OMG! Please help me with some actionscript for a flash .php form

    Wright I've been trying for ages to get this to work. I have
    10 combo boxes and tow input text fields in a "_mc" named "form"
    one send button with the following code on it.
    on (release) {
    form.loadVariables("email.php", "POST");
    I then have this code on the ".php" file.
    <?php
    $sendTo = "[email protected]";
    $subject = "Custom Sven Clog Order Form";
    $headers = "From: " . $_POST["name"];
    $headers .= "<" . $_POST["email"] . ">\r\n";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $headers .= "Return-Path: " . $_POST["email"];
    $email .= $_POST["email"];
    $name .= $_POST["name"];
    $message .= $_POST["treadColor"];
    $message .= $_POST["baseColor"];
    $message .= $_POST["bendOrNon"];
    $message .= $_POST["heelSize"];
    $message .= $_POST["nubucColors"];
    $message .= $_POST["galaxyColors"];
    $message .= $_POST["suedeColors"];
    $message .= $_POST["patentColors"];
    $message .= $_POST["leatherColors"];
    $styles .= $_POST["styles"];
    mail($sendTo, $subject, $message, "nEmail = $email\nStyles =
    $styels\nName = $name";
    ?>
    I've looked at all the normal stuff that might be wrong, is
    the "email.php" file on the server? Yes!. Is the ".swf" file on the
    server? Yes! I just cant get the code wright! The form is made in
    "flash 8 PRO" And the ".swf" file is in a Dreamweaver site. Well
    the hole thing is in a Dreamweaver site.
    I fill out the form hit send and all I get back is blank
    email with the name, sent to and subject lines filed out.
    AAAAAAAARrrrrrrrrrr!
    Someone please for the of it all tell me wear the hell I have
    gone wrong? I thank you all for taking the time to read
    this!!!!

    Firstly again, your php script, you have now put a '.'
    infront of all of the variables.
    The '.' consentinas a string. It should read....
    <?php
    $sendTo = "[email protected]";
    $subject = "Custom Sven Clog Order Form";
    $headers = "From: " . $_POST["name"];
    $headers .= "<" . $_POST["email"] . ">\r\n";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $headers .= "Return-Path: " . $_POST["email"];
    $email = $_POST["email"];
    $name = $_POST["name"];
    $message = $_POST["treadColor"];
    $message .= $_POST["baseColor"];
    $message .= $_POST["bendOrNon"];
    $message .= $_POST["heelSize"];
    $message .= $_POST["nubucColors"];
    $message .= $_POST["galaxyColors"];
    $message .= $_POST["suedeColors"];
    $message .= $_POST["patentColors"];
    $message .= $_POST["leatherColors"];
    $styles = $_POST["styles"];
    Also you need to close the brackets in your mail()
    function....
    mail ($sendTo, $subject, $message,$headers);
    That is the first problem. Your big problem is that you
    aren't sending any of the variables from your swf, to the php file.
    You need to look up loadVars(). I don't think you can use
    loadVariables, as you want to send the variables to php, not
    recieve them. You can use loadVars to sendAndLoad variables to the
    php... be it 'email','name' etc and the php script will email
    them.

  • How well does Flash & PHP mix?

    I haven't worked much with forms yet in Flash. The existing
    site that I'm replacing with a flash site uses some PHP to interact
    with a MySQL database. It is for an email list that users can
    sign-up for or remove themselves. I'm wondering if I will be able
    to still (at least somewhat easily) do the same thing through
    Flash. Here's the code currently used:
    <?php
    switch ($_GET['a']) {
    case "s":subscribe();break;
    case "r":remove();break;
    default: subscribe();
    function subscribe() {
    require_once 'database.php';
    require_once 'admin/lib.php';
    $db = new Database('eaglebro_lists');
    $show_form = true;
    if ($_POST) {
    if (is_email($_POST['email'])) {
    $email = format_email($_POST['email']);
    $uniqid = make_uniqid();
    $db->query("REPLACE users (name, email, uniqid, created)
    VALUES ('$_POST[name]','$email','$uniqid',NOW()) ");
    $id = mysql_insert_id($db->db);
    $db->query("REPLACE subscriptions (listid, userid,
    created) VALUES ('11','$id',NOW()) ");
    $show_form = false;
    echo '<h3>Success!</h3><p>Thank you for
    subscribing to the Route 212 email newsletter!</p><hr
    /><p><a href="/">Route 212 Home
    Page</a></p>';
    } else {
    echo "<h3>Error!</h3><p>The email address
    you entered appears to be invalid. Check for any errors and submit
    the form again.</p><hr />";
    if ($show_form == true) {
    ?>
    <p>Sign up to receive periodic email about Route 212
    events and news.</p>
    <form method="post"
    action="/interact/updates.html?a=s">
    <p>
    <label class="m"
    for="f_name">Name:</label><input id="f_name"
    type="text" class="text m" name="name" />
    <label class="m"
    for="f_email">Email:</label><input id="f_email"
    type="text" class="text m" name="email" />
    <p><input id="f_submit" type="submit" class="button
    s" value="Subscribe" /></p>
    </form>
    <?php
    function remove() {
    require_once 'database.php';
    $db = new Database('eaglebro_lists');
    //if email address is provided
    if ($_GET['uid'] && $_GET['lid']) {
    //perform database removal and show confirmation
    $id = $db->query_fetch("SELECT id FROM users WHERE
    uniqid='$_GET[uid]'");
    $db->query("SELECT * FROM subscriptions WHERE
    userid='$id[id]' AND listid='$_GET[lid]'");
    if (mysql_num_rows($db->result)) {
    $db->query("DELETE FROM subscriptions WHERE
    userid='$id[id]' AND listid='$_GET[lid]'");
    $list = $db->query_fetch("SELECT name FROM lists WHERE
    id='$_GET[lid]'");
    echo "<h4>Unsubscription
    Successful</h4><p>You have been removed from the
    following list: <b>$list[name]</b></p>";
    echo '<hr /><p><a href="/">Route 212 Home
    Page</a></p>';
    } else {
    $list = $db->query_fetch("SELECT name FROM lists WHERE
    id='$_GET[lid]'");
    echo "<h4>Cannot Unsubscribe</h4><p>You
    have either already unsubscribed from the following list:
    <b>$list[name]</b>, or an
    error has occured.</p>";
    echo '<hr /><p><a href="/">Route 212 Home
    Page</a></p>';
    } else {
    echo "<h4>Cannot Unsubscribe</h4><p>There
    is information missing.</p>";
    echo '<hr /><p><a href="/">Route 212 Home
    Page</a></p>';
    ?>

    Josh,
    I'm much more comfortable with PHP that Flash too. You won't
    have a problem getting the two to work together. Its pretty easy
    actually.
    The key in my limited experience is to have your PHP to run
    as normal and then communicate what you want to display to the user
    via one of Flash's external data connection classes. There is a
    great chapter on this in the book "flash 8 action script" by Adobe
    --- the easiest way is to just use the "loadVars" class to accept a
    string you've generated as output of your PHP file in the format:
    &variable = data &variable = data etc...
    Also here is a good site with an example I've found that was
    helpful in getting the two languages to work together:
    http://webmonkey.wired.com/webmonkey/03/40/index0a_page3.html?tw=programming
    This example actually walks you through the communication
    between all 3 --> MySQL, PHP and Flash.
    Good luck!!
    Tom

  • Flash input text not letting me type anything

    Hi,
    Ive recently developed a flash site that features a contact form where a user must enter his name, email and such. When the user presses "send", all the fields are getting passed to a php page, which then composes an email to be sent to a certain address.
    now my problem is the following:
    I've tested this on every single browser I managed to install on my windows vista machine, and it works perfect on all browsers, even safari (for vista)
    but my friend who's using an apple machine with MAC OSX (using safari as browser), has a few problems.
    when he goes to the site, it all works, but when he tries to type text in the input fields, it doesn't let him...
    this renders my contact form pretty useless :S
    I've been googling around for about an hour now and I found 1 other person having the same problem, but the website I found it at, requires u to pay and register in order to see what other ppl replied
    http://www.experts-exchange.com/Software/PhotosGraphics/Web_Graphics/Macromedia_Flash/Q23172357.html
    so much for the power of GNU
    any help or just pointing me in the right direction would be much appreciated
    regards,
    Steve
    Message was edited by: seutje

    o lol, I didn't know that :o
    I actually went trough the trouble of getting the google cached page where nothing is hidden lol
    but it wasn't a problem of embed fonts like that guy
    the problem was the following (kinda complicated):
    the entire flash gets its content from a drupal service and AMFPHP, the way I showed the contact form within the flash was by sending a tag to the htmlText field and the src of the img tag was the contact form.swf
    the problem was that the main flash puts a mask over the content area while loading the content and as soon as it's loaded, the mask slides away
    now I still have no clue why it worked on vista on pretty much every browser (even tried IE 5.5 and it worked) but on any browser on MAC OSX or on WIN XP, it wouldn't work at all
    so now I entirely remade it withing the main flash, so it doesn't get pushed as "content" but it just shows up over the content if the title of the page is right
    now the real challange is to actually make it properly communicate with the external php file and do proper checkups on the textfield so that ppl can't type "iljghjlghjg" as email address

Maybe you are looking for

  • I can no longer print wirelessly

    My wireless network was recently changed and I can no longer print wirelessly from any of my devices. I have tried to change the info by connecting the printer to my MacBook Pro but I am stuck. Pleas help a confused housewife!

  • How to download Woodvine Media Optimizer so I can view videos on Hoopla, offered by my public library.

    I've tried to download the Woodvine Media Optimizer, which is require to view videos via Hoopla, a library service, and first I get a dialog box saying "Firefox prevented this site (tools.google.com) from asking you to install software on your comput

  • ALL FIRE WIRE ports down on tower!

    All of the FW ports on my Mac have suddenly gone belly up, front and back. All the drives that will not mount on my tower will mount fine on my laptop. What is broken?

  • Chart Legend and Title - Can they be Different?

    Hi, Pie chart I am displaying has titles as big names like Oracle Applications Oracle content management etc So the space occupied is more. Is there a way to display the titles as abbreviations and the legend as full name? Eg: Title OA OCM Legend OA

  • EDIReceive Pipeline split 820 file, produce invalid xml output

    I am using  BizTalk 2013.   X12_00501_820 schema comes from biztalk in-box schema with a tiny little change to add annotations such as subdocument_creation_break="yes" to enable spliting. For my testing, I applied subdocument_creation_break in loop 2