How can I get the sum of my variables and display the total?
I wrote on a quiz and have each button by setting a variable, example: http://www.kreativitydesigns.com/Clients/Globus/Monograms/MBA_Test/deliverables/MBA_Quiz.h tml? mode = preview
However, when it hits the frame of "Rank" to calculate and display the total, it does not appear.
I do not have the text box named "Grade" on stage and variables have all received a value before entering this framework
Here is the code used to calcualte and output the result:
get the value of a variable and store
var FinalScoreHolder is q1 + q2 + q3 + q4 + q5 + q6 + q7 + q8 + q9 + q10 + q11 + q12 + q13 + q14 + q15 + q16 + q17 + q18 + q19 + q20 + q21 + q22 + q23 + q24 + q25 + q26 + q27 + q28 + q29 + q30 + q31 + q32 + q33 + q34 + q35 + q36 + q37 + q38 + q40 + q39;.
View rank
SYM. $("Grade") .html ("you scored" + FinalScoreHolder + "%");
See the result Page
If (FinalScoreHolder > = 89) {}
read the chronology of the given position (ms or label)
SYM. Play ("Pass");
} else {}
read the chronology of the given position (ms or label)
SYM. Play ("fail");
}
Any help would be greatly appreciated.
Thank you!
Your code is fine, but it seems that he can not do the values of your questions because if you put the values as below I get the expected result.
Q1 = 20;
Q2 = 63;
Q3 = 12;
get the value of a variable and store
var FinalScoreHolder = q1 + q2 + q3;
View rank
SYM. $("grade") .html ("you scored" + FinalScoreHolder + "%");
See the result Page
If (FinalScoreHolder > = 89) {}
read the chronology of the given position (ms or label)
SYM. Play ("Pass");
} else {}
read the chronology of the given position (ms or label)
SYM. Play ("fail");
}
Tags: Edge Animate
Similar Questions
-
How can I get the total of the process numbers with agent of transformation on solaris?
I know that there is a rule that can tell us how much we have a server zombie process specfic. So my question is that how can I get the total number of the process through a rule?
Thank you much for the Golan!
Best regards!
-
How can I get the total number of pages printed on my LaserJet 3055?
I have a nice 1012 LaserJet that is not supported in Windows 7, but there is a solution which is to set up a Vista driver as if the printer is a LaserJet 3055. It works, even if sometimes I get a printed statement that it does not work, and when that happens I just turn off the printer and turn on again immediately and it is fine. I would like to know if there is anyway I can get the total number of pages printed at some point, as I could with the LaserJet 1012.
P.S. This thread was moved from software for Laserjet. -Hp moderator of the Forum
Please ignore my post on the LaserJet 3055. With the help of a good soul on another thread of discussion, I was able to install and operate my LaserJet 1012 printer on Windows 7, exactly as it did in XP. No errors, no slow printing, no problem. The LaserJet 3055 thing helped initially as a work around, but the message about the bad personality who stopped the printer until you turned off and turned it back was boring.
-
How can I get the total amount of keyframes in the timeline
I'm building a very simple, single timeline based resource. I want to be able to count the number of pages and display the page number, I'm sure. The resource uses sym.stop (); on the timeline, and the sym.play(1000) () attached to a button. The idea is that I have 2 global variables. 1 that updates the progress of keyframes 'pageNum' and one that calculates the total number of pages (keyframes) on the timeline 'totalPages '.
"pageNum" is very good, simply a case of incrementing the timeline progress, as I have, but I'm stuck on getting the total number of keyframes. Of course, in the code pane I can look through and count the number of functions "Trigger XXXX @ ms", but can I get the code to do it for me?
See you soon
SeanHey,.
It is ok. I thought about it, although it is very ugly.
totalPages = 0;
convert the file edgeActions.js to a string
$.get ('myAnimateProject_edgeActions.js', {function (data)})
var data = dataAsStr;
Look in the 'Editing by default' file as this defines where the triggers are
var match = dataAsStr.match (/ default Timeline/g);
get the length of the returned array
totalPages = match.length;
});
If there is an easier way, I'd love to hear, or if people think this way could throw up problems. In the meantime, this will make numbering pages much easier and works for this project
Thank you for your ideas resdeign.
-
How can I get the messages appear when sent even if my phone is locked. I only get messages across when I activate the phone
Settings > Notifications > Messages > display on the lock screen
-
How can I get the iMovie video files in the photo library?
How can I get the video files of "iMovie - bibliotek.imovielibrary" in the photo library?
Is to select your library from the libraries pane and choose my brackets at the top of the screen. Then select the clips you want and share file on the desktop. Then import in photos.
-
My update to Apple Watch has suspended how can I get the update?
My update to Apple Watch has suspended, how can I get the update?
What do you mean by "break"?
-
How can I get the AirPort Express 1 utility generation? I lost mine.
How can I get the AirPort Express, the utility of 1st generation? I lost mine.
Open the App Store on your device, then press Search at the bottom of the screen.
Then type: airport utility in the search field of the screen top.
-
How can I get the update iOS 9.3.5?
How can I get the update iOS 9.3.5?
Settings > general > software update
-
All my old tabs are missing after a crash. I chose "view my tabs, windows and last time ', like the start option. Many unwanted changes in tab management happened recently. For example when I close a tab in a window of the two tab, I see a blank screen (see picture). Preview display seems to be broken (see attachment). How can I get the old behaviour back?
After researching the issue, it seems that the problem was a problem of NoScript configuration. After restoring NoScript to the default values, the tab number disappeared.
Thanks for your help.
MELL-
(~ J99) Also note
mellpell said
Looks like it's a known problem with Image Tweek:
http://forums.mozillazine.org/viewtopic.php?p=14029673#p14029673
https://github.com/CAFxX/ImageTweak/issues/37
https://github.com/CAFxX/ImageTweak/issues/40 -
How can I get the message from thunderbird to stop coming when I opened my email?
How can I get the message from thunderbird to stop coming when I opened my email?
Press the alt key to make the call of menu bar
Select Tools-Options-general
Disabled the Start Page -
When I try to manually associate my watch it only gives me a 5 digit number, but not the number 6 to complete the pairing. How can I get the 6 digit number?
Hello
When pairing manually, you must press the name of 5 digits on the screen of your iPhone (when he shows the same device name that is shown on your watch, after typed it on your watch's 'i'):
Your watch then displays a six-digit code, you will then enter on your iPhone:
More information:
-
After a computer crash, I had to load Thunderbird (v31.3.0) in my computer running Windows 8.1, and I managed to import my address book backup file in Thunderbird (v31.3.0).
My problem is that I don't see an option to sort the address book by name of 'Family', which was available with the version of Thunderbird, I had before the crash.
How can I get the address book to sort by the name of "family"?"Address book".
Select address book
"View' > 'Show name as' > last/first". "You can sort by name.
Click on the 'Name' column header to change the sort order,
Reversed, then click on the 'Name' column header again to reverse the order.Or
'View' > ' sort by ' > select 'Name' and 'Crescent '. -
I am trying to sync my iphone to my computer via i-tunes soft ware. It does give me an option for the phone device. How can I get the phone icon in the menu bar?
Mac or Windows?
-
How can I get the tabs colorful to use different distinct colors for 2 gmail accounts?
Under Firefox 29.0.1 iMac OSX 10.9.3. I have multiple Google accounts: 2 1 Google Calendar and gmail accounts. Colorful tabs add-on will allow me to choose a color for a gmail account, but it also uses this same color for the other gmail account. How can I get the different colors on 2 gmail accounts?
In addition, colorful tabs is also the same for my homepage (google.com) and my google calendar. How can I get different colors on these 2?
Personally, I use 'Fabtabs' for my mozilla FireFox.
https://addons.Mozilla.org/en-us/Firefox/addon/FabTabs/
This add-on has problems like that when I use it.
-
See above
I reinstalled Firefox Desktop, I downloaded my favorites of Carbonite, how can I get the current Firefox to accept?
You do backup your bookmark as a .json file?
Restoration of bookmark
Maybe you are looking for
-
My iPhone partners asking for my details.
Hi Fellow of Apple nuts,. I got my wife a new iPhone 6, she already had a 5 c that we used my ID to get all apps and the music I had on my account. During the passage to 6 we saved the 5 c to my iCloud and so moved this back up to the 6. My wife has
-
Hello We lost our Inbox on our email icloud We can send the email from the account but can't receive emails and our history of mails in the inbox has disappeared help please
-
I just realized my proposal is complete, some functions are not available and the 'Addition' content is gray to the someone can help?
-
I recently bought an iTunes card. I got an error that correctly says no Scanned.How, may only correct this answer please?
-
Satellite C650D-007 starts with a blank white screen
Hello world I need emergency aid, 3 weeks ago, I bought this new laptop from Futureshop.ca and now, today, I pressed the power button to turn it on and when it does I get this white screen of white. I even tried removing the battery and connect the A