Hi List,
I have a problem, might be a silly thing but I can't get my head around
this.

Problem:
I have a master.swf that has a dynamic textfield ( containerObject_txt) on
stage, and it loads the sub.swf into that specific dynamic textfield and
html is set to true.
It loads fine but the scroll won't work, I've tried bunch of different ideas
and none seems to work in this case.

Ideas???

Andy



//Master swf///
//Create the string
var myString_str:String = "<img src='sub.swf' width='277' height='98'
align='left'>";
//Put the text
containerObject_txt.htmlText = myString_str;

//Control The scroll
up_btn.onPress = function() {
    if(containerObject_txt.scroll != 0) {
        containerObject_txt.scroll--;
    }
}
down_btn.onPress = function() {
    if(containerObject_txt.scroll < containerObject_txt.maxscroll) {
        containerObject_txt.scroll ++;
    }
}


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to