I'm loading text from an external txt file into a dynamic text field. This dynamic text field is inside a movie clip, which is loaded into the ScrollPane.
The text shows up in the ScrollPane, and when testing locally the scroll bar appears and works, but when I'm testing online the text still appears in the ScrollPane, but there is not scroll bar... it is cut off at the bottom of the ScrollPane with no scrolling ability. Why isn't the scroll bar showing when testing online? The MC being loaded into the scroll pane is called "newsContent" and the scroll pane is called "scrollPane".
Code://Dynamic News Section _root.contentNews.scrollPane.contentPath = "newsContent"; var mcMain:MovieClip; mcMain = _root.contentNews.scrollPane.content; newsLoadVars = new LoadVars(); newsLoadVars.onLoad = function() { mcMain.newsText.autoSize = true; mcMain.newsText.htmlText = newsLoadVars.myHTMLdata; } newsLoadVars.load("newsContent.txt");




Reply With Quote
