5 msgErasing areas with the drawing API?
5 msghelp
6 msg(no subject)
1 msgFull-time position in NYC for AS Developer
1 msgAS3 and streaming timeline sounds
7 msgproblem with fl9 beta
29 msgEvents for custom classes?
1 msgFlash Preview Font Sharing

Flash IDE thinks standard #include '.as' file i...
\ Mike Mountain (16 Feb 2007)
. \ Andrei Thomaz (16 Feb 2007)
. . \ Mike Mountain (16 Feb 2007)
. \ Muzak (16 Feb 2007)
. . \ pugliese (16 Feb 2007)
. . . \ Jake Prime (16 Feb 2007)

1 msgRe: >> RadioButton and CheckBox
4 msgfor...in property access replacement in AS3?
1 msgWages
8 msgFlash Player 7 Installer?
1 msgapplying themes to v2 components
3 msgEvaluate string as actionscript?
3 msgMake your own multiuser flash apps
3 msgPrevent Reading Cached xml Doc?
5 msgOnRollOver Scrolling Text Problem
5 msgAGAIN!! AS2 Question
1 msgFlash Rock Stars Needed - Chicago, IL
Subject:Re: Flash IDE thinks standard #include '.as' file isaclass file
Group:Flashcoders
From:Jake Prime
Date:16 Feb 2007


 
I seem to recall that I had this issue a while back. Turned out that
when the .as file started with a capital letter, it treated it as a
class, but when it started with a lower case letter it was fine.

I just did a simple test and this doesn't appear to always be the
case, so there must have been other contributing factors. But if yours
starts with a capital, it's worth a pop.

Jake

On 16/02/07, pugliese <pugliese> wrote:
> Are you working on a LAN?
> I had the same issue here, the cause was that my computer clock were
> different from the network computer clock. When I moved the files to my
> HD it worked out.
>
>
>
> Muzak wrote:
> > I've seen this happen when the include .as file had the same name as the fla it's included in.
> > Just a thought..
> >
> > regards,
> > Muzak
> >
> > ----- Original Message -----
> > From: "Mike Mountain" <mike.mountain>
> > To: "Flashcoders mailing list" <flashcoders>
> > Sent: Friday, February 16, 2007 12:58 PM
> > Subject: [Flashcoders] Flash IDE thinks standard #include ".as" file is aclass file
> >
> >
> > I've been working on an as file for some time - it's used as an
> > #include, it isn't a class (although it's part of a project which has
> > classes), just a means for me to tidy away some pretty rudimentary
> > timeline code from designers. Everything was working fine but now the
> > IDE won't validate the code - even though there's nothing wrong with it
> > - it keeps spitting out errors:
> > "ActionScript 2.0 class scripts may only define class or interface
> > constructs."
> > Blah
> > Copy the code into a brand new as file, click the tick, works fine -
> > save it out with a filename, click the tick, breaks.
> > I've deleted my ASO files and still no joy - even if I comment out all
> > the code it still bloody complains.
> > Anyhow, anyone shed any light on this? - Or how to fix it, I think it
> > start when I put some imports in the file by mistake.
> > Cheers
> > M
> >
> >
> >
> > _______________________________________________
> > Flashcoders
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> >
>
> _______________________________________________
> Flashcoders
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
Flashcoders
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


© 2004-2008 readlist.com