Chinchan Zu
Chinchan Zu

Reputation: 918

FLEX 4.5: Displaying Horizontal/Vertical scrollbar on Canvas

I have a canvas lets say the size of it on the screen is 500x500. But I want the actual canvas size to be 1000x500 making the other half scrollable. How can I make a blank canvas with that specification?

Thank you

Upvotes: 0

Views: 1863

Answers (1)

Constantiner
Constantiner

Reputation: 14221

<s:Group width="500" height="500">
    <s:Scroller left="0" right="0" top="0" bottom="0">
        <s:Group width="1000" height="500" />
    </s:Scroller>
</s:Group>

Upvotes: 2

Related Questions