0 Replies Latest reply on Sep 26, 2006 8:33 AM by Jeff_Hight

    Control MovieClip with FlashVars

    Jeff_Hight Level 1
      Let me start from the top, I hope I can explain this well enough so you guys can make sense of this.
      I have a cfm page with a list/menu pulldown that submits a category name to the same page it resides on using
      an onChange.

      Based upon which category is submitted I query the DB for subcategories.
      There is a flash movie in the page as well and it takes those subCats and populates the FlashVars
      e.g.;

      <cfif isDefined ('FORM.category')>
      <cfoutput><PARAM NAME=FlashVars VALUE="category=#getCat.category#

      <cfif #getsubCats.recordCount# GT 0>
      &whichFrame=1
      &subCat1=#getSubCats.subCat[1]#

      <cfelse>
      &whichFrame=0
      &subCat1=Available Booth