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

ScrollPane Problem

New Here ,
Apr 20, 2014 Apr 20, 2014

Copy link to clipboard

Copied

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

Views

405

Translate

Translate

Report

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?

Votes

Translate

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

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

sorry...typing error

scrollpane.source = mytext;


but why it cannot show all text and graphic?

anything wrong?

Votes

Translate

Translate

Report

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

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?

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

problem is solved.

just needed move text to 0,0.

the scrollpane functional correctly.

again, thanks you very much

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

you're welcome.

Votes

Translate

Translate

Report

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