How to insert FLASH button and FLASH background image in the VB6 form?
Flash Button
Collapse
X
-
This may also be helpful:Originally posted by BenzerariI 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
-
Hi -Originally posted by ashokbioHow to insert FLASH button and FLASH background image in the VB6 form?
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
-
Hello;Originally posted by ashokbioHow to insert FLASH button and FLASH background image in the VB6 form?
Just add Shockwave tool from components and path your flash object in movie property. your flash object will be played.Comment
-
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 OKLast edited by Killer42; Jan 22 '08, 02:20 AM.Comment
Comment