Using papervision in flash builder and getting TypeError: Error #1009: when using object.pitch(5)

When i use papervision in flash builder and i am doing a test, when i render a sphere using papervision with the following code it renders me the sphere.
When i add a line sphere.pitch(2);      ||
sphere.yaw(2);
sphere.roll(2);
i get the following error,
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at PvTest/onRenderTick()[D:\Android 3D\PvTest\src\PvTest.as:39]
Can anyone help me figure out the error
For additional Info, these are the imports i am doing:
import org.papervision3d.objects.primitives.Sphere;
import org.papervision3d.view.BasicView;

I followed the steps and read some of your comments on the same top topic in another thread. When I put it on the first frame it was okay but the next button on that page had the same problem.  So what I am guessing is that I have to either create a document class or put the actions where the buttons are.  Am I understanding that correctly?  In the other thread in which you helped someone else; there was so comments about document class.  I found a tutorial on it and the way I understand it is that it you can put you actions in an external document.  But you have to include in the event listener the frame in which you want that action to happen.
Thaks for your help.  And patience.

Similar Messages

  • New to action script and getting: TypeError: Error #1009: Cannot access a property or method of a nu

    I am getting this message in the output tab for buttons that I am trying to create.  Here's the code:
    import flash.events.MouseEvent;
    stop();
    function goHome(myEvent:MouseEvent):void {
    gotoAndStop("home");
    SoundMixer.stopAll();
    function goAbout(myEvent:MouseEvent):void {
    gotoAndStop("about");
    SoundMixer.stopAll();
    function goBusiness(myEvent:MouseEvent):void {
    gotoAndStop("business");
    SoundMixer.stopAll();
    function goContact(myEvent:MouseEvent):void {
    gotoAndStop("contact");
    SoundMixer.stopAll();
    function goArchives(myEvent:MouseEvent):void {
    gotoAndStop("archives");
    SoundMixer.stopAll();
    function goBioTech(myEvent:MouseEvent):void {
    gotoAndStop("bioTech");
    SoundMixer.stopAll();
    function goRealEstate(myEvent:MouseEvent):void {
    gotoAndStop("realEstate");
    SoundMixer.stopAll();
    function goTechnology(myEvent:MouseEvent):void {
    gotoAndStop("technology");
    SoundMixer.stopAll();
    function goEnergy(myEvent:MouseEvent):void {
    gotoAndStop("energy");
    SoundMixer.stopAll();
    home_btn.addEventListener(MouseEvent.CLICK, goHome);
    about_btn.addEventListener(MouseEvent.CLICK, goAbout);
    business_btn.addEventListener(MouseEvent.CLICK, goBusiness);
    contact_btn.addEventListener(MouseEvent.CLICK, goContact);
    archives_btn.addEventListener(MouseEvent.CLICK, goArchives);
    bioTech_btn.addEventListener(MouseEvent.CLICK, goBioTech);
    realEstate_btn.addEventListener(MouseEvent.CLICK, goRealEstate);
    technology_btn.addEventListener(MouseEvent.CLICK, goTechnology);
    energy_btn.addEventListener(MouseEvent.CLICK, goEnergy);
    I ran the debugger and got this:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at peakInsights_fla::MainTimeline/frame1()[peakInsights_fla.MainTimeline::frame1:48]
    I guess it's telling me there's a problem with line 48 but what?
    The home, about, business, contact, and archives button works. On the business page there are the remaining buttons biotech, technology, real estate, and energy. when i test it; i get the finger but the buttons don't work. this is my first flash site so I'am new, new.

    I followed the steps and read some of your comments on the same top topic in another thread. When I put it on the first frame it was okay but the next button on that page had the same problem.  So what I am guessing is that I have to either create a document class or put the actions where the buttons are.  Am I understanding that correctly?  In the other thread in which you helped someone else; there was so comments about document class.  I found a tutorial on it and the way I understand it is that it you can put you actions in an external document.  But you have to include in the event listener the frame in which you want that action to happen.
    Thaks for your help.  And patience.

  • I downloaded the icloud software on my computer in order to sync calendars and contacts using Windows 2007, but I keep getting an error message when trying to sync my icloud and Outlook calenders - can anyone help with this?

    I downloaded the icloud software on my computer in order to sync calenders and contacts using Windows 2007, but I keep getting an error message when trying to sync my icloud and Outlook calendars.  I downloaded it for the first time a month ago and  had it working but it stopped syncing, so I deinstalled the iCloud software and reinstalled, but keep getting the error message "Your setup couldn't be started because of an unexpected error.  What do I do now?  Can anyone help with this?

    Hello easbda,
    Thank you for providing the details of the calendar issue you are experiencing with your iPhone.  I recommend following the steps in the section titled "Troubleshooting on Microsoft Windows (Microsoft Outlook)" in the following article to assist with syncing your calendar events between your devices:
    iCloud: Troubleshooting iCloud Calendar
    http://support.apple.com/kb/ts3999
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I'm getting a error message when using Apple Configurator "unable to send ClearPasscode command to device"

    I'm getting a error message when using Apple Configurator "unable to send ClearPasscode command to device"

    Yes, that is correct.  My spreadsheet has the following information in those cells if you want to compare yours on Monday:
    Product Type
    Application
    |
    AdamId:
    <and a 9 digit number>
    I ended up bringing the Macbook Pro home with me after struggling with it for a half hour at the end of a long day. I called and within 5 minutes the problem was corrected.  The technician said they were getting calls all day. 

  • Using FF 3.6.13 and get 406 error and can't view my own website, other browser work fine

    All of a sudden I get this error, 406 Not Acceptable
    An appropriate representation of the requested resource /postersschool.html could not be found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Hi halacious, and a warm welcome to the forums!
    Airport & Bluetooth are two separate Interfaces, so that is a bit confusing.
    Where is this Website hosted? Locally on your own machine, or on the Internet?
    Any Router involved there?

  • I have Mac OSX 10.5.8 and get java "error" message when trying to use research tool on Morningstar Java referred me to Apple but they had no update.Any ideas? thanks.e

    I have a imac OSX 10.5.8 and get a java "error" message when trying to use a research tool on Morningstar.Java referred me to Apple but they had no updates. Any ideas? thanks.

    Well I solved my problem.
    What still doesn't make sense though is that dragging iTune audio files directly on to the iTunes application icon gave me the error message... which is why I originally discounted it as being a potential link problem. If I had been able to get files to open normally (i.e. without an error message) I would have known it was a simple link problem. Strange.
    Anyway... relinking my folder of audio files did the trick.
    If you don't already know how here are the steps...
    iTunes > Preferences > Advanced > click on the "Change" button and browse to the folder that contains all of your iTunes audio files... that's it.

  • Why do I get an error 1000 when using vi server with invoke nodes?

    I use the invoke nodes with set control value and run vi. I want to use the called vi on the same machine and in parallel and I do not want to wait until it is done. If I set wait until done to true it works, if I set it to false I get the error message. Why is that and how can I solve that problem??

    Hi,
    Using LabVIEW 7 I was able to do what you want. I modified an existing example. The main vi will load the a second VI, and then the main VI will do "set control value" on a numberic labeled "Numeric" and you'll be able to see that it is changing the control value.
    I've attached the modified VI.
    Attachments:
    parallel.zip ‏148 KB

  • Trying to use a external hard drive and getting a error message

    My issue is with the Silicon Power H10 1TB Wifi drive. I got everything to link up but my Macbook wants to see it has a remote disc. So when i go to drop a File or movie on it i Get the message i need to Auth the remote Disc click here. When i do the box closes and nothing happens. I am new to IOS programming but I am good with windows.

    Howdy pbfrost,
    You should first check to make sure that your device is compatible with the iPad. See this article -
    If you need help with iPhone, iPad, or iPod touch accessories - Apple Support
    According to the Apple's store requirements for the Seagate Backup, it needs to be used with a computer. See this page -
    Seagate 2TB Backup Plus Slim for Mac Portable Hard Drive - Apple Store (U.S.)
    If you are trying to back up your iPad, you can use either iTunes while connected to a computer, or iCloud. See this article -
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • I'm trying to install itunes to use with my new iphone and getting several error msgs

    on my desktop PC with Vista srvc pk 2.   Error msgs: 1) an error during install of assy "policy 8.8.MS VC80.CRT.type+"win32-policy" version="8.0.50727.6195" publicKeyToken= .... "x86"  2) service Apple mobile Device failed to start  3) Apple App Support not found Uninstall and reinstall itunes 
    Please help, if I don't get this installed and running real soon the phones going back

    First remove iTunes and all associated software
    Removing and Reinstalling iTunes, QuickTime ... - Support - Apple  for xp
    Removing and reinstalling iTunes, QuickTime, and ... - Support - Apple for vista or 7
    Before reinstalling disable your antivirus software and firewall.

  • A blue screen appears and gets restarted each time when using the iphone ...wat shd i do to solve this ??

    i bought a new iphone 4s 64 gb from a nearby store in ma hometown ...my iPhone flashed a blue screen then rebooted more than  twice in the same day, I then updated to 6.13 (lastest IOS version )...still the problem continues..... wat should i do to solve this ?

    I would bring the phone back.

  • I am trying to use Adobe Professional 7.0 and getting an error...  The following applications are using files that need to be updated by this setup.  CLose these applications and retry.

    Here is the error message.  Any idea what this is?  I have the program on another computer and it wont let me uninstall.  The error message occurs on both computers

    Use Ctrl+Alt+Delete.
    Open Task Manager
    Look under Processes
    Find AcroTray and kill process.
    Retry button on message.

  • My husband and I both have iPhones . How do I use one account for purchases and keep the email separate when using iCloud?

    My husband and I both have iPhones . How do I use one iTunes account to share music, photos and apps, and keep our email accounts separate since all data will use the iCloud function.

    You shouldn't be using the same account on phone iphones. Have him setup his own and make sure his iCloud is logged in with that one

  • I can't sync music and get an error message when I plug in my iPod

    I've had my iPod for a year or so, and mostly things have been fine. The battery-life was dying more quickly than usual, so I went to the Apple Store and got one of the salespeople to help me. They told me to Restore the iPod and see how it went from there. After a complete fiasco with that, I keep trying to plug in my iPod to update my library. However, when I plug it in, the iPod only flashes the charging button, and iTunes is unresponsive and sluggish for several minutes. Then a message pops up that says "The iPod 'iPod' cannot be synced. The required disc cannot be found."
    I have repeatedly gotten this message and really don't know what to do. Any help would be appreciated......

    You can also try out few things >
    1) check if the ipod constantly appears in mycomputer section .
    - if it does try changing the drive letter of the ipod and try to format the ipod drive(Right click format)
    2) if its not comin up in mycomputer then.. there has to be problem with the USB drivers in your computer
    you can try
    http://docs.info.apple.com/article.html?artnum=304508
    The best way to check whether the ipod is faulty or the computer is creating the problem is,
    connect the ipod to a different computer which has itunes on it(If possible)

  • Installed newest version of Itunes and get an error message when trying to launch

    downloaded and installed newest version of itunes twice, when i go to launch it says the following error messge "the ordinal 2551 could not be located in the dynamic link library CoreMedia.dll"

    Entry point errors can often be fixed by deleting the offending dll, then repairing the component it is part of. CoreMedia.dll is part of Apple Application Support.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for performance issues or compatibility with third party software.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • I get an error message when using google search: Debug Error:[Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffamazonhot/content/lib/Extension.debug.js Line: 366"]

    Debug Error:[Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffamazonhot/content/lib/Extension.debug.js Line: 366"]

    Tools->Add-ons->Extensions
    At the top of the Firefox window, click on the Tools menu and select Add-ons. The Add-ons window will appear.
    In the Add-ons window, select the Extensions panel.
    Select the add-on you wish to uninstall.
    Click the Uninstall button. When prompted, click Uninstall to confirm.
    Then restart Firefox.
    Read here:
    [[Uninstalling add-ons|#How to uninstall extensions and themes|Uninstalling extensions]]

Maybe you are looking for

  • FF4 won't download on my MAC OS 10.4.11 laptop

    When I go through the download procedure, the FF icon appears with a circle and line through it. Obviously, double clicking on that icon does not open the browser.

  • What indexes are created when we check dimension as line item.

    What indexes are created when we check dimension as line item. and also What indexes are created when we check dimension as high cardinality. Where can i see that information in the system. Answers are highly appreciated. Regards Kunal

  • Buttons are not woking in the latest version of Firefox. Buttons working till firefox 3.6

    I am using a older version of web application Ariba Buyer 8.1. It is a e procurement application. In the latest version of firefox i am unable to click buttons. But it works in firefox 3.6. We have some more application with this issue. can you fix t

  • I need your support please.

     Hello, Model: wdbuzg0010bbk-04 Suddenly my External Hard Drive is not detected and failed (Not even processing) with the tests of Western Digital Data LifeGuard Diagnostics. I believe I tried everything. When I connect it, there is no strange sound,

  • XSJOB won't activate, invalid file content

    Hi experts, I'm trying to get a simple XSJOB working, but HANA Studio repeatedly tells me "Invalid file content" when I want to activate the following:     "description": "Queue worker job",     "action": "mypack:myfile.xsjs::myFunct",     "schedules