Using packages in flash

hello all
I am trying to develop a away3d project to learn away3d. i searched internet and found some sample codes but all of them are including packages like
package
but i could not integrate the packages into flash action script panel. I copied and pasted but it always fails.
Could you please tell me how can i use these kind of codes?
Thanks for all help...

a package is nothing else then a hint for the compiler in which folder of a directory to search for the classfile.
If you have fla document it will automatically search in the current folder for classfiles.
For example you have a game.fla for a TowerDefense-game that uses a class Turret.
The Turret.as (classfile) could be put in the same folder on your HD as the game.fla and it would like this:
package{
   public class Turret
       //some Code
    public function Turrett(){
      //some Code
now if you would like to structure your game and want to have all the Classes the Player uses separated from the Classes the Computer controls, you could make subdirectories in the folder your fla lies and call them player and computer. Now if you put your Turret.as in the player folder you would have to change the Turret.as to:
package player{
   public class Turret
       //some Code
    public function Turrett(){
      //some Code
At a certain point in development it however makes sense to have a global library root where you organize all your class files to have them available in every project.
Now in the game fla you could simply say:
import player.Turret;
var turret:Turret = new Turret();
addChild(turret);
and a Turret would show up, that executes the code you wrote in your Turret.as

Similar Messages

  • Using .swc in Flash CS5

    I have a user who is having trouble using my library .swc in flash CS5.
    I do not have CS5 to help him out much; but the .swc does work fine with mxmlc from the Flex SDK, as well as under flashdevelop using the Flex SDK. And although not this exact version of the .swc I have previously found it work fine under CS4 and have other users with CS3 who do not have any trouble.
    under mxmlc, using the compiler options:
    --include-libraries $(NAPE_BIN)/debug_nape.swc
    There are no issues, and everything works as expected.
    The error my user is receiving is about an undefined reference to a specific class contained in the .swc (DummyNapeMain)
    This error appears also with mxmlc if I use the option --library-path instead of --include-libraries
    I repeat the test case here if it will help to find a working configuration for CS5.
    package {
         import flash.display.MovieClip;
         import flash.events.Event;
         import nape.util.*;
         import nape.space.*;
         import nape.phys.*;
         import nape.shape.*;
         import nape.geom.*;
         public class Main extends MovieClip {
              public function Main() {
                   super();
                   if(stage!=null)
                        addEventListener(Event.ADDED_TO_STAGE, init);
                   else init(null);
              public function init(ev:Event):void {
                   if(ev!=null) removeEventListener(Event.ADDED_TO_STAGE, init);
                   haxe.init(null);
                   var debug:Debug = new BitmapDebug(600,600,0x333333);
                   addChild(debug.display);
                   var space:Space = new Space(new Vec2(0,400));
                   var walls:Body = new Body(BodyType.STATIC);
                   walls.shapes.add(new Polygon(Polygon.rect(0,0,600,20)));              
                   walls.shapes.add(new Polygon(Polygon.rect(0,600,600,-20)));              
                   walls.shapes.add(new Polygon(Polygon.rect(0,0,20,600)));              
                   walls.shapes.add(new Polygon(Polygon.rect(600,0,-20,600)));              
                   walls.space = space;
                   for(var i:int = 0; i<100; i++) {
                        var b:Body = new Body();
                        b.position.setxy(50+Math.random()*500,50+Math.random()*500);
                        b.shapes.add(new Polygon(Polygon.box(16,16)));
                        b.rotation = Math.random()*2*Math.PI;
                        b.space = space;
                   addEventListener(Event.ENTER_FRAME, function (ev:Event):void {
                        space.step(1/60,10,4);
                        debug.clear();
                        debug.draw(space);
                        debug.flush();
    the .swc is available at: https://github.com/deltaluca/nape/raw/master/bin/release/debug_nape.swc
    Thank you.

    I downloaded a CS5.5 trial to test this out myself.
    The error does indeed happen with the test case;
    my user found a hack to get around the error which is to do:
    DummyNapeMain;
    (just like that) to force the compiler to include it from the .swc and prevent the error occuring.
    Why is there no way in Flash CS5/5.5 to have the entire .swc included without flash trying (and failing) to determine what does, and doesn't need to be included?

  • Can i use another storage flash for my apple air mackbook(change from current 128Gb to 256GB without any issue)

    Can i use another storage flash for my apple air mackbook(change from current 128Gb to 256GB without any issue)

    There are some upgrade options available from do it yourself sites.
    See the MBair SSD upgrades on mid way down this page:
    http://eshop.macsales.com/shop/SSD/OWC/

  • How can i call a method from the a subdirectory using packages

    This is my directory structure:
    java
    --p1
    --One.java
    --p2
    --Two.java
    package java.p1;
    import p2.Two;
    public class One
         public static void main(String args[])
              Two obj = new Two();
              obj.p();
    package java.p2;
    public class Two
         public void p()
              System.out.println("p method");
    ERRORS !!
    C:\Documents and Settings\ashutosh\Desktop\java\p1\One.java:3: package p2 does not exist
    import p2.Two;
              ^
    C:\Documents and Settings\ashutosh\Desktop\java\p1\One.java:9: cannot find symbol
    symbol  : class Two
    location: class java.p1.One
              Two obj = new Two();
                    ^
    C:\Documents and Settings\ashutosh\Desktop\java\p1\One.java:9: cannot find symbol
    symbol  : class Two
    location: class java.p1.One
              Two obj = new Two();
                                  ^Help me out. Thanks.

    jinchuriki123 wrote:
    This is my directory structure:
    java
    --p1
    --One.java
    --p2
    --Two.java
    package java.p1;
    import p2.Two;
    public class One
         public static void main(String args[])
              Two obj = new Two();
              obj.p();
    package java.p2;
    public class Two
         public void p()
              System.out.println("p method");
    ERRORS !!
    C:\Documents and Settings\ashutosh\Desktop\java\p1\One.java:3: package p2 does not exist
    import p2.Two;
    ^
    C:\Documents and Settings\ashutosh\Desktop\java\p1\One.java:9: cannot find symbol
    symbol  : class Two
    location: class java.p1.One
              Two obj = new Two();
    ^
    C:\Documents and Settings\ashutosh\Desktop\java\p1\One.java:9: cannot find symbol
    symbol  : class Two
    location: class java.p1.One
              Two obj = new Two();
    ^Help me out. Thanks.You don't have a class p2.Two, You do have a class java.p2.Two. Package paths aren't relative.
    Also, it's recommended not to use package names containing "java" or "javax" (or is it illegal to do so?). Change your package & folder names.
    db

  • If i use a usb flash drive which is both os and windows compatible can i transfer files from my mac to a windows pc using the same usb flash drive?

    if i use a usb flash drive which is mac os and windows compatible can i use it to copy files from the mac to a windows machine. i have to do some training abroad and wnat to take the files on a usb from the mac but they will only have a windows operating system available to me.

    Generally, it's not the flash drive that makes it compatible, but the formatting used on it.  In Disk Utility on a Mac, the format is called MS-DOS (FAT).  In Windows, I believe it is called FAT32.
    A USB flash drive formatted that way should be readable and writable on both Mac OS X and Windows.  But you may want to try a "trial run" before relying on it for the trip.

  • How to use Alcon in Flash Builder 4.5

    I am using Alcon as memory and performance profilers.
    I searched around the Internet, only found articles that talk about how to use it in Flash:
    Debug.monitor(stage, 1000);
    But what is the counterpart to this statement in Flex environment? What should I pass to monitor method?
    Thanks.

    Hi
    Currently i haven't found any documentation describing how to compile and use this tlfx.
    I went through the change log to see what was added, and it looked quite good.
    I have tried to compile it, but my experience with fb4 is very limited. I have only worked with it for a couple of months.
    I would like a description of how to compile and use this tlfx liblrary in a flex application, so that i can have table supprt as well as support for bullets and numbering.
    TIA
    Allan

  • Using flex4.1, Flash Builder giving error "flash.filesystem::StorageVolume could not be found."

    Hi there,
              I'm trying to copy some files to Storage Card on a AIR application. Is this possible with the latest version of the AIR SDK (2.0)?
              I am developing in Flash Builder. I have downloaded the lastest flex sdk(4.1)  and used it.
              Flash Builder then recognises the StorageVolume and StorageVolumeInfo classes. However when I then run the app the debugger throws an error on the following line:
    LINE:
    var volumes:Vector.<StorageVolume> = StorageVolumeInfo.storageVolumeInfo.getStorageVolumes();
    Note: I have imported both classes as well.

    I'v read the article
    http://forums.adobe.com/message/2984004#2984004,
    and checked my application.xml, The content of the first two lines is:
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.0">
    Error message from flash builder debug:
    typecheck Player/getLocalVideo()
      outer-scope = [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ mx.core::FlexSprite$ mx.core::UIComponent$ spark.components.supportClasses::SkinnableComponent$ spark.components.supportClasses::SkinnableContainerBase$ spark.components::SkinnableContainer$ spark.components::Application$ spark.components::WindowedApplication$ Player$]
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()
      0:debugfile "D:\My Documents\Adobe Flash Builder 4\LiveVideoClient\OnSiteEnforceLawPublish\src;;Player.mxml"
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()
      2:debugline 20
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()
      4:getlocal0
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} (Player[O])
      5:pushscope
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {Player[O]} ()
      6:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (null[O])
      7:coerce_s
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (String?[S])
      8:setlocal 5
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] *[A] *[A] *[A] *[A] *[A]] {Player[O]} ()
      10:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (null[O])
      11:coerce mx.collections::ArrayCollection
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (mx.collections::ArrayCollection?[O])
      13:setlocal 6
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] *[A] *[A] *[A] *[A]] {Player[O]} ()
      15:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] *[A] *[A] *[A] *[A]] {Player[O]} (null[O])
      16:coerce flash.filesystem::File
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] *[A] *[A] *[A] *[A]] {Player[O]} (flash.filesystem::File?[O])
      18:setlocal 7
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] *[A] *[A] *[A]] {Player[O]} ()
      20:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] *[A] *[A] *[A]] {Player[O]} (null[O])
      21:coerce_s
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] *[A] *[A] *[A]] {Player[O]} (String?[S])
      22:setlocal 8
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] *[A] *[A]] {Player[O]} ()
      24:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] *[A] *[A]] {Player[O]} (null[O])
      25:coerce_s
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] *[A] *[A]] {Player[O]} (String?[S])
      26:setlocal 9
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      28:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      33:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      38:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      43:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      48:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      53:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      58:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      63:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      68:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      73:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      78:debugline 23
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      80:findpropstrict flash.filesystem::StorageVolumeInfo
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (Object[A])
      82:getproperty flash.filesystem::StorageVolumeInfo
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (*[A])
      84:getproperty storageVolumeInfo
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (*[A])
      86:callproperty getStorageVolumes 0
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (*[A])
      89:coerce __AS3__.vec::Vector
    VerifyError: Error #1014: Class flash.filesystem::StorageVolume could not be found.
    at Player/___Player_WindowedApplication1_windowComplete()[D:\My Documents\Adobe Flash Builder 4\LiveVideoClient\OnSiteEnforceLawPublish\src\Player.mxml:4]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core \UIComponent.as:12528]
    at spark.components::WindowedApplication/enterFrameHandler()[E:\dev\4.x\frameworks\projects\ airspark\src\spark\components\WindowedApplication.as:2355]

  • Using iPod as flash drive but deleted data space stays used up

    Using iPod as flash drive for files. When I'm finished with the files I deleted this data off the iPod but it is saying the memory is full.
    Theres over 40GB of 'other' data that doesn't exist. How do I clear this? Thanks

    Even though I searched beforehand, I was redirected to this link <https://discussions.apple.com/message/3490336#3490336> AFTER I posted it. So problem solved! Hurrah!

  • I tried to export photos from iMac to iPad using a USB flash drive.  The photos are on the drive but when I plug it into the iPad, the iPad says the device requires too much power.  Any ideas of what type of USB flash drive I should use?

    I tried to export photos from iMac to iPad using a USB flash drive.  The photos are on the drive but when I plug it into the iPad, the iPad says the device requires too much power.  Any ideas of what type of USB flash drive I should use?

    You can transfer photos outside of iTunes. I do it all the time. THat said, i have a 50/50 success rate with them. I'd avoid sandisk and kingston, their bundled software triggers the 'too much power' warning.
    I've had mixed luck with lexar, some work, some don't.
    I did have good luck with an older 4 gig geek squad one.
    Look for drives without software on them, without bright LED lights and I haven't gotten any larger than 4 gig to work, but that may just be me.
    For a less troublesome way? h onestly, I use a SD card that I've formatted with the DCIM folder. I've never had one of them trigger the 'too much power' warning. Just make sure they're not SDXC. those don't work.

  • I have an external camera, IceCam2, connected to my MacBook Air, but I cant switch to the camera when I try to use videocam on a websayt. How do I switch from internal to externl camera? In use is Adobe Flash Player, but I cant open that program, is the s

    I have an external camera, IceCam2, connected to my MacBook Air, but I cant switch to the camera when I try to use videocam on a websayt. How do I switch from internal to externl camera? In use is Adobe Flash Player, but I cant open that program, is the s

    I think the McAfee suite will do the trick when I pay them a one-time fee of $69 or $179 for a year for unlimited support.
    Your call of course but IMO a waste of money. Please read this first:
    There are many forms of ‘Malware’ that can affect a computer system, of which ‘a virus’ is but one type, ‘trojans’ another. Using the strict definition of a computer virus, no viruses that can attack OS X have so far been detected 'in the wild', i.e. in anything other than laboratory conditions. The same is not true of other forms of malware, such as Trojans. Whilst it is a fairly safe bet that your Mac has NOT been infected by a virus, it may have another security-related problem, but more likely a technical problem unrelated to any malware threat.
    You may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful:
    https://discussions.apple.com/docs/DOC-2435
    The User Tip (which you are welcome to print out and retain for future reference) seeks to offer guidance on the main security threats and how to avoid them.
    More useful information can also be found here:
    http://www.reedcorner.net/mmg/

  • Leopard to Snow Leopard can i use a large flash drive to backup first?

    I've been using Leopard for 4 years with no problems. 
    Since Google decided to stop support for Leopard, and I use Chrome a lot I decided to upgrade.  I won't be upgrading to Mountain Lion right right away. I ordered my Snow Leopard disks from Apple.
    I understand that I need to backup.  I want to backup with Time Machine before I upgrade the OS, but I don't have $75+ right now to purchase an external hard drive for this purpose only. 
    Can I use a large Flash Drive to run Time Machine?  Like a 32 GB?   I know that flash drives have a limited number of writes on them and can go bad, so I am thinking I could just use it this one time to make sure I have a clean backup.  If this is possible, then can I set up Time Machine again later when I have an external drive?
    Also, I have 2 cores on my Mac, but I have no idea how to use the 2nd core. 
    I'm also not sure if I need to purchase a specific external drive because I have a mac. 
    Thanks for the help.

    If you only need to make a full backup prior to upgrading, I would suggest using SuperDuper, which for creating a full, bootable clone is free. (It is not free when you start needing to make incremental backups, but you won't be doing that, at least not right now.) For a bootable clone, you only need a Flash drive (or external drive) as big as the total size of the utilized space on your hard drive right now, not as big as whatever the entire drive size is.
    In the past, I would have recommended Carbon Copy Cloner for this, but it's no longer free or donation-ware and you don't have the budget for both that and some kind of external or Flash drive.
    http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html
    You might also want to look around newegg.com for inexpensive USB external drives, or even large enough Flash drives. You'll probably find a much less expensive external hard drive than a Flash drive for this purpose.
    You do not need to use Time Machine, but even if you did you could just make one full backup to a Flash or external drive and then unmount and disconnect it. An external for TM only needs to be so large because it's constantly taking snapshots of your drive and those add up. But you won't be using it that way.
    Anyway, I think you're much better off with a bootable clone, should you need to restore that.
    Don't worry about having 2 cores; that's nothing to do with backing up.

  • Can I install windows 7 on a MBA using a USB flash drive?

    I do not have an external DVD drive. Can I install windows 7 on a MBA using a USB flash drive? If so, what's is the procedure?

    Hi,
    have a look/read here http://www.intowindows.com/how-to-create-bootable-windows-7-usb-to-install-windo ws-7-from-usb-flash-drive-using-windows-7-dvdusb-tool/
    Regards
    Stefan

  • Using package constant in SQL

    I am trying to use a package constant in a query as follows:
    SELECT field1 FROM table t WHERE CEIL(sysdate - t.field2) > schema.package.constant
    field1 is a name
    field2 is a timestamp
    constant is an integer indicating the expiration time in days
    basically I am trying to find all expired items.
    I get the error "ORA-06553: PLS-221: 'constant' is not a procedure or is undefined" on this query.
    I use this same query as a cursor in the package itself with no errors.

    Unfortunately you cannot directly use package global variables in select statements like this.
    One workaround is to use bind variables for that:
    <p>
    SQL> CREATE OR REPLACE PACKAGE pkg
    AS
       myconstant   VARCHAR (20) := 'This is my constant';
    END pkg;
    Package created.
    SQL> VAR myconstant  VARCHAR2 (20)
    SQL> EXEC :myconstant :=  pkg.myconstant
    PL/SQL procedure successfully completed.
    SQL> SELECT :myconstant
      FROM DUAL
    :MYCONSTANT                                                                    
    This is my constant                                                            

  • I have Photoshop Eleent 12 and use a Windows PC.  I hae been using a Canon EOS 50D for several years, which uses a Compact Flash Card.  I have always downloaded pictures by using a card reader wich I connect to my computer. I Go to the Organizer, click on

    I have Photoshop Eleent 12 and use a Windows PC.  I hae been using a Canon EOS 50D for several years, which uses a Compact Flash Card.  I have always downloaded pictures by using a card reader wich I connect to my computer. I Go to the Organizer, click on "Import" and select "From camera or card reader".  Once on the Photo Downloader, I select the pictures, chose the folder and click on "Get Media" and all the photos get downloaded. Today I folled the same procedure as always, but ZI'm gettig an error message that reads"Import Failed" followed by another message that reads "Nothing was imported. The file(s) or folder(s) selected to import did not contain any supported file types, or the files are already in this Catalog."  I'm puzzled by this message and don't know what to do o get my photos.  Any suggestions?

    The organizer doesn't care where you send your photos when you download them via the downloader or where they happen to be when you first bring them in if you use the Get Photos command, but once your pics are in the Organizer, you *must* move them from within organizer or it can't find them. You don't have to use My Pictures at all if you don't want to, but regardless of the folder where you put your photos, if you want them someplace else, you use organizer to do it.

  • 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.

Maybe you are looking for

  • Quicktime broadcaster won't work since upgrade to Tiger!

    this is probably the worst experience i've had trying to get support from Apple. nothing remotely resembling my problem is anywhere in the knowledge base. here's the deal... i used broadcaster every week prior to upgrade without any problems...NOW...

  • How do I stop Pages from opening when I log back in? Login items are not ticked.

    Prior to Yosemite I had trouble with Pages where it closed down the app when I closed a document. I was given a command line to put in the 'Terminal' to deactivate Pages. This worked. That command was -  -g NSDisableAutomaticTermination -bool TRUE/Fa

  • "Call Activity" task not available in Jdeveloper BPM 11G Beta2 ?

    Hi, The "Call Activity" task is no longer available in Jdeveloper component palette (as of 11.1.1.3.PS2_GENERIC_100302.2020.5629) But this task is still available in BPM Composer (BPM 11G Beta 2 same delivery as Jdeveloper). We are currently in the m

  • Best practices for placing images in epubs

    Okay, I've read the books, I've watched the tutes and I'm still at a loss on the best way to add images to InDesign 5.5 documents that I will convert to ePub. The images are created in Photoshop at 300 dpi and sized at 800by600. And yet when I place

  • Adobe Illustrator CS4 Low resolution

    Hey all, When I launch adobe illustrator cs4 it opens in a very low resolution. I'm running Adobe Illustrator CS4 it on my Lenovo Y510P, Windows 8 (64bit), screen resolution set to 1920x1080 Running Photoshop CS4 on the contrary opens in full hd reso