Embedding Flash in Visual Basic
Hello,
I'm a Flash developer myself and I decided to put some of my work in Visual basic Apps. I remember doing this a few years ago and I tried it today and it didn't really work out.
I know you need to add the shockwave flash object function in the toolbar.
And then drag it on your form.
But I can't seem to find the function where to select my .swf (flash movie file) in the properties panel.
Yes I already tried googling it and I only find the ones that are made in VB6.
I'd really appreciate any help.
I hope this is posted in the right section. :o
- Leroy
Re: Embedding Flash in Visual Basic
Re: Embedding Flash in Visual Basic
Oh so it can only be done through code?
Thanks a lot.
I'm definitely going to check that out. :)
Re: Embedding Flash in Visual Basic
you could use a webbrowser if you are confident with html and can setup a shockwave object in html. something like this would work
Code:
Dim SourceHTML as String = "<object width='550' height='400'>" & _
"<param name='movie' value='somefilename.swf'>" & _
"<embed src='somefilename.swf' width='550' height='400'>" & _
"</embed></object>"
WebBrowser1.DocumentText = SourceHTML