Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2008
    Posts
    15

    How to change size of a project dynamically ?

    Hello,

    I am working on a project and I want to be able to change the size of my project and all objects inside (Example: From 800x600 To 1024x768) by a clic on a button for example. Is there exist a quick solution or do I have to create a script?

    I already start to write code to change pages and images size but HotSpot failed with a strange message:

    On click, line 41: Attempt to index global 'HotSpot' (a nil value)

    Please help me....

  2. #2
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    It's Hotspot not HotSpot

  3. #3
    Join Date
    May 2006
    Posts
    5,380
    while still learning the functions in AMS i would recomend useing the action wizard to avoide silly typos like this, while learning AMS i found the action wizard a very helpful tool.

    it would be nice if the AMS script editor (both internal and external) would pick up on functions and key works and automaticly correct the case just like PureBasic dose.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  4. #4
    Join Date
    Jul 2008
    Posts
    15
    Hello,

    Thank you for your replies. I saw my error but it do not solve my original problem. Do you have a method to re-size the project dynamically?


    Regards
    GBE

  5. #5
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Heres a bit of an example, I set Auto-Resize to right.

  6. #6
    Join Date
    May 2006
    Posts
    5,380
    yes, with AMS7 its very easy to dynamicly resize the project window and objects (thanks again IR)

    just check the right boxes
    Open your eyes to Narcissism, Don't let her destroy your life!!

  7. #7
    Join Date
    Jul 2008
    Posts
    15
    Thank you to provide me a quick answer. It's very good.


    Could you please explain me how is it working? I load the project without understand where was the code to re-size the projet.


    Regards
    GBE

  8. #8
    Join Date
    May 2006
    Posts
    5,380
    ok, when you double click a object you get a properties window, click the attributes tab

    notice the area what says Auto-Resize, there are 4 checkboxes (left, right, top and bottom)

    you use these checkboxes to tell the app what parts of the object to move when the page is resized,

    you will need to *play* with these settings till you get a grip on how it all works but this is much easyer than it used to be (used to code the whole thing in script)

    basicly, check the top box and only the top will move, check the top and bottom and the whole object will move up or down, same for left and right


    hope that hepls
    Open your eyes to Narcissism, Don't let her destroy your life!!

  9. #9
    Join Date
    Jul 2008
    Posts
    15
    Ha OK!!! It's clear now. Thank you very much.

    Have a nice week-end.

    Regards
    GBE

Similar Threads

  1. Best way to share custom buttons with the group?
    By mwreyf1 in forum AutoPlay Media Studio 6.0
    Replies: 10
    Last Post: 04-28-2010, 01:29 PM
  2. Resize all buttons and text for different screen resolutions
    By p-rposters in forum AutoPlay Media Studio 6.0
    Replies: 2
    Last Post: 02-19-2008, 03:32 PM
  3. How to change project name on CD presentation ??
    By videoman2 in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 08-08-2004, 03:04 PM
  4. HOWTO: Create a Project Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 01:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts