Wrox Programmer Forums
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 20th, 2007, 03:27 AM
Registered User
Join Date: Feb 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Actionscript NaN

when i press the button NaN comes up what am i doing wrong

enter_btn.onRelease = function() {
outputNum = inputNum * 2;
var inputNum:Number = 0;
var outputNum:Number = 0;

Old March 21st, 2007, 07:29 AM
Friend of Wrox
Join Date: Nov 2005
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts


Try this:
var inputNum:Number;
var outputNum:Number;


enter_btn.onRelease = function() 
    outputNum = inputNum * 2;
__________________________________________________ ________
I am DJ Kat...that's my name. Its a D and a J and a Kat with a K.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a NaN in VBA? rahzan Access VBA 11 March 6th, 2016 08:40 AM
NaN elayaraja.s XSLT 2 September 9th, 2008 04:10 AM
NaN spinout ASP.NET 2.0 Basics 4 August 5th, 2007 06:07 AM
Formatting NaN in a matrix gidsy BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 2 May 8th, 2007 10:50 AM
format-number NaN rbdave XSLT 1 October 23rd, 2003 06:48 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.