|
-
Feb 3rd, 2000, 01:18 PM
#1
Thread Starter
Junior Member
Hello ,
Does anyone know how to work flash4 with vb5?
I already added a FINISHED flash document into vb using componets. It show in the vb form and works fine.
My problam is, there are animated buttons. When the mouse goes over the flash button it does it's thing, same when I click on it or do a mouse over.
I want another form to come up when I push the flash button. I tryed putting a transparent label over the flash 4 button. When I click where the label is, the form pops up, but no animation from flash4. The label is blocking it.
How do I click on a flash button for a form to pop up, and get it to animate whenever the mouse is over it?
-
Feb 29th, 2000, 02:44 AM
#2
Hyperactive Member
Hi,
Just browsing over some messages and I saw yours. As far as I know you can't get a form to pop up by clicking a flash animation. It's in the same league as clicking on a .gif or jpeg file within a html document in the webbrowser control - you can't make a VB form pop up in that way. If you find a way, let me know.
Slan
-
Mar 1st, 2000, 01:40 AM
#3
New Member
In Flash 4 :
1) Double click your button
2) In the "Actions" tab, enter this code :
Code:
On (Release)
FS Command ("ButtonClicked", "")
End On
In VB :
Place your animation on the form then enter this code :
Code:
Private Sub ShockwaveFlash1_FSCommand(ByVal command As String, ByVal args As String)
If command = "ButtonClicked" Then
frmYouWantToDisplay.Show
End If
End Sub
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
|