Insert a video Flash - syntax error

Hello

I used the Insert menu to add a file video flash on my page. There are some kinf of error of syntax on this line:

swfobject.registerObject ("FLVPlayer");

I'm validation of HTML4.

The video plays in preview, but not when uplaoded. Any ideas?

Mike

No lost time... we got there where are neede to be

..

EACH character of the code is case-sensitive ON A LINUX SERVER

Tags: Dreamweaver

Similar Questions

  • Insert query syntax error

    I have a flash form that is used for inserts a record in an Access database table. In the because there are 4 datefields, several fields of text, and then on several fields. When I submit the form, I get a syntax error that reads:

    Running database query. [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] Syntax error in INSERT INTO statement.
    The error occurred on line 184. Complex object types cannot be converted to simple values.

    184 line is the last line of the values in the Insert query. The query looks like this:

    < CFQUERY DATASOURCE = '#REQUEST. DataSource #">"
    INSERT INTO EstimateNumber)
    BidNumber,
    Project,
    Construction,
    EstimatedBy,
    Region,
    Company,
    Division,
    InquiryNumber,
    SafetyChecklist,
    SafetyChecklistDate,
    QCChecklist,
    QCChecklistDate,
    EstimatedValue,
    UserUsername,
    UserPassword
    Updated,.
    ReviewDate,
    ReviewedBy,
    Discipline,
    BidDate,
    JobNumber,
    UpdatedBy
    )
    VALUES)
    #FORM. BidNumber #.
    ' #FORM. Project #',
    ' #FORM. Site #',
    ' #FORM. EstimatedBy #'.
    #FORM. Region #.
    #FORM.Company #,.
    #FORM. Division #.
    ' #FORM. InquiryNumber #'.
    #FORM. SafetyChecklist #.
    #FORM. SafetyChecklistDate #.
    #FORM. QCChecklist #.
    ' #FORM. QCChecklistDate #'.
    #FORM. EstimatedValue #.
    ' #FORM. UserUsername #',
    ' #FORM. UserPassword #',
    #FORM. # Update,
    #FORM. ReviewDate #.
    #FORM. ReviewedBy #.
    #FORM. Discipline #.
    #FORM. BidDate #.
    #FORM. JobNumber #.
    ' #FORM. "UpdatedBy #
    )
    < / CFQUERY >

    Any recommendations?

    chrispilie wrote:
    > Any recommendations?

    (1) enable debugging in order to visualize the generated actual query and post the SQL here
    (2) empty the form field. Are all of the form simple strings of values?

    (3) for the values inserted into a date/time column, you use cfqueryparam or CreateODBCDate, CreateODBCDateTime to convert the string to an object of good time. This ensures that the value is inserted properly

    Although I personally recommend to use cfqueryparam to subject parameters (not only date values).

  • Syntax error, insert "Expression AssignmentOperator" to complete the phrase

    Hi experts,
    I am very new to Java. Currently, I'm stuck with the exception of the program. Please help me understand what the problem is. The eclipse triggers the error "syntax error, insert"Expression AssignmentOperator"to complete the phrase" to the "exception; command"as the code below.

    Thank you
    Hieu

    Published by: user122479 on April 5, 2013 16:23

    Please add

    -tags around your code and the complete Stacktrace.
    
    bye
    TPD                                                                                                                                                                                
    
  • Avoid the fast blink that occurs when testing a Flash animation that has a syntax error?

    I teach the development of games using Flash Professional CS6, and one of my students has photosensitive epilepsy. He finds that the "strobe" effect that occurs when he runs the Test film on a film with errors in his script triggers headaches which can be a precursor to an adjustment. Obviously this makes it very difficult for him to complete his laboratory and the assignment of work. Is it possible to prevent a Flash animation running if it contains a syntax error?

    I created workaround by adding a bunch of additional images for the beginning of the movie, which displayed a message "SYNTAX ERROR," If the script does not work - it gives my student seconds margin quite the movie, before the start of the stroboscopic effect. I have a single image at the beginning with a goto statement that jumps over the frames of error if the code has no syntax errors.

    This seems to work ok, but it's an ugly solution - does anyone know of a better way to deal with this?

    Thank you.

    Another solution is to use Flash Builder (IMO you should teach this workflow, because it is more suitable for non trivial projects), and then you have several options:

    1. After an ACE code change, build automatically
    2. If you have not changed the code, project > Clean
    3. If you have set up your project so that you get the buttons Flash project, you can click the a (compile in Flash)

    These options will simply build the Flash animation without playing, and you can see the warnings or errors in the Panel right before clicking the button Play or Debug.

    If all this is just too much for a beginner student, you can still post the film, which creates the swf file without play, watch the Panel of warnings/errors and then launch the SWF in any other way (for example, by double-clicking on it or the HTML page generated).

  • Flash complains about XML? IM using AS3 why are there errors XML? Unknown syntax errors.

    Sorry to keep spamming these forums with my stupid mistakes, but I'm trying really hard to learn Flash/AS3 and when I got to wrestling with it, I will definitely love.

    I am a rookie flash trying to make a simple computing device and I'm doing me a world of errors, I've never seen before.

    My Code (excuse me, but maybe it's my bad syntax):

    import flash.ui.Mouse;

    var Hnum:String;

    var PCnum:String;

    var calc:Number = 25;

    var Total: Number;

    NUM1. Restrict = "0-9";

    num2. Restrict = "0-9";

    Est_btn.addEventListener (MouseEvent.Click, Calculate);

    function PartCount(event:MouseEvent):void {}

    PCnum = num2.text;

    If (PCnum > 0 & & < 10) {}

    parseInt (PCnum) * 10;

    }

    or if (PCnum > 11 & & < 20) {}

    parseInt (PCnum) * 5;

    }

    or if (PCnum > 21) {}

    parseInt (PCnum) * 1;

    }

    }

    Est_btn.addEventListener (MouseEvent.Click, Calculate);

    function calculate(event:MouseEvent):void {}

    Hnum = num1.text;

    PCnum = num2.text;

    Total = parseInt (Hnum) * calc + parseInt (PCnum);

    Total.toString ();

    Total_txt. Text = String (Total);

    }

    }

    I had all this work, I was only calculation Hnum by 25. But when I try to intergrate the fi or statement so bad, and I get these 5 mistakes.

    Scene 1, Layer 'Actions', frame 1, line 151104: invalid xml name

    Scene 1, Layer 'Actions', frame 11084: syntax error: expected xmltagendend before the end of the program.

    Scene 1, Layer 'Actions', frame 11084: syntax error: expected rightparen before the end of the program.

    Scene 1, Layer 'Actions', frame 11084: syntax error: expecting identifier before the end of the program.

    Scene 1, Layer 'Actions', frame 11084: syntax error: expected rightbrace before the end of the program.

    I don't understand what these errors are emphasizing? Why XML? What is my variable names?

    Here is the code that I had before the second function that worked well:

    var Hnum:String;

    var PCnum:String;

    var calc:Number = 25;

    var Total: Number;

    NUM1. Restrict = "0-9";

    num2. Restrict = "0-9";

    Est_btn.addEventListener (MouseEvent.Click, Calculate);

    function calculate(event:MouseEvent):void {}

    Hnum = num1.text;

    PCnum = num2.text;

    Total = parseInt (Hnum) * calc;

    Total.toString ();

    Total_txt. Text = String (Total);

    }

    Any help would be greatly appreciated! I'll get the hang of this!

    MrB

    Maybe is a parsing problem

    Date of arrival:

    PCnum = num2.text;

    If (PCnum > 0 &)< 10){ =""><   you're="" comparing="" text="" against="" numbers="" and=""><10 es="" comparing="" agaist="" nothing="" this="" can="" be="" a="">

    Use rather

    PCnum = int (num2.text);

    If (PCnum > 0 & PCnum)<>

  • Comment of "Syntax error in INSERT INTO statement." validation error.

    I had this working perfectly on MySQL. Then I was told that I had to do with a mdb database in Access, now the errors pop up like crazy. I fixed all of them except this one, I get a "syntax error in INSERT INTO statement." When I try to post a comment on a post in my mini-blog site.

    The thing is, I use almost the same code for the comments I make blog themselves. The positions work fine, the comments are not.

    He said that the error is on my page addcomment_process as 119. It is the following (line 119 is underlined, bold line is also bolded in the error message):

    < name cfquery = "input_comments."

    DataSource = "" #DSN # ""

    username = "" #DSNUSER # ""

    password = "#DSNPASS #" >

    INSERT INTO (comments)

    speaker,

    Comment,

    DateTime,

    post_id

    )

    VALUES)

    "#form.commenter #"

    "#form.comment #"

    "#form.datetime #"

    "#form.post_id #".

    )

    < / cfquery >

    It is all fine data, by simply inserting not, because it says:

    "INSERT INTO comments (speaker, comment, datetime, post_id) VALUES ('Anonymous', 'test commentary.', 25 April 12 22:55 ', ' 2').

    It worked perfectly, when it was a MySQL database, now I keep getting errors present a part of the site now that it is MDB. Anyone know what is happening?

    DateTime is a reserved word in Access.

    --

    Adam

  • Windows Media Center cannot detect the error DVD Windows Media Center cannot detect a DVD in the DVD - ROM drive. Insert a video DVD into the drive

    Original title: why Windows Media Center does not detect my DVD?

    I built my computer motherboard ASUS P658D, Intel i7 processor clocked at 2.6 gHz, 12 GB RAM, 750W Corsair PWR. power, Windows 7 Home Premium 64 - bit & ie9. When I put or the other two DVDs in one of two DVD players, Windows Media Center appears and when I click on "Play DVD" Media Center give me a window that says:

    "Windows Media Center cannot detect a DVD in the DVD - ROM drive. Insert a video DVD in the drive." Two DVDs, I've tried are educational for DVD

    my Nikon D300 Digital camera and a family video DVD or both these very well play in a bed of same computer running Windows 7 Professional 64-bit, & ie8.

    I tried Microsoft Fixit, no help. I tried to send Microsoft Support, and I got NO HELP. I did not bring any changes, and installed any program, just

    scoured the internet. A DVD player is a Sony Optarc with Microsoft Driver, the other is ASUS. I also tried to use Windows Media Player but nothing

    rises or it returns me to Windows Media Center and it does not detect to play either of my DVD. How can I get help here, or from Microsoft? Thank you.

    No, there is no yellow warning in Device Manager and the device manager says that two DVD players work properly. Mr. Fix it's

    automated download from microsoft that is supposed to automatically fix some problems, but he provided no help here. I think it is more likely

    that there is a problem with Windows Media Center or Windows 7 Pro 64 bit and either of my two new Sony DVD drives

    and ASUS.

    I thought my way in a solution. My thought was: Device Manager indicates DVD players work properly and both are new and we're Sony, and the other ASUS so I think only an unlikely problem with readers. The problem is with Windows Media Center "do DETECTED is not the DVD. So there must be a problem with Windows Media Center. I thought that I might need to reinstall Windows 7... then I thought that maybe if I just reinstall Windows Media that will work. He did. My problem was:

    Start > Panel > programs and features > features on or off Windows activate > then uncheck the box for multimedia functions > restart the computer > and then re-check the box to restore the multimedia features > now both discs play both DVDs, I tried. Both disks are operating normally. Reinstall the characteristics of media Windows 7 resolved the problem. Thanks to all who offered solutions.

  • 1084: syntax error: expected rightbrace before the end of the program.

    So I do this thing basic coding to make an object 'pull' bullets. This is a video tutorial. My code its corresponds exactly, unless I'm missing a small detail. Basically, the code looks like this:


    package {}


    import flash.display.Sprite;


    import flash.events.Event;

    public class ball extends Sprite {}

    private var sw:Number;
    private var sh: number;
    private const _SPEED:int =-10;
    private const _OFFSTAGE:int =-10;

    public function ball (): void {}
    addEventListener (Event.ADDED_TO_STAGE, onadd);
    }

    private void onadd(e:Event):void {}
    SW = stage.stageWidth;
    SH = stage.stageHeight;
    addEventListener (Event.ENTER_FRAME, loop);
    }

    private void loop(e:Event):void {}
    If (y, _OFFSTAGE) {}
    removeEventListener (Event.ENTER_FRAME, loop);
    parent.removeChild (this);
    }
    y = _SPEED;
    } public function removeListeners (): void {}
    removeEventListener (Event.ENTER_FRAME, loop);

    }

    And I get the compile error wrote:
    Location: Bullet.As line 31 1084: syntax error: expected rightbrace before the end of the program. Source :}
    Location: Bullet.As line 31 1084: syntax error: expected rightbrace before the end of the program. Source :}
    And yes it say it twice. What is going on?

    The vid I learn is the following: http://autocad.spinelink.com/adobe-flash-cs4-game-tutorial-shooting.html

    If what you show is what you have, then the mistakes are teliing you have some missing braces.  From what I see, there are probably 2 missing at the end.  For each {there must be a} somewhere.

  • BBC Iplayer - Flash Player Error ("content does not seem to work")

    Hello

    I use a Mac OSX El Capitan-version 10.11.3

    Browser Safari version 9.0.3

    Flash Player version 21.0.0.197

    The problem:

    Various shows on the BBC Iplayer play and displays the following message: this content does not seem to work. "Please try again later".

    It occurs on all the shows, but a bit random. When I right click in the window of the video I get this, tells me that there is a "Flash 1024 error."

    Screen Shot 2016-03-27 at 3.39.47 PM.png

    When I copy the content, the error is:

    Error code: EmpBaseErrorVO

    code = 1024

    type = either reading is possible due to a mistake of the mediation

    Details =.

    1026

    severity = critical

    responsibility = MediaSelector

    Info = 1026

    I tried constantly to turn ugly. No online forums provide clarity. Can someone from Adobe explain please what means this error and what I can do to solve this problem?

    Thank you

    Hello

    This started after 21.0.0.197 updated?  It worked very well in the previous (21.0.0.182) version?

    You have installed/activated advertising blockers?

    You access the site through the VPN?

    You have installed security software/utility?  If so, which?

    It works with other browsers (Firefox, Chrome, etc.)?

    --

    Maria

  • 1084: syntax error: expected rightparen

    Hi people

    I am a real novice here. I've just updated from CS3 to CS6 and had change a *.fla file in Flash CC. I have it saved and exported as a *.swf I now have about 40 of the compiler errors all the same format "1084: syntax error: expected before rightparen and»

    This is typical of the scenario

    Location

    Scene 1, layer 'buttons', frame 1, line 1. Column 17

    1 if (> 202 and _ymouse502 _ymouse) { }

    He expects his end of the front supports and IE if(_ymouse>202)

    Another example:

    1 if (_xmouse > 7 and _xmouse, _ymouse < 235 and text1.y < 113 and < 24

    2 text1.y_y += 4 {}

    3 If _xmouse > 33 and _xmouse50 and _ymouse < 235 and text1.y > 30)

    4     text1.y_y=4 {}

    In this group, related to the symbol on a page labeled services-page definitions, it is the error of syntax for line 1, column 17 rightparen waiting before and, as well as for line 3 to column 16, just before the and.

    Surely adding support in this group of conditions before a will "and" ruin the condition 'if '...

    Any help will be appreciated graetfully!  (I can do screen grabs if it helps!)

    There is no keyword 'and '.  Use the double ampersand:

    if(Whatever && whateverelse)

    p.s. it no 'or' either.  use a double pipe (backslash uppercase) |

  • 1084: syntax error: wait leftbrace before expanding

    Hi all.  Don't know what is happening here.  I'm trying to perfect my knowledge AS 3.0.  I get this error message and it is a code snippet that I copied and it ran.  I get the same error "1084: syntax error: wait leftbrace before spreading".  Can someone tell me where I'm wrong?  Here's the code.

    package

    {

    import flash.display.MovieClip;

    public class ActionScriptTest extend MovieClip {}

    public void ActionScriptTest() {}

    init();

    }

    private function init (): void {}

    var bookTitle:String = 'Bases '.

    trace (bookTitle);

    }

    }

    }

    Try to use "extends" instead of "extend".

  • Why I'm getting a syntax error on the &lt; / head &gt; line in DW CC?

    I get a syntax error in DW CC.  Other threads have indicated it was a bug in CS6, but was set in CC.  This leads me to believe it's my fault, but I can't understand it.  Can anyone help based on the information that I've pasted below?  Thank you!

    <! doctype html >

    <!-[if lt IE 7] > < class = "oldie ie6" html > <! [endif]-->

    <!-[if IE 7] > < class = "ie7 oldie" html > <! [endif]-->

    <!-[if IE 8] > < class = "ie8 oldie" html > <! [endif]-->

    <!-[if gt IE 8] > <!-->

    < class html = "" >

    <!-<! [endif]-->

    < head >

    < meta charset = "utf-8" >

    < meta name = "viewport" content = "width = device-width, original scale = 1" >

    < title > Untitled Document < /title >

    < link href = "boilerplate.css" rel = "stylesheet" type = "text/css" > "

    < link href = "style.css" rel = "stylesheet" type = "text/css" > "

    "< link href="jQueryAssets/jquery.ui.core.min.css "rel ="stylesheet"type =" text/css">

    "< link href="jQueryAssets/jquery.ui.theme.min.css "rel ="stylesheet"type =" text/css">

    "< link href="jQueryAssets/jquery.ui.accordion.min.css "rel ="stylesheet"type =" text/css">

    "< link href="jQueryAssets/jquery.ui.tabs.min.css "rel ="stylesheet"type =" text/css">

    <!--

    To learn more about the conditional comments around the HTML at the top of the file:

    paulirish.com/2008/conditional-stylesheets-vs-CSS-hacks-answer-neither/

    Follow these steps if you are using your customized version of modernizr (http://www.modernizr.com/):

    * Insert the link to your js here

    * remove the link below for the html5shiv

    * Add the class "No. - js' to the above html tags

    * You can also remove the link to respond.min.js if you included in your version of modernizr Polyfill MQ

    ->

    <!-[if lt IE 9] >

    "< script src="//html5shiv.googlecode.com/svn/trunk/html5.js "> < / script >

    <! [endif]-->

    < script src = "respond.min.js" > < / script >

    "< script src="jQueryAssets/jquery-1.8.3.min.js "type =" text/javascript"> < / script >

    "< script src="jQueryAssets/jquery-ui-1.9.2.accordion.custom.min.js "type =" text/javascript"> < / script >

    "< script src="jQueryAssets/jquery-ui-1.9.2.tabs.custom.min.js "type =" text/javascript"> < / script >

    <!-the following script tag downloads a font of Adobe Edge Web server fonts to use in the web page. "We recommend that you do not modify it.--> < script > var __adobewebfontsappname__ = 'dreamweaver' < /script > < script src ="http://use.edgefonts.net/adamina:n4:default.js"type =" text/javascript"> < / script > "

    < / head >

    < body >

    < div class = "gridContainer clearfix" >

    < div id = "div1" class 'fluid' = >

    < header id = "header" class 'fluid' = >

    "< p > < img src="Images/Logos/insidejoplinlogo.png "alt =" "/ > < / p >

    "< nav id 'mainnav' class = 'fluid' = > < ul class = 'fluid fluidList mainnavlist' > < class li = 'fluid mainnavitem zeroMargin_desktop' > < a href =" Index2.html"title ="inside Joplin Home"target ="_self"> home < /a > < /li > < li = class 'fluid mainnavitem' > < a href =" news.html "> news < /a > < /li > < li = class 'fluid mainnavitem' > < a href ="entertainment.html"> entertainment < /a > < /li > < class Li = 'fluid mainnavitem' > < a href = "announcements.html" > ads < /a > < /li > < li = class 'fluid mainnavitem hide_mobile' > < a href = "galleries.html" > galleries < /a > < /li > < li = class 'fluid mainnavitem hide_mobile' > < a href = "aboutcontact.html" > contact < /a > < /li > < /ul > < / nav > ""

    < / header >

    < section id = "indexguts" class = "fluid" > < article id = "indexarticle" class 'fluid' = >

    < h4 class = "articleH4 fluid zeroMargin_mobile" > news < / h4 >

    < p > < / p >

    < div id = "Accordion1" >

    < h3 > < a href = "#" > Section 1 < /a > < / h3 >

    < div >

    < p > content 1 < /p >

    < / div >

    < h3 > < a href = "#" > Section 2 < /a > < / h3 >

    < div >

    < p > content 2 < /p >

    < / div >

    < h3 > < a href = "#" > Section 3 < /a > < / h3 >

    < div >

    < p > content 3 < /p >

    < / div >

    < / div >

    < / section > < section id = "1" class article 'fluid' = >

    < h4 class = "articleH4 fluid zeroMargin_mobile" > last entertainment < / h4 >

    < p > < / p >

    < div id = "Accordion2" >

    < h3 > < a href = "#" > Section 1 < /a > < / h3 >

    < div >

    < p > content 1 < /p >

    < / div >

    < h3 > < a href = "#" > Section 2 < /a > < / h3 >

    < div >

    < p > content 2 < /p >

    < / div >

    < h3 > < a href = "#" > Section 3 < /a > < / h3 >

    < div >

    < p > content 3 < /p >

    < / div >

    < / div >

    < / section > < article id = "2" class 'fluid' = > < h4 class = "articleH4 fluid zeroMargin_mobile" > latest ads < / h4 >

    < p > < / p >

    < div id = "Tabs1" >

    < ul >

    < li > < a href = "#tabs - 1" > obituaries < /a > < /li >

    < li > < a href = "#tabs - 2" > weddings < /a > < /li >

    < li > < a href = "#tabs - 3" > more < /a > < /li >

    < /ul >

    < div id = "tabs-1" >

    < p > content 1 < /p >

    < / div >

    < div id = "tabs-2" >

    < p > content 2 < /p >

    < / div >

    < div id = "tabs-3" >

    < p > content 3 < /p >

    < / div >

    < / div >

    < / article > < article id = "indexbotleft" class 'fluid' = > This is the content of Article layout tag "indexbotleft" < / article > < article id = 'article 3' class = 'fluid' > This is layout Article content tag "indexbotleft" < / article > < / article > < id side = "mainsidebar" class 'fluid' = > This is the content for Tag Layout side "mainsidebar" < / side > < id side = "mainsidebar2" class 'fluid' = > This is the content for Tag Layout side "mainsidebar2" < / side > < article id = "indexbotrot" class 'fluid' = > This is the content of Article layout tag "indexbotrot" < / section >

    < footer id = "footer" class 'fluid' = >

    < nav id = "footernav' class 'fluid' = >

    < ul id = "footernavlist" class = 'fluid fluidList' > < class li = 'fluid footernavlistitem zeroMargin_mobile' > < a href = "Index2.html" > home < /a > < /li > < li = class "fluid footernavlistitem hide_mobile" > < a href = "news.html" > News < /a > < /li > "

    < class li = "fluid footernavlistitem hide_mobile" > < a href = "entertainment.html" > entertainment < /a > < /li > ""

    < class li = "fluid footernavlistitem hide_mobile" > < a href = "announcements.html" > ads < /a > < /li > ""

    < class li = "fluid footernavlistitem zeroMargin_desktop zeroMargin_mobile" > < a href = "galleries.html" > galleries < /a > < /li > ""

    < class li = "fluid footernavlistitem zeroMargin_mobile" > < a href = "aboutcontact.html" > About Us < /a > < /li > ""

    < class li = "fluid footernavlistitem zeroMargin_mobile" > < a href = "mailto: " [email protected] "> email < /a > < /li > < class li = 'fluid footernavlistitem zeroMargin_mobile' > < a href ="www.facebook.com/insidejoplin"target ="new"> < /a > < /li > < /ul > Facebook .

    < / nav >

    "< article id ="footerarticle"class ="fluid"> < img src="Images/Logos/insidejoplinlogo.png "alt =" "/ > < / section >

    < / footer >

    < / div >

    < / div >

    +

    < script type = "text/javascript" >

    {$(function()}

    . $(«#Accordion1») accordion();

    });

    {$(function()}

    . $(«#Accordion2») accordion();

    });

    {$(function()}

    . Tabs() $(«#Tabs1»);

    });

    < /script >

    < / body >

    < / html >

    Hmm, nothing does highlight for me, but I'm on an older version of DW, maybe it's less picky.

    What happens if you ad a semicolon immediately before the tag in this line...

  • Problems with error "1084: syntax error: expected rightbrace before the end of the program."

    I can't figure out what to do with it because I get the same error:

    ""1084: syntax error: expected rightbrace before the end of the program.".

    Here is my code:

    begin.onRelease = function() {}

    RND = random (8);

    If (rnd > 3) {}

    If (rnd == 7) {}

    RND = 11;

    } rnd = rnd-7;

    } turn = true;

    }

    onEnterFrame = function() {}

    If {(rotation)

    Wheel._rotation += ((rnd*45) - wheel._rotation) / 10;

    }

    Thank you.

    Based on what you show here is a hug from final missing... everything in the end.

    You send messages AS2 code in AS3 forum.  If you continue to have a problem, to repost in the AS1/2 forum.

    http://forums.Adobe.com/community/Flash/flash_actionscript?view=discussions

  • 1084 XML syntax error

    Hello

    This is my first post on the forum and I am a new to Flash.

    I got an error that I can't seem to understand the problem on my own, I read through some of the errors 1084 but still could not understand

    I'm me ' 1084: syntax error: expected rightparen before colon "on this line: myXML = new XML(e:target.data);

    And here's the whole code:

    var loader: URLLoader = new URLLoader();

    loader.addEventListener (Event.COMPLETE, onLoaded);

    var myXML:XML;          Variable that contains the XML class

    function onLoaded (e: Event): void {}

    myXML = new XML(e:target.data);

    }

    Loader.Load (new URLRequest ("names.xml"));

    trace (myXML);

    Thanks in advance

    Cordially Sakujin

    I discovered the mistake, after that I got a help from a friend who did was a colon instead of a conference after XML (e.target.data); instead of XML(e:target.data)

    Thank you to everyone who has visited my post.

  • Line 26 1084: Syntax error: expected rightbrace before the end of the program

    Im trying to make an animation, how can I fix line 26 1084: syntax error: expected rightbrace before the end of the program?

    package

    {

    import flash.display.MovieClip;

    import flash.utils.Timer;

    import flash.events.TimerEvent;

    SerializableAttribute public class extends MovieClip AvoiderGame

    {

    public var enemy: enemy;

    public var gameTimer:Timer;

    public void AvoiderGame()

    {

    enemy = new Enemy();

    addChild (enemy);

    gameTimer = new Timer (25);

    gameTimer.addEventListener (TimerEvent.TIMER, moveEnemy);

    gameTimer.start ();

    }

    public void moveEnemy (timerEvent:TimerEvent): void

    {

    enemy.moveDownABit ();

    }

    }

    {

    This last curly brace must be reversed. You have an opening brace where a closing brace should be.

Maybe you are looking for