Does anyone know if, or how well, I can integrate Macromedia Flash movies into VB?
Printable View
Does anyone know if, or how well, I can integrate Macromedia Flash movies into VB?
I'm not sure if it will help or not but I found this in my searches:
http://www.programmersheaven.com/sea...p?FileID=25235
I have not used it or even downloaded it. I am searching on how to play sound files in a form application and stumbled accross it.
Private Sub playflash()
With AxShockwaveFlash1 'my control name
.Stop() 'make sure you control the running of the movie
.Movie = "C:\Documents and Settings\MySide _
\My Documents\Visual Studio _ Projects\WindowsApplication8\rose.swf"
'The file HAS TO BE IN THE BIN DIRECTORY
'or this code with result in an EXCEPTION!
.Movie = String.Concat _(Application.StartupPath, _ "\rose.swf")
' is like using the App.path in VB6, The file HAS TO BE IN THE BIN DIRECTORY as well
.Movie =System.Windows.Forms.Application. _
_StartupPath & "\rose.swf"
.playing = True
End With
End Sub
Hi,
I think the Flash/VB article on http://www.adobe.com/devnet/flash/articles/flash_vb.pdf may be helpful in this discussion.
This popular white paper is written by some engineering folks from our organization Mindfire Solutions (http://www.mindfiresolutions.com).
I hope you find it useful!
Cheers,
Byapti