hi!
would be great if anybody could help me or give me an idea with dynamically scaling the flashblock height without scaling the content loaded(in my case a text field which should have its myTXTflashblock._height=Stage.height)
here comes the code:
| Code: : |
lstrn = new Object();
lstrn.onResize = function() {inhalt0.HOMESITE.NEWS._height = Stage.height-240;}
|
i'm not sure if this will work at all but the basic idea was to set a listener for onRezize, and if Stage.height has changed it should be same height for the flashblock - so the question is :
why will it resize/scale the text in the field itself and how do i get it running that way, that only a text.length>=stage height will enable the scrollbar function otherwise scrollbars would be disabled?
or do i have to add enable/disable-function seperately in the text module? not sure anymore what to do. i'm bit confused cause my experiments show me a working file flashblock with text but it resizes the fontsize itself too ...
thx for help in advance:)