Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 805375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:04:20+00:00 2026-05-15T00:04:20+00:00

I have two columns: the left one is a Canvas containing an mx:Tree and

  • 0

I have two columns: the left one is a Canvas containing an mx:Tree and the right one is a Canvas containing a Canvas (to allow for scrolling) of some custom Sprites that go along with the tree nodes on the left. I made the right Canvas scrollable (horizontal and vertical) and I want the vertical scroll to also scroll the left Canvas so that the tree nodes line up with their representations on the right.

The scrolling portion works fine and when I embed with wmode=”window” there are no problems. Unfortunately, the customer requires dynamic HTML to overlap the Flash at times and when using wmode=”opaque” or “transparent”, there are issues. The scrolling still works, per se, but Flash does not seem to redraw either Canvas appropriately. The Canvases become out of sync and artifacts often remain on the right side.

I catch a scroll event on the right column and update the scroll position on the left column like so:

        public function onTimelineScroll(scrollEvent:ScrollEvent):void {
            leftColumn.verticalScrollPosition = rightColumn.verticalScrollPosition; 
        }

Removing this event listener allows the right column to draw correctly.

Any suggestions on how I can fix this? Unfortunately, wmode=”window” is not an option. Perhaps there is a better way to scroll?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T00:04:20+00:00Added an answer on May 15, 2026 at 12:04 am

    Well, as horrible as the solution turned out to be, I ended up having to implement a hack to solve my problem. I added:

    rightColumn.horizontalScrollPosition = rightColumn.horizontalScrollPosition + 1;
    rightColumn.horizontalScrollPosition = rightColumn.horizontalScrollPosition - 1;
    

    in order to force the canvas to redraw and it works flawlessly with no noticeable degradation in performance and no jerkiness. Now sure if there is a better way to force the canvas to redraw.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I want to have two columns. The right one is 200px wide,
If one uses float:left to layout two columns, does the left column have to
I have two columns. One with fixed size (220px) and the other that fills
My WPF Listbox should have two columns. The one on the right should have
I have a two column site layout that has the content of the left
I have a two column layout: http://jsfiddle.net/KqQ42/1/ Now I would like that the left
I have two columns in my NSOutlineView. One is a Text and image cell
I have two columns that are joined together on certain criteria, but I would
I have page of two columns with left bar. On the left side I
I have a table of one row with two columns.I want to align content

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.