Behaviour on mouse over ?  Please help

Hi,
I am very new here so please be patient when you read about
my "ignorance". I am making a website for a friend designer and
here is the idea :
- the "main" page contains a picture of a cabinet with 5
drawers (which serve as menu buttons)
-The idea is that when you roll over the drawers with the
mouse, the picture changes into one with that particular drawer
open and the subject written next to it.
-When you roll further the next picture appears, etc.
-When clicked on any of those pictures (the open drawer) the
behaviour should be to go to the dedicated html.page
The problem :
The picture is a full screen size picture (250kb).
I thought that with putting hotspots on the main picture, and
using the hide and show layers behaviour I could make this work but
it does not seem to do anything right. (when moving the mouse over
and off the drawer the picture keeps jumping back and forward)
Can anyone suggest a better way to do this ?
Please feel free to ask for more info if the above does not
make sense to you.
Thanks
Bubbles

What you probably want to do is create invisible buttons that you place over the main image.  These will provide the rollover triggering that you want.  To make invisible buttons you can create button symbols that only have a shape in their "Hit" frames.  That creates a button that you can still see while editing but do not appear in the published file when you run it.
Then you need to have an image that rolling over that button will bring into view.  It would be preferable to have the images that appear be away from the buttons so that they don't interfere/block the buttons, so each larger image may have to be placed in a different area.
To control an image that appears, for starters you could just have it invisible and make rolling over the button make it visible.  You would need to convert these images to movieclips in order to accomplish that.  So let's say you create an image movieclip and place it on the stage and assign it an instance name of "image1" (instance names are assigned in the properties panel).  And for that image/movieclip's button you add a button over the main image and give that an instance name of "btn1"
To make them work as planned, in the timeline in the same frame (different layer) where you have btn1 and image1, you would add code as follows...
image1.visible = false;
btn1.addEventListener(MouseEvent.ROLL_OVER, showImg1);
btn1.addEventListener(MouseEvent.ROLL_OUT, hideImg1);
function showImage1(evt:MouseEvent):boid {
     image1.visible = true;
function hideImage1(evt:MouseEvent):boid {
     image1.visible = false;

Similar Messages

  • Very strange behaviour master-detail-detail please help

    Very strange behaviour master-detail-detail please help
    Hello,
    I have a parent-child-grandchild report which show's some really strange behaviour.
    The data template has 3 queries Q1, Q2 and Q3.
    Q2 is bound to Q1 using a bind variable
    Q3 is bound to Q2 using another bind variable
    For a certain record in Q1 the output should be
    2 records in Q2
    and 1 record in Q3 for each record in Q2
    Q1 record
    Q2 record A
    Q3 record AA
    Q2 record B
    Q3 record BC
    The results conforms to the expected output.
    For another record in Q1 the output should be
    2 records in Q2
    and 2 records in Q3 for each record in Q2
    Q1 record
    Q2 record A
    Q3 record AA
    Q3 record AB
    Q2 record B
    Q3 record BC
    Q3 record BD
    In stead of the expected output, the result shows
    Q1 record
    Q2 record A
    Q3 record AA
    Q3 record AB
    Q2 record B
    Q3 record AB
    For another record in Q1 the output should be
    5 records in Q2
    and 2 records in Q3 for each record in Q2
    Q1 record
    Q2 record A
    Q3 record AA
    Q3 record AB
    Q2 record B
    Q3 record BC
    Q3 record BD
    Q2 record C
    Q3 record CE
    Q3 record CF
    Q2 record D
    Q3 record DG
    Q3 record DH
    Q2 record E
    Q3 record EI
    Q3 record EJ
    In stead of the expected output, the result shows
    Q1 record
    Q2 record A
    Q3 record AA
    Q3 record AB
    Q2 record B
    Q3 record BC
    Q3 record BD
    Q2 record C
    Q3 record CE
    Q3 record CF
    Q2 record D
    Q3 record DG
    Q3 record DH
    Q2 record E
    Q3 record DH
    So for the last record of Q2 I don't get the appropriate records from Q3 when there are multiple records to be shown, but only the last record which belongs to the previous Q2
    What is going on?
    Please help me out...
    Kind regards,
    Jan-Marcel

    Hi Tim,
    Thanks for your reply. Below you will find the datatemplate on the scott/tiger schema.
    Please help me out.
    Kind regards,
    Jan-Marcel
    <dataTemplate name="scott" description="Template scott" dataSourceRef="otcy001" version="1.1">
      <parameters>
        <parameter name="p_deptno" dataType="number"/>
      </parameters>
      <dataQuery>
        <sqlStatement name="Q1">
          <![CDATA[
            select empno            mgr_empno
                 , ename            mgr_name
                 , job              mgr_job
                 , hiredate         mgr_hiredate
                 , sal              mgr_sal
                 , comm             mgr_comm
              from emp
             where deptno = nvl(:p_deptno, deptno)
               and mgr is null
          ]]>
        </sqlStatement>
        <sqlStatement name="Q2">
          <![CDATA[
            select empno            mgr2_empno
                 , ename            mgr2_name
                 , job              mgr2_job
                 , hiredate         mgr2_hiredate
                 , sal              mgr2_sal
                 , comm             mgr2_comm
                 , mgr              mgr2_mgr
              from emp
             where mgr = :mgr_empno
          ]]>
        </sqlStatement>
        <sqlStatement name="Q3">
          <![CDATA[
            select empno            emp_no
                 , ename            emp_name
                 , job              emp_job
                 , hiredate         emp_hiredate
                 , sal              emp_sal
                 , comm             emp_comm
                 , mgr              emp_mgr
              from emp
             where mgr = :mgr2_empno
          ]]>
        </sqlStatement>
      </dataQuery>
      <dataStructure>
        <group name="G_mgr1" source="Q1">
          <element name="q1_mgr_empno"    value="mgr_empno"/>
          <element name="q1_mgr_name"     value="mgr_name"/>
          <element name="q1_mgr_job"      value="mgr_job"/>
          <element name="q1_mgr_hiredate" value="mgr_hiredate"/>
          <element name="q1_mgr_sal"      value="mgr_sal"/>
          <element name="q1_mgr_comm"     value="mgr_comm"/>
          <group name="G_mgr2" source="Q2">
            <element name="q2_mgr_empno"    value="mgr2_empno"/>
            <element name="q2_mgr_name"     value="mgr2_name"/>
            <element name="q2_mgr_job"      value="mgr2_job"/>
            <element name="q2_mgr_hiredate" value="mgr2_hiredate"/>
            <element name="q2_mgr_sal"      value="mgr2_sal"/>
            <element name="q2_mgr_comm"     value="mgr2_comm"/>
            <element name="q2_mgr2_mgr"     value="mgr2_mgr"/>
            <group name="G_emp" source="Q3">
              <element name="q3_emp_empno"    value="emp_empno"/>
              <element name="q3_emp_name"     value="emp_name"/>
              <element name="q3_emp_job"      value="emp_job"/>
              <element name="q3_emp_hiredate" value="emp_hiredate"/>
              <element name="q3_emp_sal"      value="emp_sal"/>
              <element name="q3_emp_comm"     value="emp_comm"/>
              <element name="q3_emp_mgr"      value="emp_mgr"/>
            </group>
          </group>
        </group>
      </dataStructure>
    </dataTemplate>

  • IDE mouse-over popup help

    For us non-lightening speed readers, is there any way to get the IDE mouse-over popup help textboxes to stay up for a few seconds longer for larger texts, especially?
    If it is difficult enough for a native English reader, I can imagine the frustration of those non-native readers with the misfortune of not having the IDE localized in their own language.
    Thanx

    Go to:
    TOOLS>OPTIONS>GENERAL SETTING
    Thyen select SYSTEM SETTING and then you will find an option called TOOL
    TIPS DISMISSAL DELAY. Set a large number for that, to keep the tooltip text longer.
    Thanks.

  • Imac usb keyboard/mouse freezes - please help!

    i have a 700 mhz g4 flat-panel, 768 RAM, 40 GB disk, running OS 10.4.5.
    the keyboard and mouse keep freezing up. sometimes one, sometimes the other. if i unplug the offending one and plug it back it, it works fine. i've tried using different USB ports, and re-setting the PRAM, but after a few minutes of use, the problem comes back.
    please help!

    Thanks. I was just going to post that I had more information. Luckily, it seems to jive with what you suspect.
    This crash was different. Instead of a "freeze" it panicked. In the USB driver, naturally.
    It was throwing these log entries beforehand:
    Mar 1 12:45:06 UKELELE kernel[0]: USBF: 406246.406 [0x23a6600] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 1 of hub @ location: 0x18000000)
    Mar 1 12:50:05 UKELELE kernel[0]: USBF: 406544.669 [0x23a6600] The IOUSBFamily has successfully enumerated the device. Mar 1 12:50:09 UKELELE kernel[0]: USBF: 406548.296 IOUSBHIDDriver[0x3091500]::start - super::start returned false!
    Mar 1 12:50:09 UKELELE kernel[0]: USBF: 406548.296 IOUSBHIDDriver[0x3091500]::start - aborting startup
    Mar 1 12:50:09 UKELELE kernel[0]: USBF: 406548.306 USB-PS/2 Optical Mouse[0x368a600]: error setting feature (1). err=0xe00002ed
    Mar 1 12:50:09 UKELELE kernel[0]: USBF: 406548.610 USB-PS/2 Optical Mouse[0x368a600]: error setting feature (1). err=0xe00002ed
    So I was going to swap out the mouse, anyway. If that doesn't stop it, I'll change USB ports.
    Thanks so much for the response.

  • Popupkey_lov_from_query unusual behaviour..Urgent..please help

    Hi All,
    I have a SQL region -
    select c001,
    htmldb_item.select_list_from_query(2, c002, 'Select product_family_name d, product_family_id r from grp_product_families, 'onChange=doSubmit()', 'YES','-1000','Select') c002,
    htmldb_item.popupkey_from_query(3, c003, 'Select product_module_name d, product_module_id r from grp_product_modules where product_family_id = '''||c002||'''') c003,
    seq_id,
    collection_name,
    c002 displayonly
    from htmldb_collections
    where collection_name = 'PROD_IN_DB'
    Here, when I run the page and lets assume this query returns 4 rows. Then the first 2 rows Popup LOV will return the same set of records (Taking the product_family_id = c002 of the second row). Also, if I select something from the Popup LOV then the value instead of going into its own place holder goes to the Popup LOV placeholder of the previous record.
    Am i missing something.
    Please help.
    Thanks in advance,
    Monika

    Is this a bug. I am using HTMLDB 1.5
    Any workaround for this.
    I tried creating custom popup. Now, the custom popup gets populated correctly. But, here I dont know how to pass back the value to the calling page. The value now has to be passed to a report updateable column and that too in the correct row.
    For e.g, if the report of the calling page returns 4 rows (1,2,3,4) and I call the popup of the second row, then the popup should pass back the value selected into the second row column only.
    I should have something like this on the popup page
    opener.document.getElemenyById("Name of the report column with correct sequence id") := value;
    The name for this eg will be - HTMLDB_APPLICATION.G_F002(2)
    Any help will be appreciated.
    Thanks
    Monika

  • G580 Very slow, and mouse problems, please help

    I purchased a brand new G580 approx 2 weeks ago. 
    It has 4GB of memory compared to my old lenovo which had 2GB.  This new one runs at half the speed of my old one and has nothing on it (i.e pictures, music, vids etc) 
    If i open a programme to do something and then open another, it cannot cope with it and will take forever to do anything on the 2nd programme when it eventually opens. 
    also the mouse wanders! I dont have to be touching it or doing anything near it, it just wanders across the screen which is getting very annoying. 
    Please could somebody help me? 

    Hi kiri_tc,
    Welcome to Lenovo Community Forums!
    I’m sorry to hear that your G580 Laptop is not performing as expected and the cursor is moving erratic, re-installing the Touchpad driver should resolve this issue and let me know the OS (Operating System) that is installed in the computer and the country where the computer was purchased, also the Type of G580 for providing the steps to resolve performance issue and exact touchpad driver link. Below is the link to locate the model number and Type of the computer which is mentioned on the sticker at the base of the Laptop.
    How to find the Serial Number (S/N) and Type of your computer
    Hope to hear back soon
    Best Regards
    Shiva Kumar
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • This computer is no longer authorized message over and over- please help

    got a new laptop, tried to sync ipod touch and got message "this computer is no longer authorized".  when I hit authorize my husbands email comes up, rather than mine, it is his old itouch.  when I type in my email and password and hit authorize it says this computer is already authorized.  when I hit ok, it all starts over again......... "this computer is no longer authorized".  HELP!!!! what do I do?

    It's probably because you are trying to sync apps or songs that were downloaded with your Husbands account.  If you right click (Windows) or Control+click (Mac) and select Get Info it will display what acount it was downloaded under.
    If it was downloaded with your Husbands Apple ID, you won't be able to sync it to your device without entering his password.

  • Starting over please help

    First...Hi and thank you! I would like to entirely rebuild my system from scratch and am looking for some help. My system details are listed below but if any additional information is needed please feel free to ask. I would like to get the most out of the equipment I have...So many questions sorry...they are...(1)How best should I configure my system? I mainly use my computer for graphics (i.e. photoshop and Bryce rendering(oh so slow...) and recording audio in cubase and garageband. I use OS 10.3.9 and OS 9. Many programs I own will only work in OS9. I am too poor to upgrade anything so that is not an option right now. What I am looking for is advice on how to setup my 4 different hard drives...i.e.(2) to raid or not to raid....(3)what drive or drives(ie raid) should my startup volume be on?....(4)how best to setup these drives i.e.. (5)to partition or not to partition....Basically I am going for max performance with what I have....(6)Any suggestions as to where to put my files i.e. on which drives....and also (7)how best to to install (step by step) all the updates to my orginal jaguar clean installs etc. and the updates to ilife (I.e software updates) would be greatly appreciated...(8)Is there a step by step for redoing an entire system? (9)What option should I use for reformatting the drives for max performance and reliabillity? Everything is backed up already so that is not an issue....I also am looking for speed and am not concerned with data redundancy( ie mirroring).(9)But will striping help? I am not sure that a raid is that much faster anyway. (10)How can I speed up my boot times and (11)where should I put my Itunes libraries, iphoto and garageband libraries?(12)Where should i put my OS 9 stuff? (13) Is it true that Tiger would actually slow my system down if I upgraded to it or even Leopard if I wait for it? I don't have the money anyway but advice here would be welcome....(14)In what order should I reinstall my programs and (15)should i fix permissions before and after each and every install and update? I know this is a lot of questions and very system specific but that is why I posted here as all the information I found is very general...(16)Does it make a difference which busses I have the 4 different drives attached to? What about my acer card? What drives should I attach there? Remember I am going for speed...I know my system is antiquated but I'm stuck with it. Any and all information you guys have (especially the small details) is not only welcome but urgently appreciated....Thank you again for your time....

    Create a new user and back up manually and restore your device from that backup after that. Here's how to:
    Make sure your new iTunes is authorized in the Store menu. Disable autosync in itunes, connect your ipod, right click on it in the device list and choose backup.
    This will save data, pictures and settings to itunes. See what's included in this backup here: http://support.apple.com/kb/HT1766
    Transfer your purchases the same way to copy all apps and bought media from the Store to your computer.
    Set up at least one contact and event on your computer to be able the merge your calendars and contacts after your ipod got wiped during the first sync.
    The rest of the data can be restored from the backup you made.
    Restoring: http://support.apple.com/kb/HT1414
    To transfer other data like for example picutres, follow this article: http://support.apple.com/kb/HT4137
    Music is one way only, from the computer to your device, unless you bought the songs in itunes and transferred your purchases.
    There is 3rd party software out there, but not supported by Apple, see this thread: http://discussions.apple.com/thread.jspa?threadID=2013615&tstart=0

  • I can't drag any object with trackpad or mouse. Please Help

    Since yesterday, like a bolt out of the blue, mouse and trackpad stop working properly, in the sense that I cannot drag any object in my desktop or in any application neither with the mouse, neither with the tackpad. Moreover, when I lunch Mercury I get a massage stating that some Java routine cannot be opened and Azureus refuse to start. My computer use last version of leopard and all the updates available, last java upgrade included. Everything else seems to work properly. Any idea of what colud be wrong and what can I do ti solve this irritating issue? Thanks.

    I can't think where else to look for this gremlin...
    How well backed up are you and do you have a clone of your system prior to the drag & drop problem? If you do, I'd erase your internal and copy over the good clone. Or, restore from a previous date from Time Machine.
    If not, you ought to run off a SuperDuper clone now. (SD is free for cloning) Then, do an archive & install. After you have everything you need back, delete the volume with clone since it is corrupt and run a good clone from your trouble free system
    -mj

  • Cant download apps anymore when i try it says accept terms and conditions over and over please help

    I cant seem to download anyapps due to the fact that it keeps saying i have to accept terms and conditions manytimes

    Hello, Owen. 
    Thank you for visiting Apple Support Communities. 
    Here is the best troubleshooting article to go through when experiencing issues updating your iOS device over-the-air. 
    Resolve issues with an over-the-air iOS update
    http://support.apple.com/kb/TS4431
    You can also update this iPad via iTunes on a computer as an alternative. 
    Update your device using iTunes
    If you can’t update wirelessly, or if you want to update with iTunes, follow these steps:
    If you use your device's Personal Hotspot for your computer's Internet connection, update your device wirelessly or connect your computer to another network.
    Install the latest version of iTunes on your computer.
    Plug in your device to your computer.
    In iTunes, select your device.
    In the Summary pane, click Check for Update.
    Click Download and Update.
    If you see an error message while updating your device, you can learn how to resolve iOS update errors in iTunes.
    Update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    Cheers,
    Jason H. 

  • AS3 infinite scroll mouse over link

    i am create AS3 infinite scroll bar. i want to put mouseover  hyperlink to every picture. any body know how can put mouse over.
    please help me

    Do you know how to assign event listeners and event handler functions for them?  If so, you assign the listener to the object you want to rollover, using either MouseEvent.ROLL_OVER or MouseEvent.MOUSE_OVER as the event.

  • Please help when initiating resore recovery keyboard no response nor mouse

    please help when recovery process applicated keyboard no response cant press enter nor any mouse response please help how can i recover my pavillion from hp

    Hi Brunodaniel2345,
    Thank you for visiting the HP Support Forums and Welcome. I have read your thread on your HP Notebook and recovery selection does not use the mouse or keyboard. Have you tried Tab it will take the selection to the next line?
    What about putting the laptop in  Safe Mode for a system restore? Here is a link to show you how.
    I would be happy to assist if needed. How Do I Find My Model Number or Product Number?
    Please respond with which Operating System you are running:
    Which Windows Operating System am I running?
    Please let me know.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Don't know how to move pics.from e-mail to my comps.desktop.Please help!

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/920202]]</blockquote>
    Hi- I took a few pictures with my cell phone,and sent them to my Google e-mail.Now I want to put them on my computers desktop.Don't know how to transfer them over.Please help me!

    Welcome to Apple Discussions!
    The music should be in My Documents-->My Music.
    In iTunes go to file-->add folder to library. Find the folder where all the music is, select it, and hit ok.
    The music should import and convert.
    Any protected files will not import.
    btabz

  • Please help....I have lllllll's and !!!!!!! following my mouse and all over my screens.....

    Please help....I have lllllll's and !!!!!!! following my mouse and all over my screens.....

    not to mention..............................&;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;

  • Please help!  my iMac keeps freezing, mouse and keyboard do not work after

    Early this morning I turned on my iMac and started downloading updates through software update as usual. I was browsing a website in Safari when all of a sudden the "zoom" feature activated itself and I could not turn it off. I restarted and the keyboard started typing different characters but not letters, so I took out my installation CD and it took me quite a while to reboot the computer using the CD as a startup. Since the keyboard had a different input, the C key was not running the CD. I tried loggin into the support page, but it downloaded the links into the desktop. I used system utilities to restart the computer from the CD, I verified the Disk Permissions, then Repaired the permisions, then the Verify Disk and then the Repair disk, in that order. I restarted the computer and everything seemed fine, but after a couple of minutes the mouse starts closing windows, downloading website links into the desktop and then the keyboard freezes and does not let me type! This has repeated over and over, and I don't know what to do!
    Posting this message has been quite an achievement, because I have restarted the computer a lot of times in order to finish.
    Someone please help! I don't know what else to do!!!
    Thanks!

    Yes. And since you aren't backed up, you may have to use Prosoft Data Rescue to try to recovery any information that is critical. First though, do you have another Mac you can hook this one up to using Target Disk Mode?
    If you do, that's another way to rescue information. Target Disk Mode is explained here:
    http://docs.info.apple.com/article.html?artnum=58583
    Similarly, if you have a bootable external hard drive, you can try to boot off that with the Startup manager:
    http://docs.info.apple.com/article.html?artnum=106178
    To rescue your information. This at least will allow you to do further analysis to see what data corruption might have happened. If the drive is invisible when booted off another, that may indicate a directory issue. But first let's see if we can attach or boot off another and see the internal drive of the machine.

Maybe you are looking for

  • Chart Error

    Hi, I am trying to generate a chart based on a SQL. The following SQL executes fine in the SQL Commands window but it doesn't validate when entered in the Chart Series SQL: SELECT SYMBOL "Symbol", -SUM(TRANS_AMT) "Purchase Value" FROM TRADING GROUP B

  • Error in file name encoding on OS X

    This little java program fails when creating a new file with the Danish letter "�" (U+00C5) and then trying to find the same file. It cannot find it - the name has been messed up in the encoding/decoding. The program only fails on OS X 10.4. The char

  • Weblogic deployment plan will not override variables (Weblogic 10.3.5).

    I am having some trouble trying to adjust the deployment settings of our application in weblogic. I feel what I'm trying to do ought to be quite simple, but it's not working as expected. I am just trying to override the context-root in weblogic.xml a

  • Chronic Safari 5 crash, slow to load with spinning wheel

    I've had this since the upgrade to Safari 5 and it has become quite annoying. I'm not able to decipher the crash report, can anyone help? I usually find the crash report waiting for me when I return. It seems to be a problem for many here, not sure i

  • Using iPhoto for presentation

    Hi all, I want to be able to show photos of art work from my iPhoto in a presentation. People tell me I need to buy Power Point but do I really need to? I want to use my computer to plug into what ever type of projection system is available and manua