So this seems to be code specifically related to your swf, and nothing to do with SWFObject itself. I would check the docs or forums for the page flipping product you are using.
The code does look unusual to me, as normally you would use ExternalInterface to communicate to a swf rather than listening to a change event directly. Are you sure your syntax is even valid? Aran On Thu, Feb 18, 2010 at 5:46 AM, trivektor <[email protected]> wrote: > Hi guys, I use the code below to add a listener for the change event > in a flash reader embedded by swfobject.embedSWF() > > try { > document.getElementById('issuuViewer').addEventListener("change", > function() {alert('flipping page');}, false); > } catch (err) { > alert(err); > } > > No exception occurred but the event doesn't fire when it's supposed > to. Anyone had a similar problem? > > -- > 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]<swfobject%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- 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.
