Flash Button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashokbio
    New Member
    • Jul 2007
    • 14

    Flash Button

    How to insert FLASH button and FLASH background image in the VB6 form?
  • Benzerari
    New Member
    • Aug 2007
    • 9

    #2
    I think you need to use a timer to either count up or down, to display a background colors i.e. each 5 seconds it swap the color... etc

    M C Benzerari

    Comment

    • Dököll
      Recognized Expert Top Contributor
      • Nov 2006
      • 2379

      #3
      Originally posted by Benzerari
      I think you need to use a timer to either count up or down, to display a background colors i.e. each 5 seconds it swap the color... etc

      M C Benzerari
      This may also be helpful:

      Comment

      • fplesco
        New Member
        • Jul 2007
        • 82

        #4
        Originally posted by ashokbio
        How to insert FLASH button and FLASH background image in the VB6 form?
        Hi -

        I can give you sort of a high level instructions,

        You must have a Macromedia Flash MX (or any version) installed in your system. Or even just a player.

        Look for its .OCX files and put it in the C:\Windows\Syst em32 folder -- (for WinXP and register it "REGSVR32 <filename>.ocx" )

        In the VB environment, goto components and look for its OCX, then add.
        You can then, see it in the components tab. Next thing is to put that object into the form. And in its Filename or movie PROPERTY, put the complete filename and path of your FLASH button or FLASH background image.

        If you want your VB codes to process events coming from that FLASH button, you can use the .getVariable and .setVariable properties respectively. And you must have a FLASH script on that FLASH object in which .getVariable is expecting to draw value from.

        Comment

        • Ali Rizwan
          Banned
          Contributor
          • Aug 2007
          • 931

          #5
          Originally posted by ashokbio
          How to insert FLASH button and FLASH background image in the VB6 form?
          Hello;
          Just add Shockwave tool from components and path your flash object in movie property. your flash object will be played.

          Comment

          • Benzerari
            New Member
            • Aug 2007
            • 9

            #6
            This may help

            I have tried to develop and application that enable a background to flash in each second, I wanted to use a counter to count up from I=1 to 100 if 'I' is odd then the background color should be red, if 'I' is even, the background color should be green. but the problem is, I could not find the code related to the integer parity... any help would be appreciated Thank you


            I have tried both codes provided, and both them worked OK
            Last edited by Killer42; Jan 22 '08, 02:20 AM.

            Comment

            • Benzerari
              New Member
              • Aug 2007
              • 9

              #7
              Also you may need to add media player to the form, if you want to run a kind of clip, or just flashing between two colors clip...

              Comment

              • Killer42
                Recognized Expert Expert
                • Oct 2006
                • 8429

                #8
                Thanks for the info, Benzerari.

                It'd be nice to know whether any of this was helpful. However, according to ashokbio's profile, he/she hasn't been in since the 17th of August 2007.

                Comment

                Working...