MouseEvent.CLICK in flash AS3 to change a storyline variable.

Hi everybody,

is it possible to change the value of a storyline variable from a flash file.. by clicking on a item by example ?

I tried to do this with :

ExternalInterface.call('GetPlayer().SetVar','slideId',slide);

"slideId" is a flash variable set to a number and its a storyline variable too set as a Number.

is there an issue ?

thanks for your answers.

Steven.

9 Replies
Steve Flowers

Here's an example of two way communication between Flash Storyline. From Flash to Storyline it's pretty simple. From Storyline to Flash it employs a polling mechanism to check the state of a variable.

It sounds like your Firefox issue could be the Flash security sandbox at work. Is it failing for you locally or when hosted and run through http?