Flex help

Hi,
This is what I want to do. I want to call this function which
will process 3 steps. The function is like this.
public function Insert():void {
myResult.deleteorder(orderid);
for (var i:int = 0; i < myData.length; i++ ) {
//pull each Person object out of the ArrayCollection
//and assign it to a variable of Person type
var newProduct:Product = myData
myService.insertsp( newProduct ) ;
}//end for loop
var uv:URLVariables = new URLVariables();
var request:URLRequest = new URLRequest("OrderReview.html");
uv.ordern = lblordern.text;
request.data=uv;
navigateToURL(request,"_self");
But what it does before processing the loop. It jumps to the
3rd step. How can I fix it so that 3rd step will run only after the
2nd step. Is there a similar kind of function like 'waitfor()' in
java in Flex2? Please help..
Thanks in advance..

You should probably create some sort of javascript function
and call it by using ExternalInterface.call("method","arg1");
I'm not sure if that syntax is perfect, so look up the
documentation... but flash waits it has to do with calls being
asynchronous, and synchronous...
i had the exact same problem, here is the blog post
http://axel.cfwebtools.com/index.cfm/2007/1/9/navigateToURL-problems-with-looping

Similar Messages

  • Could I put Flex help content in my own Flex training

    Hi, everybody. I am going to be an instructor for Flex
    training in December. I have to created my own training document
    and presentation. but I have seen Flex Help file also provide a
    perfect content for some part of my training. So Could I put some
    part of those contents to my training document?
    I own my Flex license already.

    "Teerasej" <[email protected]> wrote in
    message
    news:gg96cs$9n3$[email protected]..
    > Hi, everybody. I am going to be an instructor for Flex
    training in
    > December. I
    > have to created my own training document and
    presentation. but I have seen
    > Flex
    > Help file also provide a perfect content for some part
    of my training. So
    > Could
    > I put some part of those contents to my training
    document?
    >
    > I own my Flex license already.
    Look at Acrobat Portfolio.
    HTH;
    Amy

  • Flash and Flex Help

    I have a flash movie I created in Flash that has a couple
    buttons in the clip. Is there a way to make the flash buttons
    change the currentstate in Flex?
    I know in Flex state changes are as easy as
    currentState='STATENAME';
    Flex uses actionscript and so does flash, that is why I am
    hoping this is possible.
    PLEASE HELP, I appreciate your anticipated response.
    Thanks
    Todd

    Is Flash movie created using ActionScript 3? If so, you
    button click can dispatch an event and Flex application can
    register a listener to this event and whenever the event is
    dispatched, change the state.

  • Pdf portfolio flex help

    I know this is probably going to be for nothing since I doubt many people have been doing custom portfolios using flex yet but I have an extremely annoying problem I was hoping to get help with.  I had to create my own version of the Revolve layout because the client I am working for wanted some extra things that couldnt be created using the default editor.  After spending a good amount of time my component works and it does everything I need it to except for one very important thing.  Upon opening a portfolio with my custom layout set as the default nothing happens and the screen is blank.  I was able to figure out this is because my _host has an empty collection.items array.  This only happens when I start with my layout, if I start with another and then switch to my layout everything works perfectly.  I tested it more and found out that if I replace my custom Revolve component with a regular DataGrid.  Everything works fine.  I only get a blank pdf array when I add a custom component.  Please let someone know why pdf portfolios hate me.  Also, the fact that there is no test environment for them sucks, I have been forced to use Alert statement debugging.
    **Update**
         I did some further testing and it isnt just my custom component that portfolios hate.  I made a simple custom that was a canvas with a datagrid inside and it did the same error.

    Windows
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Navigators

  • Integrating Flash/Flex help...

    I would like to include the Flash v3 component help files in
    Flex Builder 3's help structure. Is this possible?

    I would like to include the Flash v3 component help files in
    Flex Builder 3's help structure. Is this possible?

  • Begining with Flex Help

    Hi,
    I have a problem with flex, well realy I even dont know how
    to install it, I download the flex_sdk_3.0.0.477 zip file and now
    than I have it, I dont know what to do with it ..
    How can I install it or what should I do with it .. this
    makes sence ??
    My question is what its the next steep .. and if in this file
    comes a development tool I dont know like Dreamweaver (for flex )
    or well,Instruccion of how to start, from this point ... I've been
    seeing this file but I dont find any .exe or anything like that ..
    =P ja can someone help me to understand this file
    Well that its all
    I hope anyone can help me with this
    Best Regards
    Cesar Gonzalez

    To use the SDK, you extract the contents of this ZIP file to
    your local drive with a utility such as WinZip.
    This ZIP file contains the SDK which does not include a
    development tool. You create text files with a *.mxml extension and
    then compile them with the mxmlc command line compiler (in the /bin
    directory).
    There are many resources on the web for getting started with
    the SDK. One example is this article:
    http://www.devarticles.com/c/a/Web-Services/Getting-Started-with-Flex/1/
    hth,
    matt horn
    flex docs

  • Converting coldfusion reports to flex- Help needed

    Hello All,
    I have a coldfusion form which has input fields , when the user submits the input fields a report is generated . Now , what i need is to generate the report in flex which takes the input from the  coldfusion input file..
    Can somebody please help ASAP..
    Thanks in advance.

    Thanks! for the prompt reply Mike .. I will start working on one of these options you listed..
    I need to complete the generation of these reports in couple of days , need myself get going..
    Is there an email id where i can reach , if i have more questions..

  • Still looking for flex help

    I had a couple of responses to my request for help that were excellent. Unfortunately, I have lost all my emails and cannot find the email of the people who responded. Could you please respond again at [email protected] I am still looking for some help.
    thank you

    I've provided this type of basic support to others at $50 per hour. I bill in 15 minute increments, so for quick questions you would typically pay
    $12.50 per question, $50 / hour for more involved issues.
    One thing, I'm more of a front-end guy, so while I can help with HTTPService connecting to PHP scripts, I'm not up to speed on ColdFusion,
    Java, etc.
    I have a day job, so I would have to respond outside the hours of 9 - 5 pacific standard time.
    I have emailed you about this, so please reply to that email on this topic.

  • Image swap code and flex -- HELP NEEDED

    Hello Folks,
    I am still new at programming and having a major issue and wondered if anyone know a simple way to do a photogallery by using some code to create an image swap
    Thumbnail ( here )                                             Large image here
    Next Thumbnail (here )                                      Large Image changes
    Next Thumbnail (here )                                      Large Image changes
    Someone suggested I use PHP to load all the images at once but it was over my head... any one got some simple explained solutions... Really trying to learn this...
    Thanks

    Hi 123tron,
    For these type of requests you should post a cookbook recipe request to Adobe's cookbook site: http://cookbooks.adobe.com/flex
    Good luck!

  • CAN FLEX HELP ME SOLVE THESE?

    Hi,
    We are using FLEX trail version tool and we need further
    clarifications on our requirements which are mentioned below, for
    evaluating the tool:
    Req. #1: We have *.DIR movies and we want to have *.PNG
    images out of these movies. Is it possible to meet this requriement
    using FLEX tool ? Will, quality of derived *.PNG images be equal to
    that of original movie ?
    Req. #2 : We want to display customized menu buttons in SWF
    movies. Is it possible to achieve this by FLEX tool? Can we also
    hide the menu buttons only than entire screen ?
    Req. #3 We want to save, retrieve and delete files either
    from server or to local hard drives from a SWF movie. Is this tool
    provides support for this aspect too ? Do we need to do extra
    scripting to do this or complete functionality is available with
    respect to this ?
    Req. #4 We would like to have facility or some means of
    accessing the controls displayed on SWF screen for reading /
    writing. Is this also supported by some means by this tool?
    Req. #5 We want our SWF files processed with FLEX tool to be
    supported uniformly across all Versions of Windows Vista, XP and 2K
    and also on Mac. Is this possible with this tool ?
    Req. #6 Lastly, the file size of FLEX is considerably larger
    than what we are expecting. Is there any chance of getting this
    reduced ?
    We are waiting for early response in this regard.
    Thank in advance.
    Regards,
    Roshan Kolar

    1) I don't understand this one
    2) Yes, yes
    3) Server, yes. Local drive, no. Unless you can use AIR
    4) Don't understand
    5) Subject to the Flash Player
    6) There are techniques to reduce, minimize the download
    footprint, but you will alwasy have the base framework size.
    Tracy

  • Flex Help - Accordion List - External XML - Duplicate Values

    Hi, I am having what's got to be a really simple problem. You see: http://acompanydesign.com/wcr/11/
    The menu headings come out fine, however the links within all duplicate. Can't seem to figure out why. Can you help?
    MXML
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.utils.ArrayUtil;
    import mx.rpc.events.ResultEvent;
    import flash.events.Event;
    import mx.core.Application;
    public var app:Object = mx.core.Application.application;
    //public var myComp1:Menu1 = app.Menu1.newLink;
    //[Bindable]
    //public var navData:ArrayCollection;
    [Bindable]public var str:String;
    [Bindable] public var httpServiceURL:String;
    [Bindable]public var xmlData:Object = new Object();
    [Bindable]public var headingData:Object = new Object();
    [Bindable]public var linkData:Object = new Object();
    [Bindable]public var newLink:String;
    private function init():void{
      httpServiceURL  = "properties1.xml?" + Math.round(Math.random() * ( 1+1000 ));
      srv.send();
    private function getHeadings(evt:ResultEvent):void{
      xmlData = evt.result;
      headingData = xmlData.a_nav;
      linkData = headingData.heading[1];
    private function getLinkObject(a:Number):Object{
    linkData = headingData.heading[a];
    return linkData;
    public function getLinks(a:Number):String{
    str = linkData.link[a].linkname;
    return str;
    public function StrapPrint(event:MouseEvent):void
    newLink = event.currentTarget.getRepeaterItem();
    app.VideoWindow.source = newLink;
    app.VideoWindow.play();
    //ExteriorUpperPrint(event)
    //navigateToURL(new URLRequest(event.currentTarget.getRepeaterItem()), '_top')
    ]]>
    </mx:Script>
    <mx:HTTPService id="srv" url="{httpServiceURL}" resultFormat="object" result="getHeadings(event);"/>
    <mx:Accordion id="accordion" width="193" height="380" x="0" y="0">
    <mx:Repeater id="rep" dataProvider="{headingData.heading}">
    <mx:VBox label="{rep.currentItem.title}" styleName="headerBox" backgroundColor="#fafafa" width="{rep.currentItem.width}" height="{rep.currentItem.height}">
    <mx:Repeater id="rep2" dataProvider="{getLinkObject(rep.currentIndex).link}">
    <mx:LinkButton click="StrapPrint(event)" label="{getLinks(rep2.currentIndex)}" />
    </mx:Repeater>
    </mx:VBox>
    </mx:Repeater>
    </mx:Accordion>
    XML
    <a_nav>
        <heading title="Category5" width="230" height="500">
    <link linkname="Video 45">2</link>
    <link linkname="Video 46">3</link>
    <link linkname="Video 47">4</link>
    <link linkname="Video 48">5</link>
    <link linkname="Video 49">6</link>
    <link linkname="Video 50">7</link>
    <link linkname="Video 51">8</link>
    <link linkname="Video 52">9</link>
    <link linkname="Video 53">10</link>
    <link linkname="Video 54">11</link>
    <link linkname="Video 55">1</link>
        </heading>
        <heading title="Category 6" width="230" height="500">
    <link linkname="Video 56">http://www.acompanydesign.com</link>
    <link linkname="Video 57">http://www.acompanydesign.com</link>
    <link linkname="Video 58">http://www.acompanydesign.com</link>
    <link linkname="Video 59">http://www.acompanydesign.com</link>
    <link linkname="Video 60">http://www.acompanydesign.com</link>
    <link linkname="Video 61">http://www.acompanydesign.com</link>
    <link linkname="Video 62">http://www.acompanydesign.com</link>
    <link linkname="Video 63">http://www.acompanydesign.com</link>
    <link linkname="Video 64">http://www.acompanydesign.com</link>
    <link linkname="Video 65">http://www.acompanydesign.com</link>
    <link linkname="Video 66">http://www.acompanydesign.com</link>
        </heading>
            <heading title="Category 7" width="230" height="500">
    <link linkname="Video 56a">http://www.acompanydesign.com</link>
    <link linkname="Video 57a">http://www.acompanydesign.com</link>
    <link linkname="Video 58a">http://www.acompanydesign.com</link>
    <link linkname="Video 59a">http://www.acompanydesign.com</link>
    <link linkname="Video 60a">http://www.acompanydesign.com</link>
    <link linkname="Video 61a">http://www.acompanydesign.com</link>
    <link linkname="Video 62a">http://www.acompanydesign.com</link>
    <link linkname="Video 63a">http://www.acompanydesign.com</link>
    <link linkname="Video 64a">http://www.acompanydesign.com</link>
    <link linkname="Video 65a">http://www.acompanydesign.com</link>
    <link linkname="Video 66a">http://www.acompanydesign.com</link>
        </heading>
    </a_nav>

    Hi, I am having what's got to be a really simple problem. You see: http://acompanydesign.com/wcr/11/
    The menu headings come out fine, however the links within all duplicate. Can't seem to figure out why. Can you help?
    MXML
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.utils.ArrayUtil;
    import mx.rpc.events.ResultEvent;
    import flash.events.Event;
    import mx.core.Application;
    public var app:Object = mx.core.Application.application;
    //public var myComp1:Menu1 = app.Menu1.newLink;
    //[Bindable]
    //public var navData:ArrayCollection;
    [Bindable]public var str:String;
    [Bindable] public var httpServiceURL:String;
    [Bindable]public var xmlData:Object = new Object();
    [Bindable]public var headingData:Object = new Object();
    [Bindable]public var linkData:Object = new Object();
    [Bindable]public var newLink:String;
    private function init():void{
      httpServiceURL  = "properties1.xml?" + Math.round(Math.random() * ( 1+1000 ));
      srv.send();
    private function getHeadings(evt:ResultEvent):void{
      xmlData = evt.result;
      headingData = xmlData.a_nav;
      linkData = headingData.heading[1];
    private function getLinkObject(a:Number):Object{
    linkData = headingData.heading[a];
    return linkData;
    public function getLinks(a:Number):String{
    str = linkData.link[a].linkname;
    return str;
    public function StrapPrint(event:MouseEvent):void
    newLink = event.currentTarget.getRepeaterItem();
    app.VideoWindow.source = newLink;
    app.VideoWindow.play();
    //ExteriorUpperPrint(event)
    //navigateToURL(new URLRequest(event.currentTarget.getRepeaterItem()), '_top')
    ]]>
    </mx:Script>
    <mx:HTTPService id="srv" url="{httpServiceURL}" resultFormat="object" result="getHeadings(event);"/>
    <mx:Accordion id="accordion" width="193" height="380" x="0" y="0">
    <mx:Repeater id="rep" dataProvider="{headingData.heading}">
    <mx:VBox label="{rep.currentItem.title}" styleName="headerBox" backgroundColor="#fafafa" width="{rep.currentItem.width}" height="{rep.currentItem.height}">
    <mx:Repeater id="rep2" dataProvider="{getLinkObject(rep.currentIndex).link}">
    <mx:LinkButton click="StrapPrint(event)" label="{getLinks(rep2.currentIndex)}" />
    </mx:Repeater>
    </mx:VBox>
    </mx:Repeater>
    </mx:Accordion>
    XML
    <a_nav>
        <heading title="Category5" width="230" height="500">
    <link linkname="Video 45">2</link>
    <link linkname="Video 46">3</link>
    <link linkname="Video 47">4</link>
    <link linkname="Video 48">5</link>
    <link linkname="Video 49">6</link>
    <link linkname="Video 50">7</link>
    <link linkname="Video 51">8</link>
    <link linkname="Video 52">9</link>
    <link linkname="Video 53">10</link>
    <link linkname="Video 54">11</link>
    <link linkname="Video 55">1</link>
        </heading>
        <heading title="Category 6" width="230" height="500">
    <link linkname="Video 56">http://www.acompanydesign.com</link>
    <link linkname="Video 57">http://www.acompanydesign.com</link>
    <link linkname="Video 58">http://www.acompanydesign.com</link>
    <link linkname="Video 59">http://www.acompanydesign.com</link>
    <link linkname="Video 60">http://www.acompanydesign.com</link>
    <link linkname="Video 61">http://www.acompanydesign.com</link>
    <link linkname="Video 62">http://www.acompanydesign.com</link>
    <link linkname="Video 63">http://www.acompanydesign.com</link>
    <link linkname="Video 64">http://www.acompanydesign.com</link>
    <link linkname="Video 65">http://www.acompanydesign.com</link>
    <link linkname="Video 66">http://www.acompanydesign.com</link>
        </heading>
            <heading title="Category 7" width="230" height="500">
    <link linkname="Video 56a">http://www.acompanydesign.com</link>
    <link linkname="Video 57a">http://www.acompanydesign.com</link>
    <link linkname="Video 58a">http://www.acompanydesign.com</link>
    <link linkname="Video 59a">http://www.acompanydesign.com</link>
    <link linkname="Video 60a">http://www.acompanydesign.com</link>
    <link linkname="Video 61a">http://www.acompanydesign.com</link>
    <link linkname="Video 62a">http://www.acompanydesign.com</link>
    <link linkname="Video 63a">http://www.acompanydesign.com</link>
    <link linkname="Video 64a">http://www.acompanydesign.com</link>
    <link linkname="Video 65a">http://www.acompanydesign.com</link>
    <link linkname="Video 66a">http://www.acompanydesign.com</link>
        </heading>
    </a_nav>

  • Flex Help - Creating Resizable, Draggable, Rotatable Shapes

    Hello,
    Hopefully some feedback from this forum can guide me into
    creating what I hope to accomplish.
    What I want to do is have the user be able to draw shapes
    onto a canvas/panel. The shaeps are standard squares, rectangles,
    circles, etc. .... This is the easy part.
    Once the shapes are drawn, I would like for the user to be
    able to click on a shape, and have 4 squares show up at each corner
    of the shape. When a user clicks on one of the squares and drags
    the mouse, the object expands in size. Furthermore, I would like to
    provide the functionality so that the user may rotate the shape.
    I have currently completed the user being able to draw
    shapes, as well as drag them anywhere on the application. I have
    used sprites for this. Can someone please guide me on how to
    incorporate the other functionality such as the user being able to
    resize the shape by selecting a tiny square at one of the corners
    of the object. Thanks

    As cxf02 mentioned in a separate thread:
    http://code.google.com/p/flex-object-handles/downloads/list
    http://www.rogue-development.com/objectHandles.html
    Your work is done :)

  • How to create help system in flex?

    I want to cerate help system in flex. Previously i have
    created online help systems using RoboHelp.
    Please help.

    Wouldn't Adobe want to integrate its industry leading
    Flash-based help system with its state-of-the-art RIA development
    system.
    This must be doable using RoboHelp's WebHelp/FlashHelp
    source.
    I would sure appreciate any "help" on the subject.
    It's hard to believe that a Flex help system is a "roll your
    own" development effort.

  • Integration of Adobe Flex with SAP Web Dynpro ABAP

    I am new to adobe flex development. i am following a tutorial prepared by
    Mr. Karthikeyan Venkatesan (Infosys Technologies Limited) Integration of Adobe Flex with SAP Web Dynpro ABAP-for ABAPers
    He used flex 3 to develop the flex application. i am using flex 4 downloaded from adobe(At a time Build release I used low version only 3.5). I followed all the steps. At a time of Run the data was not came.
    How to fetch the data?
    Please Guide how to proceed.

    Hi Laxmikanth,
    For Adebo Flex help..
    Please go through Thomas tutorial..
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163&overridelayout=true
    and ...
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480?quicklink=index&overridelayout=true
    Hope it might helps you
    Thanks,
    Kris.

  • On change: (Flex Properties)

    I'd like to know how to use this. I've set an input text field with initial text with a style of italics, I'd like to have it change to normal when the user enters new text. I can't find anything to explain the proper syntax, and what I'm doing doesn't work:
    change="text.normal"
    I find the Flex help completely mystifying. I click on the Help button; I perform searches; I get nothing. It is this way for every single question. I must presume that this help system has the answers if I can only find the secret password. If someone has succeeded in finding the answer using help, I'd appreciate hearing how they did it.

    Hello Thomas,
    Listening for a change event is not really ok because if I'm not mistaking, a change event is triggered even if the user types someting into the TextInput( and you don't want events to trigger on every character you type into the field; except, if that's the purpose of your application ). A much cleaner approach would be to listen for focusIn and focusOut events and combine these with a custom TextFormat object.
    http://www.igorcosta.com/flex3/doc/flash/text/TextFormat.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=Working_with_Text_12.html
    You would be doing something like this:
    Create a TextFormat object that will handle the text formatting from "normal" to "italic".
    Add a focusIn and focusOut listener to your TextInput.
    When the user focuses the input field then inside the focusIn handler, simply apply the correct TextFormat to your TextInput( in this case, you'd be applying a format that will display the text the user enters as "italic" ).
    When the TextInput looses focus then inside the focusOut handler you'd apply the TextFormat object again, but this time, without italic, causing your text to display as "normal text" once more.
    Simple and more efficient than trying to do the same thing with a change event.
    Best regards,
    Barna Biro

Maybe you are looking for

  • BPS Retraction to CO

    Hello could somebody help us? We have a BPS Model and we need to do retraction to CO in CeBe's . We have readen documentation about retraction but all process consist in to do retraction to CO in CeCO's. We wonder if is it posible to do retraction to

  • Steps to generate Token for opendoc url call in XI3.1

    Hi Guys, I am quite new to Sdk's and java programming . I am trying to get some help in generating token for opendoc url to avoid login while trying to access a report in Infoview. From a previous post I got this code: <%@ page import="com.crystaldec

  • How to retain focus in Web forms 6i item when displaying pdf image

    How to retain focus in Web forms 6i item when displaying pdf image in a multi-record block? Hello. I have a Web Forms 6i program (version Forms 6.0.8.19.2) running in a 3-tier application. The web form program has a multi-record block containing invo

  • Difference between BI 7.0 AND BW 3.5

    BI 7.0 AND BW 3.5

  • Data missing in datalog type files when logging on Compact field point

    Hi, I have a datalogging application running on CFP 2220 which logs data every 10sec to a *.dat file continuously for 2days. The logging method is as follows: 1. Open *.dat file connection once in the beginning of the application. 2. log data continu