Scrolling Parallax of the top (bird's-eye view) view / resizing and virgins of the tasks

Hello :)

I thought this was going to be easy, but some problems

Currently Im trying to do a parallax road scroll while seeing at the top, but there are some current issues.

the 1st is that somehow after the second image out of the scene, there are a few white pixels that do not... and it seems that the speed of movement is == to the pixels that are not filled.

And I think, just suppose that if I test it on as different sizes - screen it's a phone - ill get a few problems with the scaleX and Y and it will get enough ugly and cubes.

I did ch by a tutorial or an example but there are only in the X direction as if you see a side view of the car like this

134 http://Hub.tutsplus.com/tutorials/Add-Depth-to-Your-Game-with-Parallax-scrolling--active-2

If the file SWF here

http://www.stouchgames.com/APKs/road.swf

Therefore, the current code that I have

package  {

          import flash.display.MovieClip;
          import flash.events.Event;


          public class MainClass_road extends MovieClip {

                    protected var _road:road = new road();
                    protected var _road2:road2 = new road2();


                    public function MainClass_road() {

                              _road.x = stage.stageWidth/2
                              _road.y = stage.stageHeight - _road.height
                              addChild(_road)
                              _road2.x = stage.stageWidth/2
                              _road2.y = y - _road2.height
                              _road2.alpha = 1
                              addChild(_road2)
                              addEventListener(Event.ENTER_FRAME, everyFrame)
                    }

                    protected function everyFrame(ev:Event):void{
                              _road.y +=8


                              if(_road.y > 400){
                                        trace("zzzz")
                                        _road.y = y - _road2.height 
                              }
                              moveBackground2()

                    }
                    protected function moveBackground2(){
                              _road2.y +=8
                              if(_road2.y > 400){
                                        _road2.y = y - _road2.height
                              }
                    }



          }

}

and the FLA is here

http://www.stouchgames.com/APKs/road.fla

This is not going to work.  If you change the position of part of the route of the road there will be out of the scene, revealing part of the scene.

to give the appearance of infinite scrolling, roads must have a height, at least, twice the stageHeight.  If you do not plan to use the infinite scrolling and want to only reach a maximum of 10 px then the roads must be 10 px heigher than the stadium.

Tags: Adobe Animate

