|
#1
|
|||
|
|||
|
Hi guys,
Can anyone tell me how I can resize all my objects on a page at the same time? Is this possible? Regards Sean |
|
#2
|
||||
|
||||
|
If you are looking to resize at runtime, here is a sample project that should help to get you started.
http://www.indigorose.com/forums/showthread.php?t=12944 Tigg
__________________
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 |
|
#3
|
|||
|
|||
|
Hi I've tried this, but my flash intro page dosen't resize! Any suggestions?
Sean |
|
#4
|
||||
|
||||
|
Is it a flash splash introduction or a page with a flash object on the page as your introduction.
Can you post your project or part of your project so we can help in finding out why it doesn't want to resize? Tigg
__________________
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 |
|
#5
|
|||
|
|||
|
It's a page with a flash movie on it! I'll attatch it here now!
I just burnt a copy to disc to try it on another PC with a smaller screen and none of it resizes!! Sean |
|
#6
|
|||
|
|||
|
Hi Sean
You need to use the export option in AMS and then attache the .apz file. We cannot test it because all the resource files are missing. From what I can tell from your cose it should work. Regards
__________________
Dermot AMS Add-ons - xDialog.com A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine. |
|
#7
|
|||
|
|||
|
OK I think I see your problem. It is the code you have in the project On Startup. Try commenting that out and put the following in the On Show event of the first page.
Window.Maximize(Application.GetWndHandle(this)) Your code was resizing the window before the resize code had a chance to get the original size and position of all the objects.
__________________
Dermot AMS Add-ons - xDialog.com A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine. |
|
#8
|
|||
|
|||
|
Hi Dermot,
I'm really lost now!! Can you explain what I need to do? Thanks Sean |
|
#9
|
|||
|
|||
|
Hi Sean
Under Project > Actions > On Startup you have the following: Code:
-- Get the user's screen size screen_info = System.GetDisplayInfo(); -- set the application size to same as screen size Window.SetSize(Application.GetWndHandle(this), screen_info.Width, screen_info.Height-10); -- position application window to top left Window.SetPos(Application.GetWndHandle(this), 0, 0); Code:
Window.Maximize(Application.GetWndHandle(this))
__________________
Dermot AMS Add-ons - xDialog.com A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine. |
|
#10
|
|||
|
|||
|
Hi Dermot,
Do I leave the code in the OnPreload as: Resize_OnPreLoad(); on the first page? Have you tried this yourself and did it work? Thanks Sean |
|
#11
|
|||
|
|||
|
Ignore my last comment about the OnPreload. Just tried it duhhh!!
The first page will not resize the flash movie! I can resize the window but it doesn't resize the flash movie!! Also when I build this to a disc, none of the pages resize??????? I am currently pulling my hair out and am against time! Sean |
|
#12
|
||||
|
||||
|
Settings - Page Size - "huge" 1270x969
Flash attributes - 1270x970 (which is off the page btw) What do you want it to resize to? It's already max'd out to your stage, and then some. What is your display resolution? Mine is currently set to 1024x768 and I substituted your flash file with the globe.swf and it can't render full screen without being cutoff, no matter what resize code is used. I think the object of the resize code is meant to start off fairly small and resize/scale all objects accordingly. The size of your project in general is preventing that from the git-go |
|
#13
|
|||
|
|||
|
Hi Sean
Yes leave the resize code in the OnPreload, Close and Resize envents. Yes I have done this with other projects and it works fine. I have not tested it with your because I can't run because you do not upload all the files. (see my response about exporting as a .apz). The difference with my projects is they are designed at 800 x 600 so they only need to expand when run on a higer res but will rarely if ever need to be reduced. Idealy you should design at the lower res because if your app is reduced in size too much for example to 800 x 600 ir may look strange. Labels for one thing will not chnage size and may get cust off. If you can upload the whole project or at least a couple of pages, that would help. Also try reducing the size of the flash object so that it is not off the page. That maybe causing it to not resize. Just a thought.
__________________
Dermot AMS Add-ons - xDialog.com A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Example: XP ExlorerBar and Grouping Objects | Worm | AutoPlay Media Studio 5.0 Examples | 20 | 06-05-2007 02:56 AM |
| Function: Show/Hide All Objects of a Specific Type | Brett | AutoPlay Media Studio 5.0 Examples | 0 | 05-10-2004 03:29 PM |
| Applying Changes to Multiple Objects | Desmond | AutoPlay Media Studio 5.0 Examples | 0 | 10-03-2003 04:07 PM |
| Duplicating Objects | Desmond | AutoPlay Media Studio 5.0 Examples | 0 | 10-01-2003 04:42 PM |
| TUTORIAL: Showing and Hiding Objects in AutoPlay Menu Studio 3.0 | Support | AutoPlay Menu Studio 3.0 | 0 | 10-10-2002 03:39 PM |
All times are GMT -6. The time now is 09:37 AM.








Linear Mode

