Hotspot behavior: restore image onMouseOut to previously-selected states?

I have an image map and am using hotspots-linked events to trigger the swap image action.
For example, imagine a map of Canada:
The image map consists of a map of the entire country.  Each state/image (Fireworks state, that is) has an image showing an individual province in a different color than the rest of the country.  There is one hotspot for each province on the map, and it covers only that province on the map.
Each hotspot has the behavior such that at the event onClick, swap image occurs to the state/image representing the underlying province.  "Restore image onMouseOut," is disabled.
State/Image 1 is a map of Canada with no province selected.
So now you have a map of Canada, and when you click on any one province, that province changes color. 
That's great, but I want more:
Let's say I click on British Colombia and it changes color.  Using a mouseover, I would like to be able to preview my future choices of other provinces.  I would like to be able to mouse mouse over Alberta, and see the state/image where Alberta is highlighted, but reset onMouseOut to my previous selection, which was British Columbia. 
In other words, I would like a simple mouse-over that restores at onMouseOut to the state/image that was previously defined by the action onClick. 
My problem is that Fireworks only appears to only allow "restore image onMouseOut" to take you back to State/Image 1. 
Are my wishes beyond the capabilities of Fireworks?
Thanks in advance for any advice/instruction anyone might have!

Yes, your wishes are beyond the capabilities of Fireworks. At least the default image swapping.
This can be done in JavaScript, but you'd have to learn how to write/modify the code. Start with the mouseover code that's in Dreamweaver and go from there.

