Tween the icon you are over to its normal state

I have this snippet of code I've been running successfuly on my image buttons grouped into one MC.
It applies changes to the buttons I am not rolling over, i.e. if I were to roll over a button the rest of the buttons in the group would dim and blur and etc, but not the button I am over.
All worked fine until I decided to group buttons one more time.
With my limited knowledge of AS3 I was able to put all the actions to the buttons except into making the button I am over to stay the way it is.
In my understanding the problem is in the line:
//  target = tween the icon you are over to its normal state
  TweenMax.to(e.target, .5, {alpha: 1, blurFilter:{blurX:0, blurY:0}, colorMatrixFilter:{colorize:0x000000, amount:0, brightness:1.25, saturation:1}, ease:Sine.easeOut});
particularly in properly specifiying e.target
I tried a few variations but nothing seemed to work.
What would be a proper code to go two levels deep into an MC?
Below is my full code:
IMGS_COLLAGE.buttonMode=true;
IMGS_COLLAGE.useHandCursor = true;
IMGS_COLLAGE.imgORIGINAL_collage.addEventListener(MouseEvent.MOUSE_OVER, navOver);
IMGS_COLLAGE.imgORIGINAL_collage.addEventListener(MouseEvent.MOUSE_OUT, navOut);
function navOver(e:MouseEvent):void
          //loop through all icons
          for (var i in IMGS_COLLAGE.imgORIGINAL_collage)
                    //tween out all icons
                    TweenMax.to(IMGS_COLLAGE.imgORIGINAL_collage[i], .2, {alpha:.85, blurFilter:{blurX:11, blurY:11}, colorMatrixFilter:{colorize:0x000000, amount:0.25, brightness:0.65, saturation:0.7}, ease:Sine.easeOut});
                    //                                target = tween the icon you are over to its normal state
                    TweenMax.to(e.target, .5, {alpha: 1, blurFilter:{blurX:0, blurY:0}, colorMatrixFilter:{colorize:0x000000, amount:0, brightness:1.25, saturation:1}, ease:Sine.easeOut});
function navOut(e:MouseEvent):void
          for (var i in IMGS_COLLAGE.imgORIGINAL_collage)
                    //tween out all icons to a normal state
                    TweenMax.to(IMGS_COLLAGE.imgORIGINAL_collage[i], .5, {alpha: 1, blurFilter:{blurX:0, blurY:0}, colorMatrixFilter:{colorize:0x000000, amount:0, brightness:1, saturation:1}, ease:Sine.easeOut});

