Results 1 to 4 of 4

Thread: Making Flash 4 interact with VB6

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Israel
    Posts
    23

    Question

    I am making an application which incoporates Flash movies, which is easy to do using the Flash 4 OCX. But is there anyway to make FLash be able to "talk" with VB? For example, I would push a button in the Flash movie and it would load up a new form or change the background color or anything for that matter. It sounds to me like a lost cause except I have an app (not mine and I don't have the code for it) that was made in VB6 that does exactly what I'm talking about.
    There is a way to make Flash interact with Javascript so this might have to do with it... but I don't know Javascript.

    Please help!

  2. #2
    Addicted Member
    Join Date
    Feb 2000
    Posts
    224

    Thumbs up USE A WEB BROWSER CONTROL

    HINT:USE A WEB BROWSER CONTROL
    If you can't pronounce my name, call me GURU

  3. #3
    Addicted Member
    Join Date
    Jul 1999
    Location
    Portland, OR.
    Posts
    226
    Create a splash page with real Flash

    You've probably seen this plug-in in Web pages, some good and some bad.
    But did you know that you can also use the Flash plug-in in Visual Basic? While it may seem to have limited use, many developers have begun to use the plug-in to display graphical GUI buttons, as well as animated splash screens. To take advantage of the Shockwave Flash OCX (also known as Flash Player) in Visual Basic, you must have it installed
    on your machine. If you don't already have it, visit
    http://www.macromedia.com/software/flash/ and select the
    Flash Player | Download Flash Player menu option, which leads you to a simple, three-step download process.

    The Shockwave Flash component uses Flash Player Movies, which use the extension .smf. The Flash software also creates FLA-formatted files, but you can't use these with the Flash component. Once you create a movie, drop a Flash component onto a form, and enter the movie's path and
    filename into the Movie property on the property sheet. When you launch the program and form, Flash plays the animation.

    Source: Element K Journals


  4. #4
    Addicted Member
    Join Date
    Jul 1999
    Location
    Portland, OR.
    Posts
    226
    Check this one too !


    Category: Graphics
    Level: Intermediate

    Description: This code shows you how to add Macromedia® Flash movies into
    your vb app or game. The swflash.ocx is not included, but if you have a
    newer version of Internet Explorer, you might have it.

    Complete source code is at:
    http://www.planet-source-code.com/vb...=9881&lngWId=1


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