|
-
Sep 8th, 2007, 01:39 AM
#1
Thread Starter
Fanatic Member
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
-
Sep 8th, 2007, 02:18 AM
#2
Banned
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.
-
Sep 8th, 2007, 03:05 AM
#3
Thread Starter
Fanatic Member
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.
-
Sep 8th, 2007, 03:08 AM
#4
Banned
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.
-
Sep 8th, 2007, 11:49 AM
#5
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
Keith
I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|