hi there,

i run a swf chart system on a website,
id like to access the swf from javascript

the following is working:

chart=document.my_chart;               if i alert this its an HTML
EMBED OBJECT
chart.Update_XML( xml, spinning_wheel, mode )   ..... this will caue
the swf to realod data

BUT id like to make it dynamic with a function where i put both xml
url and the flash name

eg. updateChart(xmlurl, objectid)

so =>

chart= $(objectid) ........... will return just an html object ....
chartUpdate ... fails
chart= document.all[objectid] ..... FAILS in firefox
chart= document.obectid or document[objectid] fails also to return an
object ....


Reply via email to