# AS2 and AS3 conflicts with Code and Components

**URL:** https://forum.kirupa.com/t/as2-and-as3-conflicts-with-code-and-components/272104
**Category:** flash
**Created:** [October 2, 2008, 2:17am UTC](https://forum.kirupa.com/t/as2-and-as3-conflicts-with-code-and-components/272104 "2008-10-02T02:17:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![niero](https://avatars.discourse-cdn.com/v4/letter/n/90ced4/32.png) [@niero](https://forum.kirupa.com/u/niero)
#### Post date: [October 2, 2008, 2:17am UTC](https://forum.kirupa.com/t/as2-and-as3-conflicts-with-code-and-components/272104/1 "2008-10-02T02:17:51Z")

</div>

Hey guys here is the problem

I have a website that I initially started developing with Flash 8, a couple of months ago I finally got enough cash to get my hands on CS3. Whoo I thought to myself AS3 and I can finally test those components I have out! Well, little I knew it would screw up everything. On average when I use AS3 in my AS2 developed pages I get at least 5 error messages, here are some:

WARNING: Text field variable names are not supported in ActionScript 3.0. The variable ‘loaded1’ used for the text field ‘apos’ will not be exported.  
WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored.  
WARNING: Text field variable names are not supported in ActionScript 3.0. The variable ‘time’ used for the text field ‘Adown’ will not be exported.  
WARNING: Text field variable names are not supported in ActionScript 3.0. The variable ‘speed’ used for the text field ‘Aup’ will not be exported.

Now I googled the problem and apparently now you can not have ANY actions in buttons, WHY?!?!?!?! Secondly I need to use AS3 to use TxEff as it does not work in AS2, but as soon as I convert the publish settings to AS3 and preview I can no longer use my other components Which includes the preloader for all the pages. Does this mean that I have to rewrite my entire code into AS3? I mean, absolutely nothing works anymore, not even my fade in fade out effect for music. I am so frustrated, can anyone help me out please.

Thanks

Nikolai
