Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] how to dynamically load flash object
- From: flavio at economisa.com.br (Flávio Gomes)
- Subject: [Javascript] how to dynamically load flash object
- Date: Tue Nov 14 09:01:34 2006
Check this website and the ufo.js library for a working and compatible version http://charges.uol.com.br/ Fl?vio Gomes escreveu: > <object TYPE="application/x-shockwave-flash" WIDTH="600" HEIGHT="600" > id="oI"> > <param name="movie" value="2.swf"> > </object> > > Are these enough parameters to run a flash? > > > > suresh kumar escreveu: > >> Hi to all , >> Any one help me to solve this problem.i want to display >> the flash(.swf file) using <object> tag dynamically.Right now the >> flash image is not getting diplayed but i able to see the background >> of the swf file. >> >> here is my code. >> >> myspan=document.getElementById('my_span'); >> oImga = document.createElement('OBJECT'); // Create dynamically >> object tag >> oImga.setAttribute('TYPE' , "application/x-shockwave-flash"); >> oImga.setAttribute('WIDTH' , "600"); >> oImga.setAttribute('HEIGHT' , "600"); >> oImga.setAttribute('id',"oI"); // Give id to it >> prm=document.createElement('PARAM'); // Create dynamically object tag >> prm.setAttribute('NAME' , "MOVIE"); >> prm.setAttribute('VALUE' , "2.swf"); //source file >> oImga.appendChild(prm); >> myspan.appendChild(oImga); >> >> >> //display area to display flash file >> <div id="my_span" >> style="position:absolute;width:600;height:600;z-index:2;visibility:visible;"> >> >> thanxs for reply >> >> ------------------------------------------------------------------------ >> Find out what India is talking about on - Yahoo! Answers India >> <http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/> >> Send FREE SMS to your friend's mobile from Yahoo! Messenger Version >> 8. Get it NOW >> <http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com> >> >> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>Javascript mailing list >>Javascript@xxxxxxxxxx >>https://lists.LaTech.edu/mailman/listinfo/javascript >> >> > >-- >Flavio Gomes >flavio@xxxxxxxxxxxxxxxx > >------------------------------------------------------------------------ > >_______________________________________________ >Javascript mailing list >Javascript@xxxxxxxxxx >https://lists.LaTech.edu/mailman/listinfo/javascript > > -- Flavio Gomes flavio@xxxxxxxxxxxxxxxx
- References:
- [Javascript] how to dynamically load flash object
- From: suresh kumar
- [Javascript] how to dynamically load flash object
- From: Flávio Gomes
- [Javascript] how to dynamically load flash object
- Prev by Date: [Javascript] how to dynamically load flash object
- Next by Date: [Javascript] how to dynamically load flash object
- Previous by thread: [Javascript] how to dynamically load flash object
- Next by thread: [Javascript] how to dynamically load flash object
- Index(es):