Advanced Scrolling Animation using Tween Lite

Hey folks. I'll try to be as concise as possible.
Imagine a res. of about 320 x 480 for a Flash file in which art is displayed, but at the bottom of this .FLA there are 5 icons, 2 inside the white space and 3 on the grey space. What I'm trying to achieve is that if the mouse hovers near the bottom right corner of the screen, the 2 icons in the white space, get shifted left, allowing for the icons in the grey space to move left as well, taking up the palce of the icons in the white space. I'm basically trying to implement a scrolling animation. Let's say in the bottom right and bottom left of this screen I have 2 invisible smaller screens that can listen for the MOUSE_OVER event, then I could perform the following code which is my current implementation:
// Showing implementation of only bottom right invisible screen, bottom left invisible screen
// is almost identical except when mouse hovers it the icons should all shift right
brScreen.addEventListener(MouseEvent.MOUSE_OVER, mouseOver);
brScreen.addEventListener(MouseEvent.ROLL_OVER, rollOver);
public function mouseOver(me:MouseEvent):void
     var iconPosition:uint;
     // All 5 icons on bottom of page are in array called myArray
     for(int i:uint = 0; i <myArray.length; i++)
          var currentIcon:DisplayObjectContainer = myArray[i];
          iconPosition = currentIcon.x; // Only the x position of the icons change when scrolling occurs
          TweenLite.to(currentIcon, 2, {x:iconPosition - 50, y: 450, ease:Quart.easeIn}); // Assume libraries are imported
          // y value of icon never changes since only side-to-side scroll, 450 is an arbitrary value
public function rollOut(me:MouseEvent):void
     brScreen.removeEventListener(MouseEvent.MOUSE_OVER, mouseOver);
The desired behaviour is that as the mouse is hovered over near the bottom right screen, the icons will continue scrolling but as soon as the mouse is hovered off elsewhere, the side-to-side scrolling stops. The issue is that when I hover my mouse near the bottom right screen, all icons get shifted left only once, it seems as if the MOUSE_OVER event isn't propagating while I'm hovering over the bottom right portion of the screen, additionally when I hover my mouse elsewhere and and then re-hover the bottom right portion of screen, all icons only get shifted to the left once. I want it to continuously shift all icons to the left as long as my mouse remains hovered above the bottom right portion of the screen.
If you have a hard time understanding what my desired behaviour is, here is a youtube vid., check at 25 - 40 seconds or so when he starts manipulating the icons at the bottom of the screen, instead of using fingers however for touch screen, I'm going to use a mouse since this is a Flash app. Any help is appreciated.
http://www.youtube.com/watch?v=EGy7Q9vPMdc

No, you cannot make multiple eases on the same property in the same tween. But you can have a separate ease for each property (x and y are different properties). You can, however, create a new tween from point b to c, after point a to b and adjust your ease on that.

Similar Messages

  • Once I create a html5 animation using the 'Toolkit for CreateJS' in flash, how do I then insert it..

    Once I create a html5 animation using the 'Toolkit for CreateJS' in flash, how do I then insert it into a webpage via Dreamweaver:
    This has been sending me round in circles for over a week - can anyone let me know how I do this or can they point me in the direction of a tutorial?  Thank you in advance - d;-)

    There are some tutorials on Adobe site:
    <http://www.adobe.com/devnet/createjs/articles/getting-started.html>
    <http://tv.adobe.com/watch/adc-presents/toolkit-for-createjs-part-1-designing-game-assets/>
    <http://tv.adobe.com/watch/adc-presents/toolkit-for-createjs-part-2-adding-game-interactivi ty/>
    The parts 1 and 2 are videos about 10 minutes each while the first link is a detailed article that you can print and practice on your machine.
    Hope this helps.

  • I am a new using Adobe products, and I am creating an Animation using Edge Animation.....

    Hi guys.
    As I said, I am new working with Adobe products, like Dw, and now I am creating an animation using Edge Animation.
    Actually, I am creating a carrousel with different pictures representing three different apps being displayed from different devices, moving them and creating a simulated
    movement for each one, based  on the functionality, that action should be activated by a button (i.e.) titled "Inventory", the action to execute is to move
    the three related screens ( Desktop, Ipad and Iphone ) from the original position  to the middle screen, but at the same time, and this is what I need to know,
    If there is another set of screens for a different application, how to move those back to the original position, before moving
    the selected one, "Inventory". I tried to use a duplicated transition and inverting, it works, but it doesn't stop waiting for a new action, and how to combine
    that movement back with the selected app-transition?
    I put  two screenshots with the stage and the original position for all of them. I have not created the buttons yet. I imagine I should use some kind
    of conditional statements to execute the action sending back  those elements  located in the middle  of screen, because were selected before,
    and then execute to animation to move the selected app.
    I would appreciate your help on this matter.
    Thanks.
    Gustavo Hevia
    original Position.
    After the First animation for Inventory App.

    No answers, Ok.
    I will try to give you more information about I want to do.
    I am a Filemaker Developer, and I started creating my webpage, and one of thing I would like to do is this
    animation and put it on my website.
    What I want is to simulate a carrousel of options to show the selected application using the three buttons,
    Now, I put the three buttons and each one of them is moving the three corresponding applications, that's fine.
    But the issue I have :
    I am using Mouseover and Mouseout to show a different color and size of the buttons, and to execute the
    corresponding animation.
    For each event I created different labels : Inventory_hover ; Inventory_mouseover ; Inventory_Animation and
    Inventory_Animation_Reverse and so on.
    Testing that
    After I selected one of them, and it ended moving the three pictures to the center of the screen, and then I
    leave, the three screens moved to the original position, which is not a bad idea, but I want to control that
    moving.
    So, what I want as a summary is :
    1) to control that back movement. I was trying to figure out how to add some code inside the Animation code, and
    just before execute that animation, check if there is another application selected before, and then move that
    set of pictures back to the original position, since I have only three applications pictures, and only one can move
    at the time, the checking "If Statements" would be for two others conditions.
    2) That should be done only when one of the buttons is clicked, and not when the mouse leaves the buttons like it
    is happening now.
    I attached a zip file with my EA files.
    Thank you in advance, Any help would be really appreciated.

  • Search animation using labview

    Hi does anyone here in this furom try to create/already did an animation using labview.. or a busy animation to front panel.. can you give me an idea on how to do and what to do?..
    for example a magnifying glass moving that indicates searching for something..or a busy cursor on front panel thanks in advance
    Thank you & Best regards
    syrpimp
    =======================================================
    “You must continue to gain expertise, but avoid thinking like an expert." -Denis Waitley

    Hi syrpimp,
    by using a search function you will find examples for such animations…
    Hint: use a picture ring!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Disable scrolling animations in Mail

    Hi everybody,
    I really like the new Mail-App in Lion.
    But is there a possibility to disablle the scrolling-animation (wenn you press FN+Down/Up-Arrow-Key) in Mail that it behaves like Snow Leopard Mail.
    If you want to flip through multi-pages-mails very fast, the animation is too slow...
    Thank you, Gernot

    Just found out, that shift-fn-arrow-down does the trick. Is there a way to switch behaviour of shift-fn-arrow-down and fn-arrow-down? Because shift-fn-del does not delete a mail-message and it was very convenient that holding the fn-key arrow-down and del did a fast skim-through-message and delete without releasing the fn-key.
    Yours, Gernot

  • How to configure Oracle 10g Advanced Security to use SSL concurrently with

    How to configure Oracle 10g Advanced Security to use SSL concurrently with database User names and passwords
    In Oracle Advanced Security Documentation it is mentioned that i can use SSL concurrently with DB user names and passwords. But when i configure the client certificate on the client my DB connection is getting authenticated using the certificate, which out passing user id or password.
    We want to connect to Oracle DB over SSL channel so that the data packets are not in clear text. Also we want the user to make a connection using user id and password.
    Basically we want SSL with out authentication.
    Need your expert advice

    Read the documentation (I have given following links assuming you are running a 32 bit architecture)
    Server installations:
    http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14316%2Ftoc.htm&remark=portal+%28Books%29
    Client installations:
    http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14312%2Ftoc.htm&remark=portal+%28Books%29
    You can find the required books (if not using 32 bit architecture) from
    http://www.oracle.com/pls/db102/portal.portal_db?selected=3

  • Error while trying access JSP page first time using Oracle Lite

    Hi,
    We are doing a proof of concept using Oracle Lite 10gR3. Installed Mobile server and published a JSP based application. Installed web-to-go setup.exe on a client machine and synchronized the application. However when we tried to open the page, it comes up with an error. We are using jdk version 1.4. Any advise will be highly appreciated. Thanks.
    Error message:
    Requested URL:/webtogo/18Mar1/MyIndex.jsp
    Exception: oracle.classloader.util.AnnotatedClassFormatError:_MyIndex (Unsupported major.minor version 49.)
    Invalid Class: _MyIndex
    Loader:mobileclient.web.18Mar1.jsp22486527:0.0.0
    Code-Source: /C:/MyInstallation/mobile_client_oc4j/j2ee/mobileclient/application-deployments/mobileclient/18Mar1/persistence/_pages/
    Configuration: *.jsp in C:\MyInstallation\mobile_client_oc4j\j2ee\mobileclient\application-deployments\mobileclient\18Mar1\persistence\_pages
    Dependent Class: oracle.jsp.runtimev2.JspPageInfo
    Loader: oc4j:10.1.3
    Code-Source: /C:/MyInstallation/mobile_client_oc4j/j2ee/mobileclient/lib/ojsp.jar
    Configuration: <code-source> in META-INF/boot.xml in C:\MyInstallation\mobile_client_oc4j\j2ee\mobileclient\oc4j.jar
    This class was compiled for a newer version of the JRE. Expected version 48.0, found 49.0

    (Since this is the general forum for the 'big' database, my advice would be to ask in the Oracle Lite forum. Database Mobile Server (inc. legacy Database Lite)
    If this is a formal evaluation, you could also get a Sales-sponsored trial which usually comes with 30-90 days of Metalink support. You would be able to search for notes like Doc 414106.1
    Bottom line is that the code is for JDK 1.5 and it's being deployed against JDK 1.4.2. Something needs to be either upgraded or downgraded.

  • Laggy scrolling/animations and tricky touchpad on MacBook Pro w/Retina Display

    As much as I loved the form factor and screen on the 15" 2.6ghz MBP w/Retina Display, the laggy scrolling, animations and intermimitently non-functional tap-to-click made me return it to Best Buy. A $3000 computer (after tax) shouldn't have problems that my Early 2011 MBP doesn't have. I thought the 10.8.2 update might fix this, but unfortunately it has not, even after a clean wipe.
    Side note - 10.8.2 also made my 2011 MBP's battery literally drop by 1% a minute when on battery power. It's also ridiculously hotter. Unusable as a portable device.
    Another side note - Best Buy really dillutes/degrades Apples great brand. The Apple Specialist in my local Best Buy in Dublin, CA is quite cranky and condescending. That will be the last time I buy an Apple product from Best Buy.

    Wrong forum?  This is Digital Editions forum.  Try http://forums.adobe.com/community/photoshop_elements

  • The scroll back gesture to the previous page, even after i sign out of my email account or Facebook anyone can still be able to see the content in the accounts just by scrolling back using the gesture.

    the scroll back gesture to the previous page, even after i sign out of my email account or Facebook anyone can still be able to see the content in the accounts just by scrolling back using the gesture. how can i stop safari from showing the content of my accounts?

    Try calling Tech Support, they should be able to check to see if theres a lock and try to help you reset it, I had to call and get my account unflagged, for something that I didn't even do.

  • How do I get my phone out of voice control and can not scroll or use it

    How do I get my phone out of voice control and can not scroll or use it?

    press the home button and hold it for a few seconds. Voice conrol will appear

  • How to use Cinema4D lite with no opening After Effects CC ?

    How to use Cinema4D lite with no opening After Effects CC ?
    Is that possible ?
    Open a 3D object Photoshop-type in After Effects CC (without C4D)
    It is also possible?
    thanks
    xav

    It is as Mylenium says.
    See this page for details such as this:
    "You open the version of CINEMA 4D that is installed with After Effects using the New > MAXON CINEMA 4D File command or the Edit Original command in After Effects. You will not see this version of CINEMA 4D installed in the Start menu on Windows or in the Applications directory on Mac OS."

  • Builiding animations using FXML or the Scene Builder in javaFX

    please i wanna know if its possible building user interfaces with dynamic nodes or animations using FXML or the Scenebuilder in JavaFX
    Elikem.

    HI,
    Currently SceneBuilder is still a baby v.1.x You can only create nodes and make some graphical , layout, stylesheets changes on them. The animation can't be done from the FXML so Scenebuilders dont have these concepts. You will need to have hard code for this. But I still think SceneBuilder is far more Flexible,fast and easy to build javafx application.
    Thanks
    Narayan

  • How to use Tweens in FlashDevelop?

    Ive got this text that needs to move from top to bottom and ive tried using the general x,y coordinates, however my teacher suggested to use tweens in starling.
    Ive searched the web and i keep finding 3rd party or custom made tweens. However does anyone know how to use basic tweening in FlashDevelop???

    Link

  • How to make a scroll animation constantly fixed after scrolling? I want the animation to Start when I scroll down, but I don't want the animated thing to disappear when I scroll up again.

    How to make a scroll animation constantly fixed after scrolling? I want the animation to Start when I scroll down, but I don't want the animated thing to disappear when I scroll up again.
    I know how to start the animation by scrolling down, but I simply want it to stay there after it. Could you help me please, guys?

    Hi Tom,
    There is no native feature in Muse to achieve this.
    Regards,
    Aish

  • Scrolling issue using my multitouch touchpad

    I own an Asus Zenbook UX31E that uses the Elantech touchpad driver. I have updated it to the most recent version of 5.2
    In IE9, when I am viewing a photo on facebook, i can vertically scroll normally using two fingers. the page cannot horizontally scroll, thus only vertical scrolling can occur.
    however, on the exact same type of page, viewing a photo on facebook, when i scroll Firefox 9 reads my multitouch scroll in 2 dimensions. therefore the tiny little movements i have moving horizontally on the touchpad is picked up and the photo changes to another photo. it seems that firefox uses horizontal scrolling to either or forward or backward in the photo albums.
    this does not occur on IE9. it is impossible to horizontally scroll on such a webpage using it.
    At first i thought it was asus' issue. but when i discovered that ie9 does not suffer the same issue, i believe it may be something to do with firefox.
    another website that is affected is gizmodo. a part of the website requires scrolling vetically, but when i use my multitouch touchpad, firefox picks up the horizontal movement does a different command.

    Hi can u help me out with the serial  and product number of the unit please

Maybe you are looking for

  • Can I Get A Refund For Logic Express 7?

    I've had it since March but haven't been able to get it working, am I still entitled to a refund? Cheers, Jonathan

  • I downloaded iTunes and synced my iPod Touch - ALL of my songs are GONE!

    What do I do? I heard that Apple will give you one time to redownload all purchased songs - how do I go about doing this?

  • Custom OM Infotype

    Dear Expert, We need to store information in position object type , indicating that the position is outsourced or not (just a simple yes or no value or checkbox). I've look in standard OM infotype but nothing is suitable, do i have to create custom i

  • JTable used as a JList

    I am using a JTable as a JList (because it displays two columns). Above the JTable is an entry field when the user selects an item in the list with the mouse it adds it the entry field, I use a ListSelectionlistener This is fine. I then tested it usi

  • How to avoid column/row nesting in crosstab

    Hi, I am using Cross Tab to get out put in following format. But every time i insert new column/row in cross tab it gets nested. I am trying to get following format. Could you please help or any pointer                            Total          Col1+