David, Thanks for the tip - Philip's site looks good.
I will have a go and see if I can modify the DIV attributes to having the following LEFT: 318px; TOP: 180px; POSITION: absolute; using div.setAttributes. This will ensure the SWF object is fixed at the particular location. And then use swfobject.createSWF. Wish me luck and I will get back and report. Steve G. On 26 Jan., 19:06, akrondaraul <[email protected]> wrote: > hi steve! > > i am not sure if i can help you out but, if you are trying to update a > div layers content > with an 'onclick' event using the swfObject2. You might want to take a > look at > Philip Hutchison's explanation on how to "use an 'onclick' event to > dynamically load > a SWF. > > http://pipwerks.com/swfobject/load-onclick/2.0/index.html > > he says that loading and unloading multiple SWFs can lead to memory > leaks. > thats where the removeSWF() method comes into play. > so a swfobject.amendSWF, wouldn't that mean that you just load the new > SWF > on top of the loaded SWF? > which leads to the fact that you end up with several SWF files in your > browser. > sorry if i could not help you out, but if you find a solution please > let me know. > i dont like the issue of the objects closing down and open back up > either. > it just doesnt look nice and smooth. (-: > > regards, david > > On 26 Jan., 15:44, sgibson <[email protected]> wrote: > > > swfobject.createSWF and swfobject.removeSWF > > > I am trying to set one SWFObject up, running and fixed at a particular > > location in a web page with clicks-on round the page to trigger > > different flash movies in that SWFObject. > > > However it seems that every time I use swfobject.removeSWF and > > subsequently swfobject.createSWF, a visible closing down and opening > > up of the object is seen. That's not what I want. > > > Ideally it would be good to have a swfobject.amendSWF where the URL of > > a swf is just passed on and the SWFObject plays that swf without > > closing down. > > > I am so sure there's a turnround round this problem. > > > Regards, Steve G. -- 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.
