# Broken SetVariable

**URL:** <https://forum.kirupa.com/t/broken-setvariable/185068>\
**Category:** Uncategorized\
**Created:** [April 10, 2006, 6:18pm UTC](https://forum.kirupa.com/t/broken-setvariable/185068 "2006-04-10T18:18:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdulberg](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@jdulberg](https://forum.kirupa.com/u/jdulberg)\
**Post date:** [April 10, 2006, 6:18pm UTC](https://forum.kirupa.com/t/broken-setvariable/185068/1 "2006-04-10T18:18:09Z")

</div>

I created an offline presentation communicating from javascript to Flash using SetVariable. Everything worked fine using Flash Player 7 however when updating to Flash Player 8, none of the 5 variables are passed. I have 2 Flash menus that are communicating with an IFRAME through the javascript.

The following code used to work no problem:  
window.document.statustext.SetVariable(“statusbar.itemcount”, itemcount);

How would I go about fixing this?

Thanks.

Jason
