how to hide text behind embedded Flash SWF object in HTML - html

I am trying display customized text behind my embedded Flash swf file on HTML. I embed using SWFObject.
The purpose is to show the custom text whenever Flash player is not installed.
This might also help with the flash illiterate web-crawlers.
thanks!

SWFObject already gives you the option to show alternative content when Flash is not installed.
http://code.google.com/p/swfobject/wiki/documentation
Look for the section "STEP 1: Embed both Flash content and alternative content using standards compliant markup"

Related

How does Shumway convert Flash to HTML5?

Mozilla's Shumway project appears to play SWFs without requiring a Flash player to be installed:
Shumway is an HTML5 technology experiment that explores building a
faithful and efficient renderer for the SWF file format without native
code assistance.
I'm looking at the source of their racing demo and can only see a link to a SWF and no JS.
How are they displaying this SWF without any Flash plugin being used?
Shumway loads, parses and executes SWF with JS, and uses HTML5 <canvas> to render it.
You can see a bit better what's going on behind the scenes when you open the SWF in the Shumway Inspector. Direct link for the racing game: http://www.areweflashyet.com/shumway/examples/inspector/inspector.html?rfile=../racing/race.swf

Is there any way to render HTML in ActionScript3 - FlashPlayer SWF?

I already know about StageWebView and HTMLLoader, but that only works in Adobe AIR. Is there any way (maybe third party) to do the same in a SWF.
Reason:
I'm building a game in AS3 that will run on mobile devices with Adobe AIR, and there is also a web version that will run as a SWF.
The game has some links, URLs that open in a StageWebView for mobile. My problem is that the SWF has to open these URLs in a browser popup or i-frame... I don't like it :(
What you're trying to accomplish isn't possible in a SWF. However, on the web you will have access to javascript and HTML, and with that, you could replicate the functionality with an iframe that sits directly over your SWF.

Unity3D Html over 3D flash game

I have 3D game made in Unity3D. After some time have been spent, it works in flash correctly.
Currently i need to find a way to display HTML content over my flash.
wmode=opaque, wmode=transparent have failed, because stage3d, which unity uses to render 3d content, requires wmode=direct.
I have tried other hacks like using iframe, but this works different in all browsers(correct behaviour only under chrome with release flash player)
Now i'm thinking about get screenshot of flash stage from action script, pass this data to javascript, render this on canvas, hide flash, and move custom HTML element over this.
All this looks so sad, am i missing some important information?
if you use flash and want to render the scene in an canvas :).... better use only flash, don't do that :) .. and strange why it doesn't work for you because I often put a div above the flash content and it works.

place an alt tag for a flash image

Hi
I have a flash file. Which contain images. I want to place an ALT tag for the animated flash. Is it possible to place an ALT tag for flash?
Please give me a solution
Thanks in advance
Alternative content for objects (for when they fail to load) goes between <object> and </object>.
If the Flash does load, then any alternative content needs to be exposed to accessibility APIs from inside the Flash object. Screen readers, braille displays, etc can then access it.
WebAIM has a guide to making Flash content as accessible as possible.

How do I add playback controls to a SWF file embeded in HTML?

What am I missing here because my video doesn't have any controls? Is there a special parameter I need or do I need to encode the SWF file in a special way? I just used a MPEG to SWF converter provided by Blaze Media Pro.
Wow. I was thinking this was much easier than it is. In order to get playback controls, you needs to either use some boilerplate Flash code to wrap your Flash movie or you need to script it out in ActionScript. Basially, there is no toggle or anything to just turn controls on for a SWF movie. You'll want to look into some sort of the Flash editor/IDE to build controls into a .fla file.
Try FlowPlayer.
Flowplayer is an Open Source video player for your website.
For site owners, developers, hobbyists, businesses and programmers.