Making a visible top layer invisible for buttons/ controls on a layer underneath it.

THE PROJECT
I have 3 layers in a CS3 project, in the following order:
- top Layer (semi-transparent Vignet Layer, and some additional Graphics, all this is contained in a dynamicly loaded mc)
- Middle layer (Content, this contains the navigation and content. All of this loads dynamicly)
- Background (this contains a screenfilling Background image and some graphic alements, all this is contained in a dynamicly loaded mc)
THE PROBLEM
The top layer blocks all off the dynamic content because its on top of it.
SOLUTION
Dynamicly disable the top layer, so flash doent use it anymore.
I want to keep it visible, but not accessible for any mouse actions.
It has to keep the dynamic content underneath it visible for interaction.
I hope I Described it clear enough, so someone can give me the solution.
I gues it's some real simple code attachment.
Thanks.

I made a quick exaample to demo having a layer of something atop a controls layer and disabling it from interfering with controls below it.  For this example, the lightened rectangular area is the Vignet layer that sits atop a button on a layer below it--I threw in a background layer too, just to cofuse the eyeballs I guess..  When you click the button it enables the Vignet layer so that it blocks the button, and clicking on it disables it again... just a liuttle variety of commands that might be useful for you at some point.
If you can let me/us know whow you file differs, then maybe it will be easier to identify a different solution if one is needed.
http://www.nedwebs.com/Flash/Vignet.fla

