Try this blur tween, onRollOver and RollOut..

Hello,
I ff you roll over the first button (red one) ..it will
increase in size and decrease in Size when roll out.
This goes well, but when you do it to soon, the startsize is
to big. Is there a way to get the value of the current
size when use the RollOut function?
Also the blur value when tracing this does not work very well
on the rollout. Sometimes it jumps from 10 to 0 ..
it should work from 10, to 9, 8, 7,6,5,4,3,2,1,0 ..
Can someone take a look at this code? I am not sure if i am
doing it the right way.
If you place 3 movieclips on your stage and call there
instance names:
rood_mc
oranje_m;
groen_mc
and copy this code :
import flash.filters.BlurFilter;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var sizeknop:Number = 200;
var sizeknopstart:Number = 100;
var speedknop:Number = 2; // 30 frames per seconden.
var seconden:Boolean = true; // flase = gebruik frames
p/seconden
rood_mc.onRollOver = function() {
var tweenSizeY:Object = new Tween(rood_mc, "_yscale",
Strong.easeOut, sizeknopstart, sizeknop, speedknop, seconden);
var tweenSizeX:Object = new Tween(rood_mc, "_xscale",
Strong.easeOut, sizeknopstart, sizeknop, speedknop, seconden);
var tweenBlur:Object = new Tween(oranje_mc, "blur",
Strong.easeOut, 0, 10, 2, true);
tweenSizeX.onMotionChanged = function() {
blurwaarde = Math.round(oranje_mc.blur);
//trace(blurwaarde);
oranje_mc.filters = [new BlurFilter(blurwaarde, blurwaarde,
1)];
blauw_mc.filters = [new BlurFilter(blurwaarde, blurwaarde,
1)];
rood_mc.onRollOut = function() {
var tweenSizeY:Object = new Tween(rood_mc, "_yscale",
Strong.easeOut, sizeknop, sizeknopstart, speedknop, seconden);
var tweenSizeX:Object = new Tween(rood_mc, "_xscale",
Strong.easeOut, sizeknop, sizeknopstart, speedknop, seconden);
var tweenBlur:Object = new Tween(oranje_mc, "blur",
Strong.easeOut, 10, 0, 2, true);
tweenSizeX.onMotionChanged = function() {
blurwaarde = Math.round(oranje_mc.blur);
trace(blurwaarde);
oranje_mc.filters = [new BlurFilter(blurwaarde, blurwaarde,
1)];
blauw_mc.filters = [new BlurFilter(blurwaarde, blurwaarde,
1)];

Thanks Sulemaan !
It's working!

Similar Messages

  • Didn't they try this blur update in Lr 2 also?

    Seems like Deja Vu to me. I seem to recall they tried to pass off this blurred image and no update until releasing the mouse in Lr2 when everyone was complaining about speed issues.
    People better start making it clear this is not a solution or they may find this is how Lr4 will work going forward. I don't know how anyone can work like this. I sure can't. Going back to 4.0 until this is fixed, if it ever is.
    If no one starts complaining about this issue they may move forward with it like it is and that would be the death of this product to many. What the heck were they thinking?
    If you don't know what I'm referring to, check this thread. http://forums.adobe.com/thread/982697?tstart=60

    >Note that the sharpening IS applied when adjusting the sliders in the detail panel, where it actually matters.
    You must be running different software than I am. Using the detail panel and adjusting the sliders blurs the image and it does not unblur until you release the mouse and move it off the slider. In 4.0 and all previous versions you saw immediate changes to the slider movement, but now you don't know what you've done until you release and move off the slider. To be clear, I'm not a Windows user.
    I've got just a bit of time left on the trial. I'd like to know if this is the way they plan on leaving it, as I'll just move on if that's the case. Sure glad I waited on this version and didn't pay for it yet.

  • TS1717 i was wonering why is it when i restord my iphone5 from my laptop now when i try to play my music and movie a blog pops up saying (the requested URL was not found on this server)?

    I was wondering why when i restored my iphoe5 from my laptop now when I try to play my music and movies a blog pops up saying (the requested URL was not found on this server)?

    The problem resolved itself when I resynced the iPod with my computer. I suspect the error displayed when I tried syncing with my laptop and canceled out of it.

  • I have an apple ID, I'm trying to use this to update and download apps etc. however, whenever I try this, it keeps asking me to use my old ID, which is attached to an email that no longer exists! I can't download or update anything! Help!

    I have an apple ID, I'm trying to use this to update and download apps etc. however, whenever I try this, it keeps asking me to use my old ID, which is attached to an email that no longer exists! I can't download or update anything! Help!

    You can log out of the currently logged in account by taping on the id in Settings > Store (Settings > iTunes & App Stores on iOS 6) and you can then log back in.
    If you updated your existing account with a new email address then that shoud 'refresh' it on it
    If you created a new account then any content that you purchased/downloaded via the old account will remain tied to that old account, and only that old account can redownload its content and download updates to its apps. You should be able to update an account's email address via this page : http://appleid.apple.com

  • HI there, I am having trouble updating my CS5 Master's Collection Suite for at least a month now. I keep gettin this message "There was an error downloading this update. Please quit now and try again later" every time and do not know how to fix it.

    I am having trouble updating my CS5 Master's Collection Suite for at least a month now. I keep getting this message "There was an error downloading this update. Please quit now and try again later" every time and do not know how to fix it.
    Any help will be highly appreciated.
    Thanks a lot in advance.
    Sincerely,
    Uvaldocj@@
    Here is a list of the products I am troubled with:
      Adobe After Effects CS5 10.0.2 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe Bridge CS5 4.0.5 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe Extension Manager CS5 5.0 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe Illustrator CS5 15.0.2 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe Pixel Bender Toolkit 2.5 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe® InDesign® CS5 7.0.4 update
    There was an error downloading this update. Please quit and try again later.
      Dreamweaver CS5 11.0.4 Updater
    There was an error downloading this update. Please quit and try again later.
      Fireworks CS5 11.0.2 Update
    There was an error downloading this update. Please quit and try again later.
      Photoshop 12.0.4 update for Photoshop CS5
    There was an error downloading this update. Please quit and try again later.
      Photoshop Camera Raw 6.7 Update
    There was an error downloading this update. Please quit and try again later.

    I'm having the same issue. And Dreamweaver now crashes after just a few seconds.

  • I have a 2nd generation Ipod. I have it connected to my computer and see (my name) ipod on my screen. Everytime I try to add a new song to the Ipod, this message comes up and I am not sure what to do:   The Ipod, (my name) is synced with another ITunes li

    I have a 2nd generation Ipod.
    I have it connected to my computer and see (my name) ipod on my screen.
    Everytime I try to add a new song to the Ipod, this message comes up and I am not sure what to do:
    The Ipod, (my name) is synced with another ITunes library on A74F65. Do you want to erase this Ipod and sync with this ITunes Library?
    An Ipod can be synced with only one ITunes library at a time.  Erasing and syncing replaces the contents of this IPod with the contents of this ITunes library.
    Then it asks me if I want to delete and sync.
    I am not sure what to do for fear of erasing everything I have put on my Ipod.
    I would appreciate if someone could help me out. 

    If I understand you correctly, you are trying to use iTunes to play the Music in your iPod but which is not in your itunes library. I don't think Apple design iTunes for use in your way. As to put and play music in iPod, the music has to be in iTunes first, so you play music in the iTunes music Library. the window with Ipod music is just to show you which music are already in the Ipod, in case you want to Manually Manage your huge music library.
    Here is the iPod/iTunes manual from the Apple Support Site.
    http://manuals.info.apple.com/en_US/iPod_Features_Guide.pdf
    Have A NICE DAY!

  • I am having troubles, when I open LR I get a message that there is an error and it will try to fix the error next time it opens, but I get the error next time it opens, and this is going on and on where I can not use LR, any suggestions?

    I am having troubles, when I open LR I get a message that there is an error and it will try to fix the error next time it opens. LR closes on it's own, I reopen it and get that same message next time it opens, and this is going on and on where I can not use LR, any suggestions? If I click on a different set of photos in the libary before I get that message I might or might not get the message next time it oipens, but I still can not get to those photos, and it is not just one or two but most of my photos. HELP!!!!
    Thanks
    Carol

    The first thing I would suggest is for you to go to the folder containing your catalog, using your system browser. There will be a folder that has the extension .lrdata. Delete that folder, and then try to start Lightroom. If that doesn't work, replace your catalog with your most recent backup.

  • I am trying to authorise my new macbook air and it won't let me. I try to de-authorise all the other computers and it says I can only do this once a year and have to wait until the 7th Feb. It does not give me an option to authorise this computer

    I am trying to authorise my new macbook air for i-tunes and it won't let me. I try to de-authorise all the other computers and it says I can only do this once a year and have to wait until the 7th Feb. It does not give me an option to authorise this computer

    Always remember to 'de-authorize' you computer when selling or sending for service. If sending for repairs you might not get the same mother board or HD back and some how this counts as an authorized computer against your count.
    MJ

  • Can i connect my ipad to a mac mini, and also use this ipad as a display? has somebdy ever try this?

    can i connect my ipad to a mac mini, and also use this ipad as a display? has somebdy ever try this?

    Investigate the Air Display App to see if it will do the job for you.

  • Palm Desktop 6.2.2/Win 8 shows Media and Install? TRY THIS!

    I now have a Windows 8.1 loaner from HP, and used it to compose this help file!   Thanks HP!  
    If Palm Desktop 6.2.2 only shows Media and Install, try this:  Right-click on the shortcut for Palm Desktop, then choose "Run as Administrator".  The other modules should appear.
    To make Palm Desktop "Run as Administrator" every time in Windows 8/8.1:
    Close Palm Desktop, if open.  (This is a very important thing to always do when using 6.2.2 - it has been known to lose data when a computer is shut down without closing the program!)
    Right Click on the Palm Desktop Icon in the Metro screen, then choose "Open File Location".  You will now see the actual file for the shortcut.
    Right-click on the "Palm Desktop" shortcut file, then Properties.  Now pick the Compatibility Tab at the top.
    At the bottom of the Compatibility Tab is a checkbox:  "Run this Program as Administrator".  Put a check in the box, then click OK  to close the window.
    Try opening Palm Desktop, all the modules should appear.  You may see a box open when you close the program asking "Did the program run correctly?"   I picked "Yes", and it's been working fine since then!
    If you have an older PalmOS device (pre T|E for example)  and still can't see any data after trying the above, you may need to use the PalmHotSyncSetup program available from pimlicosoftware.com.  This will translate the databases from the older style to one Palm Desktop 6.2.2 can process.
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

    I found out how to fix it.
    I have been having trouble since the new Windows patches came through.  
    Right click on your shortcut and select Properties
    Click on Open File Location
    Right click on Palm.exe file and select Properties
    Select Run as Administrator
    Also select run as Windows 7
    and apply.  
    Try to sync again and it should show all of your options.

  • I try to sync my nano and get:  the ipod cant be synced because there is not enough free space to hold all of the items in the items library (need 100MB) - I have a new computer?? can you help me understand this message: what to do?

    I try to sync my nano and get:  the ipod cant be synced because there is not enough free space to hold all of the items in the items library (need 100MB) - I have a new computer?? can you help me understand this message: what to do?

    Hello pryan1012,
    What this message means is that you have more music in your itunes library than there is free space in your ipod.
    I had this same issue at one time. This is what helped me put my music on the ipod. I used manually manage.
    Learn how to sync muisc here.
    Hope this helps.
    ~Julian

  • How can I get my ipod nano (6th gen) to stop making a static-y noise when I try to listen to my music? It has been doing this for a week and the music is faint while the static is louder than it.

    It has been doing this for a week and the music is faint while the static is louder than it. I try plugging it in to my iTunes and when I un-plug it, it still makes the loud static noise. I have also tried tapping my knuckle on the back of my ipod nano. This has not damaged it at all nor caused this to my ipod. There is no water damage to the ipod. Only a few scratches from a couple drops. The drops have been on concrete but not at a very high distance. How to I stop this? Do I need to replace my ipod instead?

    Have you tried a different pair of earbuds/headphones to rule out a pair of damaged/faulty ones?  You might also want to make sure the headphones are securely and firmly seated in Nano's headphone jack.  Lastly, check the headphone jack for any signs of debris or damage.  You may need to have the headphone jack replaced either by Apple or a third party repair company.
    I assume this static is present on any track you listen to versus only particular ones?
    B-rock

  • Tried to check on updates for CS6 64 bit - Received message saying application manager may be damaged - download and install new copy - when I try this I receive message ERROR 404 I have a PC - any help would be gratefully received - thanks - William

    Tried to check on updates for CS6 64 bit - Received message saying application manager may be damaged - download and install new copy - when I try this I receive message ERROR 404 I have a PC - any help would be gratefully received - thanks - William

    reset your preferences:
    dreamweaver:  http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
    flash:  http://helpx.adobe.com/flash/kb/re-create-preferences-flash-professional.html
    indesign:  https://forums.adobe.com/thread/526990
    lightroom:  http://www.lightroomforums.net/showthread.php?14226-Resetting-%28or-Trashing-%29-the-Light room-Preferences-file
    photoshop:  https://forums.adobe.com/thread/375776
    if that fails, uninstall ps, clean (Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6) and reinstall.  then use the manual updates.

  • Trying to update my software (iPhone and iPad) it says my iTunes software needs to be updated, but it is already is. I try this over and over again. I've already reinstalled iTunes and have shut down and restarted my Mac several times. How can I fix this?

    Trying to update my software (iPhone and iPad) it says my iTunes software needs to be updated, but it is already is. I try this over and over again. I've already reinstalled iTunes and have shut down and restarted my Mac several times. How can I fix this?

    This is what worked:
    "In iTunes, I signed out of the store. I exited itunes and restarted it, logged back into the store (with my apple id), then I pulled down the iTunes menu in the menu bar and selected Check for updates.
    At this point it said that iTunes 11.1 was available and I'm downloading now " Quoted from a fellow user.
    It fixed my problem.

  • I try to restore my iphone 4 and this message pops up and sais the iphone could not be restored. The device isn't eligible for the requested build

    i try to restore my iphone 4 and this message pops up and sais the iphone could not be restored. The device isn't eligible for the requested build... can anybody help me ?

    sounds like your phone was jailbroken.  If this is the case, you're hosed.

Maybe you are looking for

  • UI Shell :  Changes are not saved. If you leave this page

    Hi, My JDeveloper version is 11.1.1.6.0 I have on VO having all transient attributes. The vo having dependent LOV's . When i am not not selecting the value from lov and trying to close the UI Shlll it is not showing warning message. When i am changin

  • PO not subject to Release strategy but PR is.

    Hi Friends, I am trying to check what purchases have occured in my organisation which have not been authorised at some point. I first have done a search using table EKKO for PO's not assigned a release strategy and found many.  Therefore I thought we

  • Mini and Samsung S27B350

    Hey all! I am very interested in getting a mac mini to replace my aging MBP and was wondering if it's worth it. I want something that will handle my Samsung monitor. Will the Intel HD Graphics 4000 handle a 27" monitor? I am new at this whole resolut

  • Need some tips for Database Developer Role.

    Dear All, Next week, I'm going to face an Interview for Database Developer role. For this, I need some more & useful information on these recommended points. 1. Involve in a designing part of Data warehouse from scratch  2. Create complex analytic qu

  • OBIEE 11g on windows xp Installation

    Hi All, I am new to OBIEE and I am trying to install OBIEE 11g v.11.1.1.6.0 on a fresh windows xp machine. I hope you can answer to my below questions. 1) Do I need to install any Oracle DB (like to install 10g) prior to running rcu.bat file? 2) If I