Hi,

Trying to make use of Flash navigation because of the file size.
I have 2 flash buttons which opens 2 diferent miaws with Direct Media files.
My flash video controls buttons works fine.
The only problem I have is communicating back and forth from the Miaw to the 
stage and viceversa.

Here are my scripts, maybe someone spots my mistakes:

global gWinbaa
global gWinliverpool
on preparemovie
  gWinbaa=window("baa1")
  gWinliverpool=window("liverpool")
  put the windowList
  end

global gWinbaa
on video1 
  gWinbaa.filename="baa1"
  put the windowList
  gWinbaa=window"baa1"
  set offsetX = the left of the rect of the stage
  set offsetY = the top of the rect of the stage  
  set myLeft = the left of sprite 12
  set myTop = the top of sprite 12
  set myRight = the right of sprite 12
  set myBottom = the bottom of sprite 12  
  set the rect of gWinbaa= rect(offsetX + myLeft, offsetY + myTop, offsetX + 
myRight, offsetY + myBottom)  
  gWinbaa.WindowType=member("winmask")
  gWinbaa.open()
end

Now, my baa1 window opens fine, is maked by the bitmap but is not active. The 
video is not playing, the buttons don't function. And very strange, if I take 
gWinbaa.WindowType=member("winmask") out it works, so wathever kind of window 
type I set it does not work.

Another issue is my "close window "button. Is a flash button with:
on release
getUrl:"lingo:tell the stage to forget window"baa1""
is working, but sometime, on some machines, it brings up the Windows Error: 
"This program has performed an iligal operation and will shut down". 

Also I want to make sure that if the frame number is>= 20 or <=15 all the 
miaws are closed. A very strange thing the close command only sends my Miaws 
to the back and it seems that if WindowActive is not working........
I feel like giving up, spent ours online trying to work it out, but nothing. 
Maybe I just don't understand the obvious.
Any ideas?....

Thanks a lot,
Nicolae

[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