Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Responding to a click on a Shockwave object.

Responding to a click on a Shockwave object.

Scheduled Pinned Locked Moved C#
helpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jbradshaw
    wrote on last edited by
    #1

    I've added a Shockwave object to my WinForm and I'd like to have it respond to a mouse click. Is there anyway to do this? I've seen stuff that says you can catch the FSCommand event - the problem is I'm using just plain ordinary SWFs and I can't guarantee that they will have an FSCommand. TIA - Jeff

    M 1 Reply Last reply
    0
    • J jbradshaw

      I've added a Shockwave object to my WinForm and I'd like to have it respond to a mouse click. Is there anyway to do this? I've seen stuff that says you can catch the FSCommand event - the problem is I'm using just plain ordinary SWFs and I can't guarantee that they will have an FSCommand. TIA - Jeff

      M Offline
      M Offline
      mitooki
      wrote on last edited by
      #2

      I'm pretty sure you'll have problems capturing the click event if there's nothing in the flash movie raising the event externally. If you *do* have control over the content of the movie, as you suggest FSCommand can help you. Example: http://www.pdesigner.net/Flash_MX_Tutorials/16_integrating12.html[^] If you are using Flash 8 or later then a much cleaner method of communicating between flash and the hosting process is available by using the ExternalInterface. Example: http://livedocs.macromedia.com/labs/1/flex/langref/flash/external/ExternalInterface.html[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups