Flex 2.0 reliability in a stressed environment

Greetings,
I am totally new to Flex 2.0 but am really amazed by the
possibilities it offers for developpers but I wonder about its
stability, or reliability, under heavy load.
I recently had to start looking for Flex 2.0 for a POS
(point-of-sale) application. Basically there would be a ColdFusion
MX7 back-end, there would also be FDS (Flex Data Service) to manage
the messaging between the Flex App installed locally on the user
desktop. I am using FDS because on certain occasions I need to push
data from the server to the desktop app and I do not want to have a
timer looking each n seconds on the server for updates. To further
increase performance I might very well end-up either: loading the
entire product catalog into the server RAM or simply have the
desktop app load an XML catalog on startup and use it as long the
server didn't send the refreshCatalog() function... sort of. Some
tests will need to be done.
In any cases, my question is whether or not Flex 2.0 can be
fast enough to sustain an hurry employee that punch in items real
quick. This app will be interfaced with a touch-screen so no mouse
and no keyboard will be required for regular operations... à
la Palm OS, there will be a QWERTY keyboard and a calculator that
may overlap at the bottom of the screen but basically the order
entry will be a "fast and furious" button clicking session. Think
about a waiter in a sport bar punching his order on its
touch-screen during the Superbowl ;) ... you see how fast that can
go?
Would Flex 2.0 be able to keep the pace, or should I start
looking for a .Net desktop app?

Hi Laurent,
Thanks for your answer.
I have just Failover Cluster.
Do you first install Oracle on each server and then install HACMP or install HACMP and then Oracle ?
I cannot ignore messages because I have :
PRDWSS2 Available
PRDWSS3 Unreachable
Button "install" is unavailable ...
Do you know if i can force "Universal Installer" to only run on available node ?
It's very difficult to find ressources on HACMP/AIX 5.2 with Oracle 9i.
Guillaume

Similar Messages

  • Who's running a Flex-Java app in an enterprise clustered environment?

    And how are you handling session management and security?  Using distributed cache functionality such as that in Terracotta, or another method?

    Wow, don't everyone answer at once! 
    Is the question too open ended?

  • Flex 3 + Flash Player 9,0,16

    I'm currently very close to deployment of a major flex 3
    application deployment into a corporate environment with thousands
    of distributed desktops. The IT group has Flash 9,0,16 installed on
    the images for those machines, and a full rollout to a current
    (9,0,115) version of the player will take months (don't ask,
    they're mindbogglingly slow). Does anyone have a copy of the 9,0,16
    Debug player for mac or PC? It's not in the fp_archive distribution
    of historical versions. I've got some issues that crop up
    specifically in this version of the player, but I can't find a copy
    of the debug version anywhere.

    Thank you for the help, however I don't see any publish
    settings that would allow me to publish a swf for version 9,0,16,0
    instead of the new version 9,0,124,0. If I go all the way back to
    version 8 my AS3 and flv videos won't work anymore.

  • Weblogic cluster for 24x7 environment and a front OHS server

    Hi experts,
    We are going to set up a reliable J2EE application server environment by using clustering webgoic servers on TWO nodes, and a front OHS https server in DMZ for load balancing.
    I am new to weblogic cluster and load balance by OHS. I have visited this forum for Fusion MiddleWare clustering etc. Can some experts share some light on this?
    Will our deployment architecture be able to handle the J2EE applications failover? In other word, we can restart one of Weblogic Managed Servers when a new release of J2EE codes are re-deployed without impacting business end users’s usage?
    Problems we want to solve:
    1. All J2EE applications are available for 24x7 even when new J2EE codes are released and deployed on weblogic Managed Servers ANY TIME, side-by-side deployment and restart a managed server if we need to clean the HTTP cache.
    2. The J2EE applications should be accessed by external and internal users with a Single Access Point, like
    https://apps.company1.com/j2ee1
    https://apps.company2.com/j2ee1
    https://apps.company1.com/j2ee2
    https://apps.company2.com/j2ee2
    All J2EE applications (j2ee1, j2ee2, j2ee3 etc) should be deployed on both of weblogic Servers in a cluster, and pointing to a SAME backend database.
    Can some experts share with us the best practices on components and configurations? Thanks.

    Seems your architecture is like Browser => OHS ( DMZ ) => Weblogic => DB OR Browser => HLB( like bigip ) => OHS ( DMZ ) => Weblogic => DB
    Cluster is the solution for load balancing however if you are using OHS for redirection to weblogic then OHS does the load balancing in round robin way. using cluster in this way has a benefit of in case of any one of your managed server is down the OHS will divert connection request to any one of the active managed server ( you have to turn on dynamic list on at OHS ).
    http://weblogicserveradministration.blogspot.com/2010/10/load-balancing-in-weblogic-server.html
    Failover is something different, if in case any of the any managed server goes down then your user you get the application session from another server but new one, means the the tasks not saved by the users on earlier session will lost. for that yo need to use cluster and then need to enable the session replication. another best option is you can use the coherence web if you are using latest versions of weblogic supporting coherence web. with that you not need to worry on user sessions and you can start any of the managed server anytime without worrying about the user sessions.
    http://weblogicserveradministration.blogspot.com/2010/10/manage-http-session-states-session.html
    http://weblogicserveradministration.blogspot.com/2011/05/oracle-coherence-37-coherenceweb.html
    http://weblogicserveradministration.blogspot.com/2010/11/clustering-part-i.html
    another way is, you can use side by side deployment feature in case you don't want shutdown your application completely, with this, old connections and new requests will goes to old application and once new application activated all new requests will come to new application and once all requests on old application will complete that application will retire automatically.
    Regards
    Mukesh Negi
    http://weblogicserveradministration.blogspot.com

  • Upgraded to Mac OSX Lion, have an issue with Flash Builder 4.5.1 and Flex SDK 3.2

    Howdy, I upgraded my mac yesterday to 10.7, and have run into an interesting problem.
    I was using Flex Builder 3 before, using Flex SDK 3.2. After upgrading, I found that Flex Builder 3 is not compatible with Lion anymore, so I had to upgrade to Flash Builder 4.5.
    This is fine, I just figured I would add the Flex 3.2 sdk, which I did. However, after adding my project to the workbench for Flash Builder 4.5, I see the following error:
    http://cl.ly/3J3W0E22402G2I1L2U1Q
    However, as far as I can tell, the following two screenshots mean I have installed the Flex 3.2 sdk:
    http://cl.ly/1S0l1m2u1Z0z053Y3U29
    http://cl.ly/3c3k2B161K1d1y2H332P
    Does anyone know if this is even possible to do? I need to get back into development ASAP. If I can get Flex 3.2 SDK working in this environment, I am pretty sure I will be good to go.
    Thanks so much!
    Andrew

    I can't help you with your problem, but maybe this is a good start:
    http://kb2.adobe.com/cps/905/cpsid_90508.html#main_Flash_Builder
    ..... About that... have you encountered any other issue when using FB 4.5.1 with OS X 10.7.0?

  • CF8 install to work with Flex 3

    ...well Flex 3 or other flash remoting...
    I've been doing CF coding for a while now. A year or so ago I
    tried to do some flash remoting but could never get the flash to
    talk to CF. I could get the CF to provide XML to the flash
    component but I could never talk to the CFC's directly. I ended up
    scrapping the flash and finished the coding in CFML.
    Now, I've got a little spare time and I thought I'd learn
    Flex 3. Things in my dev environment have changed a small amount; I
    went from CF7 to CF8. Thinking that CF8 had better support for
    flex/flash I started trying to connect to the CF CFC again and have
    run into the same issues all over again.
    I've dug over the past two weeks looking for anything that
    could be causing the issue (the component has public access and I
    can now see connection errors). I'm pretty sure that it's
    coldfusion at this point. In the administrator I've got the flash
    remoting and RDS enabled.
    I've tried coldfusion on linux and win2k3 with the same
    results. I actually has less luck with flex builder with coldfusion
    running on linux.
    What am I missing to allow connection to CF from a flash/flex
    component?

    Hi,
    From your Flex application, you want to use the RemoteObject
    MXML tag (<mx:RemoteObject />). As long as Flash Remoting is
    available in the CFAdmin, which you indicated it is, it should
    work. I've done/do this running CF8 on Mac OS X, Linux, and Win
    2003.
    Here's a sample of MXML code for this.
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="init()">
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.FaultEvent;
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    import mx.controls.Alert;
    [Bindable]
    private var myAC:ArrayCollection;
    //runs on creationComplete event of mx:Application tag
    private function init():void{
    this.ro.getAll();// call the method on your CFC when app
    inits
    private function gotEm(event:ResultEvent):void{
    myAC = new ArrayCollection();
    myAC.source = event.result as Array;
    private function oops(event:FaultEvent):void{
    Alert.show(event.fault.toString());
    ]]>
    </mx:Script>
    // the remote object, which connects to CF via FlashRemoting
    <mx:RemoteObject id="ro" destination="ColdFusion"
    source="webroot.appfolder.cfcfolder.cfcname">
    <mx:method name="getAll" fault="oops(event)"
    result="getEm(event)" />
    </mx:RemoteObject>
    // DataGrid to hold results..naturally you would make this
    nicer :)
    <mx:DataGrid id="dg" dataProvider="{myAC}"/>
    </mx:Application>
    Have you tried similar code? It's often helpful to see some
    code you're having trouble with, if that's possible.
    Hope this helps!
    Craig

  • SpaceX seeking full-time LabVIEW programmer to join Texas team!

    Please email [email protected] for more info. General Description below...
    The Company
    SpaceX is a US based space technology company founded by its residing CEO and CTO, Elon Musk, the former co-founder of PayPal. The company's goal is to renew a sense of excellence in the space industry by disrupting the current paradigm of complacency and replacing it with innovation and commercialized price points; laying the foundation for a truly space-faring human civilization.
    SpaceX builds rockets and spacecraft from the ground up; including electronics, software, vehicle structures, and engines. In-house development includes nearly all flight critical custom components amounting to approximately 85% of our vehicles both by mass and by value.  Our development and production efforts represent some of the most dynamic and challenging technology opportunities seen by any organization.
    Our success is driven by a wide variety of engineering perspectives and openness to all great ideas.  We pride ourselves on being a meritocracy where employees are defined by their capabilities and contributions, instead of title or tenure. We are actively seeking the best and brightest minds from all industries to continue to build our world class team.
    Our employees thrive in a fast-paced engineering ecosystem focused on innovation and high levels of personal responsibility. At SpaceX we cut through the noise and believe in the essentials of hardcore engineering.
    We build it, test it, and fly it.
    The Department Rocket Development Facility – Our Texas team is an integral part of SpaceX operations and plays the critical role of testing our flight vehicles and spacecraft.  Located on a 700 acre site in central Texas, the Rocket Development Facility is responsible for testing hardware from development stages through acceptance for flight, and from component level to complete stage testing.  Experiencing the rumbling of a rocket engine multiple times each day is just one of the highlights of working at our Rocket Development Facility.
    The Job
    Responsibilities
    All SpaceX engineers work in a fast-paced environment, supporting a variety of propulsion testing programs and structural test stands.  Specific responsibilities associated with this job include:
    Design and maintain National Instruments SCX/PXI data acquisition systems
    Identify hardware requirements and compatibility
    Assemble, setup, and validate DAQ hardware configurations
    Troubleshoot DAQ hardware related problems.
    Benchmark system performance and performance margins
    Design and maintain LabVIEW-based applications and utilities to support propulsion testing operations
    Software testing, quality assurance, and benchmarking
    Performance tuning, improvement, usability, and automation
    Integration of new features into existing systems
    Full life cycle software development
    Provide technical support for testing operations
    Create and maintain software development standards
    Evaluate new systems, technologies, and architectures to reduce development time, increase reliability, and to streamline operations
    Perform other related duties, as assigned, for the purpose of ensuring an efficient and effective work environment.
    Requirements
    Education & Experience Requirements:
    Bachelor’s Degree in Engineering required
    1-2 years experience required; 3-5 years experience preferred
    CLD Certification preferred
    General Requirements:
    Certified LabVIEW Developer (CLD) certification or 2+ years LabVIEW experience Experience with Object Oriented Programming (OOP) recommended
    Understanding of basic computer networking (TCP/IP, UDP, firewalls) is essential
    Ability to learn new skills/programming languages/application quickly (C, C++, .NET, OOP, UML, Databases)
    Experience designing large LabVIEW applications
    Experience creating intuitive graphical user interfaces
    Experience implementing and troubleshooting National Instruments hardware
    Familiarity with National Instruments products, services and resources
    Ability to rapidly change roles/responsibilities while working in a fast-paced, challenging work environment is a requirement
    Ability to develop software in a team environment
    Experience using test instrumentation and control components: pressure transducers, thermocouples, RTDs, strain gauges, accelerometers is recommended
    Software/Computer Skill Requirements
    Windows Operating Systems, Expert
    Microsoft Office (Excel, Word, Power Point, Outlook), Intermediate
    NI Labview, Intermediate
    NI Diadem, Expert
    Physical Requirements:
    Ability to work in a high-stress environment
    Good response to challenges posed by short deadlines
    Acute attention to detail
    Demands require prolonged mental concentration
    Work performed in a normal office environment
    Ability to sit for long periods of time
    Problem solving and critical thinking skills
    A positive, upbeat attitude
    Physical effort with some handling of light weight such as supplies or materials (0 to 15 lbs)
    Typically exposed to work in extreme outdoor environments – heat, cold, rain
    SpaceX offers one of the best environments in the world for employees to learn, build real working systems and tackle exciting challenges every day. We operate in a fun, casual work environment and have great benefits including: competitive salary, stock options, medical/dental insurance and free gym memberships. By joining the SpaceX team, you are not just a part of history, you are making it.
    SpaceX is an Equal Opportunity Employer; employment with SpaceX is governed on the basis of merit, competence and qualifications and will not be influenced in any manner by race, color, religion, gender, national origin/ethnicity, veteran status, disability status, age, sexual orientation, marital status, mental or physical disability or any other legally protected status.
    To conform to U.S. Government space technology export regulations, applicant must be a U.S. citizen, lawful permanent resident of the U.S., protected individual as defined by 8 U.S.C. 1324b(a)(3), or eligible to obtain the required authorizations from the U.S. Department of State.
    Those applicants requiring reasonable accommodation to the application/interview process should notify the Human Resource Department at (310) 363-6000

    Still waiting for the Venice, CA team, just kidding.
    LabVIEW Champion . Do more with less code and in less time .

  • After IOS 8 update.

    Hello,
    My Mobile details.
    Phone: I phone 4S - 8GB
    OS: IOS 8 Updated on 20th Sep 14
    After updating below problems.
    1. While trying to add call to existing call (Trying to make con call) I can go to contact but when tried to search the names the key board appears with a blank white space without keys.
         Con Call is difficult to make
    2. While trying to make call, It takes almost 1 second to go to call screen after tap on number.
    3. Top Message bar( Battery indicator, signal strength) goes black some times. only on coming back to home screen it come back.
    4. While searching the contacts, the last bottom contact remains down only, it doesn't come up even after moving it.
         In IOS 7 it use to come up.
    it feels irritated due to above glitch.

    I tried all of the suggested solutions mentioned in this thread, and finally did a full reset according to Apple's instructions, step by step (as an engineer and 40 year computer user I am good at that stuff).
    Sorry to say after the several hour process, not one of the problems I have experienced have been solved. 
    IPad 2 is still running slow and choppy.
    Some Apps do not even load.
    Website pages will not load and result in error messages. One particularly annoying Safari error on loading a new web page is:  "a problem occurred with this webpage so it was reloaded".
    MY iPad  2 worked perfectly for the last couple of years through several updates that performed seamlessly, but this one and the two most recent corrected updates have rendered my iPad so degraded that I don't think I will be using it much anymore. I originally bought the tablet because of it's smooth GUI and fast performance, the reliability and error free environment, and Apple's proven record for effective updates. That's all gone now.

  • After iOS 8 update, the mail app crashes on iPhone 4S

    I've updated to iOS 8 this afternoon and now the mail app crashes.  It will open the first time after a power off and restart of my 4S but after that first time it will crash every single time I try to open it. I can only reopen it after I've done a full reboot of the phone, and then only once. Is there a quick fix or do I get to wait for an update?

    I tried all of the suggested solutions mentioned in this thread, and finally did a full reset according to Apple's instructions, step by step (as an engineer and 40 year computer user I am good at that stuff).
    Sorry to say after the several hour process, not one of the problems I have experienced have been solved. 
    IPad 2 is still running slow and choppy.
    Some Apps do not even load.
    Website pages will not load and result in error messages. One particularly annoying Safari error on loading a new web page is:  "a problem occurred with this webpage so it was reloaded".
    MY iPad  2 worked perfectly for the last couple of years through several updates that performed seamlessly, but this one and the two most recent corrected updates have rendered my iPad so degraded that I don't think I will be using it much anymore. I originally bought the tablet because of it's smooth GUI and fast performance, the reliability and error free environment, and Apple's proven record for effective updates. That's all gone now.

  • How do I set up an emulator for testing my application?

    I'm starting to wade into GPIB and cannot seem to find the best way to continue given all the components (not meaning ActiveX) required to assemble a semi-reliable development and testing environment for beta rollouts.
    I have set up my design environment. Now I need a way to emulate some of the equipment I will be developing for so that I may test my apps before final testing on the actual equipment (which I obviously have no access to at this point).
    Given that.. am I correct in understanding that LabView or IVI allows this type of functionality? If so, here are my specific questions regarding development:
    1) Do I currently need any hardware or can the GPIB device list be populated from IVI/LabView emula
    tors? In other words... how do I make the 'link' between these two technologies?
    2) Can IVI/LabView run on the same machine as my test application, or is a secondary machine required?
    3) Is there a general punch list of software (LabView, etc.) I might need in order to get this going?
    4) Any general (or specific) overviews that may help me get over this hump would be greatly appreciated.
    Charles

    Whether or not you are able to simulate your hardware will depend on what method you are using to program it. If you are programming the instrumentation directly using the GPIB ActiveX control or GPIB calls directly you will not have the ability to do simulate in software. If you are using an instrument driver, however, you will be able to do simulation if the instrument driver is IVI compliant.
    Assuming that you are using an IVI-compliant instrument driver, here are the answers to your questions:
    1. You do not need any hardware whatsoever. You can either specify to use simulation in your code by using the InitWithOptions functionality and specifying "SIMULATE=TRUE" in the option string parameter. You can also set things up externally so that you can alter simulation strictly through the IVI configuration so that your code doesn't have to change.
    2. It will run on the same machine as your code. As far as your application is concerned, it will not appear any differently however no GPIB communication will occur.
    3. IVI compliant instrument drivers for all of the GPIB hardware you are using. These are available for download from ni.com.
    4. I think that there may be some IVI-related application notes.
    Assuming that you are not using an IVI-compliant instrument driver and instead are either using a non-IVI instrument driver or making GPIB calls directly, things can get a little more elaborate. If you want full emulation capability you'll need to write another piece of software that emulates your device. This can be done in LabVIEW or any other ADE of your choice. What you'll need is a second GPIB card (to act as your device) that you'll cable to from your main computer. That card can live in a second machine or in the same one as your main application. You may want to put it in a separate test machine just to keep things a little cleaner.
    If you go with this approach, it's not too difficult to write an emulator for a single device (or at least that functionality of a device that you use) per GPIB card. It will be more difficult to write an emulator that emulates multiple devices using a single GPIB card. In other words, you may want to use a separate GPIB card for each instrument you want to emulate. I wrote such an emulator some time ago but can't seem to find it. In any case, it's probably only a couple of days effort.
    To make a long story short, your life will be a lot easier if you have IVI-compliant instrument drivers available for the hardware that you are using.
    Jason

  • Post processing PDF to XML.

    Topic
    Post-processing PDF into XML.
    Compton MacKenzie - 08:48am Oct 29, 2008 Pacific
    Hi,
    Sorry for the basic question... We want to have users fill out a fillable PDF form using Aacrobat Reader and then upload it to a web page. Once we get the PDF, we need to extract the data that they have entered. Short of using LiveCycle Data Services (not currently feasible as we have no Java presence on our server platform), is there any API that I can use to extract the data or convert the PDF to XML. I understand that it is possible to export XML using the Acrobat client (and it might be possible to script this with COM) but I don't think this would work reliably in a server environment.
    (We need both the PDF and the data as the PDF will contain an electronically captured image of a customer's signature and need to preserve the actual image of the document.)
    Any suggestions?
    Thanks!

    There are server based products under the LiveCycle banner for this but they all run on a Java based app server. You can use a turn key install where the app server (JBoss) and a Database (MySql) are provided for you but you need to have the Java SDK present. The LiveCycle servers can run on Windows, Linux, AIX to name a few.
    Note that if you script Acrobat to do this on the server you are in violation of your license agreement.

  • Memory leak on SunOne Web Server 6.1 on application reload

    Hi!
    I am pretty sure that i have found a memory management problem in
    SunOne Web Server 6.1 .
    It started with an OutOfMemory error we got under heavy load . After
    some profiling with Jprofiler i didn't find any memory leaks in the
    application.Even under heavy load (generated by myself) i can't find
    anything ,more, i can't reproduce the error! The memory usage is
    about 20Mb and does not go up .
    However it is pretty simple to see the following behavior:
    [1] Restart the server (to have a clear picture) and wait a little for
    memory usage to stabilize.
    [2] In the application dir. touch .reload or one of the classes:
    The memory usage goes up by another 50Mb (huge amount of mem. taking
    into account the fact that it used only 20Mb under any load befor).
    Do this another time and another 20Mb gone etc..
    The JProfiler marks the memory used by classes . And it can be
    clearly seen the GC can't release most of it.
    I AM sure this is not the application that takes all the memory.
    Another hint : after making the server to reload application i can see
    that the number of threads ON EVERY RELOAD is going up by ~10-20
    threads .The # of threads goes lower over time but not the mem usage.
    My system:
    Sparc Solaris 9 ,Java 1.4.2_04-b05, Sun ONE Web Server 6.1SP5
    Evgeny

    my guess is that - because of '.reload' , web container tries to
    recompile all the classes that you use within your web application and
    hence the memory growth is spiking up.What do you mean by "tries to recompile"?The classes in
    Web-inf are already compiled! And i have only ~5 jsp's .
    (the most part of the applic. is a complicated business logic)
    If you are talking about reloading them ,yes,that's the purpose of .reload,
    isn't it? :).But it seems that container uses the memory for it's own
    classes: the usage of memory for my classes don't really grow
    that much (if at all) after reload (according to profiler)
    Also the real problem is that the memory usage grows to much for
    too long (neither seen it going down) and thus ends with OutOfMemory.
    if you are seeing the memory growth to be flat in stress environment,
    then I am not sure that why do you think that there is a memory leak ?There is no memory leak in stress environment.
    There is memory leak while reloading the application.
    It is a memory hog for sure (~20-30Mb for every reload).
    Memory leak?It seems that way because i can't see memory usage go
    down and after a lot of reloads OutOfMemory is thrown.
    also, what is jvm heap that you use ? did you try jvm tune options like -
    XX:+AggressiveHeap ?256Mb.I can set it bigger ,but how do i know that it will not just delay
    the problem ?
    Thanks for response.
    Evgeny

  • Embedding Swf into to forum signature

    Hi, i have been trying to find this everywhere but no good.
    How can i embed swf into forum Posts and signatures ? Its my site s
    o i change settings etc.....is there some mod that should be
    installed on the forum ? Any help at all would be really
    appreciated =)
    J

    No. I mean that the Flex framework makes certain assumptions about the environment it is running in -- like having a stage to work with. The Alert function, for example, works by creating a sprite and adding it to the Flash display list. Since your embedded SWF is not on a stage, there's no way for it to work.
    You can can possibly use certain non-visual parts of the framework, such as the rpc package, but I can't guarantee it.

  • Embedding swf into HTML+JS AIR app

    Hi
    I'm trying to embed swf into HTML+JS AIR app with no luck.
    First, I created flash library with this class in default package.
    package
         import mx.controls.Alert;
         public class Utilities
              public function Utilities()
                             //asdfasdf              
                   Alert.show("asdasd","");
    Then I compiled the project with Flash Builder and got library.swc as result. Then I extracted swf file.
    After this is added required code into my html:
    <html>
    <head>
        <script type="text/javascript" src="AIRAliases.js"></script>
        <script type="text/javascript" src="AIRIntrospector.js"></script>
        <script type="text/javascript" src="jquery-1.6.2.js"></script>
        <script src="library.swf" type="application/x-shockwave-flash"></script>
        <script type="text/javascript">
            $(document).ready(function () {
                alert('loaded');
                air.Introspector.logError("aaa");
                var v = new runtime.Utilities();
        </script>
    </head>
    <body>
    </body>
    </html>
    Then after I run application, I get error that result of expression is not constructor, function etc.
    Could you help me please?  Thanks in advance.
    Here is sample code:
    http://depositfiles.com/files/jztpnlb3a

    No. I mean that the Flex framework makes certain assumptions about the environment it is running in -- like having a stage to work with. The Alert function, for example, works by creating a sprite and adding it to the Flash display list. Since your embedded SWF is not on a stage, there's no way for it to work.
    You can can possibly use certain non-visual parts of the framework, such as the rpc package, but I can't guarantee it.

  • Need help with getStyleDeclaration

    Hi,
    I'm trying to move my Flex 3 project to new Flash Builder environ. I've a class named "CanvasButtonAccordionHeader" which is extended from an mx:Button instance.
    There was a code as:
    var selector:CSSStyleDeclaration = StyleManager.getStyleDeclaration( "CanvasButtonAccordionHeader" );;
    Though the Flash Builder compiler giving me the warning that "getStyleDeclaration' has been deprecated since 4.0.  Please use 'IStyleManager2.getStyleDeclaration on a style manager instance".
    When I'm trying to change the line as:
    IStyleManager2.getStyleDeclarations( "CanvasButtonAccordionHeader" );
    It returns me error since the line of code returns me an Array in place of CSSStyleDeclaration type, which is my requirement.
    Then I tried:
    var selector:CSSStyleDeclaration = IStyleManager2.getMergedStyleDeclaration( "CanvasButtonAccordionHeader" );
    I'm getting obvious error since I'm trying to call a method from an Static type of class (interface). I'm in turn very confused now how to overcome this problem. Though as a note, when I'm try calling "styleManager.getStyleDeclaration('someName')" from an mx type of component, it works fine!
    How do I fix this in a class environment then!
    Please suggest.
    Thanks.
    ASB.

    I've encountered the same problem.
    The solution is here:
    http://www.jonathanrowny.com/journal/migrating-flex-4-stylemanager
    or
    http://www.flashcomguru.com/index.cfm/2010/7/16/getStyleDeclaration-to-IStyleManager2-flex
    These two are essentially the same.
    Don't forget to first
    import mx.core.FlexGlobals;

Maybe you are looking for

  • Help needed-InvocationTargetException in JMock

    Hi All, > I am trying to use the JMock for my application. Here is what I want to do. There is a AccountService class, with a method, registerNewAccount(ArrayOfAccount) which returns the ArrayOfAccountResponses. Here is the code snippet : Mockery con

  • Runtime error when inserting rows in hrp1018 and hrt1018 tables

    Hi All, I have a requirement to insert row in hrp1018 and hrt1018 tables.These tables are interlinked.So, I have used FM 'RH_INSERT_INFTY'. The exact code which I have used is as follows. *****************************************code*****************

  • Finding the nearest value.

    Hi Gurus, I have an internal table with values country code and current price and using a selection screen i get a price, now i need to pick a value from the table which is nearest to the one in the screen. How do i achieve this logic? All help regar

  • Effect of cancellation of PO on nshopping cart

    Hi , we are using extended classic scenario . Carts after approval create PO. If purchaser deletes the PO, does this shopping cart open up again so that requisitioner can make changes to the cart and cart retrigger an approval workflow again. Sumendr

  • How do you get the names of all your components on a JFRAME

    please help me on this issue. when i got the refrences it worked for me, however when i wanted to get the component name i got a NULL.