Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ScrollPane Problem

New Here ,
Apr 20, 2014 Apr 20, 2014

rtr.jpg

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;

rtr1.jpg

result show me like that.

TOPICS
ActionScript
480
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 20, 2014 Apr 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?

Translate
Community Expert ,
Apr 20, 2014 Apr 20, 2014

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 20, 2014 Apr 20, 2014

sorry...typing error

scrollpane.source = mytext;


but why it cannot show all text and graphic?

anything wrong?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 20, 2014 Apr 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 21, 2014 Apr 21, 2014

problem is solved.

just needed move text to 0,0.

the scrollpane functional correctly.

again, thanks you very much

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2014 Apr 21, 2014
LATEST

you're welcome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines