Splitz
03-29-2005, 11:03 PM
Hello and thank you in advance for your time in reading my question....
I'm trying the free 30 day trial of Flash MX 2004, love it so far.. Was an old Directtor user back in 1994 so its a little familiar.
I am trying to determine how to have flash do something when the value of a variable changes via a javascript update. I did the help's howto RE making a text field in flash, naming the field's variable attribute, making a form that onchange it calls a javascript function that passes the html form input to the Flash file and updates the flash text field...
What I need is a little different, I want to define an invisible variable in the flash file, update the variable's value via javascript and I need flash to recognize when the value of this variable changes and then perform an action. I was looking at on(change) but not sure if that applies to what I need... Do I need to instead make a text field outside of the viewable area and do on(change) on that element?
Thank you,
Ed
I'm trying the free 30 day trial of Flash MX 2004, love it so far.. Was an old Directtor user back in 1994 so its a little familiar.
I am trying to determine how to have flash do something when the value of a variable changes via a javascript update. I did the help's howto RE making a text field in flash, naming the field's variable attribute, making a form that onchange it calls a javascript function that passes the html form input to the Flash file and updates the flash text field...
What I need is a little different, I want to define an invisible variable in the flash file, update the variable's value via javascript and I need flash to recognize when the value of this variable changes and then perform an action. I was looking at on(change) but not sure if that applies to what I need... Do I need to instead make a text field outside of the viewable area and do on(change) on that element?
Thank you,
Ed