3000+ lines of code Computer Useless while text editting HELP!

Ive posted here a little bit ago and hadnt found any help but
now its at a point were I cant type anymore. I have reached the max
allowable text in one single .mxml file. No where does it say there
is a max but when I try to type one line of code now it maxes out
my 2.4 Ghz proc and 1.5 gigs of ram and stops 'buffering' my text
input so it doesnt catch up with me anymore, it just scraps it so
it really takes me longer. I am WAY beyond dissatisfied since I
spent 700 bux on this p.o.s. and now its 1/3 the price!! =o The
problem is that I have an entire app in this and to change now is
not an option, so im stuck, I need to know how to disable all the
functionality in the editor!
Ive also tried Flex 3 but it has the same problems. Can
someone PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE!!!! HELP!!!!!
PLEAS#E!

First thing I'd probably start off with is separating it out
into separate files. And the easiest way you could do this is by
taking everything you have inside of your script blocks and putting
those into .as files. Then once you have your all of your
actionscript within .as file(s). Inside of your mxml do.
<!-- Include External AS File -->
<mx:Script source="externalAsFile.as" />
This should at least get ya onto the right start to getting
things out of the one file but not breaking your
application.

Similar Messages

  • Siri command "new line" in Siri not working while texting directly in Siri?

    Hi,
    Seems that "new line" and "paragraph" don´t work in the Siri GUI - at least the German pendants "Neue Zeile" and "Neuer Absatz" don´t work on my 4S.
    It works fine in apps like mail but not when creating a mail directly dictaed to Siri..
    Thx
    Sebastian

    I am able to get "new line" to work consistently in NOTES. However, it took a while for SIRI to learn what I wanted. At first, SIRI would type out the command. Then I would enter return from the keypad. After about 6 cycles, she learned it and started skipping ta a  new line. I'm not sure what I am going to do when I want to actually type "new line" !  There should be a hot word to use to let SIRI know to interpret the next word as a command suggestion. But I solved my new linds issue.

  • My phone does not show contact names for country and area code while having in coming calls. Although, I have endorsed the name with numbers. How do I the problem. My one is a iphone 3s device with updated os. Please text to help

    My iphone does not recognize saved contact number while having incoming calls due to country and area code as auto prefix. How do i fix the problem. How do i ensure that the phone recognize calls with and without the country and area code. Please text to help.

    1) Open the Phone and dial *228. This is a Verizon over-the-air programming number.
    2) When the system answer press 1 for "Program or activate your phone"
    3) Wait for the call to disconnect. You should get a prompt stating something like, "Settings updated."
    4) Open the Task Manager and kill the Phone, Message, and Contacts Applications
    5) Wait a few minutes (I waited 3 just to be extra safe)
    6) Open the Message App to verify the fix

  • When I hit the Connect button on my droid phone a message comes up that says" Cannot Setup Sync " instead of giving me the 3 lines of codes I need to enter into my Desktop Computer.. Thanks, Joe

    Question
    When I hit the Connect button on my droid phone a message comes up that says" Cannot Setup Sync " instead of giving me the 3 lines of codes I need to enter into my Desktop Computer.. Thanks, Joe

    The Cannot Setup Sync message indicates that you don't have internet access. Check that you can get your phone online (3g or wifi) and then try to connect again.

  • Typelag happens in big projects. AKA 38,325 lines of code.

    My machine runs very fast in all other applications, it is a gaming computer that runs Starcraft 2 smoothly on the highest settings.
    I'm writing a very big application in Flash.  It is well on its way to being a MMORPG.  I have hundreds of classes, but my biggest class has really off the charts type lag.  My biggest class is 38,325 lines of code.
    Now every time I type, it tries to highlight words in grey for some reason.  I think every letter I type, it searches the entire 38,325 lines of code for that word in order to highlight all cases of it.
    take a look at this picture and how "hud" is highlighted
    LINK: http://www.goodnewsjim.com/images/slowdown_FB4.png
    As I move the cursor around and edit, I often times get 1-5 seconds of slowdown, sometimes I even get 20 seconds of type lag where the Flash Builder temporarily says "Not Responding in the window bar".  This happens all of the results of me typing letters, moving arrow keys or pressing delete or backspace.
    For small edits, I can wait 20 seconds to edit one word, but when I work a lot on my code, I have to open an external editor like Scite, but the alt-tabbing consumes time, and there is a mouseclick to reload the .as file.  I would like to use Flash Builder 4 for editing my code, after all that is what an IDE should be able to do if anything.  An IDE should at the very least be no worse than a generic text editor.
    Please tell me how I can disable Flash Builder 4 from trying to highlight words in grey. I think this is what is causing my typelag.  I've turned off code hints.

    Anirudh,
    Thank you again for your quick response.
    1) I already disabled Code assist completely in Window -> Preferences -> Flash Builder -> Editors.
    2) Ok, I did toggle mark occurances off.
    The problem still persists.  I still have type lag. 
    ,Jim

  • 7000+ lines of code causes erratic behaviour

    I've been having problem with a game I'm writing, I've got
    nearly 7000 lines of code now (over 5000 in 1 frame), and flash has
    started producing some strange behaviours. I've post on flashkit
    (link
    here) and another user has an identical problem.
    Sometimes, a published swf will do a range of odd behaviours
    - it will do exactly the same thing for each published swf, but
    then making completely minimal code changes (even changing the
    content of a text string which is never refered to) will then cause
    the swf to perform correctly.
    Sometimes the swf just freezes, sometimes it gets caught in a
    loop switching between high quality and low quality, sometimes it
    tries to load a location made up of garbled letters, or on one
    occassion opened up over a dozen new browser windows.
    This is always triggered whenever a swf is loaded into the
    main swf.
    I could only think that they was too much code and some of it
    was being ignored, I tried using external as files, but this didn't
    fix it, and other users on Flashkit have twice the code I have and
    no problems.
    Is this a known issue? is there a work around?
    (I'm using Flash 8 professional)

    My guesses aside from a logic problem are that it could be
    something you
    stumbled on that the compiler is not getting (what are your
    publish movie
    and AS settings?) or a corrupted movie.
    Here are some items I might try. Make backups of course.
    Try publishing with a different computer and copy of Flash.
    Try Save and Compact.
    Try Save As.
    Try rebuilding from a brand new movie. Will require quite a
    bit of cut and
    pastes.
    Try loading code in smaller units from external swfs.
    Although I do not see
    why it cannot be in one Flash movie unless there is a known
    limit I never
    hit and I am sure I have had Flash movies with at least that
    much code.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "derelttil" <[email protected]> wrote in
    message
    news:[email protected]...
    I've been having problem with a game I'm writing, I've got
    nearly 7000 lines
    of
    code now (over 5000 in 1 frame), and flash has started
    producing some
    strange
    behaviours. I've post on flashkit
    http://www.flashkit.com/board/showthread.php?t=683922
    and another user has
    an
    identical problem.
    Sometimes, a published swf will do a range of odd behaviours
    - it will do
    exactly the same thing for each published swf, but then
    making completely
    minimal code changes (even changing the content of a text
    string which is
    never
    refered to) will then cause the swf to perform correctly.
    Sometimes the swf just freezes, sometimes it gets caught in
    a loop
    switching
    between high quality and low quality, sometimes it tries to
    load a location
    made up of garbled letters, or on one occassion opened up
    over a dozen new
    browser windows.
    This is always triggered whenever a swf is loaded into the
    main swf.
    I could only think that they was too much code and some of
    it was being
    ignored, I tried using external as files, but this didn't fix
    it, and other
    users on Flashkit have twice the code I have and no problems.
    Is this a known issue? is there a work around?
    (I'm using Flash 8 professional)

  • Writing new lines or carrige returns to a text file

    I am try to use either FileOutputStream or FileWriter to write a String to a text file. Only any \n or \r characters within
    the string open as square blocks in notepad when the string is writen, and all the text is on one line.
    example code:
    FileWriter writer = new FileWriter(name + ".txt", false);
    String writeString = "Name: " + name + "\nSurname: " + surname;
    writer.write(writeString, 0, writeString.length());
    I am using Win98.

    Notepad is a Windows-bigoted program and requires \r\n to denote the end of a line. (Or is it \n\r? Can't remember.) If you only give it \n (as in your example) it doesn't understand and displays those boxes. Other Windows text editors do a better job.
    If you wrap your FileWriter in a PrintWriter, then you can just use its "println" method, which will take care of line-ending characters for you (it understands which OS you are running under and writes whatever combination of \n and \r is appropriate). Like this:FileWriter writer = new FileWriter(name + ".txt", false);
    PrintWriter printer = new PrintWriter(writer);
    String writeString = "Name: " + name;
    writer.println(writeString);
    writeString = "Surname: " + surname;
    writer.println(writeString);

  • I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

    I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

    That is because you don't have a web server configured and running to serve the html page. In order to see the page in a browser you need to access it using a url similar to http://localhost/~yourUserName if you are serving the page from your user account.
    Prior to Mountain Lion you could go into web sharing and turn on the web server. With Mountain Lion there is no option, other than using terminal, to turn on the web server. The web sharing menu item has been removed in Mountain Lion. Apache is still on your computer but it will take a little searching these forums or the Internet to find how to turn it on.
    If you want a graphic user interface to turn on/off the Apache server you could download and install a server application like xampp, http://www.apachefriends.org/en/xampp.html. I use this and it works well.

  • Ssis execute process task error: process exit code was 1 while the expected was 0

    Hi Sir,
    in my SSIS Package(2012) i am using Execute Process Task which will call bat file.  bat file is located on UNC Path.i am having  the below script in the batch file.
     del \\servername\foldername\name.txt
     rcmd \\servername D:\name1.bat
     del \\servername\foldername\name2.txt
    xcopy \\servername\foldername\file.txt   \\server\foldername\outfilefolder
    i am getting the below error message:
    ssis execute process task error:  process exit code was 1 while the expected was 0
    i want know at what cases error exit code was 1?
    Thanks for your time.

    Hi prasad.alm,
    The error is generic and can be caused by various factors. Here are some suggestions for your reference:
    Manually run the executable to execute the batch file so that we can check whether the command lines in the batch file are correct or not.
    Check there are no duplicate/existing files in the destination folder.
    Try to run the package in 32-bit or 64-bit runtime mode.
    If the issue occurs when running a job, try to create a CmdExec type job step to call the excutable. If this job also fails, it might be an issue between executable and SQL Server Agent rather than the SSIS package itself.
    If the issue persists, enable logging for the package, and check if we can obtain more detailed error message for further analysis.
    Regards,
    Mike Yin
    TechNet Community Support

  • White lines of code on black background upon starting up

    I recently sent my Macbook in due to problems with the screen going dark for no reason. Upon recieving the laptop back, I noticed problems upon starting. When I restart my laptop, there are white lines of code on a black background. I called in to support, but my support expired and here I am searching for help. They told me that I needed to try and reset my drivers, or my HDD is bad. To reset my drivers they gave me a combination of keys to press upon restarting, but I don't remember the combination of keys. I have repaired my disk using the install CD, but still am having problems.
    It's crazy that I send my laptop in and get it back with other problems... Any help is appreciated becuase Apple surely isn't helping.
    Macbook   Mac OS X (10.4.8)   Core Duo w/ Bootcamp

    Turn the computer off. Wait one minute. Restart. If you are still booting into single-user mode (black screen with white print) then at the prompt enter:
    reboot
    Then press return. If this does not start you up into OS X then there's a system problem. You will need to reinstall OS X. You can do this using the Archive and Install option that does not require you to erase the hard drive. Your old system will be archived in a Previous System Folder at the root of the hard drive.
    Before performing the Archive and Install you should do the following:
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. Then select Disk Utility from the Installer menu (Utilities menu for Tiger.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then quit DU and return to the installer. Now proceed with the OS X installation.
    If DU reports errors it cannot fix, then you will need Disk Warrior (4.0 for Tiger) and/or TechTool Pro (4.5.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • Integration conflicts comparision beyond 20 thousand lines of code

    Hi
    SAP Netweaver ,  webdynpro for Java
    I have a file which has 20 thousand lines of code in Project track and 16 thousand lines of code in maintanance track.
    I have added 2 lines of code in maintainance track and tried to resolve integration conflicts with project track.
    when i do Merge in integration conflict with project track.
    it took so much time to compute difference and finally ended up with message
    " Too many differences, Turn on the Ignore white space option or do a structure compare first"
    once i click ok it takes to the comparison but its not able integrate as there are no signs of merging the code.
    i am not able not find any solution for this to resolve this.
    Could you please help me in this
    regards
    pradeep

    Hi Satish and Anil,
    Thanks for your reply.
    Actually its only one activity that has to be integrated from Maintanance track( (4 new lines of code) out of 16 k lines) to project track which had 20 k lines of code.
    Once i have released the activity from transport view of mainatance track it reached to consolidation tab of maintanance track and in parallel it reached to development tab in Project track(i have imported the same to consildation of project track) in CMS
    After that i have gone to DTR and clicked on Integration conflicts the when i tried to right click and merge
    it took so much time and finally ended up with message saying
    " Too many differences, Turn on the Ignore white space option or do a structure compare first"
    could you please help me this is critical for us to integrate the changes
    Thanks and Regards
    Pradeep

  • Delete a line in the middle of a text file

    Hi, I want to delete a certain string line in the middle of a text file. How could I do this? Thanks.

    Got it. But instead of overwriting with spaces I only need to write the letter "b":
    try {
                                            RandomAccessFile acceso=new RandomAccessFile("F:/ArchivoContrase�as.txt","rw");
                                            String linea="";
                                            while ((linea = acceso.readLine()) != null) {
                                                      StringTokenizer patron=new StringTokenizer(linea," ;");
                                                      String s=patron.nextToken();
                                                      s=patron.nextToken();
                                                      if (elimina.equals(s)) {
                                                           System.out.println(acceso.getFilePointer());
                                                           acceso.seek(acceso.getFilePointer());
                                                           acceso.writeBytes("b");                         
                                       } catch (FileNotFoundException e) {
                                            e.printStackTrace();

  • Need help with in-line HTML code

    I am trying to write some in-line HTML code to change the background color to blue for Exception-Bad.  Here is my code
    I am trying to use in-line HTML code in WAD to change the background color for Exceptions-Bad to blue.  This is not working.  I really need to get this to work so if someone could tell what is wrong with my code, I would really appreciate the help.
                <style type="text/css" > SAPBEXexcBad7 {background-color: blue}; .SAPBEXexcBad8 {background-color: blue}; SAPBEXexcBad9 {background-color: blue} </style>
    Thanks.
    Ryan

    Hi Boater,
    HTML code will also come like this also
    BODY BACKGROUND="image.jpg" BGCOLOR="#FFFFFF" TEXT="#000000"
    let this one also
    Regards
    Ashwin

  • Restarting my computer even while other users were still logged in

    Before updating to Leopard, I used be able to Restart my computer even while other users were still logged in. Yes, I would get a warning that others were still logged in and stuff might be lost in their environments, but for expediency I took the chance and typed in my password as Admin and was allowed to Restart.
    This no longer works for me in Leopard.
    I found a discussion about this same problem here:
    http://discussions.apple.com/thread.jspa?messageID=5752187&#5752187
    Great -- But the solution that that thread leads to is to use the Command Line in the Terminal and figure out whether one's unix ID number jibes with Group ID or Admin ID etc. etc. -- yuck --
    Sorry, that's getting a little too technical for me. Is there a GUI solution to this?
    Thank you.

    Your whole bookmarks story is very confusing to me. Perhaps someone else can explain that better. :)
    Can you give me your crash reports?
    #Enter ''about:crashes'' in the Firefox address bar and press Enter. A Submitted Crash Reports list will appear, similar to the one shown below.
    #Copy the '''5''' most recent Report IDs that start with '''bp-''' and paste them into your response here.

  • Dreamweaver not displaying last 30 lines of code, GoLive does display them

    My issue here is that Dreamweaver is displaying lines 1
    through 71 of an .html document but there are 124 lines of code
    when opened in Go Live. Here are the undisplayed lines of code...
    any suggestions on how to reveal them in Dreamweaver CS3?
    <input type="hidden" name="id" value="1">
    <input type="hidden" name="amount" value="1200">
    <input type="hidden" name="amount_base" value="1200">
    <input type="hidden" name="quantity" value="1">
    <input type="hidden" name="item_number" value="3">
    <input type="hidden" name="item_name" value="Sabre 2 - 300
    Jumps">
    <input type="hidden" name="on0" value="warranty">
    <input type="hidden" name="or0" value="1">
    warranty: <select name="os0"
    onchange="UpdatePrice(this.form);">
    <option value="None">Please
    select</option><option
    value="Warranty=100">Warranty</option>
    </select>
    <br>
    <input type="image" src="images/ppcart1.gif" border="0"
    name="submit" alt="">
    </div>
    </td>
    </tr>
    <tr>
    <td colspan=2><div
    class="paypalsb"></div></td>
    </tr>
    </form>
    <script language="JavaScript">
    <!--
    UpdatePrice(document.pp1); // initialize option price
    -->
    </script>
    </table>
    </td></tr></table>
    <!-- view template customizable area end -->
    <p> </p>
    </td>
    <!-- End Content column -->
    <!-- Begin Cart column -->
    <td width="20%" valign="top" class="ntkRightColumn">
    <p><b><div class="paypalsb">Shopping
    Cart</div></b></p>
    <script language="JavaScript">
    <!--
    CartView(0);
    //-->
    </script>
    </td>
    <!-- End Cart column -->
    </tr>
    </table>
    <!-- Footor -->
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <tr class="ntkBottomRow">
    <td> <!-- Note: Only licensed users are
    allowed to remove or change the following copyright statement.
    -->
    <span class="paypalsb" style="color:
    #808080;">&copy;2005 NTK Software. All rights
    reserved.</span>
    </td>
    </tr>
    </table>
    </body>
    </html>

    And the file is corrupt turns out to not be the answer....
    Again I try a different fresh file that follows the same
    guidlines and the code is cut off at line 92, there are 133
    total.... I've provided the code below with a line to show what
    shows up and what doesn't - Any suggestions?
    <html>
    <head>
    <title>testing</title>
    <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <meta HTTP-EQUIV="Expires" CONTENT="0">
    <script language="JavaScript" type="text/javascript">
    <!--
    NTK_RootPath = ""; // configure root path
    NTK_CartAction = 0; // load cart
    //-->
    </script>
    <script language="JavaScript"
    src="ntkcartconfig.js"></script>
    <script language="JavaScript"
    src="ntkcartpp.js"></script>
    <script language="JavaScript"
    src="ntkcart.js"></script>
    <script language="JavaScript"
    src="menu.js"></script>
    <script language="JavaScript"
    src="ntkmenuconfig.js"></script>
    <script language="JavaScript"
    src="ntkcategoryconfig.js"></script>
    <link href="project1.css" rel="stylesheet"
    type="text/css">
    <meta name="generator" content="PayPal Shop Builder
    v2.0.0.1">
    </head>
    <body>
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <!-- Logo and top banner background color -->
    <tr class="ntkTopRow">
    <td><img src="images/paypalsb_logo.png"
    border="0"></td>
    </tr>
    </table>
    <table width="100%" height="100%" border="0"
    cellspacing="0" cellpadding="0" class="ntkMain">
    <tr>
    <!-- Begin Menu Column -->
    <td width="20%" height="100%" valign="top"
    class="ntkLeftColumn">
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <tr><td nowrap>
    <script type="text/javascript" language="javascript">
    if (document.getElementById) {
    oMenu_root.Render();
    } else {
    document.write(ntk_browserNotSupported);
    </script>
    </td></tr>
    </table>
    <br>
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <tr><td nowrap>
    <span
    class="paypalsb"><b>Browse</b></span>
    </td></tr>
    </table>
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <tr><td nowrap>
    <script type="text/javascript" language="javascript">
    if (document.getElementById) {
    oCat_0.SetHighlight(); //*** need to set highlight to the
    current cateogry or page
    oCat_root.Render();
    } else {
    document.write(ntk_browserNotSupported);
    </script>
    </td></tr>
    </table>
    </td>
    <!-- End Menu Column -->
    <!-- Begin Content column -->
    <td valign="top" class="ntkMidColumn">
    <!-- <div class="paypalsb">testing</div>
    -->
    <p><b><div
    class="paypalsb">Categories &gt; Rigs</div></b></p>
    <!-- list template customizable area start -->
    <table class="ntkTable">
    <tr class="ntkTableAltRow">
    <form name="pp1" onSubmit="return
    SubmitItemToCart(this);">
    <td width="200" valign="top"><a
    href="Product_view_Rigs_1.html"></a></td>
    <td width="99%" valign="top">
    <a href="Product_view_Rigs_1.html">2</a>
    <br>
    <a href="Product_view_Rigs_1.html">Mirage G4</a>
    <br>
    <input type="hidden" name="id" value="1">
    <input type="hidden" name="amount" value="1200">
    <input type="hidden" name="amount_base" value="1200">
    <!-- *** Discount type -->
    <input type="hidden" name="discounttype" value="0">
    <!-- *** Ship type -->
    <input type="hidden" name="shiptype" value="0">
    <input type="hidden" name="quantity" value="1">
    <input type="hidden" name="item_number" value="2">
    <input type="hidden" name="item_name" value="Mirage
    G4">
    <input type="hidden" name="on0" value="Color">
    <input type="hidden" name="or0" value="0">
    <input type="hidden" name="shipping" value="1">
    <div id="div_amount_1" name="div_amount_1">Price:
    $1,200.00
    <!----Above Line shows up in Dreamweaver CS3-->
    <!----Below Line shows up only in other code editors-->
    Color: <select name="os0"
    onchange="UpdatePrice(this.form);">
    <option value="None">Please select</option>
    <option value="Green=0">Green</option>
    <option value="red=0">red</option>
    </select>
    <br>
    <input type="image" src="images/ppcart1.gif" border="0"
    name="submit" alt="">
    </td>
    </form>
    <script language="JavaScript">
    <!--
    UpdatePrice(document.pp1); // initialize option price
    //-->
    </script>
    </tr>
    </table>
    <!-- list template customizable area end -->
    <br>
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0"><tr>
    <td align="right"><div
    class="paypalsb">Items 1 to 1 of 1</div></td>
    </tr></table>
    <br>
    <p> </p>
    </td>
    <!-- End Content column -->
    <!-- Begin Cart column -->
    <td width="20%" valign="top" class="ntkRightColumn">
    <p><b><div class="paypalsb">Shopping
    Cart</div></b></p>
    <script language="JavaScript">
    <!--
    CartView(0);
    CartButton(0);
    //-->
    </script>
    </td>
    <!-- End Cart column -->
    </tr>
    </table>
    </body>
    </html>

Maybe you are looking for