Edge Animate CC :: Address Dynamically Created Symbol?

Sep 19, 2013

how I can get the name of a dynamically created symbol (using CreateChildSymbol) so i can hide move and otherwise affect the symbols i have created.

View 2 Replies


ADVERTISEMENT

Edge Animate CC :: How To Dynamically Set A Symbol Name That Has Been Parsed From XML To Build A Symbol Path

Mar 20, 2013

Is there a way to "eval" or dynamically set a symbol name that has been parsed from XML to build a symbol path? For example, I'm trying to dynamically set a variable to the path of a sysmbol already on the stage, but it's not working correctly:
 
var xmlSymName = $('symName', this).text(); // where symName = "sym4" from a parsed XML node
var whatPOI = sym.getComposition().getStage().getSymbol("sym1").getSymbol("sym2").getSymbol("sym3").getSymbol(xmlSymName).getSymbolElement();
 
Basically I have a lot of points on a map and I'd like to be able to name the points along with other data like tooltip callouts, etc populated via XML then loop through the XML to build the points of interest on the map. If I can get the above working I can place that variable path reference into an array and grab the data from it later. But the path is not working the way I have it.

View 1 Replies View Related

Edge Animate CC :: How To Control Dynamically Created Symbols

Jan 23, 2013

I'm trying to use ".createChildSymbol" to bring my symbols from the library to my stage. And in each symbol I have an OUT label, so every time a new symbol is called by a particular button, the last one plays from OUT label and new one appears at the same place. It's all easy for two symbols and I do not need to set any vaiable for them. But I have almost 180 symbols, and a menu of buttons to call them, so every button needs to play the OUT label of the current symbol and also plays the new one and make it as the current one.
 
sym.test = sym.createChildSymbol("test", "Stage"); 
sym.getComposition().getStage().setVariable("current", "test"); 
var current = sym.getComposition().getStage().setVariable("current");
sym.current.getSymbolElement().css({position:'absolute', display:'inline-block', top:167, left:91});

View 14 Replies View Related

Edge Animate CC :: Change ID Of Dynamically Created Child Element?

Aug 9, 2013

I would like to change the id of the dynamically created elements in order to work easily with their later. Currently, edge automatically generate an random id like "eid_1376057792551" for each element.
 
There is my code :
 
