Cannot debug after set a document class

Hi,
I have my flash project working without problems, I reach a
point that i must add a document class, but when i do that i got
the following error:
"You cannot debug this SWF because it does not contain
ActionScript"
The document class is in the same folder where the .fla file
is located.
Code compile without any error.
If I remove the document class my project work likes before.
For testing pourpouses the document class just do a
trace(....)
Is a bug in flash? Anyone face this problem before?
Im using flash CS3 on windows Vista.
Thanks

Hi,
Here is the code, hope this helps.
Thanks

Similar Messages

  • Can't continue to debug after changing into a class (11.1.2 )

    Hi,
    Some strange behavior after upgrade to 11.1.2
    - Run an ADF faces application in debug mode
    - Do a change (add a blank line) inside a class and build only this class
    - Now on any click in the site I have an exception and I need to redeploy all the application
    Thanks
    Jamil
    Redefined all recompiled classes that are loaded in the debuggee process.
    [05:37:11 PM] Updated /C:/Users/Nour/AppData/Roaming/JDeveloper/system11.1.2.0.38.60.17/o.j2ee/drs/ADFSelectManyShuttle/ViewControllerWebApp.war/WEB-INF/classes
    <Jun 29, 2011 5:37:23 PM AST> <Error> <HTTP> <BEA-101362> <[ServletContext@4934414[app:ADFSelectManyShuttle module:ADFSelectManyShuttle-ViewController-context-root path:/ADFSelectManyShuttle-ViewController-context-root spec-version:2.5]] could not deserialize the servlet-context scoped attribute with name: "_afrPartitionManager"
    java.lang.NullPointerException
         at weblogic.servlet.internal.AttributeWrapper.saveObjectClassLoaderInfo(AttributeWrapper.java:227)
         at weblogic.servlet.internal.AttributeWrapper.convertBytesToObject(AttributeWrapper.java:112)
         at weblogic.servlet.internal.ContextAttributeWrapper.getObject(ContextAttributeWrapper.java:53)
         at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:60)
         at weblogic.servlet.internal.AttributesMap.get(AttributesMap.java:108)
         Truncated. see log file for complete stacktrace
    >
    <Jun 29, 2011 5:37:23 PM AST> <Error> <HTTP> <BEA-101002> <[ServletContext@4934414[app:ADFSelectManyShuttle module:ADFSelectManyShuttle-ViewController-context-root path:/ADFSelectManyShuttle-ViewController-context-root spec-version:2.5]] Could not deserialize the context attribute.
    java.lang.NullPointerException
         at weblogic.servlet.internal.AttributeWrapper.saveObjectClassLoaderInfo(AttributeWrapper.java:227)
         at weblogic.servlet.internal.AttributeWrapper.convertBytesToObject(AttributeWrapper.java:112)
         at weblogic.servlet.internal.ContextAttributeWrapper.getObject(ContextAttributeWrapper.java:53)
         at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:60)
         at weblogic.servlet.internal.EventsManager.unwrapAttribute(EventsManager.java:256)
         Truncated. see log file for complete stacktrace
    >

    Please check here Jdev 11.1.2 - Getting NPE whenever java class is compiled in debug mode
    I also faced similar kind of issue.
    Thiru

  • Flash CS5 - document class relative path & package location

    It seems I have no trouble pointing an FLA's document class to my project's class package when the FLA is at the same root level as the package's top-level directory. However, if the FLA is nested in a sub-directory, then relative paths to a class nested in the package will not work.
    example package & class location : com.company.project.ClassName
    Case1 :
    Package location : \MyProject
    FLA location : \MyProject
    where document class path is : "./com/company/project"
    Case 2 ( does not work ) :
    Package location : \MyProject
    FLA location : \MyProject\MySubFolder
    where document class path is : "../com/company/project"
    If someone can provide an explanation as to why nested FLAs can't point to custom packages in parent-level directories, OR demonstrate how this can be done, it would be much appreciated.
    Now that I think on, both paths are relative, which makes this more confusing.
    Thank you.

    You are correct.
    I'm setting the "Document class" of an FLA file to a custom Class.
    The class is embedded/nested in the package directories of my project.
    The FLA is nest not at the same level as the root of the package, but in a sub-directory.
    Therefore, I need a relative path to point to the parent directory, then to the package.
    The occurs in both Win and Mac.
    I'm almost expecting someone to say FLAs can only point to packages in the same directory, but does not seem correct. Application-level classpaths can reference anywhere on your system, but are global. Document-level classpaths should be able to point to relative paths since a project needs to be portable, right? See attached image for example.

  • Document Class with Flash Lite 4.0

    I'm developing for Flash Lite (4.0) for the first time and I see that in the properties panel the Document Class section is grayed out. Does this mean that Flash Lite doesn't utilize a Document Class? If so, am I unable to use any external classes? I'm not going to have to code on the timeline am I? (shudder)
    I've noticed that I can set a Document Class in the Actionscript Advanced Settings, will that work? Why is it not available through the properties panel?
    Thanks for any help.

    im wondering the same thing.
    my first thought is to include a .as class through a timeline include statement, kind of like as2 practices

  • Cannot import SWF with document class (AS3)

    When I try to import a SWF-file (published from a FLA-file with a as3 document class) via the mx:SWFLoader into Flash Builder, the imported SWF is not showing up (as3 build a cube from papervision3d). Which way do you have to import such a SWF-file?
    Regards, Sjoerd

    Shitf+Ctrl+Enter:
    Attempting to launch and connect to Player using URL preloader.swf
    [SWF] preloader.swf - 9591 bytes after decompression
    [SWF] big.swf - 1785015 bytes after decompression
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at DocumentlClass()
    Cannot display source code at this location.
    My document class (simplyfied):
    package {
        import flash.display.Sprite;
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import fl.transitions.Tween;
        import fl.transitions.TweenEvent;
        import fl.transitions.easing.*;
        import flash.events.ProgressEvent;
        public class CarouselClass extends MovieClip {
            private vars...
            public function CarouselClass() {
                trace("document class triggered");
                    this.addEventListener(Event.ADDED_TO_STAGE,init);
            private function init(evt:Event):void{
                 texts = new Texts();
                carouselSprite = new Sprite();
                addChild(carouselSprite);
                topContainer = new Sprite();
                carouselSprite.addChild(topContainer);
                hitBar = new HitBar();
                hitBar.x = stage.stageWidth / 2 - hitBar.width /2;
                hitBar.y = 245;
                addChild(hitBar);
                downContent = new DownContent();
                addChild(downContent);
                downContent.y = 325;
                downContent.title_txt.text = "Learning Carousel";
                downContent.description_txt.text = "Click on one of images above to view further details";
                createSections();
            } ... (more functions)

  • After upgrading to Mountain Lion I am not able to access "security and privacy" button under "system preferences". I like to activate "find my mac" but cannot access privacy setting after upgrade. Kindly advice.

    After upgrading to Mountain Lion I am not able to access "security and privacy" button under "system preferences". I like to activate "find my mac" but cannot access privacy setting after upgrade. Kindly advice.

  • How to I set an internal link in a PDF document using Preview?  After setting a link under the Tools/Annotations menu, the link doesn't work and no detailed instructions are provided.

    How to I set an internal link in a PDF document using Preview?  After setting a link under the Tools/Annotations menu, the link doesn't work and no detailed instructions are provided via the Help menu other than it showing the pull-down menu selection to make.

    No.  I am able to use the other features such as underlining, highlighting, adding rectangles and oval and save those changes.

  • Method CreateChildren in ApplicationControllBar class called twice after setting dock=true

    Hi during creating of a custom ApplicationControllBar
    component in ActionScript I probably found a (nasty) bug?!
    package net.neijman.julia.jaContainers
    import mx.containers.ApplicationControlBar;
    public class JAApplicationControlBar2 extends
    ApplicationControlBar
    public function JAApplicationControlBar2(): void
    this.dock = true;
    super();
    override protected function createChildren(): void
    trace("CREATECHILDREN EXECUTED");
    When I am using my simple custom component in my application:
    <jaContainer:JAApplicationControlBar2 />
    The trace message trace("CREATECHILDREN EXECUTED"); is
    executed twice (meaning CreateChildren is called twice BUT ONLY
    AFTER SETTING dock = true (see constructor). When setting dock =
    false CreateChildren is executed once. I want to build a framework
    on the standard components (depending heavily on the
    CreateChildren-method).
    In other words, creating dynamic components in the docked
    ApplicationControlBar in the method CreateChildren results in a
    double placement in the DisplayList.
    Has anyone has a clue what's going wrong here? (my
    workarround for now is to start the createChildren method with
    removeAllChildren();)
    Thanks Tom Neijman

    Interesting. I would file it as a bug here:
    http://bugs.adobe.com/jira/secure/Dashboard.jspa
    And then see what happens. If it's not a bug, you'll probably
    get a decent reason why this occurs in the bug notes.
    matt horn
    flex docs

  • ADDED event in document class after removed from Stage

    Hi All,
    I am currently play with the document class (the class acts as main) constructor for a SWF file.
    package {
      import flash.display.*;
      import flash.events.*;
      public class TestSymbol extends MovieClip
        public function TestSymbol()
          this.addEventListener(Event.ADDED, function(event:Event) { trace(event.eventPhase, event.target, event.currentTarget, "added triggered"); });
          trace("parent", this.parent);
          this.stage.removeChild(this);
          trace("stage", this.stage);
    In frame script 1, i put
    trace("1");
    trace("parent", this.parent);
    After i run TestSymbol.swf and  i got
    parent [object Stage]
    stage null
    2 [object TestSymbol] [object TestSymbol] added triggered
    1
    parent null
    I wonder where is this ADDED event coming from? If the document class is added to some other objects, why its parent is null after the event?
    Thanks in advance
    Sam

    By wrapper do you mean they are the same object or the MainTimeLine is a separate object being added to DocumentClass, as it triggers the ADDED event? I know that framescript can be accessed as documentClass functions, so I thought they are the same object, maybe i was wrong.
    I did a new test within some more listeners
    package {
      import flash.display.*;
      import flash.events.*;
      public class TestSymbol extends MovieClip
        public function TestSymbol()
          this.addEventListener(Event.ADDED_TO_STAGE, addedToStageListener);
          this.addEventListener(Event.ADDED, addedListener)
          this.addEventListener(Event.REMOVED_FROM_STAGE, removedFromStageListener);
          this.addEventListener(Event.REMOVED, removedListener);
          trace("parent", this.parent);
          this.stage.removeChild(this);
          trace("stage", this.stage);
         private function addedListener(event:Event):void {
           trace(event.eventPhase, event.target, event.currentTarget, "added triggered");
         private function addedToStageListener(event:Event):void {
           trace(event.eventPhase, event.target, event.currentTarget, "addedToStage triggered");
         private function removedListener(event:Event):void {
           trace(event.eventPhase, event.target, event.currentTarget, "removed triggered");
         private function removedFromStageListener(event:Event):void {
           trace(event.eventPhase, event.target, event.currentTarget, "removedFromStage triggered");
    and this is the output
    parent [object Stage]
    2 [object TestSymbol] [object TestSymbol] removed triggered
    2 [object TestSymbol] [object TestSymbol] removedFromStage triggered
    stage null
    2 [object TestSymbol] [object TestSymbol] added triggered
    As the remove listeners are fired immediately, i don't think the queue is waiting until the end of the constructor.

  • Webi report would NOT refresh even after setting prompts and refreshing document instance.

    I am a .NET developer and a newbie to the world of BO I have just written a simple application in C# making use of the BO.NET Enterprise SDK and the ReportEngine.NET SDK to open a WEBI document and export it to Excel.  I have got the whole thing working - starting from establishing the EnterpriseSession, obtaining the reportEngine instance and also opneing the Webi document and exporting it to Excel. 
    The problem is the even after setting a different value for the prompts I ALWAYS get the same report  - for example if I set the Country prompt to India I always get the previous one that was set in the universe (Brazil).  These are not optional prompts and I do refresh the documentInstance after calling "SetPrompts"  Did anyone elase have the same problem with caching?.  Any help would be greatly appreciated.  Please find the snipped of the code attached.

    The link is correct, however you need access to SAP Service Market Place (SMP), which you should have since you are using BOE / BI. If not, ask your BOE / BI administrator to set you up with logon to SMP.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Cannot use telephone after setting up fax

    I use the same line for talking and faxing. After I plugged in the phone line to the fax my phone stopped working. I can dial out and the phone rings in but nobody can hear me and I cannot hear them.

    Hi @acmyra76,
    Welcome to the HP Forums! 
    I see that you cannot use your telephone after setting up fax with your HP Officejet 6830 on Windows 8. I am sorry to hear this, but happy to help!
    Is your phone line an analog or digital phone service? Analog. Digital. What’s the Difference? 
    If your phone service is digital you may need to get a filter for the line.
    I would recommend going through this guide, Cannot Send or Receive Faxes, to verify the fax is connected properly.
    For future reference, here is your printer's user guide, HP Officejet Pro 6830 e-All-in-One Printer User guides.
    You might also want to contact your phone company as well, just to make sure there are no issues with them.
    Hope this information helps, and hope to hear from you soon!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • After post accounting document user cannot change Reference Field

    Hi,
    I have a issue. After post accounting document user cannot change Reference field value. Please suggest .     
    Thanks & Regards,
    Hemant Maurya

    Hi Hemanth,
    Mr. ajay's solution solve your issue.
    If you activate it will applicable to entaire client (it is not comp code specific)
    For Activation USe T.Code: OB32 maintain Field (BKPF-XBLNR), Account Type & Transaction Type Blank
    Remove Field Can be change Check Box
    Regards
    Viswa

  • Hang Calling function after Document Class' Event.ADDED

    I was trying to load an external SWF (that contains the below code in its document class) with the Loader class but i keep on receiving Error #1009: Cannot access a property or method of a null object reference. So i tried to use the event listener Event.ADDED in MyDocumentClass constructor of the external SWF to let the document class be part of the display list before i invoke createRandomGraph. But when i place createRandomGraph( ) inside onStageReady, The compilation process hangs. When i leave the createRandomGraph( ) inside the constructor, it works perfectly as stand alone but will produce Error 1009 if loaded within the loader SWF. Any ideas?
    public function MyDocumentClass( )
        this.addEventListener(Event.ADDED, onStageReady);
        createRandomGraph( )
    private function onStageReady(oEvent:Event):void
        this.removeEventListener(Event.ADDED, onStageReady);
    private function createRandomGraph( ):void
        var cRandomGraph:RandomGraph = new RandomGraph();
        cRandomGraph.x = 10;
        cRandomGraph.y = stage.stageHeight - nH - 25;
        cRandomGraph.setDimensions(nW,nH);
        cRandomGraph.createGraphBackground();
        this.addChild(cRandomGraph);

    use:
    public function MyDocumentClass( )
        this.addEventListener(Event.ADDED_TO_STAGE, onStageReady);
    private function onStageReady(oEvent:Event):void
        this.removeEventListener(Event.ADDED, onStageReady);
    createRandomGraph();
    private function createRandomGraph( ):void
        var cRandomGraph:RandomGraph = new RandomGraph();
        cRandomGraph.x = 10;
        cRandomGraph.y = stage.stageHeight - nH - 25;
        cRandomGraph.setDimensions(nW,nH);
        cRandomGraph.createGraphBackground();
        this.addChild(cRandomGraph);

  • My iPad cannot run after I'm delete the content from reset setting. how to solve this?

    my iPad cannot run after I'm delete the content from reset setting. please help me!

    Try rebooting. Press Sleep/Wake and Home button for 10secs or more till Apple logo appears.

  • I am having trouble with the "numbers" app on my MacBook Air. I go to print my document and that works just fine. I cannot however return to the document after printing. What do I have to do?

    I am having trouble with the "numbers" app on my MacBook Air. I go to print my document and that works just fine. I cannot however return to the document after printing. What do I have to do?

    RR,
    Not to worry, you're not the first to expect Print to finish by returning you to the edit mode. The thing is that Printing is so hit and miss with this version of the app, you will probably want to stay in the Print window for more than one attempt.
    Jerry

Maybe you are looking for