# (strict) data typing in MX, clear this up please!

**URL:** <https://forum.kirupa.com/t/strict-data-typing-in-mx-clear-this-up-please/66262>\
**Category:** flash\
**Created:** [October 4, 2004, 12:06pm UTC](https://forum.kirupa.com/t/strict-data-typing-in-mx-clear-this-up-please/66262 "2004-10-04T12:06:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bape](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@bape](https://forum.kirupa.com/u/bape)\
**Post date:** [October 4, 2004, 12:06pm UTC](https://forum.kirupa.com/t/strict-data-typing-in-mx-clear-this-up-please/66262/1 "2004-10-04T12:06:56Z")

</div>

Hi there, i came across some problems working with flash and i found it had something to do with strict data typing. I work with both 2004 and MX, and i found that my neatly strict data type’d code wasnt working on MX.  
I just want to know how far MX allows data typing. can you onlydefine things in the beginning of your code: myVar:String=“help”;  
or can you use it in functions too: myFunction (myVar:String ){blablabla…}  
or should i use suffixes instead, like myVar\_s=“help”;

please help, im a little bit confused here. :h:
