00:00
00:00
Upgrade Your Account!

Hey! To start this decade right, we believe Newgrounds should be ad-free for EVERYONE. For this to work, we need people who have the means to become paying supporters. For just $3 per month or $25 for the year, you can help this happen and get some nice perks!

For the month of January we have disabled ads on all E-M content. We need 164 people to reach our January goal of 3,000 active supporters. If we hit that, we'll continue with a new goal in February!

Please check out our Supporter Upgrade and consider coming aboard!

As: Main

671,339 Views | 1,520 Replies
New Topic Respond to this Topic

Response to As: Main 2005-11-18 18:50:07


At 11/18/05 06:16 PM, dELta_Luca wrote: i have a headache

What, no sex tonight? You don't love me like you used to.


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-11-18 19:09:54


At 11/18/05 06:50 PM, Denvish wrote:
At 11/18/05 06:16 PM, dELta_Luca wrote: i have a headache
What, no sex tonight? You don't love me like you used to.

lol, in the meantime GG appears to have finnaly pushed me to make a game, even though i havnt yet started on the actual game,
so far ive messed around with my preloader, made a very very cool looking and interactive title, and have the 3 options (not yet made interactive since they might change) that when you roll over them the info randomnely appears letter by letter (very fast) into the text box, and when you roll out it removes it letter by letter (very fast)


using ShamelessPlug; NapePhysicsEngine.advertise();

BBS Signature

Response to As: Main 2005-11-18 20:18:45


stop();
_root.alreadyLoaded = _root.getBytesLoaded();
setInterval(function () {
_root.dSpeed = _root.getBytesLoaded() - _root.alreadyLoaded;
_root.alreadyLoaded = _root.getBytesLoaded();
timeLeft = int(_root.getBytesTotal() / _root.dSpeed);
secondsLeft = timeLeft % 60;
minutesLeft = (timeLeft - secondsLeft) / 60;
_root.displayTime = minutesLeft + ":" + (secondsLeft < 10 ? "0" : "") + secondsLeft + " Minutes remaining";
updateAfterEvent();
}, 1000);

it's really jumpy since it doesn't load at a constant speed, but it works. and also i did use inglor's bandwidth script because even though i hate set interval, i like his mehtod better.
also to change how frequently it updates the time left change the number 1000. the lower the number the more frequent, but at the same time more jumpy.

Response to As: Main 2005-11-18 21:34:22


hmm, i made a really nifty pop-up code thing...should i make an AS thread about it?

not real pop-ups...in-flash ones. custom made. yeah.


snyggys

Response to As: Main 2005-11-18 22:10:39


At 11/18/05 09:30 PM, Matomic wrote: Ok, to the point, I SAID to make rounding and approximation and stuff so that it would NOT be jumpy, because the jumpiness is the problem. Fix THAT, and you are my hero.
Also, being a noob to a.s. I don't know what the text-box variable is for all that script...

you cant control the speed something downloads at, i tried getting the average but it still jumps around.

stop();
_root.alreadyLoaded = _root.getBytesLoaded();
_root.timeLeftTotal = _root.timesAdded = 0;
onEnterFrame = function () {
dSpeed = _root.getBytesLoaded() - alreadyLoaded;
alreadyLoaded = _root.getBytesLoaded();
_root.timeLeftTotal += int(_root.getBytesTotal() / dSpeed);
_root.timesAdded++;
};
Stage.showMenu = false;
setInterval(function () {
timeLeft = _root.timeLeftTotal / _root.timesAdded;
secondsLeft = timeLeft % 60;
minutesLeft = (timeLeft - secondsLeft) / 60;
_root.displayTime = minutesLeft + ":" + (secondsLeft < 10 ? "0" : "") + secondsLeft + " Minutes remaining";
_root.timeLeftTotal = _root.timesAdded = 0;
//updateAfterEvent();
}, 1000);

thats the best i can do. it'll probly run alot smoother on a real download instead of the simulated one

Response to As: Main 2005-11-19 04:07:07


http://media.putfile.com/speedtesters

compared to my earlier one, this one is pretty damn smooth and doesnt jump much while still retaining accuracy:


