thx for the answer about attaching movie clip via actionscript. that works now for me.
i'm able f.ex. to attach a flashblock nested in mcNews , (mcNews uses linkage-identifier news)
when doing so all will be displayed fine,100%scale.
My basic script added to the onResize-script looks like this
| Code: : |
Stage.scaleMode = "noScale";
Stage.align = "TL";
lstrn = new Object();
lstrn.onResize = function() {
news._height=Stage.height-100};
Stage.addListener(lstrn);
lstrn.onResize();
attachMovie("news","news",100);
news._x=100
news._y=100
|
lstrn.onResize = function() {...this is part i'm unsure about...};
when a onResize happends my created instance should not resize the fontsize as it does yet , i want it only to add or subtract height of the textfield depending on the calculated stage.height. -
if there is enough height it should be displayed without scrollbars.
if user turns browserwindow in smaller scale the textfield should be displayed and recalculate the textfields and the scrollbars height.
This is what i wanted to do, but by now my script only rescales the news instance AND the fontsize of my textblock.(f.ex. with resizing browserscale, at a height=300 fontsize goes 5 or 6,with heights 700+ it gets a 16+ font and bigger...can't i have a one sized font that way?) i can add a screen if that helps to understand the problem...
Could it be that i have to add code anywhere into the scrollbarscripts or the cmsOBJ scroll sys?do i have to change txtbox._height f.ex?
Or is there a trick getting this to work anyhow?
thanks for sharing your time with my problem, you may faster know what to do :)