Solved

Fullscreen 4:3 on a widescreen Mac!

Posted on 2004-04-28
4
372 Views
Last Modified: 2013-12-24
Ok here is a tricky one!

Im trying to get a director movie to launch full screen on a Mac, however, one of the machines that the client is using is a widescreen laptop, where I guess the screen res is 1400x1000 or something.

Now I need to open the movie without it stretching is apect ratio, i.e it stays at 4:3 rather than the wide screen version, where using the following code stretched it simply to all 4 corners...

   (the stage).rect = the desktopRectList[1]
  (the stage).drawRect = the desktopRectList[1]


So I am now trying something else, I thought the best way would be to use buddy api to get the screen resolution (to return after quitting) and also to set it to 1024x768, then simply using the fullscreen command as specified above to get the projector full screen, as in the following...

on DrawFullScreen
  ScrH = baScreenInfo( "height" )  
  ScrW = baScreenInfo( "width" )
  baSetDisplay( 1024 , 768 , 16, "temp" , false )
   (the stage).rect = the desktopRectList[1]
  (the stage).drawRect = the desktopRectList[1]
end


does anyone know if this will work? or maybe a better way to open and keep the correct aspect ratio?
0
Comment
Question by:johnno440352
  • 2
4 Comments
 
LVL 9

Expert Comment

by:j3one
ID: 10939950
From my experiance, the widescreen actualy doesent effect it as much as you would think. Of course video and vector art such as flash are not effected much, but as long as you use desent resalution graphics you should be ok. You will have this when you run it on a big monitor as well. the 4:3 is usualy more of a forced thing and it modifies the look but not the quality. I would test it out with regular full screen lingo first. It might be look prety sharp. Then again it might not (I am betting it will)
0
 

Author Comment

by:johnno440352
ID: 10940222
unfortunately the client notices the widescreen strech, and needs it to be formatted correctly, there a lot of circles on the presentation, and therefore shows up the aspec ratio quite a lot.
0
 

Author Comment

by:johnno440352
ID: 10940231
also I cant seem to get the buddy api working on the mac, which is annoying, it just comes up with a script error!
0
 
LVL 20

Accepted Solution

by:
MediaMacros earned 125 total points
ID: 10940640
The only other way to do this is to write code to actually place your items on screen relative to teh demensions.  Likely more trouble than its worth in this case.  If they watch full screen video it will stretch or else leave black on teh sides,  Thats the nature of the differences in aspect ratio.  Here is what I would do.  Lets say your projector is 800X600...

d = (the desktopRectList)[1]
h = d.height / 600.0
r = rect(0,0,integer(800 * h), d.height
dif = d.width 0 r.width
r = r.offset(dif/2, 0)
(the stage).rect = r
(the stage).drawRect = r

0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Code Editors 10 215
This webpage has a redirect loop 4 65
javascript to html map 8 94
Dreamweaver code color same as CS6 or CS2015 2 10
Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question