Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10

Thread: Split screen!

  1. #1
    Regular Coder
    Join Date
    Jul 2006
    Posts
    138
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Split screen!

    So, I have a new problem!

    I have this flash movie that does certain stuff.
    http://www.mntp.pitt.edu/Personal%20Pages/personal.html

    Problem:

    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.

    My thoughts:

    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'.

    Your Thoughts:

    ???


    Please help!

    Thank you

    p.s. I told you Medyman I will be back!

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    So you are saying you want to set up dual monitors and resize the document to fit those screens?
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #3
    Regular Coder
    Join Date
    Jul 2006
    Posts
    138
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Let me explain

    I have the flash the way it is:
    http://www.mntp.pitt.edu/Personal%20Pages/personal.html

    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!)
    Attached Thumbnails Attached Thumbnails Split screen!-fl1.jpg  

  • #4
    New Coder
    Join Date
    Nov 2007
    Posts
    72
    Thanks
    0
    Thanked 1 Time in 1 Post
    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?

  • #5
    Regular Coder
    Join Date
    Jul 2006
    Posts
    138
    Thanks
    3
    Thanked 0 Times in 0 Posts
    No not two movie. Just a stretched out movie.

    Thank you

  • #6
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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.

  • #7
    New Coder
    Join Date
    Nov 2007
    Posts
    72
    Thanks
    0
    Thanked 1 Time in 1 Post
    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.

  • #8
    Regular Coder
    Join Date
    Jul 2006
    Posts
    138
    Thanks
    3
    Thanked 0 Times in 0 Posts
    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!

    Please help!!!!
    Attached Thumbnails Attached Thumbnails Split screen!-math.jpg  
    Last edited by neo_philiac; 04-23-2008 at 07:09 PM.

  • #9
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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?

  • #10
    Regular Coder
    Join Date
    Jul 2006
    Posts
    138
    Thanks
    3
    Thanked 0 Times in 0 Posts
    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 ...


    http://www.mntp.pitt.edu/Personal%20Pages/personal.html
    Last edited by neo_philiac; 04-23-2008 at 10:08 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •