Search:
Type: Posts; User: doognam
Search:
Search took 0.05 seconds.
-
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();...
-
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...
-
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...
-
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...
-
Thanks this is exactly what I needed.
-
here is what I've been experimenting with:
-
Please I know this is a difficult one but if anybody can help.
-
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...
-
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?
-
Sorry yes I meant attach an eventListener. And I think this will help thx.
-
is there a way to attach an event to a class to find out when a specific function in that class has been called?
-
Can fonts be dynamically loaded or do all of the fonts have to be compiled into a swf?
-
lol yeah I didn't think of that thx.
-
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...
-
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...
-
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...
-
Wait I think I got it.
baddieArray.push(new Baddie())
is that right?
-
how do I put the class into the array directly? That sounds exactly like what I need to do.
-
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...
-
I was afraid of that. OK Thx for your help
-
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...
-
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.
-
Does anybody have a clue how to do this? I'm really stuck.
-
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)...
-
I found the program to do this. If anybody is interested here it is.
http://www.sobolsoft.com/joinflv/
|
Click Here to Expand Forum to Full Width
|