Hi,

I see all documentation but i not see how i can change my flashcontent

 so i write here and hope you can unlock my probleme

i need change the source of flash on random so i create my function
random

but how can change my data on my flash

my code :

swfobject.registerObject("logo_zz", "9.0.115", "images/
expressInstall.swf");
window.setInterval("chezoim()", 5000);


function chezoim()
{
var randomnumber=Math.floor(Math.random()*6);
if(randomnumber==0)var swf="yeux/Z.swf";
if(randomnumber==1)var swf="yeux/Y.swf";
if(randomnumber==2)var swf="yeux/X.swf";
if(randomnumber==3)var swf="yeux/W.swf";
if(randomnumber==4)var swf="yeux/S.swf";
if(randomnumber==5)var swf="yeux/T.swf";

var s0 = function (){
        var att = { data:swf, width:"200", height:"50" };
        var par = { };
        var id = "flashContent";
        var myObject = swfobject.createSWF(att, par, id);
        };
swfobject.addDomLoadEvent(s0);

}

but this don't work :/

thx guys

have a nice day :)

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to