So if he encloses the flash object in a <div> it should be accessible using CSS and javascript. Haven't tried it... tom mallard seattle ----- Original Message ----- From: "Filipiak, Bob (Contractor)" <filipiab at atsc.army.mil> To: <javascript at LaTech.edu> Sent: Friday, September 14, 2001 7:49 AM Subject: RE: [Javascript] focus this object > AFAIK only link/input type objects can receive focus via JavaScript. > > > Bob Filipiak > (Contractor) > > > > -----Original Message----- > From: dave tee [mailto:teedave at hotmail.com] > Sent: Friday, September 14, 2001 7:01 AM > To: javascript at LaTech.edu > Subject: [Javascript] focus this object > > > I am in the process of creating a flash game and want to give the object > focus onLoad but can't seem to manage it. The flash code is below and this > is the object on the page that I'm trying to apply the focus to > > Any help appreciated > > dave > > > > <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" > codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca > b#version=5,0,0,0" > WIDTH=550 HEIGHT=400> > <PARAM NAME=movie VALUE="spacecraft.swf"> <PARAM NAME=quality VALUE=high> > <PARAM NAME=bgcolor VALUE=#666666> <EMBED src="spacecraft.swf" quality=high > bgcolor=#666666 WIDTH=550 HEIGHT=400 TYPE="application/x-shockwave-flash" > PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_ > Version=ShockwaveFlash"></EMBED> > </OBJECT> > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript >