00:00
00:00
Newgrounds Background Image Theme

TindyFlow just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

The Flash 'Reg' Lounge

3,047,746 Views | 60,186 Replies
New Topic Respond to this Topic

Response to The Flash 'Reg' Lounge 2008-08-18 18:57:27


At 8/18/08 06:53 PM, Rammer wrote: variableType blah = new variableType();

ofcourse technically speaking that is incorrect, the correct syntax is:

variableType * blah = new variableType;

for a runtime allocated block of memory to hold variable in which blah points to it.

or

variableType blah;

for a compile time allocated variable of which blah explicitly relates to

Response to The Flash 'Reg' Lounge 2008-08-18 19:03:38


sigh i just typed a really long post and my web browser closed for no apparent reason -.-

anyway..

Looking for someone to make a website with

Have you ever had a good idea for a website that you thought could do well but you never got around to actually making it? Well now's your chance. Recently I've been wanting to make a website, I have all the skills for it, including good knowledge of html, php, sql (lol) and javascript. However, I don't have any content to display. I could have made a flash portal already but there's just too much competition in the flash games sector. That's why I need you - If you have a unique idea for a website that could attract a fair amount of visitors, please let me know so we can collaborate on it. In terms of personal web experience, I've maintained a website for several months which scored good on the NG network sites, and earned nice ad revenue. It died out though as no new content was ever added.

I know there's many creative people out here, there must be someone who has a unique idea.


BBS Signature

Response to The Flash 'Reg' Lounge 2008-08-18 19:04:18


At 8/18/08 06:57 PM, dELtaluca wrote:
At 8/18/08 06:53 PM, Rammer wrote: variableType blah = new variableType();
ofcourse technically speaking that is incorrect, the correct syntax is:

variableType * blah = new variableType;

for a runtime allocated block of memory to hold variable in which blah points to it.

or

variableType blah;

for a compile time allocated variable of which blah explicitly relates to

blah blah blah

fuck off <3 i don't think the flash player will allow pointers any time soon, so shush :3


snyggys

Response to The Flash 'Reg' Lounge 2008-08-18 19:09:17


At 8/18/08 07:04 PM, Rammer wrote: fuck off <3 i don't think the flash player will allow pointers any time soon, so shush :3

well technically speaking, the only things in AS that AREN'T pointers are the base types of 'Number, int, uint, bool' everything else is a pointer essentially which is why this happens:

var a:Array = new Array(1,2,3);
var b:Array = a;
b[0] = 3;
trace(a[0]); //outputs 3 rather than 1, since 'b' acts as a pointer to the same array as 'a' and doing b = a simply copies the pointer, not the array that it points to

only that they are what you might refer to as smart pointers in that you cannot go out of bounds etc.

Response to The Flash 'Reg' Lounge 2008-08-18 19:35:41


At 8/18/08 07:03 PM, Toast wrote: sigh i just typed a really long post and my web browser closed for no apparent reason -.-

anyway..

Looking for someone to make a website with

Have you ever had a good idea for a website that you thought could do well but you never got around to actually making it? Well now's your chance. Recently I've been wanting to make a website, I have all the skills for it, including good knowledge of html, php, sql (lol) and javascript. However, I don't have any content to display. I could have made a flash portal already but there's just too much competition in the flash games sector. That's why I need you - If you have a unique idea for a website that could attract a fair amount of visitors, please let me know so we can collaborate on it. In terms of personal web experience, I've maintained a website for several months which scored good on the NG network sites, and earned nice ad revenue. It died out though as no new content was ever added.

I know there's many creative people out here, there must be someone who has a unique idea.

Well I'm going to bed after this post so I'm quite tired but here goes. I was thinking along the lines of a flash section and then an unanimated drawing section with a few more features which I really am too sleepy to think of/type about right now. By tomrrow I'll probably have forgotten to check for replies so if you like the idea then contact me some way thats convinient for you. (Pm or email if it's still in my sig.) Failing that I'll check the forums.

Then again you might not like the idea... However I can always spurt out more! :)


BBS Signature

Response to The Flash 'Reg' Lounge 2008-08-18 20:31:53


At 8/18/08 05:08 PM, zrb wrote:
At 8/18/08 04:32 PM, Cryzabey wrote: What methods do you guys you to keep things organized?
I don't use folders, maybe in the library but hardly.
I tend to be really messy.

setInterval

Over all, I honestly find this inclusion in flash was just a stupid idea, Thats not the only problem, say if you want the interval to happen based on a variable, the interval will run through it's code once every variable value, BUT if you change the variable, the interval's time sequence thing, won't change w/ the variable.

So my point: Don't use set Interval, just use onEnterFrame w/ a function after so many frames have gone by

