A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: array from php

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Location
    Hindustan
    Posts
    11

    array from php

    How Do I receive an array in Flash from Php ?

    I have tried many ways like a[0]=variable1&a[1]=variable2 and so on...
    (Please do not give me speculations)


    Is it possible to have variable variables in flash so that I can define variables on the fly ?
    I get
    animal0=cat&animal1=bat&animal2=donkey (from php)
    now I want to display animal1 in a text box which is associated with variable 'pets'
    so something like
    pets={animal}+i (php style)
    ============
    ~ Lord Loh. ~
    ============
    Loh Crafts.

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    Hi,

    the magic actionscript spell is

    pets = this["animal"+i];

    Musicman

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center