Skip to main content
Known Participant
September 9, 2010
Answered

Dynamic Text Field

  • September 9, 2010
  • 1 reply
  • 1050 views

I've created a dynamic text field where I've insert into a lot of HTML code.

Since it's too much long I've used a default scrollbar and simply dropped it onto the field so that It's linked to that.

When I try it the bar is there but I can just see the upper arrow and the bottom one; the middle part isn't visible and I can't scroll down the HTML content.

Any idea?

This topic has been closed for replies.
Correct answer Ned Murphy

You may want to check your Publish Settings versus your intentions.  That first line appears to be AS2 code.

1 reply

September 9, 2010

Open the component inspector (Window > Component Inspector) and make sure the scrollTargetName of the scroller is set to the instance name of your field. Also where did your HTML come from? You'll need to make sure it has line breaks, and is not one long line being formatted via wrapping.

TrecciaAuthor
Known Participant
September 9, 2010

Yes the target is the istance of the field, I already said that.

My HTML come from these lines:

links.autoSize = "left";
links.htmlText = '<img src="images/01.jpg" width="100" height="100"><br /><a href="event:Link1">Click Here</a>';
links.htmlText += '<img src="images/02.jpg" width="100" height="100"> <br /><a href="event:Link2">Click Here for Another Link</a>';

Ned Murphy
Ned MurphyCorrect answer
Legend
September 9, 2010

You may want to check your Publish Settings versus your intentions.  That first line appears to be AS2 code.