How can I make Adobe Flex run faster? [closed] - apache-flex

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Compared to native apps, my Flex application runs like a hog born by a snail, especially on mobile devices. What tricks can I employ to optimize it's performance, and what trap doors should I avoid?

Use a better architecture, simplify your code, avoid using non-mobile optimized components, be smart about GC, renderers, binding and using often recurring events, use better libraries (TweenLite instead of adobe tween libs), avoid heavy graphics or animations.
The list goes on. Most of these are all PEBKAC though. I've seen some decent performance from Flex on mobile, but it all depends how you code it.

The first step could be to ensure you build your application using release mode, not debug mode.

I'm down voting you and ask you to write a specific question. You have not provided any information for anyone to provide you a reasonable response.
But here is some information.
1) Flex AMF data transfer is faster than XML, AJAX and JSON.
2) If you are comparing Flex to Assembler language in terms of speed, you might want to rethink why you are using a cross platform high level language.

Related

source code for games that are web based [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am looking into making a game using source code from a web based game. I am looking to make a game based upon moto rush 2 and other games with the same dynamics. The game can be found at addictinggames or a quick Google search should reveal it. Is there any standard way to go about this? Are there any rules I must follow when using source code?
That is a shockwave flash game http://games.playhub.com/swf/moto-rush-2.swf - so the source is not easily available. You could do something like this; How do you decompile a swf file but it is questionable, and the kind of thing you would not want to release to the public.
There are open source games, and you might be better starting with those. Look here for lots of suggestions: Suggest a good Free & Open Source HTML5+JS gaming framework/engine?

WP8 Image processing with pixel shader [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Is there a way to perform this in XAML app?
It's a complicated answer and it depends on which platform your WP8 app is written for and what specifically you're trying to accomplish.
No, you can't use XAML with HLSL pixel shaders on WP8 like you could on Silverlight. That's not supported for WP7/WP8.
Yes, you can use HLSL pixel shaders on D3D WP8 apps. They do have to be compiled at prior to marketplace submission and not at run-time. See full details on this see MSDN # http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj714072(v=vs.105).aspx
Also, you can write your own custom C++ image processing code as a Windows Phone Runtime component that gets called from C#. You can also optimize that code to work really fast with WP8 by working with the SIMD\Neon instruction set. We're actively working on an end-to-end Wp8 sample of that in Nokia that demos image processing for camera input. In the meanwhile there's a working demo that shows how to invoke SIMD\NEON optimized C++ code from C#.

Flex ... Need to make Cool website [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I need to make a fantastic website for my company. It is my project. I know a bit of flex and AS, but not in depth.
Can anyone tell me how to make cool websites with dynamic features (using flex and AS) so that everyone will like it. What are diff books and resources that I have to go through ?
Do I need to use any other technology in integration with Flex and AS ? What are the books & learning resources for the same ?
Do i need to use flash with flex ? If yes, how should i approach with it ?
Please guide me ... Thanks in advance :)
I can't really tell you how to make it cool, because that's extremely subjective. It also depends entirely on what you're building (e-commerce site, game, etc).
2) Knowing a bit of HTML always helps. However, Flash and Flash Builder can generate the necessary HTML for you. If you're going to need a serverside component, you'll need to know a serverside language like Python, PHP, Ruby, etc. This comes in handy for having users save configurations across sessions, storing data, connecting to other web services, authetication, etc. You may also have to familiarize yourself with a database like MySQL to store data. However, none of this is necessarily essential. You can make a fun game without knowing any of this.
3) Flex is a UI framework for Flash. You can't have Flex without Flash.
Good luck!

Best CSS Layout for typical ecommerce sites [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Ok, I am probably going to get very varied opinions on this question but here goes anyway: what would be the best css layout type for a typical ecommerce site. Typical as in standard grid based product pages, header footer etc.
An infinite number of layouts will get the job done, and its impossible to definitively say which one is 'best'. however, there are a few guidelines that should help:
Make the product look good.If you're going to sell something, you need to make it quickly apparent why your product is awesome. Some prominent images can help this greatly.
Don't make things more complicated than they need to be. Be minimalistic! No one's going to say "Well, the site design is very complex and intricate, so I should probably give them my money..."
Make it easy on the eyes and the mind. Consider usability: people should be able to find what they need quickly and efficiently. The longer people have to spend on your site before being able to buy something, the less successful the site will be. Also, make sure you're using colors that aren't too stressful on the eyes.
When in doubt, look at other successful E-commerce sites. You often don't need to spend countless hours thinking of a new site layout when there are plenty of tried and true designs out there. :D

Designing the look and feel of Groupon (and similar sites) [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am looking to design web applications that look and feel similar to Groupon, Twitter, etc. I need to stay in the Microsoft arena, since that's what our company developes. We have tried Silverlight, but I have not been too pleased. What should I do?
Twitter and Groupon are basically rich HTML/CSS/JavaScript applications on the front-end. "Rich", because they heavily leverage Ajax and CSS 2 & 3 and are highly interactive (through the use of JavaScript).
ASP.NET is a fine choice for powering such a website. Your team will need to be experts at:
Cross-browser, cross-device HTML. A social networking site also requires a level of support for low bandwidth users and definite support for different accessibility requirements.
A good JavaScript library (or libraries) such as jQuery, YUI, etc.
CSS 2 and CSS 3 (and HTML 5 is around the corner).
Caching mechanisms for handling high traffic.
Asynchronous methodologies (JavaScript is fine) for presenting interactive, dynamic content.

Resources