A Flash Developer Resource Site

Search:

Type: Posts; User: doognam

Page 1 of 6 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    2,131

    I found an awesome solution: //Clones an...

    I found an awesome solution:

    //Clones an object filled array, multi-dimensional arrays, or complex object
    private function clone(source:Object):*
    {
    var myBA:ByteArray = new ByteArray();...
  2. Replies
    3
    Views
    2,131

    almost there

    Thanks jAQUAN this points me in the right direction. The only problem is the object I'll be cloning will be dynamic. I won't know the name of the array or if there will always be an array. Any ideas...
  3. Replies
    3
    Views
    2,131

    [RESOLVED] How do you duplicate an object?

    duplicating an object doesn't seems to work if the original object contains an array. Is there a way around this? Here's my code:

    var originalObj:Object = {people: [{nm: "max"}], age:41, city:"Los...
  4. Replies
    5
    Views
    3,907

    Catch falling objects game.

    I’m trying to program a “catch the falling objects” game. Image you have a plate at the bottom of the screen (controlled by the mouse) that moves back and forth catching falling crackers. That...
  5. Replies
    4
    Views
    731

    Thanks this is exactly what I needed.

    Thanks this is exactly what I needed.
  6. Replies
    4
    Views
    731

    here is what I've been experimenting with:

    here is what I've been experimenting with:
  7. Replies
    4
    Views
    731

    Please I know this is a difficult one but if...

    Please I know this is a difficult one but if anybody can help.
  8. Replies
    4
    Views
    731

    Text arcing with Actionscript

    I have a project that needs to take dynamic text and arc it. Similar to this:
    http://www.no-refresh.com/button_designer/
    In this example, select a font then click “create text item”. At this...
  9. Can fonts be measured in pixels instead of points?

    I have a movieClip with a dynamic text field in it that needs to scale. The problem is when I scale the clip the fonts disappear. Any ideas on how I can solve this?
  10. Replies
    3
    Views
    578

    Sorry yes I meant attach an eventListener. And I...

    Sorry yes I meant attach an eventListener. And I think this will help thx.
  11. Replies
    3
    Views
    578

    attaching an event to a class

    is there a way to attach an event to a class to find out when a specific function in that class has been called?
  12. Replies
    1
    Views
    397

    dynamically loading fonts

    Can fonts be dynamically loaded or do all of the fonts have to be compiled into a swf?
  13. Replies
    2
    Views
    480

    lol yeah I didn't think of that thx.

    lol yeah I didn't think of that thx.
  14. Replies
    2
    Views
    480

    Sending an email

    I have a game where at the end there is a "send to friend" feature. Normally I would collect the user's name, friends name, friends email, then make a call to a php script, pass the information and...
  15. Replies
    3
    Views
    2,632

    Actually what I need to do is not as advanced as...

    Actually what I need to do is not as advanced as the example above. I don't need the light to reflect off of anything. I just need the area the light is shining to be revealed. My guess is you would...
  16. Replies
    3
    Views
    2,632

    programmng fog of war in AS3

    I have a game where the hero walks around in the dark with a flash light. I want the level to be grayed out except for the areas the flash light is pointed in.

    I've tried a few things but couldn't...
  17. Replies
    5
    Views
    545

    Wait I think I got it. baddieArray.push(new...

    Wait I think I got it.

    baddieArray.push(new Baddie())

    is that right?
  18. Replies
    5
    Views
    545

    how?

    how do I put the class into the array directly? That sounds exactly like what I need to do.
  19. Replies
    5
    Views
    545

    adding a movieclip to the stage

    normally when i want to add a movieclip to the stage I would do this:



    var baddie = new Baddie ();
    addChild(baddie);


    but I have an array of linkage ID's that I select from randomly at...
  20. Replies
    2
    Views
    523

    I was afraid of that. OK Thx for your help

    I was afraid of that. OK Thx for your help
  21. Replies
    2
    Views
    523

    How do you rotate a sprite dynamically

    I have a sprite on the stage let's say a square, when the user clicks anywhere I want the sprite to rotate toward the mouse. Here is the code I'm using


    var dx = mouseX - square.x;
    var...
  22. I'm loading several images into cHolder. And I...

    I'm loading several images into cHolder. And I need each image to be clickable. I'm doing this so I can move all images at the same time by just movie cHolder.
  23. I really could use some help with this

    Does anybody have a clue how to do this? I'm really stuck.
  24. How do you make a dynamically loaded image clickable

    I loaded a swf and placed it in a movieclip on the stage. When I try to make this image clickable nothing happens.

    Here's my code:


    var sprite = cHolder.addChild(ldr)...
  25. Replies
    4
    Views
    4,277

    I found it

    I found the program to do this. If anybody is interested here it is.
    http://www.sobolsoft.com/joinflv/
Results 1 to 25 of 128
Page 1 of 6 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center