-
1. Re: First Movie in a Window help
SeanWilson Apr 13, 2011 1:15 PM (in response to onefiftymph)Since you are already using a "button" and a #mouseUp handler, start by sticking with that. You will need to create a separate Director file with your MPG movie playing as a sprite in it. For argument's sake let's name this new Director file "MIAW.dir":
on mouseUp me -- create a new window object and give it a name tWindow = window().new ("MPG") -- point it to an existing Director file tWindow.filename = "MIAW" -- no .dir extension required -- decide where to place it on screen tWindow.rect = rect(0, 0, 200, 300) -- open it tWindow.open() end -
2. Re: First Movie in a Window help
onefiftymph Apr 14, 2011 4:08 PM (in response to SeanWilson)thanks so much Sean! my first MIAW! Awesome.
Some minor details I'd love to finesse, if I could get some additional pointers...
How would I swap and click through 3 separate mpg's one after the other and then quit the MIAW? (delete from memory) In my old system, I clicked on the mpg to get the next, which appeared in the same place. I like that. The last swapped to the button again and the mpgs cleared. I made 3 separate .dir's for the 3 .mpgs and tried a script on the MIAW .dir file, didn't work...
How to keep the MIAW in front when a button on stage is clicked?
This isn't working: window("MPG").moveToFront()
Can I have 2, or 3 MIAWs play at the same time?
thanks Larry

