Shockwave Flash
-
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 . . .
-
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 . . .
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 athttp://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