Flash in VB.net uncovered

Belthasar
04-14-2004, 10:57 AM
I finally found out how to do this. I saw alot of questions about flash and vb.net over the internet so I thought I would put this up here. K, lets start.

First what I did was open the tool box and added the Microsoft Web Browser Control Com thingy. and I added one to the Form.

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'This tells where the Movie is.
Dim Vid As String = "C:\Program Files\children of the night\movie_18.html"
'The web Browser
Me.AxWebBrowser1.Navigate(Vid)
End Sub

It just basically opens a web browser to the HTML file with the flash in it.

In the body of the page make sure you put topmargin="0" leftmargin="0"

And I think thats it. Cheers

bear24rw
05-07-2004, 01:49 PM
do you know where i can download some flash movies?

Knight Chat X
05-08-2004, 09:13 PM
Could also try using the flash object, the web browser control is what it says, a browser control, in your method you are displaying a webpage which downloads the flash file linked through an HTML page downloaded by the browser object, if you just want to load a .swf file directly that is stored locally, then you can use a flash object instead. This way you can also program actions to respond to flash actions in VB.net creating interactivity. If flash file is on website elsewhere and not stored locally on PC then the browser control works well. =o)

bear24rw
05-10-2004, 02:00 PM
alright i downloaded a flash game and i have Flash MX so i want to edit it (dont worrie i have permission) but when i openit in flash MX it opens so you can only play the game... Is this because when the person put it on the internet it causes it to become a .EXE sort of thing... so you cant edit the source??

petbo
05-12-2004, 10:14 AM
alright i downloaded a flash game and i have Flash MX so i want to edit it (dont worrie i have permission) but when i openit in flash MX it opens so you can only play the game... Is this because when the person put it on the internet it causes it to become a .EXE sort of thing... so you cant edit the source??

Yup u r pretty much right - to edit the file you need the .fla file - you only have the .swf (i think)

bear24rw
05-12-2004, 06:59 PM
yeah i only have the .swf

bear24rw
05-15-2004, 06:33 PM
How would you play a shockwave file (.dcr) i tryed it and it only shows like the splash screen (and i want to save the whole game so i can play it off line)m:)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum