PDA

View Full Version : One do it, the other don't!


DJuse
04-26-2008, 07:00 AM
Hello AMS Members,

I have one question; If i have a project that have two or more pages, is it possible to set one of the pages to resize while the other don't?

Thank you very much for the help!

rexzooly
04-26-2008, 08:14 AM
set the size of the pages on the preload.

ShadowUK
04-26-2008, 09:27 AM
I only think you can do this by setting the Properties of the page, but there is only BackgroundType, GradientColorTop, BackgroundColor, ImageFilename, ImageFilename, Description, Keywords for properties.

So, I think no.

rexzooly
04-26-2008, 09:59 AM
there might be work around with alot mroe coding tho not sure.

longedge
04-26-2008, 10:58 AM
Quick and dirty - you could re-size your window although it doesn't take account of object position or size.

I do this with a special 'low res' page which is designed for the purpose and is only shown if the user's screen resolution is less than 1024x768.

RizlaUK
04-26-2008, 03:55 PM
simple, make the project resizable and in the "On Size" event of the page you do not want to resize put (Window.SetSize) and set the size you want

when the user tries to resize the window it will lock to the preset size

DJuse
04-26-2008, 05:22 PM
thank you guys, will try your subjections and let you know the result!

DJuse
04-26-2008, 06:15 PM
i TRY that method and for a single moment I through it would work until i when back to the other page. please take a look at the example.
All I want is the first page to stay the same size while the other can be resized!!
By the way, im using that resizing code that is around the forum!

simple, make the project resizable and in the "On Size" event of the page you do not want to resize put (Window.SetSize) and set the size you want

when the user tries to resize the window it will lock to the preset size

rexzooly
04-26-2008, 06:36 PM
you need to go to file save then file export so its a APZ thanks
:yes

DJuse
04-26-2008, 06:43 PM
sorry about that.
here its!