Similar Messages

  • Visibility for button

    Hi there,
    I've created two value nodes and value attributes for visibility in my view.
    node: VisNode
             attr: VisAccSearch: type: com.sap.ide.webdynpro.uielementdefinitions.Visibility
                    VisBDX: same type
    Then I bound these attributes to the visibility property of the respective buttons.
    Finally I coded this in the event handler of inbound plug 'onPlugipFindConBdx' so when that inbound plug is used, the visibility of button BDX will be set to invisible & button AccSearch will be set to visible:
    wdContext.currentVisNodeElement().setVisBDX(WDVisibility.NONE);
    wdContext.currentVisNodeElement().setVisAccSearch(WDVisibility.VISIBLE);
    Though when I execute my application I get the following error trace:
    java.lang.NullPointerException
         at com.bdx.sap.bb.comp.bupa.ConResults.onPlugipFindConBdx(ConResults.java:193)
         at com.bdx.sap.bb.comp.bupa.wdp.InternalConResults.wdInvokeEventHandler(InternalConResults.java:199)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    What have I done wrong?
    Thanks already!
    Allan

    Hi,
    I think the cardinality of the node VisNode is 0..n try to make it 1..1.
    Thats the reason why when you access the plug it dumps with null pointer
    wdContext.currentVisNodeElement().-> code will result in null as thier is no element.
    if you change the cardinality to 1..1 atleast one element will exist.
    Regards
    Ayyapparaj

  • [AS] Making "keep overrides" the default graphic layer option for all placed graphics?

    If I relink thisLink when it is missing, and update link option was set to keep overrides, everything is fine. But if it was set to application settings, I am in a world of hurt, because suddenly all my Unit numbers will show 1-32 piled on top of each other (all layers visible in Photoshop) or the wrong one (just one layer visible in Photoshop) or nothing at all!
    The catch-22 is that until I relink missing links, update link option only shows "unknown" as the result. Arrrgh?
    set myLinks to every link whose status = missing
    repeat with thisLink in myLinks
        get update link option of graphic layer options of parent of thisLink
            -->Returns "unknown" instead of "application settings" or "keep overrides"
        try
            set update link option of graphic layer options of parent of thisLink to "keep overrides"
            relink thisLink to newLinkPath
            update thisLink
        on error
            -->This always errors on the set update link option line
        end try
    end repeat
    Anyone know a way around this or should I just change my name to Yossarian?
    Thanks in advance,
    Eric.

    Well, I give you points for creativity! Unfortunately, relink is destructive and overwrites any info with the default (which in CS2 is application settings).
    What really kills me is that InDesign has some Sooper Seekrit internal list that only the Links palette knows about. So if you *manually* try and relink the document and then revert it, it automatically relinks against all the paths you've tried since launching it and therefore, the second time all the links show as linked and the process is non-destructive, unlike the "relink" command.
    Argh.
    I will think on it some more though. Thanks for your input!
    PS: Adobe apparently broke the ability to relink against a string in CS4 from what I can tell. In spite of the fact that the dictionary specifically lists alias or string or string (yes, says or string twice in the dictionary), only alias really seem to work.
    So...
    set newLinkFolder to "" & path to home folder & "Pictures:"
    set newLinkPath to newLinkFolder & name of thisLink
    try
    relink thisLink to newLinkPath
    on error
    display dialog "FAIL!"
    end try
    try
    relink thisLink to newLinkPath as alias
    on error
    display dialog "No fail. You'll never see this message!"
    end try

  • Have a list of radio buttons control layer visibility

    Any help would be appreciated, I am very new to scripting for PDF actions in Acrobat XI Pro
    I have 4 different sets of radio buttons that a user has to answer yes or no to.  When certain sequences of radio buttons are selected it should set one of 4 text fields' visibility to on.  
    For example, if the sequence is
    No, Yes, Yes, No
    then I want only the 3rd text box made visible and the other ones to remain hidden. 
    There are 9 different combinations that need to turn on one of 4 fields at a time.  Is this possible?
    Thank you very much in advance.

    Thanks GKaiseril
    I have spent a little time trying to learn this and what I have so far is not working. 
    I have 4 Radio Button Groups set up named: "Group1", "Group2", etc
    I also have a Text box which is what I want to be visible or not called: "TextBox"
    Here is my script:
    if (Group1.rawValue == "1" and Group2.rawValue == "2" and Group3.rawValue == "3" and Group4.rawValue == "4") {
    TextBox.presence = "visible";
    else {
    TextBox.presence = "invisible";
    Thanks again!

  • Making KF invisible for one timebucket

    hello Team
    if I want to make a KF visible / invisible based on time period , how can it be possible?
      I have done pivot sorting so that my Chars are in rows and KFs are in columns (below time bucket).
      If I want to make certain key figures (E.g. Distribution ) as Invisible ONLY for timebucket "Initial" , can it be possible using macro?
      I tried using Row_Visible , col_Visible functions but it makes the visible /invisible for all timebuckets.

    Hi Guillaume
    Thanks for your reply. But this does not work. It makes the entire column invisible.
    The view i want is something like this -
    Where, some KFs (6M Avg offtake) can be visible only for timebucket = Initial and should be hidden otherwise.
    Please help me to solve this

  • My MacBook Pro randomly froze during a sync to my iPhone and started making a scratching noise by the power button. I shut it off then turned it back on and it won't take me to the desk tops it will just flash a folder with a question mark in it. What do

    My MacBook Pro randomly froze during a sync to my iPhone and started making a scratching noise by the power button. I shut it off then turned it back on and it won't take me to the desk tops it will just flash a folder with a question mark in it. What do I do?

    You have a HDD problem (hopefully you have a backup).  Start with the information on this support article:
    https://support.apple.com/kb/TS1440
    Ciao.

  • How to set a layer invisible?

    Hi guys,
    Can you tell me how to set a layer invisible? Thanks.

    function hideAllLayers()<br />{<br />     forEach(document.layers, function(layer) {<br />          layer.visible = false;<br />     });<br />}<br /><br />function showAllLayers()<br />{<br />     forEach(document.layers, function(layer) {<br />          layer.visible = true;<br />     });          <br />}<br /><br />function forEach(collection, fn)<br />{<br />     var n = collection.length;<br />     for(var i=0; i<n; ++i)<br />     {<br />          fn(collection[i]);<br />     }<br />}

  • Saving Layer setup for CAD dwg files

    I am using Illustrator CS4. I have a number of maps in CAD dwg as line drawings using layers such as Background, Building, Building_Number _Bubble and many more. I can bring the dwg file into Illustrator and set up colours for the different layers, fill the polygons, set the order (which layer prints on top of which layer) etc.
    Can I save the layer setup and apply it to the next map which has the same layers but shows a different location?  If so how do I do it?
    The result I want is to open the next dwg map in Illustrator and have all the layers appear the same as they did in the first map without resetting each layer individually.

    You can use your first file as a template to make a file with Layers in the order and name you want. Make sure that Paste Remembers Layers is checked in the Layer flyout menu. Then just copy the original file. Paste into a new file, select all and delete. Then copy and paste from the second and ensuing files into each new file on the appropriate layer. They'll probably come in on Layer 1. Drag the colored square at the right of the layer (making sure it is a large square) to the layer you want.

  • Is there a way (script option, exporter option) to export a .psd/.psb file with nested layersets to another layered .psd file with a flat layer structure for greater compatibility? (i.e. CS6/CC/CC '14 to CS4 or older?)

    Just looking for a solution short of having to go in and manually delve through hundreds of layers and reorganize the .psd.  There's a lot of vector elements, layer effects and blending modes as well.  It'd be nice to see Adobe include an exporter for older Photoshop versions that can take a newer file and regenerate it making whatever necessary changes to maintain compatibility across older Photoshop versions and even for cross-compatibility.  I know that's not necessarily in their best interests for additional sales, but it is in the end-user's best interests when they collaborate with others across various file and application formats.

    The first problem here is Layer Styles, if I understand what you are trying to do correctly. You can have arbitrarily nested Layer Sets/Groups (each with its own Layer Style) that contain Layers with their own Layer Styles. This means that for a nested layer, you would have to take it's Layer Style and merge it with the containing Group(s) layer styles in the correct order. Then you have to do the same thing with Layer/Vector Masks and whatever else is involved. It's a non-trivial piece of work. It's not intractable, however.
    There is also the problem that some parts of the Layer Styles are binary blobs that make merging at the JS level impossible.
    If someone has implemented this, I would love to see the implementation.
    What you actually need may be a lot less complicated than the general case. If so, you may be able to find someone to help you out.
    I wish you luck.

  • How to get Character Viewer to stay visible (esp. in Word for Mac)?

    I'm asking this on behalf of a friend who has a 2013 13-inch (non-retina) MackBook Pro and uses it with an Apple Cinema Display. Since the upgrade to Mavericks the behaviour of the Character Viewer has changed, where it no longer 'sticks' (stays both active and on top) as a visible window when you switch applications: now it needs to be called up from within each application, and will be visible when working with that app.
    He needs the Character Viewer open all the time and this change is inconvenient (he draws special characters from it constantly). But the main problem is that he mostly works in MS Word for Mac and as far as I can tell Microsoft have not updated Word to respect the behaviour Mavericks intends for Character Viewer: to stay visible while working. Instead, the Character Viewer window randomly closes. So, while hoping for an update from MS (but not holding breath since they provide their own inferior version of a glyph viewer in Word)) I have two questions:
    1. Can anyone suggest a way, perhaps using Applescript or Automator (which I don't know how to use), to make the Character Viewer always stay open and visible while using any application? This would be the preferable solution, in effect restoring the behaviour seen before Mavericks.
    Or
    2. Can someone give us some guidance on how to make a custom keyboard shortcut in Word for Mac that we could assign to bring up the (OSX) Character Viewer, since the usual system shortcut for that (control-command-space) is not respected in Word. Or alternatively, an Applescript or Automator solution for this that would be available from within Word?
    Thanks!

    Did you try:
    ->System Preferences->Keyboard and check [ ] Show Keyboard & Character Viewers in menu bar
    It closes when I switch desktops with spaces or open another App, but it displays when I go back to the Word window

  • t:inputFileUpload : problem with styleClass for button

    Hello,
    the component <t:inputFileUpload> has a field and a button. I want to add styleClass for button, but the styleClass into inputFileUpload tag works only for fields. Where can I add styleClass for button?
    Thank you in advance
    Manu

    Hello,
    I tried your suggestion, but it is not working.
    look the code:
    jsf
    <t:panelGroup styleClass="inputFile">
              <t:inputFileUpload value="#{interpreterDataImageHandler.uploadedFile}"
                   storage="file" accept="image/*" size="30"/>
                                  </t:panelGroup>css:
    .inputFile p{
         color:#5d0408;
         width:80px;
         margin-top:20px;
         border:1px solid #cacac4;
         background-color: #f87e39;
         }generated source:
    <span class="inputFile"><input type="file" size="30" accept="image/*" name="imageListForm:subimageUpload:_idJsp7"/></span>

  • Contextual Menu Layer Selection for CS4 and 5.x

    Hi all,
    I'm looking for a way to get contextual menu layer selection functioning better in Photoshop.
    Right clicking on a layer provides a menu but does not necessarily select the top layer automatically. If the layer is grouped, it will generally show the top most group, and indent layers within. Alt-right click selects the top-most layer, but does not provide the contextual menu.
    The behavior I'm looking for is right click, brings up a menu with the top most LAYER (not group) selected.
    I see this topic was already covered (and fixed by Adobe) for the Mac version here: http://forums.adobe.com/thread/632446?start=0&tstart=0
    Am I missing something on the Windows version? Is there an option somewhere to change the behavior?
    Thanks.

    Attached is a picture of the behavior in Windows. Right clicking on empty space (with the exception of a plain white background) does not highlight background. It highlights Group 1, despite Group 1 not containing any information for where I have selected. So when selecting layers in a huge working file with dozens of groups, finding the top most layer gets to be a painful experience.
    In Windows, I can control-click a layer to get to the top-most layer without any contextual menu, however the menu behavior on the Mac offers some benefits - you can just go up one menu item to find the layers group.
    Here's the same example from above:
    Another example:
    The Mac behavior seems much much more valuable I would think. However, I'm guessing there is no way to get the Windows version to do this.

  • Script for Button 3 or using side buttons on Mighty Mouse for Button 3

    Looks like the preferences for Mighty Mouse only allow the side "squeeze" buttons to be used for Button 4. I don't want to use the scroll ball for Button 3 because it keeps zooming when i do. Does anyone know how to write a script to configure the side buttons to be Button 3?

    I think I'm having a similar problem. Lately, my side buttons have been activating seemingly on their own. I hear multiple clicking sounds. I know I can turn off the button, but I use USB Overdrive to activate page back in browsers and the Finder, so I can be surfing and be brought back several pages at once. Very irritating. It doesn't seem to be consistent either. I bought my latest iMac in June, so I the warranty should be in place, but I'm an hour and half from the nearest Apple store, making it somewhat inconvenient to have the mouse looked at.
    Heh, right when I was about to post this message, it went back several pages.

  • All buttons in all files are now showing error: Mouse events are permitted only for button instances.

    Somebody please help:
    I've taught myself enough with Flash to customize a
    fully-Flash template for my wife's website, and two of the buttons
    didn't do what I wanted them to in Actionscript. They then began
    giving me the message:
    **Error** Symbol=sub_butt1, layer=Layer 4, frame=1:Line 1:
    Mouse events are permitted only for button instances
    on (rollOver) {
    **Error** Symbol=sub_butt1, layer=Layer 4, frame=1:Line 4:
    Mouse events are permitted only for button instances
    on (releaseOutside, rollOut) {
    Total ActionScript Errors: 2 Reported Errors: 2
    Not only do I not know how to fix this, the same message
    comes up for every single button in the entire fla I had saved,
    plus earlier versions where I hadn't even messed with the buttons
    yet.
    Any suggestions?

    Hello Corbett,
    The error is saying that you are trying to apply a button
    action to something
    other than a button. Often this happens when you select the
    frame that the
    button is on instead of the actual button, thus applying the
    action to the
    frame instead of the button.
    Make sure you select the button on the stage and then apply
    the actions there.
    You'll probably have to remove the action from the frame
    before it will work
    (looks like it's on Layer 4 frame 1).
    Good luck!
    Jesse H.
    Adobe Community Expert
    My site:
    http://www.jharding.com
    Free Blog Radio:
    http://www.tornadostream.com
    > Somebody please help:
    > I've taught myself enough with Flash to customize a
    fully-Flash
    > template for
    > my wife's website, and two of the buttons didn't do what
    I wanted them
    > to in
    > Actionscript. They then began giving me the message:
    >
    > **Error** Symbol=sub_butt1, layer=Layer 4, frame=1:Line
    1: Mouse
    > events are
    > permitted only for button instances
    > on (rollOver) {
    > **Error** Symbol=sub_butt1, layer=Layer 4, frame=1:Line
    4: Mouse
    > events are
    > permitted only for button instances
    > on (releaseOutside, rollOut) {
    > Total ActionScript Errors: 2 Reported Errors: 2
    >
    > Not only do I not know how to fix this, the same message
    comes up for
    > every
    > single button in the entire fla I had saved, plus
    earlier versions
    > where I
    > hadn't even messed with the buttons yet.
    > Any suggestions?

  • Turning an object into a mouseover button which displays a Layer using Illustrator CC 17.0

    Hi,
    I've been set the challenge of creating in interactive PDF which when hovering the mouse over a button reveals some text adjacent to the button.
    I've seen it done on YouTube using an older version of Illustrator where the text box to be displayed sits on its own layer and the button reveals the layer.
    I have created the layers with the various text boxes but can for the life of me work out how to assign these layers to the object so that they are revealed by hoveing the mouse over them.
    Please help as its driving me mad.
    Grant

    This would have to be done in Acrobat using Form elements and JavaScript or by creatively (mis-)using the comment tools there.
    Mylenium

Maybe you are looking for

  • Flash or Adobe CC has been corrupting files?

    Hi there everyone, I'm having a problem I hope we can get to the bottom of as I am an independent professional working with Flash to make advertisements. My timelines are always very tight but something new has been happening and it's happened with A

  • Will you include form filling in the next release?

    I really need to be able to fill out and save fillable PDF forms with Adobe Reader Touch.  Microsoft Reader has limited support for filling pdf forms, but it frequently will not save the filled-in form.  Will Adobe Reader Touch have this feature soon

  • Error in the status bar while using t:jscookMenu

    I have implemented t:jscookmenu in my source code like this <t:jscookMenu imageLocation="../css/themeIE" javascriptLocation="../css/themeIE" layout="hbr styleLocation="../css/themeIE" theme="ThemeIE"> <t:navigationMenuItems value="#{MenuBean.menu}"/>

  • Help, No Audio to Small Clips

    I've imported small clips of video from my Cybershot Camera. I've tried to do import them which works but no audio comes with the video. The video clip i imported works great and when i click on it when i'm in 'media''photos' the sound apears. Do i n

  • Need for sugestion about DAQ Card for load cell

    Hi. I have a AT-MIO-16XE-50 DAQ card. But, I guess it doesn't work with load cell since it dosen't have output. So I need your regomendation about what DAQ card I should use. Also, if I need to use strain gage conditioner, recomende to me. Thanks Jee