Hi Mel. Here is a test page which works and uses exactly the same old school communication methods you are attempting on your page: http://www.misterhee.com/tests/playstop/test1.html
So we know that swfobject / communication methods work just fine. If I swap to your swf in the same page (only changing the swf), then it no longer works: http://www.misterhee.com/tests/playstop/test2.html So we can assume that there is something specific with your swf / how it is being delivered. You have a few weirdnesses with your server setup: 1) your test html page is being delivered through an exe: http://ww2.mesaeastpark.com:4296/cgi-bin/mep/mepinit.exe . Is this on purpose? 2) the swf is being delivered over a non standard port of 4296: http://ww2.mesaeastpark.com:4296/images/baywood.swf 3) the swf has no preloader on it. It is 2.5 mb, and it takes 100 seconds to load for me. So to test, why don't you grab my source: http://www.misterhee.com/tests/playstop/swfobject.playstop.zip and deploy to your sever to see if you can get a known working setup happening. Unfortunately, since I have shown that it is not a swfobject related issue, I am not sure how much more help we can be on the list. I would actually recommend that you have a look at splitting the video out as an FLV and use a standard flash based video player to contol / display the progress of the video. There are built in components in Flash, or there are free players like flow player or JW media player which can playback FLVs and take care of preloading / buffering / play controls for you. Regads, Aran On Tue, Sep 8, 2009 at 9:06 AM, Mel_the_Snowbird <[email protected]> wrote: > > Hi (to Sam Sherlock and all you other folks): > > Enviro: swfobject 2.2, Javascript, and Flash Player in a simple .htm > file > > I' ve been trying everything under the sun to try and get some > control over the Flash Player so that I can Stop, Play and Rewind > the .swf file > > All to no avail. > > My video clip shows nicely but (for example) this next JS function > does *not* get thru to Flash to have it stop running the video. > > I am able to easily get the Flash Version passed back to my > Javascript function, and display it on the screen while the clip is > playing > > The button which calls the videostop() function is in my .htm file > underneath the running video clip but it keeps running forever, even > when pressing my "stop" button. I *do* enter the videostop() function > and show the alert message, but the video keeps playing ??? > > Again, my website is: www.mesaeastpark.com (click on 'Visit', then > click on 'Preliminary Video Testing' ) > > Can anyone help me please. > > Thanks, > > -Mel Smith > Edmonton, Canada > > > *********************** > function videostop() { > var output,playerVersion ; > playerVersion = swfobject.getFlashPlayerVersion(); // returns a > JavaScript object > output = "You have Flash player " + playerVersion.major + "." + > playerVersion.minor + "." + playerVersion.release + " installed"; > alert(output+"\n and you just Clicked Stop"); > var sobj = swfobject.getObjectById("myId"); > sobj.StopPlay(); // it won't stop playing :(( > return true; > } > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
