Topic: 1.8 Pro -> 10 AS Errors when republishing the fla

What am i doing wrong?
Opened the .fla file (simpleviewer.fla, needless to say, pro version), republished it but get tons of error messages, 10 in fact.

---snip---

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerRolloverButton.as: Line 16: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton'.
     class com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerXMLManager.as: Line 18: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.XMLManager', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.XMLManager'.
     class com.airtightinteractive.apps.viewers.simpleViewer.XMLManager {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveutilRectUtil.as: Line 5: The name of this class, 'com.airtightinteractive.util.RectUtil', conflicts with the name of another class that was loaded, 'com.airtightinteractive.util.RectUtil'.
     class com.airtightinteractive.util.RectUtil {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveutilTweenExtended.as: Line 39: The name of this class, 'com.airtightinteractive.util.TweenExtended', conflicts with the name of another class that was loaded, 'com.airtightinteractive.util.TweenExtended'.
     class com.airtightinteractive.util.TweenExtended extends Tween

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerThumb.as: Line 24: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb'.
     class com.airtightinteractive.apps.viewers.simpleViewer.Thumb {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerThumbArea.as: Line 23: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea'.
     class com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerImage.as: Line 23: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.Image', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.Image'.
     class com.airtightinteractive.apps.viewers.simpleViewer.Image {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveutilArrayUtil.as: Line 5: The name of this class, 'com.airtightinteractive.util.ArrayUtil', conflicts with the name of another class that was loaded, 'com.airtightinteractive.util.ArrayUtil'.
     class com.airtightinteractive.util.ArrayUtil {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerImageArea.as: Line 26: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.ImageArea', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.ImageArea'.
     class com.airtightinteractive.apps.viewers.simpleViewer.ImageArea {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerStageManager.as: Line 20: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.StageManager', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.StageManager'.
     class com.airtightinteractive.apps.viewers.simpleViewer.StageManager {

Total ActionScript Errors: 10      Reported Errors: 10

---

Anyone experienced the same problems?

Any help would be appreciated ;-)

Mike

Re: 1.8 Pro -> 10 AS Errors when republishing the fla

Try deleting your ASO files (Control->Delete ASO Files) and re-starting Flash.

Felix Turner
SimpleViewer Support Team.

Re: 1.8 Pro -> 10 AS Errors when republishing the fla

Thanks for the reply Felix, but the error messages still exist. Deleted DLO Files, closed Flash, restarted and loaded the .fla (did that several times now).

---

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerRolloverButton.as: Line 16: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton'.
     class com.airtightinteractive.apps.viewers.simpleViewer.RolloverButton {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerXMLManager.as: Line 18: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.XMLManager', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.XMLManager'.
     class com.airtightinteractive.apps.viewers.simpleViewer.XMLManager {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveutilRectUtil.as: Line 5: The name of this class, 'com.airtightinteractive.util.RectUtil', conflicts with the name of another class that was loaded, 'com.airtightinteractive.util.RectUtil'.
     class com.airtightinteractive.util.RectUtil {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveutilTweenExtended.as: Line 39: The name of this class, 'com.airtightinteractive.util.TweenExtended', conflicts with the name of another class that was loaded, 'com.airtightinteractive.util.TweenExtended'.
     class com.airtightinteractive.util.TweenExtended extends Tween

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerThumb.as: Line 24: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb'.
     class com.airtightinteractive.apps.viewers.simpleViewer.Thumb {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerThumbArea.as: Line 23: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea'.
     class com.airtightinteractive.apps.viewers.simpleViewer.ThumbArea {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerImage.as: Line 23: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.Image', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.Image'.
     class com.airtightinteractive.apps.viewers.simpleViewer.Image {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveutilArrayUtil.as: Line 5: The name of this class, 'com.airtightinteractive.util.ArrayUtil', conflicts with the name of another class that was loaded, 'com.airtightinteractive.util.ArrayUtil'.
     class com.airtightinteractive.util.ArrayUtil {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerImageArea.as: Line 26: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.ImageArea', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.ImageArea'.
     class com.airtightinteractive.apps.viewers.simpleViewer.ImageArea {

**Error** C:mrDesktopsimpleviewer_prosourcecomairtightinteractiveappsviewerssimpleViewerStageManager.as: Line 20: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.StageManager', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.StageManager'.
     class com.airtightinteractive.apps.viewers.simpleViewer.StageManager {

Total ActionScript Errors: 10      Reported Errors: 10

---

Any clue?


Edit: That happens in both, MX 7.0 and Flash 8.

Re: 1.8 Pro -> 10 AS Errors when republishing the fla

Hmmm... sounds like your hitting the issue described here: http://www.epresenterplus.com/blog/archives/000030.html

Felix Turner
SimpleViewer Support Team.

Re: 1.8 Pro -> 10 AS Errors when republishing the fla

Hi- I'm getting similar errors, and I just downloaded the most current version.  Unfortunately I have downloaded it a few times (4 or 5) so I may not have any downloads left!  I hope that if there is still an error in what I downloaded, we can come to a solution for that as this does not seem to work when I re-publish.  Please advise!  This is very frustrating!



**Error** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/Thumb.as: Line 24: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb'.
     class com.airtightinteractive.apps.viewers.simpleViewer.Thumb {

**Error** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/Image.as: Line 23: The name of this class, 'com.airtightinteractive.apps.viewers.simpleViewer.Image', conflicts with the name of another class that was loaded, 'com.airtightinteractive.apps.viewers.simpleViewer.Image'.
     class com.airtightinteractive.apps.viewers.simpleViewer.Image {

**Warning** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/ImageArea.as: Line 112: There is no class or package with the name 'com.airtightinteractive.apps.viewers.simpleViewer.Image' found in package 'com.airtightinteractive.apps.viewers.simpleViewer'.
                 mImages[i] = new Image(mImageHolder_mc, i, mXMLManager.imagePath + mXMLManager.imageFileNames[i],this);

**Warning** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/ThumbArea.as: Line 75: There is no class or package with the name 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb' found in package 'com.airtightinteractive.apps.viewers.simpleViewer'.
             mWidth = (Thumb.thumbWidth + Thumb.padding)*mColumns;

**Warning** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/ThumbArea.as: Line 76: There is no class or package with the name 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb' found in package 'com.airtightinteractive.apps.viewers.simpleViewer'.
             mHeight = (Thumb.thumbHeight + Thumb.padding)*mRows - Thumb.padding;   

**Warning** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/ThumbArea.as: Line 100: There is no class or package with the name 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb' found in package 'com.airtightinteractive.apps.viewers.simpleViewer'.
                     mNextBtn.setPosn(mWidth - (Thumb.thumbWidth + Thumb.padding),mHeight);           

**Warning** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/ThumbArea.as: Line 119: There is no class or package with the name 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb' found in package 'com.airtightinteractive.apps.viewers.simpleViewer'.
             var maskWidth:Number = mWidth - Thumb.padding + Thumb.selectedFrameOffset*2;

**Warning** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/ThumbArea.as: Line 120: There is no class or package with the name 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb' found in package 'com.airtightinteractive.apps.viewers.simpleViewer'.
             var maskHeight:Number = mHeight + Thumb.selectedFrameOffset*2;

**Warning** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/ThumbArea.as: Line 121: There is no class or package with the name 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb' found in package 'com.airtightinteractive.apps.viewers.simpleViewer'.
             RectUtil.rectangle(mClip_mc.mcDisplayMask, -Thumb.selectedFrameOffset,-Thumb.selectedFrameOffset,maskWidth,maskHeight);

**Warning** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/ThumbArea.as: Line 140: There is no class or package with the name 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb' found in package 'com.airtightinteractive.apps.viewers.simpleViewer'.
                 mThumbs[i] = new Thumb(mClip_mc.mcDisplayArea.mcSlidingDisplayArea, i,mXMLManager.thumbPath + mXMLManager.imageFileNames[i]);

**Warning** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/ThumbArea.as: Line 145: There is no class or package with the name 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb' found in package 'com.airtightinteractive.apps.viewers.simpleViewer'.
                 mThumbs[i].setPosn((Thumb.thumbWidth+Thumb.padding)*ipos + mWidth*pageIndex,

**Warning** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/ThumbArea.as: Line 264: There is no class or package with the name 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb' found in package 'com.airtightinteractive.apps.viewers.simpleViewer'.
             return     mWidth - Thumb.padding;       

**Warning** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/ThumbArea.as: Line 276: There is no class or package with the name 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb' found in package 'com.airtightinteractive.apps.viewers.simpleViewer'.
                 return Thumb.thumbHeight;;

**Warning** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/StageManager.as: Line 250: There is no class or package with the name 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb' found in package 'com.airtightinteractive.apps.viewers.simpleViewer'.
                 mCaption_mc._y = thumbY + mThumbArea.height +mThumbArea.navHeight + Thumb.padding;                   

**Warning** /Users/jeffross/Desktop/simpleviewer_pro/source/com/airtightinteractive/apps/viewers/simpleViewer/StageManager.as: Line 254: There is no class or package with the name 'com.airtightinteractive.apps.viewers.simpleViewer.Thumb' found in package 'com.airtightinteractive.apps.viewers.simpleViewer'.
                 mTitle_mc._y = thumbY - (Thumb.padding + mTitle_mc.txtText.textHeight);

Total ActionScript Errors: 15      Reported Errors: 15



sad

Re: 1.8 Pro -> 10 AS Errors when republishing the fla

I deleted ASO files and restarted Flash with the same results as my last post above. HELP!

Re: 1.8 Pro -> 10 AS Errors when republishing the fla

Hi,

The errors you are seeing are not a SimpleViewer specific issue. It's a known issue with Flash that pops up now and again. Sometimes publishing a second time removes the errors. Also, sometimes the errors go away of their own accord.

Here are some things to try:

1) Delete your ASO files - With Flash MX04 these are at somewhere like: C:Documents and SettingsfelixLocal SettingsApplication DataMacromediaFlash MX 2004enConfigurationClassesaso. With Flash 8 do: Control->Delete ASO Files

2) try setting your system clock forward by 1 day then recompiling (this sounds crazy but often works).

3) try moving the downloaded folder to another location on your HD then recompiling.

4) try resaving the .as files so the the timestamp on them changes. Then recompile.

Felix Turner
SimpleViewer Support Team.