Indigo Rose Software
  #1  
Old 09-22-2003
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
Grin KB: Sizing Application to Specific Dimensions

Sizing my Application to Particular Screen Dimensions

Sizing my Application to Particular Screen Dimensions

Document ID: IR10007
The information in this article applies to:
  • AutoPlay Media Studio 5.0 Standard Edition
  • AutoPlay Media Studio 5.0 Professional Edition

SUMMARY

This article describes how to resize your application based on the user's screen resolution.

DISCUSSION

The easiest way to ensure that your project plays on everyone's computer is to design it to the lowest common denominator. Every computer system capable of running an AutoPlay generated file can support 640x480 resolution.

Our default project size is compatible with a 640x480 resolution.

If you desire to have a project that makes use of the user's entire screen, no matter what their resolution, the easiest way is to design a separate project for each resolution. Also create one 'master' project that determines the user's resolution (System.GetDisplayInfo), and have it launch the appropriate sized application automatically.

If both of these options are unacceptable, AutoPlay does include actions to resize and reposition objects on your page. It is possible to determine the user's resolution, and then appropriately position and size every object in your page. Obviously this is not the preferred method due to the sheer time the application would take to design. Please note that resize and reposition actions are available in the Pro Edition Only.

KEYWORDS: Size, Resize, Screen, Resolution, Maximize


Last reviewed: September 22, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP
  #2  
Old 11-03-2004
azmanar's Avatar
azmanar azmanar is offline
Indigo Rose Customer
 
Join Date: Oct 2004
Location: East, South & West Asia
Posts: 948
Huh? Any Scripts ?

Hi,

Ok, I have made 2 executable files, one 800x600 and another 1024x800.

So, how do I use System.GetDisplayInfo and trigger either files accordingly.

I would appreciate very much if there are ready scripts to use.

Thanks

Azman
  #3  
Old 11-03-2004
eric_darling's Avatar
eric_darling eric_darling is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Southeast USA
Posts: 1,804
You need a third application, which should be the one that autostarts - that app is tiny - use it to check for screen resolution, then have it automatically start the appropriate executable, then have it terminate itself. That way, the only application left running is the one that is appropriate for that screen resolution.
__________________
Eric Darling
eThree Media
http://www.ethreemedia.com
  #4  
Old 11-03-2004
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Or you could have the 800x600 one launch all of the time and then just have it startup the bigger one and close itself down in the On Startup actions. I think that this is what the KB article was suggestiong.
  #5  
Old 11-03-2004
eric_darling's Avatar
eric_darling eric_darling is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Southeast USA
Posts: 1,804
Yeah - that would work too... Always more than one way to skin a cat in AMS, and what with your most recent changes to the code to speed up the startup of the AMS runtime, it's probably six-in-one, half-dozen the other.

Sorry, that was cheap stringing two trite euphamisms into the same sentence like that...
__________________
Eric Darling
eThree Media
http://www.ethreemedia.com
  #6  
Old 11-03-2004
Worm Worm is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: USA
Posts: 3,937
Here's a little launcher app I've used myself. The way I've used it was to create a Project for as many resolutions as I wanted to support, then put them in subfolders.

Anyhow, put the contents of this zip on the root of the CD, edit the AUTORUN.INI

DEFAULT is the resolution that will run if you don't have a matching res in the INI.
Attached Files
File Type: zip autorun.zip (10.8 KB, 118 views)
  #7  
Old 11-04-2004
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
Here's another way, build the attached example but ignore the build warnings. It works at 640X480, 800X600, 1024X768, 1152X864, 1280X1024, but you can easily set it for any resolution.

Since Flash content is vector based, it is a very good choice for use in variable resolution applications.

Corey Milner
Creative Director, Indigo Rose Software
Attached Files
File Type: apz multi_res.apz (8.5 KB, 116 views)
  #8  
Old 11-04-2004
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
There is a project I made that shows how to to this as well. I think Intrigued has it on http://amsuser.com . It is called ScreenRes-others-TJ-Tigger.zip
__________________
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT -6. The time now is 02:41 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software