Edge Animate CC :: Insert JQuery HTML Into Text Field Nested Inside Of Symbol?
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
ADVERTISEMENT
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
Dec 17, 2013
So I created my own subscription form, I have it appear and disapear when you are on the button. And when you click on it, it stays. But how can a put in an action to add text to it?
View 5 Replies
View Related
Dec 15, 2012
'm trying to get the properties of the symbol and a text field on the stage. And I can get the width and the height of them by this script below.
-----------------------------------------------------------
var temp = "";
temp += "Width of the symbol " + sym.getSymbol("mySym").getSymbolElement().width() + "<br />";
temp += "Height of the symbol " + sym.getSymbol("mySym").getSymbolElement().height() + "<br />";[code].....
And now, how can I get position(x,y)?
Are there any web sites that shows the list of the properties?
Because I'd like to know other properties too, like rotation , opaque , show/hide, etc.
View 4 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
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
Apr 18, 2013
I have two buttons
btnA on the main stage
btnB is nested inside btnA
How do I access a frame lable on the main stage from btnB
View 6 Replies
View Related
Jul 11, 2013
I want to use an iframe construction into my edge animate document. Edge animate *.oam file's planned to be used into inDesign DPS-folio. There is an iframe like <iframe src="local.html"></iframe> in that.
View 2 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
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
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
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 7, 2013
Edge Animate project produces 4 default framework files right now: Edge API, jQuery, jQuery Easing and JSON. Gzipping them we got 60KB of pure JS compressed and minified code. After that we have actual project files which can be compressed into around 20KB but this really depends on a project. So finally we have around 80KB of JS code without images, styles yet. This is acceptable for broadband connections but looks a bit too large for mobile devices.
Is there any way to minimize dependencies on jQuery so that framework will be at least 30KB? Smaller is better in this case.
I'm evaluating Hype by Tumult at the same time and framework JS produced is 16KB compressed and minified. It's 4 times smaller (60KB of Edge Animate). It doesn't contain IE-compatibility though but I don't seriously care about IE 6-9 as mobile is primary target for me so Webkit.
View 11 Replies
View Related
May 14, 2013
I have a textfield nested in a symbol and am using an Adobe web font (droid-sans). When I change the text inside the textbox with something like the following:
sym.getSymbol("captionButton").$("textBox").html("Hide Captions");
the fontFace APPEARS to go to some other sans font and seems bold from that point forward. Do I need to reset all the css properties of the fontface every time I change html text in a textbox.
View 3 Replies
View Related
Jun 28, 2013
I have a Edge project I would like to add a simple html to, which consist of many simple text divs. Is this possible?
I also have the block of div codes if I can just insert that instead .
I opened the html file in edge it shows as many separate divs. I can select but cannot copy to another edge project where I want it .
can I convert it to symbol, or can a html file be turned to a symbol?
can i group div them?
can i add it by editing the .js file and creating and ID?
So i instead opened the edge html in DW CC where I can copy the code and paste the div's over. it previews right. except the location and it covers all frames on the timeline (I only need it in one part of the site). So then i tried Muse as a html insert but i lost a lot of edge attributes. fail!
I'm trying to avoid rebuilding all the text divs in edge.
Question is:
what is the best way to import, or reuse html in edge ?
View 7 Replies
View Related
Jun 19, 2013
Just wondering if I can update the jQuery Library in Edge 1.5. It uses 1.7.1 and I know 1.10 is out. Can I do this or do I stay with 1.7
View 3 Replies
View Related
Feb 27, 2014
have made draggable and droppable objects in my project. Everything is working great but also i have made a button Restart. The function of restatrt is that by pushing on this button everything goes on its places. Like reloading the page (but of course without reloading) How can i do this? Because i cannot do anything honestly.
View 6 Replies
View Related
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
Apr 30, 2013
Possible to have pullout tabs with content working inside edge?
View 10 Replies
View Related
Dec 13, 2012
I can create symbols on the stage using "sym.createChildSymbol" command. But how can I cretare textFields with script?
View 2 Replies
View Related
Aug 15, 2013
I have a project in Edge with a couple of screens as symbols on layers in the main timeline. I've been trying to write a function in the global scope that I can call from all the buttons, to show and hide screens.
So far I have a function that looks like this:
function mainScreenOut (){
sym.$("screen1").hide();
}
But this and many variations don't seem to work. how to use these jquery commands properly?
View 5 Replies
View Related
Mar 18, 2014
I'm new to the Edge Animate and I have been working on a project that requires text input. The code does not 'recognise' the value entered into the input field. The action is quite straight forward, Correct Answer (360) play label 02, Wrong Answer play label 03. Ideally I would like allow three attempts.
var answer = sym.$("answer");
answer.html("Answer 1");
inputAnswer = $('<input />').attr({'type':'text', 'value':'', 'id':'answer'});
inputAnswer .css ('font-size', 14);
inputAnswer .css ('width', 150);
inputAnswer .css ('background-color','#ffffff');
inputAnswer .appendTo(answer);
[code]....
View 10 Replies
View Related
Jun 14, 2013
We need to put a text field (email address) and be able to read the contents. I already have the code to send the email, I just need to get the value the user puts in as well as allow the user to enter data.
View 3 Replies
View Related
Jul 19, 2013
I've created an input text inside a symbol called "Asks" in a timeline triger i use:
message = sym.$("texto"); // texto is a textfield
message.html("Write here: ");
inputMessage = $('<textarea />').attr({'type':'textarea','value':'', 'id':'message'});
inputMessage .css ('font-size', 18);
inputMessage .css ('box-shadow', '#0a81fb');
[Code] ......
View 7 Replies
View Related
Jul 25, 2013
I want to have some kind of collision-detection within two symbols. So when one symbol collides with another there will appear be text like "squash" or something.
I haven't found anything about collision-detecting in edge animate, but I thought I could handle it with looking for the same css-parameters of both symbols. Obj1 is moving to Obj2 on a motion path. Now I want to have a Text, when it reaches Obj2.So I tried it like this:
var positionobj1 = sym.$("obj1").css("left");
var positionobj2 = sym.$("obj2").css("left");
if (positionobj1 == positionobj2){
sym.play("Text");
}
View 1 Replies
View Related
Apr 4, 2014
I have create a small Edge Animate animation that I'm trying to add to our home page. After getting everything running and working properly in IE9+, Chrome, Firefox and Safari I moved it from the development environment to our live site. Then I viewed it on an older machine running IE8 and the down level stage worked great, but it disabled a jquery image slider and a little custom jquery script I wrote to polite load an embedded youtube video. The only cusomization I did to the edge files was to remove the loader for the included version of JQuery so that it would run the on I call from Google instead. This prevent intial conflicts between already existing jquery elements on the page.
View 2 Replies
View Related
Feb 4, 2014
I have done the lesson 5 in Adobe Edge Animate Classroom in a Book and everything went well up to a point. When I edit the text for the drop down moreinfo symbol it changes the text for all of the slides. How do I make the text individual to each slide?
View 8 Replies
View Related