Results 1 to 3 of 3
  1. #1
    ercarls is offline Member
    Join Date
    Apr 2010
    Posts
    2
    Rep Power
    0

    Default Stopping a .swf with java

    I have a .swf on a page that is set up to play automatically however I want the user to be able to stop the .swf no matter where they click on the page. So the user will click somewhere on the page (not in the actual .swf) and that will stop the .swf.

    How would I go about doing this?

    Thanks in advance.

  2. #2
    iluxa is offline Senior Member
    Join Date
    Mar 2010
    Posts
    266
    Rep Power
    5

    Default

    Java Code:
    function handleAnywhereOnThePageClick () {
      sfw.stop ();
    }
    just kidding :) what does this question have to do with Java though?

  3. #3
    ercarls is offline Member
    Join Date
    Apr 2010
    Posts
    2
    Rep Power
    0

    Default

    Thought there could be a java script that I need to control the Flash.

Similar Threads

  1. stopping second time round
    By silverspoon34 in forum New To Java
    Replies: 0
    Last Post: 11-20-2009, 02:04 PM
  2. Pong Paddle Not Stopping Ball At Certain Speed
    By JDCAce in forum Java Applets
    Replies: 3
    Last Post: 04-01-2009, 11:07 PM
  3. Replies: 6
    Last Post: 04-01-2009, 11:09 AM
  4. Replies: 11
    Last Post: 01-26-2009, 12:22 AM
  5. stopping thread...using flags
    By rstepler in forum New To Java
    Replies: 1
    Last Post: 07-31-2008, 09:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •