At 12:41 AM -0500 8/8/01, [EMAIL PROTECTED] wrote:
>I've got a function in a frame that I call 'switchEm' - and that frame is
>just looping (no stop, no play, just one frame in a movieclip).
>
>Can I call that function from director, ie:
>
>sprite(x).telltarget("/allbuttons")
>sprite(x).switchThem()
>sprite(x).endTellTarget()

No, drat the luck.  BTW - you should use modern syntax if possible:

(sprite x).tellTarget("_root.allButtons")

>
>or do I have to use the old frame call?
>
>sprite(x).telltarget("/allbuttons")
>sprite(x).call(1)
>sprite(x).endtelltarget()

It's actually:

(sprite x).callFrame("frameLabelGoesHere")

>
>or at worst, do I have to have a root variable that said function checks
>up to?

Nope.
-- 

...---===|  Terry R. Schussler  |===---...
...---===|  Chief Investigator  |===---...

on accessResources
  coolSites = [ \
    "http://macromediaSEMINARS.com/";, "http://directorU.com";, \
    "http://multiuserU.com";, "http://flash5U.com";, \
    "http://dreamweaverU.com";, "http://behaviors.com/"; ]
  gotoNetPage coolSites[random(1, 6)]
end accessResources


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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