Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
sytax error

sytax error

2004-03-01       - By andrew

 Back
Reply:     1     2     3     4     5     6     7     8  

Don't blame Flash, blame JavaScript, upon which ActionScript is modeled...JIT
compilers expect certain types of syntax. Numbers are implicitly treated as
numbers by the compiler (which makes sense), so numbers should never be used to
lead off character strings. This is true for many, many programming languages.
 -- -- Original Message -- --
 From: Marcelo Simon
 To: flashnewbie@(protected)
 Sent: Monday, March 01, 2004 12:42 PM
 Subject: Re: [Flashnewbie] sytax error


 damn flash

 it was that, and it did solve a lot of problem, but it creates 65 more ( 65
menu itens that I will have to rename )only happier that only 2 of them contain
code

 thank you very much Jason
   -- -- Original Message -- --
   From: Merrill, Jason
   To: flashnewbie@(protected)
   Sent: Monday, March 01, 2004 2:27 PM
   Subject: RE: [Flashnewbie] sytax error


   >> this.menu_mc.01_01_01_mc.gotoAndPlay("click");

   Don't name instances starting with numbers.  Flash doesn't like that too
much.

      Jason Merrill
      ICF Consulting Government e-Learning Solutions
      icfconsulting.com








     -- --Original Message-- --
     From: Marcelo Simon [mailto:grillo@(protected)]
     Sent: Monday, March 01, 2004 12:25 PM
     To: ./ listas - flashnewbie
     Subject: [Flashnewbie] sytax error


     Hi,

     can anyone help me out here, I'm having these sytax errors going for me
all morning, it looks like I can't access anything outside the movieclip
timeline

     this is the error


     **Error** Scene=conteudo, layer=Layer 158, frame=1:Line 1: Syntax error.
          this.menu_mc.01_01_01_mc.gotoAndPlay("click");

     and the code is only these line

     ( that is on the _root )


     what should I look for here ?
     my publish setting are flash 6 as 1

     I'm puzzeled


     GriLLo
   NOTICE:

   This message is for the designated recipient only and may contain
privileged or confidential information. If you have received it in error,
please notify the sender immediately and delete the original. Any other use of
this e-mail by you is prohibited.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=Windows-1252 (See http://ows-1252.ora-code.com)">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Don't blame Flash, blame JavaScript, upon which
ActionScript is modeled...JIT compilers expect certain types of syntax. Numbers
are implicitly treated as numbers by the compiler (which makes sense), so
numbers should never be used to lead off character strings. This is true for
many, many programming languages.</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT:
#000000 2px solid; MARGIN-RIGHT: 0px">
 <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV>
 <DIV
 style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
 <A title=grillo@(protected) href="mailto:grillo@(protected)">Marcelo
 Simon</A> </DIV>
 <DIV style="FONT: 10pt arial"><B>To:</B> <A
 title=flashnewbie@(protected)
 href="mailto:flashnewbie@(protected)">flashnewbie@(protected)
.com</A>
 </DIV>
 <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, March 01, 2004 12:42
 PM</DIV>
 <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Flashnewbie] sytax
 error</DIV>
 <DIV><BR></DIV>
 <DIV><FONT face=Verdana size=1>damn flash</FONT></DIV>
 <DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
 <DIV><FONT face=Verdana size=1>it was that, and it did solve a lot of problem
,
 but it creates 65 more ( 65 menu itens that I will have to rename )only
 happier that only 2 of them contain code</FONT></DIV>
 <DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
 <DIV><FONT face=Verdana size=1>thank you very much Jason</FONT></DIV>
 <BLOCKQUOTE dir=ltr
 style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT:
#000000 2px solid; MARGIN-RIGHT: 0px">
   <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV>
   <DIV
   style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:<
/B>
   <A title=JMerrill@(protected)
   href="mailto:JMerrill@(protected)">Merrill, Jason</A> </DIV>
   <DIV style="FONT: 10pt arial"><B>To:</B> <A
   title=flashnewbie@(protected)
   href="mailto:flashnewbie@(protected)">flashnewbie@(protected)
.figleaf.com</A>
   </DIV>
   <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, March 01, 2004 2:27
   PM</DIV>
   <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Flashnewbie] sytax
   error</DIV>
   <DIV><BR></DIV>
   <DIV><SPAN class=619582517-01032004><FONT face=Verdana size=2>&gt;&gt;<FONT
   size=1>
   this.menu_mc.01_01_01_mc.gotoAndPlay("click");</FONT></FONT></SPAN></DIV>
   <DIV><SPAN class=619582517-01032004><FONT face=Verdana
   size=1></FONT></SPAN>&nbsp;</DIV>
   <DIV><SPAN class=619582517-01032004><FONT face=Verdana size=2>Don't name
   instances starting with numbers.&nbsp; Flash doesn't like that too
   much.</FONT></SPAN></DIV>
   <DIV>&nbsp;</DIV>
   <P><FONT face=Verdana color=#808080 size=2>&nbsp;&nbsp; Jason Merrill</FONT
>
   <BR><FONT face=Verdana color=#808080 size=2>&nbsp;&nbsp; ICF Consulting
   Government e-Learning Solutions</FONT> <BR><FONT face=Verdana color=#808080
   size=2>&nbsp;&nbsp; icfconsulting.com</FONT> </P><BR><BR><BR><BR><BR><BR>
   <BLOCKQUOTE dir=ltr
   style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid;
MARGIN-RIGHT: 0px">
     <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
     size=2>-- --Original Message-- --<BR><B>From:</B> Marcelo Simon
     [mailto:grillo@(protected)]<BR><B>Sent:</B> Monday, March 01, 2004
     12:25 PM<BR><B>To:</B> ./ listas - flashnewbie<BR><B>Subject:</B>
     [Flashnewbie] sytax error<BR><BR></FONT></DIV>
     <DIV><FONT face=Verdana size=1>Hi,</FONT></DIV>
     <DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
     <DIV><FONT face=Verdana size=1>can anyone help me out here, I'm having
     these sytax errors going for me all morning, it looks like I can't access
     anything outside the movieclip timeline</FONT></DIV>
     <DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
     <DIV><FONT face=Verdana size=1>this is the error</FONT></DIV>
     <DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
     <DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
     <DIV><FONT face=Verdana size=1>**Error** Scene=conteudo, layer=Layer 158,
     frame=1:Line 1: Syntax error.<BR></FONT><FONT face=Verdana
     size=1>&nbsp;&nbsp;&nbsp;&nbsp;
     this.menu_mc.01_01_01_mc.gotoAndPlay("click");</FONT></DIV>
     <DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
     <DIV><FONT face=Verdana size=1>and the code is only these
line</FONT></DIV>
     <DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
     <DIV><FONT face=Verdana size=1>( that is on the _root )</FONT></DIV>
     <DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
     <DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
     <DIV><FONT face=Verdana size=1>what should I look for here ?</FONT></DIV>
     <DIV><FONT face=Verdana size=1>my publish setting are flash 6 as
     1</FONT></DIV>
     <DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
     <DIV><FONT face=Verdana size=1>I'm puzzeled</FONT></DIV>
     <DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
     <DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
     <DIV><FONT face=Verdana size=1>GriLLo</FONT></DIV></BLOCKQUOTE>
   <P><STRONG><FONT size=2>NOTICE:</FONT></STRONG></P>
   <P><FONT size=2>This message is for the designated recipient only and may
   contain privileged or confidential information. If you have received it in
   error, please notify the sender immediately and delete the
   original.&nbsp;Any other use of this e-mail by you is
   prohibited.<BR></FONT></P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>