RE: [Flashcoders] Flash IDE thinks standard #include .as file is aclass file

2007-02-16 Thread Mike Mountain
Nope, that was my initial thoughtand there never has been - doesn't
matter what I save it as now, it still breaks. 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Andrei Thomaz
 Sent: 16 February 2007 12:06
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Flash IDE thinks standard #include 
 .as file is aclass file
 
 is there a class with the same name of the .AS file?
 
 
 []'s
 andrei
 
 
 On 2/16/07, Mike Mountain [EMAIL PROTECTED] wrote:
 
  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
 
 
 
 
 
  ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ
  Tel: 01964 672000
  Fax: 01964 671102
  Registered in England no. 01646471
  The information contained within this email expresses the 
 views of the 
  sender and not necessarily those of the company. It is private and 
  confidential and may be legally privileged. It is intended 
 solely for 
  those authorised to receive it. If you are not the intended 
 recipient 
  you are hereby notified that any disclosure, copying, 
 distribution or 
  action taken in reliance on its contents is strictly prohibited and 
  may be unlawful. If you have received this email in error, please 
  telephone us immediately on
  01964 672000 or email a reply to highlight the error and 
 then delete 
  it from your system. This email may contain links to web-sites, the 
  contents of which ECM Systems Ltd have no control over and 
 can accept 
  no responsibility for. Any attachments have been 
 virus-checked before 
  transmission; however, recipients are strongly advised to carry out 
  their own virus checking as ECM Systems Ltd do not warrant 
 that such 
  attachments are virus-free. Please note that this email has been 
  created in the knowledge that Internet email is not a secure 
  communications medium. We advise that you understand and 
 observe this lack of security when emailing us.
 
  ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ
 
  Tel: 01964 672000
  Fax: 01964 671102
 
  Registered in England no. 01646471
 
  The information contained within this email expresses the 
 views of the 
  sender and not necessarily those of the company.
  It is private and confidential and may be legally privileged. It is 
  intended solely for those authorised to receive it. If you 
 are not the 
  intended recipient you are hereby notified that any disclosure, 
  copying, distribution or action taken in reliance on its 
 contents is 
  strictly prohibited and may be unlawful. If you have received this 
  email in error, please telephone us immediately on 01964 672000 or 
  email a reply to highlight the error and then delete it from your 
  system. This email may contain links to web-sites, the contents of 
  which ECM Systems Ltd have no control over and can accept no 
  responsibility for. Any attachments have been virus-checked before 
  transmission; however, recipients are strongly advised to carry out 
  their own virus checking as ECM Systems Ltd do not warrant 
 that such 
  attachments are virus-free.
  Please note that this email has been created in the knowledge that 
  Internet email is not a secure communications medium.
  We advise that you understand and observe this lack of 
 security when 
  emailing us.
 
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  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@chattyfig.figleaf.com
 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
 

ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ

Tel: 01964 672000   
Fax: 01964 671102

Registered in England no. 01646471

Re: [Flashcoders] Flash IDE thinks standard #include .as file is aclass file

2007-02-16 Thread Muzak
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 [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
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@chattyfig.figleaf.com
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


Re: [Flashcoders] Flash IDE thinks standard #include .as file is aclass file

2007-02-16 Thread [EMAIL PROTECTED]

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 [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
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@chattyfig.figleaf.com
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@chattyfig.figleaf.com
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


Re: [Flashcoders] Flash IDE thinks standard #include .as file is aclass file

2007-02-16 Thread Jake Prime

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, [EMAIL PROTECTED] [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 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@chattyfig.figleaf.com
 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@chattyfig.figleaf.com
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@chattyfig.figleaf.com
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