Edge Animate CC :: How To Trigger An Event After Symbol Animation Completes
Nov 12, 2012
On the stage I have a button and a hidden symbol. The symbol has an animation within itself.When I click the button, the symbol becomes visible and plays the animation. Its all good so far.I want to be able to click the now visible symbol, the animation within itself plays in reverse and then it hides itself. How do I make it hide itself after the animation plays in reverse?
BUTTON CODE (This works for me):
sym.$("AnimationOne").show();
var AnimOne = sym.getSymbol("AnimationOne");
[code]...
If I add this, it just hides itself without animating in reverse
View 6 Replies
ADVERTISEMENT
Jan 5, 2013
I need to have a symbol with it's own timeline play at the end of each slide in a slideshow. I have the animation for the slideshow but when it comes to the first symbol, all the symbols load instead of just the one needed for the slide. I have tried setting "play from" but that seems to refer to the symbol timeline not the stage timeline. All symbols are set to "hide" upon click.
The real problem comes when playing in reverse. The symbol plays first with "hide" feature but does not continue the reverse animation from the stage since the "hide" feature stops the action.
View 3 Replies
View Related
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
Dec 5, 2013
I'd like to delete all symbol instances on a click event, the
sym.getSymbol("SymbolDefinitionName").deleteSymbol();
only works on one symbol, and I've tried combining it with both
sym.getComposition().getSymbols("SymbolDefinitionName");
and
sym.getSymbolElement().children();
View 5 Replies
View Related
Feb 25, 2014
how use animation loop without trigger?
I tried to do mouseover
var my_time = sym.getSymbol("mySymbolInstanceName").getPosition();
if ( my_time == 0) {
sym.getSymbol("symbolName").play();
}
loop not work.
View 1 Replies
View Related
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
Dec 17, 2012
i created an animation inside symbol.i created a button outside the symbol. the animation only works when the button click?
View 4 Replies
View Related
Aug 2, 2013
I have a button which has a mousover/mousout animation. When i click the button, it will shrink down to 0%. when it does, my mousout event is triggert, which i dont want.
how can i disable the mousout event after the click event?
View 4 Replies
View Related
Sep 13, 2013
my animation takes around two seconds to load within my browser. Is there a way to display a loading symbol such as spinning circle, that will show the animation is loading, then disappear once it is ready to display?
View 2 Replies
View Related
Aug 26, 2013
I have made several Adobe Edge Animate projects and have inserted a stop trigger for the "home" arrival after animation intro. I just created a new project and can't get the stop trigger function to work. When I preview it plays through the entire timeline. I've tried several different combinations of triggers - sym.play from () at the beggining of the timeline and then adding a sym.stop at () and no matter what, it plays through the entire timeline.
View 3 Replies
View Related
Jul 2, 2013
I have a problem, i need create a function delay in the timeline with a trigger.
I want that my animation play every 3 seconds until the next sym.stop and then play again after 3 seconds.
Ej. I have 3 triggers in the timeline:
sym.stop(1000)
sym.stop(2000)
sym.stop(3000)
My idea is make a delay in all the triggers, like this:
sym.stop(1000)
delay.play (2000)
sym.play
sym.stop(2000)
delay.play (2000)
sym.play
sym.stop(3000)
delay.play (2000)
sym.play
Cause I dont know how to elaborate a function in jquery
View 5 Replies
View Related
Jan 22, 2014
I have created a symbol that is a horizontal banner consisting of six paragraphs of text P1 thru P6. Each paragraph is no more than 300 px wide.
I then created six trigger symbols and placed them beneath a 300 x 300 vieweing window on the stage.
When the stage opens, paragraph 1 (P1) is viewable in the window. If the user clicks a trigger, I want the banner to scroll left or right, from its current position, to display the corresponding paragraph.
Example : P1 is showing in the viewing window. The user clicks trigger #4. The banner scrolls right and eases P4 into view in the window. The user then clicks trigger #2. The banner then scrolls left and eases P2 into viewing position in the window.
My old (very old) Flash training tells me I need to set a numeric value into a variable when each trigger is clicked and then use that value and concatenate it with label text to tell the play head to play from the proper postion (play ("Para1")), (play ("Para2")), etc. where Para# is the label on the timeline.
I feel like I'm close to getting this to work, but after a number of hours of trying I've concluded that over time I've either forgotten a key step or there's some easier way to do this in Edge Animate. (I'm very new to CC and EA).
View 3 Replies
View Related
Aug 5, 2013
How do I use a button being clicked to trigger a function within CompositionReady? My overall aim is an On/Off button, the 'OnOffStatus' of which can be used to determine other factors within the program.
View 3 Replies
View Related
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
Apr 25, 2013
Can I call a symbol from the symbol panel and place it on the stage?
View 2 Replies
View Related
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
Mar 11, 2013
I have an animation with 5 different parts. I would like to trigger a random part when clicking on a button.
In order to do that I put labels on all parts (play1,...,play5). Then I put a code on the button on the click event :
var RandomNb=Math.floor(Math.random()*5)
if(RandomNb=1){sym.play("play1");}
It is just a simple test but it does not work : the animation play1 is always played no matter the value of RandomNb. I obviously make something wrong but I don't know what...
View 2 Replies
View Related
Apr 7, 2014
I'm working on a project that requires some interaction controlling video. I've used the piece of code from this thread [URL] and it works like a charm. But I'm looking at option of using youTube video for the same interaction.
So on creationComplete, I've added,
var vid = sym.$("holder");
vid.html('<iframe width="640" height="360" id="video1" src="//www.youtube.com/embed/o2l_zZOpSxk" frameborder="0" allowfullscreen="0" controls="controls"></iframe>');
View 7 Replies
View Related
Apr 3, 2014
I'am trying to get a parallax type scroll to work.
I have my browser small enough so scroll bars are displayed. I have set the stage's overflow to "scroll". In the Stage "scroll" action I have the following: console.log("scrolled");
But it never fires when I scroll.
I've added a similar "click" action to a rectangle on the stage and that works.
View 8 Replies
View Related
May 30, 2013
I have a button on the main stage with a hit event inside of it. This hit area calls frame lables on other symbols (these "other symbols" are also on the main stage, not dynamic) . How do I make the click event of the hit area null if one of these symbols is/are visible? I added another button to set the visibility to false but then I also need the click event to reset itself to it's original state
View 10 Replies
View Related
Dec 17, 2012
Is there a way to code certain regions of an image for a click event without adding a hit area?I have a map of Texas with each region. Clicking on a region brings this region bigger to the front. Then I want a click event for each county to bring up its name and other data.
View 12 Replies
View Related
Jun 24, 2013
I want to have a mouseover and -out effect on my navigation bar and on the event click it should stay in the mouseover status. So far the mouseout and the click event affect each other on a wrong way. The example I attached here is done with plain rectangles, but later they will be images.
MyStatusQuo: [URL]
View 26 Replies
View Related
Jan 30, 2013
i have a problem with an animation in Edge Animate. I try to animate a button which spins 45° on mouse over and back on mouse out. So far no problem. Now i want the button to spin 90° when i click on it and let it stay on this position. I made it spin the 90° but it always spins back on mouse out because the event is still there. Is there any possibility to delet the mouse out event or pause it after clicking on the button. I already tried remove it but without any sucess.
View 4 Replies
View Related
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
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
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
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
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
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
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
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