Results 1 to 5 of 5

Thread: Macromedia Flash Menu in VB

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Quetta-Pakistan
    Posts
    852

    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

  2. #2
    Banned
    Join Date
    Aug 2007
    Posts
    17

    Re: Macromedia Flash Menu in VB

    vb Code:
    1. Call Shockwaveflash1.Loadmovie(1, "www.site.com/form.swf")
    That should work.
    If you do
    vb Code:
    1. 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:
    1. Call Shockwaveflash1.Loadmovie(1, "www.site.com/form.swf")
    2. Call Shockwaveflash1.Loadmovie(2, "www.site.com/formnumber2.swf")
    Etc, etc.
    If you want to UNLOAD them, type this.
    vb Code:
    1. Call Shockwaveflash1.Loadmovie(1, "")
    2. Call Shockwaveflash1.Loadmovie(2, "")
    If you want to load from a folder on the computer, than do this:
    vb Code:
    1. Call Shockwaveflash1.Loadmovie(1, "C:\Folder\Folder\form.swf")
    or
    vb Code:
    1. Call Shockwaveflash1.Loadmovie(1, App.path & "\form.swf")

    You might not need the "Call" Part.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Quetta-Pakistan
    Posts
    852

    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.

  4. #4
    Banned
    Join Date
    Aug 2007
    Posts
    17

    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.

  5. #5
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    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
  •  



Click Here to Expand Forum to Full Width