$KaBlog[5]="Flash";

Posted by KaBob799 on Nov. 8, 2007, 9:30 p.m.

You have loaded entry 6 (it started at 0) in the kablog area.

Actionscript sucks. Thats my opinion of it after a day of trying to learn it. The entire language is too complicated, if it werent for the popularity of flash i would just stick with java. Flash programming is needlessly complicated and honestly I have no idea what they were thinking when they did some of this stuff. Now, im not using the latest version of flash, but I doubt its improved too much. What i wouldnt give for depth= and instance_create

I also really dont care what good things you have to say about actionscript =p

right now theres 2 games i want to make in flash, a shooter and an actiony puzzle type game, who knows if ill ever figure this out.

Other than that ive been working very hard on PycoForums an its getting so close to a public release.

Im working on a book titles Syphon which i came up with a couple weeks ago. Im not rushing writing this thing though, maybe got half a chapter written. Im taking my time so that I dont end up with a rushed story.

Quote: my last blog
Ok so ive got this code

<script type="text/javascript">

function do_col_change(obj,edited) {

document.getElementById(edited).style.backgroundColor = 'white';

document.getElementById(edited).style.backgroundColor = obj.value;

}

its supposed to change the background color of a td to whatever is in a text field. It works in IE but I just tested in opera and it doesnt work =/

Anyone know why?
and yes ive tried google

Comments

Treebasher 17 years, 2 months ago

Why do you have <tt>document.getElementById(edited).style.backgroundColor = obj.value;</tt>? It doesn't look like you would need it. Maybe try looking at W3C validation errors for it or something?

KaBob799 17 years, 2 months ago

document.getElementById(edited).style.backgroundColor = obj.value;? iswhat sets it to the value in the text field, the other line sets to white in case whatever the field contains isnt a color.

Treebasher 17 years, 2 months ago

Oh, so you are trying to change the color of the text field depending on what color is entered in it? Hmm…it looks like it should work…

It actually looks like W3C doesn't validate JavaScript. Maybe you need to do something like <tt>getElementById(obj).value</tt> or something, but I don't know.

Cesar 17 years, 2 months ago

OMFG IT IS BOB! HAI!

Also, I are restricted from the interwebs =(

Kaz 17 years, 2 months ago

Finally, someone who agrees with me on AS. I tried for days but the most I got was a circle to move to keypresses =/

KaBob799 17 years, 2 months ago

yeah I managed to get a pentagon to move with keydown and rotate but thats all I got <_<

KaBob799 17 years, 2 months ago

well thats not a problem the code just does not work in browsers besides ie, no matter ifits a hex code or not

Fishy Boy 17 years, 2 months ago

I agree. I've been trying to work with ActionScript, but it is so full of crap. If it was essentially a clone of C++ like Game Maker, it would be great, but managing all the game objects is madness. You can make games in it, but it's so difficult to make a game that would run 10 times faster in something else that it's hardly worth it.

JoshDreamland 17 years, 1 month ago

Shit, I've always hated that about JS. I have no clue. =\