Solved

Fullscreen 4:3 on a widescreen Mac!

Posted on 2004-04-28
4
378 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
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 manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…

688 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