In your point zrb, I would suggest a code like this...

// Spawn enemys, yada yada //Once enemies are created, make them into an object ---Example below--- Dod = _root[Ene+i]; //Give Properties to the new Enemy ext. ext. //This below code is sloppy, bite me =3. _root["Dod"+i] = new Object(); Zrb = _root["Dod"+i]; Zrb.TimeInt = 0; //Add that in for the spawning code. onEnterFrame = function(){ SpawnEnemy(); for(z = 0;z <= i;z++){ _root["Dod"+z].TimeInt ++; trace(_root["Dod"+z].TimeInt++); if(_root["Dod"+z].TimeInt == 30){ removeMovieClip(_root["Ene"+z]); //Or add any other code for the time interval } } }

There ya go.

Response to The Flash 'Reg' Lounge 2008-08-18 20:40:07


the purpose of setInterval is to run things at delays that might not be accessible by taking some fraction of your framerate. sometimes you also need a very precise delay - frames don't really let you do that.


snyggys

Response to The Flash 'Reg' Lounge 2008-08-18 20:40:52


At 8/18/08 08:31 PM, DawnOfDusk wrote: So my point: Don't use set Interval, just use onEnterFrame w/ a function after so many frames have gone by

You don't really get how ActionScript works even at a basic level, right?

In ActionScript, numbers aren't pointers and there's no way to treat them as such. Thus, if you pass the value of a number variable to a function parameter (e.g. setInterval) it will be the value of the variable passed and not a reference to it.

If you then change the value of the number variable the function parameter won't magically change and call the function again because it doesn't even know the variable has changed, since you just passed the value of the variable to it.

Also, your logic doesn't make sense in your comment that you should always use enterFrame events over intervals. There are different uses of both and you should use what you see fits best for your purpose.

Response to The Flash 'Reg' Lounge 2008-08-18 21:16:33


At 8/18/08 08:40 PM, hesselbom wrote: Also, your logic doesn't make sense in your comment that you should always use enterFrame events over intervals. There are different uses of both and you should use what you see fits best for your purpose.

Yeah, but I was helping solve his problems, where my method was needed.

And Rammer, I know that setInterval isn't a bad function, and it's alot better for precise things, but I was just trying to get the point across that for a more 'dynamic' use of setInterval, it's better to just go w/ the method I came up w/.

At 8/18/08 08:40 PM, hesselbom wrote: You don't really get how ActionScript works even at a basic level, right?

You know, I'm no retard at AS, but trying things isn't a bad idea, also don't be an asshole.

In ActionScript, numbers aren't pointers and there's no way to treat them as such. Thus, if you pass the value of a number variable to a function parameter (e.g. setInterval) it will be the value of the variable passed and not a reference to it.

Ok cool, I gave it a shot, and it didn't work, but flaming someone for trying out a method like that when they NEEDED to have the interval change its 'run time' (or w/e it's called) isn't neccesary, you could've just said,

"Set Interval can still be used for 'less dynamic' actionscript, and the reason why the setInterval doesn't cope well w/ variables is because the value of the variable used in the function parameter doesn't change because it's not a reference to the variable."

But still both methods work, I'm not arguing this, but there's nothing wrong w/ using my method either.

Response to The Flash 'Reg' Lounge 2008-08-18 21:40:39


At 8/18/08 09:16 PM, DawnOfDusk wrote: trying to get the point across that for a more 'dynamic' use of setInterval, it's better to just go w/ the method I came up w/.

Why? Using enterFrame events is no more "dynamic" than using intervals. If you have 100 FPS an enterFrame event is more or less a function that gets called in intervals of 10ms. And since you can't dynamically change FPS in ActionScript 2.0 I'd say that the setInterval function is more dynamic because you can change how fast you want it to run, no?

At 8/18/08 09:16 PM, DawnOfDusk wrote: you could've just said,
"Set Interval can still be used for 'less dynamic' actionscript

Then I would make no sense.

I'm not trying to be an ass but the best way to learn is to question yourself.

Response to The Flash 'Reg' Lounge 2008-08-18 21:53:19


At 8/18/08 09:40 PM, hesselbom wrote:
At 8/18/08 09:16 PM, DawnOfDusk wrote: trying to get the point across that for a more 'dynamic' use of setInterval, it's better to just go w/ the method I came up w/.
Why? Using enterFrame events is no more "dynamic" than using intervals. If you have 100 FPS an enterFrame event is more or less a function that gets called in intervals of 10ms. And since you can't dynamically change FPS in ActionScript 2.0 I'd say that the setInterval function is more dynamic because you can change how fast you want it to run, no?

Yeah, but you can't change it after that. But then again, I mean dynamic as in being able to change the value at any time.
But you mean dynamic as in being more precise, so I get your point.
I'm just saying there are some times when my method can come into play, thats all.

Response to The Flash 'Reg' Lounge 2008-08-18 22:08:56


At 8/18/08 09:53 PM, DawnOfDusk wrote: Yeah, but you can't change it after that.

More than you can change FPS. I mean, it's just to recall the function when you want to change the speed of execution for it.

And it's just one simple line of code so it's no more biggie than, for example, changing a delay propertie of a Timer object in AS3.

interval = setInterval( function, 1000 ); interval = setInterval( function, 500 ); timer.delay = 1000; timer.delay = 500;

That's my view of being more "dynamic".

Also, for the purpose you're using enterFrame events, it can be just the same achieved with intervals with roguhly the same code. You can have an interval of 33ms (30 FPS) and up a number variable just as much as you can with enterFrame events.

Response to The Flash 'Reg' Lounge 2008-08-18 22:18:02


in AS2, you can just clear the interval and then reinstate it with a different timer.


snyggys

Response to The Flash 'Reg' Lounge 2008-08-18 22:27:10


At 8/18/08 10:18 PM, Rammer wrote: in AS2, you can just clear the interval and then reinstate it with a different timer.

Ew... well I didn't know that... and now I do =D

Sry for the troubles and stuffz, and thanks for the knowledge.

Response to The Flash 'Reg' Lounge 2008-08-18 22:28:28


Really sry for the double post, but I don't got AS3, so I'm not sure whether or not the setInterval can have it's timer swtiched that easily (not on computer w/ flash atm)

Response to The Flash 'Reg' Lounge 2008-08-18 23:53:32


At 8/18/08 11:49 PM, Alpharius120 wrote: I have yet to make a spam post, so I have to say you're probably mistaking me with someone to.

Forum spam, posting advertisements or useless posts on a forum
If you think about it, the post you JUST made can be considered spam. No one gains anything from a statement by you stating that you're not at fault. However, if you would have provided some kind of proof...

