Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macromedia Flash in Foxpro
Message
 
To
25/10/2005 01:26:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01061745
Message ID:
01067528
Views:
22
I will give you a sample code:

Be sure to add the Flash.OCx to your Foxpro by going to Tools->Options->Controls->Select & tick ActiveX controls from the option group -> click add then browse from your windows system directory, apply ok..

After that, drop the Flash Olecontrol on your form...

In your forms init procedure, put something like the code below to load the movie.


THISFORM.FlashMovie.Movie = SYS(5) + CURDIR() + "FlashMovie.SWF"
THISFORM.FlashTimer.Loop = .F.


Code to play the movie

THISFORM.Flashmovie.play()


Code to stop the movie
Thisform.FlashMovie.stop()

just change FlashMovie.swf according to your movie name..
Jojo R. dela Cuesta, B.Sc.
eConsultant, Programmer
Dalplus Technologies
http://www.dalplus.com
Previous
Reply
Map
View

Click here to load this message in the networking platform