Access property of a subcomp through expressions.

I got a main composition. It got a subcomposition and a null-object(with a control checkbox).
How can I access a layers opacity in the subcomposition throught an expression in the main composition?
The goal would be to reuse the subcomp. Once with a layer visible and another time without.
So far I wrote this in the control checkbox:
if(value == 1)
comp("subcomp").layer("xy").opacity =100 ;
else
comp("subcomp").layer("xy").opacity =0 ;
I tried also to write an expression directly in the going to be hidden layers opacity:
var control  = comp("maincomp").layer("control");
100*control.effect(1).param("SliderControl").valueAtTime(control.time);
This actually worked when I toggled the control checkbox manually, but as soon I keyed it, it didnt work anymore.
It was kind of a time conversion problem: It takes the time of the parent but applies it to the subcomp……
Thanks for help

Thanks for the inputs.
Unfortunatly there is still the issue about the timing.
If I use ".value" I get the right value from the Slider from the parent but it will be executed based on the time of the parent comp. Which means the subcomp copies the time to its own "time-dimension".
For example: If I have the checkbox control(in the maincomp) on 0 until frame10 and if I key it to 1 on frame11, the opacity of the layer(in the subcomp )is going to change on frame11 within the subcomp.
If subcomp starts lets say on f5 in the maincomp the actual script would be executed on frame16 instead of 11. Therefore I need some additional techniques to let the magic happen when the checkbox-control is actually keyed. 
100*control.effect(1).param("Checkbox").value
The following pic should demonstrate it:
a) Checkbox is keyed to 0 and should hide a layer in the subcomp at that time
b) Currently the layers opacity is set to 0 here.

