If I create an animated flash image, is there a way to show it in my vb app, and to still have it animated?
Printable View
If I create an animated flash image, is there a way to show it in my vb app, and to still have it animated?
Yes, you can add the Shockwave flash ocx to your form and play your swf file.
I didn't know there was one :(
I used the web browser control.
You can add this my going to the Tools menu:
Tools---> Components
Then select MIcrosoft Web Browser Control
Just resize it to the size of your flash thingy.
However, I prefer robs method, but I haven't seen that in action.
Woka
I just couldn't resist. :p
VB Code:
Option Explicit 'Add shockwaveflash player component to you project Private Sub Command1_Click() Static bMode As Boolean If bMode = False Then Me.ShockwaveFlash1.Play bMode = True Else Me.ShockwaveFlash1.StopPlay bMode = False End If End Sub Private Sub Form_Load() Me.ShockwaveFlash1.LoadMovie 1, App.Path & "\badgerplayer1.swf" Me.ShockwaveFlash1.Movie = App.Path & "\badgerplayer1.swf" Me.ShockwaveFlash1.GotoFrame 1 End Sub
Booooo...Hahahaa...Played the swf :D
But can't run the project as I don't have the OCX :(
Where can I get it from?
Woka
I have it. I think it came with IE's Flash extension. Shockwave, I think.
Yes its ShockwaveFlash control (as seen in my posts and code ex.) that you can DL from MM.
Its a plugin for IE, oops, your running that little old beta version of FF.
Dont know if it can get the plugin DL for FF. :p :lol: Boooo! Ha ha ha.
Try Shockwave.com
cool stuff thanks
Good