Set focus on Flash

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

Hello Everyone.

Does anyone know if a Flash element in a Powerpoint
presentation can automatically be given the focus when it
is loaded. Essentially, I don't want to make the user have
to actually click the Flash element to make it the active
item.

Thanks in advance
e.
 
That works real smooth...

But maybe you can answer me this.

I have this right now and it works
------------------------------------
Private Sub ShockwaveFlash1_FSCommand(ByVal command As
String, ByVal args As String)
ActivateShape Slide36.Shapes("ShockwaveFlash1")
End Sub
------------------------------------


But I want to only execute if the command is "Init", so I
write this:
------------------------------------
Private Sub ShockwaveFlash1_FSCommand(ByVal command As
String, ByVal args As String)
If command = "Init" Then
ActivateShape Slide36.Shapes("ShockwaveFlash1")
End If
End Sub
------------------------------------

....I also have Flash set up sending the command "Init"

Any suggestion as to what I am doing wrong???

Thanks
e.




-----Original Message-----
A little help from VBA could do the job. I hope the following references
prove useful to you:

Look at the ActivateShape() routine at my website -
http://officeone.mvps.org/vba.html. In addition, look at my free
EventGenerator add-in at
http://officeone.mvps.org/addins.html - it can help
 
Hello Chirag.

I've found that the ActivateShapeModule does not work
(sometimes) on other computers with Powerpoint 2000 (or
above). It works on mine and several others, but, of
course, not for the important people. Any ideas why this
may be?

Thanks
e.
 
Back
Top