Copy link to clipboard
Copied
ScrollPane = scrollpane
graphic + text (movie clip)= mytext
ScrollPane and graphic same width difference length
i want make it drag with hand.
using:
scroolpane.source = mytext;
result show me like that.
create a new fla,
add a scrollpane,
create a new movieclip,
copy some text and paste static text onto the stage of that movieclip,
move the text to 0,0,
add the movieclip to the stage,
assign an instance name (mytext),
copy and paste your corrected code in the actions panel,
test.
any problem?
Copy link to clipboard
Copied
i don't see that problem (though you have a typo in your code). that should be scrollpane, not scroolpane.
Copy link to clipboard
Copied
sorry...typing error
scrollpane.source = mytext;
but why it cannot show all text and graphic?
anything wrong?
Copy link to clipboard
Copied
create a new fla,
add a scrollpane,
create a new movieclip,
copy some text and paste static text onto the stage of that movieclip,
move the text to 0,0,
add the movieclip to the stage,
assign an instance name (mytext),
copy and paste your corrected code in the actions panel,
test.
any problem?
Copy link to clipboard
Copied
problem is solved.
just needed move text to 0,0.
the scrollpane functional correctly.
again, thanks you very much
Copy link to clipboard
Copied
you're welcome.