Can we not use actionscript and resolume variables together?
I can get dynamic text boxes to display the values of these variables fine. But when I create a dynamic text box and pass it a value of my own depending on the value of a resolume variable it doesn't work.
This is my code. bass being my dynamic text box.
if (raudiolow>50) {
bass = "kick";
}else{
bass = "soft";
}
If anyone has a solution or knows what to do please let me know. Have a gig coming up in a couple of weeks and would like to have this sorted before then so I can work on my animation.
Resolume variables not working with actionscript
As i read your post, i thought it's maybe the bad type recognition of flash. So i tried with this script (and a textbox in the movie):
But in both cases the result was ok.
[Edited on 22-2-2006 by mfo]
Code: Select all
this.onEnterFrame=function() {
txt= "With Number declaration: " + ( (Number(raudiolow)>50)? "Bass" : "Low" );
txt+= "\nWithout Number declaration: " + ( (raudiolow>50)? "Bass" : "Low" );
}
[Edited on 22-2-2006 by mfo]