using ShamelessPlug; NapePhysicsEngine.advertise();

BBS Signature

Response to As: Main 2005-11-19 16:17:38


I want to know if there's already a thread of something like...

AS: Dadn' me Style game

Or something of that sort. Because i'm thinking of doing an AS thread like that... ive got time.

Just will contain, movement, the checkers to make background rotate...

Has it been done?

Response to As: Main 2005-11-19 19:01:48


At 11/19/05 04:17 PM, Darkfire_Blaze wrote: I want to know if there's already a thread of something like...

AS: Dadn' me Style game

Or something of that sort. Because i'm thinking of doing an AS thread like that... ive got time.

Just will contain, movement, the checkers to make background rotate...

Has it been done?

yes!

Response to As: Main 2005-11-20 06:04:45


At 11/19/05 04:07 AM, dELta_Luca wrote: http://media.putfile.com/speedtesters

compared to my earlier one, this one is pretty damn smooth and doesnt jump much while still retaining accuracy:

Umm... for me it kept moving between 33s and 1000s and infinity...

I think I have connection troubles...


BBS Signature

Response to As: Main 2005-11-20 06:09:10


At 11/18/05 09:34 PM, 2k_rammerizkool wrote: hmm, i made a really nifty pop-up code thing...should i make an AS thread about it?

not real pop-ups...in-flash ones. custom made. yeah.

yes go on
why not?
has it been done before?


I have done the deed. Didst thou not hear a noise?

BBS Signature

Response to As: Main 2005-11-20 06:32:48


AS: Main
AS: Main - Alphabetic List
Notepad version of the list

=================

BASIC - GENERAL
AS: Animated Buttons by Inglor
AS: Bars (Health/Score/etc) by Inglor
AS: Basic A.I. by Dancing-Thunder
AS: Beginning Actionscript by Ninja-Chicken
AS: Bounce & Gravity by ImpotentBoy2
AS: ClipEvents by Inglor
AS: Drag & Drop by Inglor
AS: Duplicated Movie Clips
AS: Dynamic Color Changes by Rantzien
AS: Dynamically Resizing Objects by Spamburger
AS: Frame Functions by Spamburger
AS: Loops & Conditions by BleeBlap
AS: Loops - For... In by Inglor
AS: Loops - While by Ninja-Chicken
AS: Maths - Basic by T-H
AS: Movement - Basic
AS: Movement - Scrolling Background by DrDeath2k3
AS: Movement - Scrolling Objects by lan00
AS: Performance & Optimisation Tips by T-H
AS: Quality Toggling
AS: Random by -Reedo11-
AS: Random - More by Spamburger
AS: Replay Button by Inglor
AS: Sound
AS: Starting Out by -Thomas-
AS: Stop & Play Buttons by Inglor
AS: swapDepths by -liam-
AS: Symbolic Operators (and, or, not) by SpamBurger
AS: Symbols by Joelasticot
AS: Timeout by Inglor
AS: Variables by Rantzien

BASIC - SPECIFIC
AS: Clock by Glaiel_Gamer
AS: Custom Cursor by lan00
AS: Elastic Mouse Chaser by lan00
AS: Inventory 1 by Inglor
AS: Moving, Dad 'n Me style by -Thomas-
AS: Mad Libs by SpamBurger
AS: Password by Dancing-Thunder
AS: Preloader
AS: Photo Negative by Glaiel_Gamer
AS: Subtitles by -Toast-

INTERMEDIATE - GENERAL
AS: Arrays
AS: Basic Combos by -Toast-
AS: Camera Control by Inglor
AS: Collisions by Glaiel_Gamer
AS: Collisions - Boundaries by Spamburger
AS: Collision Detection by BleeBlap
AS: Collisions - HitTesting Duped MCs by SpamBurger
AS: Constant Distance (Ragdoll Basics) by T-H
AS: Debugging Syntax by Inglor
AS: Elasticity by Joelasticot
AS: Filters (Flash 8) by Inglor
AS: Functions - Basic by Inglor
AS: Intervals by Inglor
AS: Linear Increasement by Inglor
AS: Listeners by F13
AS: Load External Data/Cross-Domain
AS: Logical Thinking by Glaiel_Gamer
AS: Maths - Intermediate by Inglor
AS: Mouse Wheel by Inglor
AS: Movement - On slopes by Joelasticot
AS: Movement - Random by -liam-
AS: Pointing/Shooting at Mouse
AS: Save and Load
AS: Strings by Inglor
AS: SWF Copy Protection by JackSmack
AS: SWF Right-Click Menu
AS: Text Fields by guywithhiscomp
AS: Upload/Download (Flash 8) by -liam-


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-11-20 06:33:38


