Or, you could do a getURL:Lingo call to a Director handler
that would
return the value of the variable.
This is what I wasn't able to figure out the correct syntax for.
I was thinking about something like this. In Flash:
getURL(lingo:variableStatusRequest);
and in Director:
on
Yeah, that's pretty much how to do it. I was kind of trying to avoid
having a handler outside of the swf catch it, i.e., I only wanted to do
it from one place, but this seems like the way to go.
Thanks Kerry, as always.
- Michael M.
[To remove yourself from this list, or to change to digest
Mendelsohn, Michael wrote:
Is there a way for a swf sprite to get a variable value in a Director
behavior via actionScript?
In other words, something like this:
var directorPropValueBroughtIntoTheSWF =
getURL(giveMeTheDirectorPropertyValue);
getURL(lingo:gYourGlobal=\someString\);
Hi. I guess
Hola Agustín...como esta, señor?
Thanks...but not quite what I'm looking for.
I have a function in a swf sprite that's called by Director. Here's a snippet:
var theValue;
do{
theValue = getURL(lingo: getValue \gTools.pProgress\);
I figured I could keep checking
what the value was until the as code got it, then move on in
the function. I just can't figure out the right syntax to do that.
Well, how about a little different approach. You could have Director
call setVariable, and then all you would need to do in Flash
Thanks, Kerry.
rant
It's amazing. The most difficult part of my project is getting my silly
little navigation controls to work properly. :-/
/rant
Well, how about a little different approach. You could have Director
call setVariable, and then all you would need to do in Flash would be to