OZONE Asylum
Forums
Multimedia/Animation
erm... attachMovie in class constructors?
This page's ID:
11466
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I copied your code, pasted it unmodified into a new Flash MX movie, and the output window displayed: [quote]Key pressed. 12[/quote] Which is what I presume you were expecting. Added a line: trace(typeof test); Output window: [quote]Key pressed. 12 number[/quote] Tried using the variable in a calculation: [code] trace("Key pressed."); trace(test+16); trace (typeof test);[/code] output: [quote]Key pressed. 28 number[/quote] Likewise, adding trace(Key.getCode()); worked. Wonder why it's not working on your system. [This message has been edited by Steve (edited 10-20-2003).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »