| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Deprecated User?
|
No, it's not what it sounds like...................
![]() Well we've been talking about a new challenge, so how about this one? Rules: ==================
================== Think drunk, make flash. No, don't get drunk and make flash......thought it is fun. I don't want to say too much because I don't want to hinder your creativity but here are a few starter ideas:
I'll try and post something soon, though I'm not even sure how I want to approach this yet.
__________________
Check out my comic strip: With a Twist Last edited by dzy2566; 01-07-2004 at 01:48 PM.. |
|
|
|
|
|
#2 |
|
ruby on rails fan :)
|
funny, i was thinking about a drink related challenge, because of subquark's asking about drink recipes. I couldn't come up with anything though. This should be fun.
![]() |
|
|
|
|
|
|
|
|
#3 |
|
Deprecated User?
|
I hope so. Yeah, that's probably why it popped into my head.
@ subquark: I gave you a recipe, you owe me a script ![]()
__________________
Check out my comic strip: With a Twist |
|
|
|
|
|
#4 | |
|
yep, it's martini time!
Join Date: Jun 2002
Location: Boston
Posts: 1,980
|
hm, I like it. I had put out a challenge a long time ago:
http://www.actionscript.org/forums/s...ail#post148658 Quote:
keep in mind that I have to drink before I code! ![]()
__________________
mr. olive . . . hold on to your monkey! |
|
|
|
|
|
|
#5 |
|
Deprecated User?
|
Well, then you're a perfect candidate for this challenge.
![]()
__________________
Check out my comic strip: With a Twist |
|
|
|
|
|
#6 |
|
yep, it's martini time!
Join Date: Jun 2002
Location: Boston
Posts: 1,980
|
hold on, let me get the olive out of my ear, . . . now what did you say? surely I misunderstood you!
![]()
__________________
mr. olive . . . hold on to your monkey! |
|
|
|
|
|
#7 |
|
yep, it's martini time!
Join Date: Jun 2002
Location: Boston
Posts: 1,980
|
so dzy2566 what do you do for a living to have as much time as I do to goof off? really eLearning development?
__________________
mr. olive . . . hold on to your monkey! |
|
|
|
|
|
#8 |
|
ruby on rails fan :)
|
i gotta go to the liquor store now
just one thing I'm not totally clear on- what counts as a line - but this is the way I understand it ActionScript Code:
|
|
|
|
|
|
#9 |
|
yep, it's martini time!
Join Date: Jun 2002
Location: Boston
Posts: 1,980
|
this looks like one line to me from the opening { to the closing}.
drink = function () { if (BAL > .25) {person.onEnterFrame = function () { puke(); } } else { delete person.onEnterFrame; drinkMore(); } } technically, yes . . .nice function btw
__________________
mr. olive . . . hold on to your monkey! |
|
|
|
|
|
#10 |
|
ruby on rails fan :)
|
yeah, but then you could fit tons of stuff into just one function, so it would have to be more than one line. I'm just not sure about the else statement and the declaration statement, etc. Looking back the function doesn't really work right but it was for illustrative purposes. besides the BAL should be much higher
![]() |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|