Flash Scrolling thumbnail bar ends

Posted on 2009-02-21
Last Modified: 2013-11-12

Following an online tutorial, I have successfully created a scrolling thumbnail bar containing ten 100x100 thumbnails.  By successful I mean I am able to control the right to left motion of the bar with my mouse, stop the menu bar when hover over a particular thumbnail and the bar will continue to scroll across the screen when the mouse is not hovering over it.

When I test the animation, the test window appears partially expanded and the menu bar responds as it should and the scrolling thumbnails are moving continiously from right to left.  Upon expanding the test window however, the thumbnail bar continues to scroll but eventually a small brief gap appears to the left of the screen i.e. the bar ends briefly and then resumes scrolling.

Question: if the gap only appears when the test window is fully expanded out i.e. does not appear when the test initially starts in the partial expanded state, is this necessarily a problem?  In other words, will the gap most likely appear when I add the thumbnail bar to a webpage?  I am a novice with Flash so whoever answers please assume I know next to nothing.

Fyi, I have posted some screenshots to show what is happening.
Question by:max7
    LVL 19

    Expert Comment

    This depends on how you want to deliver the content.

    If you deliver it as a .swf or projector (.exe) then the user has control over the size of the window (they  can resize it). They could then see the 'flawed' view.

    But, if it is being delivered via a browser (either online or offline) then the *browser* determines the size of the window, and therefore the user *cannot* resize to see the *flaw*.
    LVL 1

    Author Comment

    >>>But, if it is being delivered via a browser (either online or offline) then the *browser* determines the size of the window, and therefore the user *cannot* resize to see the *flaw*.

    This will be part of a website i.e. on a web page so I suspect that, following your response above, they will not be able to see the gap -- did I get that right?

    LVL 19

    Accepted Solution

    You did. You're safe delivering this in a browser. The size of the flash window is set by the html that is serving the .swf, and these values cannot be changed by the user.
    LVL 1

    Author Closing Comment

    Thanks for confirming for me; undoubtedly I will be posting a follow up question within the next week of how exactly to imbed this in a web page properly (assuming I can't figure out myself) so it will another opportunity to get what will probably be some easy points for you based on your level of knowledge.  Thanks again!

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
    There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
    The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
    The goal of the tutorial is to teach the user how to how to record live broadcast.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now