Flash file path

  • Thread starter Thread starter KittenX
  • Start date Start date
K

KittenX

Guest
I have imported a flash file into a splash screen which loads on the startup of my database.

The problem is I can't change the directory of the flash file or db because the path is hardcoded into the properties of the activex object.

Does anyone know how to assign the path to the current project directory? I've done this with pictures but I can't make it work for flash files.

Thanks
Marc
 
I've come somewhat furthur than before but I still need help.

I found if you use the following code it comes with invalid type error:

Dim flash As ShockwaveFlash
Dim Dirpath As String

Dirpath = Application.CurrentProject.Path

'I get the error on this line
set flash = Forms!frmSplashScreen.FlashMovie

flash.movie = Dirpath & "\flashsplash.swf"

Any help would be extremely appreciated!
 
Hi there

This works ok for me, try it out.....

Me.FlashLogo.Movie = Application.CurrentProject.Path + "\Cartel.swf"
 

Users who are viewing this thread

Back
Top Bottom