PDA

View Full Version : VOTE: new TAG colors for AS[org]


Flash Gordon
05-11-2005, 07:42 PM
Hello AS[org] folks,

As you all are aware by now the tags have changed here lately. I actually found the old tag colors easier to read. There was more of a contast between them. Currently, the off-white-quasi-light-pink background with the light green doesn't really get me going like the old style did. So vote here on what you think they should be. And this poll has its okay by Jesse (here (http://actionscripts.org/forums/showthread.php3?t=66248) ) so i bet he will be watching.

I'm voting for the old colors (or at least change the background).

Thanks and happy actionScripting.

cxn926
05-11-2005, 08:55 PM
i hate the new tags. they hurt my eyes. BRING THE OLD ONES BCAK!!!!!!!!!!!!!!!!!!!!

Gibberish
05-11-2005, 10:02 PM
I like the new colors, just change the background color. Maybe the same color as the user info background.

Jesse
05-12-2005, 01:20 AM
Here's a piece of sample code so everyone knows what we're talking about..
// ScrollPaneClass KeyDown Controller Module v1
// Jesse Stratford, ActionScript.org, jesse@actionscript.org
// This code is free for public use but this header must
// remain unalterred.
FScrollPaneClass.prototype.listenForArrows = function() {
var scrollInc = 5;
var this_sp = this;
this.arrowListener = new Object();
this.arrowListener.onKeyDown = function() {
var curScroll = this_sp.getScrollPosition();
if (Key.isDown(Key.LEFT)) {
var newX = Math.max((curScroll.x-scrollInc), 0);
this_sp.setScrollPosition(newX, curScroll.y);
} else if (Key.isDown(Key.RIGHT)) {
// No guard on upper bound as no method returns
// upper limit. This doesn't seem to be an issue
// as trying to exceed the upper bound does
// nothing anyway.
var newX = curScroll.x+scrollInc;
this_sp.setScrollPosition(newX, curScroll.y);
} else if (Key.isDown(Key.UP)) {
var newY = Math.max((curScroll.y-scrollInc), 0);
this_sp.setScrollPosition(curScroll.x, newY);
} else if (Key.isDown(Key.DOWN)) {
var newY = curScroll.y+scrollInc;
this_sp.setScrollPosition(curScroll.x, newY);
}
};
return this.arrowListener;
};
this.attachMovie('FScrollPaneSymbol', 'my_sp', 1);
my_sp.setScrollContent('test');
Key.addListener(my_sp.listenForArrows());

Someone send me an email in a few days when this poll has had time to be voted on and I'll make the necessary changes.

senocular
05-12-2005, 01:42 AM
I kind of like the new colors. I was admiring how much easier they are to read now.

Gibberish
05-12-2005, 02:50 AM
I'm on my home computer now and I like the new colors. At work the message background and the code background are both white. At home the code background is white and the message background is a light really light blue/grey.

farafiro
05-12-2005, 06:34 AM
Old Is Gold
I like the new one but I'm too old to get fmiliar with new tag's color
;)

senocular
05-12-2005, 10:53 AM
I'm on my home computer now and I like the new colors. At work the message background and the code background are both white. At home the code background is white and the message background is a light really light blue/grey.
I think you need to calibrate your monitor at work ;)

Ricod
05-12-2005, 02:27 PM
I don't really remember the old ones ... :( I must be getting old.
But I don't dislike the new ones, so personally I see no reason for a change.

oldnewbie
05-12-2005, 02:53 PM
This can't be right... Seems there's still something wrong with the AS tags...

http://www.actionscripts.org/forums/showthread.php3?p=349310#post349310

senocular
05-12-2005, 04:06 PM
This can't be right... Seems there's still something wrong with the AS tags...

http://www.actionscripts.org/forums/showthread.php3?p=349310#post349310

the quote isnt closed in the script so the color coding for quoted text never ends.

tg
05-12-2005, 04:06 PM
This can't be right... Seems there's still something wrong with the AS tags...

http://www.actionscripts.org/forums/showthread.php3?p=349310#post349310


yep... they just need to program the as tags so that they can correct our mistakes...

you forgot to close the string with an end quote(") in your trace statement.

tg
05-12-2005, 04:07 PM
doh! senocular beat me to it. heh.


maybe we should have a poll on whether or not he as tags should be self correcting.

CyanBlue
05-12-2005, 04:12 PM
I'll all for it if AS tag can correct all the syntax problems... :D

mmm..pi..3.14..
05-12-2005, 07:58 PM
What I'd kinda like to use is the tab button when making a reply.

I hate having to write out code, then format it myself by going through each individual line and indenting it a certain amount by pressing the space bar. If your making a reply and you hit the tab button, the page automatically jumps down to the "Post Quick Reply" button....just save my fingers the pounding...

senocular
05-12-2005, 08:09 PM
just keep a tab character copied on the clipboard ;)

CyanBlue
05-12-2005, 08:28 PM
Script...
if (condition)
{
trace("true");
}
else
{
trace("false");
}
With AS tag...
if (condition)
{
trace("true");
}
else
{
trace("false");
}

You do not need to supply the TAB chracter or spaces to format it... AS tag formats it automatically...

senocular
05-12-2005, 09:16 PM
the as tags can screw up some things though. I dont know how this formatting works. Lets see... I dont know if I can think of an example or not...

var my_array = [
{x:10, y:10},
{x:10, y:10},
{x:10, y:10}
];
var my_object = {
a:{x:10, y:10},
b:{x:10, y:10},
c:{x:10, y:10}
};

cxn926
05-12-2005, 09:17 PM
they should have it like in the user cp in options or something we get to choose the bkg color and the font color. well that is hard to do but that would be nice. and also we need xml tags so it looks like a file or something.

senocular
05-12-2005, 09:19 PM
they should have it like in the user cp in options or something we get to choose the bkg color and the font color. well that is hard to do but that would be nice. and also we need xml tags so it looks like a file or something.

That might not be so hard. A forum style could support that. I dont think it would be customizable, but we could have a few selections of what style to use each which could affect coloring of the tags (though it might seem like a far way to go just to change tag coloring)

Actually I just noticed the formatting is handled inline. That could probably be recoded easily enough

mmm..pi..3.14..
05-13-2005, 01:59 AM
hmmm...strang, I never noticed that. Did the old AS tags used to do auto indenting?? I can vividly remember having to indent manually on the old tags.

Jesse
05-13-2005, 02:15 AM
Nah I think they did it... indent I mean...

Jesse
05-13-2005, 02:18 AM
We prolly could integrate the user CP choice of colors but in terms of available time it might not be worth it. Like the 5 hours it would take me to learn how to do it and do it right might be better spent doing something else on the site. Like fixing those two bugs in the employment section :)

Plus it would be nice to have a consistent feel across the site. Call me old fashioned.

mmm..pi..3.14..
05-13-2005, 02:22 AM
Make it a challenge...

Come up with a PHP script where you can choose the colors for the formatting, then display a simple actionscript class on the page...

race ya :p

Jesse
05-13-2005, 02:54 AM
OK I've changed the colors and format back to what they used to be. I've also adapted the file so that it uses <span> tags instead of <font> tags. The old one did that too and it's just a bit nice for XHTML compliance :) And it means the colors ar elinked into our style sheet so we can doa global site change at any time, coz all the tutorials use the same system.

mmm..pi..3.14..
05-13-2005, 04:03 AM
You did?? The "if" statements are still purple and the background is still bright white...or does my computer have drain bamage?? :confused:

cxn926
05-13-2005, 12:13 PM
wait. mine went back too. ?!?!?!?!?!?!?

bluegel
05-13-2005, 03:22 PM
whats a tag?

cxn926
05-13-2005, 09:50 PM
a tag is something u use to show a code such as a AS tage with it [as] if you know what i mean bluegel

senocular
05-13-2005, 09:59 PM
I dont like the new colors. I liked the old ones better. The comments are too overwhelming and are too close in color to keywords

CyanBlue
05-13-2005, 10:14 PM
Yup... Me hate that pinkie color... :(

Jesse
05-14-2005, 01:59 AM
Hehe all I did was put it back to exactly what the tutorials use, and what we used to have! Looks like not that many people like the old feel after all ;). How about someone propose a color set and the rest of you comment on it in favor or against. Let me know the hexadecimals an I'll set it up, sitewide. So long as it's cool with Strok as he's our look and feel guru and any change will affect the tutorials as well.

mmm..pi..3.14..
05-14-2005, 02:31 AM
Foreground Color (Plain text/custom variables): 0x000000
Keywords: 0x000084
Identifiers: 0x000084
Strings: 0x0000FF
Background Color: 0xEDEDED

Probably not everyones favorite...but I fear change :o

CyanBlue
05-14-2005, 07:07 PM
Keywords: 0x000084
Identifiers: 0x000084

Can we get different colors on those??? ;)

mmm..pi..3.14..
05-15-2005, 12:45 AM
Something darker if anything, possibly navy blue-ish??

cxn926
05-21-2005, 02:17 PM
i am now getting pretty fond of the new as tags now