create children and position

Hello everyone,

I know it s simple but it doesn't work and I can't find it in the forum.

I want to place a symbol on the stage and place:

sym.createChildSymbol ("home", "Stage");

well, but now the part 'positioning' (it works fine when I had the symbol already on the stage):

sym.getSymbol("home").getSymbolElement () .css ({"location": "absolute", "left": "500px", "top": "500px"});

so I tried different possibilities:

sym.createChildSymbol("home",_"Stage").css ({"location": "absolute", "left": "500px", "top": "500px"});

sym.createChildSymbol ('home'.css ({"location": "absolute", "left": "500px", "top": "500px"}), "Stage");

But it does not work.

Is there someone who could help.

THX in advance

Try this:

var host = sym.createChildSymbol ("home", "Stage");

home.getSymbolElement (.css({))

'position': 'absolute ',.

'left': 50,.

'top': 50

});

Tags: Edge Animate

Similar Questions

  • Create jobs and positions via PL/SQL script

    Hi, it is recommended to insert new jobs and positions via PL/SQL Script?

    I know it's possible, I'm not sure if it is recommended. especially when it's via a direct insertion.

    Is there an API for it?

    I have about 200 + positions I need to set in our Instance of the EBS Test.

    Thank you!

    The APIs are the best way to do it in batches of charges-

    Job: HR_JOB_API

    Position: HR_POSITION_API

    To know that all the seeds API, add the responsibility of integrated SOA gateway

  • Windows 8 doesn't remember size and position of the previously open programs

    I hope that if there is no solution for this problem, at least it can be taken as feedback on the next update of WIndows 8.

    The question is:

    I use Windows 7 and WIndows 8 at home to work.

    Now, Windows 7 remembers the size and position of all my previously opened programs (I mean by "programs": EXCEL, INTERNET EXPLORER, FILES, WINDOWS MAIL, WORD, POWERPOINT and others), so that when opens again, they open in the same place and size that they were finally on the closure.

    So I can arrange some programs to occupy some space on the desktop, and each time that I open them they will open in the same place.

    However, WIndows 8 does NOT. When you use the desktop computer in Windows 8 even after organizing the progams to where I like them every time, the next time I open them they will NOT open in the same place or size.

    Or sometimes it does, but only once, but then not do the next time.

    In any case, it is so NOT intuitive and it is a huge concern to be their resizing each time.

    Anyone know WHY? and more importantly if there is a solution? or, where and how can I let Microsoft have this feedback so that the Windows 8.1 update can include a fix for this?

    Additional data:

    System: Windows 8 64-bit (w/Panel touchscreen desktop PC)
    I use my taskbar on the top of the screen in my Windows 7 and Windows 8 PCs.

    Thank you!!

    Hello

    Resize the window of Windows Explorer how you want and then close.

    Next time, when you open the Windows Explorer window, you should remember that the windows of size when it was closed the last time.

    If this isn't the case, then this problem occurs because the registry to the folder options settings are incorrect.

    Note: Serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs.

    (a) delete the following registry subkeys:

    o HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags

    o HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BagMRU

    o HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags

    o HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU

    o HKEY_CURRENT_USER Settings\Software\Microsoft\Windows\Shell\BagMRU

    o HKEY_CURRENT_USER Settings\Software\Microsoft\Windows\Shell\Bags

    D
    elete the following registry subkeys:

    o HKEY_CURRENT_USER\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\Bags

    o HKEY_CURRENT_USER\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\BagMRU

    (b) Re-create the following registry subkeys:

    o HKEY_CURRENT_USER Settings\Software\Microsoft\Windows\Shell\BagMRU

    o HKEY_CURRENT_USER Settings\Software\Microsoft\Windows\Shell\Bags

    Re-create the following registry subkeys:

    o HKEY_CURRENT_USER\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\Bags

    o HKEY_CURRENT_USER\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\BagMRU

    (c) create and then set the registry BagMRU Size value to 5000 in the registry subkeys you created in step b.

    Please post with the State of the question.

  • Showing reconnect to the clone of windows 7, windows get shrunk at ~ 480 height less the taskbar height and position change window

    Is there a way to prevent this dynamic adjustment of the windows height and position.

    We use Realtime Soft UltraMon. It adds a button to title bar of litle to move windows between monitors and duplicates the taskbar and Start Menu to other monitors. Many other features.

    The readjustment of the window was of ultramon. To fix it, we created a disconnect on and reconnect to the script.

    Direct orders are not running the reason for this policy setting. While echo test > c:\temp\test.txt does not, cmd /c echo test > done c:\temp\test.txt. However, cmd /c dir > c:\temp\dir.txt does not work. And environment variables are unable to expand.

    Another approach was to activate only signed powershell scripts and import my certificate to the computer Trusted Publishers store on the statue of gold of code signing. Disconnect then the commands to run and re - connect were:

    cmd /c powershell.exe - folder c:\temp\CloseUltraMon.ps1

    and

    cmd /c powershell.exe - folder c:\temp\OpenUltraMon.ps1

    CloseUltraMon.ps1:

    get-process"ultramon" - ea SilentlyContinue | Out-file "c:\temp\ultramon.status."

    & / Stop "c:\program files\ultramon\ultramon.exe".

    OpenUltraMon.ps1:

    If (Select-String - Path c:\temp\ultramon.status-modele "ultramon") {}

    & "c:\program files\ultramon\ultramon.exe"}

  • Sensitive page but I need several elements remain fixed size and position

    Hello

    I create a project in EA where there should be responsive, but the logo in the upper left part must remain in position and fixed-size.

    I tried may things but nothing seems to work.

    The logo is a .svg file and I tried:

    wrapping it in a div

    What makes a symbol

    various options from the "Use the presets for reactive structure" button in the properties panel

    manufacturing stage is unresponsive, then selecting all other symbols outside logo and using the power button on the page mentioned above to select the scaling

    I spent days on this thing, and it just doesn't work.

    Is this a case of edit the .js or html directly?

    I am using v 2014.1.1

    Please can someone help?

    Thank you very much

    Allison

    Hello

    Just display back because I found a solution for this.

    Because the logo was not an interactive element, I just added to the HTML page and positioned with a bit of CSS

    Job done!

  • Help - floats and positioning fixed

    How can I create a #header div tag
    within the #header div tag I want a floating to the left and content IMG floating right

    so, I want this #header entire div tag fixed a position. If the header is fixed while the spectator is scroll down the Web site.

    Then I need to restore the normal document flow so that the next #mainContent div tag is good to go.

    Ive tried a few things but Ive have had no luck

    I have a #header div, inside this #header I have a DIM. This IMG is not in a div tag, I float to the left image.
    Then I have a paragraph that is also in the #header, but after the IMG. I'm floating the paragraph to the right, like this
    #header p
    float: right

    How to have a tag div #header
    in this div tag is a left floating IMG and floating paragraph right, I text-align the content item to the right.

    the header seems to be decent, img completely to the left and the content of the paragraph all the way to the right...

    now, I want to FIX the position this div #header set. I want the content of the IMG paragraph to stay fixed in the positions that they are at the moment.

    I went to my CSS for the div #header and position: fixed

    He screwed up the layout.

    Many thanks for any help, I can get on it

    -James

    Try this CSS-

    {#wrapper}

    background-color: #D6D6D6;

    margin-top: 0px;

    margin-right: auto;

    padding: 0px;

    text-align: left;

    Width: 770px;

    margin-bottom: 0px;

    left margin: auto;

    min-height: 600px;

    position: relative;

    }

    #header {}

    background-color: #096;

    margin: 0px;

    padding: 0px;

    overflow: hidden;

    position: fixed;

    Width: 770px;

    height: 150px;

    }

  • Create bookmark and set the Page Destination Script

    Greetings,

    I created a batch Script that will create children bookmarks and set the destination page.

    Bookmarks are listed in the script in the order in which they appear in ascending order.  (for example, Name1, name2, Name3, name4)

    However, once the script is run, the bookmarks are inserted in descending order. for example (Name3, name4, Name1, name2).

    Can someone advise please how do I get the script to create bookmarks in ascending order, as noted in the script?

    var bm =
    this.bookmarkRoot.createChild ("Name1", "this.pageNum = 0");
    this.bookmarkRoot.createChild ("Name2", "this.pageNum = 1");
    this.bookmarkRoot.createChild ("Name3", "this.pageNum = 2");
    this.bookmarkRoot.createChild ("Conjoint4", "this.pageNum = 3");

    var bm = this.bookmarkRoot.children [0];

    BM. Color = color.red;

    The script should also be changed to all bookmarks in red color.  The script for color bookmarks only works on the first bookmark.  Any intervention on changing the script for this would be most appreciated as well?

    Thank you.

    Use something like this:

    var bm;

    this.bookmarkRoot.createChild ("Bill Smith","this.pageNum = 0", 0);

    BM = this.bookmarkRoot.children [0];

    BM. Color = color.red;

    this.bookmarkRoot.createChild ("David Smith", "this.pageNum = 1", 1 ");

    BM = this.bookmarkRoot.children [1];

    BM. Color = color.red;

  • Creating lists and collections on the fly?

    I have a set of XML data that has a series of step (see the code example). Now, I have to manually to allow the number of nodes 'step' in my nodes data manager and 'choice' to attribute to the collections of the list of the application to use.

    My question is, how do I create a loop to watch the number of children and create a listCollection and entrust the data automatically?

    As l0.dataProvider = new XMLListCollection(dp.step[0].choices.choice), where the zero will increment based on the number of nodes in the document?

    This code can help:

  • I need to create public and private keys for the security certificate and I can not find the certificate. Where is he?

    I bought a security certificate, and the site tells me that it has been installed successfully. I need to export the certificate so that I can create public and private keys, but I can't find the certificate to do so.

    Firefox (Firefox Orange) > Options > Options > advanced > Certificates > authorities > export

  • Bookmarks Manager no longer exists on 7.01. How to create folders and organize my favorites?

    Bookmarks Manager no longer exists on 7.01. How to create folders and organize my favorites?

    I don't use a Mac, but I think it is similar. Organize bookmarks, is renamed the show all bookmarks option.

  • Help compare the negative and positive values

    Well guys, I do this example to show you what I mean

    With this example, I can get positive and negative numbers in digital

    But for me, the 'negative' mean nothing

    Example:

    If I have "100-200" for me the biggest value is - 200

    But if I compare the values of bouth got 100 as greater value

    I do the same calc for 3 different variables such as A, B, C

    and after that I need to calc whose value is 'more '.

    But my problem is that if I have the values "-350 300-400.

    the largest will be "300", but for me the 'negative' mean nothing

    so I need to the largest value is "-400".

    For all positive values, its works very well!

    I compare A and B, after the highest is on C and have a result!

    but when I have negative and positive values... I had this problem...

    and when I have negative values only I have a problem too.

    '-300-400-500' for me the largest value must be "-500" but labview-watch "300".

    as - 300 is greater than-500 in algebriac.

    And if I use absolute values, I will always have a positive value... but I need to know if the value is positive or negative

    No matter which, can help me with this?

    Thank you

    Ben

  • How to make my email more small it is too big for my screen and it too far on the right, it is when I click on create mail and it's huge

    How can I make my smaller email is too big and it was too long on the right side, it is when I click on create email and when it opens I do not have the right of it

    You can move the window by grabbing the title bar at the top. Once you have a visible advantage, place the cursor on the right on that edge, left click and drag it to the desired size. First close all other windows and the latter so that Windows remember their size.
     
  • How can I save Windows XP show size and position?

    How to save window size and position?

    Hi Clement,

    See the following information about your request article:

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/display_overview_w.mspx?mfr=true

    I hope this helps!

  • My product key was taken out of my turn to my children and I can't reactivate my Windows Vista is there a way to recover my product key?

    My product key was taken out of my turn to my children and I can't reactivate my windows vista is there a way to recover my product key?

    original title: product key

    Hello

    As you have lost the product key of the Tower, it is a preinstalled operating system and you will need to contact the manufacturer of your computer.

    They give you a different product key.

    What you can do now is ask them to send you a set of recovery disc for the computer model reinstall the operating system to how it was when new.

    Also while you are in contact with them, if you never receviced a reinstall to purchase drive, ask them how to make the recovery discs to do the same thing, if you still have access to the recovery partition.

    None of these methods of resettlement requires normally allows you to provide a product key during Installation, the recovery process uses the Installation product key factory to activate automatically during the resettlement process.

    See you soon.

  • Tool to create CD and DVD autoplay discs stopped working

    I'm trying to use a CD to install driver software for a Hauppauge HD PVR, and then a box appears and says "tool to create CD and DVD autoplay discs stopped working.  I was wondering what I could do to get the drive to work.  I think I accidentally deleted some program that is necessary to read this disc. Thanks for your time and your support.

    Hi Danieldrhodes,

    • Do you happen only when you try to install the drivers for this particular drive?
    • Is it the same when you use other discs?

    However, you try to access the link below and follow the steps to resolve problem of Autoplay on computer and check if that helps you solve the problem.

    http://Windows.Microsoft.com/en-us/Windows-Vista/Troubleshoot-AutoPlay-problems

    I hope this helps. Let us know the results.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for