I have a project that loads an external swf and that external swf in turn, loads several external text files into movie clips in the timeline. I’ve attached scrollbars (UIScrollBar) to each dynamic text field so that the user could scroll the text IF the dynamic text ever overflows beyond the visible field (on a couple, it already does). Now, when I publish, everything works fine locally. If I move all files and assets to another machine, it works fine there as well. However, when I upload to the web, the scrollbars ALL become disabled (obviously, only the ones without enough text should be disabled). I have no idea why that is. Any thoughts or suggestions? Any help would be appreciated!
Thanks for the response but unfortunately, it still doesn’t work. But it’s ok, I’m going to attempt to create my own custom scrollbar and avoid using the built-in component altogether. Again, thanks for the help.
[QUOTE=MAAD;2377573]Thanks for the response but unfortunately, it still doesn’t work. But it’s ok, I’m going to attempt to create my own custom scrollbar and avoid using the built-in component altogether. Again, thanks for the help.
MAAD[/QUOTE]
You know what, I had this problem for the past month now and discovered a workaround yesterday from another web site I stumbled upon (I thought I had seen 'em all!).
To enable the UIScrollbar to operate properly, you have to insert the following action somewhere in the function where you load the text file and give your UIScrollbar an instance name (in this case I named mine scbar):
scbar.update();
Suffice it to say, I wasn’t thrilled upon discovering this was all that I needed to get the scrollbar working on the dynamic text field. (sigh)
Now trying to figure out how to make the buttons for scene-to-scene jumping.
UPDATE: Found out how to do navigate or jump from scene-to-scene too in movie! I’m on a roll today!
The only variables that need modification below are the two gotoAndPlay properties: