Why the "Actions" does not save the Overprint Black

Hi!
Ai CC 17.0.0
Why the "Actions" does not save the Overprint Black?
I can not create an action that will automate this time a very common activity?
Why?
Best Regards!

I was just able to. I am in Illustrator 6 on a Mac OS 10.6. I started a new action and went through the menu just like your screen shot, chose my options and clicked ok, then stopped recording the action.
I found to use the action I had to have something selected.
I see that you are in Illustrator CC, perhaps there is a difference there. But for the record, on my system, it worked.

Similar Messages

  • My version of LR-5.7 (OS X 10.8.5) apparently does not save the .NEF (Nikon RAW) edits done in the basic module.

    My version of LR-5.7 (OS X 10.8.5) apparently does not save the .NEF (Nikon RAW) edits done in the basic module. That means that I can correct exposure, highlights, shadows etc. but once I go to another picture and returned to the edited one the histogram (on the edited photo) and specifically the clipping triangles are white or some other color. This is normally suppose to indicate that some channel or all channels are clipped in the highlight/shadow areas. If I adjust any slider in the Basic panel even as little as one +/- value or press the J-key, the histogram will now show the original edit. Moving on to another photo and then returning to to previously edited one and again the edits are "not saved" and I have to hit the J-key or adjust a slider to see the previously edited information reflected in the histogram.
    This is especially frustrating for fours reasons. If I have edited a shoot and return to it I cannot see from the clipping information whether the original edit was correct and of course I might re-edit it (to some now incorrect value). This brings up the second issue synchronization. I can't rely on it because if I go back to fine tune a specific image in the batch the triangles are white or some other color for that and every image. I have to hit the J-key to show/hide clipping or the back slash key to see before/after previews. This is the third issue which is very time consuming and inefficient regarding my workflow. The forth issue is that I have noticed that normally when an image is saved in PS, LR adds a copy of the saved version to its catalogue. I have noticed that the PS to LR saves are all wrong in terms of exposure (they are much lighter in tone) than the original LR edit and the PS edit on my screen. If I check the PS to LR photo in LR I notice that the Basic panel values have been changed and that I have to sync the image with the originally edited RAW/NEF LR file to get it to look the same.
    Note 1). I am using an Apple cinema display and a calibrated Eizo ColorEdge monitor to view my NEF files. I have reverted back to using LR 4 however I am not sure if I should expect compatibility problems with Camera Raw 7.4 in LR 4 vs. Camera Raw 8.6 in LR 5.
    Note 2.) I am going to do an import converting everything to .dng  to see if this is a work around.
    Note 3). I would be interested in knowing if this issue is related to the PS RAW engine ver. 8.6, the Adobe created NEF calibrations or LR 5.
    Note 4). I have duplicated this issue in OS X 10.8.5, OS X 9.xx and OS X 10.10.1
    Hopefully someone else has noticed this problem. Any shared information would be valuable. Thanks for the reply.

    Happy New Year!
    The Develop panel Tone settings in your Dec 31 screenshot show both the Highlights and Shadows controls set to negative values (-48 and -19). For most images (such as this model shot) they should be set to opposite values (-Highlights and +Shadows). To try and duplicate your issue I used negative values for both of these controls with a similar high contrast image. I noticed that the Shadows control becomes non-linear when both the Highlights and Shadows controls are set to negative values. As I moved the Shadows control from a positive value the Shadows clipping indicator comes ON as expected. Moving the Shadows control to a value caused the clipping indicator to turn OFF and moving it further negative caused it to turn back ON again.
    The following screenshots demonstrate the issue with only Highlights & Shadows controls applied as shown.
    The Highlights & Shadows controls set just to the threshold of extinguishing the clipping indicators.
    Moving the Shadows control toward negative causes the Shadow clipping indicator to come ON (as expected), but at-13 it goes OFF again!
    Moving the Shadows control further negative causes the Shadows clipping indicator to come back ON at -33.
    This is probably normal behavior for the PV2012 Image Adaptive Tone controls as they were not designed to be used way (- - or ++ Highlights & Shadows). The PV2012 Tone controls all interact with each other, which is why it is suggested to adjust them from the Top down starting with Exposure. For most images using -Highlights and +Shadows of near equal value produces good results.
    I still can't duplicate the change in clipping indicators after selecting another image, so it may be unique to certain camera models and/or lighting conditions.
    SUGGESTION
    Try one of the image files that exhibits this issue using the following PV2102 Tone control adjustment procedure:
    Start with all of the Tone controls at their default 0 settings and adjust them from the top-down in the order shown below.
    Set Exposure to correct midtone brightness ignoring the highlight and shadow areas for now. Setting Exposure slightly higher (+.25 to +.50 EV) than what looks correct for the midtones seems to work best with most images.
    Leave Contrast at 0 for now. It’s usually better to adjust this after the first pass.
    Adjust Highlights so that blown out areas are recovered and “fine tonal detail” is revealed.
    Adjust Shadows to reveal fine detail in dark areas. For most normal images simply setting +Shadows = -Highlights (Example +50 and -50) works very well.
    The Whites control sets the white clipping point, which you can see by holding down the ALT key as you move the slider. Adjust it to the point where you see clipping appear with the ALT key.
    The Blacks control sets the black clipping point, which you can see by holding down the ALT key as you move the slider. Adjust it to the point where you see clipping appear with the ALT key.
    Now go back and adjust the Contrast control to establish the best midtone contrast
    If necessary “touch-up” the controls using the same top-down workflow.
    If the issue persists I suggest Exporting an image to DNG file format with the settings that exhibit the issue and post it to Dropbox or other file download site.

  • HT204135 I update my Mac to version 10.9.2 and now my printer does not work anymore. I did all the software updates and I do not understand why my mac does not recognize the printer anymore?

    I update my Mac to version 10.9.2 and now my printer does not work anymore. I did all the software updates and I do not understand why my mac does not recognize the printer anymore?

    Go to the website of the manufacturer of your printer and check to see if they have released an updated driver for your particular model.

  • I was wondering why the iPhone 5 has the option for a battery percentage and the iPod touch 5g doesn't? I mean... they are almost both the same thing... just the iPod does not have the phone.

    I was wondering why the iPhone 5 has the option for a battery percentage and the iPod touch 5g doesn't? I mean... they are almost both the same thing... just the iPod does not have the phone.

    One likely reason is the % battery is not that accurate because of the smaller battery capacity in the iPod compared to iPhone and iPad. Users why use a % battery app post that the % reading changes a lot.

  • Recording does not save the file

    We are facing a serious problem with Captivate 2. After
    recording about 40 -50 slides it does not save the file.
    The system hangs for several minutes and there’s no
    response.To analyze this problem we have tried out User Forums and
    FAQs.In the User Forum too similar problems are reported. For
    example, visit:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=67&catid=464&threadid =1261116&enterthread=y
    In fact, in our team Captivate is loaded on a standalone
    hi-end system with ample space and memory.
    We have also tried workarounds to address this issue. For
    example, we deleted all temp files from library and we also saved
    it on a short path like c:/project.
    Nothing works!!!

    Hi Madduser and welcome to our community
    When you say
    To analyze this problem we have tried out User Forums and
    FAQs are we to assume you simply searched them and read the
    threads? I'm assuming this because this is your first post here.
    You will note that the thread you linked to mentioned the
    person was attempting to save on a network. I do see you have tried
    using the shortened local path to no avail, so I'm guessing the
    network is ruled out here.
    As usual, I've got more questions than answers, but hopefully
    as we work through them something will come to light.
    * Have you EVER been able to create and save things using
    Captivate? Or did you just install it and it's never worked for
    you?
    * Have you tried what is outlined in the following Technical
    Note?
    Click here to read the
    Technical Note
    Cheers... Rick

  • The SOAP action specified on the message, '', does not match the HTTP SOAP

    Error Message: " The SOAP action specified on the message, '', does not match the HTTP SOAP Action"
    we need establish webservice link with our vendors, they are on windows platform and we are on java.
    they gave us this URL:
    http://mesadstage.webhop.net/MesadSCService/EBOrderService.svc?wsdl
    I create a project in Netbeans, then add Web Service Client, put the URL in, after the some configuration and source code generation, i put these codes in the public void main(String[]), it always returned the error msg:
    Error Message: "The SOAP action specified on the message, '', does not match the HTTP SOAP Action, 'http://tempuri.org/IEBOrderService/GetData'. "
    what was wrong? any thing that I din configured? or it caused by different platforms???
    h2. error message (stack trace)
    javax.xml.ws.soap.SOAPFaultException: The SOAP action specified on the message, '', does not match the HTTP SOAP Action, http://tempuri.org/IEBOrderService/GetData'.
    at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:1326)
    at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.demarshalFaultResponse(MethodMarshallerUtils.java:1052)
    at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller.demarshalFaultResponse(DocLitWrappedMethodMarshaller.java:659)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.getFaultResponse(JAXWSProxyHandler.java:577)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:520)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:386)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:171)
    at $Proxy11.getData(Unknown Source)
    at javaapplication7.Main.a(Main.java:28)
    at javaapplication7.Main.main(Main.java:43)
    h2. source code:
    try {
    org.tempuri.EBOrderService service = new org.tempuri.EBOrderService();
    org.tempuri.IEBOrderService port = service.getWSHttpBindingIEBOrderService();
    java.lang.Integer value = Integer.valueOf(0);
    java.lang.String result = port.getData(value);
    System.out.println("Result = " + result);
    } catch (Exception ex) {
    System.out.println("Error = " + ex.getMessage());
    ex.printStackTrace();
    }

    Try to rebuild the index file of the troubled folder.
    Right-click the folder - Properties - Repair Folder

  • HT4623 why my iphone does not have the software update option

    why my iphone does not have the software update option

    Are you sure you're connected to a network and that your iphone isn't on airplane mode?

  • UserPrincipal.ChangePassword thinks the password does not meet the password policy requirements.

    I am working with C# 3.5.  My goal is to have a simple program to allow a user change their Active Directory user password via a web page.  I have a console application to initially test the commands to active directory and I am running into a problem.
    my domains password policy is as follows.
    Enforce password history 24 passwords remembered
    Minimum password length 7 characters
    Password must meet complexity requirements Enabled
    Store passwords using reversible encryption Disabled
    The error I am getting is "The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements. (Exception from HRESULT: 0x800708C5)"
    I believe the new password I am using does meet the policy requirements and I can't seem to get this program to work.  All I want to build is a simple program to allow a user to change their Active Directory user password.
    My test code is below.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.DirectoryServices.AccountManagement;
    using System.DirectoryServices;
    namespace ActiveDirectoryHacking
    class Program
    static void Main(string[] args)
    PrincipalContext adPrincipalContext = new PrincipalContext(ContextType.Domain, "192.168.1.26", "OU=Staff,DC=SFdev,DC=org", "John.Doe", "Initial Complex P234dfword");
    Console.WriteLine("Validate user {0}", adPrincipalContext.ValidateCredentials("John.Doe", "Initial Complex P234dfword"));
    UserPrincipal user = UserPrincipal.FindByIdentity(adPrincipalContext, "John.Doe");
    Console.WriteLine(user.DistinguishedName);
    user.ChangePassword("Initial Complex P234dfword", "e$213434sDKS really? www.microsoft.com");
    //user.SetPassword("Initial Complex P234dfword");
    user.Save();
    Console.WriteLine("Press a key to exit.");
    Console.ReadKey();
    The .SetPassword works if I use a user with Domain Admin access but it appears the John.Doe is unable to change their own password with the .ChangePassword method.
    The output until the exception is the following
    Validate user True
    CN=John Doe,OU=Staff,DC=SFdev,DC=org
    I have no clue why any password I select for the new password does not work.

    I looked into the password policy and this is what I have learned.  There is a major difference between undefined and defined in policies plus making sure the defined policies are set with values that will provide the desired results.
    Since this is a development domain and is used for testing I have tweaked the password policy to allow me to develop and test against the domain with a little bit more freedom than a production domain.
    I have changed the policy to the following settings. 
    Enforce password history 0 passwords remembered
    Maximum password age 0 days
    Minimum password age 0 days
    Minimum password length 7 characters
    Password must meet complexity requirements Disabled
    Store passwords using reversible encryption Disabled
    Now, I am able to run my program against the domain testing the password change utility.  My error was leaving some of the policy settings as not defined and not understanding what that really means for each setting.  For development of a password change utility I need the flexibility to test and the relaxed policy changes allows me to run the program many times without having to work with test data that works around a more restricted policy.

  • Any idea what this errorr means? the data type of the reference does not match the data type of the variable

    I am using Veristand 2014, Scan Engine and EtherCat Custom Device.  I have not had this error before, but I was trying to deploy my System Definition File (run) to the Target (cRio 9024 with 6 modules) and it failed. It wouldn't even try to communicate with the target. I get the 'connection refused' error.  
    I created a new Veristand project
    I added the Scan Engine and EtherCat custom device.
    I changed the IP address and auto-detected my modules
    i noticed tat Veristand didn't find one of my modules that was there earlier. (this week)
     So, i went to NiMax to make sure software was installed and even reinstalled Scan Engine and Veristand just to make sure.
    Now, it finds the module, but when i go to deploy it getsto the last step of deploying the code to the target, and then it fails.
    Any thoughts?
    Start Date: 4/10/2015 11:48 AM
    • Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\testChassis\testChassis.nivssdf
    • Initializing TCP subsystem...
    • Starting TCP Loops...
    • Connection established with target Controller.
    • Preparing to synchronize with targets...
    • Querying the active System Definition file from the targets...
    • Stopping TCP loops.
    Waiting for TCP loops to shut down...
    • TCP loops shut down successfully.
    • Unloading System Definition file...
    • Connection with target Controller has been lost.
    • Start Date: 4/10/2015 11:48 AM
    • Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\testChassis\testChassis.nivssdf
    • Preparing to deploy the System Definition to the targets...
    • Compiling the System Definition file...
    • Initializing TCP subsystem...
    • Starting TCP Loops...
    • Connection established with target Controller.
    • Sending reset command to all targets...
    • Preparing to deploy files to the targets...
    • Starting download for target Controller...
    • Opening FTP session to IP 10.12.0.48...
    • Processing Action on Deploy VIs...
    • Setting target scan rate to 10000 (uSec)... Done.
    • Gathering target dependency files...
    • Downloading testChassis.nivssdf [92 kB] (file 1 of 4)
    • Downloading testChassis_Controller.nivsdat [204 kB] (file 2 of 4)
    • Downloading CalibrationData.nivscal [0 kB] (file 3 of 4)
    • Downloading testChassis_Controller.nivsparam [0 kB] (file 4 of 4)
    • Closing FTP session...
    • Files successfully deployed to the targets.
    • Starting deployment group 1...
    The VeriStand Gateway encountered an error while deploying the System Definition file.
    Details:
    Error -66212 occurred at Project Window.lvlibroject Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi
    Possible reason(s):
    LabVIEW: The data type of the reference does not match the data type of the variable.
    =========================
    NI VeriStand: NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi >> NI VeriStand Engine.lvlib:VeriStand Engine.vi >> NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi >> NI VeriStand Engine.lvlib:Initialize Inline Custom Devices.vi >> Custom Devices Storage.lvlib:Initialize Device (HW Interface).vi
    • Sending reset command to all targets...
    • Stopping TCP loops.
    Waiting for TCP loops to shut down...
    • TCP loops shut down successfully.
    • Unloading System Definition file...
    • Connection with target Controller has been lost.

    Can you deploy if you only have the two 9401 modules in the chassis (no other modules) and in the sysdef?  I meant to ask if you could attach your system definition file to the forum post so we can see it as well (sorry for the confusion).  
    Are you using any of the specialty configurations for the 9401 modules? (ex: counter, PWM, quadrature, etc)
    You will probably want to post this on the support page for the Scan Engine/EtherCAT Custom Device: https://decibel.ni.com/content/thread/8671  
    Custom devices aren't officially supported by NI, so technical questions and issues are handled on the above page.
    Kevin W.
    Applications Engineer
    National Instruments

  • Win2012R2 error 364 Content file download failed.Reason: The server does not support the necessary HTTP protocol.

    Im running WSUS on Windows 2012 R2. Installed over "Add Roles and Features". Configured, synchronisation works, but can not download any updates.
    System
    Provider
    Name]
    Windows Server Update
    Services
    EventID
    364
    Qualifiers]
    0
    Level
    2
    Task
    2
    Keywords
    0x80000000000000
    TimeCreated
    SystemTime]
    2014-08-27T06:43:36.000000000Z
    EventRecordID
    390
    Channel
    Application
    Computer
    wsus-server.murrcz.local
    Security
    EventData
    Content file download
    failed. Reason: The server does not support the necessary HTTP protocol.
    Background Intelligent Transfer Service (BITS) requires that the server support
    the Range protocol header. Source File:
    /msdownload/update/software/crup/2011/03/windows6.1-kb2506014-x64_8c22199a738b51dbfe78262ca21ba98cf8bdeca2.cab
    Destination File:
    C:\WSUS-updates\WsusContent\A2\8C22199A738B51DBFE78262CA21BA98CF8BDECA2.cab
    The online help not works:
    Content download has failed. BITS service is not starting or is  stopping during downloads.
    Open a command window.
    Type sc config bits start= auto
    Type net stop bits && net start bits
    Type net stop wsusservice && net start wsusservice
    Start WSUS 3.0: Click Start, click Administrative Tools, then click
    Microsoft Windows Server Update Services v3.0.
    Click Synchronization Results.
    In the Action pane, click Synchronize Now.
    Verify
    Look for the corresponding error event.
    Open a command window.
    Type cd <WSUSInstallDir>\Tools
    Type wsusutil checkhealth
    Type eventvwr
    Review the Application log for the most recent events from source Windows Server Update Services and event id 10030.
    The KB922330 not aplicable, ExecuteSQL.exe not present.
    Please help.
    Thanks

    .\SQLCMD.EXE -S \\.\pipe\MICROSOFT##WID\tsql\query -d "SUSDB" -Q "update tbConfigurationC set BitDownloadPriorityForegroud=1"
    This should be considered a temporary fix. It will saturate your Internet connection during periods of WSUS downloads in this configuration.
    The correct and permanent fix should be to resolve the failure of your perimeter device to properly support the HTTP v1.1 protocol specification (which is now some 14 years old).
    Either your device is misconfigured, or it needs a firmware update to support the full specification.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Comcast just replaced my cable modem/wireless router.  All devices connect properly except my iPhone 4.  It shows itself to be connected to the network, but it does not load any web page.  Resetting the iPhone does not solve the problem.  Any suggestions?

    Comcast just replaced my cable modem/wireless router.  All devices connect properly except my iPhone 4.  It shows itself to be connected to the network, but it does not load any web page.  Resetting the iPhone does not solve the problem.  Any suggestions?

    Thank you for your response.
    I had rebooted the router (several times, actually), to no avail.
    I do not know the answer to whether MAC filtering is enabled on the router.  Have tried to find info about that, but unsuccessfully.  Router is an Arris TG852G, supplied by Comcast.  I would be surprised if MAC filtering were the issue, since in addition to the computer, we have successfully connected several other devices to the wifi, namely an iPad, a Android phone and a Kindle Fire - all able to access internet pages through the wifi, and all without a need to add the device to a MAC address whitelist.  To add to the mystery, the Comcast tech was able to connect his iPhone 4 to my network and access web pages.  He was unable to connect my iPhone, however, after trying for some time.
    I seem to recall reading somewhere that an iPhone cannot connect to a wireless "n" router, only "b" or "g".  The Arris router is described as a n/g/b compliant router, and as noted the Comcast tech was able to connect his iPhone, so don't know why that would be the issue here.
    By the way, my iPhone does connect wirelessly to my network at home.  This difficulty is at a second home.
    Any other thoughts would be appreciated.

  • The illustration does not have the correct number of operands...

    I work on a Macbook Pro 10.8.5. When I open a file in AI CC and place any number of images, save and close the file. When I reopen the file I get this message. 'Can't open the illustration. The illustration does not have the correct number of operands for an operator... etc.' The file scan still open after this but all the placed images disappear.
    I've tested placing different formats ie. JPGs, TIFs, PNGs, flattened PSDs etc. They all come up with the same error.
    I've searched in Google and I haven't found a solution yet. There was a suggestion to import the AI file in INDD, this doesn't help beause all copy converts to outlines and embeds the images.
    Can anyone help?

    Hi, just tried this and AI says 'Could not open the file'. Here's a couple of screen grabs to show you my file setup and the exact error message.

  • New 13" Macbook Pro trying to connect to a Panasonic VIERA TC-L42U30 as second monitor. I've used multiple hdmi-thunderbolt/mini displayport adapters and multiple hdmi cables and still no success. The Macbook does not sense the second monitor (TV). Help?!

    I've been a Mac since 2008, so I know my way around the system pretty well. This issue, however, has me stumped. I had an iMac until now and only now am I experiencing some difficulty with my new MacBook Pro. The model I have is the newest 13" Macbook Pro model and I'm trying to connect a Panasonic VIERA TC-L42U30 42" HDTV as a second monitor via the Thunderbolt port.
    It worked the first two times and hasn't worked since, after 10-15 attempts with different configurations, turning things on n off, restarting the mac, unplugging the cables, adapters, TV, resetting the P RAM, etc... I've used multiple hdmi-thunderbolt/mini displayport adapters and multiple hdmi cables and still no success. No matter what I do, the Macbook does not sense the TV as a second monitor anymore.
    I took the MacBook Pro to the Apple Store, and their "genius" there had it working fine with a DVI connection to a regular monitor. The Panasonic TV I have has HDMI connections and one VGA connection which does not support HD, but no DVI option. I want an HD connection to mirror or extend my MacBook Pro screen. At the Apple Store, they didn't have a Thunderbolt/Mini DisplayPort to HDMI adapter, so he could not try that out for me.
    Anyone else have this configuration or another similar one with a Panasonic HDTV?
    Ideas? Suggestions? Anything?! Help!!
    P.S. I'm running Mountain Lion, if that wasn't already obvious. Everything is up to date in my App Store as well.
    Thanks!

    Hi There,
    I have had the exact same issue but with a projector.
    The issue lies with Mountian Lion 10.8.2.
    I tried many a combination with no luck to get HDMI working.
    Took my mac into the apple store and came to the conclusion it was the software, so I asked them to install 10.8 onto it (this is destructive so a backup is a must)
    Bought my macbook home and voila, now displaying through my projector.
    There is a small graphics update after 10.8.1 which seems to be the cause.
    Hope this helps.
    Thanks.

  • The application does not use the  screen and run in the background

    Hi
    I have downloaded a package of j2me Midlet
    from [link] here [link]
    and try to reuse the code
    but I get the following error when running the code:-
    The application does not use the screen and run in the background
    I think the error into one of these two classes
    package main;
    import javax.microedition.midlet.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.media.Manager;
    import javax.microedition.media.MediaException;
    import javax.microedition.media.Player;
    import java.io.IOException;
    import java.io.InputStream;
    public class MainMidlet extends MIDlet implements CommandListener {
        private SSGameCanvas gameCanvas ;
        private Command exitCommand ;
        private Player player = null;
        public void startApp() {
      try {
           //   create new game thread
              gameCanvas = new SSGameCanvas();
              gameCanvas.start(); // start game thread
              exitCommand = new Command("Exit",Command.EXIT,1);
              gameCanvas.addCommand(exitCommand);
              gameCanvas.setCommandListener(this);
                Display.getDisplay(this).setCurrent(gameCanvas);
       catch (java.io.IOException e)
                e.printStackTrace();
            try {
                // start sounds
                InputStream in = getClass().getResourceAsStream("/resource/startfly.wav");
                player = Manager.createPlayer(in,"audio/x-wav");
                player.setLoopCount(1);
                player.start();
            catch (MediaException ex)
                ex.printStackTrace();
             catch (IOException ex)
                ex.printStackTrace();
        public void pauseApp() {
        public void destroyApp(boolean unconditional) {
            if (player != null) {
                player.close();
            System.gc();
      public void commandAction(Command command, Displayable displayable) {
           if (command == exitCommand)
                 destroyApp(true);
                 notifyDestroyed();
    package main;
    import java.io.IOException;
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    public class SSGameCanvas extends GameCanvas implements Runnable {
        protected GameManager gameManager;
        protected boolean running;
        private int tick=0;
        private static int WIDTH;
        private static int HEIGHT;
        private int mDelay = 20;
        Form mainForm;
        Display display;
        //private int MaxTime;
        public SSGameCanvas() throws IOException{
            super(true);
            gameManager = new GameManager(5,5,getHeight()-10,getWidth()-10,this);
        public void start() {
                this.running = true;
                Thread t = new Thread(this);
                t.start();
        public void stop() {
            running = false;
        public void render(Graphics g) {
            WIDTH = getWidth();
            HEIGHT = getHeight();
            // Clear the Canvas.
            g.setColor(0, 0, 50);
            g.fillRect(0,0,WIDTH-1,HEIGHT-1);
            // draw border
            g.setColor(200,0,0);
            g.drawRect(0,0,WIDTH-1,HEIGHT-1);
            // draw game canvas
            gameManager.paint(g);
        public void run() {
            while (running) {
                // draw graphics
                render(getGraphics());
                // advance to next graphics
                advance(tick++);
                // display
                flushGraphics();
                try { Thread.sleep(mDelay); }
                catch (InterruptedException ie) {}
        public void advance(int ticks) {
            // advance to next game canvas
            gameManager.advance(ticks);
            this.paint(getGraphics());
    }Edited by: VANPERSIE on Jul 10, 2012 12:26 PM

    Hi Andi,
    Thanks for your reply.
    Yes, I have waited for a while and the result doesn't change.
    The Porblem here is the application is seen started in visual administrator.Only restart brings up the page back.
    Can you please suggest anything.
    Thanks and regards
    Nagaraj

  • Is there another way to close apps other than deleting them from the multitask bar.....I have a small crack in the bottom of my screen and that part of the screen does not recognize the touch.  :(

    Is there another way to close apps other than deleting them from the multitask bar.....I have a small crack in the bottom of my screen and that part of the screen does not recognize the touch. 

    There's generally no reason to be closing them that way at all. The apps you see in the recents bar are just that, apps that you used recently. Most of them are doing absolutely nothing. The only apps that are really doing anything in the background are ones that play music and ones that are using location services. Just leave them be.
    Best of luck.

Maybe you are looking for

  • When opening a new tab in Safari, the spinning wheels appears

    Please help, I have very basic skills on a computer, so please make this simple and easy!! When I open a new tab in Safari, it freezes and the spinning wheel appears. It stays on there for a long period of time and does not disappear. In order to get

  • Variable value lost

    I have file with three frames and buttons that control navigation between frames. I have the code that controls the buttons (pasted below) on each frame in a separate layer. This is my first problem. Oddly the buttons will not work properly when the

  • DB not coming up

    Hi All, I have a small situation. My production database(client side database ) is hosted on windows 2000 server (Oracle 9i R2). For some reason , client's DBAs had taken the db down and now when they are trying to start, it does not come up. When I

  • How can I fix wifi communication MountainLion to printer MG8250?

    I have a MacBookPro and Canon 8250 printer connected by in house wifi. The printer worked fine until a few days ago. Then printing started to generate the message "Support code 300: The printer does not respond." Help getting printer going again much

  • Thanks for the little things

    I have the iPhone 3g with the new 3.o OS and just noticed that when you have your cell forwarded, it now displays an icon on the top of the screen next to the 3G/Edge/Wireless icon. I remember back to the first version of the OS and missing this feat