Sending variables to embedded Flash

  • Thread starter Thread starter Rick Turoczy
  • Start date Start date
R

Rick Turoczy

Howdy,

Long, long time, no type.

Anyone who has helped me in the past realizes that I'm a complete VBA
hack. No skills. Actionscript I can do. VBA, not so much. That doesn't
keep me from trying to figure this stuff out, but my frustration level
has reached its peak. So if anyone has any advice, I'd greatly
appreciate it.

I'm trying to pass some variables to a Flash movie embedded in
Powerpoint. There are two ways I can do this:

1) I can call a text file through Slide#.ShockwaveFlash#.LoadMovie
2) I can identify, define, and send the variables directly through
Slide#.ShockwaveFlash#.FlashVars

My problem is that the limited help files coupled with my limited VBA
brain cells make it impossible for me to discern the appropriate
syntax for accomplishing either of these options.

Can anyone offer any advice/syntax/guidance?

Thanks in advance,
Rick

Rick Turoczy
http://www.flashgeek.com/
 
Rick,
The Flash Control has the SetVariable method which can be used to pass a
value for a variable in the Flash file.

Call ShockWaveFlash.SetVariable("VariableName","This is the value")
 
Back
Top