Skip to main content
Known Participant
April 20, 2014
Answered

ScrollPane Problem

  • April 20, 2014
  • 1 reply
  • 541 views

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.

This topic has been closed for replies.
Correct answer kglad

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?

1 reply

kglad
Community Expert
Community Expert
April 20, 2014

i don't see that problem (though you have a typo in your code).  that should be scrollpane, not scroolpane.

garykangAuthor
Known Participant
April 20, 2014

sorry...typing error

scrollpane.source = mytext;


but why it cannot show all text and graphic?

anything wrong?

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
April 20, 2014

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?