Afther repeatedly wrong pass code (iPhone 4) How to use the correct code now?

Others used repeatedly the wrong pass code on my iPhone 4. I do have the correct code and don't want to loose my content. How to handle now?

If you no longer are permitted to enter the right passcode, then it's too late to save anything:
Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
A
1. iOS- Forgotten passcode or device disabled after entering wrong passcode
2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
3. Restoring iPod touch after forgotten passcode
4. What to Do If You've Forgotten Your iPhone's Passcode
5. iOS- Understanding passcodes
6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
7. iOS - Unable to update or restore
Forgotten Restrictions Passcode Help
            iPad,iPod,iPod Touch Recovery Mode
You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
Also, see iTunes- Restoring iOS software.

Similar Messages

  • How to use the t-code vf31 tor taking print out of invoice

    Hi,
      How to use the t-code vf31 for taking print out,am getting an error like no message for initial processing exist,
    venu

    Hi,
    Please find the steps
    Output type                     RD00
    Transmission medium             1
    Sort order                      01
    Processing mode                 1
    Please give the oppropriate fields,
    if the still error persists  check the configuration in NACE transaction code.
    thanks
    Kuntla

  • HOW TO USE THE PANORAMA FEATURE IN IPHONE 4S, HOW TO USE THE PANORAMA FEATURE IN IPHONE 4S

    HOW TO USE THE PANORAMA FEATURE IN IPHONE 4S?

    There is no current panorama feature.  When iOS 6 is released (Sept. 19) we will find out.

  • Is there a code checker that will give you the correct code?

    I have a website that I started using a bought template, I deleted all of the content except the navigation buttons.  The problem now is that there are ALOT of broken links and coding errors.  Is there a site that will show me what the correct code should be?
    www.cfaai.com
    Heidi

    Hello Heidi,
    I prefer an external FTP program. The difficulties with which you have to fight encourage me in this opinion, not least because we always search for experts, we don't charge a "jack of all trades".
    For this reason, to manage, for example, several websites or to upload my files and sometimes for the opposite way, for a necessary download from my server or to use a "a site-wide synch", I'm using FileZilla. It simply looks easier for me to keep track of all operations precisely and generate or reflect easily the desired tree structure.
    Above all, FileZilla has a feature (translation from my German FileZilla) called "compare file list". Here it's possible to use file size or modification time as a criterion. There is also the possibility to "hide identical files", so that only these files which you want to redact remain visible.
    And even if it means you have to install a new program, I am convinced that there is an advantage. Here is the link to get it and where you can read informations about how it works:
    http://filezilla-project.org/ and
    http://wiki.filezilla-project.org/Tutorial#Using_the_site_manager
    Mac: Mac OS X
    http://filezilla-project.org/download.php
    Of course, you also need all the access data to reach your server.
    Good luck
    Hans-Günter

  • How to use the frameaccess code to convert video frames to jpeg files

    Hello everyone. I am working on a project on video processing, and i need to be able to do image processing on individual video frames. However, to do this, I need to convert the frames to an appropriate format, namely jpeg. It is actually the conversion from buffer frame to BufferedImage that is important, as i already have an approximate knowledge of filewriter for the saving of already rendered file.
    The original frameaccess code can be found here: http://java.sun.com/products/java-media/jmf/2.1.1/solutions/FrameAccess.html
    there are several other threads tied to this topic, some of which do not work for me, or simply do not suit my needs, so please do not link me to them unless you are sure its the real solution.
    if any one could help me by showing me the way of doing it correctly, and maybe give a nice short explanation, i would be very grateful.
    Thanks you.
    P.s: i am only a beginner to intermediate student in java and programming in general so...

    Here is the code i am currently using.
    package Test;
    import java.io.*;
    import java.util.*;
    import java.awt.*;
    import javax.media.*;
    import javax.media.control.TrackControl;
    import javax.media.Format;
    import javax.media.format.*;
    import javax.media.bean.playerbean.MediaPlayer;
    import javax.media.util.*;
    import java.awt.image.BufferedImage;
    import java.awt.image.RenderedImage;
    import java.awt.image.*;
    import javax.imageio.ImageWriter;
    import javax.imageio.ImageIO;
    import javax.media.control.FrameGrabbingControl;
    * Sample program to access individual video frames by using a
    * "pass-thru" codec. The codec is inserted into the data flow
    * path. As data pass through this codec, a callback is invoked
    * for each frame of video data.
    public class FrameAccess extends Frame implements ControllerListener {
    Processor p;
    Object waitSync = new Object();
    boolean stateTransitionOK = true;
    * Given a media locator, create a processor and use that processor
    * as a player to playback the media.
    * During the processor's Configured state, two "pass-thru" codecs,
    * PreAccessCodec and PostAccessCodec, are set on the video track.
    * These codecs are used to get access to individual video frames
    * of the media.
    * Much of the code is just standard code to present media in JMF.
    public boolean open(MediaLocator ml) {
         try {
         p = Manager.createProcessor(ml);
         } catch (Exception e) {
         System.err.println("Failed to create a processor from the given url: " + e);
         return false;
         p.addControllerListener(this);
         // Put the Processor into configured state.
         p.configure();
         if (!waitForState(p.Configured)) {
         System.err.println("Failed to configure the processor.");
         return false;
         // So I can use it as a player.
         p.setContentDescriptor(null);
         // Obtain the track controls.
         TrackControl tc[] = p.getTrackControls();
         if (tc == null) {
         System.err.println("Failed to obtain track controls from the processor.");
         return false;
         // Search for the track control for the video track.
         TrackControl videoTrack = null;
         for (int i = 0; i < tc.length; i++) {
         if (tc.getFormat() instanceof VideoFormat) {
              videoTrack = tc[i];
              break;
         if (videoTrack == null) {
         System.err.println("The input media does not contain a video track.");
         return false;
         System.err.println("Video format: " + videoTrack.getFormat());
         // Instantiate and set the frame access codec to the data flow path.
         try {
         Codec codec[] = { new PreAccessCodec(),
                        new PostAccessCodec()};
         videoTrack.setCodecChain(codec);
         } catch (UnsupportedPlugInException e) {
         System.err.println("The process does not support effects.");
         // Realize the processor.
         p.prefetch();
         if (!waitForState(p.Prefetched)) {
         System.err.println("Failed to realize the processor.");
         return false;
         // Display the visual & control component if there's one.
         setLayout(new BorderLayout());
         Component cc;
         Component vc;
         if ((vc = p.getVisualComponent()) != null) {
         add("Center", vc);
         if ((cc = p.getControlPanelComponent()) != null) {
         add("South", cc);
         // Start the processor.
         p.start();
         setVisible(true);
         return true;
    public void addNotify() {
         super.addNotify();
         pack();
    * Block until the processor has transitioned to the given state.
    * Return false if the transition failed.
    boolean waitForState(int state) {
         synchronized (waitSync) {
         try {
              while (p.getState() != state && stateTransitionOK)
              waitSync.wait();
         } catch (Exception e) {}
         return stateTransitionOK;
    * Controller Listener.
    public void controllerUpdate(ControllerEvent evt) {
         if (evt instanceof ConfigureCompleteEvent ||
         evt instanceof RealizeCompleteEvent ||
         evt instanceof PrefetchCompleteEvent) {
         synchronized (waitSync) {
              stateTransitionOK = true;
              waitSync.notifyAll();
         } else if (evt instanceof ResourceUnavailableEvent) {
         synchronized (waitSync) {
              stateTransitionOK = false;
              waitSync.notifyAll();
         } else if (evt instanceof EndOfMediaEvent) {
         p.close();
         System.exit(0);
    * Main program
    public static void main(String [] args) throws IOException {
         /*if (args.length == 0) {
         prUsage();
         System.exit(0);
         //String url = args[0];
         String url = new String ("file:D:FiMs/avpr.avi");
         if (url.indexOf(":") < 0) {
         prUsage();
         System.exit(0);
         MediaLocator ml;
         //MediaPlayer mp1 = new javax.media.bean.playerbean.MediaPlayer();
         //mp1.setMediaLocation(new java.lang.String("file:D:/FiMs/299_01_hi.mpg"));
         //mp1.start();
         if ((ml = new MediaLocator(url)) == null) {
         System.err.println("Cannot build media locator from: " + url);
         System.exit(0);
         FrameAccess fa = new FrameAccess();
         if (!fa.open(ml))
         System.exit(0);
    static void prUsage() {
         System.err.println("Usage: java FrameAccess <url>");
    * Inner class.
    * A pass-through codec to access to individual frames.
    public class PreAccessCodec implements Codec {
    * Callback to access individual video frames.
         void accessFrame(Buffer frame) {
         // For demo, we'll just print out the frame #, time &
         // data length.
         long t = (long)(frame.getTimeStamp()/10000000f);
         System.err.println("Pre: frame #: " + frame.getSequenceNumber() +
                   ", time: " + ((float)t)/100f +
                   ", len: " + frame.getLength());
         * The code for a pass through codec.
         // We'll advertize as supporting all video formats.
         protected Format supportedIns[] = new Format [] {
         new VideoFormat(null)
         // We'll advertize as supporting all video formats.
         protected Format supportedOuts[] = new Format [] {
         new VideoFormat(null)
         Format input = null, output = null;
         public String getName() {
         return "Pre-Access Codec";
         // No op.
    public void open() {
         // No op.
         public void close() {
         // No op.
         public void reset() {
         public Format [] getSupportedInputFormats() {
         return supportedIns;
         public Format [] getSupportedOutputFormats(Format in) {
         if (in == null)
              return supportedOuts;
         else {
              // If an input format is given, we use that input format
              // as the output since we are not modifying the bit stream
              // at all.
              Format outs[] = new Format[1];
              outs[0] = in;
              return outs;
         public Format setInputFormat(Format format) {
         input = format;
         return input;
         public Format setOutputFormat(Format format) {
         output = format;
         return output;
         public int process(Buffer in, Buffer out) {
         // This is the "Callback" to access individual frames.
         accessFrame(in);
         // Swap the data between the input & output.
         Object data = in.getData();
         in.setData(out.getData());
         out.setData(data);
         // Copy the input attributes to the output
         out.setFormat(in.getFormat());
         out.setLength(in.getLength());
         out.setOffset(in.getOffset());
         return BUFFER_PROCESSED_OK;
         public Object[] getControls() {
         return new Object[0];
         public Object getControl(String type) {
         return null;
    public class PostAccessCodec extends PreAccessCodec {
         // We'll advertize as supporting all video formats.
         public PostAccessCodec() {
         supportedIns = new Format [] {
              new RGBFormat()
    * Callback to access individual video frames.
         void accessFrame(Buffer frame) {
         // For demo, we'll just print out the frame #, time &
         // data length.
         long t = (long)(frame.getTimeStamp()/10000000f);
         System.err.println("Post: frame #: " + frame.getSequenceNumber() +
                   ", time: " + ((float)t)/100f +
                   ", len: " + frame.getLength());
         public String getName() {
         return "Post-Access Codec";
    and here is what itprabhu5 proposed to use to convert and save the frames as .png(or .jpeg in the same way)
    import java.io.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.image.*;
    import javax.imageio.*;
    import javax.media.*;
    import javax.media.control.*;
    import javax.media.format.*;
    import javax.media.util.*;
    * Grabs a frame from a Webcam, overlays the current date and time, and saves the frame as a PNG to c:\webcam.png
    * @author David
    * @version 1.0, 16/01/2004
    public class FrameGrab
         public static void main(String[] args) throws Exception
              // Create capture device
              CaptureDeviceInfo deviceInfo = CaptureDeviceManager.getDevice("vfw:Microsoft WDM Image Capture (Win32):0");
              Player player = Manager.createRealizedPlayer(deviceInfo.getLocator());
              player.start();
              // Wait a few seconds for camera to initialise (otherwise img==null)
              Thread.sleep(2500);
              // Grab a frame from the capture device
              FrameGrabbingControl frameGrabber = (FrameGrabbingControl)player.getControl("javax.media.control.FrameGrabbingControl");
              Buffer buf = frameGrabber.grabFrame();
              // Convert frame to an buffered image so it can be processed and saved
              Image img = (new BufferToImage((VideoFormat)buf.getFormat()).createImage(buf));
              BufferedImage buffImg = new BufferedImage(img.getWidth(null), img.getHeight(null), BufferedImage.TYPE_INT_RGB);
              Graphics2D g = buffImg.createGraphics();          
              g.drawImage(img, null, null);
              // Overlay curent time on image
              g.setColor(Color.RED);
              g.setFont(new Font("Verdana", Font.BOLD, 16));
              g.drawString((new Date()).toString(), 10, 25);
              // Save image to disk as PNG
              ImageIO.write(buffImg, "png", new File("c:\\webcam.png"));
              // Stop using webcam
              player.close();
              player.deallocate();
              System.exit(0);                    
    however, i am unable to use it together with my code... i m not even sure if im using it at the right place.. (note that u will have to discard some lines from the second code, because it is actually grabbing frames from a webcam in that example)
    if any1 can make it happen please help me. thx.

  • How to write the CORRECT code to use Application View in WLI8.1

    Hi, guys,
    I try to use the WLI 8.1 released version now. and I deploy a Weblogic MQSeries
    dapter 8.1 on WLI 8.1. And have create a Application view which detail is like
    this:
    ID demo_testadapter_conn110
    Name conn110
    Description connect to MQServer 110 machine
    State Deployed
    Adapter Instance mqdemo_testadapter_conn110__Default
    And I create send/get message services in the defined Application view, and
    they are work because I test the services in WLAI design console.
    Then I try to write client code to use the deployed application view referenced
    by aiuser(adapter).pdf document. And my code is like this :
    Hashtable props = new Hashtable();
    // set the properties
    props.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    props.put(Context.PROVIDER_URL, "t3://localhost:7001");
    props.put(Context.SECURITY_PRINCIPAL, "mqadmin");
    props.put(Context.SECURITY_CREDENTIALS, "weblogic");
    InitialContext initialContext = new InitialContext(props);
    com.bea.wlai.client.ApplicationView appView = new ApplicationView(initialContext,"testadapter_conn110");
    //com.bea.wlai.client.ApplicationView appView = new ApplicationView(initialContext,"mqdemo_testadapter_conn110__Default");
    ConnectionRequestInfoMap map = new ConnectionRequestInfoMap();
    //add ConnectionSpec properties
    //map.put("prop_name","prop_value");
    //put the connectionspec to a EIS
    //appView.setConnectionSpec(map);
    // Create a request document using the definition stored for this
    // Application View at deployment time.
    IDocumentDefinition requestDocumentDef = appView.getRequestDocumentDefinition("sendmsg");
    SOMSchema requestSchema = requestDocumentDef.getDocumentSchema();
    DefaultDocumentOptions options = new DefaultDocumentOptions();
    options.setForceMinOccurs(1);
    options.setRootName("ROOTNAME");
    options.setTargetDocument(DocumentFactory.createDocument());
    IDocument requestDocument = requestSchema.createDefaultDocument(options);
    // Fill in the request with some data. What you fill in depends on
    // the definition of the request document (i.e. its schema)
    requestDocument.setStringInFirst("//ROOT/data/Format","value");
    requestDocument.setStringInFirst("//ROOT/data/Content","this is a test");
    // Invoke the service and retrieve the response document
    IDocument responseDocument = appView.invokeService("sendmsg", requestDocument);
    // Dump the response document out as XML
    //System.out.println("GetSomeData: " + responseDocument.toXML());
    But when I run this code, a jndi exception occured:
    <2003-8-4 ÏÂÎç14ʱ43·Ö20Ãë CST> <Error> <HTTP> <BEA-101017> <[ServletContext(id=8732241,name=rootapp
    ,context-path=/rootapp)] Root cause of ServletException.
    javax.naming.NameNotFoundException: Unable to resolve 'AI_GLOBAL_testadapter_conn110_ApplicationView
    ' Resolved ; remaining name 'AI_GLOBAL_testadapter_conn110_ApplicationView'
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:186)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    and you can see I set the application view name like "testadapter_conn110" in
    my code, I use "conn110" and also applicaiton ID to try, also occur this excption.
    In the JDK document, the constructor of com.bea.wlai.client.ApplicationView
    showed I should use the 'Name' of the Application View to create a object, but
    it also throw a jndi exception.
    What's the problem ? Hope you guys can help me!!
    Regards,
    shannon

    Shannon,
    Obviously the stack-trace says that u r having some jndi lookup problems...
    just curious check if the JNDI tree of the hosting server (You can check it using
    the admin console) to see if u have your application view is binded.. maybe the
    app view is not binded properly..
    +arvind
    "Shannon Lee" <[email protected]> wrote:
    >
    Hi, guys,
    I try to use the WLI 8.1 released version now. and I deploy a Weblogic
    MQSeries
    dapter 8.1 on WLI 8.1. And have create a Application view which detail
    is like
    this:
    ID demo_testadapter_conn110
    Name conn110
    Description connect to MQServer 110 machine
    State Deployed
    Adapter Instance mqdemo_testadapter_conn110__Default
    And I create send/get message services in the defined Application view,
    and
    they are work because I test the services in WLAI design console.
    Then I try to write client code to use the deployed application view
    referenced
    by aiuser(adapter).pdf document. And my code is like this :
    Hashtable props = new Hashtable();
    // set the properties
    props.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    props.put(Context.PROVIDER_URL, "t3://localhost:7001");
    props.put(Context.SECURITY_PRINCIPAL, "mqadmin");
    props.put(Context.SECURITY_CREDENTIALS, "weblogic");
    InitialContext initialContext = new InitialContext(props);
    com.bea.wlai.client.ApplicationView appView = new ApplicationView(initialContext,"testadapter_conn110");
    //com.bea.wlai.client.ApplicationView appView = new ApplicationView(initialContext,"mqdemo_testadapter_conn110__Default");
    ConnectionRequestInfoMap map = new ConnectionRequestInfoMap();
    //add ConnectionSpec properties
    //map.put("prop_name","prop_value");
    //put the connectionspec to a EIS
    //appView.setConnectionSpec(map);
    // Create a request document using the definition stored for this
    // Application View at deployment time.
    IDocumentDefinition requestDocumentDef = appView.getRequestDocumentDefinition("sendmsg");
    SOMSchema requestSchema = requestDocumentDef.getDocumentSchema();
    DefaultDocumentOptions options = new DefaultDocumentOptions();
    options.setForceMinOccurs(1);
    options.setRootName("ROOTNAME");
    options.setTargetDocument(DocumentFactory.createDocument());
    IDocument requestDocument = requestSchema.createDefaultDocument(options);
    // Fill in the request with some data. What you fill in depends
    on
    // the definition of the request document (i.e. its schema)
    requestDocument.setStringInFirst("//ROOT/data/Format","value");
    requestDocument.setStringInFirst("//ROOT/data/Content","this is a
    test");
    // Invoke the service and retrieve the response document
    IDocument responseDocument = appView.invokeService("sendmsg", requestDocument);
    // Dump the response document out as XML
    //System.out.println("GetSomeData: " + responseDocument.toXML());
    But when I run this code, a jndi exception occured:
    <2003-8-4 ÏÂÎç14ʱ43·Ö20Ãë CST> <Error> <HTTP> <BEA-101017> <[ServletContext(id=8732241,name=rootapp
    ,context-path=/rootapp)] Root cause of ServletException.
    javax.naming.NameNotFoundException: Unable to resolve 'AI_GLOBAL_testadapter_conn110_ApplicationView
    ' Resolved ; remaining name 'AI_GLOBAL_testadapter_conn110_ApplicationView'
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:186)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    and you can see I set the application view name like "testadapter_conn110"
    in
    my code, I use "conn110" and also applicaiton ID to try, also occur this
    excption.
    In the JDK document, the constructor of com.bea.wlai.client.ApplicationView
    showed I should use the 'Name' of the Application View to create a object,
    but
    it also throw a jndi exception.
    What's the problem ? Hope you guys can help me!!
    Regards,
    shannon

  • Urgent - wrong adjustment in vendor ledger , how to post the  correct enty

    hello gurus,
    i made one wrong adjustment in vendor ledger, now i am not able to reverse it, system saying the documents includes already cleared items - reversal is not possible msg is coming and i have tryed FBRA is not a clearing document msg is coming.  what to do now i have correct that wrong adjustements and correct it. 
    anybody can help by today is highly appreciatable.
    thanks in advance
    Jaya

    Hi Jaya,
    I think you got wiredup with the documents you have posted.  It made you not to understand what exactly you have posted.
    Unless and until you find the last posted document, you can do nothing.  Try to find out what is the latest document you have posted and the doc. type as well.
    If it is a KZ type reverse it through FBRA else if it is a KA type reverse it through FB08
    Get back to me.
    Regards.SK

  • Trying to enter my redeem code on my new desktop but it tells me my code is wrong. I know I am putting in the right code.

    How can I redeem my prepaid card if it keeps telling my it is the wrong code when I know it is the correct code?

    Hi shadowcat,
    Kindly try replace the below mentioned letters.
    Zero(0) - O as in Oscar
    Five(5) - S as in Sam
    Two (2)-  Z as in Zulu.
    If you are still not able to redeem it, kindly send the image of the redemption code via Private Message, so that we can help you with the same.
    Thanks,
    Atul Saini

  • How to get the itunes code of iphone 5s

    how to get the itunes code of iphone 5s
    I am from india ....
    the itune setting doesnot give me none option in my phone ....
    And i dont know the itunes gift code ...
    So pls give me the detail how to get the itunes code and what is it ?

    It would have been better if you had added a reply on your original post instead of starting a new thread : https://discussions.apple.com/thread/5514146?tstart=0
    iTunes gift cards are an alternative way of paying for content from the store, but they aren't available in all countries (and the cards are country-specific, they can only be used in their country of issue). The gift card field on the account set up page is optional, and as gift cards aren't available in India you won't be able to fill it in anyway.
    There are instructions on this page for how to create a new account without giving credit card details and will give you the 'none' option : http://support.apple.com/kb/HT2534 - the instructions won't work with existing accounts, and if you didn't use those instructions when creating your existing account then you will need to enter credit card details before you will be able to use it to download content

  • How to write the dynamic code for RadioGroupByKey and Check Boxes?

    Hi,
    Experts,
    I have created a WD ABAP application in that i have used RadioGroupByKey and CheckBox Ui elements but i want how to write the dynamic code to that i want to display male and female to RadioGroupByKey and 10  lables to check boxs.
    Please pass me some idea on it and send any documents on it .
    Thanks in advance ,
    Shabeer ahmed.

    Refer this for check box:
    Do check :
    bind_checked property is bind to a node with cardinality of 1:1
    CHECK_BOX_NODE <---node name
    -CHECK_BOX_VALUE <--attribute name of type wdy_boolean
    put this code under your WDDOMODIFYVIEW:
    DATA:
    lr_container TYPE REF TO cl_wd_uielement_container,
    lr_checkbox TYPE REF TO cl_wd_checkbox.
    get a pointer to the RootUIElementContainer
    lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
    lr_checkbox = cl_wd_checkbox=>new_checkbox(
    text = 'WD_Processor'
    bind_checked = 'CHECK_BOX_NODE.CHECK_BOX_VALUE'
    view = view ).
    cl_wd_matrix_data=>new_matrix_data( element = lr_checkbox ).
    lr_container->add_child( lr_checkbox ).
    Refer this for Radiobutton :
    dynamic radio button in web dynpro abao
    Edited by: Saurav Mago on Jul 17, 2009 10:43 PM

  • How to use this example code in Flash AS3?

    Hi,
    How can I use this AS3 code in my Flash CS4 document? The following code is in the below link:
    http://pv3d.org/2009/12/18/tweenmax-tweening-a-timeline-advanced-tweening/#
    Please help.
    Thanks.

    Hi,
    It is working quite nice. I want to use the same code but instead of as "Document Class" I want to put that code in a first key frame of my project. I tried the following but gets an error:
    The error is : 1131: Classes must not be nested.
    And the following code  I tried is:
        import com.greensock.TimelineMax;
        import com.greensock.TweenMax;
        import com.greensock.easing.Linear;
        import com.greensock.easing.Quart;
        import flash.display.Sprite;
         * @author John Lindquist
        [SWF(width="900", height="480", frameRate="31")]
        class EasingATimeline extends Sprite
            private var square:Sprite;
            private static const STEP_DURATION:Number = 1;
            public function EasingATimeline()
                square = new Sprite();
                square.graphics.beginFill(0xcc0000);
                square.graphics.drawRect(0, 0, 50, 50);
                square.graphics.endFill();
                square.x = 100;
                square.y = 50;
                addChild(square);
                //set all the eases of your steps to Linear.easeNone
                var step1:TweenMax = TweenMax.to(square, STEP_DURATION, {x: 700, y: 50, ease: Linear.easeNone});
                var step2:TweenMax = TweenMax.to(square, STEP_DURATION, {x: 700, y: 350, ease: Linear.easeNone});
                var step3:TweenMax = TweenMax.to(square, STEP_DURATION, {x: 100, y: 350, ease: Linear.easeNone});
                var step4:TweenMax = TweenMax.to(square, STEP_DURATION, {x: 100, y: 50, ease: Linear.easeNone});
                var timeline:TimelineMax = new TimelineMax();
                timeline.append(step1);
                timeline.append(step2);
                timeline.append(step3);
                timeline.append(step4);
                //pause your timeline
                timeline.pause();
                //tween your timeline with whatever ease you want
                TweenMax.to(timeline, timeline.totalDuration, {currentTime: timeline.totalDuration, ease: Quart.easeInOut, repeat: -1});
    Please help me to solve this problem.
    Thanks.

  • How to use same CMOD code for 2 Diff. variableS?

    Experts,
    I have written some code under CMOD. Now, i have another query which i could use the same CODE, but diff. variable
    ( In the CMOD code, i am passing one User input variable ). For the 2nd query i have to pass different User Input variable.
    How OR what should i wright to tell CMOD, that IF its Query # 1 then use ABC variable and if Query # 2 then use XYZ .
    thanx

    Dear Hon Bon,
    Let us have a small example on ur scenario.
    Lets take the requirement as to calculate Month from Date. (In both the queries).
    Query 1: Input variable for Date is say  'ZDATE1'.
    Query 2: Input variable for Date is say  'ZDATE2'.
    Now let the CMOD variable be ZVAR_CALMONTH.
    when 'ZVAR_CALMONTH'.
        clear: lwa_var_rng,
               lwa_range.
        loop at i_t_var_range into lwa_var_rng where vnam = 'ZDATE1' or vnam = 'ZDATE2'.
          concatenate lwa_var_rng-low+0(4)
                      lwa_var_rng-low+4(2)
                 into lwa_range-low.
          lwa_range-sign = 'I'.
          lwa_range-opt  = 'EQ'.
          append lwa_range to e_t_range.
          clear lwa_range.
        endloop.
    Now when you execute the Query1,  the above code will work for 'ZDATE1' variable,
    if you execute the Query2,  the above code will work for 'ZDATE2' variable.
    So, the key point is,
    1. You need not worry about which query is getting executed. Whatever the query, the particular user entry variable of that query will be taken care.
    2. This method works only if the cmod variable (ZVAR_CALMONTH) is used in both the queries (Ofcourse its ur requirement).
    3. If queries have both the user entry variables then the cmod will work differently(it ll get data from both the user variables).
    You shall try ur code in the above example by replacing the code and the variable names and try playing around it.
    Hope this helps.
    Regards,
    Guru

  • How to catch the error code thrown by Oracle client installation?

    Hi everyone,
    Recently, I'm writing a bat file to install Oracle 11g client for windows, I know the command line should be below, but how to find the error code it return? like the command line I want to run in Windows, the errorlevel will return 0 if the command line is pass, otherwise it will return no-zero:
    oui.exe -silent -waitforcompletion -nowait -force -responseFile ...\response\clientruntime.rsp
    BTW, I know I can find the error info under the path ...\Oracle\Inventory\logs, but I think it is better if you can tell me another way to catch the error in command line. I just wish that I can determine whether the Oracle provider installation is pass......
    Thanks
    Lindsay
    Edited by: lindsaywang on Oct 6, 2008 1:28 PM

    I got it.
    Thanks,
    TD

  • How to fix the error code 1009?

    How to fix the error code 1009?

    Fix for error 1009 in iPhone 4S? - ThinkiOS
    How to fix error 1009 with your iDevice . - YouTube
    Change iTunes Store Country on an iDevice
    1. Tap Settings;
    2. Tap iTunes & App Stores;
    3. Tap View Apple ID;
    4. Enter your user name and password;
    5. Tap Country/Region;
    6. Tap Change Country/Region;
    7. Select the region where you will be located;
    8. Tap Done.
    Also, see How to Change Your iTunes Store Account Location | eHow.com.

  • How to fix the security code invaild

    how to fix the security code invaild i keep writing the security code but it keeps telling me that it wrong what should i do?

    please im talking about my credit card i was buying and every thing was ok till 6 days ago it says that my billing info was wrong or aomething like that and it says i have to update it i clicked billing info it says that the security code of my card is invaild and im so sure it vaild please help me and teach me what to do (please step by step)

Maybe you are looking for