INTERMEDIATE - SPECIFIC
AS: Fading Trail Effect (Bullet Time)
AS: Fireworks (API) by Inglor
AS: Flash Registration Form by bigftballjock
AS: Game 1 - Moving and Jumping by Ninja-Chicken
AS: Game 2 - Shooting & Power-ups by Ninja-Chicken
AS: Jumping Engine For All by Rystic
AS: Maze by Begoner
AS: Movement - Asteroids Ship by guywithhiscomp
AS: Movie Control by Spamburger
AS: Platform Game Basics by Atomic_Sponge
AS: Platformer: N00b to Pro by MusicianEXE
AS: Platformer by Thomas2005
AS: Pong Physics & Gravity by -Toast-
AS: Rain Effect (API) by Inglor
AS: Scoreboard by Inglor
AS: Starfield (API)
AS: Timer by guywithhiscomp
AS: Typewriter Effect by Atomic_Sponge
AS: Varispeed Rollover Scrollbar
AS: Volume Slider by Star_Cleaver

ADVANCED - GENERAL
AS: 3Dimension - Basic by dELta_Luca
AS: 3Dimension - Intermediate by dELta_Luca
AS: Actionscripted Tweens by BleeBlap
AS: API by -liam-
AS: API Curves by Glaiel_Gamer
AS: API 3-Gradient Fills by Inglor
AS: Binary Increasement by Inglor
AS: BitmapData - Basic by -liam-
AS: Components by dELta_Luca
AS: Line to Line Collision by Glaiel_Gamer
AS: Modular Programming by Inglor
AS: Non-Tilebased Pathfinding by dELta_Luca
AS: Scoreboard Protection
AS: OOP (Object Oriented Programming) by Inglor
AS: Prototype, Proto & Inheritance by BleeBlap
AS: System Capabilities (Flash-PC Communication) by Inglor
AS: Tile-based Game Development Map by Inglor
AS: Tile-based Line-of-Sight Algorithm by zoohl
AS: Tile-based Pathfinding by dELta_Luca
AS: Trigonometry by BleeBlap
AS: Very Basic Wireframe 3D by Begoner
AS: XML by Inglor
AS: XML For Online Interactivity by -KhAo-

ADVANCED - SPECIFIC
AS: Flash Game Instant Replay by Cojones893
AS: Key Queue by Inglor
AS: Syntax Checking Stack by Inglor
AS: XML Sockets - Chatroom by Ninja_Chicken

=========

OTHER USEFUL LINKS:

Flash Newbie Help by -ArcticHigh-
Flash (noob) tutorial by -hellraiser-
Starting with Flash by Otacon

NG's best tutorial movies
Flash tuts list by AGH
The Big Tutorial List by IWantSomeCookies

Flashkit
actionscript.org
AS: Main
Kirupa
good-tutorials.com

NG Preloaders
Xenosteel's guide
NG Submission Tips
Get your Flash deleted

Liveswif 2.2 - Free Flash maker
Sham Bhangal's Flash V-Cam
Custom XKey Class by authorblues
Flash: FP Version Checker (component) by JeremysFilms
Keycode Getter by gorman2001

Flash/ASP scoreboard
Flash/PHP scoreboard
Cross-domain policies

Sprite page list by different
Music and Sound Effect sites V2 by different

Flash: Shortcut Keys by -Unknown-
Flash: Code Shortcut keys by Rantzien
Claymation info by schorhr
Fixing problems with importing sound
How to: Flash to animated .gif


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-11-20 07:06:02


