Understanding Symbol/Instance hierarchy relationships

Hello
I am looking for some insight into the symbol/instance
hierarchy.
First off what I have done simple enough is create a dynamic
text field and convert it to a symbol.
This symbol has an instance name of "symHeader".
I then dragged an instance of that symbol to the stage and
gave it an instance name of "instHeader".
I was having problems populating it with what seemed like a
logical approach:
symHeader.instHeader.text = "blabla";
with no luck.
In looking at the object list in debug, it occurred to me
that it should be:
instHeader.symHeader.text = "blabla".
This seems sort of backwards in the hierarchy of things.
I figured since instHeader was and instance of symHeader,
symHeader would be the first item listed, then drill down to
instHeader.
Can someone familiar with the symbol/instance hierarchy
explain why this is this way, maybe I need to look at this in a
different way.
Thanks
Scotty

>> I then dragged an instance of that symbol to the
stage and gave it an
>> instance
name of "instHeader".
Then you just want to do: instHeader.text = "blabla";
The first name you gave it - symHeader is just the clips name
in the
library. When you actually take the clip from the library and
place it on
the stage - then you are creating an instance of that clip.
HTH
Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • In symbol instance's .click code, refer to self?

    In the .click code of a symbol instance, how do I refer to self (the symbol instance)?  Surely I don't have to give the name of myself; that would be redundant.  I want non-coding colleagues to be able to replicate the symbol with no particular naming scheme and with no change in the code of each.
    I have many instances on the stage.  Each contains two div's and the second div contains an image called "checkmark_outlined2".  I'm not using timelines, just setting properties in code.
    Pseudo-code of what I want to do is simple:
         when symbol instance receives a click
              set the opacity of my image to 0  // only my image, not those of other instances of the same symbol
              set my overall opacity to 0.5        // same here
    If I understand right, sym in this context still refers to the stage rather than the symbol instance

    Dear bdggr
    i looked your project and i saw you used a very complicated codes for very siimple actions !! and also that much complicating codes will need much more lines and will increasing the size of project ...
    i recreate your project with very simple actions in just 15 Lines, Here is the link : http://www.mediafire.com/?8xbn8r5hted29ax
    Some Notice :
    1 - if you create a symbol in Edge, Do NOT Copy/Paste it, cause it will duplicate that symbol and you cant have access to it seperately, ad any changes to one of them would change all others
    Solution : its better to recreate a new symbol again ( it just take very very very little space like a bit )
    2 - if you using a eclipse inside a Symbol its better to create a Rectangle as Area ( thats what i did in the Project ) and change the opacity to 0, and this Rectangle will work as an mouse area, without it mouse over will find a problem and your action will not work as expect
    if you had any problem, let me know, i will help you
    Zaxist

  • Iterate through a set of scatter graph objects (paths) and replace with Brush or Symbol instances.

    I am trying to write write a script for Adobe Illustrator (AS or JS) which takes a set of objects and one by one replaces them with a brush style applied to a single point (one anchor path) or a symbol instance. Needs to be accurate as it's a graph with 300 'points'.
    Looking for help with the following tasks:
    Selecting all the paths belonging to a particular layer named "Replace". (Even if User input to a dialogue is required I only know how to use layer item numbers)
    How to get the central co-ordinates of a small path that makes a shape like a triangle, square, circle or diamond. Some of the sets are compound paths but they are all symmetrical but for the triangle and I want the centre (X,Y) to assign as properties for the Brush anchor point or Symbol anchor point.
    How to change layers from one layer (containing the set of paths) to a new drawing layer (where script will create the symbols/brush instances)
    What I'm also wondering:
    Would it be best to iterate the sample set and get cords and draw create the new symbol instance (possibly in a new layer and possibly delete the originating path) one by one as it were? Or be best to run through all the points and create a data record of all the co-ordinates then iterate a second time and create all the objects using the co-ordinates for symbol (X,Y) anchor properties
    All I have to work from is the sample Adobe Script that creates a tree symbol the duplicates it around the edges of the page. Not quite there yet :-)
    One of the reasons I'm doing this is that I can then stretch the graph to expose the data and not have to transform each to get the shapes back into shape but mainly because some of the paths are very jaggy and ugly out of the stats program (Excel?!).
    Sample File: link
    Before is like this: After is like this:

    Jaggy like this

  • Is there a way to transform multiple individual «symbol instances» into one «symbol set»?

    I have an artboard filled with «symbol instances» which I'd like to transform into one single «symbol set», in order to use the «symbolism tools».

    merdesigner,
    Are you looking for something like dragging some symbols out and arrange them, then select all and crate a new Symbol out of them?

  • CRMOD - Account Hierarchy (Relationship)

    All ,
    I am evaluating CRMOD - Account Hierarchy (Relationship) and I am having a few issue to identify the best practices to import and map the data according to the below scenario. I am not sure, if I am to use Portfolio Accounts / Books , PRM or just a Parent and Child Account relationship. Can someone provide guidance in regards to this requirement?
    Scenario 1:
    Parent Account (Distributor 1) has a 1:M Child Account(Partner 1) to which will have 1:M Sub Child Account(Customer 1)
    Scenario 2:
    Parent Account (Distributor 2) has a Child Account (Partner 2) to which will have Sub Child Account(Customer 1-same as the above)
    Regards ,
    Patrick

    To create a parent child relationship in Accounts:
    You create the account and then create the Sub-accounts accordingly. When you create the sub-account (b) to an account (a) the account b will have its parent account name defaulted with value of the parent account (a)
    To import using import wizard:
    1. Load all parent accounts with an External Unique Id
    2. Then load the sub-accounts with External Unique Id and The parent account External Id (which is specified in step 1)
    eg
    parent account import
    Account Name, Ext Id
    ABC, 123
    Sub-account import
    Account Name, ext id, par account extid
    def, 789, 123
    ghi, 901, 123
    Once you complete loading you can see parent account abc has 2 child accounts def and ghi - hope this helps

  • Problems editing a symbol instance

    i'm trying to change the color of a graphic symbol instance, several times across the movie clip timeline. (the symbol is also rotating across the timeline.) for each keyframe, when i double-click on the graphic symbol, break apart and then change the color in the properties panel, then go back to the movieclip timeline, ALL the keyframes with that symbol has changed colors and not just the one instance on the keyframe that i'm on. i can't seem to figure this one out!
    thanks for your help.

    here's what the "flash cs4 help" pdf says:
    Break apart an instance symbol
    To break the link between an instance and a symbol and make the instance into a collection of ungrouped shapes and lines, you break apart the instance. This feature is useful for changing the instance substantially without affecting any other instance. If you modify the source symbol after breaking apart the instance, the instance is not updated with the changes.
    1Select the instance on the Stage.
    2Select Modify > Break Apart. This action breaks the instance into its component graphic elements.
    3To modify these elements, use the painting and drawing tools.
    i can't break apart the symbol instance on the parent timeline, because "break apart" is greyed out.

  • Creating Symbol Instances containing a dynamically set image - Help Needed

    I'm working on a site prototype that has many rollover images in the navigation. Each image is unique, but the rollover and rollout code is identical. I'm trying to create a single symbol that can be used for all of the rollovers, but need some help figuring this out, as it will significantly speed up my work.
    I think the pseudocode would work like this:
    Create a symbol that contains a default rollover image.
    In the symbol, add the rollover and rollout code. This adjusts transparency from 0 -> 100 and back.
    Create instances of the symbol over each item in the nav.
    For each instance, set a variable containing the name of the rollover image to be used.
    In that symbol instance, get the variable value.
    In that symbol instance, use the image name in the variable to replace the default image.
    Question: How do I make step 4-6 work? I have 1-3 working smoothly.P.S. My last dev work was waaaaay back with Director, PHP and ColdFusion. I still get basic principles such as using functions, objects, instances, inheritance etc, but the language has changed. And I have very very little experience with the DOM.
    Appendix: How I'm Doing This Manually
    There's a background image of the nav showing all of the unselected states
    Each item in the nav has a corresponding rollover image, in a series of elements layered on top of nav element. Each rollover has opacity initially set to 0%.
    Each image element has rollover, rollout and click triggers. Rollover and rollout triggers are identical for each. There's also a little more code with rollout that provides a quick fade. This means lots of copying identical code. I hate to think about having to change any part of that code.
    Thanks! Chassy

    Hi there,
    Perhaps a more simple solution would be to set up 1 global function that handles over/out states for all your buttons. On mouseenter/mouseleave of each button you would call this function to fade in/out your rollover graphic.
    Example:
    http://www.timjaramillo.com/code/edge/rollover4_multiple_btns
    Source:
    http://www.timjaramillo.com/code/edge/_source/rollover4_multiple_btns.zip
    Code on Stage.compositionReady (note there are btn symbols called btn_1, btn_2, btn_3, and all have an over state called "over" in them):
    var array_btns = ["btn_1", "btn_2", "btn_3"];// array to hold all your btns
    function setup_btns()
              // iterate through array_btns, add "mouseenter" and "mouseleave" for all
              for (var i=0; i<array_btns.length; i++){
                        // hide "over" state initially
                        sym.getSymbol( array_btns[i] ).$("over").hide();
                        sym.$( array_btns[i] ).mouseenter({obj:array_btns[i]}, function(e){
                                  var btn = e.data.obj;
                                  sym.getSymbol(btn).$("over").fadeIn(500);// show "over" graphic
                        sym.$( array_btns[i] ).mouseleave({obj:array_btns[i]}, function(e){
                                  var btn = e.data.obj;
                                  sym.getSymbol(btn).$("over").fadeOut(200);// hide "over" graphic
    setup_btns();

  • Resizing symbol instance messes up pixel grid alignment

    Sometimes when I drag a new symbol instance to my artboard and resize it, the instance looses it alignement with the pixel grid.
    This happens despite the fact that...
    I checked the box for pixel grid alignement when I created the document
    the symbol option is set for align to pixel grid
    the original shape in the symbol is aligned to pixel grind
    the original shape has the align to pixel grid check box in the transform panel checked
    So why when I resize the symbol instance does it break the pixel grid alignmnet and result in a blurred 1px stroke?

    From you description it seems everything is normal in AI land - for symbols, the decisive factor is still the registration point. If it is off even by a nanometer, AI will resample and that can ahppen with pixel grid on just as well. Of course there may be specific extra conditions in your documents that intensify the problem...
    Mylenium

  • Simple question, make symbol/instance "transperent"

    Hi guys.
    My problem is quite simple but I havent found a way to solve it yet. I want to make my symbol/instances (dont know the difference) transperent. And, when I have a button, I want only the button itself to be clickable not a bit of the white space around.
    When I draw something directly in Flash it seems to work fine just as I want it, but I work in paint for the moment and will be using Photoshop too, so then I cant use just Flash's tools.
    //Sebastian

    When using Photoshop, for example, save your transparent image as a .psd and import it into Flash. I've never had success with copy/paste into flash for transparent images.
    Now as far as clickable areas go, if you're using a transparent bitmap for a button skin -- and it has transparent areas you don't want clicked, you can create a mask within flash to 'hide' the transparent areas.
    HTH,
    -Ted

  • Symbols: Instance Vector Contents Should Be Snap-able

    As per this discussion thread:
    http://forums.adobe.com/message/2600619#2600619
    Vector art (i.e. paths and nodes) within an instance should be able to snap to other objects and to guides.
    Requested on the basis that any vector that can be seen must be able to be accurately positioned.
    Thank you,
    Hf

    That's what a symbol is a link to an original. It is not an independent copy unless you break the link to the symbol.
    So if you want them to be independent objects or art after you plc the instance break the link there is an icon at the bottom of the symbols panel for this purpose.
    You can double click a symbol instance with the selection tool nd it will allow you to edit the symbols content but once you leave isolation mode all the symbols will change.
    The way the alignment work is correct behavior as far as I can see.

  • XI Instance Strategy - relationship to R/3

    I am told that as soon as we start to use ABAP proxies between R/3 and XI, we can only have a single XI instance talking with that R/3.  Can someone confirm this and explain why?  My concern is that we have a number of potential systems that have a long-lived process relationship with R/3 and I do not want to have them drive my message storage on XI. 
    Also, what are the issues we need to consider when interfacing across many R/3 environments, as well as non-SAP ones, as far as number of instances of XI to have?

    I'll only reply to your first question as I am not entirely sure what you mean with the others (feel free to elaborate).
    Yes, an R/3 system (client) can only communicate with a single XI instance using proxies. I won't attempt to guess the reasoning behind this, but it is caused by the way things are configured in the SLD. Any given business system is associated in the SLD with exactly one XI instance (through the "related integration server" field). This information is used by the proxy framework <i>at runtime</i> to determine which XI server to send messages to.
    Regards,
    Thorsten

  • Pass symbol instance name to variable

    Hi all,
    I'm trying to figure out how to pass the instance name (ID) of a clicked object to a variable so I can navigate to a label on the timeline with the same name.
    So far I've tried different variations of:
    sym.getSymbol() //logs as "undefined"
    sym.getSymbolTypeName // logs the symbol name in the library, not the instance
    Any ideas?
    Thanks
    -Dave

    Sweet!
    That worked - Thanks! I ended up combining both your suggestions. on the button symbol i have
    sym.getComposition().getStage().onClick(e.target.id);
    and then after compositionReady I added a function to split out the second name and logged it to test;
    sym.onClick = function(targetId){
              var names = targetId.split("_");
              console.log(names[1]);
    Works perfectly! - Although it would be nice if the EA team could fix that functionality in future releases so e.target.id gives you just the id for the selected symbol. I would think if you can write something like getSymbol("mySymbol") it should be just as easy to get that name without all the extra (Stage...etc)
    Thanks again!
    -David

  • Return value of inferred entity instance from relationship in SOAP Determinations

    Hey,
    I had an original thread open which indicates the problem I was trying to solve (Multiple Conclusion based on input values ). My rule base now behaves as expected and I can test it in the debugger as expected, only now I can't get the actual identifying values back I want using the determinations web service.
    I get a whole bunch of inferred entity instances back from an inferred relationship the same as the situation/screen shot at the bottom of the "Investigate an inferred relationship" page on the Oracle Policy Automation Cloud Service User Guide, but in my SOAP response I only get the instances with hashed IDs. I want the actual identifying value of the entity.
    e.g. Currently get this:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.w3.org/2005/09/ws-i18n" xmlns:typ="http://oracle.com/determinations/server/11.0/rulebase/assess/types">
       <SOAP-ENV:Header>
          <i18n:international>
             <i18n:locale>en_GB</i18n:locale>
             <i18n:tz>GMT-0500</i18n:tz>
          </i18n:international>
       </SOAP-ENV:Header>
       <SOAP-ENV:Body>
          <typ:assess-response>
             <typ:global-instance>
                <typ:attribute id="course_code" type="text">
                   <typ:text-val>AHPY</typ:text-val>
                </typ:attribute>
                <typ:entity id="the_supplementary_documents" inferred="true">
                   <typ:instance id="0x608c2dc220e15d8c"></typ:instance>
                   <typ:instance id="0x5b7e2d02e8780325"></typ:instance>
                </typ:entity>
                <typ:entity id="the_informational_documents" inferred="true">
                   <typ:instance id="0x19387621439a43c7"></typ:instance>
                </typ:entity>
             </typ:global-instance>
          </typ:assess-response>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    But I want something like below and I'm having a lot of trouble figuring out how to actually do this. Also is there anywhere that defines the meaning of errors you get from OPA? I have tried to modify my rulebase and I got a few OPA-EXXXXX errors but apart from the description you get in OPM, I can't find anywhere that gives more detail on these and explains what they mean/how to fix it.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.w3.org/2005/09/ws-i18n" xmlns:typ="http://oracle.com/determinations/server/11.0/rulebase/assess/types">
       <SOAP-ENV:Header>
          <i18n:international>
             <i18n:locale>en_GB</i18n:locale>
             <i18n:tz>GMT-0500</i18n:tz>
          </i18n:international>
       </SOAP-ENV:Header>
       <SOAP-ENV:Body>
          <typ:assess-response>
             <typ:global-instance>
                <typ:attribute id="course_code" type="text">
                   <typ:text-val>AHPY</typ:text-val>
                </typ:attribute>
                <typ:entity id="the_supplementary_documents" inferred="true">
                   <typ:instance id="http://mydomain.com/mydocument.pdf">
                   </typ:instance>
                   <typ:instance id="http://mydomain.com/mydocument.pdf"></typ:instance>
                </typ:entity>
                <typ:entity id="the_informational_documents" inferred="true">
                   <typ:instance id="http://mydomain.com/mydocument.pdf"></typ:instance>
                </typ:entity>
             </typ:global-instance>
          </typ:assess-response>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    I managed to get this working by referring to this thread: Inferred Entity Instances IDs in output response
    I had tried something similar but not quite the same. In the end my request looked something like this:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://oracle.com/determinations/server/11.0/rulebase/assess/types">
       <soapenv:Header/>
       <soapenv:Body>
          <typ:assess-request>
             <typ:config>
               <typ:outcome>
              <typ:entity id="the_supplementary_documents">
                <typ:attribute-outcome id="supplementary_documents" outcome-style="value-only"/>
              </typ:entity>
              <typ:entity id="the_informational_documents">
                <typ:attribute-outcome id="informational_documents" outcome-style="value-only"/>
              </typ:entity>
           </typ:outcome>
             </typ:config>
             <typ:global-instance>
                <typ:attribute id="course_code">
                <typ:text-val>AHPY</typ:text-val>
       </typ:attribute>
              </typ:global-instance>
          </typ:assess-request>
       </soapenv:Body>
    </soapenv:Envelope>

  • BindTriggerAction To A Symbol Instance?

    I have a symbol (digit) that has it's own timeline
    I can dynamicaly put a stop on it's timeline like this in compositionReady
         Symbol.bindTriggerAction( compId, "digit", "Default Timeline", 1500, function(sym, e) {
              sym.stop();
    But I would like to just put the stop on one instance of the symbol on the stage
    This does not work
         Symbol.bindTriggerAction( compId, "InstanceNameHere", "Default Timeline", 1500, function(sym, e) {
              sym.stop();
    Any ideas if it is possible?
    And is it possible to dynamicaly remove/undo a bindTriggerAction?

    The digit is a symbol
    But I have multiple instances of that on my stage
    And I want to be able to add & remove a stop dynamically to only one instance
    project here
    http://awesomedigital.com/Numbers.zip
    Background-----------------------
    All of the digits make number that will change several times from an external call
    I want each of the digits to individually scroll to the new number on each change
    Ideally if there were a playToAndStop command I would love that
    But since there is not, my hack idea #422 is to
              Stick a stop on the digit timeline (instance) and the play or play in reverse
              Then remove the stop since it will be a differnt number to stop at next time

  • Moving symbol instances with actionscript

    I'm just looking for a primer of sorts... I want a symbol to
    slide around on the stage when various buttons are clicked.
    I know how to set new _x and _y values for it, but that will
    just make the instance jump across the stage. I want it to slide -
    even ease out of the slide as it ends it's motion... I know this
    can be done, but have no idea where to start looking in regards to
    "how".
    Thanks for you help - which can come in the form of a
    tutorial, tips, snippets of code, etc.
    later - Chris

    Well Sim-Enzo is almost correct. You will have some problems
    though because it is not really complete.
    When you want to do things over time (move, fade, scale,
    etc.) with actionscript you have two main choices –
    onEnterFrame and setInterval. For the example given by Sim-Enzo I
    would rewrite it like this:
    myImageClip.onEnterFrlame=function(){
    if(this._y>-100){
    this._y-=10;
    }else{
    delete this.onEnterFrame;
    this._y=-100
    Here are why I would make these changes.
    First the onEnterFrame is poorly named and confuses a lot of
    folks. So remember onEnterFrame means "do this next bit of code at
    the frame rate of the movie – even if the timeline is stopped
    or there is only one frame."
    Next. Each movie clip instance can only have one onEnterFrame
    handler defined for it. So it is a good idea to assign each one to
    an appropriate clip to avoid problems. By attaching this one to the
    clip you want to move, myImageClip, you will also be able to assign
    other ones to other clips and do whatever they need to do.
    Then inside the event handler, notice how I refer to the clip
    by "this" since the onEnterFrame is scoped to the myImageClip.
    Finally, and this is probably most important, I have added an
    else to the conditional. This makes sure that once your clip has
    move to where it is supposed to go that the onEnterFrame is
    stopped. Otherwise the onEnterFrame would just keep going –
    it wouldn't move the clip anymore, but it would be using up
    processor time. One errant onEnterFrame like this wouldn't probably
    bring down your swf, but if you didn't do it with many different
    ones you would notice.
    I also added a little bit there which put the clip exactly at
    the place I wanted. There are times in Flash where rounding errors
    or other issues can make for surprises. I think it is good practice
    to set the value to the exact required value.

Maybe you are looking for

  • EOF in internal table

    as I can know when it is the EOF in an internal table Thanks

  • Why does my ical entries change to light blue?

    It started a few days ago. When i change the color, it always changes back to light blue, instantly.

  • Udev Mounting - DBus error RemoteVolumeMonitor.Failed

    Hello. I have been using thunar-git for a while and every time a mount an external media (cd/dvd, flash memory, etc....) I get this error: "DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending." The drive mounts and

  • OBIEE not displaying images for Dashboards of one subject area

    Hi All, I have 5 subject areas and lot of dashboards created for all of them. For dashboards of one subject area, OBIEE is not displaying images but it is working fine for dashboards of other subject areas. Does anyone has any idea about this issue.

  • Driving table....

    hi , what is a driving table when we talk about sql execution?if possible please explain with some exaMPLE. thanks and regards, Aman....