page commitment menu search

flash tutorial

Home Products Web design Publications Advertising Graphics Free Quotation
 
Quick Links
Dycept RSS Feeds

Tutorials - Dycept now provide free tutorials to help solve all your Internet needs

WebDesign - Taylored web site solutions for any businesses needs

Advertising - Exciting opportunities for advertising your site at affordable prices

rss

News Headlines

Economy boost may mean pain later - Alistair Darling may be forced to set out future taxes rises to pay for a short-term boost to the economy, the BBC understands.

Johnson ponders immigrant amnesty - The Mayor of London is to commission a study of a potential amnesty for illegal immigrants in the capital.

Clinton 'will accept State post' - Hillary Clinton will agree to serve as secretary of state under US President-elect Barack Obama, the New York Times reports.

Florida boy's suicide live on web - A Florida teenager commits suicide in front of a webcam streaming live video

'No justification' for Brand show - Lewd calls from Russell Brand and Jonathan Ross to actor Andrew Sachs had "no editorial justification", the BBC Trust says.

Problem:

In Internet Explorer you get the message "click to activate and use this control" this is because Microsoft lost a court battle about embedding content in its browser. Now as a result you have to activate objects in the browser. Fortunatly you can stop this effect using JavaScript.

Solution:

Create your own JavaScript file (dycept.js for example) and insert the following code into the head of the html page:

<script language="JavaScript" type="text/javascript" src="lib/dycept.js" />

Insert the following code into the JavaScript file:

function activateFlash(fla){
  var mov = document.getElementById(fla);
  mov.outerHTML = mov.outerHTML; return true;
}


The code above allows you to activate movies by passing it the ID of the movie as a variable.

Example:

Change the body tag to:

<body onload="activateFlash('flashmovie');">

and then change the flash movie to have a ID of flashmovie

<object id="flashmovie" ... </object>

Now when the page has loaded the click to activate will be removed for flashmovie.

All the best, David Batey.

Back | Order