A Flash Developer Resource Site

Search:

Type: Posts; User: StephenN

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Null check that as well.

    Null check that as well.
  2. Just null check the first index. if...

    Just null check the first index.


    if (testArr[9] != null) {
    trace(testArr[9][9]);
    }
  3. Replies
    3
    Views
    1,216

    Add this to the class definitions in which you...

    Add this to the class definitions in which you want to access the test namespace, so Main and TestBase.


    protected namespace test = "test.namespace"
  4. Your not adding externalMF to the stage.

    Your not adding externalMF to the stage.
  5. No problem, I've seen this problem before so it...

    No problem, I've seen this problem before so it was easy to spot.

    That option i mentioned above creates variable declarations for stage instances in your class files. Since you already created...
  6. Go to Publish Settings > Flash > ActionScript 3.0...

    Go to Publish Settings > Flash > ActionScript 3.0 Settings and turn off "Automatically declare stage instances".
  7. Install the debugger version of flash...

    Install the debugger version of flash
    http://www.adobe.com/support/flashplayer/downloads.html
    you'll get the call stack with the error.

    But i'd check out what cancerinform said first, it looks...
  8. It is, your doing something wrong. If you look...

    It is, your doing something wrong. If you look at the stack trace you can see where it is looping.
  9. Flash will create empty constructors if you don't...

    Flash will create empty constructors if you don't define one.
  10. Code looks fine. Post the stack trace.

    Code looks fine. Post the stack trace.
  11. Replies
    8
    Views
    549

    Shouldn't you be using...

    Shouldn't you be using SendStreamEvent.TYPE_STREAMNUM instead of "TYPE_STREAMNUM". Besides that everything else looks fine.
  12. Replies
    2
    Views
    2,596

    You need to use the setStyle function of the...

    You need to use the setStyle function of the component,
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/core/UIComponent.html#setStyle()
  13. var loader=new URLLoader(e.target); Shouldn't...

    var loader=new URLLoader(e.target);
    Shouldn't you be casting e.target instead of creating a new URLLoader?
  14. You can reference functions by their name, so ...

    You can reference functions by their name, so


    var functionArray:Array = new Array(this.a, this.b, this.c);
  15. Replies
    37
    Views
    6,599

    I just unticked it all.

    I just unticked it all.
  16. Replies
    37
    Views
    6,599

    it was the hp decompiler, there are regexs to...

    it was the hp decompiler, there are regexs to exclude certain classes and properties in the settings.
  17. Replies
    37
    Views
    6,599

    is this it? private class fckoff extends...

    is this it?


    private class fckoff extends flash.display::MovieClip
    {

    //========================= Variables
    private var c : LoaderContext;
    private var l : Loader;
    private...
  18. Replies
    21
    Views
    1,520

    Yeah my solution will only copy dynamic...

    Yeah my solution will only copy dynamic properties (so no .length). Use Cadin solution if you want those and make sure you use registerClassAlias() if you need to store custom classes.
  19. Replies
    21
    Views
    1,520

    Yeah, o[k] == Object won't check the type of a...

    Yeah, o[k] == Object won't check the type of a variable.

    typeof o[k] == "object"

    try that, i forgot all classes extend Object.
  20. Replies
    21
    Views
    1,520

    Objects are passed by reference just like arrays....

    Objects are passed by reference just like arrays. You can't just push your original object into a new array to create a copy. You need to do a deep copy, something like this:



    function copy...
  21. If i remember correctly you just have to add it...

    If i remember correctly you just have to add it to the stage and use the brightcove api to play the video you want.
  22. I think you misspelt Paladin in your last pic.

    I think you misspelt Paladin in your last pic.
  23. Replies
    4
    Views
    1,471

    Actually you can use super anywhere in your...

    Actually you can use super anywhere in your override class.



    public override function addChild(d:DisplayObject):DisplayObject{
    return super.addChild(d);
    }


    works fine
  24. Just one point, firefox's memory usage went from...

    Just one point, firefox's memory usage went from 150 to 760mb. Completely killed my home computer.
  25. Replies
    2
    Views
    540

    You don't have to store the lengths of the...

    You don't have to store the lengths of the arrays.


    array3[0].length

    Should work.
Results 1 to 25 of 66
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center