This content has been marked as final. Show 4 replies
Not by what you show. What are you trying to trace and where are you trying to trace it? The only value that might be undefined in what you show would be "num", but that traces okay.
Well, here's what I'm trying to do. That code snippet I posted is intended to find the exact second in the current year when the Flash SWF is loaded into a browser. That number is passed into an odometer counter I found out on the web and am modifying to accept larger numbers ( found here) I'll attach all my code; for some reason the num variable is not being passed in correctly.
(Also of note, this file isn't done. I'm still having issues trying to get the math squared away in my head to make sure that the right numbers are displayed. I have notes where I still need to finish things up.)
I won't be reviewing your entire set of code, so if you can pinpoint where you are having trouble with getting an undefined trace for num I might be able to help.
If I try to run a trace right after I define num it gives me an undefined.