Javascript or flash for animation?

by 35 replies
41
Hi everyone,

I am trying to improve the animation of an ad on our web site. Currently it uses very simple javascript. However, I have seen easing performed with javascript on various web sites, and until now, I only thought you could do those types of techniques with flash. I was wondering what other cool tricks can be achieved with js?

Also, which do you think is the better method for web ads: transparent swfs or javascript? sources to good tutorials?

My goal is for something simple and professional, nothing too crazy.

Thanks in advance for the help.
#website design #animation #flash #javascript
  • You can do loads of different animation effects really easily using the jQuery UI. It can be found over at jQuery UI - Home

    I'd recommend using js over flash as you get the benefit of search engine spiders being able to read the alt tags in your images for extra SEO credit whereas they just ignore flash.
    • [1] reply
    • Same here, it is highly recommended to not use flash as flash and images are not read by Google crawlers. Therefore, it become useless as far as the SEO friendly website is concern. You may create lots of cool animations with Javascript as its more closer to HTML and search engine can easily read in HTML.
      • [1] reply
  • I think you should use javascript instead of flash because flash can make ur site slow
  • Flash is way more desirable than javascript for animation, period. Who wants to wait for an applet to load up? If its simple stuff you're after css can do the trick as well.
    • [3] replies
    • I second this. Don't believe all the false statements about Flash and SEO. The search engines have gotten really good at reading Flash.
    • Which? huh?
    • Flash will be around for a while yet but it's definitely on its way out. For that reason along it makes sense to animate with javascript.

      Better yet, use a javascript library like jQuery where an awful lot of the heavy lifting has been done for you.

      @stealthpromo - there's no applet to load with javascript, you're thinking of java.
  • Using javascript is advisable for SEO purpose
    • [1] reply
  • Haven't tried this personally but the tutorial seems pretty easy to follow. Not sure if it's what you're after but thought I'd mention it

    Custom Animation Banner with jQuery | Codrops

    Demo: Custom Animation Banner with jQuery
  • First let me say that its hard to do better than Flash animation for websites. For those nice header slideshows to animated menu's.. there's simply a lot more you can do in Flash. I've been designing with Flash since its Macromedia days.

    Javascript with JQuery can do simple transitions and easing techniques.. even slideshows. Depending on the level of the animation effect, and where you want to introduce it in your website, is the deciding factor for me if I want to use Flash or Javascript.

    For very simple in-page easing such as fading something in and and out, or a glowing tab on hover, its quicker to use Javascript.

    Javascript is also more "mobile device friendly". Devices such as iPads and iPods don't do Flash at all unless hacked. On the other hand, they don't do Javascript very well either but at least its supported natively.

    However, I don't design websites for %100 mobile compatibility unless asked... it severely cripples what you can do as a designer and programmer.

    With that said, in order to become a more well-rounded programmer/designer, it would be in one's best interest to know both. ActionScript for Flash is very similar to Javascript... basically event listeners, arrays and functions.
  • I wouldn't recomend flash at all!! either javascript or Jquery
  • Banned
    [DELETED]
  • JavaScript and Canvas, check out Raphael

    Raphaƫl?JavaScript Library
  • Hello..

    I would recommend you java script because flash content might effect on web site loading speed..
    • [1] reply
    • JavaScript is much better than Flash because Search engines can't read flash.
  • Hi,

    This script is for animating the menus

    • [1] reply
    • Flash animation offers a very complex!
      • [1] reply
  • USe flash animations instead of javascript coz flash animations are uitecool and clean and safe too, u didnt go through malicious codes of javascript sometime which never works and stop other codes fom their fucntionality too.
    • [1] reply
    • best and cool animations with js... b'coz it is more closer to HTML and search engine can easily read in HTML.
  • id love to carry on developing in flash with actionscript.. it can do some very cool stuff that ive not seen matched with any other method especially using databases to drive the animation.. but it doesn't look like a bright future for flash thanks to apple... what are other actionscript animators planning to do ?
  • i think that more pro if we use JS,
    also Flash will make our site to slow
  • Flash is no good for SEO. Better use jQuery JS scripts for your animations as well as for your menus and sliders.
    • [1] reply
    • agree.. i want to develop a database driven dynamic animation that can embed in any webpage.. seo is therefore not an issue..
  • In my opinion it is very good to make your website more attractive and informative through web animation and flash files.

    however JavaScript is much better than Flash because Search engines can't read flash.
  • There are a lot of JScript platforms to choose from but I prefer jQuery also. Stable and Reliable. You can search Google for free scripts and plugins for your website's animation module.
  • try to avoid flash, as u seen lately theres been a huge decrease in flash websites due to them being NOT search engine friendly!
  • Banned
    [DELETED]
  • I think that you should use JavaScript. It is easier to use, for me anyway, and Mac products don't support Flash.
  • Anyone that knows anything about current web development would tell you to use HTML5/JS or a library.

    Flash is obsolete unless it's VERY specific or major a video content site.

    Anyone suggesting flash must be reading blogs from 05'
  • Flash file be more attractive and informative. You can use different animation effect by using jQuery UI
  • i'd prefered flash animation, since java consume ur visitor cpu process.
  • Flash animation file give more creativity to your web site it attract people towards your company ..!! but flash files make your web site more heavy ..!!
  • Banned
    [DELETED]
    • [1] reply
    • Your spam posts have been reported. Please await banishment!
      • [1] reply
  • Banned
    [DELETED]

Next Topics on Trending Feed

  • 41

    Hi everyone, I am trying to improve the animation of an ad on our web site. Currently it uses very simple javascript. However, I have seen easing performed with javascript on various web sites, and until now, I only thought you could do those types of techniques with flash. I was wondering what other cool tricks can be achieved with js?