Syndicate

Feed

Flash

Mar
09

Flash-Javascript Communication

This article tells the story of how Flash 8 movies learnt to fluently converse with Javascript using the ExternalInterface “API” in XHTML strict. Read more →

Jan
13

SIDEBAR : Flash as an inline element

The Strict xhtml Document Type Definition states without ambiguity that the <object> element is an inline element, not a block element. Read more →

Jan
13

STEP 3 of 3 : Javascript calls Flash

At this point, we’ll finally make good use of the id value of our Flash <object> (and, again, that’s not the id attribute of its placeholder element). We will call Actionscript functions from our *.js file using very basic Document Object Model scripting :

document.getElementById("flashMovieId").functionNameInOurJavascript(someValue);

 Read more →

One file is attached to this posting. Login or register to download this file.


Jan
13

STEP 2 of 3 : Flash calls Javascript

At this point, we should have scribbled on a post-IT the id value of our Flash <object> (and not the id attribute of its placeholder element). Read more →

One file is attached to this posting. Login or register to download this file.


Jan
13

STEP 1 of 3 : Preparation time

We can use a Javascript library to properly embed a Flash “object” on a web page, or we can simply use W3C-compliant (X)HTML markup. Read more →

Feed