| | |
VB .NET flash
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Apr 2008
Posts: 3
Reputation:
Solved Threads: 0
Hi,
I have a project in VB 2005 and I have inserted a flash movie (.swf), the item from the vb toolbox ax shockwave flash active x object returned an error "error activex make sure it is properly registered" so I create one through code :
Now I loaded the flash movie and send a variable to flash through Visual Basic
code :
Everything OK but when I try to send from flash to VB I get nothing
flash code :
VB code to receive variable code :
flash is the dim for the shockwaveflash activex object.
When I managed once to drag a shockwaveflash from toolbox once I succed it worked but now I don't know if there is a special property to add to the code created flash object to make it receive vars. Help please.
Kyriakos
I have a project in VB 2005 and I have inserted a flash movie (.swf), the item from the vb toolbox ax shockwave flash active x object returned an error "error activex make sure it is properly registered" so I create one through code :
VB.NET Syntax (Toggle Plain Text)
Imports AxShockwaveFlashObjects.AxShockwaveFlash Public Class Form3 Dim webAddress As String = "http://www.vbforfree.com" Dim flash As New AxShockwaveFlash
Now I loaded the flash movie and send a variable to flash through Visual Basic
code :
VB.NET Syntax (Toggle Plain Text)
Private Sub Form3_keydown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown Me.Focus() If e.KeyCode = Keys.D6 Then a = a + 10 flash.SetVariable("/:playerbalance", a)
Everything OK but when I try to send from flash to VB I get nothing
flash code :
VB.NET Syntax (Toggle Plain Text)
on (press) { fscommand("flashMessage", "Hi C-Sharp"); }
VB.NET Syntax (Toggle Plain Text)
Private Sub flash_FSCommand(ByVal sender As Object, ByVal e As AxShockwaveFlashObjects._IShockwaveFlashEvents_FSCommandEvent) If (e.command = "flashMessage") Then RichTextBox1.AppendText(e.args + "\n") End If End Sub
When I managed once to drag a shockwaveflash from toolbox once I succed it worked but now I don't know if there is a special property to add to the code created flash object to make it receive vars. Help please.
Kyriakos
•
•
Join Date: Jul 2007
Posts: 11
Reputation:
Solved Threads: 0
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
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
![]() |
Similar Threads
- Flash With C# (C#)
- Difference between asp & asp.net (ASP.NET)
- team looking for project (Post your Resume)
- PHP - Java - ASP.NET - C++ by www.hiremanagepay.com - Rates low as $9/hr (Post your Resume)
Other Threads in the VB.NET Forum
- Previous Thread: Saving changes in textbox to database.
- Next Thread: Command line parameters
| Thread Tools | Search this Thread |
.net .net2005 30minutes 2005 2008 access account application arithmetic array basic binary bing button buttons center check code combobox component connectionstring crystalreport data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dropdownlist excel file-dialog folder ftp generatetags google gridview hardcopy image images insert intel internet listview login mobile monitor ms navigate net networking opacity output passingparameters peertopeervideostreaming picturebox picturebox1 port print problem problemwithinstallation project read reports" save savedialog searchbox searchvb.net select serial soap string table tcp text textbox timer toolbox trim update updown user usercontrol vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web wpf





