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?
I'm working on a game in Animate that tracks several scores at the same time – six, to be exact. There are six personalities in the game, and the player's actions determine the positive or negative score displayed to each personality.
The player is presented with a situation and their action effects their score with one or more of the personalities. I'd like to know how to set a text field to change by a negative or positive value (not just changing to a specific number), based on which button the player chooses. I've created symbols for each of the six score fields, each one has a uniquely named text field inside the symbol.
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.
I have made an animation that after it completes, it displays an iFrame which has some input fields. The input fields behave great on a laptop pc or mac but when I use an Apple iPad, the cursor positions are way off outside of the input fields as I type.
Here is the website page: URL...Here I have the same iframe, one inside of edge and the other outside of edge. Both work fine on a pc or mac but if you try to use an Ipad, you will see that the edge one shows the input field cursor down and outside of the input field.
You can see for yourself, I have set this up for you to test and see this error.The animate oam file is: URL....
Here is a link to the edge files, the .an and java files files: URL.....
I'm working on a project with drag and drop and im using jqeuryui for that.but i want the user to be able to drag a photo to the page and that it apears on the page in the browser ( no fancy upload but just client data)and also a button to "upload it" but just also using data ( i dont want to use node.js or any database for this project.)
so just a dragged photo from desktop to browser and let that attend a div, and a input button to upload a photo and let that attend a div.all simple local.
I am trying to turn XML data into a number that I can use in formulas in Animate. I have successfully retrieved the info from the xml file into the text on the stage. My problem is that I need to have the value of the imported data to be a number so that I can do future calculations with it, like add the two numbers together to make a new variable total. I have racked my brain reading about XML, spent several days trying obvious solutions to no avail, and yes I am new to coding although I have thoroughly tried many options.
-----IMPORTING AN XML FILE "textimport.xml" <?xml version="1.0" encoding="UTF-8"?> <mediansaleschart> <figureone>20</figureone> <figuretwo>10</figuretwo> [code]....
What is the maximum number of elements I can have in the timeline? I believe I have about 92 elements now and when trying to add another element it shows up at the top of the elements panel, but isn't showing up at all in the timeline?
I have tried converting some elements to symbols or grouping elements but still the new element I've added to the stage is not showing up in the timeline. I am not EVEN done adding more elements.
I need to add a clickTag type function to a banner I made so that it can be tracked. I read the thread on clickTag() and it tried swapping clickTag() with EB.clickthrough(). but that didnt work.
The media company has us put this code on a click through layer in the flash banners I've been making
EB.clickthrough();
how do I get this to work? The publisher gave me this code that ive added to the index file but the part where it says "onclick" I think needs to happen in edge?
<script type="text/javascript"> function initEB(){ if (!EB.isInitialized()){[code]....
how in edge to tell it to do this "onclick="javascript:handleUserActionButtonClick();"
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.
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?
I am wanting to get a separate block to load if a third number is entered when prompted. If enter is hit or only 2 of the numbers are entered, load the other block. I couldn't even get it to do right by even equaling a specific number.
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?
I am using ilogic in Inventor 2011 to update my iproperties when I save a .dwg file. I am having problems with some custom iProperties I have created that are of the type 'number' and are initially set to 0 (zero). After the iLogic rule has run and the user has entered a numeric value the type of the custom iproperty has changed to 'text'.
The ilogic code I am using is:
If iProperties.Value("Custom", "Nominal ID") = 0 Then iProperties.Value("Custom", "Nominal ID") = InputBox("Enter The Nominal ID (Enter 0 if no value is available)", "Nominal ID", 0) Custom_iProp_Nom_ID = iProperties.Value("Custom", "Nominal ID") End If
I am using Vault 2011 and would like to map this property to a numeric property so I can perform <= and >= searches.
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.
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!
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.
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?
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?
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.
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?
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.
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?