Similar Messages

  • Nested select statements.

    Hi, I am writing a piece of code in which i use nested select statements for 4 tables to retrieve one column's data (ie: POSNR). But when i execute it, it takes way too long to get the data. I'm quite new to ABAP so very in need of your help. Thanks
    REPORT  z_impos_test.
    TABLES: coss,       "CO Object: Cost Totals for Internal Postings
            afvc,       "Operation within an order
            prps,       "WBS (Work Breakdown Structure) Element Master Data
            imzo.       "Table: CO Object - Capital Investment Prog.Pos.
    TYPES: BEGIN OF st_impos,
      objnr       TYPE coss-objnr,
      gjahr       TYPE coss-gjahr,
      kstar       type coss-kstar,
      projn       type afvc-projn,
      pspnr       type prps-pspnr,
      posnr       type imzo-posnr,
    END OF st_impos.
    data: year TYPE coss-gjahr value '2007'.
    DATA: t_output  TYPE STANDARD TABLE OF st_impos WITH HEADER LINE,
          st_output TYPE st_impos,
          t_output2 TYPE STANDARD TABLE OF st_impos WITH HEADER LINE,
          st_output2 TYPE st_impos.
    SELECT objnr gjahr kstar FROM coss
    INTO CORRESPONDING FIELDS OF st_output
    WHERE ( objnr LIKE 'NV%' OR
          objnr LIKE 'PR%' ) AND
           gjahr = year.
       SELECT SINGLE projn from afvc into CORRESPONDING FIELDS OF st_output
           WHERE objnr = st_output-objnr.
    APPEND st_output to t_output.
    ENDSELECT.
    SORT t_output BY objnr.
    DELETE ADJACENT DUPLICATES FROM t_output.
    LOOP AT t_output into st_output.
    SELECT objnr pspnr
           INTO CORRESPONDING FIELDS OF st_output2
           FROM prps
           WHERE objnr = st_output-objnr
           AND   pspnr = st_output-pspnr.
      SELECT SINGLE posnr from imzo into CORRESPONDING FIELDS OF st_output2
           WHERE objnr = st_output2-objnr.
    APPEND st_output2 to t_output2.
    ENDSELECT.
    ENDLOOP.
    LOOP AT t_output2 to st_output2.
    WRITE:   st_output2-posnr.
    ENDLOOP.
    Edited by: Jacie Johns on Apr 23, 2009 11:26 PM

    HI John,
    Try to avoid INTO CORRESPONDING FIELDS in SELECT statement.
    As you are not using PSPNR and POSNR fields in the first SELECT statement. If you remove these fields, in structure, INTO CORRESPONDING FIELDS can be avoided. Create a separate structure with the fields that are required for T_OUTPUT table (i.e. create another structure with only first 4 fields, as T_OUTPUT1.
    And as mentioned in your code,
      WHERE objnr = st_output-objnr
           AND   pspnr = st_output-pspnr
    in select statement, ST_OUTPUT-PSPNR value is not fetched in the previous select statements.
    Create Another structure with fields OBJNR, PSPNR, POSNR for table T_OUTPUT2 to store the data from tables, PRPS and IMZO.
    Use JOINS and FOR ALL ENTRIES to fetch the desired data.
    The sample code is as follows:
    ===
    TYPES: BEGIN OF ty_output1,
      objnr       TYPE coss-objnr,
      gjahr       TYPE coss-gjahr,
      kstar       type coss-kstar,
      projn       type afvc-projn,
    END OF ty_output1,
    BEGIN OF ty_output2,
      objnr       TYPE coss-objnr,
      pspnr       type prps-pspnr,
      posnr       type imzo-posnr,
    END OF ty_output2,
    BEGIN OF ty_output3,
      objnr       TYPE coss-objnr,
      gjahr       TYPE coss-gjahr,
      kstar       type coss-kstar,
      projn       type afvc-projn,
      pspnr       type prps-pspnr,
      posnr       type imzo-posnr,
    END OF ty_output3.
    data: year TYPE coss-gjahr value '2007'.
    DATA:
           wa_output1 TYPE ty_output1,   
           wa_output2 TYPE ty_output2,
           wa_output3 TYPE ty_output3,
           t_output1  TYPE STANDARD TABLE OF ty_output1 ,
           t_output2 TYPE STANDARD TABLE OF ty_output2 ,
           t_output3 TYPE STANDARD TABLE OF ty_output3..
    SELECT cobjnr cgjahr ckstar aprojn FROM coss as c
         INNER JOIN afvc as A on aobjnr = cobjnr
      INTO table t_output1
      WHERE ( c~objnr like 'NV%'   or
              c~objnr like 'PR%' ) and
            c~gjahr = year.
    SELECT pobjnr ppspnr i~posnr FROM prps as P
         INNER JOIN imzo AS I on pobjnr = iobjnr
         INTO TABLE t_output2
         for all entries in table T_OUTPUT1
         WHERE      p~objnr = t_output1-objnr.
    SORT : t_output1 BY objnr,
                t_output2 BY objnr.
    DELETE ADJACENT DUPLICATES FROM : t_output1 COMPARING objnr,
                                                                     t_output2 COMPARING objnr.
    LOOP AT t_output1 INTO wa_output1
    READ TABLE t_output2 INTO wa_output2 WITH KEY objnr - wa_output1-objnr BINARY SEARCH.
    if sy-subrc = 0.
      MOVE <wa_output1 fiels> and <wa_output2 fields> to WA_OUTPUT3.
      append wa_output3 to T_OUTPUT3.
    endif.
    ENDLOOP.
    Hope this will solve your problem.
    Regards,
    Sai Prasad

  • Retaining selection state

    Hi,
    I have a master detail application. master as a single selection table and detail as a updatable form.
    the user can select a row in the master and can upadate the detail form. I have used TopLink to call the database procedure to update the table.
    I get the required functinality. but the problem is ..
    if i select some record and update it . after updation the form is displaying the first row details.
    This is happening because i am refreshing the views after the stored procedure is called. wrote a method in application module to execute the query. i did this because the changes must be immedieatly reflected in the page..
    Is there anyway we can get the previous selection state of the table

    Hi,
    get the selected rowKey, save it in e.g a session attribute or a managed bean, execute the query and set the current row with the key using the ADF iterator of the table
    Frank

  • Error when printing: Printer selection failed. Restoring the previous selection.

    Hi!
    Sometimes when I'm printing in InDesign CS3 the default printer is PostScript and when trying to change it the error "Printer selection failed. Restoring the previous selection." appears.
    It´s the same error as in this unsolved old thread:
    Printing Error: Printer selection failed. Restoring the previous selection.
    Does anyone have a solution to this?

    What is the OS? CS3 was not tested on recent OS versions and may not be fully functional. You can export to PDF and print that from Acrobat or Reader.

  • Aperture not making adjustments to selected image but to the previously selected image. Any ideas?

    After making adjustment to an image I select the next image to work on. However, none of my adjustments appear to apply to the image. Then I noticed that the image I previously adjusted is messed up. The adjusts for my second image (the image selected) are actually being made to the previously worked on image (which is not selected). Any ideas on what is going on and how to correct this? Thank you for you help.
    Bill

    My first suggestion would be to uninstall Perfect Layers and see if the strange behaviour is still happening.  From what you've described in your post, this wasn't happening before the plugin was installed?

  • "Print preset selection failed – restoring previous selection"

    Hey, my name is Quin, and I have had a strange problem with InDesign CS5. Suddenly, without warning, or apparant change to my preferences/settings, all my print presets have stopped working. When I attempted to return to them, i get a dialog box that reads "Print preset selection failed. Restoring the previous selection." I'm curious if anyone else has had a problem with the print presets randomly not working. I'm using InDesign CS5 7.0.3 on my MacBook with Mac OS X 10.6.8 and a Brother HL-5340D printer. I thought the print driver might have been corrupt so i deleted and reinstalled it, but to no avail… seems that a number of my print settings are simply unavailable, even if they are still listed.
    Anyone have any insight?
    Thanks so much,
    Quin

    Try unplugging and plugging the cables. I would also suggest the you connect the printer to one of the built-in ports rather than a hub, but if you must use a hub, use a powered hub.
    Can you delect the printer and print without using a preset? If so, try editing the preset and just reselect the printer.

  • Databound Combobox - First item changes to previous selection when clicked again

    Hi All,
    I have just written my first vb.net app using VS2014 and everything is working perfectly except the same weird issue is happening on 2 comboboxs I have...
    Basically I have a Vehicles combobox and a Departments combobox (both created by dragging the field from Data Sources after setting it to combobox onto the form creating a databinding). When the user has made their selection they hit a show operations button
    which then does things depending on the selections made. 
    The tables come from a SQL Server.
    The sql statement for my Departments TableAdapter is:
    SELECT        Code, Department
    FROM            Departments
    ORDER BY DisplayOrder
    Setup of combobox:
    Use Data Bound Items is ticked
    Data Source = DepartmentsBindingSource
    Display Member = Department
    Value Member = Code
    Selected Value = (none)
    This image show a correct list for the department CB (bored of typing combobox) when it is first clicked.
    I select Finishing, then.
    This image shows what I get on the second click (which can literally be straight after as though the wrong selection was made the first time - I say this as clicking my Show Operations button has no effect on the behaviour).
    Basically the top item changes to be whatever the previous selection was. If I had chosen Construction it would have read Construction, Construction, Finishing.
    The same thing is happening on the Vehicles CB - I wont explain that as it is the same as above.
    I have been googling this for several hours but cannot find any other example of this issue. I may have done something stupid but hopefully not.
    If you could please shed some light on why these combobox's are behaving this way I would be VERY grateful.
    I am trying to learn as much as I can so if someone could actually explain why this is doing this rather than just a one line fix (which would be better than no fix at all) it would be appreciated.
    Note: I have no code associated with event / index changes on either box in any way. I reference their current values once I have click my Show Operations button.
    Anyway I hope the above is nice and clear for you.
    Thanks again,
    Paul.

    Thank you for shairng your experience here.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Restoring Images

    *"Restore Failure - Could not restore - Cannot allocate memory"*
    - Not using External Boxes.
    - Strictly inside my Mac Pro.
    *I created an image of a 2nd Drive.* (booted to the 1st drive)
    - Also Scanned Image for Restore (Disk Utility > Images > Scan Image for Restore)
    - Also Verify was used on new Image (Disk Utility > Images > Verify) with IMG selected.
    Error happens at the very end of the Restore process.
    Tried:
    - Recreated Image
    - Rescanned Img for Restore
    - Verified Img
    - Rebooted System
    - Cleared PRAM
    - Cleared Partition on 2nd Drive
    - Partitioned w/GUID Partition Table
    - Started Restore
    - Failed with Error again.
    Any other options I can try?

    Still this question was never answered. But I gave up long time ago. Don't care anymore about this issue. Thanks!

  • Images disappear after being selected from galleries

    I created an app in Project Siena that serves as a product catalog for our Remote Sales team to use on their tablets.  The app relies heavily on image galleries for navigation.  Everything works fine, except that as you navigate back and forth
    through the app pages, images that have been previously selected start disappearing from their gallery upon returning to their page.  Anyone seen this happen before?

    Hi Bruton, thanks for the quick response.  I'll try and break this down as simply as possible:
    -Built on Excel tables containing links to images.  The images are located in a mapped network drive that is synced offline. 
    -All images appear fine at first as you navigate through the app; then, as you go back to the Index page and go back through the same pages, you start to see previously selected images disappear from the gallery.  All the other images show up fine in
    the gallery.  Only the ones that have been selected previously disappear.  If you close that app and re-open it, voila, all images display without issue.
    -This same phenomena occurs while running the app in Project Siena; when the images start disappearing, I will update the data sources, and voila, the missing images come back.
    -There are four basic pages that each contain an image gallery: Index, Brand, Group, and Product
    -You drill down by selecting a brand, then a product Group, then an individual product (hence the 4 pages)
    -Note: some "brands" that are chosen take you directly to the Product page, bypassing the Group page
    -The image galleries on each page are used for the navigation (drilling-down to next level)
    -When you tap an image from the gallery, you launch the next page... below is the navigation code for the image gallery on the Brands page.  (I used "UpdateIf" function w/ 1=1 so it's always true, because I wasn't sure how to use other "Update"
    functions.)
    UpdateIf(CollectedGroup, 1=1, {Groups: Group_Gallery!Selected!Groups, GroupImage:Group_Gallery!Selected!GroupImage, BRAND: Group_Gallery!Selected!BRAND}); If(LookUp(ProductTable, Products in CollectedGroup!Groups, Products) = ThisItem!Groups, If(IsEmpty(CollectedProduct),
    Collect(CollectedProduct, Group_Gallery!Selected), UpdateIf(CollectedProduct, 1=1, {Products: Group_Gallery!Selected!Groups, ProductImage: Group_Gallery!Selected!GroupImage, BRAND: Group_Gallery!Selected!BRAND, Groups: Group_Gallery!Selected!Groups})), If(IsEmpty(CollectedGroup),
    Collect(CollectedGroup, Group_Gallery!Selected), UpdateIf(CollectedGroup, 1=1, {Groups: Group_Gallery!Selected!Groups, GroupImage: Group_Gallery!Selected!GroupImage, BRAND: Group_Gallery!Selected!BRAND}))); If(LookUp(ProductTable, Products in CollectedGroup!Groups,
    Products) = ThisItem!Groups, Navigate(Product_Page, ScreenTransition!UnCover, {BackScreen:"Brands_Page"}), Navigate(Groups_Page, ScreenTransition!UnCover, {BackScreen:"Brands_Page"}))
    Here is the navigation script for the Groups page gallery:
    Clear(CollectedProduct); If(IsEmpty(CollectedProduct), Collect(CollectedProduct, Group_Gallery_1!Selected), UpdateIf(CollectedProduct, 1=1, {Products: Group_Gallery_1!Selected!Products, ProductImage: Group_Gallery_1!Selected!ProductImage, BRAND: Group_Gallery_1!Selected!BRAND,
    Groups: Group_Gallery_1!Selected!Groups, GroupImage: Group_Gallery_1!Selected!ProductImage})); Navigate(Product_Page, ScreenTransition!UnCover, {BackScreen:"Groups_Page"})
    Data script for the gallery on the Groups page:
    Filter(ProductTable, Groups in CollectedGroup!Groups)

  • Grey out previously selected!

    Hi all,
    I have five images on a slide, each one linked to another slide that the user has to carryout intercations; then when they are done they click and go back to the main slide with the five images, this time I want them to see the previously selected image greyed out. Can any one help or provide a work around.

    Hi Lilybri,
    I really could do with having a play with your template to see how I can apply some of it to my project. Would you be able to send it to me? if so how?
    Do I provide you with my email here or any other means?
    Your help will be appreciated as I have one more week to turn the rest of the project around.
    Kind regards.

  • Finder jumping to previously selected file - iMac 10.6.8

    I am having the frustrating problem on my IMac running 10.6.8 that the finder is jumping to previously selected file whenever I expand a new folder. So, if I select file A in Folder A, then scroll down and expand Folder B, the Finder automatically jumps back up to file A at the top of the screen. Sometimes I don't even have to open a new folder, if I just scroll down the list of files/folders, it will sometimes jump back up to the selected file. Is this a bug? A setting? It wastes a lot of time as I have to keep going back to where I was in the finder window...
    I have searched this on this forum and on Google and nobody seems to have any answers. I would hope that Apple would fix this bug in an update if it is indeed a bug, or, if it is a setting, where can I change it?
    Thanks for any help!

    The white iMacs from 2006 can only be upgraded as high as 10.7 which is Lion, not Mountain Lion. RAW files work fine on my 2006 white iMac with Lion so upgraded to 10.7 and then try out RAW images before you purchase a new machine. On a side note, I found the white iMacs quite slow (what with their age) and so I installed an SSD drive. Well worth the money! Impressively quick for an older machine.

  • HT1766 can you restore from a older\previous backup? My last restore point is today at 12:31 and I need to restore a backup done last week. Can i do this?

    can you restore from a older\previous backup? My last restore point is today at 12:31 and I need to restore a backup done last week. Can i do this?

    Hi Xkandrux
    Do you mean if I go to edit-preference-device and delete all the recent backup except the older backup I want then it will appear when I select "Restore backup " ?

  • Restored to get iOS 5, it says "connect to iTunes", but I already restored it to my previous settings from iTunes. It won't let me do anything! Help?

    I restored my iPod touch 4G to get iOS 5, I want to restore it to my setting's I had before, so I selected "restore from iTunes backup" on the ipod. "connect to iTunes" on the new set up screen on the ipod. But I already restored it to my previous settings from iTunes. I have tried connecting it and re-syncing it. I am completely lost on what to do.  It won't let me do anything! Help?
    Thank you!

    Try close all apps in multi-task window
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen

  • Creating a restore image on an external drive with package install options

    Hi,
    I'm looking to use a combination of tools maybe Deploy Studio, System Image Utility etc to create an image that isn't Netbooted but rather on an external drive (a fast Thunderbolt raid enclosure) - a restorable image which will contain OSX setup with all the essential applications my users require.
    That bit is fairly easy using some clone software but I want to do a couple more things. I need to create a Bootcamp partition on the computer and I want this all to be as hands off as possible. I've looked at Winclone in which I can create a Bootcamp clone and even put it in a deployable package file which in theory will create the partition and restore the clone when run.
    Ideally id be able to make a restore image that boots, restores and also gives me package options, allowing me to chose the Windows 7 or Windows 8.1 package file in the image to deploy and also whether to deploy another package file which will include 3 optional applications for the user depending on their choice. If I was allowed at restore to decide which packages if any should be run id be able to create one single restore image.
    Does anyone know if this possible?

    Found the answer. It was formatted for Windows.

  • Kit Kat Restore Image - 4400US - NULL?

    Dear HP,
    Just curious as to why the Kit Kat Restore Image is now NULL, and that only the Jelly Bean Image is the only available option for download for the Slate 7 Extreme?
    ZiCott
    This question was solved.
    View Solution.

    Hello,
    We are performing some updates to the Kit Kat image.  Please stay tuned for additional information.
    -Chris
    I work for HP.
    Support Forums are now on your mobile phone: http://m.hp.com/supportforum

Maybe you are looking for

  • Problem while importing a web service model.

    Hi I am building a simple send email application using a web service. While creating a new model i am using following options. step 1 - Select "Import Adaptive web service model" step 2 - Select Wsdl Source 2.1 - Local file system or URL Step 3 - No

  • Why charger saying not supported when it is a genuine apple charger

    Why charger saying not supported when it is a genuine apple charger

  • Email suggestion from iTunes store fail (also other emails)

    Hello, due to prevention of Spam (seems to) sending suggestion from iTunes Store fails (but I got an email, that it fails From this a short excerpt on the failure (the * are from me :-): The original message was received at Wed, 25 Oct 2006 23:16:02

  • Need Help in Data Type

    Hi : I am developing a applicaition in apex i have a reqirement like this i have created a check box, Check box will normally have check and uncheck values which is like 0 and 1 now i need to create a table to hold these values if i check it must hol

  • Connecting a pdf to a database and passing a specific parameter through a URL

    Hi, I have a product data sheet that I want to personalise with partner logos. I need to pass a parameter from a url string to the form and have it populate a specific spot with the partner logo. How would I go about doing that. I have LiveCycle Desi