#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2005
    Posts
    387
    Rep Power
    21

    Output html in flash


    hi all, im sending a variable from my php page to flash..



    PHP Code:
    $reptoview=urlencode($rowrep['report']);
    echo 
    "rep=$reptoview"
    i then receive the variable in flash...

    PHP Code:
    report.text event.target.data.rep
    the only problem is that the variable contains html code so the report.text field outputs code "<p>mytext etc</p>"

    is there a way to output it as html rather than as html code?! thanks
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2005
    Posts
    387
    Rep Power
    21
    solved using report.htmlText = event.target.data.rep;

    sorry for wasting time

IMN logo majestic logo threadwatch logo seochat tools logo