PDA

View Full Version : how to receive a variable from the html page ?


Cygnus
11-24-2008, 12:37 PM
hello

i created a swf that load dynamically a xml. I put it in hotspot like this:
url="connexion.swf?Texte.xml".

But this swf need a variable from the html page (to selecte the correct language to show)


i tried this, with no results, in the swfobject: Pano.addVariable("Langue", "3");
and, LangueRecu=loaderInfo.parameters.Langue; in the fla file.

(i put a number but later it'll be a php variable)

The swf in FPP didn't receive it.

Got an idea for my problem ?

thx

frederic