Flash IDE: Retain collapsed code

I've been developing using Flash CS4 Professional and have some rather large classes. I like to collapse the code to make it more managable, but when I save the file and reopen later, the code remains collapsed only occasionally. The vast majority of the time, it's expanded and I have to go through the class and re-collapse everything.
I searched the internet and found absolutely nothing on this topic. I don't know if this is normal behavior, or a bug...
Can anyone help?

I've been developing using Flash CS4 Professional and have some rather large classes. I like to collapse the code to make it more managable, but when I save the file and reopen later, the code remains collapsed only occasionally. The vast majority of the time, it's expanded and I have to go through the class and re-collapse everything.
I searched the internet and found absolutely nothing on this topic. I don't know if this is normal behavior, or a bug...
Can anyone help?

Similar Messages

  • AMFPHP hanging in browser but not Flash IDE?

    Wrote a service that sends a bytearray to my Flash app that works perfectly fine when I test it in the Flash IDE (CS5), and when I compile the app and run it in a browser directly from my computer.
    When I load it on to the server to run in my browser, the same service hangs. Can anyone think what may be causing this?
    I tested the service in the service browser and it worked fine there as well.
    I'm really hitting a wall on this, any help would be appreciated!

    What is ncDB? Is it a remote object?
    Remote object don't have a connect method. Istead you should set the endpoint, source and destination properties.
    If you handle your requests through AS3, you could do the following. I use this code in a singleton class.
    in the constructor:
    ws.RemoteObject = new RemoteObject();
    ws.destination = "amfphp";
    ws.source = "nameOfYourService";
    ws.endPoint = "linkToYourGateway.php";
    ws.addEventListener(FaultEvent.FAULT, this.faultHandler);
    In a method named 'call':
    public function call(endPoint:String = null, serviceMethod:String, resultFunction:Function = null, ...args):void
              if (endPoint != null)
                   ws.endPoint = endPoint;
                if (resultFunction == null)
                    resultFunction = defaultResult;
                if (ws.operations.hasOwnProperty(serviceMethod))
                    ws[serviceMethod].removeEventListener(ResultEvent.RESULT, resultFunction);
                    ws[serviceMethod].removeEventListener(ResultEvent.RESULT, defaultResult);
                ws[serviceMethod].addEventListener(ResultEvent.RESULT, resultFunction);
                ws[serviceMethod].arguments = args;
                ws[serviceMethod].send();
    Does this help?
    Dany

  • Mx.transitions + movieClipLoader + Crashing Flash IDE

    Well I got this code straight from the adobe site and it is
    suppose to show how to use the mx.transition class with a movie
    clip loader. When I look at the code it seems right but the flash
    Ide keeps crashing but before that happens it prompts me that the
    code is causeing the player to be unresponsive like ther is a loop
    or something that won't end. I don't see any loop and would expect
    this code to have been edited on the adobe site if it were
    incorrect especially since it is fore mx 2004.
    and the link to the tutorial on this site.
    http://www.adobe.com/devnet/flash/articles/tweening_09.html

    Bad fla. Copied code and placed in new file work
    perfect.

  • Flash IDE Components in Flex 3 Design Mode. Can they be visible there?

    Hi,
    Im exploring Flex to get a grasp on its concepts and am currently looking into building components in the Flash IDE. Though i guess its likely that when you're more familiar with Flex you build your components in Flex, like said Im exploring its concepts and like to know where and how the Flash IDE fits in its workflow.
    I made a simple Flex Component in the Flex IDE, which shows up fine when I run the Flex project. But it does not show in Flex Design Mode.
    I have exported the component from Flash as an SWC and added the SWC to the Flex library path. The symbol in the Flash IDE extends UIMovieClip. Now I read in 'Using Adobe FlexBuilder 3' (p.67) that the Flex Components panel only lists visible components, according to the documentation 'components that extend UIComponent'.
    Note that my question is about being visible on the stage in Design Mode, not in the component panel. As UIMovieClip doesnt inherit from UIComponent (and the UIComponent class doesnt seem to be available in the Flash IDE), is this also the cause that the Flash IDE component is not visible on the Flex stage in Design Mode?
    Can someone confirm, or deny this?
    Regards,
    Marcel

    Hi Latha,
    thanks for your feedback. Reading it back though, Im still not sure whether Flex components build in the Flash IDE (using the Flex Component Kit for Flash CS3) can be visible in Flex 3 Design Mode.Maybe you can be a bit more specific and save a lot of Flex beginners a lot of headaches.
    I understand that MXML components can be used in Design Mode. I also understand that if your component is AS you have to create a Library and link that to your project to make them visible in Design Mode. I also understand that Flash Builder 4 does "support rendering of UIMovieClip objects which are in library (swc) and added to the project build path"
    This actually doesnt answer my question really. Does this mean there is no way to render Flex components build in the Flash IDE (using the Flex Component Kit for Flash CS3)  in Flex 3 Design Mode?
    Regards,
    Marcel

  • How to insert a shoutbox and a counter in a flash file with html code?

    How to insert a shoutbox and a counter in a flash file with
    html code?
    Code shout box
    <!-- BEGIN MYSHOUTBOX.COM CODE -->
    <iframe src="
    http://489676.myshoutbox.com/"
    width="152" height="300" frameborder="0"
    allowTransparency="true"></iframe>
    <!-- END MYSHOUTBOX.COM CODE-->
    Code compteur
    <script type="text/javascript" src="
    http://www.123compteur.com/counterskinable01.php?votre_id=268303"></script><noscript><a
    href="
    http://www.123compteur.com"
    target="_blank">compteur</a></noscript>

    thx =D

  • Adobe Flash IDE: Migration/Compatibility issues between Adobe Flash Professional CS3 and CS5

    Hi,
    Adobe Flash IDE: Adobe Flash CS3 Professional and Adobe Flash Professional CS5
    I am facing some  migration/compatibility issues between Adobe Flash CS3 Professional and Adobe  Flash Professional CS5:
    I am working on a project that has  been completely developed in CS3 earlier. When I am using CS5 (Flash Player 9 /  Flash Player 10) to compile the FLA files, it is creating some new issues like  some customized radio buttons are getting disappeared while viewing the SWF on a  web page etc.
    So, I would like to  know:
    1) Is there any  migration/compatibility issue between Adobe Flash CS3 Professional and Adobe  Flash Professional CS5?
    2) If yes: Is there any patch  available from Adobe for it?
    3) If no: What could be the causes  and the best possible solutions for it?
    Any help and support would be highly  appreciated. Many thanks in advance!
    Thanks & Regards
    Amit

    Apparently some people have issues, but I don't think it is across the board.  Here's a link to another recent posting that may or may not prove helpful to you...
    http://forums.adobe.com/thread/776615?tstart=60

  • HT1925 I receive error code 2349   when trying to install iTunes.  Any idea what that code means and how to correct?

    receive error code 2349   when trying to install iTunes.  Any idea what that code means and how to correct?

    It's a better bet with a 2330, but the first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Flash builder 4.5 code completion doesn't show public function

    Hi,
    I am migrating from flex3 to flash builder 4.5 and it shows a question mark at one of my lines.
    No errors, and the code works fine when i run it.. only there is no code completion in flash builder.
    My code:
    //i use a custom component like this:
    <generalmenu:menu x="59" y="58" id="mymenu"/>
    //this component loads its functions from a separate as(no class just simple as code) file (so i don't have all code in the file with visual components)
    <fx:Script source="menusource.as"/>
    //inside menusource.as there is a function that takes care of closing my app.
    public function closeprogram():void
         //closing window goes here
    my problem..
    when i type inside my function at application level:
    mymenu.closeprogram();
    i get a question mark in front of it: Call to a possibly undefined method closeprogram
    code completion doesn't recognize my public functions inside the mymenu component, it does see mymenu but when i hit .(dot) it doesn't give me a list of functions.
    How can i get code completion to work? Are there changes in the way you call as files in flash builder 4.5? Please some help.. code completion makes life much better.

    I found why the nasty behavior above was happening ::- D.
    I usually design my classes in Enterprise Architect. Since this is a rather large project, started from of about 30 classes, I did the entire architecture in EA, then, generated the code.
    But, EA has poor AS3 support. And as a consequence, it has a few issues, such as the way it generates CONSTRUCTORS:
    public function G3Widget (name: String, parent: IG3Parent = null): void
    Spot the mistake ::- D.

  • Change Flash IDE default player in OSX?

    Does anyone know if it's possible to change the flash player
    that Flash IDE uses? As far as I know, it uses the special
    debugging version of the player. For some reason this player runs
    much slower than the regular standalone player in OSX.
    So I'm trying to figure out if there's a configuration file I
    can edit or something to have it launch the standalone player when
    using the Flash IDE.
    There's a "players" folder Inside the main "Adobe Flash CS3"
    folder. I tried swapping out the player in there in the debug
    folder but it didn't seem to do anything.
    I know there's the nifty flash switcher app that does exactly
    what I need, but it's only available on the PC.
    Thanks for any help.
    -Ryan

    quote:
    Originally posted by:
    DeadCowboy
    I have still been having the same problem. I use Myspace for
    my band, and I continue to get the prompt that I do not have the
    current Flash installed and gives me the option to go to the page.
    I have uninstalled and then installed the brand new updated version
    and when it finishes the installation it opens Safari and sends me
    to the 'adobe about' page and again I get :
    >>>The page “Macromedia - Flash Player”
    has content of MIME type
    “application/x-shockwave-flash”, but you don’t
    have a plug-in installed for this MIME type. A plug-in should be
    available on this page:https://www.macromedia.com/go/getflashplayer
    Do you want to open the page?<<<.
    Your problem is completely different than what we're talking
    about in this thread.
    Your problem is discussed in the thread '[ADOBE] Resolving
    Mac Flash Player install problems 9/2007'. Check that out and you
    should be able to resolve it via permission repair.

  • Running multiple instances of Flash IDE CS(6)

    I have a build machine compiling my fla files by running Flash.exe from command line and supplying a JSFL file as a parameter. I want to run multiple instances of Flash IDE in order to enable concurrent builds on that machine otherwise there's only one thread running on a build machine which is a resource waste.
    So, is it possible to run multiple instances of Flash IDE? Maybe there's a kind of command line switch? I have Flash CS6, but there shouldn't be that many differences with CC, isn't it?

    I dont think you can run multiple instances of flash both in CS6 and CC.
    -Sujai

  • Given a SWF file, how would I know on what Flash IDE has it been compiled?

    Hi guys,
    I have a series of modules developed  overtime and so some of them are AS1, AS2 and AS3. Some where compiled  using FlashMX, 8, CS3, etc.
    Sometimes it would be very beneficial for me if I could know with what version of the Flash IDE it  was compiled and targeting what platform.
    Is this  possible? Perhaps using some decompiler? Perhaps opening the SWF on a  text editor and looking for some string that tells this details?
    Thanks  for any comment or link you may post.
    regards,
    Miguel.

    a decompiler would let you see what version of actionscript was used and what flash player was targeted (among other things).

  • Does Flash IDE compiler follow symlinks?

    I am using Flash CS4 10.0.2 on OS X 10.6.3.
    I have a Flash project in a dir:
    $ ll
    -rw-r--r--@ 1  jfassett   jfassett   4.5K  8 Apr 18:04 Navigation.as
    -rw-r--r--@ 1  jfassett   jfassett    59K  8 Apr 16:44 Navigation.fla
    -rw-r--r--@ 1  jfassett   jfassett   547B  8 Apr 18:05 Navigation.swf
    lrwxr-xr-x  1  jfassett  jfassett    29B  8 Apr 18:05 com -> /project/kiln/as3lib/src/com/
    -rw-r--r--@ 1  jfassett   jfassett   563B  8 Apr 17:55 data.xml
    You can see I have the directory com as a symlink to another location on my hd. If I try and import files from the com directory into Navigation.as the Flash IDE cannot find them saying:
    1172: Definition com.zoogeny.resource:ResourceService could not be found.
    It works using mxmlc:
    $ mxmlc Navigation.as
    Loading configuration file /Applications/Adobe Flash Builder Beta 2/sdks/3.4.1/frameworks/flex-config.xml
    /Users/jfassett/Documents/_work/freelance/fdsdevelopments/Navigation.swf (4434 bytes)
    Should the Flash IDE also be following the symlinks?

    Suppose not.
    Defect created: https://bugs.adobe.com/jira/browse/SDK-30475

  • URLLoader not working in any browsers but fine in the Flash IDE

    I have a problem that seems very strange. A flash script is using URLLoader to update some records and send back a message.
    In the flash IDE there is no problem. However, when I upload to the server, or viewing the swf file locally in any browser, the browser just hangs and does not show anything.
    I have also added a IOErrorEvent.IO_ERROR handler which does not give me any information.
    The URLloader is communicating with a php script. I have found out that it works with a .txt file.
    Is the anything that needs to be included in the php script?
    Thanks in advance.

    Hi Everyone
    I have managed to find the answer.
    The PHP script had a comment line after the echo statement. Once this was removed the application started the work fine in all the browsers.

  • Expand collapsed code by double-click. A ticking bomb

    I might have posted about this before, but since the technical support doesn't accept cases after-hours (they seem not like to arrive to the office with tons of requests, so we are all squeezed to the the group of those that have the time to wait in line - in the chat… which often closes itself because of the long time waited)
    When I double click collapsed code to expand it, Dreamweaver ALWAYS crashes. It might be on the spot, or later.
    If I NEVER double click collapsed code, Dreamweaver can run for weeks without even closing it (I never shutdown my MacBook Pro)
    If I do it, it WILL crash, usually on the spot, or minutes later.
    When I dare to do it, and I forget that I did minutes later, I end up regretting when it finally crashes, and it NEVER dissapointed me: Soon it crashes as expected.
    I already deleted all the possible preferences and customizations, and it still happens.
    It's been happening for years, so it's not only DreamWeaver CC. Definitely from CS4 and up.
    I use creative swite CC, on Mac OS 10.6.8

    I use creative swite CC, on Mac OS 10.6.8
    Can you confirm the version(s) of DW you're running on 10.6.8?
    Dreamweaver CC only runs on Mac OS X 10.7 and higher
    http://www.adobe.com/products/dreamweaver/tech-specs.html

  • Flash IDE publishes SWF on every Flash Builder 4 save

    In FB4 I have created a 'New Flash Professional Project'.  The target FLA automatically publishes a SWF everytime I save a class in FB4, checking for errors, etc.  This is neat, but it's slowing my workflow, as I bounce between classes in FB4 & library assets in Flash CS5, I'm constantly waiting for the Flash IDE to finish publishing the SWF.
    My question is whether or not there's a way to disable the Flash IDE from automatically publishing on FB4 saves?

    iBrent helped to find in the FB4 Preferences > Workspace > uncheck Build automatically

Maybe you are looking for

  • Bullets disappearing in discussions?

    Has anyone else noticed that bullets are not appearing in discussion threads?  for instance, I made the following with bullet pint lists: Bullet 1 Bullet 2 Bullet 3 it looks fine in the editor but there are no bullets or indentations when it's posted

  • Need troubleshooting advice for osx 10.3.9

    Not sure of how, but system was changed in a subaccount (main account not affected) Subaccount now opens with different icons, not running all applications and several items are gone like mail connections, address book, and bookmarks. need to know ho

  • How to restrict Asset Books LOV in the Asset creating work bench

    Currently when users try to create Assets, they are able to see all the Corporate Books in the Book field. We want to restrict this LOV to show only book/s relevant for that Operating Unit. Regards, Ravi

  • Generating excel files using XSLT mapping

    Hi All, I am working on a proxy to file scenario and we have a requirement of generating .xls file in a spreadsheet format at FTP server.I have done xslt mappping for creating the excel file in spreadsheet.But getting following error in channel monit

  • Can't locate or eject CD

    My dad has an iMac and he has shoved a CD in the drive which he says he thinks had photos on it. He couldn't see the CD or what was on it and now he can't eject it either. I have tried the usual things, restart holding mouse button down etc and nothi