Parallel effect reversing on its own. FLEX BUG.

Hi,
The problem is that the parallel effect (that includes resize
and move) plays well with my custom component, however when it
reaches the EFFECT_END, it plays in reverse to its original
position, on its own. I cannot figure it out why. This reverse
effect is done in half of the duration set.
This is the code:
private function setLayoutAndPosition( pod:*, rect:Rectangle
):void
// Transition the location
var move:Move = new Move( pod );
move.xFrom = pod.x;
move.xTo = rect.x;
move.yFrom = pod.y;
move.yTo = rect.y;
move.duration = 2000;
// Transition the size
var resize:Resize = new Resize( pod );
resize.widthFrom = pod.width;
resize.widthTo = rect.width;
resize.heightFrom = pod.height;
resize.heightTo = rect.height;
resize.duration = 2000;
var parallel:Parallel = new Parallel();
parallel.addChild(move);
parallel.addChild(resize);
parallel.play();
I am utilizing an effect taken from the source code of the
Flex Developer Center called Community Widgets (
bottom of the page)
which is working correctly. Its pretty cool eh!.
BTW: Took me some time to find out why I couldn't run the
source code. You have to rename ListEvent to any other name.
If anybody has any idea please le me know,
Many thanks!
Jose.

"jose3" <[email protected]> wrote in message
news:[email protected]...
> Hi myIP,
> After days of trying different things I figured out what
was the problem,
> I am
> not sure if it is a bug or if it is a natural behabiour
of Flex.
>
>
> The thing is that if you position a component (Canvas
FE) with
> constraintColumns and constraintRows and then you apply
an effect that
> affects
> its position or size, after the effect reaches the
EFFECT_END the
> components
> goes back to the original position-size on its own.
>
> Here is an example:
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
> layout="absolute"
> applicationComplete="init()">
>
> <mx:Script>
> <![CDATA[
>
> import flash.geom.Rectangle;
> import flash.utils.Dictionary;
>
> import mx.effects.Move;
> import mx.effects.Parallel;
> import mx.effects.Resize;
> import mx.events.EffectEvent;
>
> private var minimizedLayout:Dictionary = new
Dictionary();;
>
> private function init():void {
> minimizedLayout[ can ] = new Rectangle( 5, 200, 300, 50
> }
>
> private function onClick(e:Event):void {
> setLayoutAndPosition( can, minimizedLayout[can] );
> }
>
> private function setLayoutAndPosition( pod:*,
rect:Rectangle ):void
> {
>
> // Transition the location
> var move:Move = new Move( pod );
> move.xFrom = pod.x;
> move.xTo = rect.x;
> move.yFrom = pod.y;
> move.yTo = rect.y;
> move.duration = 1000;
>
> // Transition the size
> var resize:Resize = new Resize( pod );
> resize.widthFrom = pod.width;
> resize.widthTo = rect.width;
> resize.heightFrom = pod.height;
> resize.heightTo = rect.height;
> resize.duration = 1000;
>
> var parallel:Parallel = new Parallel();
> parallel.addChild(move);
> parallel.addChild(resize);
> parallel.play();
>
> }
>
> ]]>
> </mx:Script>
>
> <mx:constraintColumns>
> <mx:ConstraintColumn id="col1" width="5%"/>
> <mx:ConstraintColumn id="col2" width="20%"/>
> </mx:constraintColumns>
>
> <mx:constraintRows>
> <mx:ConstraintRow id="row1" height="5%"/>
> <mx:ConstraintRow id="row2" height="20%"/>
> </mx:constraintRows>
>
>
> <mx:Button label="Move Canvas" x="333"
click="onClick(event)" y="29"
> height="107"/>
>
> <mx:Canvas id="can" backgroundColor="#D91414"
> left="col1:10" right="col2:0"
> top="row1:10" bottom="row2:0" />
>
> </mx:Application>
>
>
> If this is a normal behabiour (if anybody knows about
it) I can just try
> to
> end the effect after EFFECT_END, else I listen to any
suggestion.
>
> How should I proceed it it is a bug?
Listen for the effect end, and then explicitly set the width
and height of
the affected component to the new size.

Similar Messages

  • My macbook pro is moving on its own. Not sure if its being remotely controlled or if its a bug but its annoying!!

    I have a 15inch Macbook Pro that has recently been acting wacky. It feels like someone else is controlling my computer but all my sharing featured are turned off and i have my firewall on so i doubt its being remote controlled. Using my cursor is a constant battle. Sometimes its fine other times it won't cooperate. At random times the cursor will move and highlight a word and define it. YES Define the highlighted word. While on safari it'll  randomly zoom in on the webpage im on,  and contiue to highlight and  try to switch pages. It'll switch from desktop to  dashboard on its own as well as  make my launch pad disappear and reaapear. without me touching it at all. SOMEONE HELP !

    There are several possible causes for this issue. Please take each of the following steps that you haven't already tried until it's resolved. Some may not apply in your case.
    1. Follow the instructions in this support article, and also this one, if applicable. A damaged or defective AC adapter could be the cause, even if it's the right kind.
    2. Open the Bluetooth preference pane in System Preferences and delete all pointing devices other than the trackpad, if applicable. Disconnect any USB pointing devices. By a "pointing device," I mean a peripheral that moves the cursor, such as a trackpad, mouse, trackball, or graphics tablet. A plain keyboard is not a pointing device.
    3. Start up in safe mode and test, preferably without launching any third-party applications. If you don't have the problem in safe mode, but it comes back when you restart as usual, stop here and post your results. Do the same if you can't start in safe mode. If there was no difference in safe mode, go on to the next step.
    4. Reset the System Management Controller.
    5. If you're using a Bluetooth trackpad, investigate potential sources of interference, including USB 3 devices.
    6. A swollen battery in a portable computer can impinge on the trackpad from below and cause erratic behavior. If you have trouble clicking the trackpad, this is likely the reason. The battery must be replaced without delay.
    7. Press down all four corners of the trackpad at once and release. If there's any effect, it's likely to be temporary, and the unit needs to be serviced or replaced.
    8. There's a report that a (possibly defective) Thunderbolt Ethernet adapter can cause the built-in trackpad of a MacBook to  behave erratically. If you're using such an adapter, disconnect it and test.
    9. There's also a report of erratic cursor movements caused by an external display that was connected but not turned on.
    10. If none of the above applies, or if you have another reason to think that your computer is being remotely controlled, remove it from the network by turning off Wi-Fi (or your Wi-Fi access point), disconnecting from a Bluetooth network link, and unplugging the Ethernet cable or USB modem, whichever is applicable. If the cursor movements stop at once, you should suspect an intrusion.
    11. Make a "Genius" appointment at an Apple Store to have the machine and/or external trackpad tested.

  • IMac wakes from sleep on its own with Yosemite

    After installing Yosemite, my iMac wakes from sleep all on its own multiple times throughout the day and night.  The screen does not turn on when this occurs and it goes back to sleep on its own.  I figured the my energy settings may have changed after the upgrade, but nothing is different.  I have no schedule set and the "wake for network access" is unchecked.

    To my knowledge, any Mac that is 1. connected to power and 2. not powered down will wake periodically for the reasons I explained, and perhaps for additional reasons known only to Apple. If disabling "wake for network access" does not change anything, all I can say is that it's working as Apple intends it to work. Before you ask, I strongly discourage you from finding clever system "hacks" or workarounds to prevent your Mac from working as designed.
    It may or may not be a bug. Whether it is or not though, if it bothers you, consider providing feedback to Apple.
    When questions such as yours arise, it helps to look at iOS. iPads and iPhones will all periodically connect themselves for the purposes of downloading emails, Messages, alerts etc. There is no way to disable that, other than to completely power down the device, which almost no one does. Apple has been inexorably changing OS X to effectively implement iOS design features such as this – for better or worse is not for us to say.
    May I ask why this concerns you? Perhaps that would lend some insight regarding possible solutions.

  • My Macbook Pro started freezing all the time & going to sleep on its own for no reason

    I've been having trouble for a few weeks with my computer freezing way too often for seemingly no reason - I'm using it exactly the same way I always have with no problems, and even actively trying to have less applications open (which seems to have no effect). I can't always load simple webpages without it freezing and giving me the color wheel and it's just MUCH slower in general. It is seriously making it difficult to use my computer for work  or for fun...
    It has also started going to sleep on its own - the screen will just go black (or sometimes BLUE) and the keyboard lights turn off, and the only way to get it to wake back up is to close the computer, wait, open it again and click or press a key. It doesn't respond to any keys/clicks until it has been closed and reopened.
    It seems to overheat really easily lately as well - but it does not always overheat when it freezes.
    SMC reset did not seem to have an effect. Activity Monitor doesn't show anything crazy, everything is pretty much 0% except Firefox around 7-12% as I'm typing this. 246 GB available on my hard drive so that doesn't seem to be the problem either. Right after restarting my computer it seems better but the problems quickly resurface...
    I googled for help before posting this and someone had suggested running the command
    syslog -k Sender kernel -k Message CReq 'Channel t|GPU D|I/O|find tok|n Cause: -' | tail | open -ef
    in Terminal, which they said "Normally the command will produce no output, and the window will be empty." But mine gave this:
    Tue Apr 15 21:04:24 My-MacBook-Pro kernel[0] <Debug>: disk0s2: I/O error.
    Tue Apr 15 21:04:42 My-MacBook-Pro kernel[0] <Debug>: disk0s2: I/O error.
    Tue Apr 15 21:35:04 My-MacBook-Pro kernel[0] <Debug>: disk0s2: I/O error.
    Tue Apr 15 21:35:20 My-MacBook-Pro kernel[0] <Debug>: disk0s2: I/O error.
    Wed Apr 16 10:56:46 My-MacBook-Pro kernel[0] <Debug>: disk0s2: I/O error.
    Wed Apr 16 10:57:03 My-MacBook-Pro kernel[0] <Debug>: disk0s2: I/O error.
    Wed Apr 16 12:11:17 My-MacBook-Pro kernel[0] <Debug>: disk0s2: I/O error.
    Wed Apr 16 12:11:35 My-MacBook-Pro kernel[0] <Debug>: disk0s2: I/O error.
    Wed Apr 16 12:11:52 My-MacBook-Pro kernel[0] <Debug>: disk0s2: I/O error.
    Wed Apr 16 12:23:01 My-MacBook-Pro kernel[0] <Debug>: disk0s2: I/O error.
    I don't know what that means or if that is useful info to help solve my problem? I just want to know what I can do to make my mac go back to normal!
    I ran Etrecheck:
    Hardware Information:
        MacBook Pro (15-inch, Early 2011)
        MacBook Pro - model: MacBookPro8,2
        1 2 GHz Intel Core i7 CPU: 4 cores
        4 GB RAM
    Video Information:
        AMD Radeon HD 6490M - VRAM: 256 MB
        Intel HD Graphics 3000 - VRAM: 384 MB
    System Software:
        Mac OS X 10.6.8 (10K549) - Uptime: 0 days 0:24:42
    Disk Information:
        Hitachi HTS725050A9A362 disk0 : (465.76 GB)
            (null) (disk0s1) <not mounted>: 200 MB
            Macintosh HD (disk0s2) / [Startup]: 465.44 GB (229.26 GB free)
        MATSHITADVD-R   UJ-898 
    USB Information:
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
        Apple, Inc. MacBook Pro
    Kernel Extensions:
        com.digidesign.iokit.DigiDal    (8.0.3f1)
        com.paceap.kext.pacesupport.snowleopard    (5.7.2)
    Startup Items:
        DigidesignLoader: Path: /Library/StartupItems/DigidesignLoader
        M-AudioFastTrack: Path: /Library/StartupItems/M-AudioFastTrack
        PACESupport: Path: /Library/StartupItems/PACESupport
    Problem System Launch Daemons:
        [System]    org.samba.winbindd.plist 3rd-Party support link
    Launch Daemons:
        [System]    com.adobe.fpsaud.plist 3rd-Party support link
        [System]    com.google.keystone.daemon.plist 3rd-Party support link
        [System]    com.microsoft.office.licensing.helper.plist 3rd-Party support link
        [System]    org.eyebeam.SelfControl.plist 3rd-Party support link
        [System]    PACESupport.plist 3rd-Party support link
    Launch Agents:
        [System]    com.google.keystone.agent.plist 3rd-Party support link
        [System]    com.hp.help.tocgenerator.plist 3rd-Party support link
        [System]    com.m-audio.mobilepremkii.helper.plist 3rd-Party support link
    User Launch Agents:
        [not loaded]    com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist
        [not loaded]    com.facebook.videochat.[redacted].plist 3rd-Party support link
        [not loaded]    com.spotify.webhelper.plist 3rd-Party support link
    User Login Items:
        Flux
        iTunesHelper
        RescueTime
    Internet Plug-ins:
        o1dbrowserplugin: Version: 5.2.4.18058 3rd-Party support link
        nplastpass: Version: 2.5.5 3rd-Party support link
        Unity Web Player: Version: UnityPlayer version 3.5.2f2 - SDK 10.6 3rd-Party support link
        RealPlayer Plugin: Version: Unknown
        Silverlight: Version: 5.1.20913.0 - SDK 10.6 3rd-Party support link
        FlashPlayer-10.6: Version: 13.0.0.201 - SDK 10.6 3rd-Party support link
        QuickTime Plugin: Version: 7.6.6
        Flash Player: Version: 13.0.0.201 - SDK 10.6 3rd-Party support link
        googletalkbrowserplugin: Version: 5.2.4.18058 3rd-Party support link
        SharePointBrowserPlugin: Version: 14.4.1 - SDK 10.6 3rd-Party support link
        AdobePDFViewer: Version: 10.1.1 3rd-Party support link
        iPhotoPhotocast: Version: 7.0 - SDK 10.7
        JavaAppletPlugin: Version: 13.9.8 - SDK 10.6 Outdated! Update
    iTunes Plug-ins:
        Quartz Composer Visualizer: Version: 1.2
    3rd Party Preference Panes:
        Flash Player  3rd-Party support link
        Growl  3rd-Party support link
        M-AudioFastTrack  3rd-Party support link
        M-Audio MobilePre  3rd-Party support link
    Old Applications:
        None
    Time Machine:
        Time Machine information requires OS X 10.7 "Lion" or later.
    Top Processes by CPU:
             5%    firefox
             3%    EtreCheck
             2%    WindowServer
             2%    hidd
             1%    mds
    Top Processes by Memory:
        545 MB    firefox
        74 MB    mds
        57 MB    WindowServer
        41 MB    Mail
        41 MB    Finder
    Virtual Memory Information:
        1.88 GB    Free RAM
        818 MB    Active RAM
        458 MB    Inactive RAM
        880 MB    Wired RAM
        190 MB    Page-ins
        0 B    Page-outs

    Eric - I dont understand how I'd use caffeinate.  I am not running any code or particular script.  My system goes to sleep if surfing the web, or running Word or Excel, etc. 
    Or..  Are you saying I should go through and type 'caffeinate X' for all of my applications?

  • Is there a way of changing the alpha value of a symbol in its own timeline without ActionScript

    I'm trying to make an animated banner ad where radio waves emanate from a device as they fade in and fade out.
    I got it working, then realized I'd like the radio wave animation to loop repeatedly while the text in the ad comes in and out, so I thought maybe it should be a symbol and have the animation take place in its own timeline.
    Problem is, when I make the symbol and double click to enter its timeline, the color effect menu disappears.
    I don't feel comfortable in ActionScript yet. Is there no other way to do what I want?
    Can I create the radio waves as a separate animation file, then import it into the main animation?

    You should be able to make seperate keyframes and then modify the alpha of any MovieClip or Graphic objects within that keyframe. After that right click somewhere between the keyframes on the timeline and select "Create Classic Tween".
    NOTE: You have to have the keyframe selected on the timeline to be able to modify properties. So if you have a keyframe on frame 1, frame 10 and frame 20 set the alpha on frame 1 at 100%, frame 10 at 0% and frame 20 at 100% and it will fill in the blanks.
    EDIT:
    If the objects in your inner symbol are not a MovieClip or Graphic select all and then Right Click and select "Convert to Symbol" to make them one.

  • IPhone deletes MobileMe email on its own

    I first noticed the problem last week. I open up Mail on my iPhone, it checks Mobile Me for new messages, they start to download and I saw a number of emails fleetingly appear before my eyes and immediately thereafter vanish without a trace. Today it had to be the most important email I was waiting for didn't it? And it was. I saw it briefly, again for all of a second, and then it was gone forever.
    No trace of the emails to be found in Trash or Junk. Gone.
    I found another, closed thread relating to Yahoo Mail and people who encountered this error. But this was Apple's Mobile Me service. I've even checked my mail via me.com, no luck. It's like the message never existed but I know it did.
    Ideas? Help? And why did it bypass the trash for goodness' sake? If it had dumped it there because of some bug I could have rescued it. But to wipe it totally? Man, that's one nasty bug.

    No. I was accessing my me.com email nowhere else at the times this happened, as it has happened again since my original post above. I have switched off email on my iPhone until this is resolved, I can't afford to have emails going like that.
    And bear in mind, whether you access elsewhere or not is somewhat irrelevant when talking about MobileMe accounts as they are supposed to keep in sync, meaning if I download an email to my MB Pro it will appear in my inbox on iPhone or iMac as well. Unless of course you move or delete the email, which I didn't.
    Before switching off email on my iPhone as an emergency response I tried changing the settings to confirm deletions before going ahead. That was completely ignored by the iPhone, which went ahead and deleted another email all on its own thereafter.
    I have never had the problems with emails other have had before now. Could an installed third-party app impact on the Mail app in any way at all? I have installed a few apps along the way but was thinking, could something installed in the past fortnight, say, be a cause?

  • My iPhone 4S Decides to Roam on its Own

    My job requires that I cross the border between Kuwait & Saudi Arabia 5 days a week.
    My SIM is from a carrier in Kuwait named Zain.
    I have went into Settings -> Carrier, and switched "Automatic" off and selected Zain as my network.
    This works fine until a couple of days ago.
    I crossed the border as usual going to work and the signal was lost as expected and now I see "No Service" on the top left corner of my screen.
    Around 1:30pm of that same day, while I was working on my iPhone while connected to a Wi-Fi network at work, I noticed that the phone was actually connected to a carrier in Saudi Arabia.
    I double checked the carrier settings again just to be sure if the setting is bugged or for some odd reason, "Automatic" was set to on.
    To my surprise, it was still off!
    Why is my iPhone 4S roaming on its own? I can easily prevent such roaming charges.
    I need my iPhone to be on and connected to Wi-Fi but I don't need its voice services while I'm across the border.
    Anyone else facing this? Share your thoughts please.
    Thanks.

    Thanks Noel but I tend to disagree.
    You see, I previously owned an iPhone 3GS and an iPhone 4. All worked perfectly. Upon switching off automatic selection of a carrier and only selecting my home network, those 2 phones stayed with No Service until they sniff a signal from my home network provider.
    That's not the case with iPhone 4S.
    My iPhone 4S today for example went out of service at about 7:45am after I crossed the border.
    at about 1:30pm, it decided on its own to connect to a roaming network. It shouldn't. Because I'm selecting my carrier manually. So worst case scenario, it should at least prompt for availability of other carriers without connecting to them.
    Last but not least, roaming charges in my case will be charged against my number once I receive or make a phone call or SMS. I'd like to avoid that. I did tests that clearly showed saving over $100 a month of roaming charges when I do so. Yes, our carrier is a vampire

  • My Mac got hacked. I was working on a word document when the computer suddenly started typing meaningful sentences on its own that describes how the hacker is skillful. At the that time I was on a password protected wifi and file sharing was off.

    This is the first time I get hacked this bad. I was working on a microsoft word document when the computer suddenly started typing meaningful sentences on its own that describes how skillfull the hacker is. At the that time I was on a friends wifi network that is password protected (not sure about the encyrption), the Os X Firewall was on. I was using the admin profile, however, file sharing was off. I'm very careful not to install any suspecious 3rd party software.
    So far I have verified permissions and fixed some errors there, and changed passwords.
    Do I have to erase/format my computer and reinstall the Os? If so is it adequte to use the internet recovery tool or will it use old and possibly infected EFI/Root files?
    Would appreciate the advice of all the Mac experts out there. Thanks

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo launchctl getenv DYLD_INSERT_LIBRARIES; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; launchctl getenv DYLD_INSERT_LIBRARIES; echo; crontab -l 2> /dev/null; } | open -ef
    Step 4
    ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of login items' | open -ef
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Mac OS restarts itself on its own

    2 weeks ago my mac OS has begun to restart itself very often (every 1.5-2 hours or sometime even more often) on its own. If i don't have any word or excel doc opened, Max OS fails to restart as it stops at the moment it asks to save such document.
    I also have a mac book pro 13 inch (besides MacBook Air) which runs OS 10.5.8 and it now experiences the same problem. Both macs are sync through Mobileme.
    Please, advise how to fix this bug.
    Thanks!

    Reinstall OS X and start doing some basic maintenance:
    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility. For situations DU cannot handle the best third-party utilities are: Disk Warrior; DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation. TechTool Pro 4.5.1 or higher are Intel Mac compatible; Drive Genius is similar to TechTool Pro in terms of the various repair services provided. Versions 1.5.1 or later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep. Dependence upon third-party utilities to run the periodic maintenance scripts had been significantly reduced in Tiger and Leopard. These utilities have limited or no functionality with Snow Leopard and should not be installed.
    OS X automatically defrags files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.
    I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old logfiles and archives, clearing caches, etc. Other utilities are also available such as Onyx, Leopard Cache Cleaner, CockTail, and Xupport, for example.
    For emergency repairs install the freeware utility Applejack (not compatible with Snow Leopard.) If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline. Note that AppleJack 1.5 is required for Leopard. AppleJack is not compatible with Snow Leopard.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    1. Retrospect Desktop (Commercial - not yet universal binary)
    2. Synchronize! Pro X (Commercial)
    3. Synk (Backup, Standard, or Pro)
    4. Deja Vu (Shareware)
    5. Carbon Copy Cloner (Donationware)
    6. SuperDuper! (Commercial)
    7. Intego Personal Backup (Commercial)
    8. Data Backup (Commercial)
    9. SilverKeeper 2.0 (Freeware)
    10. MimMac (Commercial)
    11. Tri-Backup (Commercial)
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at www.versiontracker.com and www.macupdate.com.

  • IPhone 3GS reboots on its own

    My iPhone 3GS restarts on its own, this happens 2 to 3 times a day, any know bug causing this?

    You didn't state your iOS version. There is something corrupt in your phone, possibly a bad app or setting.
    Assuming you haven't hacked or jailbroken your phone, try these steps as needed:
    1. Restore your phone in iTunes using a backup.
    2. Settings > General > Reset > Reset All Settings.
    3. Restore as a new iPhone, without a backup but syncing all your apps.
    4. Restore as a new iPhone, adding 3rd party apps one by one.
    5. If still rebooting, there is a hardware problem that needs evaluation by Apple.
    Message was edited by: modular747

  • How to create a window with its own window border other than the local system window border?

    How to create a window with its own window border other than the local system window border?
    For example, a border: a black line with a width 1 and then a transparent line with a width 5. Further inner, it is the content pane.
    In JavaSE, there seems to have the paintComponent() method for the JFrame to realize the effect.

    Not sure why your code is doing that. I usually use an ObjectProperty<Point2D> to hold the initial coordinates of the mouse press, and set it to null on a mouse release. That seems to avoid the dragging being confused by mouse interaction with other nodes.
    import javafx.application.Application;
    import javafx.application.Platform;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.collections.FXCollections;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.geometry.Point2D;
    import javafx.geometry.Pos;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.AnchorPane;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    import javafx.stage.StageStyle;
    import javafx.stage.Window;
    public class CustomBorderExample extends Application {
      @Override
      public void start(Stage primaryStage) {
      AnchorPane root = new AnchorPane();
      root.setStyle("-fx-border-color: black; -fx-border-width: 1px; ");
      enableDragging(root);
      StackPane mainContainer = new StackPane();
        AnchorPane.setTopAnchor(mainContainer, 5.0);
        AnchorPane.setLeftAnchor(mainContainer, 5.0);
        AnchorPane.setRightAnchor(mainContainer, 5.0);
        AnchorPane.setBottomAnchor(mainContainer, 5.0);
      mainContainer.setStyle("-fx-background-color: aliceblue;");
      root.getChildren().add(mainContainer);
      primaryStage.initStyle(StageStyle.TRANSPARENT);
      final ChoiceBox<String> choiceBox = new ChoiceBox<>(FXCollections.observableArrayList("Item 1", "Item 2", "Item 3"));
      final Button closeButton = new Button("Close");
      VBox vbox = new VBox(10);
      vbox.setAlignment(Pos.CENTER);
      vbox.getChildren().addAll(choiceBox, closeButton);
      mainContainer.getChildren().add(vbox);
        closeButton.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            Platform.exit();
      primaryStage.setScene(new Scene(root,  300, 200, Color.TRANSPARENT));
      primaryStage.show();
      private void enableDragging(final Node n) {
       final ObjectProperty<Point2D> mouseAnchor = new SimpleObjectProperty<>(null);
       n.addEventHandler(MouseEvent.MOUSE_PRESSED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            mouseAnchor.set(new Point2D(event.getX(), event.getY()));
       n.addEventHandler(MouseEvent.MOUSE_RELEASED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            mouseAnchor.set(null);
       n.addEventHandler(MouseEvent.MOUSE_DRAGGED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            Point2D anchor = mouseAnchor.get();
            Scene scene = n.getScene();
            Window window = null ;
            if (scene != null) {
              window = scene.getWindow();
            if (anchor != null && window != null) {
              double deltaX = event.getX()-anchor.getX();
              double deltaY = event.getY()-anchor.getY();
              window.setX(window.getX()+deltaX);
              window.setY(window.getY()+deltaY);
      public static void main(String[] args) {
      launch(args);

  • After installing the new Yosemite OS on my Macbook pro late 2013 touch trap has its own mind. Any others with this problem? What should we do?

    After installing the new Yosemite OS on my Macbook pro late 2013 touch trap has its own mind. Any others with this problem? What should we do?
    Even I tried to get back to Maverick but the touch pad doesn't work again. well, it works for a couple hours then start doing things but its own. it is so annoying.

    Hello josefromlaie,
    Thank you for using Apple Support Communities. 
    The following article provides some effective steps to troubleshoot trackpad issues:
    Intel-based Mac notebooks: Troubleshooting unresponsive trackpad issues
    Regards,
    Jeff D. 

  • Sound swapped to HDMI on its own

    I read on one of these threads that someone was having problems with sound and that videos where muted when playing the video, well,  i was watching a video, cant remember what or where it was, it was a trailer for anew movie,i couldnt here the sound, so i left ie9 running and copy/pasted the link into firefox, the sound started coming out of my monitor in firefox instead of my chosen default which was 7.1 realtek audio, in the volume icon i had both volume controls for the nvidia hdmi and my default,so i disabled all sound except my default, refreshed the page in ie9 and i got the sound, this as never happened to me since owning a pc or laptop, weird, how can it change the default sound on its own,maybe this is why that other person couldnt here anything because it happened to them also, im sorry i cant give you anything to reproduce it as i cant remermber the video but im sure it was on youtube, could adobe take alook at the programming to see if theres anycode that woulkd make it switch to other than the default sound.

    Thanks for the note.
    While we'd like to investigate, there's not a lot of actionable information here.
    If you find a set of reproducible steps, please file a bug here:
    https://bugbase.adobe.com/
    Please include as much information as possible about your configuration.  Video and audio driver information would be particularly interesting.

  • Can I give a certain JSP its own thread pool?

    Hey all,
              The application I'm working on needs to give a certain JSP its own thread pool so that it does not effect the performance of the other pools. I can create the new thread pool and am trying to set the value in web.xml. Here's my entry:
              <servlet>
              <servlet-name>??????</servlet-name>
              <jsp-file>/search/*.jsp</jsp-file>
              <init-param>
                   <param-name>wl-dispatch-policy</param-name>
              <param-value>search</param-value>
              </init-param>
              </servlet>
              Since this is just a JSP can you tell me what I should set the <servlet-name> to?
              Thanks for the help.

    you could also try it here:
    http://web.mac.com/madmax019/0/mx/Favicons%20%26%20URL%20Icons.html
    max

  • MacBook Pro erased files on its own?

    I have a 13" MacBook Pro that is currently running OS X 10.8.4. About 5 days ago I took a trip with my mother and left the computer at home. Came home yesterday, got on my computer, and noticed that the background had changed. When I tried to access some files I needed for work, they were all gone. All of my files, documents, pictures, music, etc., were gone. My programs were still there (Photoshop, Parallels, etc.), but everything else was not. It was as if someone had entirely reset the computer. I asked my dad and brother about it, and everyone swears that my computer wasn't used while I was gone. Is there any reason why my computer would do that on its own? Is there anyway to get my files back? I have an external HD that thankfully has some files on it, but I haven't backed up my computer recently (which I'm now realizing was a mistake). But, if my files are gone for good I will at least have some of them. I greatly appreciate the help.

    Oh my gosh. I am in idiot. That's exactly what happened. I have a password set on my computer, so someone in my household must have "forgotten" () they used the laptop. I panicked and just went straight for the worst conclusion! Thank you so much!

Maybe you are looking for

  • How to handle more than one message coming from an async BPEL in a sync BPEL process?

    Here is the scenario, Sync process A is calling an Async process B and Async process B  is developed in such a way that it is returning more than one message to sync process A, how you will handle those messages in sync process A?

  • How to Create and External Hierarchy and group values of IO in node

    Good morning BI 7: Please give me guidance on the following? I need to either to restrict a characteristic in a query to more than 800 values OR exclude values where it contains the pattern 'Z7' and 'Z8'. There are thousands of values which contains

  • Helping in Excel sheet 2013

    I have sheet for (4 shifts)  i wanna make roster depend on date,  the roster as follow when i put starting day it makes fill automatically as the previous picture from starting date of month and ending of the same month and when i put another dates i

  • CANT ACCESS MUSC STORE

    IT SAYS "ITUNES COULD NOT CONNECT TO THE MUSIC STORE" "MAKE SURE YOUR NETWORK CONNECTIONS ARE ACTIVE AND TRY AGAIN".............WHATD WRONG WITH IT HEEEEELLLLP unsure   Windows XP   kmkmkm

  • Sharing mappings for single dimensions between locations

    Dear all, In our application we want to load data into essbase as well as into HFM, so we are using the two different adaptors. We though about using on the one hand locations with the essbase adaptor and on the other hand locations with the HFM adap