AsDocs ******* with pseudo-static inheritance

Hey all,
I'm experiencing some ******* outputing AsDocs through Flash Builder & thought I'd first run this by y'all to make sure that I'm not doing something stupidly wrong before submitting it as a bug...
So here's the situation.
My actionscript project has a class, *.events.TileEvent which inherits from the generic flash.events.Event class.
This class has several static constants (ON_TILE_ROLLOVER, etc..) which are used to define certain events specific to the TileEvent.
I then created another class, *.ui.TileEvent which subclasses (inherits) from the *.events.TileEvent.  This was done so that I could add additional constants which are specific to particular creative (but not shared across all projects created using this codebase)  Simple enough so far, right?
Okay, well I also wanted the ui.TileEvent to be able to use the static constants present in the events.TileEvent class.  Since static variables & methods aren't inherited by subclasses, I created a series of static getter methods in the ui.TileEvent class, gave them the same names as the static constants in the events.TileEvent class, figured that-was-that, and was ready to call it a day.
Unfortunately, now whenever I run AsDocs on this actionscript project, I get an error (Could not create toplevel.xml).
Am I missing something / going crazy / or something else?
thanks,
brian.

Hi Brian
I don't have a direct answer as to why ASDoc is having a problem with your particular scenerio. However, I do wonder why you have chosen to have two classes named TileEvent in different packages. My experience, and yes I've done similar stunts, is it ain't worth the headache. Having two classes with the same name invariably leads to problems, mis-selectioning when doing an autocomplete or the like and ambiguity when referencing constants on one class from within the other - always needing to type the full path to the class to prevent ambiguity otherwise its a circular reference. One way to solution might be to rename one class UITileEvent. This would ensure that there is no ambiguity in the the getter from one class getting confused with the Constant from the other. But then it would be straight forward to just use the original constant in TileEvent vs trying to "hide" the constant behind a static getter. Sometimes the simpler solution is easier then the convoluted solution of hiding the fact that one class extends the other. This comes from going down similar paths and wondering why what seemed like a logical and clean choice upfront has turned into a messy and convoluted path down the road.
Sincerely
Mark R. Jonkman