None added since last page?! :O

Off topic:

I see you changed to a light aura, I'll need to get used to that. =)

What are all those "brotherhood of the mods" sigs I'm seeign lately?


BBS Signature

Response to As: Main 2005-11-20 07:14:03


argh, ive just changed to light aura and its scaring me, it looks too different


using ShamelessPlug; NapePhysicsEngine.advertise();

BBS Signature

Response to As: Main 2005-11-20 07:15:06


ah thats better, back to being dark:

new layout of AS threads is better i think than previousljy


using ShamelessPlug; NapePhysicsEngine.advertise();

BBS Signature

Response to As: Main 2005-11-20 07:16:49


At 11/20/05 07:06 AM, -Toast- wrote: I see you changed to a light aura, I'll need to get used to that. =)

I've been thinking about doing that too, but if I do it now I'll just look like I'm taking after Denvish =)


BBS Signature

Response to As: Main 2005-11-20 18:07:48


Hey i've been using some actionscript from here in several of my things, and it's pretty cool. I was wondering though, if you have something where the mouse rolls over an object and then something like a text box comes up or something, and if you don't could you please add it?

Response to As: Main 2005-11-20 18:14:49


At 11/20/05 07:15 AM, -dELta- wrote: new layout of AS threads is better i think than previousljy

previousljy == undefined

i dont care for it. i think all the general pages should go together, and all the specific pages should go together. i had gotten so used to using the specific pages and knowing where to look.

now to get to ADVANCED: GENERAL, for instance, i have to scroll past ALL of the basic and intermediate threads. lol, like hell im using advanced threads. im still back on basic.

i fear change... i want my old AS: main layout back

oh, and thanks for adding my class file, denvish...

BBS Signature

Response to As: Main 2005-11-21 02:45:32


i like the new layout, its much easier to find
authorblues; is it that hard to scroll?


========|| WWWWWWWW>[-[Blog] - [Audio] - [Userpage] - [Flash] - [Last.fm]-]<WWWWWWWW ||========

BBS Signature

Response to As: Main 2005-11-21 03:11:28


At 11/21/05 02:45 AM, Flash_kid wrote: i like the new layout, its much easier to find
authorblues; is it that hard to scroll?

everytime you scroll, god kills a kitten...
and yes. that is 10 extra seconds ill never get back


BBS Signature

Response to As: Main 2005-11-21 03:24:37


i just timed myself and it literally took me 2 seconds. omfg!


========|| WWWWWWWW>[-[Blog] - [Audio] - [Userpage] - [Flash] - [Last.fm]-]<WWWWWWWW ||========

BBS Signature

Response to As: Main 2005-11-21 03:29:16


At 11/21/05 03:24 AM, Flash_kid wrote: i just timed myself and it literally took me 2 seconds. omfg!

isnt it past your bedtime?

i just mean that the original layout was easier to follow and navigate, and, in my humble opinion, should be brought back. im sure this isnt the concensus, since the layout was changed, but i was just mentioning that there are those (read: me) who like the originial layout better...


BBS Signature

Response to As: Main 2005-11-21 03:33:11


At 11/21/05 03:29 AM, authorblues wrote:
At 11/21/05 03:24 AM, Flash_kid wrote: i just timed myself and it literally took me 2 seconds. omfg!
isnt it past your bedtime?

its 7:30 pm where i live and u say its past my bedtime. hahaha

i just mean that the original layout was easier to follow and navigate, and, in my humble opinion, should be brought back. im sure this isnt the concensus, since the layout was changed, but i was just mentioning that there are those (read: me) who like the originial layout better...

thats why we're happy that its not your decision on the layout.


========|| WWWWWWWW>[-[Blog] - [Audio] - [Userpage] - [Flash] - [Last.fm]-]<WWWWWWWW ||========

BBS Signature

Response to As: Main 2005-11-21 10:05:50


I was wondering if there was a way to alter the code for a Dynamic Display Application so that the brush weight and colour could be changed with a key stroke

Here is the original code
createEmptyMovieClip("Line",1);
Line.lineStyle(3,0x000000,100);
onMouseDown = function (){
Line.moveTo(_xmouse, _ymouse);

onMouseMove = function (){
Line.lineTo(_xmouse, _ymouse);}
}

onMouseUp=function(){
onMouseMove=null;
}


...Kilroy was here

BBS Signature

Response to As: Main 2005-11-21 10:23:16


At 11/21/05 10:05 AM, Parralax wrote: createEmptyMovieClip("Line",1);
Line.lineStyle(3,0x000000,100);
onMouseDown = function (){
Line.moveTo(_xmouse, _ymouse);

onMouseMove = function (){
Line.lineTo(_xmouse, _ymouse);}
}

onMouseUp=function(){
onMouseMove=null;
}

here is the way that i modified it:

colour = 0x000000
createEmptyMovieClip("Line",1);
onMouseDown = function (){
Line.moveTo(_xmouse, _ymouse);

onMouseMove = function (){
Line.lineTo(_xmouse, _ymouse);}
}

onMouseUp=function(){
onMouseMove=null;
}

onEnterFrame=function(){
if (Key.isDown(82)){
colour = 0xFF0000
} else if (Key.isDown(76)){
colour = 0x000000
} else if (Key.isDown(71)){
colour = 0x00FF00
} else if (Key.isDown(66)){
colour = 0x0000FF
}
Line.lineStyle(3,colour,100);
}

press R for red, G for green, B for blue, and L for black...


BBS Signature

Response to As: Main 2005-11-21 10:48:50


much love, and bye love i mean sex plz


...Kilroy was here

BBS Signature

Response to As: Main 2005-11-21 11:03:04


Added size selection, just press 1-9 on your keyboard.

colour = 0x000000
createEmptyMovieClip("Line",1);
onMouseDown = function (){
Line.moveTo(_xmouse, _ymouse);

onMouseMove = function (){
Line.lineTo(_xmouse, _ymouse);}
}

onMouseUp=function(){
onMouseMove=null;
}

onEnterFrame=function(){
if (Key.isDown(82)){
colour = 0xFF0000
} else if (Key.isDown(76)){
colour = 0x000000
} else if (Key.isDown(71)){
colour = 0x00FF00
} else if (Key.isDown(66)){
colour = 0x0000FF
}
for(var i:Number = 0; i<10; i++){
if(Key.isDown(49+i)){
lineSize=i+1;
}
}
Line.lineStyle(lineSize,colour,100);
}


BBS Signature

Response to As: Main 2005-11-21 11:04:33


Sorry, add this to the top

var lineSize:Number = 5;


BBS Signature

Response to As: Main 2005-11-21 12:15:51


I did it this way :)

_root.colour=0x000000;
_root.c=new Array("0x000000", "0x0000FF", "0x00FF00", "0xFF0000", "0xFFFF00");
_root.line=1;
createEmptyMovieClip("Line",1);
onMouseDown = function (){
Line.moveTo(_xmouse, _ymouse);
onMouseMove = function (){
Line.lineTo(_xmouse, _ymouse);}
}
onMouseUp=function(){
onMouseMove=null;
}
onEnterFrame=function(){
Line.lineStyle(_root.line,_root.colour,100
);
if(Key.isDown(Key.RIGHT)){
_root.line+=1;
}else if(Key.isDown(Key.LEFT)){
_root.line-=1;
}
_root.colour=_root.c[_root.co];
_root.co+=(Key.isDown(Key.UP));
_root.co-=(Key.isDown(Key.DOWN));
if(_root.co<=0){
_root.co=0;
}else if(_root.co>=_root.c.length){
_root.co=_root.c.length;
}
if(_root.line<=1){
_root.line=1;
}
}

Use UP and DOWN to change colour and LEFT and RIGHT to change line thickness.


BBS Signature

Response to As: Main 2005-11-21 12:18:45


At 11/21/05 12:15 PM, guywithhiscomp wrote: I did it this way :)

Now... isnt this clever. =p

Hey... um ... damn. Im thinking of making an AS: thread. But i cant find a topic... in spanish perhaps? XD AS: Spanish. no that would be dumb.