a button in my flashmovie (in the mainFrame HTML) opens a sliding door in al the three Frames at the same time but in the left and right frames are different flashmovies with a stop action on the first frame, there is also a layer with a movieclip with instancename opendoor. To open the doors the movieclip needs to play on the moment that the button in the mainmovie is pressed. But in te left and right frames the doors are still closed because the stop action.
What can I do to start the other two flashmovies????
Here is the script on the button in the mainmovie:
not sure whether fscommand can help here but I don't think you can send commands to a movie once it's loaded.
in the meantime, here's a clunky solution.
change the 'stop();' frameaction to:
if(_root.open ne "yes")
stop();
Then make two html files 'left.html' and 'left_open.html' with your swf file embedded in both.
In the first, just load 'left.swf' as you are doing at the moment, in the other load 'left.swf?open=yes'.
Then in the getURL button action put
getURL("left_open.html","leftFrame");
and do the same for the other one. The swf will be cached so it won't have to load before playing but the pages still have to reload so it's a bit clunky as I said...
hope this makes sense - just ask if the explanation isn't too clear.