# ASP.NET ActionScript (getting Error on .as)

**URL:** <https://forum.kirupa.com/t/asp-net-actionscript-getting-error-on-as/204359>\
**Category:** flash\
**Created:** [October 19, 2006, 5:08am UTC](https://forum.kirupa.com/t/asp-net-actionscript-getting-error-on-as/204359 "2006-10-19T05:08:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scvc193223](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@scvc193223](https://forum.kirupa.com/u/scvc193223)\
**Post date:** [October 19, 2006, 5:08am UTC](https://forum.kirupa.com/t/asp-net-actionscript-getting-error-on-as/204359/1 "2006-10-19T05:08:28Z")

</div>

I have been building a basic .as script and email form for [ASP.NET](http://ASP.NET). My .as file keeps giving me this error

**Error** /Users/scottcarlton/Desktop/testingForm/Popup.as: Line 11: Class and interface definitions cannot be nested.  
dynamic class Popup extends MovieClip {

couldn’t attach the files, but here is a link to the .fla, .as, .aspx, and .aspx.cs

[www.scottcarlton.net/emailFlashForm.fla](http://www.scottcarlton.net/emailFlashForm.fla)  
"/Popup.as  
"/testing.aspx  
"/testing.aspx.cs

You help would be great.
