# Trigger boolean via FlashVars (html\>flash)

**URL:** <https://forum.kirupa.com/t/trigger-boolean-via-flashvars-html-flash/246522>\
**Category:** web dev\
**Created:** [December 11, 2007, 11:54pm UTC](https://forum.kirupa.com/t/trigger-boolean-via-flashvars-html-flash/246522 "2007-12-11T23:54:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roob](https://avatars.discourse-cdn.com/v4/letter/r/b782af/32.png) [@roob](https://forum.kirupa.com/u/roob)\
**Post date:** [December 11, 2007, 11:54pm UTC](https://forum.kirupa.com/t/trigger-boolean-via-flashvars-html-flash/246522/1 "2007-12-11T23:54:21Z")

</div>

So, the idea is that an html hyperlink can trigger some sort of event in flash. The idea I had would be to send a ‘simple’ variable when the hyperlink is clicked, such that:

```auto
onClipEvent(enterFrame){
   if (highlightEmail == "true"){
     this.gotoAndPlay("highlight");
   }
}

```

the variable ‘true’ can be a number or whatever, I’m not really bothered. But basically, I only want that variable sent when the hyperlink is clicked.

I’ve had a look over the web and it seems FlashVars is the way to go (I don’t want to be messing around with Java or PHP or something else, just keep it simple). However, I cannot find an answer and my own attempts have been left in vain. Any help is appreciated.
