0 Replies Latest reply on Jun 26, 2006 3:21 AM by

    Urgent help :- getting Image in text area

      hi can some one help me to get solution for this problem

      i am making one small cms system which is updating flash content , everything is done and working properly but image tag is not getting display in text area ( image is not comming in text ara ) following is the coding

      for flash ( in first frame )
      loadVarsText = new LoadVars();
      loadVarsText.onLoad = function(success) {
      if (success) {
      trace("done loading");
      _root.az.scroller.htmlText = this.content1;
      } else {
      trace("not loaded");
      ////////////////////////////////////////////////////////////////////////////////////////// ///

      coding in display.php

      $qry="select * from content where pagename ='$pagename'";
      $res = mysql_query($qry) or die($qry.mysql_error());
      $res_arr = mysql_fetch_array($res);
      $content = $res_arr["contents"];
      //print "content1=$content";
      echo "content1=$content";

      now its working perfect its showing perfect html content in flash even its going well in databse but in text area of falsh its not showing i do have one solution or you can say hint

      if we give value in flash itself then its shoing but its not showing when variable coming from db

      myTextField.htmlText = '<img src=" http://designerden.net/images/logo.jpg" width="168" height="42" border="0">';