I have never encountered this before -

Is it true that buttons in overlapping swf when used as sprites in director
do not work?
Even the director buttons refuse to work within the overlapped area??

What I need to do:
For a wintel based project i have created an "Exit" button. When the user
clicks on the exit button, a confirmation dialogue (made in flash 5) needs
to be popped up. when the user is viewing this dialogue box (s)he shud be
able to see the (now dimmed)interface at the back and ofcourse none of the
buttons (now at the back) shud work.

What I did:
1. The dir movie has a stage sized swf (Flash 5.0) as interface. This
interface has 8-10 buttons, each one passing lingo commands to dir (8.5).
Two of the buttons pass values to two different variables to director.

2. In the dir movie, i have a small sized swf sprite which is made visible
or invisible at the click of a button in the flash interface mentioned
above.

The action script on the button is
on (release) {
    getURL ("lingo:    GLOBAL A \r\n  SET A = 1");
}

3. In the dir movie I have another "stage sized" swf sprite which is made
visible or invisible at the click of a button in the flash interface
mentioned in 1 above.

The action script on the button is
on (release) {
    getURL ("lingo:    GLOBAL B \r\n  SET B = 1");
}

The scripts in dir are

a)
ON STARTMOVIE
  GLOBAL A, B
  SET A = 0
  set B = 0
  set the visible of sprite 106 to false
  set the visible of sprite 107 to false
END

b)
on exitFrame me
  GLOBAL A, B
  IF A = 0 THEN
    set the visible of sprite 106 to false
  ELSE
    IF A = 1 THEN
      set the visible of sprite 106 to true
    END IF
  END IF

  IF B = 0 THEN
    set the visible of sprite 107 to false
  ELSE
    IF B = 1 THEN
      set the visible of sprite 107 to true
    END IF
  END IF

What happened?:
Well ... nothing!

i really do not know whether there is a smarter way of doing what i want or
not, but the overlapping buttons just do not work even in the state when the
sprites are hidden.

Any ideas?

Thanks In Advance
Manisha
[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