You are viewing old version of our website. Please click on HOME link to be redirected to new site. Thanks.
anyone here good with java programing? |
From: sg1star
| Posted: 12/18/2005 1:17:37 AM
|
|
Posts: 145
|
anyone here good with java programing?
anyone here really good with java programing, i need help
|
|
From: timwylie
| Posted: 12/18/2005 1:20:12 AM
|
|
Reticent Troll
Posts: 253
|
RE: anyone here good with java programing?
Yeah, I can help. Shoot me a PM.
|
|
From: sg1star
| Posted: 12/18/2005 1:28:50 AM
|
|
Posts: 145
|
RE: anyone here good with java programing?
pm sent
|
|
From: sg1star
| Posted: 12/18/2005 4:02:55 AM
|
|
Posts: 145
|
RE: anyone here good with java programing?
timwylie got it working, hes a life saver,
once agian,
thanks timwylie
|
|
From: youngbat
| Posted: 12/18/2005 4:14:53 AM
|
|
Posts: 150
|
RE: anyone here good with java programing?
I used to be a full-time java programmer for a company called I/net. This is different from java-script I might add. Java is what they call an "object oriented" language. You create a "class", which is a program that contains x amount of functionality. then other classes can inherit the functions of that class, and you can build a tree of classes, all inheriting functions from the parent class. Neat stuff. When your program is finished, you compile it and create what is called an "Applet". Java is a language heavily based on the "C, and C++" language.
|
|
From: Tim
| Posted: 12/21/2005 10:32:39 AM
|
|
elibomtab
Posts: 2411
|
RE: anyone here good with java programing?
How about Flash ActionScript? Is anyone here good with that?
|
|
From: timwylie
| Posted: 12/21/2005 10:50:10 AM
|
|
Reticent Troll
Posts: 253
|
RE: anyone here good with java programing?
I did a ton of actionscript at one point but it's been almost two years since I've really messed with it. why?
|
|
From: Tim
| Posted: 12/21/2005 1:54:06 PM
|
|
elibomtab
Posts: 2411
|
RE: anyone here good with java programing?
I want to create a color selection tool. Imagine a photo of a boat and a palette of colors. First you select "hull" and then you select a color and the hull changes to that color. Then you select "stripe" and then select a color for the stripe and so on.
So far, I can do that. Where I am having trouble is I want the color to change as I mouse over the colors. When I mouse off the color it reverts to the default color OR the last color that was selected by the user. I assume I will need to use variables which I really have never used, so I'm reading and looking for advice...
|
|
From: timwylie
| Posted: 12/21/2005 2:23:46 PM
|
|
Reticent Troll
Posts: 253
|
RE: anyone here good with java programing?
http://www.zeroplace.com/flash/mouseovers/mouseovers.html
I don't know if that will help or not. I think what I would do in that situation is make sure the hull is a symbol (which I'm sure it is, or a button at least) and declare it global like _global.symbolname, or you could get the entire path using _root.etc.symbolname depending on where it's located.
Then, each of your color objects could have an over keyframe or could have code like:
on (rollOver) {
oldcolor = _global.symbolname.color
_global.symbolname.color = palette value;
}
on (rollOut) {
_global.symbolname.color = oldcolor;
}
Of course, I'm not sure at all how you're setting your colors, but hopefully this will help some. Here's an example using the rollovers.
http://www.actionscript.org/tutorials/beginner/Navigation_Circle/index.shtml
|
|
From: Tim
| Posted: 12/21/2005 3:01:30 PM
|
|
elibomtab
Posts: 2411
|
RE: anyone here good with java programing?
Sorry guys, this has turned into a programming forum...
Thanks, I'm not sure I completely follow all that, but I will go over carefully.
There are probably several ways of doing this but here is what I have so far:
A background image of the boat. A movie clip for each colored area which has all of the various colors set up at different frames. When you click on a color button the movie clip goes to the corresponding frame and stops. If they click on a different color then the movie clip goes to that frame and stops. I could also set it up to change on the mouseover, but how do I get it to go back to last color selected when they mouse out?
In case that's not clear... Let's say the stripe starts out white. When they mouse over the various color options they see the stripe change to those colors. If they mouseout, it goes back to white. If they click on red, then it stays red when they mouseout. Next, if they mouseover the colors again they change just like before but when they mouseout it goes back to red NOT white.
I thought maybe I could create a variable called "currentColor" and when they click on a color the "currentColor" is changed to that color. that way I can tell it to go to "currentColor" when they mouseout.
I'm probably just going to have to play with it...
|
|
|
|
|