Memory increase  in a Flex state application

I built a simple Flex state based video application on Flash Builder 4.5. There are 4 states. Everytime I go from State1->State2->State3 or State1->State2->State4, the memory in internet explorer increases, but is not released. What am I not deallocating?
Source Code is here: http://bit.ly/flex_state_video1
View from the detecting loitering objects(http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb5510654d812e4d126514-8000. html#WS6f97d7caa66ef6eb1e63e3d11b6c4d0d21-7ee8) is below
View from the object references(http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb5510654d812e4d126514-8000. html#WS6f97d7caa66ef6eb1e63e3d11b6c4d0d21-7eef) from the topmost Object in the 'loitering objects view' is here

It really depends on your application architecture. The key is to remove all references (including event listeners) to an instance in order for it to garbage collect. This is done by implementing a manual clean up on the instance.
The most basic form looks something like this:
public var view:MyView;
private function load():void
          this.view = new MyView();
          this.addElement(this.view);
private function unload():void
          //make sure to remove any event listeners attached to this.view
          this.removeElement(this.view);
          this.view = null;
This is assuming the above code is in some kind of component, and MyView is the view you want to display.
If you wish, you can initiate the view loading/unloading process by listening for the stateChange event on the parent component.

Similar Messages

  • Issues with file upload in flex mobile application (sharepoint as backend)

    Hello,
    I am working on flex mobile application for android platform for which we are having sharepoint as a backend.
    (Flex SDK 4.6 and AIR 3.9)
    Issue which we are facing is as follows:
    We are communicating with the backend server using webservices: example:
    <s:WebService id="kWebService" wsdl="http://www.kservice.net/kdatabaseservice.asmx?WSDL" >
                <s:operation name="AddPost"
                             resultFormat="object"
                             result="addPostResult(event)"
                             fault="postsfaulterr(event)" />
    </s:WebService>
    Above services are working fine but we are facing issue with one service which is related to file upload.
    File upload for <10 MB is working fine but when we try to upload larger file on server it fails to process.
    We are sending bytearray to the backend and backend code is writing those bytearray into file.
    We have tried many ways to overcome from this situation. like we have checked configuration for file upload size on server , we have tried wcf services as well. Please help us on this criticle point as soon as possible
    Thanks
    Dhwani

    Prashant8809 wrote:
    Hi
    >
    > I have already gone through the video by Thomas Jung for multiple file upload but it saves the contents in server and not in >transparent table. So please suggest me alternative solutions.
    >
    >
    > Regards
    > Prashant Chauhan
    What do you mean that my video saves the contents int he server and not in transparent table?  I save the data into a temporary database table so it can be accessed by the parent WDA session. From there the WDA session can do whatever it wants with it.  What do you mean by transparent table - that would be a database table. Do you actually mean internal table?  if so, just read the data from the temporary database table into memory.

  • Memory increase problem on Solaris

    We need your help in understanding and solving a memory problem in one of our products running on Soalris. The server memory keeps growing and there is a fear of a server crash.
    We've run our product with Purify and libumem to identify memory leaks. Both of these products didn't report any leak. So, we are very much confident that there are no memory leaks in the product. Still the memory increase is seen on Unix systems. We've done extensive analysis on this subject and absorbed some key points regarding memory management in Unix.
    1) Memory doesn't shrink on Unix systems. This is for the libc to retain the released memory and reuse it for further memory requirements.
    2) Based on the memory requirements to our application there can be a stabilization point where in the application can serve all memory requests.
    After reaching this point the Server memory doesn't increase.But the fear is that it may exceed the hardware resources constraint.
    3) Rapid increase in memory can be because of Memory Fragmentation problem. There are environmental variables like Small Block Allocator (_M_SBA_OPTS) and Arena (_M_ARENA_OPTS) on HP-Unix machines which can be used to address Fragmentation issues. We've performed some tests using these variables and found significant improvement in the usage of memory. This confirms that there are no memory leaks. These variables are specific to HP-Unix machines and we are unaware of similar variables/mechanism on Sun Solaris Platform. Please recommend some environmental variables/mechanism on Sun Solaris platform to solve fragmentation problem.
    We are performing some tests to observe memory stabilization over a period of time .
    The memory bloat is following a pattern. Memory is increasing in chunks of (MB) 2,4,8,16,32,64,128,256,512,1024 MB pattern.
    For example if Memory increase is 64 MB, then it stabilizes for some time and the next increase would be 128 MB at a time.
    Then it stabilizes for double the time consumed earlier for 64 MB and after that only increases by 256 MB.
    So the memory increase and stabilization time are getting doubled each time. Please validate our analysis and kindly suggest what can be done on Unix platforms for solving this memory increase problem.

    Thanks MaximKartashev for your inputs.
    Ours is a Multithreading application. We are testing it with Hoard for the last three days. The observation so far has been that the performance of Hoard is high but the bloat pattern is not avoided.
    Even with Hoard, memory bloat is following a pattern. Memory is increasing in chunks of (MB) 2,4,8,16,32,64,128,256,512,1024 MB pattern.
    We are searching for other ways to control this pattern and stabilize the application by making it to reuse the fragmented memory completely.
    We have also tried Solaris libgc memory allocator (http://developers.sun.com/solaris/articles/libgc.html). It worked well initially and memory drop was seen. But on heavy load, it crashed the application with 'Can't allocate header' error. So this can't be used for heavy load.
    We are trying to use Boehm-Demers-Weiser Garbage Collector (http://www.hpl.hp.com/personal/Hans_Boehm/gc/). Do any one have idea, if it controls memory fragmentation ?

  • Runtime engine memory increase when .exe is not running.

    Hi,
    I have built a stand alone application that on launch will pop up it's front panel, and wait for the user to click the run button.
    If i look in Task Manager, i see the .exe is present and has memory allocated to it.
    If i do nothing (do not click the run button), and leave the application window open, the memory allocated (as seen in Task Manager) increases (about 3mb over 24 hrs). -note, the .exe is not actually 'running' my code, as the run button has not been clicked.
    1, is this normal?
    2, is there anything i can do to stop it?
    3, is this down to my coding? (-would seem not as my part of the .exe does not run until the run button is clicked by the user?)
    I do not have experience with memory & windows handling of it.
    I understand the concept of a memory 'leak' -increasing memory due to continually incremented arrays etc.
    Note, i am running the Execution Trace Toolkit, and it is enabled in the .exe.
    LV 2011, SP1, WIn XP. (going to upgrade soon, but have held it static as a dev platform...)
    Suggestions welcome...
    Thanks.

    BlueTwo wrote:
    1, is this normal?
    No it is not.  An application needing to click run before it works, is not normal.  Open Microsoft Word, does it run?  Do you need to click a run button?  Other programs do not behave like this and neither should yours.
    That being said I don't think this memory increasing by not running is normal, but I have never seen it and maybe that's because my program is either running or not.  It is never in limbo where it is running but not doing anything.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Will more memory increase my iMac performance ?

    will more memory increase my iMac performance ?

    Depends.
    Adding RAM only makes it possible to run more programs concurrently.  It doesn't speed up the computer nor make games run faster.  What it can do is prevent the system from having to use disk-based VM when it runs out of RAM because you are trying to run too many applications concurrently or using applications that are extremely RAM dependent.  It will improve the performance of applications that run mostly in RAM or when loading programs.

  • Flex states x and y property

    I am working with Flex states and following directions from Training from the Source but I have also seen this happen before. When I am defining a state in design mode and switch back to source code i see the following
    <mx:SetProperty target="{bodyBox}" name="x" />
    <mx:SetProperty target="{bodyBox}" name="y" />
    Neither x or y has value properties. If I delete them, the application breaks but I do not understand what they are.

    Hi Marlene
    No it shouldn't be a problem. The syntax for the SetPropery tag usually looks like this.
    <mx:SetProperty target="{bodyBox}" name="x" value="200"/>
    <mx:SetProperty target="{bodyBox}" name="y" value="200"/>
    The target is obviously the displayObject that you wish to change properties on, and the name="x", name="y" refer to the x and y coordinates of the object.
    Your code seems to be missing a value propery for each of the x and y coordinates which is the x and y you wish to set in this new state.  Without these values your object is going to default to x and y 0,0, or the coordinates of the first state defined in the mxml.
    Are  you working in the mail application container and does you bodyBox object goto 0,0 in this new state. Also is the layout of this container absolute or vertical / horizontal.
    To be honest I haven't seen the setProperty tag in this state before.  The only way I've come close to making this happen is to have the object constraint based in one state and then by removeing the constraints in the other,
    Maybe attach a file if you don;t mind?

  • Help needed in migrating Flex 2 application to Flex 3

    Hi All,
    We are in process of migrating a working Flex 2 application
    to Flex 3.
    There were no compilation errors when application was
    compiled with Flex 3 SDK. But when we start the application, it
    throws a script timeout error:
    Error: Error #1502: A script has executed for longer than the
    default timeout period of 15 seconds.
    at
    mx.managers.layoutClasses::PriorityQueue/removeSmallestChild()[C:\autobuild\3.2.0\framewo rks\projects\framework\src\mx\managers\layoutClasses\PriorityQueue.as:214]
    at
    mx.managers::LayoutManager/validateClient()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\managers\LayoutManager.as:915]
    at
    mx.core::UIComponent/validateNow()[C:\autobuild\3.2.0\frameworks\projects\framework\src\m x\core\UIComponent.as:5679]
    at mx.core::UIComponent/
    http://www.adobe.com/2006/flex/mx/internal::validateBaselinePosition()[C:\autobuild\3.2.0\ frameworks\projects\framework\src\mx\core\UIComponent.as:5715
    at mx.controls::TextInput/get
    baselinePosition()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\TextI nput.as:408]
    at
    mx.containers::FormItem/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\containers\FormItem.as:913]
    at
    mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:6351]
    at
    mx.core::Container/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework \src\mx\core\Container.as:2677]
    at
    mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:622]
    at
    mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:677]
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at
    mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
    at
    mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
    The application is taking a huge time to 'validate' each
    component in the UI and each time we observe a timeout at different
    UI component.
    Few observations from our end:
    1. The application is very straight forward and only thing
    complex in it is UI layout. There are a few of complex layouts,
    viewstacks and datagrids used.
    2. The ‘creationPolicy' at application level has been
    set to 'All' because of design. This although is not a standard
    practice but this does not help us because the same application
    compiled with Flex 2 used to load successfully.
    If anybody has faced a similar issue and has some suggestions
    please do give us pointers. Otherwise we are left with a lengthier
    option of re-factoring the application so that creation policy
    defaults to 'auto' and modify the application design.
    Thanks in advance,
    Sujatha

    Hi All,
    We are in process of migrating a working Flex 2 application
    to Flex 3.
    There were no compilation errors when application was
    compiled with Flex 3 SDK. But when we start the application, it
    throws a script timeout error:
    Error: Error #1502: A script has executed for longer than the
    default timeout period of 15 seconds.
    at
    mx.managers.layoutClasses::PriorityQueue/removeSmallestChild()[C:\autobuild\3.2.0\framewo rks\projects\framework\src\mx\managers\layoutClasses\PriorityQueue.as:214]
    at
    mx.managers::LayoutManager/validateClient()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\managers\LayoutManager.as:915]
    at
    mx.core::UIComponent/validateNow()[C:\autobuild\3.2.0\frameworks\projects\framework\src\m x\core\UIComponent.as:5679]
    at mx.core::UIComponent/
    http://www.adobe.com/2006/flex/mx/internal::validateBaselinePosition()[C:\autobuild\3.2.0\ frameworks\projects\framework\src\mx\core\UIComponent.as:5715
    at mx.controls::TextInput/get
    baselinePosition()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\TextI nput.as:408]
    at
    mx.containers::FormItem/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\containers\FormItem.as:913]
    at
    mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:6351]
    at
    mx.core::Container/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework \src\mx\core\Container.as:2677]
    at
    mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:622]
    at
    mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:677]
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at
    mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
    at
    mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
    The application is taking a huge time to 'validate' each
    component in the UI and each time we observe a timeout at different
    UI component.
    Few observations from our end:
    1. The application is very straight forward and only thing
    complex in it is UI layout. There are a few of complex layouts,
    viewstacks and datagrids used.
    2. The ‘creationPolicy' at application level has been
    set to 'All' because of design. This although is not a standard
    practice but this does not help us because the same application
    compiled with Flex 2 used to load successfully.
    If anybody has faced a similar issue and has some suggestions
    please do give us pointers. Otherwise we are left with a lengthier
    option of re-factoring the application so that creation policy
    defaults to 'auto' and modify the application design.
    Thanks in advance,
    Sujatha

  • Memory Increase - MacBook Pro mid-2012...?

    Hello to all who reads this post…
    I’m wondering if it's possible to upgrade the memory in my mid-2012 MacBook Pro...?
    I believe this should be fairly simple and relatively inexpensive. However, after reading some of the forum posts & reviewing my systems specs on Apple's specs pages , I've become less sure of the possibility to increase the RAM.
    My system specs indicate that my memory is upgradable:  Memory Slots ECC:  Disabled     Upgradeable Memory: Yes
    One of Apple’s Support pages I came across seems to indicate that my systems RAM can only be upgraded to 8 GB’s max…(but now I’m thinking they mean 8 gigs max per memory slot) and the spec's page on the site seems to indicate that 8GB is the MAX for my MB-pro…?  
    http://support.apple.com/en-us/HT1270
    Do any of the guru's here know how much, (if any), memory I can add to the 8 gigs of RAM currently installed?
    If so, what brand of memory and how much of a memory expansion would be best to boost the speed of my MacBk?
    I’m hoping the memory increase will give my system an extra boost & extend the lifespan of my Mac…. ( not to mention that my 3 year old son is getting more and more involved with gaming apps…the type of apps that become resource hogs, hogs that love RAM chips..) In any case, I’d like to increase the 8GB of RAM to 16 GB or 32GB and I would truly appreciate any thoughts, advice, feedback, shout outs, etc…
    In any case, here are my system spec details:
    OS X Yosemite  Version 10.10.2
    MacBook Pro (13-inch, Mid 2012)
    Processor 2.9 GHz Intel Core i7
    Memory 8 GB 1600 MHz DDR3
    Graphics Intel HD Graphics 4000 1024 MB
    Processor Name: Intel Core i7
    Processor Speed: 2.9 GHz
    Number of Processors: 1
    Total Number of Cores: 2
    L2 Cache (per Core): 256 KB
    L3 Cache: 4 MB
    Memory: 8 GB
    Boot ROM Version: MBP91.00D3.B08
    SMC Version (system): 2.2f44
    BANK 0/DIMM0:
    Size: 4 GB
    Type: DDR3
    Speed: 1600 MHz
    Status: OK
    Manufacturer: 0x80AD
    Part Number: 0x484D54333531533643465238432D50422020
    BANK 1/DIMM0:
    Size: 4 GB
    Type: DDR3
    Speed: 1600 MHz
    Status: OK
    Manufacturer: 0x80AD
    Part Number: 0x484D54333531533643465238432D50422020
    Memory Slots:
    ECC: Disabled
    Upgradeable Memory: Yes
    Intel 7 Series Chipset:
      Product: 7 Series Chipset
      Link Speed: 6 Gigabit
      Negotiated Link Speed: 3 Gigabit
      Physical Interconnect: SATA
      Description: AHCI Version 1.30 Supported
    APPLE HDD
    Capacity: 750.16 GB (750,156,374,016 bytes)
    Native Command Queuing: Yes
    Queue Depth: 32
    Removable Media: No
    Detachable Drive: No
    BSD Name: disk0
    Rotational Rate: 5400
    Medium Type: Rotational
    Partition Map Type: GPT (GUID Partition Table
    S.M.A.R.T. status: Verified
    File System: Journaled HFS+
    Writable:   Yes
    Ignore Ownership:                 No
    BSD Name:   disk1
    AND of course the specs page on Apple:  http://support.apple.com/en-us/HT1270  
    Memory specifications: Use the tables below to confirm the memory you're installing is compatible with your MacBook Pro.
    MacBook Pro (13-inch, mid 2012)
    Number of memory slots
    2
    Base memory
    4 GB
    Maximum memory
    8 GB
    Memory card specifications
    - Double Data Rate Small Outline Dual Inline Memory Module (DDR3) format
    - 67.6mm x 30mm (1.18 inch)
    - 2 GB or 4 GB
    - 204-pin
    - PC3-12800 DDR3 1600 MHz type RAM
    Additional notes
    For best performance, fill both memory slots, installing an equal memory module in each slot.
    Hello to all who read this post…
    I’m wondering if it's possible to upgrade the memory in my mid-2012 MacBook Pro...?
    I believe that upgrading the memory is fairly simple & relatively inexpensive.  However, after reading some of the forum posts
    & reviewing my systems specs pages here and there, I've become less sure of the possibility to increase the RAM.
    One of the Apple Support pages I came across seem to indicate that 8GB is the MAX for my MB-pro…?   (unless I'm reading it wrong)
    http://support.apple.com/en-us/HT1270  
    Also, I’m sure this is probably way too much info, but I’m a bit of a “newbie” on my MacBk and now that I’ve gotten it “broken-in” over the last 3 years, I want to keep it finely tuned & well maintained. I’m hoping I can increase the memory simply because she is starting to slow down a bit and I want to install a little extra boost while also prolonging the lifespan of my Mac….( not to mention that my 3 year old is getting more and more involved with gaming apps…)
    Overall, I’d like to increase the 8GB of RAM to 16 GB or maybe even 32GB….
    Do any of the guru's here know if this is possible?
    Thank you for the time you took to read my post.  I hope to hear from somebody soon....thanks again!
    MB-Pro details:
    OS X Yosemite  Version 10.10.2     MacBook Pro (13-inch, Mid 2012)
    Processor 2.9 GHz Intel Core i7      Memory 8 GB 1600 MHz DDR3
    Graphics Intel HD Graphics 4000    1024 MB
    Processor Name: Intel Core i7         Processor Speed: 2.9 GHz
    Number of Processors: 1                 Total Number of Cores: 2
    L2 Cache (per Core): 256 KB           L3 Cache: 4 MB
    Memory: 8 GB                                   Boot ROM Version: MBP91.00D3.B08        
    SMC Version (system): 2.2f44
    BANK 0/DIMM0:
    Size: 4 GB                          Type: DDR3          Speed: 1600 MHz               Status: OK
    Manufacturer: 0x80AD        Part Number: 0x484D54333531533643465238432D50422020
    BANK 1/DIMM0:
    Size: 4 GB                     Type: DDR3          Speed: 1600 MHz          Status: OK
    Manufacturer: 0x80AD   Part Number: 0x484D54333531533643465238432D50422020
    Memory Slots:                  ECC: Disabled                       Upgradeable Memory: Yes
    Intel 7 Series Chipset:     Product: 7 Series Chipset      Link Speed: 6 Gigabit        Negotiated Link Speed: 3 Gigabit    
    Physical Interconnect:         SATA                                    Description:                        AHCI Version 1.30 Supported
    APPLE HDD
    Capacity: 750.16 GB (750,156,374,016 bytes)          Native Command Queuing: Yes
    Queue Depth: 32                                                        Removable Media: No                   Detachable Drive: No
    BSD Name: disk0                                                       Rotational Rate: 5400                    Medium Type: Rotational
    Partition Map Type: GPT (GUID Partition Table        S.M.A.R.T. status: Verified             File System: Journaled HFS+                                    
    Writable:   Yes                                                            BSD Name:   disk1
    Memory specifications: Use the tables below to confirm the memory you're installing is compatible with your MacBook Pro.
    MacBook Pro (13-inch, mid 2012)
    Number of memory slots
    2
    Base memory
    4 GB
    Maximum memory
    8 GB
    Memory card specifications
    - Double Data Rate Small Outline Dual Inline Memory Module (DDR3) format
    - 67.6mm x 30mm (1.18 inch)
    - 2 GB or 4 GB
    - 204-pin
    - PC3-12800 DDR3 1600 MHz type RAM
    Additional notes
    For best performance, fill both memory slots, installing an equal memory module in each slot.

    A mid 2012 MBP will accept up to 16 GB RAM (even though Apple says 8 GB).  The specifications are:204-pin PC3-12800 (1600 MHz) DDR3 SO-DIMM.  The best sources of Mac compatible RAM are OWC and Crucial.
    Look at this video for installation instructions:
    http://eshop.macsales.com/installvideos/macbookpro_13_unibody_mid12_mem/
    You will need a #00 Phillips driver to take off the bottom panel.
    Ciao.

  • How to upload pdf file in a canvas in flex web application?

    how to upload pdf file in a canvas in flex web application?

    Hey saif.antri,
    You can view PDFs and more using iBooks on your iPhone:
    iBooks: Viewing, syncing, saving, and printing PDFs on iPhone, iPad, and iPod touch
    http://support.apple.com/kb/HT4227
    Have a great day,
    Delgadoh

  • Is there a way to save data to just one view in Flex Mobile applications?

    I am having trouble handling data between views in a Flex Mobile application that I am writing. I know how to pass data from one view to another, but I was wondering if there is a way to save that data to a view, then get more data from another view (in this case it would be the same view that the original data came from) and put that data on the same view without overwriting the original data. I would be glad to post some code if anyone needs to see it.

    I think we realise that this is the same question as the other thread.

  • Porting Flex 2 Application to Flash 6

    On a scale of 1 to 10 (11 being impossible), how difficult is
    it to port a Flex 2 application to work with Flash 6? I've been
    reading up and it appears the oldest version most Flex applications
    will work with is Flash 9 due to the inclusion of ActionScript 3.
    I read somewhere Flex 1 supported Flash 7. Would Flex 1 or
    1.5 support Flash 6? If so, then the question becomes how difficult
    on a scale of 1 to 10 (11 again being impossible) is it to reverse
    engineering a Flex 2 application to Flex 1.

    No. As I recall Flash 7 was the first to use AS2, and Flex 1x
    absolutely requires AS2.
    This will be a matter of abstracting the functional and UI
    designs from the Flex app and implementing them in Flash 6. I don't
    really care, but why on earth would you need to do this?
    Tracy

  • How to create and save a file in flex web application ?

    Hi,
          I want to create and save a file form flex web application. Is it possible ?
    I have done some googling and found that its only possible through file referece, which needs some serverside implementation be called.
    Is it not possible with file reference to create and save file directly ?
    Can any one suggest how to over come this.
    Thanks in advance.

    Alex,
    code written with the Flex Builder 3 libraries will certainly run in Flash Player 10. However, what you need is not so much the capabilities of FP10 but the library functionalities of the Flex 4 package. And I think that Flex 4 code will only run in FP10 and not 9 (but haven't tested this as at work we have not yet been permitted to upgrade, so there is not a lot of point going for Flex 4!).
    Richard

  • How to use custom HTML page in flex web application with out using iframe

    Hi all,
              I have to import a custom HTML page (that has got links to another html pages) inside my flex web application and i dont want to use IFrame. Can you please suggest me with best example.
    Please help me out as i'm new to flex.
    Thanks,
    Swetha.

    Hi, there:
    Best thing to do is to start with the default login.html page, and then modify it. The login screen is fairly complex and it's easy to just miss a JS function you need to call. To get to default page, you would need to do one deploy (to simulator or whatever), and then look for login.html page in the temporary Xcode or Android project generated from the deployment. It should be under the "deploy" directory in your JDev workspace.
    You can also see all the framework JS files and CSS files that way as well.
    We have had customers implementing custom login screen so we know it can work, but they all had to start with the default login screen and then modify it.
    Thanks,
    Joe Huang

  • Display PDF document in Flex Windows application

    Hi,
    I am creating a flex windows application using action script and mxml script.I need help in displaying a PDF document in that windows application.I tried google search it is giving me some open source projects with IFrames.But,they can be only used for browser applications(web).So,anyone please suggest me how could i accomplish this task with winows application.
    Thanks,
    adi2010

    Hi Everyone,
    I got the solution for my issue.We need to use HTMLLoader to load the PDF documents in Windows aplication for Flex.

  • Best practice for auto update flex web applications

    Hi all
    is there a best practice for auto update flex web applications, much in the same way AIR applications have an auto update mechanism?
    can you please point me to the right direction?
    cheers
    Yariv

    Hey drkstr
    I'm talking about a more complex mechanism that can handle updates to modules being loaded into the application ect...
    I can always query the server for the verion and prevent loading from cach when a module needs to be updated
    but I was hoping for something easy like the AIR auto update feature

Maybe you are looking for

  • Need advice on Panasonic AG-HMC150 camera format specs

    We're looking to upgrade to an HD camera and I was wondering if the Panasonic AG-HMC150 would meet the quality format our client is requesting.  I know its highest bitrate is 21 Mbps, so I'm thinking that it can't, but I wanted to check with the pros

  • Keyboard dictation function not working with wifi

    very curious thing happening. the 'mic' icon activated dictation function is not working in wifi mode on my iphone at home. you get the dancing balls and no text ever appears. in 4g mode dictation works fine.   wifi seems to be working ok. dictation

  • Sound file plays automatically...

    Hello, Can someone please direct me on how to prevent my sound file from playing when the page it's on is loaded? I dragged a sound file from my finder into my keynote. It appears as an icon that looks like a speaker. It's fully functional, everythin

  • Audio input device missing since repairing permissions?

    Help! I advised my husband to repair permissions on his macbook today so he did and now he's angry with me because one of his audio input devices is no longer showing up in system preferences. It's something called a "firebox" and he uses it to recor

  • [SOLVED] Problem Synchronizing package databases after upgrade

    After upgrading I'm having this: [root@david-laptop david]# pacman -Suyy :: Synchronizing package databases... error: failed retrieving file 'testing.db' from mirrors.kernel.org : Forbidden downloading testing.db... error: failed retrieving file 'cor