At 17:40 +0000 03/06/2002, Nmuta Jones wrote:

>I made a Flash button that sends the following command to Director:
>
>on (release) {
>       getURL ("lingo: go to frame \"questions\"");
>}
>
>that works. but also, I need to set a global variable in the 
>process. What's the syntax.

I'd recommand making a handler in your Director movie that does the 
navigation and variable setting for you. So the Flash would be:

   on (release) {
     getURL ( "lingo: NavigateFromFlash" )
   }

...and in your Director file:

   on NavigateFromFlash
     globalVar = whatever
     go "questions"
   END NavigateFromFlash

You should be able to pass params to the handlers you call that way 
too, letting you use the Flash events to pass stuff to Director that 
you want stuffed into the global var.

Hope this helps!

-- 

              Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
        Author | Director 8.5 Shockwave Studio: A Beginner's Guide
                    Published by Osborne/McGraw-Hill
          http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to