Using FLASH in Form (1 Viewer)

mikebaldam

Registered User.
Local time
Today, 14:46
Joined
Oct 29, 2002
Messages
114
Trying to get back into access after quite a while and having touble getting macromedia flash files to play within a form.

I can see that Access can work with Flash but I can't get it to display the file, just this error message.

Error - There is no Object in this control

I'm currently trying to insert the flash movie as an object but its not going too well...... I know this will be really basic, but please help....


Cheers

Mike
________
essential vaaapp vaporizer
 
Last edited:

Graham T

Registered User.
Local time
Today, 14:46
Joined
Mar 14, 2001
Messages
300
Mike

If you are storing your flash movie clip in the same directory as the database you can try the following:

With your form in design mode, go to Insert >> ActiveX Control. From the list choose Shockwave Flash Object.

Open up the properties window for this new control and name it obj_flashmovie.

Now go to the properties of the form, and for the On Activate Event Procedure add the following code:

Code:
Private Sub Form_Activate()
Me.obj_flashmovie.Movie = Application.CurrentProject.Path + "\Movie1.swf"
End Sub

Change the Movie1.swf to the name of your flash file.

This should then run the flash movie. I have tested this in Access 2000 and it works fine.

HTH

Graham
 

Users who are viewing this thread

Top Bottom