A Flash Developer Resource Site

Search:

Type: Posts; User: Len Rooney

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    447

    Idea: You should try removing the first listener...

    Idea: You should try removing the first listener from the circle object before adding the second (see: removeEventListener)
  2. Replies
    4
    Views
    558

    Well, it turns out that there was nothing wrong...

    Well, it turns out that there was nothing wrong with my function. Adding the listener to the stage instance worked as advertised. I still have trouble interpreting AS3 compiler messages because it...
  3. Here's an example with multiple images: var...

    Here's an example with multiple images:

    var imgArray:Array = new Array(
    "images/logs.jpg",
    "images/birdhouse.jpg",
    "images/sign.jpg");


    var loaders:Array=new Array();
  4. Replies
    4
    Views
    558

    Here's some more information. I'm very close to...

    Here's some more information. I'm very close to solving this and I hoping one of you gooroos can tell me where I'm going wrong.

    First, here's a simplified demo of the problem that actually works!...
  5. Replies
    4
    Views
    558

    Thanks Gohloum, I've actually tried...

    Thanks Gohloum,

    I've actually tried registering a listener to the stage instance and that does indeed work, however I should explain a bit further.

    I need a click event that calls the Document...
  6. Replies
    19
    Views
    1,523

    Try changing these two lines ...

    Try changing these two lines



    addChild (plane);
    addChild (backmap);
    to
  7. Replies
    4
    Views
    558

    [RESOLVED] Help modify external class

    I'm an AS3 and OOP newb, but I need some help with something that should be quite simple.

    I have a single frame movie that is based on AS3 that has been written AS2 style, as a timeline attached...
  8. Replies
    25
    Views
    1,626

    I think your Array syntax is off. Shouldn't it...

    I think your Array syntax is off. Shouldn't it be:


    var myArray:Array = [box1_mc, box2_mc, box3_mc, box4_mc];
    trace(myArray);
  9. Replies
    4
    Views
    2,688

    root.loaderInfo.addEventListener(ProgressEvent.PRO...

    root.loaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
    root.loaderInfo.addEventListener(Event.COMPLETE, onComplete);

    function progressHandler(event:ProgressEvent):void {
    ...
  10. Replies
    2
    Views
    575

    Thanks deadlock, I was trying that earlier and...

    Thanks deadlock,

    I was trying that earlier and just tried it again:

    import fzip.src.deng.fzip.FZip;

    (fzip/src/deng/fzip/FZip.as)

    Would be the full path to the FZip.as file but I still get...
  11. Replies
    2
    Views
    575

    Install custom class?

    Total CS/AS3 noob, I'm trying to install/include a class I wish to use with CS -- Fzip

    The Fzip files can be found here: http://codeazur.com.br/lab/

    Once downloaded, I have a package of files,...
  12. Replies
    10
    Views
    1,432

    Thanks for writing out all of the above. Total...

    Thanks for writing out all of the above. Total CS/AS3 class noob, I'm trying to understand it and apply it to class I wish to use with CS -- Fzip

    The Fzip files can be found here:...
  13. Replies
    5
    Views
    809

    Doh! Luckily I only make those mistakes in public...

    Doh! Luckily I only make those mistakes in public ;)

    Thanks again 5Tons! I'll get this eventually.

    Len
  14. Replies
    5
    Views
    809

    So far, the only method I've found is to give...

    So far, the only method I've found is to give Clip4 a variable name at the very beginning:


    var Clip1:Sprite = new Sprite;
    addChild(Clip1);

    var Clip2:Sprite = new Sprite;
    var Clip3:Sprite =...
  15. Replies
    5
    Views
    809

    Thanks eggler, but that doesn't work. Just asking...

    Thanks eggler, but that doesn't work. Just asking for the children of Clip2 returns "Cannot access a property or method of a null object reference" error messages.

    Notice that Clip2 is actually a...
  16. Replies
    5
    Views
    809

    Addressing Nested Container Children

    Still trying to grok the new Display List.

    How do I, as in what is the most efficient syntax, to address the children of nested container objects? Here's an example:


    var Clip1:Sprite = new...
  17. Replies
    5
    Views
    678

    MOUSE_MOVE --nice! Thanks again for the help...

    MOUSE_MOVE --nice!

    Thanks again for the help 5Tons!

    Len
  18. Replies
    5
    Views
    678

    Wait a minute, success! Why was I trying to pass...

    Wait a minute, success! Why was I trying to pass the value of handle.y to a global var anyway?


    var handle:Sprite = new Sprite();
    handle.graphics.beginFill(0x4075ED);...
  19. Replies
    5
    Views
    678

    Thanks Kid Charlie! but your suggestions returns...

    Thanks Kid Charlie! but your suggestions returns error messages, "Access of undefined property dgtimer" for all 4 instances.

    I also tried the following, but still no luck:


    var handle:Sprite =...
  20. Replies
    5
    Views
    678

    Live Dragging & Event Functions

    AS3 noob questions:

    I'm trying to write a live drag in AS3 but I've had no luck so far. Here's my latest failed prototype:


    var handle:Sprite = new Sprite();...
  21. Replies
    10
    Views
    1,026

    Thanks Josh! //a container var...

    Thanks Josh!


    //a container
    var intrcptrs:Sprite = new Sprite();
    clip.addChild(intrcptrs);

    //loop out the intrcpts
    for (i=0; i<points.length; i++) {
    this.intrcpt[i] = new Sprite();
  22. Replies
    10
    Views
    1,026

    OK, now I'm starting to get it a little bit more:...

    OK, now I'm starting to get it a little bit more:


    var intcpt:DisplayObject = clip.getChildAt(4);
    intcpt.x += 10;

    Has anybody got some similar dynamic content code samples I can look at, or...
  23. Replies
    10
    Views
    1,026

    Well, that's not working. Here's my code: ...

    Well, that's not working.

    Here's my code:

    for (i=0; i<points.length; i++) {
    var intrcpt:Sprite = new Sprite();
    intrcpt.name = "intcpt"+i;
    intrcpt.addEventListener(MouseEvent.ROLL_OVER,...
  24. Replies
    10
    Views
    1,026

    Ah, I'm beginning to see the AS3 Display List...

    Ah, I'm beginning to see the AS3 Display List light =)

    Thanks @5tons, ATaco!

    After doing AS2 for so long, it feels like the rug has been pulled out from under me and I'm having to relearn...
  25. Replies
    10
    Views
    1,026

    OK, so how would I tell the 3rd box you created...

    OK, so how would I tell the 3rd box you created to move 3px to the right?
Results 1 to 25 of 78
Page 1 of 4 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center