P.S.
While further working on the project I realised that sinse there are two img collages with the same navOver and navOut setting I should use one line of code.
Both of those images collages are located inside the IMGS_COLLAGE so I thought of deleting imgORIGINAL_collage out of IMGS_COLLAGE.imgORIGINAL_collage but it did not work.
So now I have two identical blocks of code for two image collages. Is there a way to unify them since both of them are located in IMGS_COLLAGE mc?
Here is how the code looks now:
// makes a hand cursor appear over a mc acting as a button for all the buttons inside the IMGS_COLLAGE.
IMGS_COLLAGE.buttonMode=true;
IMGS_COLLAGE.useHandCursor = true;
IMGS_COLLAGE.imgORIGINAL_collage.addEventListener(MouseEvent.MOUSE_OVER, navOver_ORIGINAL);
IMGS_COLLAGE.imgORIGINAL_collage.addEventListener(MouseEvent.MOUSE_OUT, navOut_ORIGINAL);
//set up a vars object to hold all the properties of the icons in normal state
//since we use these properties twice it makes sense to define them only once
var normalVarsIMGS_COLLAGE_ORIGINAL:Object = new Object();
normalVarsIMGS_COLLAGE_ORIGINAL={colorMatrixFilter:{colorize:0x000000, amount:0, brightness:1, saturation:1}, ease:Sine.easeOut};
function navOver_ORIGINAL(e:MouseEvent):void
          //loop through all icons
          for (var i in IMGS_COLLAGE.imgORIGINAL_collage)
                    if(IMGS_COLLAGE.imgORIGINAL_collage[i].hitTestPoint(mouseX, mouseY)){
                    //target = tween the icon you are over to its normal state
                    TweenMax.to(IMGS_COLLAGE.imgORIGINAL_collage[i], .5, normalVarsIMGS_COLLAGE_ORIGINAL);
                    }else{
                    TweenMax.to(IMGS_COLLAGE.imgORIGINAL_collage[i], .2, {colorMatrixFilter:{colorize:0x000000, amount:.15, brightness:0.85, saturation:0.45}, ease:Sine.easeOut});
function navOut_ORIGINAL(e:MouseEvent):void
          for (var i in IMGS_COLLAGE.imgORIGINAL_collage)
                    //tween out all icons to a normal state
                    TweenMax.to(IMGS_COLLAGE.imgORIGINAL_collage[i], .5, normalVarsIMGS_COLLAGE_ORIGINAL);
IMGS_COLLAGE.imgPNP_collage.addEventListener(MouseEvent.MOUSE_OVER, navOver_PNP);
IMGS_COLLAGE.imgPNP_collage.addEventListener(MouseEvent.MOUSE_OUT, navOut_PNP);
//set up a vars object to hold all the properties of the icons in normal state
//since we use these properties twice it makes sense to define them only once
var normalVarsIMGS_COLLAGE_PNP:Object = new Object();
normalVarsIMGS_COLLAGE_PNP={colorMatrixFilter:{colorize:0x000000, amount:0, brightness:1, saturation:1}, ease:Sine.easeOut};
function navOver_PNP(e:MouseEvent):void
          //loop through all icons
          for (var i in IMGS_COLLAGE.imgPNP_collage)
                    if(IMGS_COLLAGE.imgPNP_collage[i].hitTestPoint(mouseX, mouseY)){
                    //target = tween the icon you are over to its normal state
                    TweenMax.to(IMGS_COLLAGE.imgPNP_collage[i], .5, normalVarsIMGS_COLLAGE_PNP);
                    }else{
                    TweenMax.to(IMGS_COLLAGE.imgPNP_collage[i], .2, {colorMatrixFilter:{colorize:0x000000, amount:.15, brightness:0.85, saturation:0.45}, ease:Sine.easeOut});
function navOut_PNP(e:MouseEvent):void
          for (var i in IMGS_COLLAGE.imgPNP_collage)
                    //tween out all icons to a normal state
                    TweenMax.to(IMGS_COLLAGE.imgPNP_collage[i], .5, normalVarsIMGS_COLLAGE_PNP);

Similar Messages

  • Trying to remove itunes and its component get this"the feature you are trying to use is on a network resource that is unavailable

    trying to remove itunes and its component get this"the feature you are trying to use is on a network resource that is unavailable" click ok to try again or enter an alternate path to a folder containing the installation package "itunes.msi'

    tiburon77 wrote:
    trying to remove itunes and its component get this"the feature you are trying to use is on a network resource that is unavailable" click ok to try again or enter an alternate path to a folder containing the installation package "itunes.msi'
    Unfortunately, this sort of trouble has gotten more complicated to deal with ever since Microsoft pulled the Windows Installer CleanUp utility from their Download Center on June 25. First we have to find a copy of the utility.
    Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
    If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove".
    Quit out of CleanUp, restart the PC and try installing iTunes again. Does the install go through properly now?
    (If you do find a clean download site for the correct version of CleanUp, please don't tell me where it is. Without wishing to sound paranoid (although I grant it does sound paranoid), there is a non-zero chance that posting links to download locations for the utility here at Discussions leads to that download location being shut down.)

  • Everytime i try to update to 10.5.1 i get an error saying 'the feature you are trying to use is on a network resource that is unavailable'? its windows!

    everytime i try to update to 10.5.1 i get an error saying 'the feature you are trying to use is on a network resource that is unavailable'? its windows!

    Which particular .msi file does the message go on to say can't be found, seg?

  • When I try to log in to my BC account I get a message that says this"Server Error in '/' Application.  The resource cannot be found.  Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its nam

    When I try to log in to my BC account I get a message that says this"Server Error in '/' Application.  The resource cannot be found.  Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.   Requested URL: /Admin/Index2.aspx"
    Any ideas???

    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Test.

  • Technical Details: The website does not support encryption for the page you are viewing. Information sent over the internet withour encryption can be seen by other people while it is in transit

    Technical Details:
    The website does not support encryption for the page you are viewing.
    Information sent over the internet withour encryption can be seen by other people while it is in transit
    == This happened ==
    Not sure how often
    == started few days ago. previously never happened before.

    I was loading a website, it then stated as below, it wasnt any of the problems stated below.
    SERVER NOT FOUND
    # Check the address for typing errors such as
    ww.example.com instead of
    www.example.com
    # If you are unable to load any pages, check your computer's network
    connection.
    # If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.
    Thus i checked the Page Info, it states that:
    Security Info on page:
    '''This website does not supply ownership information.
    Connection not Encrypted.'''
    Technical Details:
    The website does not support encryption for the page you are viewing.
    Information sent over the internet withour encryption can be seen by other people while it is in transit

  • I have an iphone 3GS, problem is, it was updated so its has the latest version, now problem is: i was trying to activate it thru itunes but it is showing that "THERE IS NO SIM CARD INSTALLED ON THE IPHONE YOU ARE TRYING TO ACTIVATE" HOW IS THIS POSSIBLE??

    I HAVE AN IPHONE 3GS AND ITS NOT REGISTERING TO ITUNES ITS HAS A SIM CARD ON IT, at&t AND TMOBILE (I TRIED) BUT IT IS SAYING SAME THING THAT "there is no simcard installed on the iphone you are activating" i tried TO PUT at&t AND TMOBILE OR VERIZON STILL DOESNT WORK?PLS. HELP GUY I NEED YOUR PROFESSIONAL OPINION

    Take it to an Apple Store and have it checked out. You could have a hardware issue there if the SIM is not being recognized.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • HTTP 404 - The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    I have created a web app in our SP 2010 test env. From our dev environment I brought in a content db and attached it to this web app using Mount Powershell command.The command worked without errors.The content db had one site collection in it. When I navigate
    to that site I get the error below.I followed the same approach in dev and didn't have any issues.The content DB was migrated from MOSS 2007 site collection.
    Please help.
    HTTP Error 404.0 - Not Found
    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
    It says the most likely causes are:
    The directory or file specified does not exist on the Web server.
    The URL contains a typographical error.
    A custom filter or module, such as URLScan, restricts access to the file.
    This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.
    Sreeni

    try this trick
    open page in web browser and go to view source and check the file that missing

  • HT201210 while updating iOS its showing "The disk you are attempying is full" kindly suggest as still 28GB free space avialable in iphone 5 32 GB.

    while updating iOS its showing "The disk you are attempying is full" kindly suggest as still 28GB free space avialable in iphone 5 32 GB.

    That message ("attempying"?) will be referring to your computer. Your phone does not have a disk.

  • I am trying to uninstall itunes and keep getting a reject that reads "the feature you are trying to use is on a network resource that is unavailable."  Its windows...help!

    I am trying to uninstall itunes and keep getting an error that reads "the feature you are trying to use is on a network resource that is unavailable."  Itunes on windows.  Help!

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • I am trying to update my itunes 10.7 and it comes up with an error the feature you are trying to use is on a network resourse that is unavaiable. Its looking iT unes.msi

    I am trying tp update my itunes to 10.7 and it says that the feature you are trying to use is on a network resource that is unavailable. Enter and alternative path to a folder containing the installation package iT unes.msi It does not appear to be able to locate this file. What do i do? do i need to uninstall Itunes and will I loose all my folders? 

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • My itunes won't work so i tried reinstalling and when it starts an error pops up that says: "the feature you are trying to use is on a network resource that is unavailable. click ok to try again, or enter an alternate path to a folder containing the insta

    my itunes won't work so i tried reinstalling and when it starts an error pops up that says:
    "the feature you are trying to use is on a network resource that is unavailable. click ok to try again, or enter an alternate path to a folder containing the installation package 'Itunes.msi' in the box below
    please help, its frustrating

    first, head into your Add/Remove programs and uninstall your QuickTime. if it goes, good. if it doesn't, we'll just attend to it when we attend to itunes.
    next, download and install the revo uninstaller http://http://www.revouninstaller.com/revo_uninstaller_free_download.html. use it to clear any existing itunes and/or QuickTime installation configuration information from the PC.
           next download itunes. it worked for me hope this is helpful!!
        oonce you get into the revo uninstallergo thru to delete itunes hit uninstall on the itunes icon then you will go thru to it will tell u the same nmessage about the feature and network hit cancell then go thru and hit scan (make sure bthe advance scan button is pushed) this will take awhile but go thru the list and hit everything associated with itunes. hit delete then install itunes again. it worked for me hope it works for you!

  • Creating/loading an iTunes library (.itl) on a network drive results in dummy error "The Disk you are attempting to use is full" [Win7]

    I  have an 2TB external HDD attatched to my Asus router.  I have iTunes installed on 3 computers in the house (Bedroom, home theater, bar). Each copy of  iTunes accesses the same music folder on the external hard drive.
    The problem is that iTunes creates a library file on each individual computer.  The library file gets out of sync all the time (as computer 1 doesn't know when files have been added via computer 2 and so on).
    Obviously the answer is to just put the Library.itl file on the same network drive.  Hoilding shift whille double clicking the iTunes icon allows you to create or load a library from the location of your choosing.
    All well and good so far.  However, when I attempt to save to my Network Attached storage Device (NAS) iTunes gives me the "The Disk you are attempting to use is full. Please delete..." error.  (There is over 1TB free on the drive.)
    Creating the library file on a local HDD, moving it to the network one, and demanding iTunes access it via option start results in the SAME ERROR!!!
    I'd really rather not rescan my entire library everytime I start iTunes.  Adding new purchases and songs via the "Automatically add to iTunes" folder, again, only adds the files to the database file saved on the computer where the files were dragged and dropped from.
    I've used windows to "Map" the network drive, as well as typed in the \\192.168 etc address of the network drive.  Always get the same error. 
    Any help or thoughts would be greatly apperciated.

    Also, tried this with itunes 10 (current build) iTunes 9.2.1, and itunes 8. Same issue.

  • I am trying to uninstall itunes as it will not open error 7 (windows 126) so that I can reinstall but keep getting the message.. The feature you are trying to remove is on a network resource that is unavailable itunes.msi... Any suggestions anyone

    I was unable to open iTunes and got a message error 7 (windows 126) so I tried to uninstall and download latest itunes 10.  When I tried to remove old version of itunes I got the message... The feature you are trying to remove is on a network resource that is unavailable and when I try to download iTunes 10 the message reads.... The installation source for this product is not aailable.  Verify that the source exists and that you can access it.  Can anyone help?

    A msi file is short for microsoft installer.  It normally is for installation, removal, and maintenance for a program. So iTunes.msi would be used for the updating of the program.  For some reason it isnt finding this so we can't update, install, or remove it.
    From what I have seen windows installer cleanup utility solved related problems before. 
    I found this forum about removing and installing a new iTunes.  It was about someone who was trying to isntall iTunes, and was looking for msi file and asked for help.   Using this should allow you to be able to install iTunes.  It won't give you the msi file but will allow you to isntall iTunes over again.
    This was what was said.
    Another option in case you can't get an msi. (Or even if you can ... the msi's mentioned in the messages may be damaged rather than missing.)
    Unfortunately, this sort of trouble has gotten more complicated to deal with ever since Microsoft pulled the Windows Installer CleanUp utility from their Download Center on June 25. First we have to find a copy of the utility.
    Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. (The results from mydigitallife and Major Geeks are worth checking.)
    After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
    If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove".
    Restart the PC, and try another iTunes install. Does it go through properly this time?

  • I get the following message when installing 11.0.5 "The feature you are trying to use is on a network resource that is unavailable" for windows install

    I get the following message when installing 11.0.5 "The feature you are trying to use is on a network resource that is unavailable" for windows install

    I just found a way to get Fixit to Run.  Go to http://support.microsoft.com/fixit/ and then pick "Install or upgrade software or hardware" and run Fixit from the "Run" button on the webpage.  I just picked run, instead of save, and ran it directly from the web page for each of the apple software.  If the window doesn't come up full size, hit "Tab" twice and then "Return".  You'll be able to see the prompts from there.  Have it attempt to uninstall iTunes on its own.  Repeat the process for any of the other Apple products, including Bonjour and iCloud.  Then, go to the iTunes website and install from there.  I had a downloaded copy and installed from there, but it came up with an error about missing the apple help, or something like that.  It allowed me to uninstall, and I reinstalled direclty from the website, and it all works now.

  • HT1925 When I try to uninstall my itunes I go to my control panel to remove the Apple "Application, Mobile Device, software support" then i get a pop up saying that "the feature you are trying to use is on a network resource that is unavailable" I cant fi

    When I try to uninstall my itunes I go to my control panel to remove the Apple "Application, Mobile Device, software support" then i get a pop up saying that "the feature you are trying to use is on a network resource that is unavailable" I cant find it. Its preventing me from re installing the new itunes.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Apple Software Update entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install using an iTunesSetup.exe (or iTunes64Setup.exe) downloaded from the Apple Website:
    http://www.apple.com/itunes/download/
    Does it go through properly this time?

Maybe you are looking for

  • Creating data in a many-to-many-relationship

    Hello, we really have problems in implementing a JClient dialog based on BC4J for creating data in a many to many relationship - especially with cascade delete on both sides. Simplified our tables look like: create table A_TABLE A_ID VARCHAR2(5) not

  • Storing flv in shared folder

    Hello, I'm trying to have it so that I don't have my flvs just on the computer with FMS. I'd like to set up a shortcut from the applications folder to a shared network drive. But, I'm not sure what's the problem, but I think it has to do with setting

  • Zen Micro Display gone???? Has this happened to anyone el

    Hello,I am a new user and need some advice. I purchased my Micro Zen at the end of December and it has played fine with no problems. Then yesterday the display screen went blank and wont come back. The player still plays, but you cant see the screen

  • My MacBook pro says clock is set to date before January 1 2008

    How I I get my MacBook pro to rese to the correct time? It has done this before and when restarted it is back to normal. It seems to happen when the battery goes dead. This time it won't correct the problem itself.

  • Problems with trial un-installation. Please help

    Some time ago i tried adobe photoshop CS4, and used the trial till it expired. About a month afterward I wanted to delete the files from my computer. I was rather unfamiliar with how un-installers worked, and I did not know they existed. I simply wen