Groups | Blog | Home
all groups > flash actionscript > may 2004 >

flash actionscript : Scroll buttons don't work with dynamic txt


zzdobrusky
5/16/2004 9:40:04 PM
Hi,
still fighting with I guess paths, I am building flash webside, main.swf loads
littleHistory.swf in level 100, than litlleHistory.swf loads page1DynTxt.txt
into its own dynamic txt field with instance name dynTxt also into 100 level so
it is seen in main.swf, the only problem is that my up and down scroll buttons
on littleHistory.swf don't scroll, i tried also something like

on (release) {
_level100.dynTxt.scroll -= 1; //up button
}

any advice?
thanks,
Zbynek
rlc5611
5/17/2004 1:33:16 AM
That looks pretty much right except that "-=1" for me is more of a down scroll
than an up scroll but maybe that is just point-of-view. From my perspective
"+=1" would go up. Is the dynamic text field you are using set as "single line"
or "multiline"? You did say that dynTxt is the "instance" name so should be
okay.
AddThis Social Bookmark Button