Macromedia Flash Menu in VB
Hello,
I have developed a menu in Flash and save it as .SWF
I can call this menu in VB but unable to set the button's working.
for example:
i want that when i click on CUSTOMER button... it show the customer form
Supplier button show Suppliers etc
How can i do this
Please help me
Farooq
Re: Macromedia Flash Menu in VB
vb Code:
Call Shockwaveflash1.Loadmovie(1, "www.site.com/form.swf")
That should work.
If you do
vb Code:
Call Shockwaveflash1.Loadmovie(1, "www.site.com/formnumber2.swf")
than it will unload form.swf
if you want them both to be loaded then do this:
vb Code:
Call Shockwaveflash1.Loadmovie(1, "www.site.com/form.swf")
Call Shockwaveflash1.Loadmovie(2, "www.site.com/formnumber2.swf")
Etc, etc.
If you want to UNLOAD them, type this.
vb Code:
Call Shockwaveflash1.Loadmovie(1, "")
Call Shockwaveflash1.Loadmovie(2, "")
If you want to load from a folder on the computer, than do this:
vb Code:
Call Shockwaveflash1.Loadmovie(1, "C:\Folder\Folder\form.swf")
or
vb Code:
Call Shockwaveflash1.Loadmovie(1, App.path & "\form.swf")
You might not need the "Call" Part.
Re: Macromedia Flash Menu in VB
Thankyou very much for ur reply
I think u did not understand my question.
I told that i can run Menu.SWF file in VB, but unable to get the proper result on clicking the button in menu.
Re: Macromedia Flash Menu in VB
Sorry, Your english is not the best, I think I can help you better if I have the source.
Re: Macromedia Flash Menu in VB
Menus don't have buttons. ;)
Code:
Private Sub cmdCustomer_Click()
frmCustomer.Show
End Sub
Private Sub cmdSuppliers_Click()
frmSuppliers.Show
End Sub