call any pic file in a textbox

  • muzzy
  • Newbie
  • Newbie
  • muzzy
  • Posts: 6

Post 3+ Months Ago

I was created my dynamic text area with my own scrollbar, question is how can I call any pic file in my text area or can i create my own scrollpane like flash components
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

i first thought it would work if you set the .html property to true and then set the html text with <img> tag inside. Something like ...
Code: [ Select ]
dt1.html = true;
dt1.wordWrap = true;
dt1.htmlText = "some text in here<br><img src='dha-logo.jpg' /> some other text"+
"some text in here some other text"+
"some text in heresome other text"+
"some text in here<br>some other text";
dt1.scroll = 3;
  1. dt1.html = true;
  2. dt1.wordWrap = true;
  3. dt1.htmlText = "some text in here<br><img src='dha-logo.jpg' /> some other text"+
  4. "some text in here some other text"+
  5. "some text in heresome other text"+
  6. "some text in here<br>some other text";
  7. dt1.scroll = 3;

but ... not. The scroll has no effect.

So you could make your own scroller for an image, using a mask, and display the image over the text area.
  • muzzy
  • Newbie
  • Newbie
  • muzzy
  • Posts: 6

Post 3+ Months Ago

problem solved, thanks IceCold

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 9 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.