2003 posts
  • Has referred 50+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
bitfade says

Believe it or not, Flash / Flex compilers do not performs code optimizations….

also, there’s no way to access latest flash player 10 fast memory opcodes (unless you use alchemy)

that’s really bad, especially if you are working with heavy weight math / pixel level applications.

however, some 3rd party tools can really helps to squeeze every drops from AVM2 (read here for more information)

take haxe compiler: it’s lightning fast, produce better, optimized code, has inline functions and even allows for direct use of AVM2 opcodes.

haxe can now also produce SWCs which is great coz it allows you to do this:

  1. code your entire application in actionscript 3.0 using standard Flash / Flex
  2. code cpu hungry core functions only in haxe and build a SWC
  3. link main application to haxe SWC and get a single SWF

this would allows buyers to customize application using Flash / Flex only, haxe would only be needed to modify core functions, which is very unlikely to happen since i’m talking of code like this:

eA = v[yp] 
eA >>>= 24
nA = x1 
nA &= 0xFF
nA *= mA 
nA >>= 16
eA += nA
however, haxe sources codes would also be included and since haxe compiler itself is available free of charge for Windows, Mac and Linux, this should pose no problems.


question is, would this be allowed for items sold on AD ?

2003 posts
  • Has referred 50+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
bitfade says

i won’t forget you all left me alone pushing the limits…..

so, for start, i won’t ever tell you that the aswer is yes…..... doh!

1661 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Won a Most Wanted contest
+9 more
flashedge says

Ahaha! :D

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
i won’t forget you all left me alone pushing the limits…..

Because you are missing the point .

You say: ” this would allow buyers to customize application using Flash / Flex only haxe would only be needed to modify core functions”

I think you are light years a head of everyone with optimism, but maybe you should start first to show the basic for the buyer how the change color via xml before you let them messing with core math function :P

3072 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured on Envato Market
+5 more
wickedpixel says

...learning one more programming language(haxe) and combining it with the default actionscript code seems a little too much trouble. :) Maybe it can be useful for special projects that need 100% optimization… but for stock files I think is a little too advanced.

2003 posts
  • Has referred 50+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
bitfade says
I think you are light years a head of everyone with optimism, but maybe you should start first to show the basic for the buyer how the change color via xml before you let them messing with core math function :P
i know that! don’t tell anyone but only purpose was to get admins say me yes :P

@wickedpixel
agreed, this just probably fits just me or very few authors focused on visuals
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
I think you are light years a head of everyone with optimism, but maybe you should start first to show the basic for the buyer how the change color via xml before you let them messing with core math function :P
i know that! don’t tell anyone but only purpose was to get admins say me yes :P

@wickedpixel
agreed, this just probably fits just me or very few authors focused on visuals

Fits just you mmmmmm :P

Using math is a great way to overcome many problem regarding CPU , effect,3D bla bla , the problem its getting very complex if you trying to submit it as a sell stock or if the buyer try to integrate this on other flash app/tamplte atc` , then you need to do all the Mambo Jumbo Xml think for them so God forbidden they wont have to even open any As .

As the days goes by i am amazed the pure minimal understanding buyer have regarding flash application. I just got lucky i am a patient person when it comes to clients ,with out that i can kiss flash goodbye……

2003 posts
  • Has referred 50+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
bitfade says
the problem its getting very complex if you trying to submit it as a sell stock or if the buyer try to integrate this on other flash app/tamplte atc` , then you need to do all the Mambo Jumbo Xml think for them so God forbidden they wont have to even open any As .
well, i’d say that’s valid whenever haxe is used or not
4247 posts
  • Has been part of the Envato Community for over 6 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+5 more
Aw_Shucks says

Bitfade, you should have made a blog post about this. That would have been cool. :)

by
by
by
by
by
by