Flex Serialization for inbuilt components like-HBox, VBox, Panel, Canvas, DataGrid-

Here is the problem...I'm working on a flex application(actionscript)...
I have a Panel in my application which contains 2 buttons and 3 canvas components at certain posstions...now I want to store the current state of panel in some file or database...and afterwards I want to load the same panel again in my application when I come back and run the application...
so I tried to convert whole panel into ByteArray object using its readObject() and writeObject() methods...but when I read the ByteArray and add the panel in my application using addChild() method it doesn't add anything and there was no error or fault...
writeObject creates ByteArray that I am able to print but when i get it back and add child, I am not able to get the panel and it's children...
if anyone can help...it would be appreciated...thanks in advance...

yes I did type casting when I read the object like var panelObject:Panel = buffer.readObject() as Panel;
where buffer is object type ByteArray...

Similar Messages

  • Do we have any third party FLEX component libraries to support accessibility feature for all the components(like: ViewStack, ToggleButtonBar, charts and etc..) ?

    I am working on FLEX 4.6 SDK it provides 35 components with built in accessibility support. My Application contains some components which have no built in accessibility support but I need to provide accessibility support for those components too. I have gone through the Flex docs to customize the non accessible components to support accessibility feature, But the docs where not clear. To customize a single component I have to overwrite lot of code in SDK level.
    and it takes lot of effort.
    So, I would like to use FLEX component libraries which provides accessibility support for all the component.
    Could you please guide me how can I provide accessibility support for other components with out putting more effort on it.
    Thanks in advance...

    There is already such thing in myfaces called "security context" [1]. You could find build of sandbox.jar [2]
    [1] http://myfaces.apache.org/sandbox/securityContext.html
    [2] http://people.apache.org/builds/myfaces/nightly/

  • [svn:fx-trunk] 10209: reverting commit 10198, which affected animation for some halo components like Tree and ComboBox.

    Revision: 10209
    Author:   [email protected]
    Date:     2009-09-12 17:36:41 -0700 (Sat, 12 Sep 2009)
    Log Message:
    reverting commit 10198, which affected animation for some halo components like Tree and ComboBox. Should wait for either the real fix (involves RPC changes) or at least a fix that limits the scope to only Flex4 effects instead of all uses of UIComponent.suspendBackgroundProcessing.
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as

  • License for Flex 3 Data Visualization Components

    Hi,
    Where can I get the serial number for Data Visualization
    Components in Flex 3?
    Thanks.

    How do I get the Advanced DataGrid to show up in the list of
    components on the left side, so that it can be dragged and dropped.
    Otherwise, those 10 or so adg examples seems to work
    OK.

  • Using flex 2.0 charting components with flex 3

    I purchased and installed a flex 2 charting components
    library so i could use it in my AIR application development. It
    installed alongside the 3.0 beta visualization components so that I
    now have two copies of each component in my charts folder. I can't
    see how to ensure that the right library is used so that the charts
    actually appear when i run my app. I'd hate to think i just threw
    away $300 so any help would be greatly appreciated - .

    Are you using Flex Builder 3? Flex 3.0 beta Data
    visualization components are available as part of FB 3 only. You
    can select either 2.0.1 hotfix 3 charts (consists of only
    charts.swc) or 3.0.0 data visualization (consists of
    datavisualization.swc). through multiple sdks feature of FB3. For
    flex 3 beta, flex 2 charting key will work. so if you want to try
    out new features in charts and new components like Advanced data
    grid you can switch to 3.0.0 sdk and use same flex 2 charting key
    to remove watermark from charts.

  • [svn:fx-3.x] 10899: Same fix as 10898, just for halo components.

    Revision: 10899
    Author:   [email protected]
    Date:     2009-10-06 14:11:50 -0700 (Tue, 06 Oct 2009)
    Log Message:
    Same fix as 10898, just for halo components.
    QE notes: -
    Doc notes: -
    Bugs:  SDK-23263
    Reviewer: Darrell
    Tests run: checkintests, rob ran mustella tests for Window/WindowedApplication in the trunk version of this checkin
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23263
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/airframework/src/mx/core/Window.as
        flex/sdk/branches/3.x/frameworks/projects/airframework/src/mx/core/WindowedApplication.as

    Quote
    Originally posted by Assaf
    Why use 3D Mark as a measure memory preformance ?
    3D Mark 2003 isn't affected by the system anyway, it's a pure GPU test.
    It resaults the same on a PII350 and on a P43.0 with the same VGA card.
    Use SANDRA memory bandwidth to test memory bandwidth, your RAM should be running at 333MHz dual channel giving a mak bandwidth of 5333MB/S.
    It should be pretty close to that on the FX/opteron because of the efficient memory controller, but not exactly 5333. Anything above 2666MB/S (~2700) means your in dual channel - as it should be with 4 sticks.
    Actually, that's not true.  People tend to call it "dual channel" because the performance scales to twice as the memory bus data width has been increased to 128 bits wide.  Just like you used to have to put 2 32 bit dimms in a Pentium board, you do the same thing for an Opteron.  But since we're better programmers now (joke), you can opt to leave a dimm out and fall back to 64 bit wide mode for easier user compatibility.
    Trust me, I've got datasheets, and it doesn't say dual channel anywhere.  AMD doesn't even us the term "channel."

  • Begginer Flex Apps for browser Questions:

    Begginer Flex Apps for browser Questions:
    To change Dim in Flex App I must change file in address bar of browser, in other words create another page?
    Usually Flex Web sites come in only one file or many [upper 10?]?
    Scrolled Area in Flex how called [I mean like XHTML DIV Scrolled area?
    I book Flex 4: vol. I , Tranning from the Source, from Adobe press, covered:
    Scrolled Areas
    email components
    publish to live server
    if not, then all these covered in vol.II?

    to change the dimension of your flash window inside the browser you can use javascript... or you can have your flash-element in full size of the browser window and handle the resizing flash-intern, so you do not need an extra page for that. Just take a look at the HTML-Code and ask again if you are not that skilled with HTML/JavaScript.
    usual you have only one SWF.
    You can use the spark Scroller (see http://blog.flexexamples.com/2009/05/01/creating-a-scrolling-spark-panel-container-in-flex -gumbo/ for example)
    Sorry, I don't know, but I can give you some hints:
    for scrolling you can use Scroller
    I don't know, what you mean by e-mail but you can use javascript to create a "mailto:"-link (see http://flexonblog.wordpress.com/2007/12/18/mailing-in-flex-using-javascript-function-mailt o/ )
    the easiest way to deploy you just have to copy your swf and html-files from your flex-project to a web-server.

  • [svn:fx-3.x] 11192: In AIR, you can drag' n drop text between text components like TextInput and TextArea.

    Revision: 11192
    Author:   [email protected]
    Date:     2009-10-27 12:54:37 -0700 (Tue, 27 Oct 2009)
    Log Message:
    In AIR, you can drag'n drop text between text components like TextInput and TextArea.  There's an AIR bug where doing so doesn't result in a TEXT_INPUT or a CHANGE event.  This is a workaround for that bug so that we listen for a nativeDragDrop event.
    QE notes: -
    Doc notes: -
    Bugs: SDK-19816
    Reviewer: Gordon
    Tests run: checkintests, mustella TextInput, TextArea
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-19816
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/TextArea.as
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/TextInput.as

    First 3 .as are the component
    source. in the last test.mxml file i have written the drag and drop functionality.
    can any help me?? please

  • Creating a project in Flex Builder for the Hybrid Store sample Application

    Hi all,
    How to create a project in Flexbuilder for the hybrid store
    sample application.
    I downloaded the source code of hybridstore application,
    Now i have to create a project for it to run that application
    in my system,
    will you please tell me how to create a project for this
    sample.
    I have also read the readme.html file. but i could not follow
    exactly what they are saying.
    what i did is, I unzipped the source code into a folder
    hybridstore.
    I opened the flexbuilder : File -- new -- flexproject ( i
    have selected) then i have given name to my file (hybridstore) ,
    and set the path to the hybridstore folder where the source code
    exists.
    but it as created hybridstore.mxml file also.
    it is not working.
    will you please till me how to create project for this
    application.
    I have created project for other samples like restaurent
    finder, dashboard. they are working fine.
    I got problem with this sample only.
    Thanks in advance
    Regards
    Avanthika

    Hi,
    thanks for your reply,
    I have tried to open using file import, but still it is not
    working.
    in the readme file for this application , contains how to
    Creating a project in Flex Builder for the Hybrid Store
    application:
    Name your default application catalog.mxml.
    Prevent Flex Builder from generating an HTML wrapper: select
    Project > Properties. Select the Flex Compiler page, deselect
    the Generate HTML wrapper file option .
    Create a Run configuration for your project but deselect the
    Use defaults option and instead assign the Run setting to the
    hybridstore.html in your project's bin directory.
    To enable debugging of the Hybrid Store application you must
    create a copy of hybridstore.html. Open it in an editor (you can
    right-click on the file and select Open With > Text Editor).
    Find the line that says "src", "catalog" and change it to "src",
    "catalog-debug". Assign the Debug setting to this new HTML file.
    As i am new to flex , i could not know how to do this.
    please help me how to do this.
    regards
    Avanthika

  • Wish To Use Flex 2 For My University Project

    Dear All
    I am a mature student studying a Computer Science Degree in
    the UK .
    For my final year project, I am creating a Stock Market
    Simulation with a Database back end (e.g. SQLite ?) and some kind
    of front end, both to be run a a stand-alone machine.
    I have a 28 weeks to design, build and run it for my
    supervisors. I would like to push myself academically by building
    the software using Flex 2, for the GUI and even to carry out any
    calculations or processing needed for the simulation to operate
    correctly.
    My questions are
    1) Is it possible to create the simulation as I can find no
    definitive way to connect Flex 2 directly to a database back end in
    a similar way to ADO.net?
    2) If it is possible which book do you recommend to get the
    best and quickest results out of Flex 2?
    Thanks In Advance
    Steven

    You are correct, Flex does not natively connect to any
    database. Further, security restrictions on both the browser and
    the Flash Player prevent access to *any* client resources, such as
    the filesystem.
    So if you use standard Flex, you will need some back-end web
    technology. This can be almost any platform/language you choose.
    Now, the newest, coolest thing in the Adobe world is AIR. AIR
    applications can be written using Flex, Flash, HTML and javascript,
    and have full access to client asseets. AIR is essentially an
    internet delivered desktop application.
    AIR has SQLLite database built-in.
    AIR is currently in public Beta. I do not know what will be
    available as far as non-commercial or educational licensing when it
    is realeased.
    I don't have a book to recommend, but here is a partial list
    of on-line resources:
    Tracy
    Flex 2.x Resources
    Flex sites/blogs:
    Adobe:
    http://www.adobe.com/devnet/flex/
    DEVNET - start here!
    http://www.adobe.com/products/flex/productinfo/faq/
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=homepage&productId=2
    http://blogs.adobe.com/
    http://weblogs.macromedia.com/mxna/
    http://labs.adobe.com/
    http://labs.adobe.com/community/
    http://www.adobe.com/cfusion/exchange/index.cfm#loc=en_us&view=sn610&viewName=Adobe%20Exch ange&avm=1
    http://blogs.adobe.com/flexdoc/
    Other:
    http://www.searchcoders.com/flex/
    http://www.flexination.info
    http://flexibleexperiments.wordpress.com/2007/03/14/flex-20-primitive-explorer/
    http://www.scalenine.com
    http://www.flexcursion.com
    http://www.theflexshow.com
    http://www.JeffryHouser.com
    http://blog.digitalbackcountry.com/
    http://code.google.com/p/flexlib/
    http://flexbox.mrinalwadhwa.com/
    http://dougmccune.com/blog/
    http://www.cflex.net/
    http://www.quietlyscheming.com/blog/
    http://www.everythingflex.com
    http://www.waldosmeets.com/
    http://www.jessewarden.com/
    http://www.cbetta.com/blog/
    http://www.cynergytv.com/
    http://www.flexdaddy.info/
    http://www.richinternet.de/blog/
    http://www.brightworks.com/technology/overview.html
    http://www.crossdomainxml.org/
    http://flexsearch.org/
    http://labs.flexcoders.nl/
    Flex style Explorer:
    http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html
    Documentation:
    http://www.adobe.com/support/documentation/en/flex/
    http://livedocs.macromedia.com/flex/2/
    http://www.adobe.com/cfusion/knowledgebase/index.cfm
    Lists:
    http://www.adobe.com/cfusion/webforums/forum/index.cfm?forumid=60
    http://groups.yahoo.com/group/flexcoders/
    http://groups.yahoo.com/group/flexcomponents/
    Bugs/enhancement requests:
    http://www.adobe.com/go/wish

  • Do I need to use Flex Files for a 24 fps edit?

    Hello.
    I am shooting on 16mm film, transferring to video (with key code burn in), editing on Final Cut 4, then matching back to film.
    I would like to save money by not having to create Flex Files, and was told that if I do a reverse telecine in Cinema Tools (converting 29.97 transfer to 24), and then edit at 24 in FCP, I will be able to generate (manually) my own cut list when I am done by noting the key code burned at the head and tail frame of my shots. The Cinema Tools manual even implies it would be able to generate a cut list itself?
    Can anyone speak to this or tell me why this plan wouldn't work--why I absolutely need a flex file? This will be a short film (under 10 minutes) and I will be capturing all the footage for the edit, so I don't need the flex file for help with capture, and I don't mind the time needed to log key codes myself for the cut list.
    Thanks so much in advance for any help!

    Hi. It costs enough to make a difference for my very, very small budget--a flat fee each time I transfer and I am shooting 100 foot rolls so there could be up to five or more transfers. Since I am capturing everything (entire camera rolls), I'm trying to understand if I need the flex files--if the key code is burned in, can't I use that for cut list? In other words, if I don't need the files for importing, what other reasons would you strongly advise me to have them made?

  • [svn:fx-trunk] 5170: Round 2 of bug fixes for the Spark skins for Halo components.

    Revision: 5170
    Author: [email protected]
    Date: 2009-03-04 17:50:32 -0800 (Wed, 04 Mar 2009)
    Log Message:
    Round 2 of bug fixes for the Spark skins for Halo components. Thanks to Alex for help with the data grid issues.
    Bugs fixed:
    SDK-19655 - Setting rowCount property on DataGrid causes extra blank row to be displayed
    SDK-19652 - Items in a DataGrid do not line up after scrolling.
    SDK-19605 - disabled Halo ColorPicker with Gumbo skin draws too dark
    SDK-19596 - When you have a single button on an Alert, the left edge looks flatter than the right
    SDK-19585 - Menus compiled with the halo theme in Flex 4 have a different backgroundColor than in Flex 3
    SDK-19665 - Halo List with Gumbo skin doesnt draw the alternating item color all the way to the right edge of the control if VScrollBar is present
    SDK-19651 - odd header rendering issue on Halo DataGrid with Gumbo skin
    QA Notes: The alert layout code was positioning the buttons/text on sub-pixel boundaries if the width or height of the alert was an odd number of pixels. We always snap to pixel boundaries now, but this may cause bitmap compare issues with Alert.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19655
    http://bugs.adobe.com/jira/browse/SDK-19652
    http://bugs.adobe.com/jira/browse/SDK-19605
    http://bugs.adobe.com/jira/browse/SDK-19596
    http://bugs.adobe.com/jira/browse/SDK-19585
    http://bugs.adobe.com/jira/browse/SDK-19665
    http://bugs.adobe.com/jira/browse/SDK-19651
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as
    flex/sdk/trunk/frameworks/projects/halo/defaults.css
    flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ColorPickerSkin.mxml

  • Sales for BOM components

    Dear All,
    We have all the components of a finished product in our stock. The product assembly is very simple.
    So, very well, we can send the components directly to customer, if he is willing to assemble it himself. This way we can reduce the time to deliver it to customer.
    Is there some process like this in SAP where this is possible?
    Regards,
    Prakash

    Hi
    If you want to deliver the componentS as well as charge PRICE for the components, then the Item category Group for the Main item should be  LUMF and the Item category Group of the Sub-Items(Componenets) should be  NORM.
    Once  the BOM material is exploded in the Sales order, then you will find the Item category of the Main Item as TAP and the Item category of the Sub-item as TAN.

  • Logging same NC code for multiple components

    Hi,
    When logging NC codes in SAP ME 6.0 it is possible to log the same NC Code (defect) against many ref-des for
    multiple components.
    However when logging a secondary code (Action) for the previous primary NC Code all the choosen ref-des and components
    don't get copied..
    Is this how it is supposed to work or is there a setting somewhere so that all ref-des and components gets copied?
    Best Regards,
    Johan Nordebrink

    Hi Johan,
    The matter of your question is related to Ref Des List re-desinged for 6.0.
    Overall situation looks like a design gap because:
    - no explicit statement in the documentation describing the case of copying multiple Ref Des'es;
    - the case of 1-to-1 relation between Component and Ref Des is mentioned in the context of auto-population of these feilds on tabbing out if one of the field is populated;
    - the case of single Ref Des is widely referenced in the context of VTR that is a new feature in 6.0.
    So, if you need this to be reviewed by Product Mgmt (maybe they agreed to identify this as a bug), as usually you should either ask your SAP ME Consulting representative or submit a support ticket (depending on whom you pefer to talk with ).
    Regards,
    Sergiy

  • Restriction on memory scope for UI components binding

    Hello
    I'm using JDeveloper 11g 10.1.1.3
    I found in the Fusion Developer's Guide for Oracle ADF (14 Getting Started with ADF Task Flows) next thing:
    <i>
    Restrict the scope of the managed bean that you reference through a UI component's binding attribute to backingBean or request scope. Instances of UI components cannot be serialized. Objects in scopes other than backingBean and request are expected to be serializable. For this reason, you should not bind UI components to managed beans that have a scope other than backingBean or request. Note that JDeveloper defaults the binding attribute for UI components and region fragments to use the backingBean scope.
    </i>
    By now I often have binded UI components to the managed beans with pageFlowScope or viewScope, but I have not got problem with that.
    So, question is: what is the case that managedBean with view or pageFlow (even or session) memory scope will be needed to be serialized?
    When could I get the problems with that?
    Anatolii

    For more details you may have a look at section 20.4.3 here:
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/web_getstarted.htm#CACCFIII
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31973/gs_jdev.htm#ADFUI11666
    Dimitar

Maybe you are looking for