A Flash Developer Resource Site

Search:

Type: Posts; User: khamul02

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    341

    Returning All objects under a mouseDown

    Lingo as something like all models under mouse, which sends back an Array.

    Does Flash have a way to provide an Array of all objects under a mouseEvent such as a mouseDown.

    target and...
  2. Well, I got the indexing figured out. It needs to...

    Well, I got the indexing figured out. It needs to be a sprite (I guess) but now I'm getting this occasional weird doubling type effect?






    const CANVAS:Sprite = new Sprite();
    var...
  3. Here is an example of what is going on. Basically...

    Here is an example of what is going on. Basically I want the shape to be drawn over the text fields. At some point I'm going to have the shape snap to the coordinates of the text boxes. I'm...
  4. One thing, I'm nesting it in a MC so that the...

    One thing, I'm nesting it in a MC so that the shape can only be drawn there and no where else on the stage.
    It draws the shape behind my other mc's nested there (which will be generated dynamically...
  5. Many thanks . . Works perfectly & the boolean was...

    Many thanks . . Works perfectly & the boolean was something I was going to add :)
  6. dynamically drawing a rectangle with the mouse

    I've done a bit of searching here and have come up empty.
    I need a simple example of as 3 that allows the user to draw a rectangle using mouseDown (start location/point) and mouseUp (end...
  7. We figured out that you can not pass a single...

    We figured out that you can not pass a single structure so you need to package it in an array.

    Other than that issue it works pretty much as it is shown above. Here is our code:


    //...
  8. anybody?

    anybody?
  9. Cool, I like this one better: event.currentTarget

    Cool, I like this one better: event.currentTarget
  10. Well, I cheated for now: ...

    Well, I cheated for now:

    trace(event.target.parent.thisX);

    Is there another way to avoid this event nested text field error?
  11. This code produces the same error:...

    This code produces the same error:
    trace(event.target.thisX);
    Both work when you click an area on the Mc that the text box is not on but if you click the text box within the Mc . . . error
  12. Thanks for the fast responce! One thing about...

    Thanks for the fast responce!
    One thing about this method:
    trace( answer_box(event.target).thisX );

    Is giving me this error:

    TypeError: Error #1034: Type Coercion failed: cannot convert...
  13. Referencing a var within a dynamically created button via an attached function

    I'm having a issue using a var within a button.
    I create the button and add the var to the to button:

    addChild(answerButton);
    answerButton.thisX = ii; // temp value that changes with each...
  14. Replies
    1
    Views
    306

    How to drill up to a class

    All of the paths I've seen drill down through folders. Such as this one I'm currently using import classes.bean.TaskStep
    since our project is using 200 + swfs all having different purposes I want...
Results 1 to 14 of 14




Click Here to Expand Forum to Full Width

HTML5 Development Center