Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Downloads
Search: 

Using Macromedia Flash Movie In VFP5/6
Alaster Leong, Atc.Com Pte Ltd
This version runs in both VFP5 & VFP6. I haven't used any VCX in this sample, just to eliminate compatibility problem between version. But you must put all the SWF files into the same directory as the form or exe.
Created on
22 years ago
Downloads
1145
File type
General information
Description
Below are some limitation using Flash as VFP control: 1. Don't use Flash control to release a form, it will crash VFP. Look at the sample form to see how i release the form. The codes are in the bbar.bexit.fscommand It will enable a timer control which is in the bbar container. This timer control will then release the form. 2. Flash control cannot run in a modal form. 3. There is no tooltips in Flash control. 4. This problem only affect VFP5. You cannot assign a SWF file to Flash control during runtime. You must assign the SWF file during development time. Key in the SWF file (*with full path and extension) into the movie property. These are what i've found out during my exploring of Flash control. I hope no more problem will appear. If any of you can solve the above problems, please inform me, thanks in advance. But I got to say this, Flash control do brought life to VFP.It will definitely brighten your form and add more interface to the user. To see the sample, starts VFP5/6. Remember to set the default directory to the sample directory. If you run the sample in VFP, you got to open the form, change all the Flash contol movie property to the path where you stall the SWF files. After changing, run the MAIN.PRG. Or you can run the flash.exe (compiled) in the Windows Explorer. If you run the exe, you don't have to change the path in the movie property. These are the files in the flash.zip: 1. flash.exe (the compile exe for the sample, run to see for yourself) 2. flash.scx (the sample form) 4. all .swf files (they are the published movie files used for this sample) 5. all .fla files (they are the Flash source files, you can open them with Flash 4/5) Before you run the sample EXE, make sure you have swflash.ocx registered in your system. One thing I got to mention, use the Shockwave Flash Object and not the Shockwave Activex Control during development time. These two activex control are quite confusing in the beginning. You can e-mail to me if you have any questions. Have fun and enjoy using Flash in your app. E-mail : wfleong@hotmail.com Name : Alaster Leong
Created by
Alaster Leong, Atc.Com Pte Ltd

Comments
Add a comment
More downloads created from this member
Alaster Leong, Atc.Com Pte Ltd
Here is a reference for Flash OCX methods in PDF format. I've collected the Flash OCX methods descriptions from Macromedia website and put them in one PDF file. Hope these will help you to use the methods of Flash OCX. I've checked these methods and they all exist in flash.ocx (the OCX for Flash MX)...
Created on
21 years ago
Downloads
998
File type
Alaster Leong, Atc.Com Pte Ltd
This is an example & tutorial using Flash MX movie in VFP. The previous example that I've uploaded is base on Flash 5 which use the SWFLASH.OCX. For Flash MX, you must use FLASH.OCX. You can download the example and run the form in VFP. Before you run the form, make sure you set the default director...
Created on
21 years ago
Downloads
1313
File type
Alaster Leong, Atc.Com Pte Ltd
Do you know you can create a flash movie and can use it as a VFP control object ? Example, you can create a button or menu from flash with rollover effect and use them in VFP. With flash control, there will be no more timer control and unstable rollover effect.
Created on
23 years ago
Downloads
1315
File type
Alaster Leong, Atc.Com Pte Ltd
Name of class library :atcdate.vcx Name of class :bemonth This is a class that contain two methods. 1. getbom method - to get the beginning of a month which return a date type 2. geteom method - to get the end of a month which return a date type I have included a demo form and y...
Created on
23 years ago
Downloads
977
File type
Alaster Leong, Atc.Com Pte Ltd
This is a container class that emulates Microsoft Windows 98 style button. This class does not use any timer, whereas most of the Windows 98 style buttons i've came across uses timer to control the button state. This class has three states: 1. normal state 2. rollover state 3. disable state...
Created on
23 years ago
Downloads
1206
File type