I have this flash movie that does certain stuff.
The problem is that I want to show the shape and all in a different screen (monitor) and the control and all on the other.
We can split the monitor in two. We simply stretch the movie and leave the control on the left and the container for the shape (the rectangular box) on the right screen. Although I don't know how to move or put all my controls in a container and move it around freely. Also I need the coordinates respective to the right screen. I guess I need to stretch the container for the shape and then calculate my position of the shape from that 'container for the shape'.
Please help! :o
p.s. I told you Medyman I will be back!
04-14-2008, 08:20 PM
So you are saying you want to set up dual monitors and resize the document to fit those screens?
04-17-2008, 07:45 PM
Let me explain :)
I have the flash the way it is:
So I stretch the browser between the to monitor. I am following the stretching method because it is the most convenient for me (for now at least!). Now I have the monitor located somewhere else. I want to have another instance of the same movieclip that will do exactly the same thing that tmp_mc does. But I could not do that I seems like i cannot make two movieclip in the same flash movie. So the purpose is to move the small screen replica of the tmp_mc that will move the real tmp_mc. Am I making it clear enough?
Here is a picture to make it more understandable.
(I know its making no sense from regular flash perspective but I need to do it!)
04-17-2008, 10:26 PM
Ok, just to clarify. Are you saying that you want to be able to communicate between to seperate flash movies or just between two MovieClips in the same (but very large) flash movie?
04-18-2008, 03:01 PM
No not two movie. Just a stretched out movie.
04-18-2008, 03:23 PM
Well one logical method is to create two new movieclips, and every time a behavior is applied make sure to duplicate that onto both clips. I've never heard of any method of just making a reflection of one part of a flash document on another..but it might be possible.
04-18-2008, 04:21 PM
You could attach a listener to an item in one MovieClip and have it watch for any changes in the same object in the other MovieClip. That way one's _x and _y variables would be automatically updated every time the other's were changed.
04-23-2008, 06:07 PM
OK I am back again ! I have a math problem!
I have everything figured out the way I want it.
Take a look at the picture. So the Screen on the left is exactly 4 times smaller than the other monitor (1280/4 ; 1024/4).
All I need to do is to coordinate the movement. Both are initialized in the middle when created. So if I move the small line in the box the big line will move in the bing box on the right. So on drag what is the equation for the position of the big line? Please keep in mind that the whole thing is a big stage!
04-23-2008, 08:04 PM
What is the size of the stage? You mention the size of the second window, but what are its coordinates?
Could you post the code with updates so I can see where and how to put it in?
04-23-2008, 09:02 PM
Thnaks. Just to make it clear : There is only one flash movie and I publish it on the web and I just simply stretch the screen (browser) to fit the extended desktop (left aligned so when you stretch the screen, the menu and the small screen stays on the left.). Here is the link ...