[PHP] Javascript control on Firefox 2/3 with flash 9

2008-05-29 Thread jencisson

my page include some javascript to control the play,rewind..and other functions 
of the swffile showEdit.swf, it works in Safari/IE with flash-plugin 8/9 
installed but  not works in Firefox  with flash plugin 9(would reports 
obj.play() is not a function, is any one point out what is the problem or there 
are techniques i can use?

the source codes
script
function show(){
 var obj=document.getElements(showEdit);//it works in Firefox
 obj.play();//it works in IE,but not in Firefox.
}
/script

  object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354 
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0;
 width=202 height=498 id=showEdit
param name=movie value=flash/show_edit.swf /
param name=quality value=high /
param name=allowScriptAccess value=sameDomain /
param name=FlashVars value=userid=rasy /
param name=name value=FlashVars /
embed src=flash/show_edit.swf width=202 height=498 quality=hight 
pluginspage=http://www.macromedia.com/go/getflashplayer; 
type=application/x-shockwave-flash allowscriptAccess=sameDomain 
FlashVars=userid=rasy name=FlashVars name=showEdit
/embed
  /object

_
多个邮箱同步管理,live mail客户端万人抢用中
http://get.live.cn/product/mail.html

Re: [PHP] Javascript control on Firefox 2/3 with flash 9

2008-05-29 Thread Wolf

 [EMAIL PROTECTED] wrote: 
 
 my page include some javascript to control the play,rewind..and other 
 functions of the swffile showEdit.swf, it works in Safari/IE with 
 flash-plugin 8/9 installed but  not works in Firefox  with flash plugin 
 9(would reports obj.play() is not a function, is any one point out what is 
 the problem or there are techniques i can use?
 
 the source codes
 script
 function show(){
  var obj=document.getElements(showEdit);//it works in Firefox
  obj.play();//it works in IE,but not in Firefox.
 }
 /script

Sure, GO CHECK WITH A JAVASCRIPT LIST!

There is no PHP code anywhere here.

HTH,
Wolf


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php