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 / C++ / MFC
  4. Shockwave Flash

Shockwave Flash

Scheduled Pinned Locked Moved C / C++ / MFC
helpcomadobedebuggingtutorial
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.
  • S Offline
    S Offline
    syedhassan4
    wrote on last edited by
    #1

    I want to run Flash file (swf). To do this I insert ActiveX for Shochwave Flash Object and give the Movie URL. But I get some problems 1) I have to give complete path of the file C:\Projects\Flash\Debug\abc.swf, If I give only abc.swf, the flash file will not display (unable to find the flash file). 2) If I want to display a flash file on the View, then how I can create "CShockwaveFlash" class object. Actually I am unable to understand the parameters of create() function and then which function will call for the flash file name and so on . . . 3) I have one very strange problem, why I compile and run the program, it run and display flash file correctly (I display it on the dialog box). but when I copied EXE in the different location on the same system it will not run the flash (this is the not the problem of flash file location). 4) How I can determine that the Computer can run flash file that is Shockwave player is installed on the system. 5) Is this possible that Flash file can be added in the resource. If "YES" then how I can load this file from resource ID. Thanks in advance. Any example, any web resource, any help, any . . . and looking for the reply . . .

    D 1 Reply Last reply
    0
    • S syedhassan4

      I want to run Flash file (swf). To do this I insert ActiveX for Shochwave Flash Object and give the Movie URL. But I get some problems 1) I have to give complete path of the file C:\Projects\Flash\Debug\abc.swf, If I give only abc.swf, the flash file will not display (unable to find the flash file). 2) If I want to display a flash file on the View, then how I can create "CShockwaveFlash" class object. Actually I am unable to understand the parameters of create() function and then which function will call for the flash file name and so on . . . 3) I have one very strange problem, why I compile and run the program, it run and display flash file correctly (I display it on the dialog box). but when I copied EXE in the different location on the same system it will not run the flash (this is the not the problem of flash file location). 4) How I can determine that the Computer can run flash file that is Shockwave player is installed on the system. 5) Is this possible that Flash file can be added in the resource. If "YES" then how I can load this file from resource ID. Thanks in advance. Any example, any web resource, any help, any . . . and looking for the reply . . .

      D Offline
      D Offline
      dazinith
      wrote on last edited by
      #2

      hrm.. ive only used flash in a visual basic program.. haven't tried it in VC++ yet.. i had to type in the full path too.. but when it compiled it put it in the .exe.. http://www.dzgraphics.com/pw/dz_pw.exe its a super sweet password generator feel free to get it, ive also written the whole thing in flash at http://www.dzgraphics.com/pw wish i could help more.. as for how to tell if they have flash you should include the .ocx file as part of the installation.. i think its called swflash.ocx as for documentation of how to use it i would contact macromedia, or search there site.. because i remember finding information about using it in programs was pretty hard to find.. -dz

      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