I miss debate club :(

BBS Signature

Response to The Flash 'Reg' Lounge 2008-08-19 02:37:48


I got the mullet completely cut today.
The mullet is 100% dead - I have no long hair.

Also... YATTA! :D


www.DuderEntertainment.com/ | Makin' Laughs and Kickin' Ass! >:3

BBS Signature

Response to The Flash 'Reg' Lounge 2008-08-19 03:19:51


At 8/18/08 11:53 PM, Cryzabey wrote:
At 8/18/08 11:49 PM, Alpharius120 wrote: I have yet to make a spam post, so I have to say you're probably mistaking me with someone to.
Forum spam, posting advertisements or useless posts on a forum
If you think about it, the post you JUST made can be considered spam. No one gains anything from a statement by you stating that you're not at fault. However, if you would have provided some kind of proof...

I miss debate club :(

For my flash related thing: Do you think Disney would take any actions against me if I made a commercial game based off of the Hunchback of Notre Dame but in the future where he goes around and has to kill people to keep his cover secret?
And Unfalshrelated: Damn... You just totally destroyed my entire fight. And also, wouldn't all of puto or whatevers also be spam?


Hey yo

Response to The Flash 'Reg' Lounge 2008-08-19 03:30:59


You've all finally had enough of wolfarse.
My post count is slowly but surely dropping, my reviews are vanishing before my eyes, I'm being called a spammer (=O)...

I just wanna fit in ;_(

Click my sig for a hilarious thread.

BBS Signature

Response to The Flash 'Reg' Lounge 2008-08-19 07:42:43


At 8/19/08 02:37 AM, TheCriminalDuder wrote: I got the mullet completely cut today.
The mullet is 100% dead - I have no long hair.

Also... YATTA! :D

lol, I'm confused. Was the animutation the original or what? 'Cos I remember seeing it like five or six years ago.

QQQQ...

BBS Signature

Response to The Flash 'Reg' Lounge 2008-08-19 07:47:35


At 8/19/08 03:19 AM, Alpharius120 wrote: also, wouldn't all of puto or whatever also be spam?

No. Okay let's end this discussion for once and for all. First, one example of you spamming is you writing a 1 liner post saying " we are supposed to be productive ?". Now if that wasn't you then it was the other guy i can't remember which of you posted what spam, if only Luis wouldn't have destroyed the evidence.
Now about me not being a reg, and only posting 5 times. My first post in the lounge dates to about page 215 at least that what i remember. I came here regularly a lot before the lounge was even started by Luis. before the flash showcase thread was started and even before this was opened http://flashregs.net/bbs/index.php?&CODE =00. Did you ever even heard about the flash reg forum ? I remember that this forum was so popular that they opened a forum inside it that only regs were allowed. and i wasn't allowed lol...Thanks Rammer for remembering me lol =]. So to conclude this i am a reg and you are a spammer. Don't even reply to this because from now on i am not going to read your posts here for awhile and i am not worried about you spamming now that the lounge is moderated full time..

mullet
R.I.P
flash inspiration
now to my related topic some artistic and animation style seeing that you coders are taking over the lounge ..
1. what flash sites gives you big inspiration or you think is amazing
2. the same for artist from newgrounds
3. same for flash TV or Internet series

well i will start with mine
1. www.killfrog.com, www.joecartoon.com, www.campchos.com.
2.Adam Philips, Luis, bomtoons, johnny utah
3.happy tree friends, ultimate survivor 1 and 2 (on killfrog),kegel, clerks the animated series.


BBS Signature

Response to The Flash 'Reg' Lounge 2008-08-19 08:15:39


At 8/19/08 07:47 AM, patu1 wrote: Blah

No other reg ever concidered you a reg, thus you are not a reg. EDN.


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

BBS Signature

Response to The Flash 'Reg' Lounge 2008-08-19 09:07:26


At 8/19/08 08:15 AM, Vengeance wrote:
At 8/19/08 07:47 AM, patu1 wrote: Blah
No other reg ever concidered you a reg, thus you are not a reg. EDN.

I dunno, he's kinda like Toshir%u014D Mifune's character in Seven Samurai - he's gotten regness through pure persistence :P

lolkindofobscurereference

BBS Signature

Response to The Flash 'Reg' Lounge 2008-08-19 11:26:41


Store

What do u guys think? I think it like it a lot. i gotta get me some angry faic and tankmen stickers.

Response to The Flash 'Reg' Lounge 2008-08-19 11:39:53


RE: Store

Yeah, this will prolly be considered useless spam but w/e. I love the way the store turned out.
It was obvious that the NG staff sat down for more than just a few hours to plan this whole idea out.

I just hope to see the NG chat next, even though I believe (from what Tom said on the 'OMG STORE OMG') they're going to fix the NG mag next.

Response to The Flash 'Reg' Lounge 2008-08-19 13:10:43


At 8/19/08 11:26 AM, Blackfang wrote: Store

What do u guys think? I think it like it a lot. i gotta get me some angry faic and tankmen stickers.

I would like it, but I can't buy anything because of the dumb US-centric payment options.

I should have wasted $108 of hard-earned sponsor money on shirts and stickers today, all ready to start uni with :(


BBS Signature

Response to The Flash 'Reg' Lounge 2008-08-19 13:41:13


Strong>RE: Store</store>

At 8/19/08 01:33 PM, Luis wrote: Bob said that it should work if you select Mastercard for Maestro credit cards.

Well it doesn't for me unfortunately =( Although I've got a Maestro debit card, rather than a credit card so that could be it.

I miss the old store, where you could pay with paypal and shirts were five cents cheaper. =P

The water in Majorca don't taste like what it oughta.

| AS3: Main | AS2: Main | Flash Tutorials |

BBS Signature

Response to The Flash 'Reg' Lounge 2008-08-19 13:58:53


At 8/19/08 01:48 PM, Kirk-Cocaine wrote:
At 8/19/08 01:44 PM, Luis wrote: Yea debit Maestro's are no good and cant be used online anywhere anyway according to bob.
Haha, that's a bold bold statement. I've bought stuff online from Play, Amazon, eBay, HMV and Zavvi with my Maestro debit card. Hell, I even bought a NG top using my card, albeit via paypal.

Well talk to bob about it... they dont have access to anyone with a maestro card and they want to be able to work that out. Go be the newgrounds guinea pig and send him a msg on AIM or somethin.


None

BBS Signature

Response to The Flash 'Reg' Lounge 2008-08-19 14:08:18


At 8/19/08 01:48 PM, Kirk-Cocaine wrote:
At 8/19/08 01:44 PM, Luis wrote: Yea debit Maestro's are no good and cant be used online anywhere anyway according to bob.
Haha, that's a bold bold statement. I've bought stuff online from Play, Amazon, eBay, HMV and Zavvi with my Maestro debit card. Hell, I even bought a NG top using my card, albeit via paypal.

Yeah, I'm in the same position. It must be a US thing :s

Kirk, if you're getting in touch with Bob then I'll vouch for the fact that Maestro's working on pretty much all UK/Europe based sites.


BBS Signature

Response to The Flash 'Reg' Lounge 2008-08-19 14:08:40


The stores looking pretty cool. Hopefully Newgrounds will make a bit of cash out it anyways. I'll buy something as soon as the paypal option is released or when I finally get round to getting a card...

By the way what do you guys prefer: Classes or Hand code?


BBS Signature