Similar Messages

  • Using multiple laptops and AirTunes with one static IP

    I just moved into a place that requires a static IP they provided me. After much tinkering, I finally got the Airport Express to work so that I could get online using my Powerbook. However, whenever I'm on the internet (Airport set NOT to distribute IP addresses), I can't use AirTunes. The moment I change that (whether it's using Airport Admin Utility or changing Network Settings on the Powerbook) and I am able to get online again, AirTunes quits and iTunes can't seem to find the remote speakers again.
    I can't even use these both at the same time, and I would eventually like to use AirTunes at the same time as the internet AND be able to connect wirelessly to the internet using my PC laptop. Before moving into the apartment with the static IP, this was possible.
    I keep reading about port mapping - perhaps that is the answer? Problem is, I have no idea what that is. Can somebody please explain why this is happening and offer a solution?

    a) WEP WPA password, ive never set one up for the airport, where do i find out what this password is for my PC?
    You will set up wireless security (WEP or WPA) on the AirPort Express Base Station (AX)..using the AirPort Admin Utility, which is part of AirPort for Windows.
    b) Everytime I run the Airport Express Assistant it gives me an error message saying "Windows is not the current network manager...please change Windows to the default", I dont know why I get this error and I assume windows is the one managing the networks I use.
    Your PC has wireless capability...correct? The AirPort Setup Assistant requires a wireless connection to the AX.
    c) I can connect to the airport through windows, but when in the Airport Management Utility it does not detect the Airport
    Connect your PC directly, using an Ethernet cable, to the Ethernet port of the AX, and then run the AirPort Admin Utility to configure it.
    d) After all this, will Windows and iTunes allow you to stream music thru the Airport Express, like it does on my mac with itunes???
    Yes, you will be able to stream iTunes from your PC to the AX, either wired or wirelessly.

  • Problem in aligning dynamic UI with the static UI

    Hi All,
    I have problem in aligning dynamic UI with the static UI, I am using Matrix layout.
    Static fields are spread over 2 colums and 3 rows:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    Now when a value is selected in C, than E becomes visible, and depending on the values selected in E, there are dynamic UI generated, i.e dynamic lables and depending on some validation it will be either a dropdowns or input fiels or both.
    at run time screen is like this:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dynaSPACEdropdown
    dynbSPACEinput field
    if I change my selection in E than layout looks like:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dynaSPACESPACEdropdown
    dynbSPACESPACEinput field
    Requirment: I need all the lables as well as dropdown/ input fiels in line with the static fields irrespective of my selection in E.
    Something like this:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dyna   SPACEdropdown
    dynbSPACESinput field
    dyncSPACESdropdown
    All this elements are in a group and that group has 2 transparent containers, 1 for static and for holding dynamic UI.
    I tried playing with the container properties, and also tried fixing width of dynamic UI but still the alignment issue is encountered.
    Can U guys plz give in ur valuable inputs as i need to fix this urgently.
    Regards,
    JJ

    Hi Armin,
    Can you please elaborate your solution ?, I do not have an idea of InvisibleElement & IWDView.resetView() ,
    If you can give me the exact pointer than it would be great and a good learning exp. for me.
    Thanks for the action assignment part, it worked.
    if (wdContext.nodeMaterialClass().size() > 0 && wdContext.currentContextElement().getActionMatCls()) {
         if (wdContext.currentMaterialClassElement().getMaterialClass_Description() != null || !wdContext.currentMaterialClassElement ().getMaterialClass_Description().equalsIgnoreCase(" ")) {
               IWDGroup Searchgroup = (IWDGroup) view.getElement("DynGroup");
    Searchgroup.destroyAllChildren();
    view.getContext().reset(false);
                                                      for (int i = 0; i < wdContext.nodeMaterialCharateristcs().size(); i++) {
                                  //this for label
         IWDLabel CharLabel = (IWDLabel) view.createElement(IWDLabel.class, "label" + i);
         CharLabel.setText(wdContext.nodeMaterialCharateristcs().getMaterialCharateristcsElementAt(i).getDescr_Char());
         CharLabel.setDesign(WDLabelDesign.EMPHASIZED);
         CharLabel.createLayoutData(MatrixHeadData.class);                              CharLabel.setWidth("154px");                              Searchgroup.addChild(CharLabel);
                 further there are conditions to create either dropdown or input field
    Can you please point where and how to apply your solution.
    Regards,
    JJ

  • Access of undefined method/property through reference with a static type Class

    I get the following error: (it's not word for word but you get the idea)
    Error: Access of undefined method getStatus through reference with a static type Class.
    Here's what's happening in the code. I'm trying to create a User class that is instantiated at the start of my app. I want the User class to have properties like mainStatus, with helper methods like setStatus etc. Pretty simple.
    so on my HardDisk I have my flash_working folder with all my flash projects. I created my class file/package under the directory com.mypackage
    package com.mypackage
        import flash.display.*;
        public class User extends Sprite
            public var mainStatus:int;
            public function User()
                trace("User Created!");
                mainStatus = 0;
            public function setStatus(status:int):void
             mainStatus = status;
        public function getStatus():int
            return mainStatus;
    Ok, so far so good.
    now I created a new .fla file under the root of /flash_working/. The class file is in /com/mypackage/User.as
    in my .fla file I have:
    import com.mypackage.User;
    var myUser:User = new User();
    var i = User.getStatus();
    trace(i);
    That's all the code I have. Could someone please explain why it's giving me that error?
    If I try to access the public var mainStatus through user.mainStatus that gives a similar error saying:
    Error: Access of undefined property mainStatus through reference with a static type Class.
    Thanks for any help!
    jef3189

    the public getStatus() function that you created needs to be referred to through an instance of the class.
    So:
    import com.mypackage.User;
    var myUser:User = new User();
    var i = myUser.getStatus();
    trace(i);
    Also, an aside. You can create a getter/setter for status, to avoid having to do the function as such.
    package com.mypackage
        import flash.display.*;
        public class User extends Sprite
            public var mainStatus:int;
            public function get status():int
                return mainStatus;
            public function set status(value:int):void
                 mainStatus = value as int;
              public function User()
                trace("User Created!");
                mainStatus = 0;
    And then, you can call it as:
    import com.mypackage.User;
    var myUser:User = new User();
    trace(myUser.status);
    EDIT
    I just noticed that you made the variable public as well, which means you can access it without getter/setter or function.
    import com.mypackage.User;
    var myUser:User = new User();
    trace(myUser.mainStatus);

  • Using iMovie 7.1.4 on an iMac w/ Snow Leopard; HD video imported with a Firewire cable transfers fine, but audio arrives with major static; problem persists w/ different cameras

    Using iMovie 7.1.4 on an iMac w/ Snow Leopard; HD video imported with a Firewire cable transfers fine, but audio arrives with major static; problem persists w/ different cameras & Firewire cables; source DV tape has no audfio static.

    I forgot to write down my computer specs:
    iMac 27 Mid 2011
    2.7 GHz Intel Core i5
    4 GB 1333 MHz DDR3
    AMD Radeon HD 6770M 512 MB
    OS X 10.9.2

  • Linking Templates with instances=static

    Did anybody try to use the CC instances=static flag?
    When trying to link I get an error message:
    CC -c -g -KPIC -mt -instances=static TemplateTest.cpp
    CC -G -o libtmplt.so -L/opt/SUNWspro/SC5.0/lib -instances=static -L. -mt TemplateTest.o -lCstd
    CC -c -g -KPIC -mt -instances=static main.cpp
    CC -L/opt/SUNWspro/SC5.0/lib -instances=static -L. -mt -o TmplTst main.o -ltmplt -lCstd
    Undefined first referenced
    symbol in file
    void std::vector<int,std::allocator<int> >::__insert_aux(int*,const int&) ./libtmplt.so
    ld: fatal: Symbol referencing errors. No output written to TmplTst

    Hi guys,
    I got to solve this error some time ago. I have discussed it in thread:
    http://forum.java.sun.com/thread.jspa?forumID=850&threadID=5069680
    I'm not sure if it has something to do with instances=static option.
    Maybe you can try if it works in your environment.
    operator= is not needed in this procedure, so the associated error may be avoided.
    Good luck.
    Bye.

  • DHCP Server with the Static IP fill out DNS information

    When filling out the DHCP Server with the Static IP from ipconfig.exe in the "Preferred DNS server IPv4 address:
    192.168.1.199
    The same as in the static IP.  The IPv6 DNS one validates IPv4 does not.
    I tried using the IPv4 Address and that validated but gave an error at the end: 1059 and 1046.
    Gives an error:
    "The DNS Server at the specified IP address does not support the required TCP protocol."

    Hi,
    Firstly, would you please post the result of running “ipconfig/all” on the DHCP server and domain controller?
    It seems that the DHCP server cannot be authorized in AD DS. Please make sure that the DHCP server is a domain member and try to ping the domain controller on the DHCP server.
    Best regards,
    Susie

  • Broadband connection with one static ip

    Hello Everyone!!
    I would like to seek your kind suggestion in mapping static ip address to the local ip address.
    We have a bsnl broadband connection, and bsnl has provided us with one static ip address.
    We are using  broadband modem.
    Now I would liket to map this static ip address to one of the private ip address which is 192.168.1.2(database server).
    i want to do nat above ips if i do so then i dont have no ip to assign to my outside interface.
    I would like to access this device over internet, by typing my public (Static ip ) given by the BSNL.
    Kindly let me know how should i configure this modem.
    security device i have is cisco ASA 5505.
    Need suggestion.
    thanks in advance

    Hi,
    I am afraid that if you are asking for guide to configuring your broadband modem then this is probably not the best section of the Cisco Support Community to do that.
    Generall though it would be best if the modem you have was configured as Bridged device and the public IP address was configured on the ASA5505 directly on its "outside" interface. This saves you from a lot of trouble playing with possible NAT configurations on 2 devices.
    On the ASA5505 you will basicly be configuring Static PAT and NOT Static NAT.
    Static NAT would bind the public IP address to the use of only single internal host.
    Static PAT on the other hand would bind certain TCP/UDP ports to some internal host.
    So naturally we should first determine which ports you need to forward to the internal host and also what the software level of your ASA5505 is so we know which NAT configuration format to use (version number is shown with the command "show version" or in the  main view of the ASDM)
    NAT/ACL 8.2 (and older) Configuration format
    static (inside,outside) tcp interface 80 192.168.1.2 80 netmask 255.255.255.255
    access-list OUTSIDE-IN permit tcp any interface outside eq 80
    access-group OUTSIDE-IN in interface outside
    In the above configuration we first use the "static" command to configure the Static PAT. The configuration basicly states that we want to forward the TCP/80 port using the "outside" "interface" IP address to the local IP address of 192.168.1.2 and local port of TCP/80.
    Finally we make an ACL that allows TCP/80 traffic from anywhere and we attach the ACL to the "outside" interface with "access-group" command. If there is an existing ACL attached to the "outside" interface then you would naturally use that.
    NAT/ACL 8.3 (and newer) Configuration Format
    object network SERVER-WWW
    host 192.168.1.2
    nat (inside,outside) static interface service tcp 80 80
    access-list OUTSIDE-IN permit tcp any object SERVER-WWW eq 80
    access-group OUTSIDE-IN in interface outside
    The above basicly does the same as the first example with the older ASA software. There are just noticiable changes in the NAT and ACL configuration formats.
    Hope this helps
    - Jouni

  • Dynamic select list with one static 'not_listed" option

    Hi guys,
    I want to create a dynamic select list with one static 'not_listed' option.
    One possible alternative is to add the 'not_listed' record into database, but I really dont want to go that way unless there is no other way around.
    Can anyone shed some lights on this?
    Many thanks,
    William

    As usual : "It depends"...
    If you have a foreign key defined on that field, Scott's reply won't work - unless you define '0 - Not listed' in the database. You can use selec 'not listed' d, to_number(null) r from dual though...
    Another - more declarative way - is in the on 'Edit Page Item' page, in the 'List of Values' region set 'Display Null' to 'Yes' and 'Null Display Value' to ' - Not listed - '.
    Roel

  • Help with constructors using inheritance

    hi,
    i am having trouble with contructors in inheritance.
    i have a class Seahorse extends Move extends Animal
    in animal class , i have this constructor .
    public class Animal() {
    public Animal (char print, int maxage, int speed) {
    this.print = print;
    this.maxage = maxage;
    this.speed = speed;
    public class Move extends Animal {
    public Move(char print, int maxage, int speed)
    super(print, maxage, speed); //do i even need this here? if i dont i
    //get an error in Seahorse class saying super() not found
    public class Seahorse extends Move {
    public Seahorse(char print, int maxage, int speed)
    super('H',10,0);
    please help

    It's not a problem, it's how Java works. First, if you do not create a constructor in your code, the compiler will generate a default constructor that does not take any arguments. If you do create one or more constructors, the only way to construct an object instance of the class is to use one of the constructors.
    Second, when you extend a class, your are saying the subclass "is a" implementation of the super class. In your case, you are saying Move is an Animal, and Seahorse is a Move (and an Animal as well). This does not seem like a good logical design, but that's a different problem.
    Since you specified that an Animal can only be constructed by passing a char, int, and int, that means that a Move can only be constructed by calling the super class constructor and passing a char, int, and int. Since Move can only be constructed using a char, int and int, Seahorse can only be constructed by calling super(char, int, int);.
    It is possible for a subclass to have a constructor that does not take the same parameters as the super class, but the subclass must call the super class constructor with the correct arguments. For example, you could have.
    public Seahorse() {
       super('S',2,5);
    }The other problem is, Move does not sound like a class. It sounds like a method. Perhaps you might have MobileAnimal, but that would only make sense if there was a corresponding StationaryAnimal. Your classes should model your problem. It's hard to image a problem in which a Seahorse is a Move, and a Move is an Animal. It makes more sense for Animals to be able to move(), which allows a Seahorse to move differently compared to an Octopus.

  • Error WWC-41439 on server with ip static

    on portl30 when i try to connect to modplsql i recive this error
    WWC-41439 !!
    i have the server on the net with a static ip adress 194.100.xxx.xxx and i jave not a domain name for the server.
    it is possible to obtain a solution?
    il vampiro

    Hi,
    Firstly, would you please post the result of running “ipconfig/all” on the DHCP server and domain controller?
    It seems that the DHCP server cannot be authorized in AD DS. Please make sure that the DHCP server is a domain member and try to ping the domain controller on the DHCP server.
    Best regards,
    Susie

  • I am getting a lot of static when using Brookstone wireless headphones and watching movies on the Apple TV. I know it is not headphones, because they work fine when I switch it to cable TV, then the sound is clear with no static. Any suggestions?

    I am getting a lot of static when using Brookstone wireless headphones and watching movies on the Apple TV. I know it is not headphones, because they work fine when I switch it to cable TV, then the sound is clear with no static. Any suggestions? Which wireless headphones work best with the apple TV?

    Ok so I've been doing more testing. It's all videos on the iTunes store. Anytime I try to download a podcast or stream it or anything it's super slow. To download an episode of Diggnation it tells me over 2 hours to download but the time keeps climbing and I just stop the transfer.
    Some people said it's an Open DNS thing? Maybe it is but it's not computer specific and I couldn't find a way to change the DNS settings in my Airport, only on each computer. I tried deleting PLists and restoring my Apple TV and restoring my Airport and nothing is working.
    I don't know if it an issue with me, my ISP or Apple. Anyone else experiencing this problem?

  • Need help setting up with a static ip

    Hi guys,
    I have been trying to set the airport express up with a static ip from my isp. I have not had any luck. I get the green light but still no internet. Can someone give me step by step instructions on how to do this. I am about to go crazy. Again I have a static ip from the isp, subnet mask, gateway etc. Any help would be greatly appreciated.
    Thanks from Brazil

    Open Airport Utility, click Manual Setup
    Click the Internet icon
    Connect Using should be Ethernet
    Configure IPv4 should be set to Manually
    Enter the IP address, Subnet, and Router(gateway)
    Enter the DNS numbers if they have been provided. If not, they should configure automatically.
    Connection Sharing should be Share a Public IP address

  • Ending with a static page

    How do I end with a static page? I have a design with two
    parts, 1 design with several layers fades into another design and
    ends there. There are just a few items that will continue to move
    but I want this part of the page to be where it stays. Can someone
    give some advice? Thanks

    webmaster-liztapanes wrote:
    > How do I end with a static page? I have a design with
    two parts, 1 design with
    > several layers fades into another design and ends there.
    There are just a few
    > items that will continue to move but I want this part of
    the page to be where
    > it stays. Can someone give some advice? Thanks
    What is that you need ?
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • CIN with Linux static library .a

        Can CIN's work with Linux static libraries? by default cintools create makefile with LD flags specified as "-shared", but my source uses static library /usr/lib/libpci.a

    Solved this problem.

Maybe you are looking for

  • Podcast freezes when I click on window after upgrading to iTunes 7.6 (29)

    I can no longer view my podcasts without having them freeze up on me if I interrupt the playback by clicking on the (podcast) window. Actually, the entire computer freezes up on me and I've tried every shortcut in the shortcut list under help to get

  • How to select a procedure in package from crystal report

    I want to select a oracle procedure in package from a crystal report. I can able to select stored procedure from crystal report if I check the option storedprocedure in file menu--option-SQL tab.

  • E51 issue

    I have encountered a wierd problem with my new E51. I think it is a software issue, but I didn't send for re-installation since I didnt have a spare phone. Just sharing this problem to see if i'm alone: My E51 has consistently log on to the internet

  • Any idea when adobe air for mobiles is coming out?

    Hi, Any idea when adobe air for mobiles is coming out and on what phones will it be available? Thanks, Gaurav

  • NAST-NACHA = 8 in message transmission medium

    Hello Gurus, Can any one explain when we use special function( NAST-NACHA = 8)  in output types, I am having an sales order which triggers an outbound IDOC when I check the messages for our output type it is using  special function as the Output Type