Location and the size of area spot within a compressed file

Hi all

I'm working on an authorware program in which I want to use the size of years of a hotspot location clicked to draw a rectangle. Finally, I would like to be able to change the size and position of a point of interest, and when they are packed, the rectangle must belong to the new position of the hotspot, with the new size. So far, I've been successful in a file not packed with:

GetIconProperty (@Title; #awSizeX))

GetIconProperty (@Title; #awSizeY))

GetIconProperty (@Title; #awLocationX)

GetIconProperty (@Title; #awLocationY)

where the title is the title of the clicked hotspot. So far so good... BUT I learned the hard way that GetIconProperty() does not work in a bundled file authorware (next time I will first read the help section better!). My question: How can I get the same information in a packaged authorware file?


I was watching the GetSpriteProperty() function, which should work in a bundled file. However, the hot spots aren't sprites, and I do not know what spriteproperties should I use for the location and the size of the area reactive (#awSizeX, #awSizeY, #awLocationY and #awLocationX do not work). In addition, GetPostPoint provides the position of the upper left pixel of the hotspot, but I need separate the values X and Y position of the reach to be able to use the Box() function to draw the rectangle. And I need the hotspot as well. Finally, PositionY@Title and PositionX@Title do not work for my hot spots (the value is always 0 and does not change when you click on the hot spots).


I could solve the problem by making all the position values variables and the values of the size of all the hot spots, but then I wouldn't be able to change the position and size of the hot spot by dragging and by changing the rectangle accordingly.

I'd be more than happy to hear if anyone has a solution for me.

Thank you!

OK, after playing with the functions GetPostPoint and GetPostSize, I managed to do something that does what I want in a bundled file.

My solution:

posBox: = GetPostPoint (@Title; #response) - returns a list with [x, y] position

sizeBox: = GetPostSize (@Title; #response) - returns a list with [width, height] size

Box(pensizeBox;posBox[1];posBox[2];posBox[1]+sizeBox[1];posBox[2]+sizeBox[2])

Hope that helps others to identical or similar problems!

Tags: Authorware

Similar Questions

  • How can I bypass the default location and the size of a new window?

    I would like to change the default offset position, width, and height of the new windows - cmd | n on OS - X

    Hello
    There is not a built-in feature in Firefox to do this, however there add terminals that have been developed to customize it:

  • Explore: Discover: Choose Details: Audio sample rate and the size of the Audio sample are not available in the list choose the details.

    With audio files (in particular the WAV), Audio sampling frequency and the size of the Audio sample are not the choices available in the list of details with Vista.  In earlier versions of Windows (2000 and XP) they were both selectable as details.  Is it possible to get these will appear under Vista?

    Vista - related audio details available:
    Album
    Album artist
    Bit depth
    Bitrate
    Duration
    Kind
    Year

    2000 / XP - audio related details are available:
    The album title
    Artist
    Audio sampling rate
    Audio sample size

    Bitrate
    Kind
    Title
    The track number
    Year

    FWIW, sampling frequencies are discussed in the Help window and how to (below).

    Reference: http://windowshelp.microsoft.com/Windows/en-US/Help/53adb4c7-d538-42f8-bb13-917379922afe1033.mspx

    Thank you!

    For the third part of the applications that perform many tasks, I usually discover www.tucows.com and www.download.com.  They have a wide variety of programs, and the trick is to put in the correct search terms to find what you are looking for.  Make sure you that your selection is compatible with Windows Vista and at tucows, try to pick one with 4 or 5 cows because they are the highest rated.

    Good luck! Lorien - a - MCSE/MCSA/network + / A +.

  • Use LR5. Because of volume and the size of the photos, I use an external hard drive. When opening LR5 it references only the local hard disk. How can I change the refernce to read the external drive. Thank you

    Use LR5, due to volume and the size of the photos, I use an external hard drive. LR refers only the Local Drive C not outside. Where do I change this by LR read the external drive. Grateful for the help.

    Thank you

    LR is not a file Explorer. He knows only the disks that you imported photos of.

    If you have previously imported these photos, then later moved into the external hard drive, go to the library files and "update location" Panel on the files that you moved.

    If you have never imported these images on the external hard drive, perform an import by using the option 'Add' (not ' copy') to keep the images on the external hard drive during import.

  • I have 9, 1 pages in PDF files that are accessible and the need to combine them into 1 PDF file.  I tried adding, adding and the combine process of PDF files. The file created does not take my changes. The file created is partially accessible, but I have

    I have 9, 1 pages in PDF files that are accessible and the need to combine them into 1 PDF file.  I tried adding, adding and the combine process of PDF files. The file created does not take my changes. The file created is partially accessible, but I have to re - the problems that I had fixed in the unique files. I need suggestions on what else can be done, if any. Using Acrobat pro XI.

    By habit, I tend to combine PDF files in the Page pane by right-clicking thumbnails then 'Insert of Pages'-> 'From File'. For me, this preserves the tags of these two documents, although the tags may have to be moved to the correct location (if I remember correctly the tags for inserted pages are put at the end of the tag structure, regardless of where the pages are inserted), if I put the tags in the document to insert into a container as a Section tag It makes the process easier. Travel set of tags in the right place is the only re-fixing that I remember having to do. What behavior you encounter?

    a 'C' student

  • No sound on DVD playback and the size can be reduced to half of its original size

    Hi, I have a few problems on my DVD player after you install the windows media player 11.
    No sound during playback and the size can be reduced to half of its original size.

    Can someone show me how to fix tat?

    Hello

    you have a codec pack and/or a DVD player separated installed on your system? If not, then try, because play DVD´s with MediaPlayer 11 is not very comfortable and
    you encounter errors, for example you have.

    I suggest you: download a codec pack (for example K-lite or something: http://www.free-codecs.com/download/Codec_Pack_All_in_1.htm) install it and maybe try to use another dvd as "Media Player Classic" player that plays almost every videofile/DVD/etc. that exist.

    Hope I could help you

    Welcome them

  • How to change the text size and the size of the icons

    original title: the size of the text and the size of the icons

    one of my friends was on the computer and somehow changed the size of my text and the size of my icons on my desktop, how do I do it please help

    Well, it depends on what he / she did it.  Right-click on the desktop and go in customize, then it could be the display settings have been reduced or appearance has changed.  So you have to play with the settings there to understand.

    Steve

  • What do you do if you are the administrator of a computer vista laptop and you are stupid enough to forget the password? How can I reset it? the "Wizard" and the reset option are without help?

    What do you do if you are the administrator of a computer vista laptop and you are stupid enough to forget the password? How can I reset it? the "Wizard" and the reset option are without help?

    Hello
    Microsoft technical support engineers cannot help you recover the passwords of the files and Microsoft who are lost or forgotten product features. For more information about this policy, please refer to the below sticky

    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/3eba3150-8742-4264-be9f-0daaad2282cd

  • Floppy disks to install Windows 7 and the product keys are exclusive to each other?

    Floppy disks to install Windows 7 and the product keys are exclusive to each other?  Or can I use a disc that I have to restore the windows on a second laptop and activate it with a different product key?  It is not a question to find out how many users I can put in place, but whether the disk and product key are mutually exclusive.

    As long as the product key matches the edition, it should work perfectly, no exclusivity.

  • All usb ports not working does not correctly and the video card are not available with DVI cable

    I recently had a power surge and now none of my usb ports are usable, and I had to switch to analog cable to use my monito., also using the beside picture dvi hdmi cable sparkles.   The Device Manager shows everything works and the appropriate drivers are installed. IM using windows 7 with an asus motherboard P5nesli. IM pretty computer savy but it left me speechless. Cannot connect wireless mouse or keyboard, camera, printer, etc.  truble shooter says that it detects problems but wont tell me what they are and can't fix. Help... Thank you

    Hello

    What is the brand and model of the computer?

    I suggest you try these methods and check the status of the issue.

    Method 1:

    Update a hardware driver that is not working properly.

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Method 2:

    Uninstall all the USB controllers, download the latest USB driver on the computer manufacturer site, install on your computer and check the status of the issue.

    Remove and reinstall all USB controllers.

    a. to remove and reinstall all USB controllers, follow these steps:

    b. Click Start, run, type sysdm.cpl in the Open box and then click OK.

    c. click on the Hardware tab.

    d. click the Device Manager button.

    e. expand Bus USB controllers.

    f. right-click every device under the Bus USB controllers node and then click on uninstall to remove them one at a time.

    g. restart the computer and reinstall the USB controllers.

    h. connect the removable USB storage device and perform a test to ensure that the problem is solved.

    Method 3:

    Update your drivers chipset system to the manufacturer's website and check the status of the issue.

  • In the mail app, if I try right click and open the attachments of the JPG files that I received, I get the message 'we are unable to open this file. You want to save and try to open with another application? »

    I received an email with 3 accessories, 2 images and 1 PDF.  I am trying to open larger photos and I get the message, "we are unable to open this file.  You want to save and try to open with another application? »

    Why can't click a picture in the mail app and have it launch a photo viewing application. ?

    What you need to do is to go to control panel > programs > by default of the programs > set your default programs. Or search for programs by default, which must raise I have right as well (just start typing on the splash screen or slide from left to right and click on the search button). Go to the photos and select set this program as default. This fixed it for me.

  • All locations of the project window are white - label color does not

    All locations in the project window are white! No color - not default same mango. Does not meet the new colors. The timeline is colorful. (Mac 8 core Pro Tour, Nvida 680 GFX, 16 G of ram etc..) I see nowhere else.

    DOH!

    The label box was not checked in the options of meta data. Now I feel stupid.

    However - Adobe - why make a separate column of the label? -Why don't you just give us the option instead, or more, to paint the tray of mango by default. I like mangos but not all the time.

  • In photoshop CS5 (bridge) I could select all the images and their size still before turning them into JPEG files. I can't find a way to do it in CC

    In photoshop CS5 (bridge) I could select all the images and their size still before turning them into JPEG files. I can't find a way to do it in CC

    Hi Tanuj.

    I actually understand it. Not the best user friendly system. Where as before (CS5), I just had to go to crop tool and choose the dimensions and the inches now it in the window. Just really complicated for nothing.

    Thanks anyway Tanuj

    Melanie

  • How to import in the video editor of first elements 13 clips with the tag structure or the person, location and the structure of the event organizer?

    How to import in the video editor of first elements 13 clips with the tag structure or the person, location and the structure of the event organizer?

    senior50

    On what computer operating system is your first items 13 running? And you have updated 13 to 13.1 still using Help Menu/implementation of an open project? If this isn't the case, please consider this.

    Now to your question immediately.

    I would consider placing your files for organizing items (person, place or event) in albums that you create in the organizer of items for each. Then,

    (a) the content of the album of the opening of the first elements add multimedia/Organizer.

    or

    (b) by selecting your album in the elements Organizer, select the photos in the album you want, then right click anywhere in a selection and Edit with Premiere elements editor selection?

    Have you been there and done that yet?

    Please examine, consider, give more details, and we can then decide what.

    Thank you.

    RTA

  • The been lots of updates, but the effects, transitions and the text tool are the same. Why?

    The been lots of updates, but the effects, transitions and the text tool are the same and in some cases, we lost a few of them. Add more damage upgrade

    a couple of things that are not relevant. And promise a quick editing and improved timeline and more, but the program still crash and work almost the same thing.

    While welcoming the technical team, it will be useful to improve the effects and titration module too

    Hi Bisa Goma,.

    While welcoming the technical team, it will be useful to improve the effects and titration module too

    You can create a feature here: http://adobe.ly/feature_request

    Thank you

    Kevin

Maybe you are looking for