1999 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Author had a Free File of the Month
  • Won a Competition
  • Bought between 10 and 49 items
+4 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 ?

1999 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Author had a Free File of the Month
  • Won a Competition
  • Bought between 10 and 49 items
+4 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!

1660 posts
  • Most Wanted Bounty Winner
  • Won a Competition
  • Exclusive Author
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Sold between 50 000 and 100 000 dollars
  • Has been a member for 5-6 years
+4 more
flashedge says

Ahaha! :D

4140 posts
  • Bought between 1 and 9 items
  • Brazil
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
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 been a member for 6-7 years
  • Won a Competition
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
  • Exclusive Author
  • Romania
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.

1999 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Author had a Free File of the Month
  • Won a Competition
  • Bought between 10 and 49 items
+4 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
  • Bought between 1 and 9 items
  • Brazil
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
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……

1999 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Author had a Free File of the Month
  • Won a Competition
  • Bought between 10 and 49 items
+4 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
  • Attended a Community Meetup
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 10 000 and 50 000 dollars
  • United States
Aw_Shucks says

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

by
by
by
by
by
by