Be a Supporter!
Response to: Changing mc color from hex code AS3 Posted October 17th, 2014 in Game Development

At 10/17/14 05:22 AM, Knight52 wrote: You have to update the value when after click too.

Gah, so simple! That did the trick!

Thanks a lot!


Hello,

First of all, this is my first attempt ever at programming with Actionscript 3, so expect rookie mistakes!

I am trying to develop a very simple app where you can type any hex color code in an input text box, press a button, and TA-DA, the movie clip on the stage changes to that color.

On the stage I have the movie clip I want to color, called "square"(which is originally blue), an input text box called "hexcode"(with the code FFFFFF, pure white, in it) and a button called "readhex". Here's my code:

var colorValue:String = hexcode.text;
var my_color:ColorTransform = new ColorTransform();
my_color.color = Number("0x" + colorValue);
hexcode.restrict = "01234567890abcdefABCDEF";

function changeColor(e:MouseEvent):void {
square.transform.colorTransform = my_color;
}

readHex.addEventListener(MouseEvent.CLICK, changeColor);

When I test the movie the button works, but it only changes the color to white, even if I type a completely different hex code in the text box before clicking the button. It's like it won't update the text after I type something new in. I'm probably missing something really obvious. I made a similar app with Actionscript 2 using setRGB and it works like a charm.

Hope someone can help me with this. Thanks in advance!

Response to: Can't find old animation series Posted September 11th, 2014 in Where is / How to?

AH, five minutes later, I found it!

  • Las aventuras de Mr.Coo
    Las aventuras de Mr.Coo by nachotururu

    Mr Coo surreal adventures against fluxy beings and himself

    Score
    4.27 / 5.00
    Type
    Movie
    Popularity
    171,369 Views
    Rated
    Everyone

Oh well, guess I saved you some trouble. If you haven't watched them, that's your chance, they are pretty good! Cheers!

Can't find old animation series Posted September 11th, 2014 in Where is / How to?

Hello, Newgrounds, how have you been?

I'm having a really hard time looking for this old animation series I used to enjoy very much. There were four or five short movies, maybe more, released a few years ago. The main character's design was pretty simple yet effective, so I've attached a very quick sketch i made of how I remember him. I'm not sure about the body, but the head was quite peculiar, I believe he looked a lot like that.

Anyway, in each movie he went through some random, surreal adventures, with objects turning into characters, crazy stuff. I guess they didn't really have much of a point, but they were beautifully animated, I remember the author had very impressive frame-by-frame skills. In each movie the animation got more detailed and sophisticated than the last. I don't really remember plot of any of them, only some random scenes, so I'm sorry if this post is too vague. I'm hoping someone will look at the drawing and know its name! Also, for some reason I think the author's first language is spanish, but I might be wrong.

Hope someone can help me! Thanks in advance!

Can't find old animation series

Response to: Random art anyone? Posted January 21st, 2011 in Art

Crap

Random art anyone?

Response to: Sonic art collab Posted July 24th, 2010 in Art

You silly hedgehog, forgetting to wear your glove and shit.

Sonic art collab

Response to: Sonic art collab Posted July 22nd, 2010 in Art

You people disgust me

Sonic art collab

Response to: Sonic art collab Posted July 21st, 2010 in Art

waht

Sonic art collab

Response to: Creature Of The Week #80 Posted January 31st, 2010 in Art

I spent way too long on this motherfucker.

So I'm new to this digital painting thing, guess this was some good practice.

In the near future, this deformed beast lives close to radioactive waste storages. It has mutant cells capable of storing static electricity, that can later be released on a deadly lightning bolt, which it uses to slaughter its preys or scare larger predators.

Hope you like it, it's kinda big so make sure you check the large version.

Creature Of The Week #80

Response to: Art Collaboration Thread Posted January 29th, 2010 in Art

Have fun :3
.psd

Art Collaboration Thread

Response to: COW #79 Voting Posted January 25th, 2010 in Art

Hound-of-soundwave. Interesting choices of animals and great use of their parts.

Response to: Creature Of The Week #79 Posted January 19th, 2010 in Art

WIP That'll probably fail.
JUST FELT LIKE SHARING.

Creature Of The Week #79

Response to: Design my level icon! Posted January 8th, 2010 in Art

At 1/7/10 11:06 PM, Luis wrote:
At 1/7/10 08:37 PM, TheChomper wrote: Bitches
that looks like sanjay

shit... >:C
I knew it didn't look a lot like you, but now that it reminds you of someone else I guess it's already out.
Whatever, I might make a better one if I have time.

Response to: Design my level icon! Posted January 7th, 2010 in Art

Bitches

Design my level icon!

Response to: Design my level icon! Posted January 6th, 2010 in Art

Damn that icon is so small D:

I'll try and make a proper submission later.

Design my level icon!

Response to: Boom De Ah Dah Posted September 28th, 2009 in Game Development

At 9/28/09 12:58 PM, DrClay wrote:
At 9/28/09 03:55 AM, Sunrie wrote: I don't think CS4 has the ability to do that...CS3 did, but not 4.
ahhhh, Fuck....
theres no way I can give the FLA file for that now...

You can always save it as a CS3 file and then ask someone with CS3 to save it as a Flash 8 file...

Response to: Boom De Ah Dah Posted September 19th, 2009 in Game Development

fuck.

Boom De Ah Dah

Response to: Boom De Ah Dah Posted September 19th, 2009 in Game Development

Sup. Here's the image thingy.

Get the fla for BESTEST QUALITY.

Response to: Does Cs3 Mix With Snow Leopard? Posted August 30th, 2009 in Game Development

Apparently Adobe hasn't tested CS3's compatibility with Snow Leopard. Check out these articles for more info.

Response to: where can I find a good V-cam? Posted August 24th, 2009 in Game Development

At 8/24/09 05:26 PM, blank0000 wrote: as stated, I need a V-cam, don't know how to make one, where can I get one?

Knock yourself out.

is it so hard to google "vCam"? >:(
Response to: [art-flash Collab]-colours In Three Posted August 10th, 2009 in Art

Here's my shit. And the .swf.

[art-flash Collab]-colours In Three

Response to: Boom De Ah Dah Posted August 9th, 2009 in Game Development

Phew I think I'm finally done. Here it is. I'll send you the .fla if you think that's ok.

About the co-authors, I think you should choose them based on their part's quality.

Also, is anyone doing the menu? I might be able to make some art for it if you need.

Response to: Zooming In Help Posted August 8th, 2009 in Game Development

Try using a vCam.

Response to: Donkey Kong Classic Remake! Posted August 7th, 2009 in Game Development

At 8/7/09 04:53 PM, micky315 wrote: I'm looking for an animator that could animate a remake of this game with me. (I'll be doing animation)

You mean a programmer...?

Response to: [art-flash Collab]-colours In Three Posted August 7th, 2009 in Art

WIP. I kinda wish I had chosen other colors, I might change them.

Any sugestions on how I should make the shadow? I had an idea but it turned out crap...

[art-flash Collab]-colours In Three

Response to: Boom De Ah Dah Posted August 5th, 2009 in Game Development

So my part is coming along painfully slow. Hope I can finish it soon...

Response to: Color-An-Alien Posted August 3rd, 2009 in Art

Not creative enough >=(

Color-An-Alien

Response to: Boom De Ah Dah Posted July 29th, 2009 in Game Development

At 7/29/09 12:11 AM, Sunrie wrote: Right now my only critique is on the whale's movement. The first bit of tweening is slower than the second half of it. It may just be a thing other animators notice because it's not terribly slower.

I would maybe add in a short animated section of her blowing water out of the blow hole like in the older cartoons just to add a little something "extra" to the scene as well.

Those are my only two suggestions. I like it a lot.

Thanks. :)

About the two parts of the whale movement, I made one shorter then the other to try to fit the song. During the first half she says "I love" and during the second, "the ocean". I kinda wanted it to look like she was swimming along with the song... :P

And I considered making the whale blowing water... but I thought it'd be too hard to animate that in that clean style. Anyway there's plenty of time until the deadline se I might still add some stuff here and there such as her blowing water. :)

Response to: Boom De Ah Dah Posted July 28th, 2009 in Game Development

Preview.

So yeah I just need to do the lip sync and I'm done. I'll be away for a few days though, so I won't be finishing it so soon. Any critiques?

Yeah I'm a slow animator, live with it. :(
Response to: Make a MC smaller. Posted July 28th, 2009 in Game Development

At 7/28/09 04:36 PM, JPGarcia wrote: @ TheChomper
"edit multiple frames"?
Is that even possible?

Look at the image FlashtooREV posted, it shows the Edit multiple frames button. It looks just like the onion skinning, but you can select all the frames instead of just one and edit them all at the same time.