8107 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $40,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Has referred 10+ members
+4 more
doru says

just a way to reuse code. OOP in flash its not that though like those from c++/c# but it works.

4140 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
tsafi says
ok so I use functions a lot and I do copy and paste those functions from one file to another, say a bitmap smoothing function… so that’s kind of like using OOP right? :P but OOP sounds like it’s more about using Classes which I haven’t really dabbled with much but I’m still coding in AS2 but I assume OOP is more important when you using AS3 since everything revolves around Classes and Events.

Actually you be surprise it’s not that important using OPP in AS3 Building app in flash AS3 there is no really deferent if you do it internal or external it’s the same performance it’s just a matter of convenient, arrangement and reusing your code in class in a much easier way as if you doing it internal .
And yes you can do class in AS2 it was there before AS3 . .

Also many FD buyer i think prefer the internal option its more obvious to them and much more easy for them to integrate there APP in there project if its internal option .

But what do you concern about DS just do what you do best it doesn’t matter how you do it and in which way money talk BS walk (:

5409 posts The Dude Abides
  • Located in United States
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 5 years
+9 more
CodingJack says

I like to think of it like this with the arrows representing code structure:

99 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+2 more
Palehosefan says

In general, classes are used too often. Not every file in AS3 needs to be in class form. Simple projects or widgets don’t require the creation of a class.

However, if you are doing something as part of a bigger project, classes are a great way let the objects communicate.

Breaking up your FlashDen 500 lines of AS code into 8 different AS “classes” can be overwhelming for another user trying to figure out what’s interacting with what, and is unnecessary in most cases.

466 posts
  • Has been part of the Envato Community for over 5 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
+5 more
uiuxaesthetics says
But what do you concern about DS just do what you do best it doesn’t matter how you do it and in which way money talk BS walk (:

I gotta disagree with that, I don’t write my code currently based on object oriented programming as far as seperating my code into reuseable classes. But I am going to learn, next book I get is Essential Actionscript that P&K mentioned. It deffinetely increases your productivity by making it easy to call reusebale chuncks of code over and over. Not only that if you perform a certain function over and over again throughout a project, if you copy and paste that code, each time you copy and paste you increase your file size. So a file that should be 80k is bloated from a bunch of redundant code and is 100k instead. If we become more productive and faster programmers we will be able to offer even better utilities that load even faster. The day you stop learning is the day you start dieing!!

4140 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
tsafi says
But what do you concern about DS just do what you do best it doesn’t matter how you do it and in which way money talk BS walk (:
I gotta disagree with that, I don’t write my code currently based on object oriented programming as far as seperating my code into reuseable
I don’t think DS have a coding problem no matter how he do it . Overall the final resolute and how your App perform that’s what matter, no matter how you do it as a coding style preference. I use on most of my file only class but as long you have the internal option it doesn’t matter how you do it class, internal flex atc` .

....

466 posts
  • Has been part of the Envato Community for over 5 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
+5 more
uiuxaesthetics says

No his files are amazing!! Wasn’t saying that, I just think we should always be striving to learn how to be more productive effective and efficient. And ultimately that will set flashden apart from other template sites, and increase our income in the meantime!

4140 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
tsafi says
No his files are amazing!! Wasn’t saying that, I just think we should always be striving to learn how to be more productive effective and efficient. And ultimately that will set flashden apart from other template sites, and increase our income in the meantime!
Yes we all know learning is good (:
5409 posts The Dude Abides
  • Located in United States
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 5 years
+9 more
CodingJack says

Technically reusable code shouldn’t matter here since it’s mostly single license. I bet there are many authors who don’t include classes they’ve written for this very reason.

270 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
+1 more
magickaito says

it might be not important in flashden…

but i m sure it is important in flash commercial programming esp when there are multiple flash programmers who work together.

it is very common that programmer A may need to reuse programmer B’s classes, without knowing wat’s going inside. He might reuse it directly, or inherit it and overwrite some modifications…etc.

Since i believe there are alot of one-man-show contributor here, and it appears to me buyers are all XML -Oriented… so far there’s really no reason why oop will be important in flashden…

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by