I am trying to resolve a couple of last minute issues in an app i’m building for a client and I am hoping someone else has had the same issue and knows a workaround.
The issue is using the multiline feature of the display.newText
the app is an RSS reader (thanks RobMiracle for your awesome RSS parser) and I can get all the data to display, however when I try to display the article all i get is a black box where the article should be. If I try to set the height of the text to 1024 it displays the text but cuts it off. if I use 0 for the height so it auto scales I get the black box. also i am trying to display this in a scroll view widget.
the code i use for the text object is here…
headStory = display.newText(articleStory, 0, 0, 300, 0, native.systemFontBold, 11)
headStory:setReferencePoint( TopLeftReferencePoint )
headStory.x=\_W\*0.5; headStory.y = headTitle.height+15;
headStory:setTextColor(0)
the ‘articleStory’ is a string derived from the RSS parse and stripped of the HTML. All my other objects work fine on all my other pages. this is the only one I am having issues with, and it is the only one that can cause the height to be huge. i have noticed that any story that returns a height of less than 1024 works exactly as intended by anything larger does not.
any ideas or workarounds out there?
Thanks in advance!
[import]uid: 87791 topic_id: 25810 reply_id: 325810[/import]
