Edge Animate CC :: How To Put Input Text To Other Text Field With Same Format
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
ADVERTISEMENT
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
Mar 17, 2014
What way can i read text from a text field on stage then put this value into a variable?
I can easily write text to a text field via:
sym.$("my_text_field").html("Some text...");
But I want to read this text into a vairable? For example:
var theText = my_text_field.text
View 1 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 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
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
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
Oct 15, 2013
So I have created 2 text fields via composition ready
$("<input type='text' value='' name='input1' id='input1' size='5'>").appendTo("#Stage");
sym.$("#input1").css({"position":"absolute","top":"70px", "left":"52px"});
$("<input type='text' value='' name='input2' id='input2' size='5'>").appendTo("#Stage");
sym.$("#input2").css({"position":"absolute","top":"90px", "left":"52px"});
input1 AND input2.
The user then puts a number in each field.
I have a 3rd field created to hold the answer. I also made a text field with the name "scorefield" to see if that would work, either will do.
Then on a button on the stage, the user clicks on it to add those first two numbers together and have the sum appear in the 3rd field or the text field that has the symbol name "scorefield".
However I can not seem to be able to add the 2 values of the text fields. On the submit button I have:
var number1 = $("#input1").val();
var number2 = $("#input2").val();
var additionresult = number1 + number2;
sym.$('scorefield').html(additionresult);
answer1.value = additionresult;
The problem is that it is NOT adding number1 and number2 together!
If I substitute + for - or / or * it works using those symbols, but if I try to use the plus sign and add the two, it does not work and instead physically adds the numbers next to eachtoher.
So If I were to put a 5 in field one, and a 2 in field 2, the result comes out to be 52...instead of adding the two values, it places them next to eachother.
I know those ARE numeric values because any other mathamatical sign works. I can multiplay, subtract and divide those two numbers. I can even check to se if its higher or lower of a value using > or <.
But when I use the + sign, it breaks.
Is there some other sign I must use to add two values?
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
Jun 11, 2013
Illustrator CS6. Is there a script that inputs in a text field the width and height of an object. I do proofs and for a printing company and we always have to write the size of the artwork for the customer to approve. It's easy to do, but when you do 100's a week, it gets old and annoying. I do scale the image down to be visible on 11x8.5. I would think if there is a way to input the size of artwork, there would have to be a way to write the script so it can multiply the scaled down artwork for proofs to the actual W and H of the object. If the art is 13"W x 20"H and I put it on the proof at 10%, I want the script to input in a text field the 13"W x 20"H.
View 1 Replies
View Related
Mar 3, 2013
I have created my Animation:
The stage size you see above is H: 400px, W: 550px.
I would like for the stage to be smaller, say H:50px./W:400px
Ok so if I change the size of the stage the animation text will not show, so I need to adjust the position of the text in order for the animation text to be visible, but in doing that, I am disrupting the timeline and the animation goes all funny, is there another way of doing this without disrputing the timeline?
View 1 Replies
View Related
Nov 22, 2013
Is it possible to get the text color to FadeIn or the opacity of the text color to animate with the lines of code below? I simply want the color to fade in when the mouse rolls over the text.
Symbol.bindElementAction(compId, symbolName, "${_writing_btn}", "mouseover", function(sym, e) sym.$("writing_btn").css("color","#88ACBE");
});
[Code].....
View 1 Replies
View Related
Aug 7, 2013
I have many texts fields in my drawing. I need edit the format of all field. e.g field - 1030.60 convert to - 1.030,60 Is there any lisp doing that? I mean, select multiple field and change it.
View 3 Replies
View Related
Feb 13, 2012
How to plot a survey drawing with field data in text format, (using Autocad 2008, so that the point number and XYZ coordinates appear on the drawing.
View 1 Replies
View Related
Jun 17, 2013
I am facing one problem to adding color in one text box.
For Ex i am writing a text in one text box - "Adobe edge is the best tool for creating html 5 animation".
i need adobe edge red color and html 5 animation blue color and other text color will be black.
Is it possible for adding mutilple color in same text box.
View 6 Replies
View Related
Feb 1, 2013
I have designed a C# application to To Print I Cards Of School. Here I am sending data from my application to a CDR FILE (Already Created ) Which Contains ADDRESS Text Field..Now I Need to Print Address(which contains 60 characters or more) on this Text field .
I Have Used The following c# Code.. To Replace Address text field that contains text 'Address '.....
s.Text.Replace('Address',"Text To be replaced .......")...here s is Active shape...
This Works Fine But How can i WRAP TEXT....of Address field.
View 2 Replies
View Related
Mar 26, 2013
I'm using Animate to create a lesson/course and I would like to be able to click on a word in the text and have a new text box open with a definition/explanation of the word clicked. Is there a way to do that in Animate? I haven't been able to figure it out.
View 3 Replies
View Related
Jun 14, 2013
This is the first time I have used Edge Animate..I have created a simple line of text that fades in from left to right. In chrome, the HTML file looks great. I FF and IE, the last part of the line of text is missing!
View 1 Replies
View Related
Oct 17, 2013
I have an SVG file with text inside, if I open the file in the browser I can select the text, but when I import the file to Edge Animate and then exported as html I lose the ability to select the text with the web browser.
View 1 Replies
View Related
Jan 16, 2014
I am working on my first Animate project. The project has several screens with short paragraphs of text on each screen. Within several of the paragraphs, I need to set up multiple links rather than linking the entire text box to one URL.
If it can't be done, I can set up transparent boxes with the links to sit on top of the text - not the best way to do this but it seems to work. In that case, is there an easy way to "stop" the link just before the user moves to a different place in the timeline?
View 3 Replies
View Related
Sep 17, 2013
I just need to create a simple animation to be dropped into a MUSE creation and I think Edge Animate is the right way to do it. For the life of me I cannot figure out how.
Basically, I want to create a simple animation to explain the dimensions of a product. A line with arrows on both ends would grow to the length of a line drawing symbolizing its height for example.
Accompanying that would be a text box that I would like to simply count up from 0.0" to 3.5" for instance. how do I dynamically update the text from 0.0 to 3.5 across a 2 second animation in Edge Animate?
View 8 Replies
View Related
Oct 30, 2013
when I import a project .oam in InDesign, and over the project, into a higher level, there is text, the text is covered from the animation when it run in folio.
View 1 Replies
View Related
May 19, 2013
I'm having a bit of a problem getting my text to behave the way I want. In Straight HTML (CSS) I can create a inline block div, place text in it and the text stays in the div, returns when it needs to at the end of the DIV, and expands the bottom/height of the div to fit text.
I can't figure out how a to get that same effect in animate. Can you do this with settings or do I need to code the Css into the div?
View 2 Replies
View Related
Jul 31, 2013
Is it possible for text or an object to overlay another object that is interactive but not inturupt the interactivity of the object below? As if the the text interactivity was trasparent.
View 2 Replies
View Related
Aug 28, 2013
I published my Animate composition and inserted it into DW. Animate added "edgeanimate_assets/menu" to all of my button links so they don't work. How can I prevent that from happening?
View 1 Replies
View Related
Feb 21, 2013
I've tried the following: resVel = window.document.getElementById("txtVel").value;
this normally works in javascript, but crashes when using that line in the actions for a trigger.
View 1 Replies
View Related
May 28, 2013
Right path to code a slideshow of 5 messages/captions which is looped??
all the messages are taken from a json file, I need the loop to be 3 messages long i.e. 1, 2, 3 start again then 4, 5, 1
View 27 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
Feb 3, 2013
I have built a product walk through demo using edge animate, in this demo i have set stage to percentage but when i see my demo in ipad, the text remain its original size .
how to set text according my stage persentage.
View 7 Replies
View Related
Nov 20, 2012
Are there any good tutorials on reading/parsing text files and databases out there? I've been looking around, but I can't really find anything.
View 12 Replies
View Related
Jul 12, 2013
How can I set to bold a single word in the text box? When I try, it puts the whole text bold.
View 2 Replies
View Related