Tweening "y" and connecting movement to score

Still trying to get a bar/column to move up and down based on a positive or negative total score value. Uisng "scaleY" doesn't scale proportionately for these values. The "absolute "0" point in this scaling is the mean value for the score. I thought that if a score result was > mean, then the score could be successfully adjusted by score - mean, while if score < mean, then the adjustment would be mean - score. This seemed to work for some of my testing values, but not all cases.
So, instead of scaleY, maybe moving the bar/column up or down depending on its relationship to the mean (used to establish the 0 point).
So, I would need to move the bar based on score. As an example, if the mean is 1.95 and the range is - 0.15 to + 4.05, the bar/column (registration set to center) is 75 w and 250 h and placed stage horizontal center (384 for a 768 height screen), what would a tween script look like? Needs to factor in the score to stop the movement.
var tween1:Tween = new Tween(bar1_mc, "y", None.easeOut, 384, 634, 30, true); //starting point, then needs adjustment based on score value
The scaleY with a paramF provided by kglad seemed a better and far easier solution, but these score values don't seem to fit that model. Even with the scale set as -mean, -1, +mean, +1. I tried Math.abs to avoid problems with multiplying negative numbers by negative numbers to get "accidental" positives that threw off the tween direction needed. But no joy. Sometimes the bar travelled in the correct direction based on the score. Sometimes it did not and was unrepresentative of what is was needed to symbolize ( a big up movement for a score that should have produced a small downward movement, etc.)
So maybe, tweening by using "y" instead of "scaleY"?

So, this works if my test score (hard-coded for testing) is +2.18.
If I change my test score and hard-code +1.18 instead, the bar does not show at all (the trace shows a small negative result for the calculation which can not display because the range is set above it). 1.18 is below 1.95, so a correct display would show the bar going slightly down for a 1.18 score.
If I change the range to paramF (-0.15,0,4.05,250) since the correct range actually is -0.15 to 4.05, then 2.18 goes up more, but 1.18 now goes up when it should go down.
The trace is showing the correct hard-coded scores that I am using.
So, back to the design. I don't think that a scaleY tween can accomplish this display with these scores. Maybe a "y" instead? Move the 250 px (height) bar up from a stage center point, if > 1.95 and another bar from a stage center point down, if < 1.95?
Very challenging score display.  (Beginning to think that no moving parts display, just the score numbers in a text box, may be all that can be done?)

Similar Messages

  • HT204370 I registered a digital copy on disneymoviesanywhere and connected with my itunes account but can't find the movies on my itune account.  Just want to download the movie onto my ipod touch.

    I registered a digital copy of a movie on disneymoviesanywhere.  I connected the account to my itunes account but I can't find the movie on my itunes account.  I'm just trying to download the movie onto my ipod touch.

    Hey cptniemo,
    Thanks for the question. Connecting your iTunes Store and Disney Movies Anywhere accounts should sync all of your eligible Disney, Pixar, and Marvel movies between both services. After connecting your accounts, you can check your purchased history in the iTunes Store:
    Download past purchases
    http://support.apple.com/kb/HT2519
    Alternatively you can download the free Disney Movies Anywhere app from the App Store (iOS 7 required):
    https://itunes.apple.com/us/app/disney-movies-anywhere-watch/id766894692?mt=8&uo =4
    For more information and support with Disney Movies Anywhere, see this resource:
    About Disney Movies Anywhere and iTunes Store
    http://support.apple.com/kb/HT6129
    Thanks,
    Matt M.

  • When I had a PC I simply took the wire going to my monitor and connected to my big screen TV to watch Netflix movies...How do I take them from my IMAC and connect them to my TV now?

    When I had a PC I simply took the wire going to my monitor and connected to my big screen TV to watch Netflix movies...How do I take them from my IMAC and connect them to my TV now?

    This could be problematic.
    It will depend on what model of iMac you have.
    You may want to post machine info.
    blue apple > about this mac > more info button. Click on the hardware line. It has a little triangle in front of the work hardware.
    Leave out the serial number.
    Example:
    Machine Name: iMac
    Machine Model: PowerMac4,1
    CPU Type: PowerPC 750 (33.11)
    Number Of CPUs: 1
    CPU Speed: 600 MHz
    L2 Cache (per CPU): 256 KB
    Memory: 768 MB
    Bus Speed: 100 MHz
    Boot ROM Version: 4.1.9f1
    Most of the iMac's have sometype of video output port on the back.  You will problably need a converter.
    The 'hollywood' industry has been making it more difficult to get video out over time to prevent copying.
    Robert

  • I rented a movie in iTunes and connected my iPad to transfer the movie to the iPad.  The rental section will not pop-up and I have confirmed the movie is not an HD movie.  Any suggestions on what to do next?

    I rented a movie in iTunes and connected my iPad to transfer the movie to the iPad.  The rental section will not pop-up and I have confirmed the movie is not an HD movie.  Any suggestions on what to do next?

    I would ask iTunes Store support for help with this. You may never be able to get the movie to download on your own now.
    Go here and then tap on Connecting and downloading, then tap on Movie Rentals. You can have someone contact you, you can chat online or you can get email support. I would opt for the phone call or online chat.
    https://getsupport.apple.com/Issues.action

  • I want to transfer an audiobook and a movie from my MacBook Pro to my iPhone 4S, and can't figure out how.  I went to "Help" and it said after connecting the two devices I should "Click Apps," but I can't find anything labeled "Apps" to click.  Help?!!

    I want to transfer an audiobook and a movie from my MacBook Pro to my iPhone 4S, and can't figure out how.  I went to "Help" and it said after connecting the two devices I should "Click Apps," but I can't find anything labeled "Apps" to click.  Help?!!

    If you have iTunes 11 on your Mac then you can enable the left-hand sidebar via option-command-S, that might make it easier to navigate.
    Connect the phone to your Mac and select it on that left-hand sidebar, and on the right-hand side of the screen there should be a series of tabs which you can use to select what to sync to the phone. If it's an audiobook then it should appear on the Books tab for selecting/syncing, and films will be on the Movies tab. When you've got the audiobook on your phone you should get an Audiobooks option in the Music app (you might need to tap the '...' tab at the bottom of the Music app to see it).

  • VGA IPAD connection and itunes movie streaming

    Using a vga connection between my ipad and samsung television, can I stream a movie from itunes so that it displays on the television?

    1. Turn off iPad
    2. Connect USB cable to computer; leave the other end alone
    3. Press and hold the Home button down and connect the docking end of cable to iPad
    4. Continue holding the Home button until you see the "Connect To iTune" screen
    5. Release the Home button
    6. Open iTune
    7. You should see "iTunes has detected an iPad in recovery mode"
    8. Use iTune to restore iPad
    Note: You need to be patient and repeat the above many times.

  • I intend to purchase a Mac Mini and connect to a regular (not smart) flat screen TV and use such as monitor. Can this setup also allow access to Netflix or Apple movies or an Apple TV is also required?

    I intend to purchase a Mac Mini and connect to a regular (not Smart) flat screen TV that will be as such a large monitor. With this setup do I require an additional Apple TV to watch programs from Netflix, Apple Store movies, Y-tube etc?

    You can view NetFlix and YouTube via their websites on a Mac computer. You can purchase/play iTunes movies and other thing via iTunes on the Mac.

  • Disconnected my iphone after software upgrade but while photos and my movies were still downloading. Now I get an error message that iTunes can't connect to the phone. How do I solve this?

    Disconnected my iphone after software upgrade but while photos and my movies were still downloading. Now I get an error message that iTunes can't connect to the phone. How do I solve this? I am using a PC and have version 4.3.4 on my iphone 4.

    In order to use ''nxm://'' links, Nexus Mod Manager must be installed and associated with the ''nxm'' protocol.
    * http://www.nexusmods.com/skyrim/mods/modmanager/
    In case of problems with this third-party program, please refer to its support forum:
    * http://forums.nexusmods.com/index.php?/forum/1413-nmm-code-development-chat

  • I downloaded digital hd copies of movies onto my parents' computer and they have a new computer now, and the movies aren't there, even though they have the same apple ID. What do I do to get them to download?

    I downloaded digital hd copies of movies onto my parents' computer and they have a new computer now, and the movies aren't there, even though they have the same apple ID. What do I do to get them to download?
    New computer: Dell, Windows 8.1
    Processor: Intel Core i7-4770 CPU @ 3.40GHz
    64-bit Operating System, x64-based processor
    16 GB RAM
    itunes up-to-date
    Old computer: Dell, Microsoft Windows XP
    Processor: Intel Pentium D CPU @ 2.80GHz
    1 GB RAM
    itunes not up-to-date (updating it isn't really an option)
    I have these movies downloaded on the old computer from digital hd redeemed codes: Fantastic Mr. Fox, Super 98, Thor, Inception, The Hunger Games, and Star Trek Into Darkness. I bought Pirates of the Caribbean: The Curse of the Black Pearl on itunes with money, and that one isn't showing up either. When I search it on itunes to see if I can just re-download it, that isn't an option. I would have to buy it again. Home Sharing isn't what I want because the old computer will not be here forever and it is not connected to wifi.
    It's kind of a lot of movies, and I want them on the new computer.

    im so happy I have a iTunes Card Code absolutely free! I got it at http://linkbitty.com/freeitunes2014

  • My macbook pro is running very slow with some strange mouse and window movements. The trackpad is very unresponsive and when responding the cursor moves on its own and/or very erratically. When on safari the window suddenly zooms in or highlights words.

    My macbook pro is running very slow with some strange mouse and window movements. The trackpad is very unresponsive and when responding the cursor moves on its own and/or very erratically. When on safari the window suddenly zooms in or highlights words and looks them up via dictionary. I currently have a wireless mouse connected and I am still having the same problems.
    I fee like I may have a virus or my laptop is perhaps being accessed remotely. All of the sharing options are unchecked.
    HELP PLEASE
    Very worried!!

    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
         Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
         COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and
         after the chime press and hold down the OPTION key until the boot manager screen appears.
         Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
         Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).
    4. Reinstall Lion/Mountain Lion, Mavericks: Reboot from the Recovery HD. Select Reinstall Lion/Mountain Lion, Mavericks from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).

  • I just purchased a ipad 2 and have not sync it yet.  I have an old pc and would like to move the itunes library account to a newer pc that I have.  Can I move the library to the ipad and sync ipods to the ipad and/or move the library to the new pc?

    I just purchased a ipad 2 and have not sync it yet.  I have an old pc and would like to move the itunes library account to a newer pc that I have.  Can I move the library to the ipad and sync ipods to the ipad and/or move the library to the new pc?

    Perhaps this web page will help: http://support.apple.com/kb/ht1229
    But I must point out that leaving the iPhoto Library on the external is worth considering. Your internal drive would be better off without having to carry the photos.
    When you booted with the external connected and you were asked for the library, did you try navigating to the Library in on the external drive?

  • ATV3 - I need to enable dolby digital for optical surround sound (netflix and home movies), but when I do this it stops audio coming through TV speakers

    I have a cinema sound receiver connected to Apple TV via optical cable.  When I have dolby digital set to Auto it doesn't come through as dolby digital when watching movies on netflix and iTunes (home movies).
    If I set Dolby Digital to ON it works as expected, but the sound stops working through normal TV speakers (via HDMI).  This is the same for netflix and home movies.
    I tried 16 bit setting, but it made no difference.
    Any advice on how I can get this working - meaning Dolby Digital always on for when I turn my surround sound on and sound through speakers for normal operation?
    Obviously I can change the setting when needed, its just a pain.
    Thanks in advance.

    Hello everyone, 
    here is the friendly and signed driver installation method to enable Dolby Digital Plus in your Encore internal speakers only. This is not an official driver, there is no control panel for Dolby Digital Plus or various sound effects, but tested and has much better and richer surround sound quality as before with factory driver. I guess, this driver tweak can work with any Bay Trail tablet also.
    How can you upgrade Encore sound drivers:
    1. Download signed driver package and extract.
    2. Open Device Manager.
    3. Upgrade your Sound, Video and game controllers
    - Intel SST Audio Device
    - Realtek I2S Audio Codec
    one by one with "Have a disk" method.
    4. Double click enabledolby.reg file and add to your registry.
    5. Restart, and enjoy better sound quality.
    Thanks.
    UPDATE: Official Toshiba Dolby Digital leaked, official driver attached: ToshibaDolby.zip
    - Encore with WimBoot -
    Attachments:
    EncoreDolby.zip ‏310 KB
    ToshibaDolby.zip ‏1310 KB

  • Exchange 2013 upgrade from 2010 and no mail flow and cannot move mailboxes

    I am in the process of moving to Ex 2013 from 2010. I have installed Ex 2013 SP1 on a new server 2012 R2. All of my Ex 2010 servers are SP3 RU 5. Ex 2013 is running and I can connect through the EAC and see all other Exchange servers and connectors that
    were already in existence. Several puzzling things are happening now that the servers are in coexistence:
    1) As soon as Ex 2013 was installed on the network, many Outlook users are continuously being prompted to enter their domain credentials.  They can cancel the prompt and Outlook still sends/receives email.  No user mailboxes are on Ex 2013 yet. 
    Why is this happening?
    2) I am following the Ex 2013 Deployment Assistant and I get to the step to move the Ex 2010 Arbitration mailbox to Ex 2013 and the move does not happen--it just says "syncing" and never completes.  I tried moving a test mailbox from Ex 2010
    to the 2013 database and I get the same result.  I created the move request on the Ex2013 server and I see it as queued on the Ex2010 server, so I know they are "talking" to each other.  However, when reviewing the status of the move I
    see "MapiExceptionNoAccess: Unable to open message store".
    3) There seems to be no mail flow on the same Ex2013 server or between the Ex 2010 and 2013 servers.  I created two new test user mailboxes in Ex 2013.  The Ex2013 mailboxes cannot send/receive to each other or to Ex 2010 users.  This
    seems strange, unless I am completely missing something in the Ex 2013 install?
    I know this is a lot in one post, but following the Deployment assistant, I was hoping this would be something that others have faced.  Thanks for any input here.

    Does the below points already fit for you.
    Exchange 2013 Supported with the following minimum versions of Exchange:
    1) Exchange*** 2010 SP3 on all Exchange 2010 servers in the organization, including Edge Transport servers.
    2) Exchange 2013 CU2 or later on all Exchange 2013 servers in the organization.
    *** If you want to create an EdgeSync Subscription between an Exchange 2010 Hub Transport server and an Exchange 2013 SP1 Edge Transport
    server, you need to install Exchange 2010 SP3 Update Rollup 5 or later on the Exchange 2010 Hub Transport server.
    Thanks Prem P Rana MCSA Messaging 2003 MCSE 2003 Server MCTS MCITP Exchange 2007, 2010 Gurgaon, India http://blogs.msexchange-experts.com

  • What's the easiest way to create a new VLAN and then move all existing devices to it?

    One of our locations was implemented using VLAN1 as the main (native) VLAN. My goal is to create a new sub-interface on the router and then move all the existing switches (all Layer 2) into the new VLAN, without disrupting the network (and remotely). I am trying to determine the best way to proceed. Thanks.

    I wanted to shed a little more light on the situation. The "new" VLAN has actually been in existence since the network was initially setup. The network runs VTP and the new VLAN already has an interface on the router and already shows up on all the switches when you do a "sh vlan" command. We have about 10 VLANs in all. In reality, I am simply trying to migrate about 8 switches from VLAN1 (which they never should have been on) to the new VLAN. I know that I need to create an interface for the new VLAN on each of the switches and then swap the management IP to that interface. If I could connectly directly into each switch via the console port, this would be a simple task. However, the switches are in extremely remote locations with special circumstances, thus I have no physical access to them. This fact has me a little reluctant to making the changes, as we can't afford any mistakes that would potentially cause network downtime. I am looking for some guidance on exactly the steps to take to achieve my goal. Let's call the new vlan, VLAN2. During testing, I logged into a local switch that was on VLAN1 (that's where it had it's management address). It did have VLAN2-VLAN10 as well, via VTP. I created an interface for VLAN3 on the switch and then accessed it via VLAN3 to swap the main management interface from VLAN1 to VLAN2. The changes took, but I couldn't access it via VLAN2. I am assuming this is because the router still has VLAN1 listed as the native vlan and the VLAN2 IP address is still assigned to VLAN1 on the router. What would be the best way for me to make the required changes on the 8 switches that need swapped, without losing remote access? It wouldn't hurt if the network went down for 5 minutes or less, but we can't have a big outage. Thanks.

  • Can I download to Apple TV in my office next to my iMac and latter move the Apple TV to the room with my HD TV and watch a downloaded movie?

    Can I download the movies in my office into a Apple TV unit and where I have my 27 iMac and latter move the Apple unit to my bedroom and watch the downloaded movie in my HD TV?
    I am presently watching movies in my 27 iMac downloded from itunes but would love to see them in my hd tv.
    Another question would be if i can connect the Apple Tv via the HDMI into my Onkyo hometheater and so i would get the full sound? Or do I have to connect to the hd tv directly?
    Best regards

    If it's a first-gen Apple TV (white box), content is stored locally, on its internal HD.  You sync it with iTunes just like an iPod or iPhone, and the files go where the unit goes.
    If it's an ATV 2 (black box), content is streamed over the network from any connected computers' iTunes libraries.  In that case, it shouldn't matter where in the house it is, as long as it and the target iTunes library are on the same network and set up for Home Sharing.
    As for connecting it to your HDTV or Home Theater, either should work fine, though I believe the HDMI only outputs video, in which case you'll also want to use the Optical output for the audio as well.
    Good luck!

Maybe you are looking for

  • Business logic in Database layer or in Middle layer.

    I am converting my form 6i client server application to .net 3 tier web architecture application using oracle 10g database. My application is a very data centric, millions of records calculations happen in many processes. I have a problem while prese

  • Idlj error - java.lang.ExceptionInInitializerError:

    I got the following error while using idlj with an IDL file as argument (no option). Anyone has any idea? Exception in thread "main" java.lang.ExceptionInInitializerError: java.lang.NullPointerException at com.sun.tools.corba.se.idl.Util.getDefaultMe

  • Loocking for source code for waves

    Anybody know where I can find source code for a Wave applet!, those how makes water waves/ripples when you move your mouse over it???????????

  • What are best options for home Mac Wi-Fi setup?

    Having a newer 3rd gen iPod Touch and planning on getting an Apple laptop ... what are some of the better Wi-Fi options to setup in my home environment (using indoors and around the house, patio, etc.? I'm obviously aware of Apple's products like Air

  • Camera connection kit problem

    I can connect my Camera with iPad using connection kit. But It can't read SDcard. I reseted my iPad and my card already has DCIM folder. Why it can work with camera but not SDcard? I bought 3hours ago. How can I do?