Similar Questions

  • Windows flashes when scrolling on in the task bar, Alt - Tab does not.

    OK it drives me absolutely crazy. for these past few weeks, my taskbar and alt - tab has been broken. When I move the taskbar of the program im trying to open just blinks but never actually maximizes.  I noticed that it only flashes I have my cursor over the icon. But if I leave it right on it to open its own it never made. Alt - Tab is also the exact same thing (which makes me assume that the question is related.) I click on buttons and pop-up windows, but does not open anything.

    I looked around and I know that this question emerged with a reliablitiy of windows there are few up-to-date kb977074, but wasn't in my update list. SO I now have no idea what to do. Ive played around with the parameters monitored for defective or damaged files, and really, I don't want to have to do a system restore. especially since ive restored my computer and he was doing it before I updated. so... ideas would be very appreciated.

    Thanks in advance :)

    Hello

    Welcome to Microsoft Community forum.

    I would be grateful if you can provide us with the following information to help us better understand the issue.

    1. You have installed all the programs, application or updated before the show?
    2. How did you check the defective or damaged your system files?
    3. Do you receive an error message or error code while using the taskbar?

    Try it out below mentioned methods and see if it works for you.

    Method 1

    Try to perform a full scan of your computer using Security Microsoft Scanner.

     

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

     

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

     

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Method 2

    If the problem persists, I suggest to check the integrity of the system and for this you may need to run the SFC (System File Checker).

    Scan SFC will be scans all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    1. Go to Start, click all programs and open the Accessories.
    2. Right-click on command prompt in the list programs, and then select run as administrator. If you are prompted for an administrator password or for confirmation, type your password, or click OK.
    3. In the command prompt, type the following command and press ENTER:

    sfc/scannow


    For more information, refer to this link:

    http://support.Microsoft.com/kb/929833/en-us

    Hope it would help. If problem persists always post back with the current state of your computer, the information required and the result of proposed suggestion, we will be happy to help you.

    Thank you.

  • How to stop scrolling 250px from the top of the page content?

    Hello

    Sorry, I couldn't write a better subject line...

    I have links to content on the same page, like "named anchor" of ancient times. Problem is that the page contains a fixed header on 250px high. As content scrolls upward all the way to the top of the page, the top of 250px page are hidden by the header.

    Are there ways that I can stop content top of page 250-300px?

    The header must be there, fixed.

    One way of course is to raise the anchor tag 250-300px on the page that the content actually is. But it seems a bit expensive...

    Hope that I managed to explain...

    A very simple way to do this is with CSS and a combination of relative and absolute positioning.

    It's the element that is bound to

    . Anchor {}

    position: relative;

    }

    . Anchor span {}

    position: absolute;

    top:-250px;

    }

    The ID (or named anchor) is in the empty space, which is the position absolute 250px above the element you are linking. The empty space is at the top of the page, and the bound element is below 250px.

    Give the position set a z-index to ensure that the content above the bound element is not displayed in front of her.

  • MUSE: How set you the scrolling speed in the site of Parallax?

    My site is 1 page long.

    I put anchors in different sections to mark the spots where I want to reach when I click on the menu

    (I have removed all links to other pages in the menu and replaced the hyperlinks with anchors).

    The site works, but the menu doesn't seem to be able to catch up with the rest of the content when I'm at the bottom of the page and I'm scrolling up through the menu.

    How to adjust scrolling speed based on the distance between the current view and the section of the page that I want to achieve?

    There is a Widget for this.

    Qooqee.com people.

  • Adding navigation to website scrolling Parallax?

    Hello!

    I'm building a site of scrolling Parallax, with different sections.  The scroll in question is long enough, so I have a few set navigation in place on the side to move to the proper location on the timeline.

    How could I go about this?  I tried to use the stop, but it is wobbly with scrolling... it jumps to the label, but it does not take into account the scrolling navigation control.  I also tried to use the following code:

    sym.$("stage").scrollTop(0,2157); 
    

    .. .but it jumps to the top of the site, each time n matter what x / y coordinates of entry I.  I use the following code to control the Parallax scrolling on the stage:

    // scrolling controls animation
    var animationHeight = 24000
    var stageHeight = sym.$("Stage").height()
    var scrollPos = sym.$("Stage").scrollTop();
    var duration = sym.getDuration();
    var percent = scrollPos / (animationHeight - stageHeight);
    var time = duration * percent;
    // Update timeline
    sym.stop(time);
    

    Help? 

    Thank you

    Chad

    So, I found this one.

    If you want to add navigation that climbs at a point in the manuscript, the above code is correct, however, my number has been changed.

    I have a hidden object named "floating stage" that I use to tell me where the browser window at a time.  I mark the Global X / Y position for the point I want to jump off.  The overall position of my marker was X: 0, Y: 2157.  I put in the right numbers, but they need to be enabled for the code.  Do not know why, someone smarter than me who has a better grip on the coding could probably give us all an answer.

    .  Select the button of your text/navigation / whether, click the action button to add to the left of it and add a click action.

    Then type this in:

    SYM.$("stage").scrollTop (2157,0);

    When you click on this special link, it will jump/scroll to the point indicated in the action.

    Thank you!

    Chad

  • HOW CAN I MOVE THE SCROLL BAR TO THE LEFT?

    I am left handed and the vertical scroll bar on the left. I used to be able to do this with firefox, but now I can't find how do in your help section. Help!

    You must change your settings at all: config. Here's what to do:

    1. Enter about: config in the address bar (if it gives a warning about your warranty, click the button to say you will notice)
    2. Enter layout.scrollbar.side in the search at the top of the page box
    3. Double-click the result and replace the current by a 3 value, when the prompt
    4. Click "OK" and restart Firefox.
  • Try to scroll to see the folder of photos. I scroll down and the scroll bar jump upward.

    I want to display an image file.  When I scroll down and drop the scroll bar of the jumps back to the top.  I can't access all files below a few albums.  Until I have a chance to click on the folder to open it, the bar rises to the top.

    Hello CathiVanderhave,

    Please provide the make and model of your PC. In addition, please relay if the problem occurs when you try to view other files. You also try to perform a clean boot to verify if a background program may interfere. To do this, please see the link below:

    http://support.Microsoft.com/kb/929135

    Thank you

  • Problem in the scroll bars when the screen is not any field focus...

    Hi all

    I have a screen on which I need to display a list of items. and the list total appears at the bottom of the list. everything works fine if the lily a few number of lines. but as soon as the number of rows and Lily exceeds the length of the screen, there is the problem. I don't see the total at the bottom because I can't scroll the list. Here is the code in my class. in the class list, I use a CustomGridManager, which shows data in a table (I downloaded it). I made a few changes in the present. the code for this handler is also attached. Please tell me what changes should I make, so that the screen can be the object of a scroll. (Please go through the code)...

    SerializableAttribute public class MyClass extends {screen

    public MyClass (dataList DataList []) {}

    Super(Manager.VERTICAL_SCROLLBAR |) Manager.VERTICAL_SCROLL);

    Super();

    int noOfColumns = 2;

    int noOfRows = dataList.length;

    int [] columnWidth = {50.50};

    CustomGridManager gfmHeader = new CustomGridManager (noOfColumns, 0, columnWidth);

    Adding headers

    LabelField lblHdrCol1 = new LabelField ("Col1");

    gfmHeader.add (lblHdrCol1);

    LabelField lblHdrCol2 = new LabelField ("Col2");

    gfmHeader.add (lblHdrCol2);

    VerticalFieldManager vfmTitle = new VerticalFieldManager();

    vfmTitle.add (new LabelField ("my class"));

    vfmTitle.add (gfmHeader);

    setTitle (vfmTitle);

    Addition of body

    GFM CustomGridManager = new CustomGridManager (noOfColumns, 0, columnWidth);

    for (int i = 0; i)< noofrows;="">

    LabelField lblICol1 = new LabelField (dataList [i] .getCol1 ());

    GFM. Add (lblICol1);

    LabelField lblICol2 = new LabelField (dataList [i] .getCol2 ());

    GFM. Add (lblICol2);

    Adding a footer

    CustomGridManager gfmFooter = new CustomGridManager (noOfColumns, 0, columnWidth);

    LabelField lblFtrTotal = new LabelField ("Total");

    gfmFooter.add (lblFtrTotal);

    LabelField lblFtrValue = new LabelField ("CalculatedValue");

    gfmFooter.add (lblFtrValue);

    Add (gfmHeader);

    Add (new SeparatorField());

    Add (GFM);

    Add (new SeparatorField());

    Add (gfmFooter);

    Add (new SeparatorField());

    }

    ======================================================

    SerializableAttribute public class CustomGridManager extends Manager {}

    private int [] columnWidths;

    private int [] staticColumnWidth;

    private int columns;

    private int allRowHeight = - 1;

    /**

    * Built a new CustomGridManager with the number of columns specified.

    * Lines will be added to the need to display the fields.

    * Fields will be added to the grid in the order they are added to this Manager.

    to complete each row from left to right:

    *

    * For example, a Manager 2 column:

    *

    * [Field1] [Field2]

    * [Field3] [Field4]

    * [Sphere5]

    *

    * Column widths are equal, and the Manager will attempt to use the entire available width.

    Each line height will be equal to the height of the field higher in the same row.

    * Styles positional field are met, then the fields that are smaller than the row/column

    * they can be set to left, right, up down, or centered. They have by default at the top left.

    *

    @param columns number of columns in the grid

    @param style

    */

    public GridFieldManager (columns int, long style) {}

    Super(Manager.VERTICAL_SCROLLBAR |) Manager.VERTICAL_SCROLL);

    Super (style);

    This.colonnes = columns;

    }

    /**

    *

    @param columns columns number of columns in the grid

    @param style

    @param columnWidths width of each column in a table

    */

    public GridFieldManager (columns int, long style, int [] columnWidths) {}

    Super(Manager.VERTICAL_SCROLLBAR |) Manager.VERTICAL_SCROLL);

    Super (style);

    This.colonnes = columns;

    this.staticColumnWidth = columnWidths;

    }

    protected boolean navigationMovement (int dx, int dy, int, int time status) {}

    int focusIndex = getFieldWithFocusIndex();

    While (dy > 0) {}

    focusIndex += columns;

    {If (focusIndex > = {getFieldCount())}

    Returns false; The focus moves on this manager

    }

    else {}

    Field f = getField (focusIndex);

    If (f.isFocusable ()) {/ / only move the focus on the fields of the object of focus}

    f.setFocus ();

    -DY;

    }

    }

    }

    While (dy< 0)="">

    focusIndex = columns;

    If (focusIndex< 0)="">

    Returns false;

    }

    else {}

    Field f = getField (focusIndex);

    If (f.isFocusable ()) {}

    f.setFocus ();

    DY ++;

    }

    }

    }

    While (dx > 0) {}

    focusIndex ++;

    {If (focusIndex > = {getFieldCount())}

    Returns false;

    }

    else {}

    Field f = getField (focusIndex);

    If (f.isFocusable ()) {}

    f.setFocus ();

    -DX;

    }

    }

    }

    While (dx< 0)="">

    -focusIndex;

    If (focusIndex< 0)="">

    Returns false;

    }

    else {}

    Field f = getField (focusIndex);

    If (f.isFocusable ()) {}

    f.setFocus ();

    DX ++;

    }

    }

    }

    Returns true;

    }

    protected void sublayout (int width, int height) {}

    int y = 0;

    columnWidths = new int [columns];

    If (staticColumnWidth == null: staticColumnWidth.length)<= 0)="">

    for (int i = 0; i)< columns;="" i++)="">

    columnWidths [i] = width/columns;

    }

    } else {}

    for (int i = 0; i)< columns;="" i++)="">

    columnWidths [i] = (width * staticColumnWidth [i]) / 100;

    }

    }

    On the field [] fields = Field [new columnWidths.length];

    currentColumn int = 0;

    rowHeight = 0 int;

    for (int i = 0; i)< getfieldcount();="" i++)="">

    fields [currentColumn] = getField (i);

    layoutChild (fields [currentColumn], columnWidths [currentColumn], height-y);

    If (fields [currentColumn] .getHeight () > rowHeight) {}

    rowHeight = fields [currentColumn] .getHeight ();

    }

    currentColumn ++;

    {If (currentColumn == columnWidths.length | I == {getFieldCount () - 1)}

    int x = 0;

    If (this.allRowHeight > = 0) {}

    rowHeight = this.allRowHeight;

    }

    for (int c = 0; c)< currentcolumn;="" c++)="">

    long fieldStyle is fields [c] .getStyle ();.

    int fieldXOffset = 0;

    long fieldHalign = fieldStyle & Field.FIELD_HALIGN_MASK;

    If (fieldHalign == Field.FIELD_RIGHT) {}

    fieldXOffset = columnWidths [c] - fields [c] .getWidth ();

    }

    Else if (fieldHalign == Field.FIELD_HCENTER) {}

    fieldXOffset = (columnWidths [c] - fields [c] .getWidth ()) / 2;

    }

    int fieldYOffset = 0;

    long fieldValign = fieldStyle & Field.FIELD_VALIGN_MASK;

    If (fieldValign == Field.FIELD_BOTTOM) {}

    fieldYOffset = rowHeight - fields [c] .getHeight ();

    }

    Else if (fieldValign == Field.FIELD_VCENTER) {}

    fieldYOffset = (rowHeight-fields [c] .getHeight ()) / 2;

    }

    setPositionChild (fields [c], x + fieldXOffset, y + fieldYOffset);

    x += columnWidths [c];

    }

    currentColumn = 0;

    y += rowHeight.

    }

    If (y > = height) {}

    break;

    }

    }

    totalWidth int = 0;

    for (int i = 0; i)< columnwidths.length;="" i++)="">

    totalWidth += columnWidths [i];

    }

    setExtent (totalWidth, Math.min (y, height));

    }

    }

    Do you really want now fields is active.

    You can try adding a NullField after your Manager - a NullField is active, if it does not size.

    Other than that, you can try the substitution of navigationMovement and Manager.setVerticalScroll to go up and down the window scrolling.  I think it should work, although I never did.  You can control the scope of the first Manager to ensure that you do not have to scroll through to the end.

  • Prevent a Dialog.ask beeing scrolled down on the launch

    Hello!

    I want to show a EULA (very long chain) in a Dialog.ask, but it scrolls down to the buttons when it is released. Is there a simple way to avoid that I can't find?

    Thank you!

    only focusable components allow to scroll.

    I had a similar problem while displaying a EULA. on top, it was very long, and the formatting is complex.

    I opted for the EULA, including in html format.

    in my UI I show accept, refuse, and display buttons.

    show the button opens the html code in the browser - with all the formatting done automatically.

    nobody reads the EULA anyway, and let the user scroll through miles of text if it does not intend to read is bad design.

  • How to create animated Scrolling Parallax and keep all pages with fluid width?

    Hi all

    I had a problem. When I draw the menu of a website, I am trying to add breakpoints so that menu will respond correctly to any modification of the width, and at the same time I am adding parallax scrolling effect to the background image.

    The problem is that when I turn on a fluid width, I can't enable scrolling:

    "to activate the effect of scrolling, your page must use fixed width".

    Any ideas how to fix this?

    See you soon!

    Scroll effects are not currently available in delicate design.

  • Firefox does not start .oam file with scrolling parallax effect and if y &gt; 740

    Hello!

    I try to explane my problem. If I place a parallax scrolling page of a lively .oam file, the .oam file does not start (as in firefox!) if the file is higher than y = 740 and if the animation with a scrolling parallax effect.

    Maybe just visit this site, you can see the problem. Please look with firefox!

    http://OAM-test.BusinessCatalyst.com/index.html

    I placed three times exactly the same oam-file with the same scrolling Parallax effects, but with different positions only y

    in safari and IE, no problem. but the third CAO does not start in firefox.

    any suggestion?

    by the way... Why firefox cannot load fonts in the oam file?

    Thank you very much in advance for any help. really need a solution as soon as possible. If there is no way to do it with oam-file perhaps another format without flash (gif)?

    Kind regards

    Ivo

    To work around the problem, you can configure initial field scroll to 1, it works with the third file oam.

    Thank you

    Sanjit

  • I can't find my scrolling parallax effect

    I want to apply my nav like this bar: http://creativedroplets.com/adobe-muse-tips-scrolling-menu/

    The problem. When I go in the menu effects it shows only 3 option: Glow, bevel and shadow.

    Where can I get updates for the effect of Parallax?

    Debs

    It now has a panel of his own.

  • scrolling parallax effect

    Anyone know how can I get the effect below with parallax scrolling in Adobe Muse? In the example below, there is a single image shown and another photo, and when scrolling it resembles the illustration is in color.

    Skjermbilde 2014-01-30 kl. 12.51.05.png

    Please see the browser fill article effects of scroll down the link.

    Effects of scrolling using the browser fill

    Here's what I managed to play with the same Muse: http://colorfill.businesscatalyst.com/index.html

    You can download the source file for the same thing of: http://colorfill.businesscatalyst.com/assets/colorfill.muse

    Hope that helps.

    See you soon,.

    Vikas

  • Scrolling parallax with FF &amp; Chrome on Windows machine problem

    I created a website with scrolling Parallax content, on ym Mac using FF & Chrome scrolling works very well. But scrolling does not work on a windows using FF or Chrome.  Is this a bug or did I do something wrong?

    Temp site URL is mjsstyle1988.businesscatalyst.com

    Thank you!

    Yes, this was addressed by the release of November of Muse (7.0).

    The current version of Muse is 7.2. It includes performance improvements to scrolling effects to compensate for significantly reduced performance in last update Apple Safari desktop (Mavericks), among other things.

  • How to reposition the scroll bar to the middle to the right image

    I customize an image thumb wheel. and trying to follow the code developed previously.

    Everything worked fine until at the last moment when the thumbnails bar is positioned as if its starting point is located in the middle of the screen. I guess that it was developed for the presentation of the screen flash with centered coordinates. My internship has probably put them in the upper left corner.

    I can't move the bar.

    My stage size is 1024 x 768

    Where I do my calculations in the code for the thumbnails will be located in the middle of the screen rather than in his right hand.

    Here are snippets of code responsible for the thumbnails to accumulate:

    ////////////////////////////////////////////////////////////////////////////////////////// //////////



    const _THUMB_WIDTH:Number = 50;


    const _THUMB_HEIGHT:Number = 64;


    const _IMAGE_WIDTH:Number = 860; 550; # original


    const _IMAGE_HEIGHT:Number = 500; 355; # original


    const _THUMB_GAP:Number = 2;


    const _SCROLL_SPEED:Number = 12;


    const _SCROLL_AREA:Number = 150;





    var _progressBar:MovieClip;


    var _arrowLeft:MovieClip;


    var _arrowRight:MovieClip;





    var _slides:Array;


    var _curSlide:Slide; Slide currently displayed


    var _loadingSlide:Slide; only used when a slide is supposed to show but was not yet fully loaded (like if the user clicks 'next' several times before all images are loaded). We keep track of who is in the process of loading and should be submitted as soon as it's over, then we _loadingSlide the value to null.


    var _imagesContainer:Sprite; the Sprite in which are placed the images in real size (this allows to manage the stacking order, so that the images can still be behind everything and still we cannot addChild() each image so that it manifests itself on top of the other)


    var _thumbnailsContainer:Sprite; the Sprite in which thumbnail images are placed. It also allows to slide all at the same time.


    var _destScrollX:Number = 0; destination x value for the _thumbnailsContainer that is used for scrolling it across the lower part. We do not want to use _thumbnailsContainer.x because it might be being interpolation, so keep us track of the value of end-destination and addition/subtraction of him during the creation of our tweens.


    var _minScrollX:Number; We know the maximum x value for _thumbnailsContainer is 0, but depend on the minimum value on how many thumbnails that it contains (total width). Calculate us it in the _setupThumbnails() method and store it here for calculations in the _enterFrameHandler() of easy/fast scrolling







    ////////////////////////////////////////////////////////////////////////////////////////// //////////




    _thumbnailsContainer = new Sprite();



    addChild (_thumbnailsContainer);


    _thumbnailsContainer.x = - 550; moves the position of the thumbnails, done rather online 273 thumbnail.x x = curX - 590;


    _thumbnailsContainer.y = _IMAGE_HEIGHT; moves y position of thumbnails


    _thumbnailsContainer.Alpha = 0; We want alpha 0 initially because we will fade later when loading thumbnails.


    _thumbnailsContainer.visible = false; ensures that nothing is clickable.






    var xmlLoader:XMLLoader = new XMLLoader ("" scroller loadingAssets/appThumbnails/slideshow_image greenSock_mine/assets/data.xml ", {onComplete:_xmlCompleteHandler});}")


    xmlLoader.load ();

    //}




    function _xmlCompleteHandler(event:LoaderEvent):void {}


    _slides = [];


    var XML = event.target.content; "content" of the XMLLoader is the XML that has been loaded.


    var imageList:XMLList = xml.image; In the XML file, we have < image / > nodes with all the information we need.


    loop through each < image / > node and create a new Slide for each object.


    for each {(var image: XML dans imageList)}



    _slides.push (new slide (image. @name,









    image.@Description,









    new ImageLoader ("scroller loadingAssets/appThumbnails/slideshow_image greenSock_mine/assets/thumbnails/appThmb_imgs /" + image.@name + ".jpg", ")













    {














    Name:image.@name + "Thumb."














    Width: _THUMB_WIDTH














    height: _THUMB_HEIGHT,.














    centerRegistration:true,














    x: 260, y: 320, / / does not work here, but works on line 69














    ScaleMode (ScaleMode): "proportionalInside."














    bgColor:0 x 000000.














    estimatedBytes:13000,














    onFail:_imageFailHandler}),

    ////////////////////////////////////////////////////////////////////////////////////////// //////////



    through looping all the thumbnails and places them in the order appropriate at the bottom of the screen and adds CLICK_THUMBNAIL headphones.


    function _setupThumbnails (): void {}





    var l:int = _slides.length;



    var curX:Number = _THUMB_GAP;



    for (var i: int = 0; i < l; i ++) {}




    miniature var: Sprite = _slides [i] .thumbnail;




    _thumbnailsContainer.addChild (thumbnail);




    TweenLite.to (miniature, 0, {colorTransform: {brightness: 0.5}});




    _slides [i] .addEventListener (Slide.CLICK_THUMBNAIL, _clickThumbnailHandler, false, 0, true);




    thumbnail.x = curX;




    thumbnail.y = - 234; Gets or sets the y position of the row of thumbnails




    curX += _THUMB_WIDTH + _THUMB_GAP;



    }



    _minScrollX = _IMAGE_WIDTH - curX;



    If (_minScrollX > 0) {}




    _minScrollX = 0;



    }


    }

    ////////////////////////////////////////////////////////////////////////////////////////// //////////



    function _enterFrameHandler(event:Event):void {}



    If (_thumbnailsContainer.hitTestPoint (this.stage.mouseX, this.stage.mouseY, false)) {}




    If (this.mouseX, _SCROLL_AREA) {}





    _destScrollX += ((_SCROLL_AREA-this.mouseX) / _SCROLL_AREA) * _SCROLL_SPEED;





    If (_destScrollX > 0) {//this number is 1/2 the size of the stage, previously was at 0, it defines the left position of the end of scrolling thumbnails must be identical to the number below}






    _destScrollX = 0;    This number is 1/2 the size of the stage, previously was at 0, it defines the left position of the end of scrolling thumbnails must be identical to the number above





    }





    TweenLite.to (_thumbnailsContainer, 0.5, {x: _destScrollX});




    } else if (this.mouseX > _IMAGE_WIDTH - _SCROLL_AREA) {}





    _destScrollX-= ((this.mouseX-(_IMAGE_WIDTH-_SCROLL_AREA)) / _SCROLL_AREA) * _SCROLL_SPEED;





    If (_destScrollX < _minScrollX) {}






    _destScrollX = _minScrollX;





    }





    TweenLite.to (_thumbnailsContainer, 0.5, {x: _destScrollX});




    }

    ////////////////////////////////////////////////////////////////////////////////////////// //////////

    ////////////////////////////////////////////////////////////////////////////////////////// //////////

    If your stage size is 1024 x 768 and you do not want to change the width and height in the code, the upper left corner of the scene will always be 0,0 bit whatever your stage alignment is on. If you resize width and height stage is when the alignment comes into play.

    The only 2 parts of the equation in question I see is what which is the value of _destScrollX and what other clips 'container' could load the _thumbnailContainer. One of the two does not work for you.

    Put a trace anywhere _destScrollX is updated to look at. Otherwise, consider the clips you add the miniature in container. This clip container itself can be the cause of the position. Check its x position.

Maybe you are looking for

  • Satellite T230-12 q - cannot load the battery

    I just bought a Toshiba Satellite T230-12 q and have noticed that when the machine is on and running on the battery, and if I plug the power cord into the power adapter, the AC light on the laptop comes on but the charging light doesn't. If I put int

  • trying to install a graphics card to my office

    Hello I was hoping that someone could help me. I am installing a graphics card in my hp Pavilion 500-220ea. When I install it all that I get is black screen. I have reset the CMOS, disabled drivers intel and installed the video card drivers. I'm stuc

  • Retrieves the number of iteration of the event structure

    Hello Is there a way to extract many times wherever a labview routine goes in a structure of the event? Thank you hiNi.

  • HP probook 4440 s: can I put a hp probook 4440 s gpu?

    Just a question if I can update

  • Downgrade 8.5 auf 7

    Hallo, ICH habe ein problem mit Labview8.5, yesterday kann nur bis auf 8.0 downgraden. ICH would aber mein geschriebenes Programm in Labview7.0 implementieren. There are irgendeine possibility ein 8.5.vi in downzuraden 7.0? ICH habe one in 8.5 einen