Googlebot Vs Javascript & Actionscript Flash Detection
Oct 20, 2007
For flash player detection, I use the following:
- javacript based detection, in index.html
- if player installed, load the actual swf into the the same index.html
- if not, show a few lines of alternative text in the same index.html
- if no javascript, load adobe's flash_AS_detection.swf in the same index.html
- if player installed, load page index_flash.html, which loads actual swf
- if not, load text page index_noflash.html
I have used adobe's Flash Search SDK's swf2html.exe to check that swf links should be viewable by capable search bots. Since the site went live a few days ago, googlebot has logged about 6 access entries. But it reaches only as far as pulling the detection.swf. This alone confirms that google is willing to load swf files. But the lack of entries for my actual swf first also shows that google isn't happy with links within the javascript flash detection code. Index_flash.html and index_noflash.html weren't requested by googlebot at all. I know that after all most people suggest providing a full html alternative site at least for the search bots. But any views on why google doesn't at least try to pull my other html/swfs, after touching the detection.swf?
I have another question which i think is most easily solved by using javascript to find out if flash exist or not and dynamically modify the page. In my case place a placeholder, call jcupload code if flash exist or replace the placeholding div with my html
But the problem is i havent been able to find any javascript functions to tell me if flash is installed. All i found were html that displays alt html if flash isnt shown/enabled.
nav item consists of a ball that "follows" the cursor in relation to where it is on the page. JS is used to gather the X/Y info from off the Flash stage and create vars to be used by the Flash movie to move the "orb" in relation to the cursor position. For some reason, FF and Chrome on PC fall short here.I've tried everything from setting the Flash movie to "opaque" and positioning a transparent DIV over it, all to no avail.Any thoughts on this? Has anyone encountered something like this?
how to work out the direction of the mouse on stage and say from this:
"if the mouse goes from the left to right (visa-versa) once, add score +1" and "if the mouse speed which is player controlled - slows down - to then display an error graphic"
Is there any as3 based source code that accomplishes pitch detection or beat detection accurately? Doesn't have to be both, if you know of at least one of those,
Is it possible to make desktop Air application by using HTML/JavaScript and Flash?Actually I want to make an Air app (which is for desktop) by using flash and want to use HTML , javascript and CSS as well.Is it possible ?
I need to execute some javascript string code from flash swf file using actionscript 3. I read that it could be done by passing the javascript code to the parent html document , using externalinterface.call function. Then I assume it will be faster if I can declare functions in the javascript code in the HTML document in the first use of externalinterface.call funtion ; if flash code calls the javascript code repeatedly. So let me ask you how to do that. For details , any javascript to be loaded is unknown in design time and I can not prepare a javascript file to be loaded.
Is it possible to pass file names from a running Flash application, which only purpose is to enable multiple-file-selection, to a JavaScript application which handles upload of all files to the server?I have examined various Flash upload solutions (like SWFUpload, Uploadify, etc.) and none of them meets my needs. I want an easy to implement solution (like Uploadify) which also lets me specify various parts of the HTTP request.
The reason I need this is because my upload form uses session cookies (for user authentication) and an CSRF token both passed to the server when uploading files.Is it technically possible to pass filenames (+ paths) to a JavaScript application which then handles the upload?
Here's the challenge: I have a Flash movie which will be embedded in a page using an unknown DOM ID that I want to be able to identify/store for callback in a JS function. My ideal user flow would be: User clicks button in Flash. Flash pauses any animations / video / sounds / etc. Flash calls an injected JS function to display a page-covering overlay experience. When user closes overlay experience, a callback method on the Flash object is called. Flash resumes playback.
The problem is, when AS3 uses the ExternalInterface.call("functionName", args...) method, there doesn't seem to be a DOM event triggered, and thus it is impossible to tell which object called a JS function, so having a "registerMe()" function doesn't seem to work. Basically, the injected JS function has no way to determine which DOM object to call, because the ID of the Flash object is unknown.
I'd like to call a javascript function from an embedded .swf file. Specifically, I'd like to call a function in one of my externally linked javascript files from within: function loadTrack(){
[Code]...
which is in an .as file which I assume somehow becomes the swf file. How would I go about this and 're-compile' the .as file?
I'm trying to write a web application that searches google and then downloads the result sites and parses them.The search has to be done on the client side. Without implementing a server side proxy.Can this be done using javascript/sliverlight/flash?
let suppose i have a object named "data" which has a callBack function named "closeItem" which does something. So i have flash file which has a close button. on click of that i am calling this function which closes this item. So issue is? If i pass this "closeItemFunction" as global function this works fine. but if a pass this function as a "data.closeItem" this doesn;t work throwing some falsh error. so i just wanna ask that "does flash only call gobal scoped javascript function" ??
With all the recent hype about JavaScript and HTML5 replacing Flash, I wanted to know - How would it be possible to protect client-side js code? Of course, it is possible to obfuscate it, but that would only make it a little harder. Also, for games which submit high scores to the server, wouldn't it be incredibly easy to modify those scores before they are sent to the server? I know even Flash files can be decompiled, but they can be obfuscated and flash decompilation is not as easy as modifying data in JS - could be done easily using a plugin such as Firebug. I'd like to know everyone's views on this.
I have a flash file that contains a package "game" which has a class "Scores" and a method setValue(). I want to write some lines of Javascript that allow me to call that method. Someone directed me to this tutorial, but I am still a bit confused.
Javascript: alert("start"); var so; so = document.embeds[0]; so.addParam("allowScriptAccess","always"); import flash.external.ExternalInterface; ExternalInterface.call("setValue[2600]");
displays an alert to tell me that it has indeed began to execute saves the embedded flash file into a variable and sets access imports that class calls the method.I am not sure about how this class thing works? This is just the bits and pieces I was able to come up with from that site, but I don't really understand how it all works (but certainly hope to eventually).This is the site: http:[url]...how-do-i-access-flash-function-using-javascript.When I execute the code with the importation nothing happens, but the alert does come up when I don't have that statement?
I'm searching for free partial panorama viewer. It should be placed in somewhere in the page and it should be customizable (openSource?). So far i found pan0.net but it only supports 360 and i have priority for non 360...
I'm wondering if its possible to do what I'm thinking, and if it is possible, does anyone know of a flash object that does what I need? I know a Flash object can provide a javascript API to interact with it, what I dont know is can Flash send an email directly without the need to talk to the webserver to do so? If thats possible would it not be possible to write a flash object that did nothing but provide an API to send emails? Has such a thing been created that is out there for others to use?
I'm looking to create a email form on a web page but the site is static (no server scripting). In my situation server scripting is not possible as there is no server, the site is 100% client side on a CD/DVD/USB Stick.
when I moved my mouse there was a red fluid like velvet effect that followed my mouse and slowly faded.It was really cool and would love to add it to my website.
i have a snake game that uses a timer to incremement the snakes size, and ive been trying to figure out hit detection on it. and have got to this stage
for (var i = 1; i < snake.length; i++){ //this is where I am trying to make the hit if (Math.floor(snake[0].x) == Math.floor(s.x) && Math.floor(snake[0].y) == Math.floor(s.y) ){
automatically replacing a flash file with a jpeg, for non flash users.
I also am looking for some scrpt which tells users if they haven't got a/the correct flash plug in. My site uses a flash 5 file as well as flash mx 2004.
Is there any way to bypass the ugly Flash popup notice asking to allow mic or video access? We do not want to NOT ask for permission, but rather have our own visual design asking to allow access.
You've seen those annoying singles ads that always start off "Look for Singles in *****" and the thing knows what city your in! Well I need to know how to do the same thing for a flash animation.I have NO clue where to start on this.I need to grab the location of the user and output the state into a text string.
I've created a website for a client and this is my first time. What I was wondering is how can I set up her website so that if someone views her page, but they don't have the latest flash player, then the website would prompt them to go and download it.
I'm using DreamweaverMX ver 6.1 to build a modest web site containing Flash animations. I'd like to use some type of Flash Detection script on my index.html page to help those users who still don't have Flash installed on their systems. While I'm a fairly talented artist, I simply don't know how to write ActionScript yet. Is this beyond the scope of a newbie?
I am looking for a flash mp3 player that will work within the Opera-based browser on the Wii. The player needs to be javascript enabled (support methods like play, stop etc.) The mp3 tracklist will be built dynamically using ajax on the same page as the player so it must trigger an event when a track finishes playing (or at least provide functionality of some kind to indicate that it's time to start the next track). Does anyone know of such a player?
ive publish a html file with flash detection enabled from flash.[code]now since the default codes places my flash movie on upper left corner, ive made my own tables with the flash on it, how or where do i place this code to the upper codes?[code]
When a user does not have a flash player... and enters a flash website...is there a way flash can recognise this and with a click he/she can download the latest flash player from that site?
How can I detect if the user has flash within the embed code I distribute?I have my custom videoplayer created in flash, I have a share option and the user gets a embed string to use.Then if the user is viewing the embedded video from an iphone with no flash, I want to be able to replace my player with a youtube video.Is this possible..?