Is it possible to reclaim memory from "SWF Files"?

I'm working on an modular app which accumulates quite a bit of memory as "SWF Files".  I'm wondering if that data is redundant with the Bitmap and other ActionScript Objects that get created once the swf file is expanded and processed.  Or is it some other thing, like class definitions, which cannot be unloaded?
Thanks,
Gabriel

When you load a SWF, the data for that SWF, including all the embedded resources it contains, shows up under SWF Files. You can unload the SWF using Loader.unload(), and this will reclaim the memory for any embedded resources, but as far as I'm aware there's no way to unload class definitions (though these shouldn't be significant in terms of memory usage). If you unload the SWF though, you won't be able to use any of its embedded resources any more.
There's no redundancy in Flash Player when you load a SWF - it doesn't make multiple copies of the raw bytes of embedded image data for example. However, it does keep a separate copy of the decoded image - it never destroys the original data (unless you dereference the image and it gets garbage collected), so that it's able to make the optimisation of disposing of the decompressed image if it's running out of memory and you aren't using it, and recreating it sometime later when you need to use it again (see the discussion here for some more detail: http://forums.adobe.com/message/5342232). The only difference, as far as image assets are concerned, between loading them directly with a Loader, and embedding them in a SWF, is that the former will show up under "Images" in Scout, and the latter under "SWF Files". In both cases, the decompressed image will show up under "Bitmap DisplayObjects".

Similar Messages

  • Is this possible to package flash 8 swf file with AIR

    Hi All,
    Is this possible to package flash 8 swf file with AIR
    packager or load flash 8 swf file in AIR?
    Any info on AIR would be greatful.
    Thanks,
    Shailesh

    Yes.
    -ted

  • Using Acrobat to create a PDF from .swf files

    I'm trying to beef up a standard powerpoint presentation into something i could have more control over, and was considering Acrobat as it would (i hoped) allow me to import .swf files from Flash. In reading up on just how flexible acrobat is though, it doesn't really seem to have all of the functionality that i want - if anyone could offer feedback on the following, that would be great in terms of clearing up the queries that i have beforehand!
    essentially, i want to create a PDF file which will open fulllscreen on any machine with no toolbars, windows, additional content in the window except my PDF content. So i would have a central shape/box, which would be white, on which i have text.
    I want this to open centrescreen, fullscreen, with no acrobat reader branding / navigation visible at all. Similar to the way a powerpoint document would open, however - i don't want Adobe Reader to scale my PDF at all.
    I've set my canvas in flash to 1024x768, and i would want Reader to display my file at exactly 1024x768 pixels, and not scale the document up to suit different monitors. So in a way, utilising something like you could with a Flash projector file where you could set the fullscreen's "allowscale" function to "false" (keeping the document at exactly 100%) and the actual fullscreen call itself to "true" (display the document in fullscreen mode, taking over your entire monitor).
    Also, i would want to specify a 'background', which is simple in flash as i can just create an oversized movie clip with whatever i want to appear in the background, and this will cover any excess area in monitors that exceed my canvas size. (So i usually create a movie clip of an image or gradient for the background that measures 2600 x 1600 pixels). Will acrobat be able to render this correctly, or is it just going to display the actual canvas size and exclude my oversized 'background' movie clip? If i use my 1024 x 768 canvas, will it clip the big background movie clip to fit?
    Thanks folks... bit long winded but i just wanted to make sure i've covered the bases!

    Like it or not, InDesign is a color managed application, and your files are all being managed.
    You'll always have less grief if the working spaces match the output, but that isn't always possible. If you want to to convert to the profiles specified in the CSF file, choose one of the "Convert to Profile" settings and select the correct profile as the destination. You'll have two options, preserve numbers, or don't preserve numbers.
    Preserving numbers will cause colors to shift, but will preserve 100% K blacks. Not preseving numbers will change the numbers to give you the closes match possible in appearance, but will royally screw up your 100% K type if going to press.

  • Premiere Degrading Quality (after rendering) of Animation Codec mov's and 4444 Codec mov's, which were made from SWF files, originally exported out of After Effects

    I am making a cartoon, which was created in FLASH,
    Then the SWF's were put into After Effects and exported out as MOV's. (I've tried both AppleProRes4444 and Animation codecs).
    Then I put those Mov's into Premiere. Everything looks crisp until I render. Once rendering is done, the video quality degrades. Here's a screen shot of Premiere:
    On the left is the source MOV (exported from AE), on the right is the timeline viewer (after rendering). The quality on the right is degraded. Help?
    If I use MP4 versions, exported out of Flash, through Media encoder, quality is not degraded.
    (Read on for additional info)
    It was easy and quick to create my MOV's out of AE, which is why I did it this way. I'm exporting to MOV's so I can edit quicker in Premiere. I find editing to sound in AE really difficult, and I don't edit in Flash (employees provide SWF files to me).
    Here is sequence settings in Premiere (these setting were created by dragging an MOV into the sequence and choosing "change settings" to match clip settings.
    Help? Please?

    I am making a cartoon, which was created in FLASH,
    Then the SWF's were put into After Effects and exported out as MOV's. (I've tried both AppleProRes4444 and Animation codecs).
    Then I put those Mov's into Premiere. Everything looks crisp until I render. Once rendering is done, the video quality degrades. Here's a screen shot of Premiere:
    On the left is the source MOV (exported from AE), on the right is the timeline viewer (after rendering). The quality on the right is degraded. Help?
    If I use MP4 versions, exported out of Flash, through Media encoder, quality is not degraded.
    (Read on for additional info)
    It was easy and quick to create my MOV's out of AE, which is why I did it this way. I'm exporting to MOV's so I can edit quicker in Premiere. I find editing to sound in AE really difficult, and I don't edit in Flash (employees provide SWF files to me).
    Here is sequence settings in Premiere (these setting were created by dragging an MOV into the sequence and choosing "change settings" to match clip settings.
    Help? Please?

  • Linking from SWF files to web pages

    Hi
    I'm using the latest Flash CS3.
    Basically, I want to link from the SWF file to a webpage.
    Here's what I've done so far.
    Created the FLA file, imported the quicktime movie into it
    etc etc.
    I've then added a behaviour by clicking on the inserted
    movie, then BEHAVIORS >WEB> GO TO WEB PAGE> and filled in
    all the relevant text for the link.
    Then I have saved the file. Then I have published then OK.
    I have embeded the SWF file in a web page, but when I click
    on the movie, it shows there's a link, but it won't link to the
    webpage.
    What am I doing wrong? I dont understand.
    Can't get my head around this!
    When I go to the FLA file, then publish preview > flash,
    and the movie appears on its own, the link works... but the SWF
    file doesn't.
    Basically what do I need to do to make it work.
    The coding I am using in my web-page is:
    <p align="center"><center>
    <object width="165" height="100">
    <param name="movie" value="
    http://homovision.media7london.com/wordpress/Newcontribute.swf"
    />
    <embed src="
    http://homovision.media7london.com/wordpress/Newcontribute.swf"
    width="165" height="100" />
    </object>
    </p></center>
    The movie plays, the "link hand" appears above it, but when
    it is clicked nothign happens.
    Any help would be greatly appreciated.
    Simon

    Did you inport to the stage and put a stop (action script) on
    the frame?

  • Calling method from SWF file wtih javascript, when swf file is not loaded in any browser

    Hi There,
    I have a question regarding flex and javascript integration:
    1. We have created certain components and bundle them in swf. these swf file uses webservice to connect to backend code written in java.
    2. We have deployed swf file and backend on the same tomcat server.
    3. Backend server send some datapoint to UI and plot graph and displyaed to user.
    4. Now if user generate graph from datapoint and want to export it, we are tranferring image of that graph from UI to backend. No issues in this process.
    5. Now the question is. let say user has not open any swf file in browser and backend scheduling job want to generate the graph. How we will connect to swf file.
    6. Is ther any way we can connect or call method of swf from java/jsp/html/javascript code in this scenario without loading swf file in browser??
    Please help me!!!
    Thanks
    Sonu Kumar

    Both test sites work just fine for me.
    The "Update plugin" message is exactly what would be displayed if no .swfobject file at all was found... so it may not be the "version11" thing but rather, perhaps something else is messed up with the .swfobject file.
    File can be found in both folders:
    http://www.pureimaginationcakes.com/test/Scripts/swfobject_modified.js
    http://www.pureimaginationcakes.com/Scripts/swfobject_modified.js
    and file does download when downloading the html page (just check the cache).... but for some reason it doesn't seem to be working.... Hummmmm????
    Adninjastrator

  • Video from SWF file

    Hi,
    I need to get my animations from Flash Pro CC into a nice crisp looking video clip.
    When I use the option in Flash Pro File - Export- Export Video, I do get a video file. But it looks a bit too blurry. The SWF file itself is much crispier.
    When I use the workflow with After Effects, described here https://forums.adobe.com/thread/1328048, the picture is much more crisp, but I lose the parts in the animation witch were not on the timeline, but coded and also I lose all nested animations (like blinking with eyes etc.).
    How could I use the workflow – Flash – After Effects – Premier Pro, but without losing the coded animations in SWF file and the nested animations?

    Well there's at least some of your trouble. You can NOT export a movie clip with code to a video. it won't work, which is probably WHY your movie is blank in the first place. Especially if you're asking that code to place movie clips onto the stage. Forgive me if I missed you explaining this in the beginning.
    The way movie export works in Flash is almost like taking a screen capture sequence (although not exactly). But basically, what plays live in real time on the stage is what will export. SO, if you want to export your file as a video you'll have to place those movie clips on the stage yourself, set frame ranges for how long they need to play and then make sure the clips animate on the stage in real time. Personally we use Graphic symbols and NOT movie clips and I don't believe they export well to a video.

  • No audio from .swf files

    When using Kutoka's EazySpeak French program, I get no audio at all. The animations are all .swf files, and I'm using 10.4.10 on a MacBook. Already upgraded to latest Flash 9 universal binary, and checked output in Audio Midi Setup - it's still 44100 and I don't use any other third-party program that has changed it. Any suggestions?

    Hi pikepike
    Welcome to macbook forum.
    In addition to troy enn well said reply, here is link to shockwave player for it might be able to run properly on shockwave player, and the rest is mostly similar to troy enn just said:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=82216d24&sliceId=2
    Good Luck.

  • Reclaim memory from iPod nano when deleting songs

    I have an iPod nano 8Gb (second generation). When I delete songs, I notice that it does not reclaim the memory space that these songs took up. I have disconnected iPod from iTunes, shut down iTunes and then reconnected, and it still does not reclaim this memory space.
    How do you recalim this memory space?
    PC 2.4GHz   Windows XP  

    I would suggest that you restore your iPod, to completely clear it off.
    See this: Restoring your iPod to factory settings
    It might resolve whatever internal issues your iPod is having with processing space/used space on the flash drive.
    -Kylene

  • It is possible to get data from Excel file and put them in BusinessObject Entreprise?

    Hi everybody,
    How i can get the information (data table) from a excel file?
    I just want to open a file excel in BusinessObject Entreprise XI. It is possible?
    Thanks

    What is BI launch pad?
    BI platform includes BI launch pad, a web application that acts as a window to business information
    about your company. In BI launch pad, you can perform the following tasks:
    • Access Crystal reports, Web Intelligence documents, and other objects and organize them to suit
    your needs
    • View information in a web browser, export it to other business applications (such as Microsoft Excel
    and SAP StreamWork), and save it to a specified location
    9 2012-03-14
    Getting Started
    • Use analytic tools to explore the business information in detail
    The features of BI launch pad vary by content type, and various applications are available in BI launch
    pad, if you have the appropriate licenses. For information about the features in your BI platform
    deployment, contact your system administrator.
    plz download this file and u can get you answer
    http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCMQFjAA&url=http%3A%2F%2Fhelp.sap.…

  • Possible to get length from midi files?

    Is it possible to retrieve the length from a midi file, for example in miliseconds?

    And how is that helping me?So my taking my limited free time to consider your question, do a search on google, and pull up a very appropriate article -- all as a volunteer mind you -- is not helpful?
    A word of advice: you will have a much greater chance of getting more help if you show appreciation for anyone who takes the time out to consider your problem and offer any even remotely useful solution.
    just my 2 Shekel's worth...
    It explains how MIDI format is built...
    I am no pro as you may understand, because I posted
    in "New To Java".And I can magically read your mind and know exactly where you are in your java development? Sorry, I left my mind-reading cap at work. You were not exactly detailed in what you were seeking, what you know, and what you've found so far. Another word of advice: try to put as much effort into asking your question as you'd like someone would to answer it.
    And I know you can get length of .wav files for
    example by using Clip. That's why I am asking if
    there's a way for midi files as well. Like a method
    for AudioStream or whichever.I hope you find your method. But this is all the help you are going to get from me. Geeze...

  • Is it possible to store dat from word file into a table

    Hi Experts,
    I have an Office UI element on my web dynpro View. It is selected as MS Word. Now I want to save data from this word file to a table in SAP. Can we have a data element which can store such type of large data. Please suggest.
    Regards,
    Vaibhav Tiwari.

    >But we can't have a table attribute of this type
    Actually you can.  You can define a database column as RAW STRING.  This is exactly the same as a XSTRING variable and in your SQL statement you just pass it an XSTRING.  It will store the entire contents of the XSTRING as a single column in the database.  Large size is not a problem.

  • Quicktime & Flash.  Possible to load into a .swf file?

    Hello,
    I'm new to video with flash so I'd really appreciate some
    help.
    My client wants to be able to load a quicktime onto the flash
    stage but still allow the end user to download
    the .mov file, basically maintain the quicktime
    functionality. It must be streaming video as well. We don't want to
    just open the .mov file in a pop up window. Is this possible?
    The way the site is set up so far is I'm loading each
    category into level 2 of the site with all the main buttons on
    level 1. Once the video thumbnails load on level 2, I'd like the
    quicktime to load on level 2 but without converting it to a .flv.
    Thanks in advance for your help!

    The Flash Player only supports playback of FLV movie files.
    It cannot
    playback QuickTime movies or movies of any other format. If
    you want to
    play it within the Flash Player it will need to be converted
    to FLV. You
    could still offer a separate download of the MOV if you
    wanted.
    "matic00" <[email protected]> wrote in
    message
    news:f0kccc$ebb$[email protected]..
    > Hello,
    > I'm new to video with flash so I'd really appreciate
    some help.
    >
    > My client wants to be able to load a quicktime onto the
    flash stage but
    > still
    > allow the end user to download
    > the .mov file, basically maintain the quicktime
    functionality. It must
    > be
    > streaming video as well. We don't want to just open the
    .mov file in a
    > pop up
    > window. Is this possible?
    >
    > The way the site is set up so far is I'm loading each
    category into level
    > 2 of
    > the site with all the main buttons on level 1. Once the
    video thumbnails
    > load
    > on level 2, I'd like the quicktime to load on level 2
    but without
    > converting it
    > to a .flv.
    >
    > Thanks in advance for your help!
    >

  • Dynamically load fonts from SWF files

    Hello,
    9. Add code to register the fonts you embedded when the FontSWF is Loaded.
    import flash.text.Font;
    /*You will use the name of the font that was embedded and DF4. For example, in the example below Arial Black was embedded. Notice that underscores are used. These are added to the font name when it is embedded to create the font class name. If you embedded something like Times New Roman, you would use Times_New_Roman_DF4.*/
    Font.registerFont(Arial_Black_DF4);
    This sentences is following document page 6.
    http://download.macromedia.com/pub/labs/textlayout/textlayout_flashcomponent_overview.pdf
    How is a Japanese font?
    example:
    A-OTF Shin Go Pro M
    Hiragino Kaku Gothic Pro W6
    The following are the errors.
    A-OTF_Shin_Go_Pro_M_DF4
    Hiragino_Kaku_Gothic_Pro_W6_DF4
    Best regards,

    Yes, you should be able to create an RSL that has a font in
    it that can be used. See here for a tutorial on RSLs:
    http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=L iveDocs_Parts&file=00001524.html

  • Progressive download of SWF file - possible?

    With FLV files, it is possible to have progressive downloads.
    In other words, while a part of the video is playing, the rest of
    it is downloading.
    I want to have SWF files that contain frame based animations.
    Does Flash work the same way for SWF files also? In other words, is
    it possible to play part of SWF file's frames, while the rest of it
    is downloading, or does it need to be fully downloaded first and
    only then start to play.
    Thanks for your help in advance!
    hkundra

    > I want to have SWF files that contain frame based
    animations. Does Flash work
    > the same way for SWF files also?
    Yes, it works the same. Loading from the first frame to last
    in the order they come.
    But, take note, if you place animation inside a movie clip
    and that clip is on frame
    (example) 10, it will need to stop on that frame and load the
    entire movie clip to
    progress to the frame 11. So the streaming and progressive
    loading happens only if your
    content is spread across main timeline.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

Maybe you are looking for

  • Action steps that won't run correctly in PSE 7/8/9 (but did in 4 and 6)

    I have a wonderful action that was written to work in PSE 3/4/6.  It won't run in PSE 7/8/9.  After fooling around for a while, I think I understand why.  Adobe changed the way Adjustment Layers are handled.  In earlier versions of Photoshop and Elem

  • DVI to s-video/ composite Video Adaptors- diff b/w 2 Apple products?

    I am trying to get information regarding the difference between 2 Apple display accessories. - Apple PAL DVI to Video Adaptor -Apple part number MA026ZM/A - Apple DVI to Video Adaptor -Apple part number M9267G/A The second is not just an NTSC version

  • Email links will not open in my Firefox browser

    Hello, Using my Firefox web browser when I am in my emails. Inside the email body and there is a link to click on inside. The Firefox will not open the link page, it comes up as an error. However, if i right click and open in a new window. Firefox wi

  • When i click on edit link a popup has to open and i have to show the inform

    Hi all, i have an arraylist with instances of Sectionbean.java class. I created a panelgroup layout to display all the variable inside Sectionbean.java class. and a link called "edit". i kept this panelgrouplayout as a child for iterator . out put is

  • How do you compile a lifecycle module

    I want to develop a Lifecycle module for Sun Java System Application Server 8, Platform Edition. I have read through http://docs.sun.com/source/817-6087/dglfcycl.html#wp16956 . The bit of info that is missing from this document is the name of the jar