Javascript adobe flash player
No, JavaScript cannot do what Flash does. No clue what happens if one wanted to stream a file. I would not lie. But this is not JavaScript. JavaScript - I remember once it could be used for MIDI files but then it needed compatibility checks based on the browser. Note well. Do not talk about Apple Demos They have only optimized for their browser Safari.
Also do not talk about what Steve did or did not say. He is a pro at marketing. The other steve Steve Wozniak is the engineer. In many cases ActionScript, better yet the Flash IDE make animation a breeze with half the lines of codes or maybe even simple drag and drop on timelines than JavaScript. Libraries such as JQuery were brought in to try to shorten the amount of code. This is in the hands of the developer and has nothing to do with the language.
People constantly talk about performance with Flash, yes this is true but this is poor design on the developer for memory management. If issues started to occur in HTML5, what would you do? Send in a bug request? I suggest looking through Mr. Doob's work, Webby Awards and google the best of Flash Websites.
Look at them carefully see if you can bring up case studies. And a word to a wise , one of your favorite websites - YouTube, would not have survived if it was not for Flash :D. Hell you can use javascript to "do" flash!! Check this out! On a serious note, flash has its own advantages. Like e. Maybe javascript and HTML5 is not there yet, but its getting close!
No, definitely not. While both share some capabilities, like animations and interactive interfaces, JavaScript's and Flash's design philosophies differ fundamentally, and in terms of features in those fields, Flash is certainly way, way ahead. It might, depending on what exactly you are doing in Flash. If you outline that in more detail, you will certainly get more concrete answers.
There's still plenty of reasons to use Flash! Some HTML5 features work, others won't work on other browsers. As a matter of fact, HTML5 is not really a standard at all. Depends on what functionality you are looking for.
The ExternalInterface class is designed specifically for this purpose. It's a relatively simple class for exposing actionscript functions to JS or vice versa. I recently implemented it in an audio player my team developed to have an HTML formatted tracklist trigger play and stop events.
Essentially, you can make your code first check against ExternalInterface. From there, you can use addCallback to designate a function that can then be called on the flash applet's container. You can then call it using the typical javascript - just access the method off of the container using getElementByID or whatever selector flavor you prefer if you're using a framework. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to interact with Flash via Javascript? Ask Question. Asked 10 years, 7 months ago. Report abuse. Details required :. Cancel Submit. User Microsoft Agent. Hi, When you try to access certain websites, is it displaying the webpage content or not? Let us know how this turns out. How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site. In reply to A. User's post on May 30, Hi, Thank you very much for your prompt reply.
Many thanks for your help.
0コメント