Edge Animate CC :: Button Inside A Symbol Does Not Work?
Feb 7, 2013
i create a button, when you clik it with this command:
sym.play("myLabel");
you go in the stage timeline to the label called "mylabel" ...all ok
but if i save my button as symbol when i press it, it don't go to the label on the stage called "mylabel"
What i need to write if i whan that my button inside anoter simbol work?
View 2 Replies
ADVERTISEMENT
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
Aug 6, 2013
I have a symbol called Rectangle and a text field called Counter on the stage. Inside the symbol I have another textfield called Counter2. For the .click event of the symbol I have:
sym.setVariable("checker", "1");
sym.$("Counter").html(sym.getVariable("checker"));
sym.setVariable("checker", "0");
sym.$("Counter2").html(sym.getVariable("checker")); //error here?
But I noticed that only Counter is being changed and that Counter2 was not targeted. How do I target Counter2 without having to move it to the main timeline?
View 3 Replies
View Related
Sep 12, 2013
I have a parent symbol (symbolA) that contain another symbol (symbolB). when I click on the inner symbolB, I want to make it switch with a third symbol (symbolC) always inside the symbolA.
View 4 Replies
View Related
Oct 13, 2013
I saw a post on this issue but was not sure where to put the code I read there. how exactly to edit this code line to work
I am inside a symbol "oneAnimation". At the end of the animation "backBtn1" appears. Inside this button, I have added an event on click. I want the stage timeline to play from the label "startNumber" when this button inside the symbol is clicked.
So far it's not jumping back to the main time line.
sym.getComposition().getStage().play("startNumber");
View 5 Replies
View Related
Nov 13, 2012
I've created an adaptive container on my main stage. It calls 2 symbols "layout1200" and "layout800".
These symbols have pretty basic functionality, and that works inside the symbol.
So dropping the layout symbols directly on the stage, the functionality works fine.
But calling the layout symbols through the adaptive container, it no longer works.
I've even converted the adaptive container into a symbol, to call that symbols first.
Link to archived work files:
[URL]
Link to html doc:
[URL]
View 20 Replies
View Related
Jan 31, 2014
I have a top banner for a website - the website is fully made in Edge.
The banner is 540px high, and 100% width. (Stage width is also set to 100%)
Now inside this banner, I want a large image to show.
The center of this image should correspond to the center of the banner.
The width of the image should be 100% of the banner. (Hence 100% of the browser window).
The height of the image should remain proportional to the width of the banner, i.e. no distortions. (Was using auto before)
The overflow should be hidden. (So basically the image is always 100% width of the browser window, and the height overflows both both up and down).
Somehow in ver 3 of Edge Animate I can't get all these options to work at the same time - can't use 100% width and auto height for an image anymore.
View 3 Replies
View Related
Feb 22, 2013
I'm working on this study and I need to change the color of an object inside a symbol when I click another object.
The object is called "bola", wich is inside the symbol "ponto" and the clicking object are the colored pencils (each pencil should change the color of the symbol's object, giving the impression you'd selecting a different pencil to draw).
I think it's simple to understand what I mean when you see the files.
I already tried this line on click event of the pencils, but it didn't work:
sym.getSymbol("ponto").$("bola").css("color","#123456");
I would like to improve the experience of drawing as well. I made it with the "mousedown" event. Is that a better way to get a similar effect?
View 14 Replies
View Related
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
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
Jun 13, 2013
modifiy, for example, scale and position of that element calling it from a button
View 1 Replies
View Related
Apr 16, 2013
I created a simple symbol from a circle with a cross inside (two rectangles). The symbol has two states labelled "normal" and "over" in which background colors change : on mousover and mouseout on the circle, sym.stop("over"); and sym.stop("normal"); respectively.
The problem : "over" when the cursor hovers over the circle, but back to "normal" when it hovers over the cross. The API suggests to use mouseenter and mouseleave to avoid child elements of the symbol interrupt the mouse event. I tried it, but the behavior is the same.
Is there any JavaScript solution (I'm a beginner, coming from AS3), or should I bypass with two flattened graphics "normal" and "over" ?
View 2 Replies
View Related
Jan 14, 2013
1st the setup:
General map is loaded
2. On a click event, an larger image of the region is loaded with the following code. On mouseover the name of the county appears and on click a popup (symbol) shows some info.
$('<img id="region1" width="310" height="475" src="images/region1.png" usemap="#region1">'+'<map name="region1">'+...
'<area id="Dallam" shape="rect" title="Dallam" coords="29,17,97,58"/>'+.....
3. In the popup symbol, I want the large image map to be remove on the click event of the button: "View another region" . I have the following code which does not work (the image is not removed) resulting in what you see below:
sym.playReverse();
sym.getComposition().getStage().stop(0);
sym.getComposition().getStage().getElementById("region1").remove();
how do I remove the image (large image of the region in purple here loaded as described on 2.)?
View 4 Replies
View Related
Mar 29, 2013
I'm trying to show captions when the user clicks on a button (captionButton) symbol. All permutations below work for showing the captions but none of them work for showing the button ever again, though it does hide the captions.
// compositionReady script
var captionBar = sym.getSymbol("captionBar");
var captionButton = sym.getSymbol("captionButton")
sym.$("captionButton").css('cursor', 'pointer');
[code]....
View 2 Replies
View Related
Sep 19, 2013
Got a nested symbol. Rather simple one. Inside the symbol is a background rectangle and a text field. When I click a button, it should insert the HTML I give it from the click event.
Now initially I did this by just using the text field by itself. No nesting. This is the code:
sym.$("copy").html("Edge Rocks!");
OK, success! The text loaded just fine.
Now let's insert that text field inside of a symbol. And let's call that symbol 'content'.Now I try....
sym.$("content").$("copy").html("Some new text");
Result? Nothing.
Tried using stage instead of sym and even added a var stage = sym.getComposition().getStage() statement before that. Nope.
View 8 Replies
View Related
Oct 21, 2013
It does not respond to mouseover movements.
You can see what I try to do on this URL: [URL]
Fore each button I have e.g. client_button and client_button_over
For the over button I do have for mouseout and touchend :
// insert code to be run when the mouse is moved off the object
// Hide an Element.
// (sym.$("name") resolves an Edge Animate element name to a DOM
[Code].....
But it does not show any change at all when I move the cursor.
View 10 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
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
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
Dec 13, 2013
I am including an animation I built using Edge Animate into Dreamweaver. I can't use an .oam file because of some other JavaScript I'm using so basically I'm limited to an .html file with all my edge includes java, and other supporting files.
when I preview in browser within dreamweaver. However, when I upload the page to my domain, my animate HTML file won't work. Here is a link to the current site in progress. (The first green box top left is my link to my animation). URL....
View 2 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
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
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
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