sym.setVariable("labels", {
content2: "Visiteur",
content3: "Exposant",

[Code]....

View 8 Replies View Related

Edge Animate CC :: Replacing Symbols Dynamically?

Jun 19, 2013

I am trying to make a fairly simple user interface. I have 3 buttons on stage and each button will pull out a correspoinding symbol from the library and display it on the stage.
 
Eg. Click btn1 and it will show content1 from the library.
 
So far it is working in that it shows the corresponding content but it appends subsequent content to the bottom of it. I need the content to be replaced instead.
 
I would prefer if I could dynamically get content from the library instead of having items on stage that are set to 'hide' and 'show'.
 
Note: I noticed that when you create a child symbol on stage that Edge gives it a randomly generated ID. There is some code towards the bottom that tries to rename its ID attribute. I am not 100% sure if it is even doing what I expect it to do.  
 
var btnArray = ['btn1','btn2','btn3']
function init(){
for (var i = 0; i < btnArray.length; ++i) {

[Code]....

View 4 Replies View Related

Edge Animate CC :: Dynamically Load Images When Needed

Feb 18, 2014

I'm looking for a method to load images into an animate animation shortly before they are needed? My animation is (and has to be) really big (already 7mb and growing) so I want to find a way to load my images just before they are showing up in the animation. The process is sometimes known as lazy load and I would like to do something like this to my animation.
 
The standard preloader is not really an option as it takes ages till the users can see the start screen's content.Are there any preloading alternatives?

View 4 Replies View Related

Edge Animate CC :: How To Use JQuery Address With Adobe

Dec 10, 2012

I would like to use the Jquery Address plugin with an Adobe Edge Animate project. When I create a simple website without Edge, I can easily use the Jquery Address plugin and implement it but here I'm a bit disappointed because I'm not really a developer and I don't know how to do.
 
I find more friendly the fact to be able to use the browser arrow to reresh, navigate previous and next page. Maybe it can be added in a future update of Adobe Edge ?

View 8 Replies View Related

Edge Animate CC :: Call A Symbol From The Symbol Panel And Place It On Stage?

Apr 25, 2013

Can I call a symbol from the symbol panel and place it on the stage?

View 2 Replies View Related

Edge Animate CC :: Reference Main Timeline From Inside Of Symbol In Symbol?

Apr 10, 2013

The scenario is this,  I have a symbol(TitlePage) on my main timeline.  Inside the symbol(TitlePage) there is a play button.  How can i set a click event on this symbol that access the main timeline(stage) labels?

View 6 Replies View Related

Edge Animate CC :: Playing Animation On Timeline Within A Symbol From Another Symbol

Mar 17, 2014

 I have the following
 
STAGE
          SYMBOL_1
               DIV_PLAY
                    MOUSEUP(COMMAND)
               DIV_STOP
                    MOUSEUP (COMMAND)
[Code]...

I would like to do the following:
 
play "SYMBOL_2" - "DIV_ANIMATION_1" - "ANIMATION_1_START" from within "SYMBOL1" - "DIV_PLAY" with the mouseup command
 
URL....I know that i can sym.getComposition().getStage().getSymbol("div_animation_1").play();  from within "div_play" but how do i access a point on the timeline and play from there...

View 1 Replies View Related

Edge Animate CC :: Getting Symbol Name?

Mar 27, 2013

What is the syntax for retrieving the name of the symbol that has been clicked on?

$sym.symbolName
$sym.name
$sym.getAttribute("name");
e.target.name
e.target.symbolName
 
I can get e.target.id fine, but it's a mixture of Edge generated identifiers and my symbol name.

View 11 Replies View Related

Edge Animate CC :: How To Get Symbol ID

Dec 17, 2012

I have some codes like this:
 
function myFunc(name) {
     var $symbol = sym.$(name);
     //I want to do something with $symbol depending on their id, for example
     //$item.appendTo($symbol);
     //so $item will append to the corresponding symbol
}

[Code]...
 
I tried .attr('id') and it seems not the id I want.

EDIT: indeed I want to get the selector inside myFunc

View 9 Replies View Related

Edge Animate CC :: Play One Symbol After Other

Nov 26, 2013

In my Composition there some cases I have to play one symbol. In a few cases it is necessary two play sequential e.g. symbol A an then symbol B. It have to look like one animation. Is there an easy way of calling?

View 19 Replies View Related

Edge Animate CC :: One Symbol - Playing Other Off

Jun 14, 2013

I start with several items on the stage, each an iteration of the same symbol. When I click on one, it performs an opening animation, then pauses. When I click on another, the first symbol un-pauses on its timeline, animating back to original position, while the second one I clicked plays its opening animation till its pause. Each of the symbols can tell the already deployed symbol to "play itself off."I'm sure this was done in Flash all the time, and there's a Javascript solution.

View 3 Replies View Related

Edge Animate CC :: Two Symbol-instances With Different Data?

Aug 8, 2013

How to create two instances of the same symbol and change the texts and images inside the instances to have different texts (so I mean different from the other instance)?
 
Somehow, instead of using dynamic creation by using code, I can't manage this. Everytime I change a text inside A (instance of symbol1), the text of B (instance of the same symbol1) is also changed. The same with images. I can't figure out what I'm doing wrong here. I can't imagine symbols are always reference types, 'cause what's the meaning of having symbols then?

View 7 Replies View Related

Edge Animate CC :: Changes Made In One Symbol Show Up In Another

Jan 7, 2014

I have a symbol called "A." I needed 2 copies of it, so I duplicated A and renamed the new symbol to B. I now have A and B, identical copies of each other.
 
I navigated inside symbol A where I entered another symbol, "A1." Inside A > A1, I removed an image and added another image. No problem so far.
 
Then, I returned to the stage and navigated into symbol B > B1. To my surprise, the same image change I made in A > A1 already appeared in B > B1 (even though I duplicated A **before** making this change).
 
When I change the image inside B > B1, that same change is now present back in A > A1.
 
It's as if these two symbols, A and B, are mirrors of each other, even after being modified. Trouble is, I don't want mirrors. I need them to be slightly different.
 
I thought the Duplicate step might be my problem. I started over (both by undoing several steps and by closing and creating a new document entirely). This time, I copied A and pasted it onto the stage. I ran into the same problems.
 
Ok, next guess: this time, I entered symbol A and copied its elements/sub-symbols. I went back to the stage and pasted them there. Selected these elements/symbols and converted to a new symbol. Same problem!

View 2 Replies View Related

Edge Animate CC :: How To Apply CSS All Elements Of A Symbol

Apr 2, 2014

how to apply CSS all elements of a symbol?
 
For example, I want to put a border around every image in a certain symbol.

View 1 Replies View Related

Edge Animate CC :: Jquery Calling Symbol In Itself?

Jul 17, 2013

I want to create on the symbol an mouse over event that address the same symbol.
 
i've tried
 
this.css("display","none");
 
with no success..

View 5 Replies View Related

Edge Animate CC :: Action On Before Label Of The Symbol?

Jul 14, 2013

It is possible take action label before?
 
example:
Stage01, label 'home'.
Symbol01, click on Retangle01 action: Play ('home') in Stage01.

View 1 Replies View Related

Edge Animate CC :: How To Add A Click Event On A Symbol

Nov 13, 2013

When I try to add a click event on a symbol, I can't access to the symbol, only to the parent. For example, if on the event click on a specific symbol A I add the code

var symbolElement = sym.getSymbolElement();
symbolElement.hide();
 
It will hide the parent of A, instead of hiding A. How do I access to A?

View 3 Replies View Related

Edge Animate CC :: Use Opacity Of Symbol In If-statement?

May 27, 2013

I'd like to use the opacity of a symbol in an if-statement. How to ask for it?

View 5 Replies View Related

Edge Animate CC :: How To Get Symbol To Follow The Mouse

Feb 28, 2013

I have a crosshair like in a lightgun style game at an arcade. What code would I use to have the symbol follow the mouse, and if at all possible, could the symbol's origin be in the middle of the symbol and not in top left corner of the symbol?

View 15 Replies View Related

Edge Animate CC :: Hide A Symbol Programatically

Sep 5, 2013

I need to hide a symbol on my main stage dynamically, ie without hardcoding it on the timeline.  So I tried this within an IF ELSE statement:
 
sym.getComposition().getStage().getSymbol("Box_Symbol").hide();

I also tried this:
 
sym.getComposition().getStage().getSymbol("Box_Symbol").css({"display","none"});
 
Clearly these are not working..

View 5 Replies View Related

Edge Animate CC :: How To Discard A Random Symbol

Jan 23, 2014

I have a keyframe where I must to upload a random series of symbols, and I do it with the script:
 
var myVar = Math.floor((Math.random()*6)+1);
     var stage = sym.$("Stage");
           var myAni = sym.createChildSymbol("Symbol_" + myVar, "stage");
          myAni.appendTo(stage);
 
The script works fine, but, at NEXT keyframe I must load another series. The problem is that the symbol loaded in the previous keyframe is still present and the new symbol overlaps it.How can I unload or discard the previous symbol?

View 3 Replies View Related

Edge Animate CC :: Moving A Symbol With Code?

Sep 4, 2013

I'm simply trying to animate the y axis of a symbol with code. When I rollover one symbol, I'd like it to move the symbol it's inside a certain distance. Never seems to work. I've tried looking up the simple jquery syntax to change an image's y position, but it's hard to find!
 
This is what I have so far:
 
sym.$("grouped_image").animate({"top" : "+=50px"}, 500);

View 2 Replies View Related

Edge Animate CC :: Play One Symbol And Hide All Others?

Feb 26, 2013

I'm building an animated menu in the latest version of Adobe Animate. There are 5 different animations that happen within the same box on the main stage. I have made each animation it's own symbol. I want to trigger the animations from text boxes to the left of the box where the main animation takes place. The text boxes are not apart of any of the symbols, but are just on the main stage.
 
When someone scrolls over any of the individual text boxes i need to play one symbol's timeline AND hide all of the other symbols from the stage.

View 3 Replies View Related

Edge Animate CC :: Getting Target Symbol On Click

Mar 26, 2013

How do I reference `this` when a symbol is clicked?  I have a click event on 'alien' on the stage.  In the handler, sym appears to be stage and not 'this'.

I want it to play itself (amoung other things) when clicked.
 
e.target gets me the element, but not the edge symbol so I can play itself. 

View 1 Replies View Related

Edge Animate CC :: Call Random Symbol

Dec 5, 2012

I have several animations converted to symbols and I want the composition to call one at random on load. These will be page header animations and my intension is use the same composition on each page that pulls an animated header at random when the page loads. I've done this with Flash using Actionscript but not sure how to code it out in Edge.

View 14 Replies View Related

Edge Animate CC :: How To Create Different Hyperlink In A Symbol

Feb 14, 2013

I have facing some problem in symbol. i;e In a symbol have created three rectangular boxes (rect-1, rect-2 & rect-3)& in main-time line there is three lavel (label 1, label 2 & label 3).
 
i want to create functionality that is, when i click rect-1 box, i should be play "label 1", when i click rect-2, it should play "label 2" & when i click rect-3 it shuld play "label 3".

Is it possible or not

View 4 Replies View Related

Edge Animate CC :: Empty Symbol But Need It Reload?

Aug 12, 2013

I've migrated across various platforms over the years but Edge is definitely a tool I will use as a core authoring tool. Keep the updates coming!
 
Ok I've read about 8 articles on this forum on Youtube videos and stopping sound using the
 
sym.$("blah").empty();
 
BUT, once I've emptied the container, I want to be able to access it again and play the symbol. I don't know how to load the container once it's been emptied. I tried
 
sym.$("blah").empty().append (youtube);
 
but doesnt work.
 
I just need the video to load again from the beginning, I dont need youtube API integration for remembering where it stopped, I just want to reload the symbol "blah" after its been emptied.
 
Check out the work in progress...
 
Page 1 - had no video

Page 2 - has video bg, ignore that, the two videos behind the slider have no empty commands and keep playing in background

Page 3 - on the page that says 'Nadi', behind teh slider is the video that has the empty and I just want to reload it after its been closed

View 1 Replies View Related

Edge Animate CC :: How To Target Nested Symbol From A Button

Feb 19, 2012

I'm new to Edge, Javascript and HTML5 (coming from Director/Flash/After Effects background) I'm wondering if there's a way to target a nested symbol from a button. I would like to make a simple Pause/Play toggle button that stops a nested symbol is it's playing and plays it if is stopped. In software's I'm familitar with, this can be done with a simple target path and  if/else conditional statement, but I can't find any examples that don't seem much more complicated.

View 15 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved