2054 posts
  • Affiliate Level 3
  • Author Level 11
  • Collector Level 2
  • Elite Author
+11 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 ?

2054 posts
  • Affiliate Level 3
  • Author Level 11
  • Collector Level 2
  • Elite Author
+11 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!

1665 posts
  • Trendsetter
  • Weekly Top Seller
  • Winner
  • Featured Author
+10 more
flashedge
says

Ahaha! :D

4140 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 4
  • Brazil
+5 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
  • Affiliate Level 3
  • Author Level 6
  • Collector Level 2
  • Weekly Top Seller
+7 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.

2054 posts
  • Affiliate Level 3
  • Author Level 11
  • Collector Level 2
  • Elite Author
+11 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
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 4
  • Brazil
+5 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……

2054 posts
  • Affiliate Level 3
  • Author Level 11
  • Collector Level 2
  • Elite Author
+11 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
by
by
by
by
by
by