Looking 4 kglad's help (again)...

Hey,
Sorry to come to this but I was doing fine up until this point with some previous coding you helped me with so I knew I had to come back to you.
This is basically the same thing you helped me with a little while ago with all the fields laid out and a field was an input field and the rest displayed numbers based on what was input into it.
So, now I have this setup:
     Monthly               Weekly          Bi-Weekly
        tf1                         tf2                    tf3
     Weekly               Bi-Weekly          Monthly
        tf4                         tf5                    tf6
     Bi-Weekly             Monthly            Weekly
        tf7                         tf8                    tf9
Therefore, tf1,4, and 7 are all input text and the rest are dynamic.
This one should be easier but I can't seem to make the right adjustments to the code you gave me before.
tf1 gets inputted and tf2 and tf3 should display info/numbers based on that input info (also tf4 and tf7 respectively should reflect their inputs to the right).
This is the code I'm trying:
tf1.addEventListener(Event.CHANGE,f1);
tf4.addEventListener(Event.CHANGE,f2);
tf7.addEventListener(Event.CHANGE,f3);
function f1(e:Event){
tf2.text=String(roundF(Number(tf1.text)/4,2));
tf3.text=String(roundF(Number(tf1.text)/2,2));
sumF();
function f2(e:Event){
tf5.text=String(roundF(Number(tf4.text)*2,2));
tf6.text=String(roundF(Number(tf4.text)/2,2));
sumF();
function f3(e:Event){
tf8.text=String(roundF(Number(tf7.text)*2,2));
tf9.text=String(roundF(Number(tf7.text)*4,2));
sumF();
trace("TL "+this,this.name);
function sumF(){
trace("F"+this,this.name);
if(!isNaN(Number(tf1.text))&&!isNaN(Number(tf4.text))){
for(var i=1;i<=4;i++){
this["tf"+(i+8).toString()].text = String(roundF(Number(this["tf"+i.toString()].text)+Number(this["tf"+(i+4)].text .toString()),2) );
function roundF(n:Number,places:uint):Number{
var f:Number = Math.pow(10,places);
return Math.round(n*f)/f;
So when I try it out it gives me these errors:
F[object MainTimeline] root1
TypeError: Error #1010: A term is undefined and has no properties.
at SPA02_fla::MainTimeline/sumF()[SPA02_fla.MainTimeline::frame1:54]
at SPA02_fla::MainTimeline/f3()[SPA02_fla.MainTimeline::frame1:36]
I'm sure you can figure it out but, I cannot.
THNX

that sumF() function isn't correct.  you're trying to assign values to textfields tf9,tf10,tf11 and tf12 and you don't have textfields tf10, tf11 and tf12.
in fact, it doesn't look like there are any textfields that should contain a sum.  that's different from the last thread i saw of yours.

Similar Messages

  • I could not update my apps on my phone this morning,it told me my account was locked for security reasons ??to vist iforgot and reset my account and its looking for all my details again ,i have credit in my account,can you help

    i could not update my apps on my phone this morning,it told me my account was locked for security reasons ??to vist iforgot and reset my account and its looking for all my details again ,i have credit in my account,can you help

    Apple ID- "This Apple ID has been disabled for security reasons" alert appears

  • News "FLASH"... Nancy O (the legend) ... i need help again

    I am trying to put a banner on my website for my exam.... It will have to have an image with logos flashing across and stopping for a few seconds before carrying on.and out the other side.  I have looked up everywhere to see how this is done but with no joy. There is lots of info out there but it is not working for me.  In Flash i have no problem creating a banner image with various logos moving  from one side to the other or even changing the image from one shape to another or bouncing it up and down the stage from one side to the other. I can even stagger the timelines for the logos to make them enter one after the other. The one thing i can not get to grips with is making the images stop or pause after they have entered from one side before exiting  the other side. I have followed step by step many  youtube tutorials but the authors are wizzing through them too fast and despite folling every step second by second, i  am missing a vital step somewhere.   Would someone please let me know step by  step (and please assume i am an idiot when doing this) the sequence i must follow from the very begining to the last step when i publish.

    Noooooooo........ When i saw your email notification i had high hopes of getting the answer i have been trying to work out for two days....but no problem ..your still a legend ha ha ... you got me out of a big hole in this project the last time... but thanks for taking the time to reply, i will try the other forum.
    Date: Thu, 26 Jan 2012 17:28:18 -0700
    From: [email protected]
    To: [email protected]
    Subject: News "FLASH"... Nancy O (the legend) ... i need help again
    Re: News "FLASH"... Nancy O (the legend) ... i need help again created by Nancy O. in Dreamweaver - View the full discussion
    You'll get better answers in the Flash Forums for whichever Action Script ver you're using.
    Sorry.  I don't do much Flashy stuff anymore.  As far as I'm concerned, when Apple iDevices quit supporting Flash, it became a dying web technology.  
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4167793#4167793
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4167793#4167793. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Dreamweaver by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Looking for friends to help me get over a breakup

    PSN  MAGIIK-STICKZ  Hello All, This is very embarrassing and quite silly that I have to do this really. It's scary that I have to turn to the Internet to look for friends to help me in this time of need. In the beginning of the month my girl friend left me, we was together for 4 years, we had our ups and downs but we always remained strong. She told me she wanted to be with me forever and I wanted the same. I've only just turned 19 so this was my first relationship. Don't want to get into too much details why she left me, but I will tell you that she has already moved on after only leaving me for a month. The pain hurts so much and I'm trying to move on because I can't... Because I have no friends... I mean I have friends but they're definitely not the ones you can count on in this situation. They're more "Gym Bros" I believe if I can find people to group with, play games with, literally just talk to that would be amazing for me. I just needs things to take my mind off of her and I believe talking to new people will do that. We don't even have to play games, I'm very open to you just in-boxing me on PlayStation to socialize.  I'm opened to both males and females but if there are any females you would be helping a lot! I cut off all female ties for her for 4 years and now I have no female acquaintances so It would be nice to get experience talking to other females again just to boost my confidence back.  I understand what I am asking for might sound like a lot, and I definitely understand how needy I sound, but this was my last resort of trying to get over her as quickly as I can. I've been in a really really REALLY Dark Place for the past month and I can't take it anymore.  My psn/PS4 is MAGIIK-STICKZ  Inbox me and I will be forever grateful ! 

    rancidpunk wrote:
    Shuffles slowly away, no, no, no me and Mrs Rancid haven't been engaged for more than ten years without tying the knot, no, no, no, honest. Hey at least you got engaged, that took me ten years (dont let Sooz know)  Friends I can't help you with bud As for the forum and PS , as Sooz said there's here, and you might want to try some of the events http://community.eu.playstation.com/t5/Events/bd-p/bEN_CommunityEvents There's some good eggs around those folk that'll have you chatting rubbish on the mic within minutes  Heart breaks do indeed sux. Even some of the really short relationships can break your heart (I know one of my short ones did, proper knocked me about that one. Although now I see it as a positive turnaround in my life)  Hope one of us tools here will some how give you some cheer. Have a man hug   Oh ow, and just in case there's always the Cat Threadhttp://community.eu.playstation.com/t5/PlayStation-Off-Topic/Cat-Thread/m-p/15658225/highlight/true#M1060419 or Dogshttp://community.eu.playstation.com/t5/PlayStation-Off-Topic/The-Dog-Thread/td-p/16511247/highlight/true Although they get pretty deep in there. And the thought of being a lonely old man with lots of cats and a brown setee scares me way more  

  • I downloaded Firefox 3.6 and now my tool bar is gone. No back arrows, forward arrows, file, edit, view, history, bookmark, tools....how do I get my web browser to look like a regular browser again?

    I downloaded the new Mozilla web browser and I had a Bing homepage setting. I changed back to yahoo but I ever since downloading I dont have any back arrows, forward arrows, file, edit, view, history, bookmark, tools, address bar....how do I get my web browser to look like a regular browser again?

    For details of how to restore the menus see [https://support.mozilla.com/kb/menu+bar+is+missing]
    Once the menus are back, you can use the View menu, then select Toolbars and click on the names of the toolbars to toggle displaying them.

  • Help! I have an Adobe Premiere Pro CC 2014 sequence @ 59.94 fps and need to export the video as 23.976 but the video looks glitchy! Please Help!

    Help! I have an Adobe Premiere Pro CC 2014 sequence @ 59.94 fps and need to export the video as 23.976 but the final video render looks glitchy! Please Help!
    I made a new sequence at 23.976 and imported my 1280x720 59.94 video into the sequence... when i rendered it out it looks glitchy!
    my client is not allowing 1280 x720 59.94 video files they want 29.97 progressive,25,24,or 23.98
    Please Help what do i do! where did i go wrong! this is horrible omg!!!! please help!
    Thank you!

    Nice!
    In my export setting i switched the frame rate to 29.97 and it looks good to me!
    Thank you!

  • I have acquired windows office 2011 for my macbook but unable to open it. There are currently 3 files in the folder, 1 of which seems to be the actual program which is a hfs file. iv tried looking for programs to help me open it but failed

    i have acquired windows office 2011 for my macbook but unable to open it. There are currently 3 files in the folder, 1 of which seems to be the actual program which is a hfs file. iv tried looking for programs to help me open it but failed.
    when double clicking on the image it says unable to open and gives me the option to search the app store.
    any help would be much appreciated
    Adam

    Well, first, just make sure it's the Mac version and not the Windows version (which indeed would not run on your Mac). You say "Windows Office" which is why I mention it. I think you probably just mean "Microsoft Office" though.
    Next, is this on a disk (DVD), or did you purchase and download it from the Microsoft site?
    Matt

  • Help (again) with Average Script

    Hi Everyone:
    I have problems again with a script in calculation manager:
    I need to calculate the average of a member in one account across the year. For example, for Jan the average of Count_1 is equal to the value of Count_2 in Jan; for Feb Count_1 is equal to the sum of values of Jan and Feb from Count_2 divided for 2; for Mar Count_1 is equal to the sum of values of Jan, Feb and Mar from Count_2 divided for 3 and so on.
    I'm using the follow script:
    *"Count_1"=@AVGRANGE(SKIPNONE,"Count_2",@CURRMBRRANGE("YearTotal",LEV,0, ,0));*
    But this script is averaging bad, because what it does for January is to take the January value and divide by two, to sum the values in February January and February and divide by 3, to sum the values in March, January, February and March and divided by 4 and so on.
    How i can solve this problem and make a script that works?
    Thanks for your help again.

    Please, someone can help me???

  • Need Help again...

    Hi all...
    Really need help again this time...
    I am trying to do a web page and thought of placing 4 video
    clips into
    1 Loader...viewers can simply choose any of the videos they
    would like
    to watch...and all the video clips will then play in the same
    Loader on
    the exact X & Y values...Is it possible?
    eg. 4 Buttons with linking to 4 different video clips.
    When a video clip selected, play in a Loader of X and Y
    values.
    When another clip selected, play in the same Loader.
    Moca or anyone...please help me a.s.a.p...Thanks in
    advance...

    Does this happen to a wired computer or to a wireless computer? If it happens to a wireless computer ONLY but not to a wired computer, a firmware upgrade might not be necessary at all.
    Make sure your wireless settings are personalized, try using channel 11 and when you go to advanced wireless settings, try setting the beacon interval to 50 instead of 100.
    On how to do the things mentioned in the 2nd paragraph, open up IE and type on the address bar the numbers 192.168.1.1 (username leave it blank, password as a default is admin). Go the the Wireless tab.

  • Again same problem error 0xE8000003 pls help again i don't know it keep doing that

    Again same problem error 0xE8000003 pls help again i don't know it keep doing that please help with that

    Hello sartip fatah,
    The following article provides further information regarding this error, and steps to help resolve it.
    iOS: Unknown error containing '0xE' when connecting to a Windows PC
    http://support.apple.com/kb/TS3221
    Cheers,
    Allen

  • Re: help again please

    Check your braces for your 'if' statements. I don't think they are what you intended. You only update carmake if the car is a mercedes.
    Please use more descriptive subject titles. "Help again please", "help appreciated", and "just cant work this out" could describe 99% of the threads on this forum. Maybe something like "Why is this an infinite loop?" would be useful.

    import java.io.*;
    import java.util.*;
    public class TestPlan
       public static void main(String args[])throws FileNotFoundException
          Scanner inFile = new Scanner(new FileReader("c:\\praccc.txt"));
          PrintWriter outFile = new PrintWriter("c:\\cars.out.txt");
          String carMake = inFile.next();
          outFile.println("Enter make [* ends]:> " + carMake);
          int age = inFile.nextInt();
          outFile.println("Enter age:> " + age);
          int daysHired = inFile.nextInt();
          outFile.println("Enter no. of days hired:> " + daysHired);
          int kmsTravelled = inFile.nextInt();
          outFile.println("Enter kms travelled:> " + kmsTravelled);
          while(!carMake.equals("*"))
                carMake = inFile.next();
                outFile.println("Enter make [* ends]:> " + carMake);
                age = inFile.nextInt();
                outFile.println("Enter age:> " + age);
                daysHired = inFile.nextInt();
                outFile.println("Enter no. of days hired:> " + daysHired);
                kmsTravelled = inFile.nextInt();
                outFile.println("Enter kms travelled:> " + kmsTravelled);
                inFile.close();
                outFile.close();
    }ok sorry im not very experienced with java as you can tell but if this question doesnt solve my prob I think I will give up. The code above which i have broke up still gives me NoSuchElementException. The file praccc.txt simply contains....
    mercedes 10 100 100
    mercedes 20 200 200
    mercedes 30 100 200
    mercedes 30 200 100
    mercedes 20 130 200
    *

  • Assignment Help - Again looking for clarification only

    Hi All,
    I'm again having some trouble with the second half of an assignment. I had it all working on my computer and it was working without any problems.
    Now when I upload to the CSE servers and test I get some some weird errors that I cant track down.
    Basically this assignment was to implement a tiny bank system with the ability to deposit, withdraw and transfer. These transactions were read from a file and processed concurrently.
    I am having serious issues where it seems like threads just disappear and the stack trace never seems to go all the way down. Instead always throwing a java.lang.NullPointerException in different random Threads about halfway down where I would expect it.
    Does anyone have any suggestions to what may be causing it??
    As it is an assignment I cannot really post any code but any help would be greatly appreciated.
    Cheers,
    Chris

    Does anyone have any suggestions to what may be causing it??There is only one reason for a null pointer exception - something is null.
    The stack trace will tell you the exact line that the null pointer is showing up on.
    As a wild guess you are using threading a sychronization and expecting something to occur or not occur without considering how threads actually run.

  • KGlad - need help with arched text again

    Hi, you helped me recently with some arhed text. I was trying
    to figure out at way to get the arched text font size to get
    smaller as more and more letters were entered into the input field.
    What would you charge to get something like that working?

    1. you wanted the text to start in the center-top of the
    output textfield and begin to arch towards the lower right and
    lower left symmetrically so the arched text expands from the center
    towards the lower corners.
    2. you want to start with a certain font and font-size
    3. you want to decrease the font-size as more text is entered
    in the input textfield just when the arched text begins to extend
    beyond the output textfield's borders in order to keep the arched
    text within the output textfield's borders.
    is that correct? is there anything else?

  • Help Again: uninstall/repair Photoshop in CS4

    As suggested a month ago, I inserted installer, but no where is there an "options screen" from which to > "custom detail>PS4 repair.  On the installer is : Adobe CS4: deployment, extensions, payloads, redist,resources, WinBootstrapper Setup.exe ;  then a folder for Autoplay, and single Autoplay.exe, AUTORUN. INF and 3 versions of CS4 Design Standard read me, and unicows.dll. 
    That's it.
    What do I do now?.  As previously stated, PS and my photo printer have issues, and tech strongly blamed PS for the spooling problem and I'd like to try to "repair" PS, but how do I?
    And next, Read Me suggests a simple "uninstall" from Vista by way of Control Panel, but next, if I did that, how would I reinstall just PS after that?  <sigh>
    Appreciate the help. Haven't been able to get to this problem 'till now, and I wait with baited breath to get all playing nice again.....
    Update 2: Nuts. I just did a check on Control Panel and Adobe CS4 Design Standard is all one thing.  Looks like I'd have to remove all and then reinstall all again. Right?
    So there goes, InDesign, Illustrator, Bridge, Acrobat 9 and Media Player.  That's a mess. It'll take me a lot of time to check and resave all work from those other 5 programs. There must be a better way to do this, is there?  Hope I''ve missed something...................thanks so much....mm..

    Microsoft XPS is similar in concept to Adobe PDF.  You can Print to an XPS file using the Microsoft XPS writer.
    Unfortunately, the XPS Viewer seems to be a Windows 7 improvement, so it might not be quite so simple for you to try to use XPS format.  I just tried it on one of my Vista systems, and I was able to open an XPS file in Internet Explorer.  What I don't know is whether if you do this you can get anything like what you want with your borderless printing using this process:
    1.  Print to the Microsoft XPS Writer.
    2.  Save the .xps file in a temporary folder.
    3.  Double-click the .xps file from within Explorer.
    4.  In whatever app opens, File - Print.
    In Windows 7, step 2 leaves you with the Microsoft XPS Viewer open, and you could print to a real printer directly from there, so it would be a much more direct process.  It's been a while since I used Vista daily and I hadn't recalled exactly what XPS features were available in Vista.
    -Noel

  • Aperture crashes every time I look at keywords - any help?

    I am considering upgrading to Aperture.  I just loaded up the 30-day trial and imported about 500 images from my iPhoto library.
    Every time I hit the keywords button and then try to expand any of the lists, Aperture immediately quits.  (And then helpfully tells me it quit unexpectedly, and would I like to submit a report...)
    Any help?
    I'm using a MacBook pro less than 3 months old.

    So if you have an empty library and expand one of the stock keyword categories it's OK? What if in the library where you have imported the iPhoto images, you expand one of the stock categories?
    What version of iPhoto? And while we're at it what version of OS X?
    I've imported iPhoto libraries into Aperture and the keywords have never given me a problem.  As a first step I'd do a library repair on the iPhoto library you're importing. After you run that try importing it again into a new Aperture library.
    Also looking at keywords in the iPhoto library doesn't cause any problems?
    Include the crash report in a seperate post if you can. It might show something.

Maybe you are looking for

  • Forms Flicker in Forms 9i

    Forms Flicker Forms 9.0.2.11.0 Our application currently runs forms 6i using Jinitiator. We are in the process of upgrading our environment to 9i, database and forms. Because of the problems with downloading jinitiator to our user base we are looking

  • Clearing of Additional Amounts and Income-Related Expenses

    Dear colleagues, Can anyone, please, give me a practical example for such configuration?  What does SAP understand under income-related expenses and what kind of clearing will be processed? Many thanks, Paulo

  • C3 touch and type HELP with mms and email

    I have a C3-01 touch and type my provider is AT & T I need any help to get my email settings and internet settings AT & T have been NO help since i did NOT buy my phone threw them!!! At first I had trouble with receiving pic messages and send pic mes

  • Skype to go with PayAsYouGo

    Hello,Is it possible to have a skype to go number with a PayAsYouGo account, I mean by using the Skype account without any subsription.Eventually which is the fee?

  • Fake Firefox Security Alerts

    I am constantly being redirected to the following fake firefox security page whilst browsing using Google. Any advice on how to stop this from happening? http: // online-alert-policy77 .co .cc/ ?id=11&t=b ''Edited to disable the link - tonyE''