Results 1 to 6 of 6

Thread: CamNa Nak buat file php utk berinteraksi dengan flash.

  1. #1
    Join Date
    Mar 2002
    Location
    Penang
    Posts
    170
    Rep Power
    214

    CamNa Nak buat file php utk berinteraksi dengan flash.

    Nak tau camna nak koding file php utk berinteraksi ngan flash..

  2. #2
    Join Date
    Jul 2001
    Location
    KL, Malaysia
    Posts
    277
    Rep Power
    223
    Check at flashkit.com, I believe I saw some such examples there.

  3. #3
    Join Date
    Dec 2001
    Location
    kl
    Posts
    11
    Rep Power
    0
    use the "getURL" action to post request to your server.
    e.g.
    getURL ("login.php", "", "POST");


    also, you can use XML to pass data to and from flash to server

    Happy programming!
    acurra79

  4. #4
    Join Date
    Mar 2002
    Location
    Penang
    Posts
    170
    Rep Power
    214
    i mean ,
    How to creat the *.php files.
    the coding .. how does it look like...

  5. #5
    Join Date
    Dec 2001
    Location
    kl
    Posts
    11
    Rep Power
    0
    Originally posted by Rezats
    i mean ,
    How to creat the *.php files.
    the coding .. how does it look like...
    To begin with, I'm sure you have basic php and flash knowledge.

    Passing variable between flash and php

    1.Create a swf file with a text field with the variable name "txtInput" and a button. Add the follow action script to the button:

    on (release)
    {
    getURL ("test.php", "_blank", "GET");
    }

    2.create a php file called test.php. Add the following code:

    <html>
    <title>Passing variable from flash to php</title>
    <body bgcolor="#FFFFFF" text="#000000">
    <p>You have entered the following:<b><?php echo $txtInput; ?></b></p>
    </body>
    </html>

    3.Save both files, upload it, test it and that's it!!. As you can see, you php file is just like normal php code.

    Hope this helps
    Happy Programming!!
    acurra79

  6. #6
    Join Date
    Mar 2002
    Location
    Penang
    Posts
    170
    Rep Power
    214
    wow very clear ,,,
    thank you very much ...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Income Autopilot - Buat website sms dengan mudah-
    By kaiba910 in forum Site, Domains and Links Marketplace
    Replies: 0
    Last Post: 09-03-2008, 02:56 AM
  2. Action scirpt dengan Flash Media Server..
    By talapia in forum Website Programming
    Replies: 1
    Last Post: 06-11-2007, 09:06 AM
  3. macamana nak buat file.swf
    By zaman in forum Website Design
    Replies: 6
    Last Post: 17-11-2005, 05:17 PM
  4. Camna nak gabungkan Flash ngan HTML
    By dwazni in forum Website Design
    Replies: 8
    Last Post: 14-08-2002, 08:50 AM
  5. camna nak buat kalendar...
    By pikachu78 in forum Website Programming
    Replies: 1
    Last Post: 24-04-2002, 05:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37