Similar Messages

  • How can I know which clients are connected to my network through express and which are connected through extreme?

    I have an airport express extending, through wireless, a network provided by an airport extreme. How can I know which clients are connected to my network through express and which are connected through extreme?
    Here you can see both routers:
    I would expect to some clients connected to the express, other than the extreme. And that's all I see: only the airport extreme appears as client of the airport express.
    Below, one can see the summary of the config for both routers.
    Would somebody explain it?
    Thanks,
    Marcelo
    Message was edited by: Marcelão

    please disregard this answer.
    Message was edited by: Marcelão

  • PDF file size grows with each save if .access property set on a field

    We are seeing an odd form behavior and have isolated the apparent trigger to something we are doing in the form script.  I'm hoping someone can confirm they see the same problem, details follow:
    We have a form generated in LiveCycle.  It contains a text field.  In the docReady event for that field we have javascript which sets the field to be readOnly (TextField1.access = "readOnly").  We reader extend the form so we can save it from reader and/or the plug-in/control which is used by a browser when reading PDFs.
    With that simple form, open the form via the browser (we've tested with both IE and Chrome) and without doing anything else, just save the form (with a new name).  When we do that, the saved copy of the form is significantly bigger than the copy we started with.  If we then repeat the process using the newly saved file, the third copy is bigger than the second.
    This file growth does not happen if you open the file in Adobe Reader (instead of in the browser).
    When we look at the file contents via a text editor, what we have found is that each save via the browser is tacking on a chunk of data to the end of the file AFTER the %%EOF mark.  This new section appears to be one or more object definitions and ends with another %%EOF.  The first portion of the file (prior to the first %%EOF) is identical in all versions of the file.
    If you take a copy of the file that has these extra section added, then open and save it in Adobe Reader, it eliminates those extra sections and you get a 'clean', small version of the file again.  So those extra sections are clearly erroneous and unnecessary.
    Another thing worth noting, we took the script for setting the field access property out of the docReady event and put it as the click event on a button added to the form.  If you then open the form, press the button and save it you see the file growth (but not if you don't press the button.)  So it doesn't appear related to the docReady event, or timing of when we set the access property of the field.
    On the small test form described above the growth of the file is around 13KBytes.  But in testing with our real forms we've found that the amount  of growth seems to be tied to the size/complexity of the form and the form data.  In our most complex form with multiple pages with hundreds of fields and a large amount of XML data (form size is 2+MB), we are getting a file size increase of 700KBytes on each save.  This is a therefore, a significant issue for us, particularly since the process in which the form is used requires the users to save it a couple of times a day over the period of a month or more.

    I would start by exporting the XML data from the form before and after it grows to see if it is the underlying data that is growing and where. Did you define a schema and bind your form fields to a data connection created from the schema? That is always my first step when creating a form. It makes for a smaller saved file not including multiple levels of sub forms in the data structure.

  • How to find the size of an arrayList through Expression Builder.

    Hai OTN,
    How to find the size of an arrayList through Expression. I have a managed bean in View Scope.I am using Jdeveloper 11.1.1.2 with ADF Faces components.
    Managed Bean :
    ArrayList<IllnessEmployeesObj> employeeGridList =
    new ArrayList<IllnessEmployeesObj>();
    JSPX :
    Value="#{viewScope.PandIVH.employeeGridList.size}"
    Error : java.lang.NumberFormatException: For input string: "size"

    Hi Dinil,
    I have provided you with a sample that would show you the how you can get the size of an arraylist
    the sample has a page untitled1 and a bean named test.
    I have run in on jdev 11.1.2 and it is ok, it will be ok on 11.1.3
    after running the sample you will see the 2.
    please remember that you must add the JSTL taglib on the viewcontroller.
    just right click on viewcontroller, go to tag lib select the jstl.
    page
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>untitled1</title>
    </head>
    <body>
    <h:form>
    <h:outputText value="#{fn:length(test.a)}"/>
    </h:form>
    </body>
    </html>
    </f:view>
    bean
    import java.util.ArrayList;
    public class Test {
    public Test() {
    a= new ArrayList();
    Object o=new Object();
    a.add(o);
    a.add(o);
    ArrayList a;
    public void setA(ArrayList a) {
    this.a = a;
    public ArrayList getA() {
    return a;
    I hope this sample came handy.
    regards,

  • In onLoad JavaScript, I'm getting "Error: Permission denied to access property 'classes'" when I access Components.classes; how do I enable that permission?

    I need to emulate several ActiveX functions in my client's web application. I have located several Mozilla web pages that describe how to do the things I need, and I have attempted to implement those instructions. However, I can't seem to get past the first line of code. In my web page, I am calling a JavaScript function using the onLoad attribute of the <body> tag. I am using the Navigator object to determine that the browser is Firefox. I then attempt to access the extension classes using the following code on lines 51 and 52 of the Download.js file:
    var C = Components;
    var CC = C.classes;
    The Web Console gives me these two messages:
    [13:51:55.621] The Components object is deprecated. It will soon be removed. @ http://distribution:781/NewDDI/DownLoad.js:51
    [13:51:55.621] Error: Permission denied to access property 'classes' @ http://distribution:781/NewDDI/DownLoad.js:52
    How do I enable adequate permission to be able to access the Components classes?

    I think Components is available only in extensions (or otherwise privileged code) and not in ordinary web pages.

  • Import MS Access 2010 (*.accdb) to SQL Server Express 2014

    Hi,
    I have a SQL Server Express 2014 installed in my laptop and when I trying to import MS Access 2010 (.accdb) database using .net framework ODBC it still looking for a driver. Please help. Thanks!!

    Hi,
    You can use SQL Server Migration Assistant (SSMA) to migrate Access databases to SQL Server.
    Migrating Access Databases to SQL Server/SQL Azure (AccessToSQL)
    http://technet.microsoft.com/en-us/library/hh313051.aspx
    Also, refer to the below thread:
    Issues in Importing Access Database into SQL Server 2014 Express
    http://social.technet.microsoft.com/Forums/en-US/3a40eda6-b609-4855-96e5-f5765acf5059/issues-in-importing-access-database-into-sql-server-2014-express
    Hope it helps
    Tracy Cai
    TechNet Community Support

  • Accessing content in iTunes U through iTunes App on iPod Touch?

    Is there any way to access iTunes U content directly through the iTunes U app on an iPod Touch? Content from the "commercial" section of the iTunes Store can easily be searched and downloaded with an iPod Touch without the need of using iTunes software and syncing with an iPod. But this direct access is obviously not possible from the iTunes U section - even with a direct URL to iTunes U content. Has anyone discovered a solution for this problem?

    Welcome to the discussion forums, Mike.
    I perceive that you do not use iTunes. If you use iTunes, it will back up your content. But, there are free or inexpensive 3rd party software tha will allow you to pull everything off your iPod onto a computer. Searching in this forum will turn up many hits such as
    http://discussions.apple.com/thread.jspa?messageID=9342238&#9342238
    -fred

  • There are certain albums and songs I don't want my children having access to in iTunes Match through their iPod and iPad.  Is there a way to control what songs are visible on different devices?

    There are certain albums and songs I don't want my children having access to in iTunes Match through their iPod and iPad.  Is there a way to control what songs are visible on different devices?

    No.

  • OLE container property in Forms 6i through Designer

    Hi,
    I'm creating forms through Designer. By default the OLE container In place activation property is set to Yes. I want that to be set to No. I don't see any way for property setting of OLE through Designer. Can I use SET_ITEM_PROPERTY built-in? Please let me know!
    Thanks in advance
    Sarma

    When you click a C/S OLE object, it is opened with its default application's owner, no ?
    So if the OLE object is opened by Excel, the extension is .xls.
    In any case you have to open the OLE object with its "mother" application if you want to save it as a file, so there is no problem at all to decide with extension to use.
    If you read this article : http://sheikyerbouti.developpez.com/webutil-docs/Webutil_store_edit_docs.htm you can see that the filename is automatically opened with the corresponding application.
    Francois

  • Can i gain access to iphones file system through wifi?

    Just curious if i Can i gain access to iphones file system through wifi?

    So i can't browse the file system at all?

  • The form readOnly access property is not retained after saving it.

    Hi all,
    I had a form that I created in Acrobat and further added some features using LiveCycle. Pressing a button on the form was making it readOnly.
    By saving it in Acrobat with proper rights, in Reader, I was able to fill the form, make it readOnly and save it.
    This was working fine until I decided to make some modification to it in LiveCycle. I did that and again saved in Acrobat with proper rights.
    Now in Reader, I'm able to fill it, make it readOnly and save it but next time that I open the form in the Reader, it's not readOnly anymore.
    As you see it was possible first and then got broken. I have no clue why the form does not save the readOnly access property.
    It becomes readOnly when I press the button and stays like that until I close it, though.
    Any help would be highly appreciated,
    Cheers,
    Kamil
    Acrobat Pro X
    LiveCycle ES2
    Win XP SP3

    Open the form in Designer, under the File/Form Properties/Defaults menu option make sure the preserve scripting changes radio button is set to Automatic.
    Save the file and try it again.
    Paul

  • HT5610 I am having trouble authorizing my computer to allow me to access songs I have purchased through itunes on my iPad.  The directions say to select the "authorize computer" in the menu but i don't see that anywhere in the iTunes menu.  Any ideas?

    I am having trouble authorizing my computer to allow me to access songs I have purchased through itunes from my ipad.  The directions say to select "authorize this computer" from the menu in itunes but I cannot find that anywhere.  Either I'm not finding the correct menu or it's somewhere else. Any ideas?  Thank you in advance!

    If you're using iTunes 11 click on the box icon in the top-left corner to see the " Show Menu Bar "  
    and from the Menu Bar select Store...
    From the Store menu, choose Authorize This Computer.
    See this Discussion...
    https://discussions.apple.com/thread/4631735?tstart=0

  • I am facing problem while accessing property value when i include a component inside another

    Hi Everyone,
    I am unable to access property value of richtext of a compoent that is included in another compoent.
    I have created a compoentA at following location myProject/components/componentA.
    I then created componentB at this location myProject/components/componentB
    ComponentB contains a design_dialog that has a richtext widget with following properties:-
    xtype=richtext
    name=./description
    titile=productdescription
    I have then included componentB in componentA.jsp using <cq:include path="productdescription" resourceType="myProject/components/componentB" />.
    I have then dropped componentA on a page. In design mode i could see the edit dialog for componentB and on edit I could see the rich text, but when i am trying to access the values entered in richtext inside componentB.jsp i am getting null/default value.
    <%=properties.get("description","Description not present")%>
    Can any one tell me why the property is not accessible on the included component.
    Thanks

    What is the tree structure created for the property of the componentB?
    Can you try the below code in your componentB jsp and check whether you are getting the property value
    Resource resource = slingRequest.getResource();
    String description = ((String) ResourceUtil.getValueMap(resource).get(
                        "./description", String.class));

  • HT204380 I can't access my FaceTime and messages through my iPod touch, I need help please!!!

    I can't access my FaceTime and messages through my iPod touch, I need help please!!!

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    You posted in the iPad forum instead of the iPod forum. To get answers to your question, next time post in the proper forum. See https://discussions.apple.com/index.jspa  I'll request that Apple relocate your post.
     Cheers, Tom

  • I am getting an error "Permission denied to access property '$j' " (firebug) for a customize search on a gaming website

    A gaming wikidot site i help with has a customized search on this page http://www.thetelonproject.com/search-the-site. It works in IE and other browsers I have, and other FF users dont have a issue, its just mine it seems.
    The line that firebug references is this
    >>> parent.parent.$j('iframe.html-block-iframe[src$="/' + id + '"]').height(height + 'px');<<<
    error; Permission denied to access property '$j'
    I dont know if this blocked from an addon or a java setting, the site admin doesn want to change the page cuz it works in his FF. I can paste more code if needed.

    That is an iframe with a src that links to PayPal (Donate):
    */nav:side/html/11507054cca0c8ca485ea28049465ac4f038d001-491762192042853969
    http://thetelonproject.wdfiles.com/local--html/nav%3Aside/11507054cca0c8ca485ea28049465ac4f038d001-491762192042853969/www.thetelonproject.com/
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • Tablet 2 won't upload roaming profile

    Tablet 2, Windows 8 Pro (factory installed), AD domain member, user account with roaming profile. The OS will download my roaming profile when I log in, but refuses to upload it back to the server when I log off. I've installed Windows 8 (Enterprise)

  • Reg: introduction of DTP and Transformation in BI 7.0

    Hi all, I've two questions here one is: 1. what is the purpose of introduction of DTP with NW 7.0 BI 7.0 i know the bcoz of these reasons: >Improved transparency of staging processes across data warehouselayers >Improved performance:Intrinsic paralle

  • [OT] Need Help Tweaking Photos in Photoshop

    Although I know Photoshop fairly well, I am a novice in this general area of tweaking photos ... and could use some help. I have some inferior photos that I would like to do my best to fix up in Photoshop CS2. Many of them somehow turned out quite fa

  • Soon to move to Intel Mac... what is some good documentation....

    What would be good training for a long time Windows user to make the transistion to an Intel Mac? Anything good is acceptable... Web based Books Magazines Training Videos Home Built   Windows XP Pro  

  • How do I fix a problem with Apple Quick Time?

    I had Apple Quick Time installed but uninstalled it by accident. From looking at my profile in Mozilla, I seem to have 7 versions of Quick Time all with the same version number. Should I uninstall all of the versions and start over? I am currently un