A new question about the x and y after the addChild

when i addChild an object to the stage the x and y placement
of that object is always diff from the ones people display in
tutorial.
nowhere in their code or mine did i define the x or y yet....
so how is it that there placement of when they add the object
onto the stage is diff then mine???
Is there something i forgot or do not know of obviously???
Thank you

I agree and did always think its 0,0 ..............
but when i did the tutorial and loaded the movie the card
lets say was like ot the 0,0 ............
BUT the tutorials displays like somewhere i'd say 100,100 or
50,50 ...............eitherway its not like mine at 0,0 ...
so unless i not seeing something but i am sure as i looked at
his code and I THINK its the one i showed you too ...
remove some of the codes and leave the card only and the
memory addchild code. Then see where the card loads up to
Eitherways i agree it is always to me at 0,0
................so i think i maybe making a mistake.

Similar Messages

  • My ipad2 to will not stay switch on or charge correctly since i have updated the software and even after the reset and different software through itunes still wont charge or stop switching itself off

    i have the ipad 2 16gb 3g and wifi, i carried out the latest update and was at 64% battery it updated as normal no problems then i went to use it about 15 mins later to c my battery was at 2% and then it powered down!!!!!
    i trid charging it and it came up sayin charged and displayed 2% then switch off and kept powering up and cutting out so i carried out the reset though itunes and it put software on to fix battery and powering up problems and now it turns on fine but still will not charge correctly (must also point out im using the correct charger from the wall and i have tried other chargers and cables which have made no difference)
    this is really bugging me as my ipad is a great piece of kit and worked brilliantly until i have updated which begs the ?? why are apple releasing updates which inaffect have destroyed my ipad :-(

    There's a whole lot to read in your post, and frankly I have not read it all.
    Having said that, this troubleshooting guide should help:
    http://support.apple.com/kb/TS1538
    In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it.

  • Resetting the date and time after the phone has be...

    Hi,
    I keep having to reset the date and time very time I turn my phone off. I was thinking it was to do with the battery so I fully charged it, turned it off then turned it on again and it asks me for the date and time.
    I only noticed this because I've had exams and I have to turn my phone off for them.
    Could it be a dying internal battery?
    I know with computers there's a BIOS battery that controls date and time. When they start to die the date and time are inaccurate.
    I'll have to find time to take it to the 3-Mobile shop either on Sunday or sometime next week if it is an internal battery problem.
    Thanks,
    Omar
    "A Jade stone is useless before it is processed; a man is good-for-nothing until he is educated."

    Hi omar3256
    I believe that there is a very small component on the motherboard which serves this purpose, although whether battery or sort of capacitor I am not certain. The N80 especially seemed to be prone to this failure.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Question about video recording and size of the recording on a tv/comp

    So i just started editing my iphone movies with imovie for mac. However I ran into a problem right away. When i recorded a video while holding my iphone vertically the playback was horrible on my mac because it was so skinny and not wide at all. First off I was wondering if there was a some way to make it wider? My videos that were recorded while my iphone was horizontal then they are perfect when viewing on my mac. So if anyone can help me with this question i would greatly appreciate it.

    You cannot record a video any wider when recording a video in portrait mode or make it wider after being recorded. If recording a video in landscape mode is what you prefer, you need to record all videos in landscape mode.

  • Question about Cinema 4D and Adobe After Effects

    Hello guys! I'm kind of new to both after effects and cinema but I was wondering if I made a project on cinema, can |I transfer it to after effects and add it to a video?
    http://www.youtube.com/watch?v=YjB51DYoMRQ&t=0m24s
    Technically, I want to do this kind of claw animation and zoom into my adobe title.
    Even better is if theres anyway of replicating this kind of animation in adobe after effects. If this can be done it would be appreciated if you could tell me how!
    I have plenty of time to do this school project so any help would be very helpful! Thank you very much!
    -School Student, for a project!

    Yes. If you render out your C4D file into a format with alpha, you could very easily place a video behind it in AE. You can even easily bring your C4D camera move into AE if you wanted to. For several years Maxon has provided a plugin to bring a C4D project's cameras, lights, and nulls or solids (that have been tagged with the External Compositing Tag) into AE. Lately, however, there is another way. If you have AE CC (version 12) or CC 2014 (version 13), there's another way: details of CINEMA 4D integration with After Effects

  • This sign appeared in my account: "Your payment method was declined. Update your biiling info'. After adding new information about my others cards I see the same sign. Can't understand what the problem is and what should I do. Need help!!!

    This sign appeared in my account: "Your payment method was declined. Update your biiling info'. After adding new information about my others cards I see the same sign. Can't understand what the problem is and what should I do. Everything used to be good before.
    Do anyone know what I supposed to do in that situation?
    Really need help!
    Thanks in advance.

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • When I click on a yahoo news story, about 30 seconds into reading it, the page changes to one that says the page I requested can't be found, and it has a list of search results.

    I just upgraded to firefox 4 this morning. My homepage is yahoo.com. Sometimes when I click a news story, about 30 seconds into reading it, the page changes to a search result page with the heading that the page I requested can't be found. If I click the back button, it goes back to the page I was on. It doesn't happen on every one, and I haven't seen a pattern to which sites it happens on. It also happened when I was trying to make a payment on ebay.

    To revert to Google as your preferred search engine, please do the following.<br><br>
    * In the location bar, type '''about:config''' and hit Enter.<br><br>
    * In the filter at the top, type: '''keyword.URL'''<br><br>
    * Double click it and remove whatever's in there (probably Yahoo) and replace it with http://www.google.com/search?q=<br>
    The URL to add in "keyword.URL" becomes a link in this post, so right click it and choose "Copy Link Location" to copy it to the Windows clipboard. Then hit CTRL+V to paste it. Saves you having to type the whole thing.
    '''To reset your home page, do the following'''.<br><br>
    * Go to the site you want to set as your homepage.<br><br>
    * Click the orange Firefox button and go to '''Options '''| '''Options '''| '''General'''.<br><br>
    * Make sure it says "''Show My Homepage''" in the first dropdown menu.<br><br>
    * Click the button called "'''Use Current Pages'''" to set the homepage to the one you have on the screen.<br>

  • I got a new ipad and went buy music on iTunes and in is telling me that this is a new device on this account and wants me to answer some security questions I dont remember setting thes up and dont know the answers how do i reset the security questions

    i got a new ipad and went buy music on iTunes and in is telling me that this is a new device on this account and wants me to answer some security questions I dont remember setting thes up and dont know the answers how do i reset the security questions

    Click here and search the article for '2 out of 3' without the quotes; this generally involves either a message being sent to your rescue email address or contacting the iTunes Store staff directly.
    (74313)

  • Questions about Objects, pointers, and the memory that loves them

    Hey,
    This is all just a theoretical discussion so do understand that the code itself is not germane to the topic.
    I have been mulling over the whole object release/retain/copy thing and need to understand a bit more the real inner workings of the beast. The catalyst for this is the repetitional fervor that most books on the subject of Objective C have employed. Yet they all seem to fail in a complete explanation of the whys and wherefores so that one can determine on her own the correct implementation of this.
    Let's say I have an Object. For the fun of it it is an instance of NSObject and we'll call it myObject.
    When I "create" this object thusly:
    NSObject *myObject = [[NSObject alloc] init];
    What I, in fact get back is a pointer to the object in question, yes?
    So when I "seemingly" add this object to an array like:
    NSArray *myArray = [[NSArray alloc] initWithObject:myObject];
    What is actually placed in the array? is it another pointer to the original object created by myObject or is it a pointer to the pointer of myObject?
    The reason I ask this is because I have run into a situation where some previous instructions on the subject have caused errors. I was told that if I did something like this and then passed the array to a calling method that I could release this array and it would then be the responsibility of the calling method to handle the memory. Further more if I place an object into an array and then copy it into another object of the same type as the original then I could release the array and still have the reference to the first object in the second object. When I have done this I get unpredictable results, sometimes the original object is there and sometimes it isn't
    At what point should I release the array, after it is passed to the calling method (with the use of an autorelease) or when the class that it is encapsulated in is done?
    Sorry about the length of this but I can't believe that I would be the only one that would be helped by such a discussion.
    MM

    etresoft,
    Thanks for the detailed reply. I wish I could say that I wasn't still a bit confused by this. I thought I had this down after going through the lessons. It seems to not be working in practice the way that it works in theory.
    My current project is an example
    In a class I have declared a couple of ivars thusly:
    NSMutableString *source;
    NSMutableString *destination;
    @property (nonatomic, retain) NSMutableString *source;
    @property (nonatomic, retain) NSMutableString *destination;
    This is followed by the appropriate @synthesize directives.
    in the init method for my class I have the following:
    source = [[NSMutableString alloc] initWithString:@"customer"];
    destination = [[NSMutableString alloc] initWithString:@"home"];
    in a method triggered by a button click I have the following:
    if (sender == sourcePop){
    source = [sourcePop titleOfSelectedItem];
    }else{
    destination = [destinationPop titleOfSelectedItem];
    NSLog(@"SOURCE-%@", source);
    NSLog(@"DESTINATION-%@", destination);
    When I run the code and change the source selection the console reads the correct value for what is in the source popupbutton and "home" for the destination. If I then change the destination popupbutton I get a crash and nothing written to the console.
    Placing a breakpoint at the beginning of the "if" and running shows me that just before the crash the source ivar is reported as "out of scope." There are no release or autorelease statements for this ivar anywhere in the class. Yet if I change the line that sets the ivar to the value of the popupbutton to this:
    [source = [sourcePop titleOfSelectedItem] retain];
    The debugger will have the correct value for the ivar and when run normally there is no crash.
    I would assume that the problem is that the ivar is being released but I am not the one releasing it. Why does this behavior happen? Shouldn't the retain count still be 1 since the @property directive has it and there is no release in the code? Or is it that the statement that sets the ivar to the value of the popup really just setting it to the pointer and it is the popup that is somehow being released?
    Is there something else that I should be doing?
    MM

  • The question about portlet customization and synchronization

    I have a question about portlet customization and synchronization.
    When I call
    NameValuePersonalizationObject data = (NameValuePersonalizationObject) PortletRendererUtil.getEditData(portletRenderRequest);
    portletRenderRequest.setPortletTitle(str);
    portletRenderRequest.putString(aKey, aValue);
    PortletRendererUtil.submitEditData(portletRenderRequest, data);
    Should I make any synchronization myself (use "synchronized" blocks or something else) or this procedure is made thread-safe on the level of the Portal API?

    HI Dimitry,
    I dont think you have to synchronize the block. i guess the code is synchronized internally.
    regards,
    Harsha

  • I see lots of people asking questions about the "white screen" app store update failure. I see no answers from Apple about this...What is the problem, and what is the solution?

    I see lots of people asking questions about the "white screen" app store update failure. I see no answers from Apple about this...What is the problem, and what is the solution?

    It's a problem that Apple is having with their App updating system.  The best solution is to be patient, and wait for Apple to solve their systemic problem.

  • Question about xml schemas and the use of unqualified nested elements

    Hello,
    I have the following schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns="http://xml.netbeans.org/examples/targetNS"
        targetNamespace="http://xml.netbeans.org/examples/targetNS"
        elementFormDefault="unqualified">
        <xsd:element name="name" type="xsd:string"/>
        <xsd:element name="age" type="xsd:int"/>
        <xsd:element name="person">
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element ref="name"/>
                    <xsd:element ref="age"/>
                   <xsd:element name="height" type="xsd:int"/>
                </xsd:sequence>
            </xsd:complexType>
        </xsd:element>
    </xsd:schema>I am just wondering why would someone have a nested element that is unqualified? here the "height" element.
    Can anyone explain this to me please?
    Thanks in advance,
    Julien.
    here is an instance xml document
    <?xml version="1.0" encoding="UTF-8"?>
    <person xmlns='http://xml.netbeans.org/examples/targetNS'
      xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
      xsi:schemaLocation='http://xml.netbeans.org/examples/targetNS file:/E:/dev/java/XML/WebApplicationXML/web/newXMLSchemaThree.xsd'>
    <name>toto</name>
    <age>40</age>
    <height>180</height>
    </person>

    Don't worry about it.
    There are two different styles of schemas. In one style, you define the elements, attributes, etc. at the top, and then use the "ref" form to refer to them. (I call this the "global" style.) The other style is to define elements inline where they are used. ("local" style)
    Within some bounds, they work the same and which you use is a choice of you and the tools that generate the schemas.
    A warning about the local style. It is possible to define an element in two different locations in the schema that are different. It will get past all schema validation, but it seems wrong to my sense of esthetics. With the global style, this will not happen.
    So, how did this happen? Probably one person did the schema when it only had a name and age. Then, someone else added the height element. They either used a different tool, or preferred the other style. I'm aware of no difference in the document you have described between the two styles.
    Dave Patterson

  • I have been trying to download a new update and it goes thru the strokes and restarts but the update version does not show when I go to "about this computer" to see what version is on.  Any ideas what is wrong?

    I have been trying to download an update on my MacBook Air and it goes thru the process and restarts but the update does not load.  I know it is not loading because when I go to " About this computer" the version does not show it updated.  Any help would be appreciated.  Thanks

    trying to download an update
    v10.6.8 is as far as Snow Leopard can be updated.
    Which update are you trying to install ??

  • Question about using threads and synchronizing objects

    Hi all,
    I am not that familiar and I have 2 questions.
    QUESTION 1
    I have a server which just sits and accepts incomming connections, then I spawn off a new thread which implements Runnable, and then call the run method. But the loop would not iterate, it would just sit inside the run method (which has rather long loop in it). I changed the class to extend Thread and called the start() method, rather than run(), and everything worked out fine.
    Anyone know why this is?
    QUESTION 2
    So I am building a client server chat application where a user can be in multiple chat rooms. I have this personObject which has output/input streams. In the personObject, I create writeObject/ readObject method, which simply does as it implies.
    I figured that I should make these methods synchronized, to ensure things run smoothly. however, when I made a call to readObject, which sat there and waited, and then made a call to writeObject, I would not enter the writeObject method. I took out the synchronized on the writeObject, and everything worked out fine.
    I was under the assumption that synchronizing a method only synchronized on that method, not on the whole class. How come then was I not able to enter the writeObject method?
    The more I think about it, I don't think I need to have these methods synchronized, but I thought it wouldn't hurt.
    Thanks for the help.

    Hi all,
    I am not that familiar and I have 2 questions.
    QUESTION 1
    I have a server which just sits and accepts incomming
    connections, then I spawn off a new thread which
    implements Runnable, and then call the run method.
    But the loop would not iterate, it would just sit
    inside the run method (which has rather long loop in
    it). I changed the class to extend Thread and called
    the start() method, rather than run(), and everything
    worked out fine.
    Anyone know why this is?
    You should still implement Runnable, rather than extending Thread. Like this: Runnable r = new MyRunnable();
    Thread t = new Thread(r);
    t.start(); run() is just another method. Nothing special about it as far as multithreading or anything else goes.
    start() is the method that actually spawns a new thread of execution.
    I was under the assumption that synchronizing a
    method only synchronized on that method, not on the
    whole class. How come then was I not able to enter
    the writeObject method?When you synchronize, you obtain a lock. As long as you hold that lock--until you exit the sync block or call wait()--no other thread can enter that block or any other block that obtains the same lock.
    Two synchronized methods on the same object rely on obtaining the same lock--there's one lock for each object.

  • Question about clear page and reset pagination

    Hi,
    I have a question about clear pages and the reset pagination in an URL. What is the reason why a clear page doesn't also trigger a reset pagination on the pages which are cleared?
    I can't really imagine a business case where it makes sense to clear all data of page items on a page and don't reset the pagination of reports on that page which probably use a page item in there where clause...
    The drawback of this behavior is that a developer always has to set the reset pagination checkbox when he clears the target page and the even bigger drawback is that if you specify other pages to clear, you can't reset pagination for them, because reset pagination only works for the target page.
    Thanks for your input.
    Patrick
    *** New *** Oracle APEX Essentials *** http://essentials.oracleapex.info/
    My Blog, APEX Builder Plugin, ApexLib Framework: http://www.oracleapex.info/

    Enhancement request filed, thanks,
    Scott

Maybe you are looking for

  • Mac Mini mid 2011 Mini Dvi to VGA problems

    I have a mac mini mid 2011 and I have to connected to a display in work.  The display only has a VGA entrance, so i bought a mini dvi to vga adapter from my local mac store, but when i connected to the display everything looks odd, the whole display

  • Transaction code KOAB

    Transaction code KOAB is open for change even if client is closed. Will it be possible to change the setting of this transaction code so that , it will be open in change mode only when client is open.

  • I keep getting pop up tabs happening with dumb sites like dental and poker, etc.  How do I stop this?

    I keep getting unwanted and unsolicited pop up tabs from happening, when I click on things.  They are to sites that I didn't click on and are interfering with my day to day work on the computer.  What is the best way to get rid of this and stop it fr

  • Tax Computation report

    Hi, Is there a standard report to generate tax projection w.r to India? This should comprise both projections and actuals Y-T-D. Appreciate the inputs! Regards GR

  • Powerbook g4 hanging

    Hi got a model A1138 powerbook 15" that is hanging on start up. I get the start up sound, grey apple, and then it changes to what I presume is Terminal status with the following white text on black. Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 P