How can I access nested symbol details such as offset and name dynamically

Hey friendly Edge Animate experts!
I'm very new to Edge Animate, and appear to have run into some startup problems that I am unable to find a good way around.
I have setup a small demo project with several levels, and am trying to get details from symbols on 2nd or 3rd level dynamically with little luck.
To test that I fetch the correct details, and have the pathing correct, I have added a text option in each symbol.
I can access and alter the value of the text fields - but I can't access the symbol data such as offset, position, ID, name etc.
For simplicity, imagine a project with a symbol "FirstLevel" that has a symbol "SecondLevel" inside it.
"SecondLevel" has three symbols that each have 2 text layers FirstTextField and SecondTextField  in addition to a symbol that has a png image.
My code:
// Get all the 3rd level symbols that I want to get details on (works perfectly)
var childSymbols = sym.getComposition().getStage().getSymbol("FirstLevel").getSymbol("SecondLevel").getChild Symbols();
// Loop through all the children (works perfectly)
for(var i=0; i<childSymbols.length; i++){
// Add the looping counter to a text field just to test if all is ok (works perfectly)
   childSymbols[i].$("FirstTextField").html(""+i)
So... I can access the symbols, change a text without problems.
Now i would like to get the symbol details such as offset().left or position().top
and add that info to SecondTextField and I just can crack that nut!!!
  childSymbols[i].$("SecondTextField").html(""+childSymbols[i].position().left); // not working
  childSymbols[i].$("SecondTextField").html("TEST VALUE"); // working, TEST VALUE is shown
// Not working
var ChildPos = sym.getSymbol(childSymbols[i]).position();
childSymbols[i].$("SecondTextField").html(""+ChildPos.left);
// Not working
  childSymbols[i].$("SecondTextField").html(""+getVariable(childSymbols[i]).position().left ));
I have tried this and that for hours and hours
I feel that i have searched high and low
I must have tried all the wrong options
But I'm still looking for the one correct way to do thi...
Any help, tips, tricks or read-up directions would be much apreciated.

Hey Darrell,
Thank you very much for taking the time to look into this.
I have uploaded a simplified version (without any png files) at:
http://www.lokehansen.com/blog/wp-content/uploads/2012/12/helpwanted.zip
Best wishes
Loke Krongaard Hansen

Similar Messages

  • HT204053 We both use the same iPad my father and I as of today, because I am using it too from now on, but each time the ID & Password pops up it ask for his, how can I access mine, so it's my account and financials being used. Thanks to any of those gift

    We both use the same iPad my father and I as of today, as is letting me use it too from now on (sweet! ), I do not want to make a mistake and accidently use my father's ID & passwords (dohh ), but each time the ID & Password pops up it ask for his (???), how can I access mine, so it's my account and financials being used. Thanks to any of those gifted with this knowlegde... AMAKANGAROO

    In order to reliably save the info and be able to restore at a later date, you would need to use his AppleID.
    Switch to it on iTunes, back the iPad up and confirm the backup exists (Preferences / Devices), then switch to yours, wipe the iPad and start afresh. Will also wipe his apps, as they are tied to the AppleID as well.

  • How can I access full Exchange email features on iOS and android?

    I currently use a virtual exchange server (2010) in conjunction with outlook 2007. I have several distribution groups set up so I can send from different email addresses through a single exchange server mailbox. This works fine on windows pcs. Unfortunately
    I have not found a way of accessing this full exchange functionality on either my android phone or my iPad. Neither the stock mail apps nor any third party mail apps I have tried support the use of distribution group From fields. Worse, the Outlook Web App
    that is fully featured on my windows pcs (where I don't need it) for some reason becomes a light version when accessed on an iPad air or android phone. The light version does not support From fields at all, whether distribution group based or not. I have tried
    using safari and dolphin and OWA always defaults to and won't let me change from the feature crippled light version.
    Does anyone have any ideas as to how I can access Exchange's changeable From fields on iPad or Android phone?

    Hi Lucio,
    I found a solution eventually but it is not very elegant. You need to use an iPad web browser that can fool the Exchange server's web interface into believing it is a desktop browser not a tablet browser! Unticking the "use light version" checkbox
    does not work on Safari and all other mainstream browsers I have tried despite what Microsoft claims on its help pages - it will always force the reduced features version on you. There are a few iPad browsers that allow you to select desktop emulation. I use
    one with the bizarre name of KissMyAgent and in desktop mode I can load the full version of OWA although it is not a smooth user experience.
    As for dedicated mail apps, I looked at all the free ones and they didn't as at Feb 2014 and also emailed all the developers of the premium ones and they all confirmed they didn't either. If anyone knows of any dedicated mail apps that support the full Exchange
    features (see my OP), please let us know!

  • How can I Access the Flash "Slide class" using flex and ActionScript 3?

    Hi,
    I hope someone can help me solve a problem...
    I'm using the flex SwfLoader to load a flash side
    presentation as follows...
    <mx:SWFLoader id="ss_slides" source="ss_slides.swf"
    width="320" height="240"/>
    I would like to access the flash "Slide Class" using flex so
    I can make the following call...
    Slide.gotoNextSlide();
    Anyone know how I can do that?
    Would it be through the SwfLoader Object?
    Is there another way?
    F.Y.I. Here is a snippets about the Slide class from the
    Flash 8 help...
    Using the Slide class (Flash Professional only)
    You use the methods and properties of the Slide class to
    control slide
    presentations you create using the Screen Outline pane for a
    Flash Slide
    Presentation, to get information about a slide presentation
    (for example, to
    determine the number of child slides contained by parent
    slide), or to navigate
    between slides in a slide presentation (for example, to
    create "Next slide" and
    "Previous slide" buttons).
    You can also use the built-in behaviors that are available
    in the Behaviors
    panel to control slide presentations. For more information,
    see Adding controls
    to screens using behaviors (Flash Professional only) in Using
    Flash.
    Thanks,
    Chris S.

    Hi Chris,
    You cannot access the methods of the Flash 8 movie from Flex.
    And you can't do it the other way around either.
    The only way to communicate is to create a LocalConnection on
    each side.
    M.

  • How can I access another class in a MembershipRule's Expression

    Hello,
    I want to create an InstanceGroup using Module Microsoft.SystemCenter.GroupPopulator.
    I need to collect all Logical Disks which contain an MS SQL DB Log File.
    I would start as follows:
    <DataSource ID="DS" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
      <RuleId>$MPElement$</RuleId>
      <GroupInstanceId>$Target/Id$</GroupInstanceId>
      <MembershipRules>
        <MembershipRule>
          <MonitoringClass>$MPElement[Name="Windows!Microsoft.Windows.LogicalDisk"]$</MonitoringClass>
          <RelationshipClass>$MPElement[Name="MSIL!Microsoft.SystemCenter.InstanceGroupContainsEntities"]$</RelationshipClass>     
    <Expression>
            <And>
      <!--
       First Expression
      -->
              <Expression>
                <SimpleExpression>
                  <ValueExpression>
                    <Property>$MPElement[Name="Windows!Microsoft.Windows.LogicalDevice"]/Name$</Property>
                  </ValueExpression>
                  <Operator>Equal</Operator>
                  <ValueExpression>
      <!--
        How can I access another class's properties ? 
      -->
                    <GenericProperty>$MPElement[Name="SQL!Microsoft.SQLServer.2008.DBLogFile"]/Drive$</GenericProperty>
                  </ValueExpression>
                </SimpleExpression>
              </Expression>
              <Expression>
                <SimpleExpression>
                  <ValueExpression>
                    <HostProperty>
                      <MonitoringClass>$MPElement[Name="Windows!Microsoft.Windows.Computer"]</MonitoringClass>
                      <Property>PrincipalName</Property>
                    </HostProperty>
                  </ValueExpression>
                  <Operator>Equal</Operator>
                  <ValueExpression>
                    <GenericProperty>$MPElement[Name="SQL!Microsoft.SQLServer.2008.DBLogFile"]/Drive$</GenericProperty>
                  </ValueExpression>
                </SimpleExpression>
              </Expression>
            </And>
          </Expression>
        </MembershipRule>
      </MembershipRules>
    </DataSource>
    In the first expression you "see" my question:
    I want to compare the LogicalDisk's Name Property with the DB Log File's Drive property.
    But how can I access the DB Log File's Drive property in this MembershipRule ?
    Furthermore LogicalDisk and DB Log File must be hosted on the same Windows Computer.
    Would be great if somebody could help.
    Thanks
    Sebastian

    Hi Niki,
    thanks for the idea, but that will not work. $Target/Id$ refers always to the group to be discovered.
    On last week end I was given following idea, hope it will work:
    Step 1
    Collect all the DB SQL Logfile Objects and write computername (PrincipalName?) and Driveletter into a textfile, line by line. Shouldn't be a problem, PowerShell is your friend.
    Step 2
    Read the file from Step 1, build discovery data for each disk drive as object of class "Logical Disk (Server)",
    and then discover the containment-relationships from those Logical Drive(Server) Objects to the InstanceGroup.
    Perhaps I must do it for the OS-Version related Disks, because I need the target classes  of the Logical Disk Freespace monitors. Some more work. "Risks": I donot know the discovery algorithm for the Logical Disk(Server) Objects, but a "deep
    dive" into the MPs should help.
    Thanks to all, who have read.
    I will inform you about progress and success
    sebastian

  • How can I access BBC iPlayer, Itv Player, 4OD and other television on demand services in he UK on my new AppleTV?

    How can I access BBC i player, ITV player, 4OD and other on demand catch-up services in the UK using my new Apple TV?

    You can't directly, you can watch them via AirPlay from your iOS device or Mac Computer though.
    If you have any suggestions that you think might enhance the Apple TV you can send Apple your feedback here

  • HT4910 I PURCHASED AN AUDIOBOOK FROM MY IPAD, HOW CAN I ACCESS FROM MY IPHONE AND SAVE IT TO IT

    I PURCHASED AUDIOBOOKS FROM MY IPAD2, I ALSO HAVE I CLOUD ACCOUNT WITH 15 GB STORAGE. I ALREADY BACK UP MY IPAD TO ICLOUD.
    HOW CAN I ACCESS MY AUDIOBOOK FROM MI IPHONE 4S AND STORE SOME OF THESE IBOOKS ON IT?

    Welcome to the Apple Community.
    Audiobooks are not currently part of the content that can be re-downloaded. You should sync your audiobooks to other devices via iTunes on your computer.
    You can re-download content purchased from the iBook store (availability varies depending on location) using the purchased option at the bottom of the screen after you tap the store button in the top corner of the iBook app on your iOS device.

  • How can i access appstore on new ipad air without putting credit card details on my already existed apple id.

    Hi
    I made my apple id for my new 1st apple ipad air from my hp laptop. when i want to access appstore to download some free apps it is asking to review my details for credit card and i dont have that.
    I know that we can make new account from ipad/appstore without putting down payment details but how can i access appstore without putting credit card details on my already existed apple id.?

    You can create an iTune and App Store account without credit card
    1. Sign out of current Apple ID if you are sign-in to one (important)
    2. Go to App Store and select a free app
    3. Tap INSTALL APP
    4. Create New Apple ID
    5. Confirm Your Country
    6. Agree with Terms and Conditions
    7. Fill in your Apple ID and Password (you must create a new Apple ID; don't use your old Apple ID)
    8. Create and answer your secret question
    9. Select NONE for Payment Method
    10. Fill in Billing Address
    11. Submit application for new Apple ID
    12. Wait for verification email
    13. When email arrive, verify your account
    14. Start downloading your free apps

  • How can I access my iCloud account from my computer, when I'm running OSX Leopard?

    I have a Mac Book running Leopard and I don't have the iCloud icon in my settings.. How can I access my iCloud account/back up my computer to the cloud?

    Your signature says you have 10.6.8 which is Snow Leopard, but that is still not compatible with iCloud. You cannot back up your computer to iCloud in any case - it doesn't provide for that, only for iOS backups.
    The minimum requirement for iCloud is Lion 10.7.5 (Mountain Lion preferred): the iCloud Preference Pane does not appear on earlier systems - the MobileMe pane appears on Lion and earlier but is non non-functional - you cannot now open or access a MobileMe account.
    If you have already set up an iCloud account on another Mac or device you can make limited use of it with Snow Leopard - details here.
    To make full use of iCloud you will have to upgrade your Mac to Lion or Mountain Lion, provided it meets the requirements.
    The requirements for Lion are:
    Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of memory
    OS X v10.6.6 or later (v10.6.8 recommended)
    7GB of available space
    To purchase it you will have to ring Apple at the number given at the bottom left of this page.
    The requirements for Mountain Lion are:
    OS X v10.6.8 or later
    2GB of memory
    8GB of available space
    and the supported models are:
    iMac (Mid 2007 or newer)
    MacBook (Late 2008 Aluminum, or Early 2009 or newer)
    MacBook Pro (Mid/Late 2007 or newer)
    Xserve (Early 2009)
    MacBook Air (Late 2008 or newer)
    Mac mini (Early 2009 or newer)
    Mac Pro (Early 2008 or newer)
    It is available from the Mac App Store (in Applications).
    You should be aware that PPC programs (such as AppleWorks) will not run on Lion or above; and some other applications may not be compatible - there is a useful compatibility checklist at http://roaringapps.com/apps:table
    (If in fact you are running Leopard and it is an Intel Mac you will have to upgrade to Snow Leopard to access the Mac App Store - it's available in the online Apple Store. However if you have a PPC Mac you cannot run Snow Leopard and cannot proceed further.)

  • How can I access 2different email accounts?

    How can I access 2 different email accounts. I thought when I selected mail it would give me list of email accounts. Am I doing something wrong? Please help...

    Have you set up both accounts in the Mail settings? If so, then you should be getting mail from both accounts.
    I'm not sure what you're expecting to see by a "list". As of iOS 4.x on the iPad, all mail appears in a single Inbox, so you won't see two different accounts as such, if that's what you were expecting.
    If that doesn't answer your question, please post back with more details as to the problem you're experiencing.
    Regards.

  • How can I access the Attribute Values from the Search Region

    Hi all,
    I have a table which contains Company id, department id, and PositonId. For a particular Company and Department there may be multiple records.
    I have to pupulate a table which contains the position and other details that comes under a particular Department and Position based on the selection in the Three comboBoxes.
    Also I have to populate a select many Shuttle to add new postions and records under a particular Department.
    I created a query panel *(Search Region)* for the serch and a table to display the data. That is working fine.
    Now the issue is I am using a view criteria to populate the shuttle with two bind variables ie, DepartmentId and CompanyId.
    If the serach will return a resuktant set in the table it will also pupulate the correct records, otherwise ie, if the if the serch result is empty the corresponding iterator and the attribute is setting as null.
    SO I want to access the attribute values from the Search Region itsef to populate the shuttle.
    I don't know how can I access the data from the Search Region.
    Please Help.
    Regards,
    Ranjith

    you could access the parameters entered in search region by the user as follows:
    You can get handle to the value entered by the user using queryListener method in af:query.
    You can intercept the values entered as described
    public void onQueryList(QueryEvent queryEvent) {
    // The generated QueryListener replaced by this method
    //#{bindings.ImplicitViewCriteriaQuery.processQuery}
    QueryDescriptor qdes = queryEvent.getDescriptor();
    //get the name of the QueryCriteria
    System.out.println("NAME "+qdes.getName());
    List<Criterion> searchList = qdes.getConjunctionCriterion().getCriterionList();
    for ( Criterion c : searchList) {
    if (c instanceof AttributeCriterion ) {
    AttributeCriterion a = (AttributeCriterion) c;
    a.getValues();
    for ( Object o : a.getValues()){
    System.out.println(o.toString());
    //call default Query Event
    invokeQueryEventMethodExpression("#{bindings.ImplicitViewCriteriaQuery.processQuery}",queryEvent);
    public void onQueryTable(QueryEvent queryEvent) {
    // The generated QueryListener replaced by this method
    //#{bindings.ImplicitViewCriteriaQuery.processQuery}
    QueryDescriptor qdes = queryEvent.getDescriptor();
    //get the name of the QueryCriteria
    System.out.println("NAME "+qdes.getName());
    invokeQueryEventMethodExpression("#{bindings.ImplicitViewCriteriaQuery.processQuery}",queryEvent);
    private void invokeQueryEventMethodExpression(String expression, QueryEvent queryEvent){
    FacesContext fctx = FacesContext.getCurrentInstance();
    ELContext elctx = fctx.getELContext();
    ExpressionFactory efactory = fctx.getApplication().getExpressionFactory();
    MethodExpression me = efactory.createMethodExpression(elctx,expression, Object.class, new Class[]{QueryEvent.class});
    me.invoke(elctx, new Object[]{queryEvent});
    Thanks,
    Navaneeth

  • How can I access my iPhone 5 videos that I record?

    I took a couple of videos, including one long video (about 30 minutes) to test the quality and it was wonderful! The problem is that I can't do anything with them. They are (obviously) too large to send to people via things like email. I tried connecting it to my computer via usb to put the files onto my computer (my preferred method of dealing with files) but the video files were not there at all.
    From my computer, there was really only one available path of folders and it took me to my camera roll where I could transfer/copy/save all my photos to my pc (which is great because I have taken many nice pictures). The videos, which were also stored on my phones camera roll were not visible in the folder at all (though the folder properties indicated it was 5GB large as if to say it did have the videos).
    So my question is basically: how can I access my videos (and ideally get them onto my computer)?
    Other details: I do not own a Mac and my iPhone is my only Apple Product.

    I Figured it out!!!!
    My solution was to download the new iTunes and here is why I think it worked:
    I tried to download the old iPhone explorer thing to search for the file and it required iTunes, which I didn't have. I was running Vista because I had to reset my pc to factory defaults (poor old PC haha. if only I had money for a new one). I don't like iTunes at all so I never bothered with it. Anyway, I started downloading the new version of iTunes (10.something) and about 1/8th of the way through the install, my pc started installing driver software on its own. It turned out it was installing drivers for my iPhone 5 (this occurred 1/8th of the way through right after iTunes installed some Apple components stuff for PCs) and this time, when I looked in the phone's folder for its data, my 30 minute video was there !!! So I think what was needed was a driver on my PC for my phone which for some reason didn't install until I got some Apple components (which was the first part of the iTunes install).
    Thank goodness I don't need to touch iTunes and thank goodness it works! It is truly a wonderful phone and hopefully this will offer another solution to finding those pesky large video files (or large video file) that won't open up in the explorer.

  • How can I access my itunes account, old computer crashed?

    My computer has crashed and have recently purchased a new one, all my movies, books, music was on the account on this computer, how can I access it again?
    I have all my downloads, movies, books, music, so how can I acces that itunes account if my computer has crashed and now have a new computer?

    The easiest way to get back missing items?  Restore your whole hard drive with all your irreplaceable things like photos in about 20 minutes from the backup clone you make on a regular basis.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; only apps, books (not audiobooks), music, and t.v. shows (not movies).  Discontinued items not available. For items not included in the iCloud list, or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple notes it is your responsibility to back up your purchases.
    I am a bit confused by your use of the word "account".  You may have an "account" on the iTunes Store.  What you have on a computer is your user account, part of which is the iTunes folder which usually houses a collection of files that make up what you see when you open the iTunes application.  When you open iTunes it does not normally open an account to your files, it just opens the ones on your computer. If your old computer died and you can not longer use the hard drive (which is not necessarily true but we would have to know more about the situation in detail) then not only your media but your playlists, ratings, etc. are also gone (unless you have a backup).  As indicated above, iTunes Store will let you download some things again, if they are still there and you are running iTunes 10.3 or greater.  Things like movies are gone unless you have a backup copy elsewhere.  The iTunes store does not contain playlists, etc, nor your ratings since all you are doing is downloading brand new copies again.

  • How can I access the savestore.js contents if the command about:sessionrestore shows a blank box even for already succesfully used backups?

    -------------------------------------------------------------------------------------------------------------------------------------------
    How can I access the savestore.js contents if the command about:sessionrestore shows a blank box even for already succesfully used backups?
    Is there a recent known problem with the about:sessionrestore command or is there any other way understandable to Firefox 29.0.1 through which recover the information stored in the sessionstore.js files.
    It seems the command about:sessionrestore is not capable anymore to read the contents of the sessionstore.js file present in the user profile folder.
    The box where windows and tabs should be listed is empty.
    I tried to paste a few old sessionstore.js files in the user directory while the firefox.exe process was not active, then opened Firefox again and tried to launch the about:sessionrestore command without any result.
    I think the files are not corrupted because I used most of them in other occasions and I stored them in folders not connected to the common use of any process.
    Also, I already successfully used the about:sessionrestore command in Firefox 29.0.1 in a few other occasions.
    I did a "clean reinstall" of Firefox 29.0.1 and the box contained in the tab where about:sessionrestore is executed is still empty even if the files themselves contain such information as tabs location and html addresses.
    After this I recovered the profile data I had stored in another folder and this is what you can see attached to this question.
    ---------------------------------------------------------------------------------------------------------

    If I select the "show my windows and tabs from last time" option in the startup settings the contents of any savestore.js file i paste in the user profile folder are opened without any problem.
    still, the box in the tab loaded by the about:sessionrestore command is blank and empty, so it's not possible to "de-select" any window or tab. it's necessary to find an editor to modify session backup files which may contain "bad addresses".
    does such an editor already exists?

  • How can i access process webservice in enterprise

    Hi,
    I have a bpm process(webserviceBPM) which is exposed as webservice, deployed project in studio embeded engine. I can access the wsdl file at http://localhost:9000/albpmServices/webserviceBPM/ws.
    Exported the same project and deployed the exp file in enterprise standalone with smart publish option. Now my bpm process is working fine but how can i access the wsdl file of the deployed process?
    Please suggest me the way to access the wsdl.
    Regards.

    Hi,
    This seems to be a recurring question across this forum. Please somebody from Oracle update the Doc team to include these details in the latest release.
    You can find the solution at this forum .Check for the last but one post.
    To launch Oracle BPM deployed Web Services [In BPM Enterprise]
    Rudraksh
    Edited by: rudraksh on Jul 30, 2009 10:46 AM

Maybe you are looking for