Flex 4 - HGroup with a border

How can I do it?
Thanks

You could wrap the HGroup in a Group and use a stroke:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark" 
        xmlns:mx="library://ns.adobe.com/flex/halo">
    <s:Group left="20" top="20">
        <s:Rect width="100%" height="100%">
            <s:stroke>
                <s:SolidColorStroke color="red" />
            </s:stroke>
        </s:Rect>
        <s:HGroup>
            <s:Button label="lbl" />
            <s:CheckBox />
            <s:NumericStepper />
        </s:HGroup>
    </s:Group>
</s:Application>
Peter

Similar Messages

  • I want to draw rounded rectangle with dashed border

    Hello,
    I am working on flex 4.5 air 2.7 . And i want to draw rounded rectangle which has dashed border or solid border as per user's selection. Also rectangle can be rounded or simple. I am able to draw simple rectangle with dashed border. I want a solution for rounded rectangle.
    If anyone have any idea then post as soon as possible..
    Thanks
    Dhwani

    Good day!
    Could you please post a screenshot with the Layers Panel visible?
    Is the iten by any chance a Shape Layer and therefore does have a Vector Mask?
    Regards,
    Pfaffenbichler

  • Is there a way of working collaboratively on a flex project with a small project group?

    Is there a way of working collaboratively on a flex project with a small project group?
    I am part of a small group of developers who wish to work on a single flex project together. Is there a way to set up flex so that the project can be developed by multiple people at the same time. I have seen one thread out on the internet about working locally and then uploading to SVn but this is not an option in this case.
    Any ideas.
    Many thanks in advance
    Dave

    I would say that rushing into development without a source-control system will cost you more in the long-run. If your organisation is serious about developing software it then it needs to invest in the necesary infrastructure, so you should get that process kicked-off as soon as possible.
    In the interim you could set-up a source control server on one developer's machine or commandeer a spare machine to use as a temporary source control server. Just make sure you have it backed-up regularly. Or you could use one of the online source control services; many will support private repositories for a small fee.

  • Web Analysis report is not coming with the border/logo/heading while print

    Hi All,
    I am using 9.3.1 version of hyperion planning were Web Analysis report is not coming with the border/logo/heading while printing with the option "print all object", Only the data grid is coming in the print. If I use "print screen" it is coming with border/logo/heading but it gives a screenshot of the report, that won't cater out need.
    So please suggest us with a resolution to have border, logo and heading, while using Print all object.
    Thanks with regards....
    Rao

    Hi Sagar,
    In scripts when you will see print preview the logo will be not shown up with clarity.Take the print out of the document and check whether logo is printing up with clarity.
    Thanks
    Phani

  • How do I print multiple (4) photos on one page with a border around each?

    How do I print multiple photos on one page with a border around each? I've gone the contact sheet route and adjusted the number of columns but there's only outer margins and very little white space between the photos down the middle of the page.

    Ok, now I feel stupid! I always thought I was printing 6 x 4 but now I realise I can't have done!!
    The photos that I used to print are approx. 5.2" x 4" (i.e. 4 fitted nicely on a page & I had to cut the boarder off).
    I guess I just need to play with different sizes under the 'custom' option in order to get the biggest possible picture!
    Thanks for the help

  • Flex 4 with php error.

    Hi all, i'm connecting a flex application with database MySql, for that i'm using PHP as server side language. I followed a tutorial and created php class and tested. I'm getting the error at last step. This is what i did,
    1) create a php class name.php
    <?php
    * This sample service contains functions that illustrate typical
    * service operations. This code is for prototyping only.
    *  Authenticate users before allowing them to call these methods.
    class name {
      var $username = "root";
      var $password = "";
      var $server = "localhost";
      var $port = "3306";
      var $databasename = "test";
      var $tablename = "names";
      var $connection;
      public function __construct() {
        $this->connection = mysqli_connect(
                           $this->server, 
                           $this->username, 
                           $this->password,
                           $this->databasename,
                           $this->port
        $this->throwExceptionOnError($this->connection);
      public function getNames() {
         $stmt = mysqli_prepare($this->connection,
              "SELECT
                  names.firstname,
                  names.middlename,
                  names.lastname
               FROM names");    
          $this->throwExceptionOnError();
          mysqli_stmt_execute($stmt);
          $this->throwExceptionOnError();
          $rows = array();
          mysqli_stmt_bind_result($stmt, $row->firstname, $row->middlename,
                        $row->lastname);
          while (mysqli_stmt_fetch($stmt)) {
              $rows[] = $row;
              $row = new stdClass();
              mysqli_stmt_bind_result($stmt, $row->firstname, $row->middlename,
                        $row->lastname);
          mysqli_stmt_free_result($stmt);
          mysqli_close($this->connection);
          return $rows;
       private function throwExceptionOnError($link = null) {
        if($link == null) {
          $link = $this->connection;
        if(mysqli_error($link)) {
          $msg = mysqli_errno($link) . ": " . mysqli_error($link);
          throw new Exception('MySQL Error - '. $msg);
    2)   Through data wizard, connect php and linked php class, it showed the methods and went to final step.
    3) Created a datagrid in flex, then dragged and droped getNames() to the datagid, then i configured return type. The datagrid then changed its fields to MySql table.
    4) Here was the problem, when i ran the application, it showed a error in this line,
    <fx:Script>
                        <![CDATA[
                                  import mx.controls.Alert;
                                  import mx.events.FlexEvent;
                                  protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
                                            getNamesResult.token = name.getNames();
                        ]]>
              </fx:Script>
    Error - 
    Description
    Resource
    Path
    Location
    Type
    1061: Call to a possibly undefined method getNames through a reference with static type String.
    flexphp.mxml
    /flexphp/src
    line 13
    Flex Problem
    I'm new to flex, so wondering where exactly is the problem?
    I did traced back few steps, like followed Control+click on getNames(), but it took me to actionscript file and everything seemed perfect. Since you guys have experience, hope you would throw some light on error. Thanks!

    This appears to be a Flex question. please try posting it in the Flex forums here http://forums.adobe.com/community/flex/flex_general_discussion

  • Chart Prints With a Border

    I am using Crystal 11 over a Citrix connection. I have two pie charts in the report footer section, with one partially overlapping the other one.  I have it set up to show the pie of each chart, but only one legend.  When I print to two different local printers, the top-layered chart prints a border even though the border setting is set to none.  If I make the lower-layered chart the top chart, then IT prints with a border and the other one no longer has a border.  If I export the report as a .PDF and then print the .PDF, both charts print without a border as they should.  If I export as a Crystal Report and then print it using the Crystal Reports installed on my hard drive, both charts again print correctly.
    I've tried putting a white border around the chart, but that didn't help.  If I put a non-white border around the chart, that border surrounds the border that shouldn't be appearing.  I've searched the web and this newsgroup, but haven't found any references to this problem.
    Any help would be greatly appreciated.

    I guess I should have played with it a little bit longer.  While I wouldn't say it's working as designed there is a workaround.  I went into Chart -> Format Background... (which can also be accessed via right-clicking the chart).  The border was set to transparent, but the fill foreground color was set to white.  When I made the foreground color transparent as well, then the border disappeared when printing.  I'm not sure why a white background with a transparent border was making the border appear, but I am now getting the desired results.
    Hopefully someone else will gain from this if they have a similar problem.

  • Flex 2 with AS 3.0: Transitions code compilation error

    I just bought "The Essential Guide to Flex 2 with
    ActionScript 3.0. (Friends of Ed 2007) In order to work through the
    examples, I downloaded Flex 3.0 beta. Its been going well ... until
    starting the exercises on transitions.
    I've narrowed the problem down to the "relativeTo" attribute
    of the AddChild class. This snipped builds and runs fine:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:states>
    <mx:State name="bookDetails" basedOn="">
    <mx:AddChild creationPolicy="all" position="lastChild">
    <mx:FormItem id="isbn" label="ISBN: 1590595432" />
    </mx:AddChild>
    </mx:State>
    </mx:states>
    <mx:Panel title="Book" id="book"
    horizontalScrollPolicy="off" verticalScrollPolicy="off">
    <mx:Form id="bookForm">
    <mx:FormItem label="Foundation XML Flash"
    fontWeight="bold" />
    <mx:FormItem label="Sas Jacobs" fontStyle="italic" />
    </mx:Form>
    <mx:ControlBar>
    <mx:LinkButton label="Book Details" id="bookLink" />
    <mx:Spacer width="100%" id="spacer1" />
    <mx:Label text="Book Title" id="title" />
    </mx:ControlBar>
    </mx:Panel>
    </mx:Application>
    However, as soon as I add relativeTo, e.g:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:states>
    <mx:State name="bookDetails" basedOn="">
    <mx:AddChild relativeTo="{bookForm}" creationPolicy="all"
    position="lastChild">
    <mx:FormItem id="isbn" label="ISBN: 1590595432" />
    </mx:AddChild>
    </mx:State>
    </mx:states>
    <mx:Panel title="Book" id="book"
    horizontalScrollPolicy="off" verticalScrollPolicy="off">
    <mx:Form id="bookForm">
    <mx:FormItem label="Foundation XML Flash"
    fontWeight="bold" />
    <mx:FormItem label="Sas Jacobs" fontStyle="italic" />
    </mx:Form>
    <mx:ControlBar>
    <mx:LinkButton label="Book Details" id="bookLink" />
    <mx:Spacer width="100%" id="spacer1" />
    <mx:Label text="Book Title" id="title" />
    </mx:ControlBar>
    </mx:Panel>
    </mx:Application>
    Flex Builder 2 gives me the following error:
    Type was not found or was not a compile-time constant.
    Thinking this might have been a bug with Flex 3.0, I
    uninstalled then installed the most recent release of version 2. I
    still get the same problem. Any ideas?

    Another possibility is that you used some kind of transition for the object but didn't name it in all of the keyframes.  When you transition an object in a timeline tween and don't name it in the first keyframe, the latter keyframes adopt that lack of a name event though you might assign a name in them.
    What you should do is go into your Publish Settings and in the Flash section select the option to Permit Debugging.  This will add a line number following the frame number in the error message.  Once you know which line is causing the problem, try tracing the object that is in that line.  You will most likely find out it is null, and it will be because of one of the reasons I've mentioned (I don't think I forgot any others, but it's possible).

  • Errors - drawing a text curve in flex with flex 3 with flex 3.5 framework

    Is that necessary in drawing a text curve in flex we need flex 4 with flash player 10, actually i have flex 3 with flex 3.5 framework but it is showing error like this :
    This is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.components.TextView;
    public var myText:String = "Read my blog @ http://www.funnyjokesfunny.com";
    var radius:Number = 125;
    var spacing:Number = 8;    
    var center:Point = new Point(125,125);
    public function drawText():void {
    for (var char:uint=0;char<myText.length;char++) {
    var tempText:TextView = new TextView();
    tempText.x = radius * Math.cos(degrees2radians(char*spacing)) + center.x;
    tempText.y = radius * Math.sin(degrees2radians(char*spacing)) + center.y;
    tempText.rotation = 25;
    tempText.text = myText.charAt(char);
    textContainer.addChild(tempText);
    ]]>
    </mx:Script>
    <mx:Button label="Draw a circle" click="drawText()" />
    <mx:Canvas id="textContainer"  y="50" x="50"  width="400" height="400" />       
    </mx:Application>
    1) call to possibly  undefined method Text View
    2) Type was not found : Text view.                               
    Please help me
    Atishay

    I have now taken import mx.controls.Text;
    instead of textview it works , but in dis example http://blog.shortfusion.com/index.cfm/2009/1/25/Circular-Text-In-Flex-Explained with source code they have taken textview control and it works for them for text curve.

  • Flex builder with AS3 project

    Hi,
    I am developing a Flash game using as3, I chose flex Builder with an AS3 project. Now I am thinking that if selecting the project to be a flex project instead of as3 project I would have a lot of flex functionality like a swf loader,preloaders and the popup manager etc. The graphic components would obviously have been made in flash and used through the swc (avoiding the heavy mxml components).
    Need to know what other developers think of this approach.

    You must include in library:
    ${FRAMEWORKS}/locale/{locale}

  • HT2506 OS X Preview: Insert a white box with no border?

    Hello, I have a PDF document in Preview (OS X Lion), and I'm trying to insert a "whiteout" area--basically a white box with no border or shadow. However, no matter what I do, I can't seem to create an annotation rectangle without some kind of border showing up. Actually, it looks more like a shadow than a border. Am I missing something? Is this possible with Preview?
    Thanks!

    This drives everybody nuts, and Apple does nothing about it.  My guess is there's somebody with a patent -maybe Adobe- forcing them to keep the damned shadows.
    The only decent solution seems to be the free app Skitch.  Reveiws are 100% negative on the latest version, which has been stripped of features (Adobe, again?), but you can still get the older versions at http://www.oldapps.com/mac/skitch_for_mac.php  I use version 1.0.12, which works with Mountain Lion.
    There's also GIMP, which is a powerful program but has a learning curve like the Matterhorn.

  • How to use Flex Components with Flash?

    Hi!!
    I found a lot of very useful components in the web, but they are all for  Flex, is it possible to use Flex Components with Flash IDE?
    Thanks !!!
    jenry
    PS: this is one of the components I need to use (a tree with checkbox  nodes)
    http://www.sephiroth.it/file_detail.php?pageNum_comments=30&id=151
    another one:
    http://www.darronschall.com/weblog/2006/09/a-flex-2-checked-tree-control-component.cfm

    Flex components are delivered as SWCs just like Flash components, but the
    SWC format is incompatible with the Flash IDE.
    Also, the default fl.. components in the Flash IDE are incompatible with
    Flex components.
    You should be able to load a Flex SWF into a Flash SWF as long as you aren't
    using fl.. components in the Flash SWF.  If the Flex SWF overlays things
    in your Flash SWF then it might block interaction, but otherwise it
    shouldn't.  I don't think the statement you quoted is true for all
    configurations.
    But loading a Flex SWF into a Flash SWF isn't going to help you use those
    Flex components from your Flash IDE.  Try Flash Builder 4 to build out the
    Flex portion of your application.  I haven't tried it myself, but it I think
    it is supposed to have better integration with Flash.

  • Adobe Flex 4 with ABAP web dynpro

    I currently am working with Flex 3 but wanted few features of Flex 4 for my project. Is there any way that I can use Flex 4 with ABAP web dynpro. I have tried using the 'Use Flex 3 compatibility mode' with 'merged into code' but this does not work. There is no data transfer happening. I see in the forums that this is not possible but all the posts are one year old. Just wanted to check if any new method is availabe.
    Kindly help.

    Hello,
    Flex 4 versions of the Islands SWC libraries were delivered via Support Packages(See Note 1614265).
    http://scn.sap.com/thread/3186643
    Best Regards,
    Tarun

  • Trying to use flex pitch with logic pro 9 session in 192k crashes program

    i try to use flex pitch with a previous logic 9 session and and soon as i switch to flex pitch it just crashes no matter what session i bring up in 192k, i dont have any 96k files to test but is flex pitch non-caompatible with 192k sessions

    JofishSamuel wrote:
    Okay? Sorry, I have no experience with .mid files as I've never exported or imported them or moved them before... or even highlighted one before!
    Two ideas, have your friend check and make sure the mid file plays on his/her system.
    and/or
    If the mid file checks out good on his/her system have them compress (ZIP) the file and resend as it could have become corrupted during transfer. It can happen.
    Your description of the file (zero length) sounds like it missed the last few bytes.
    pancenter-

  • Debug Multiple Flex Projects with shared PHP project

    Hi ! I have a problem debugging Flex/PHP applications.
    I have many Flex projects with a shared PHP project, so I need to set the the output folder to the Flex project's folder, not the PHP's project folder.
    But it doesn't work, I mean the application works great, the PHP are executed fine, the AS3 code is debugged fine, but I can't debug PHP.
    If I put the output folder to the PHP's project, then I can debug the PHP code too.
    Please, can you tell me if it's possible to put the output folder to another folder than PHP's project???

    Hi Steven,
    Yes, I considered this option too.
    But if someone creates in the database a column for a table that belongs to "Project A", when I publish "Project B" the generated script tries to remove the column since my copy of "Project A" on my solution is not the latest
    version.
    I think I'll just have to handle this. Like, organizing with people when and ho can publish to the databases.
    Maybe the best practice is to developers use their own LocalDB while developping and only one person publish to database on the development server.

Maybe you are looking for

  • SP2013 WF works for admin but not end-users

    A simple SP2013 WF calls a SP2010 WF to send email, simple.  Works for me (admin) but when a SP user edits an item on the list (which fires the WF), the WF gets to the 2010 call, and fails with this error... RequestorId: f8c56627-e4e5-5a26-0000-00000

  • How to repair my iPhone 4s shell

    i want to repir mt iphone 4s shell, because of some accident. my iphone 4s is still in warranty. how much should I pay?

  • Processing D800 files

    I am considering upgrading to a D800 (36.3MP).  I understand that I will have to upgrade my LR 3.6 to 4.x.  Is that correct? Also, I have an i7-2600, 16GB RAM and two SATA 3 drives (2TB each).  Is that going to be enough?  Which one of these componen

  • After installing WebCenter JPS-06514: Opening of file based keystore failed

    SOLVED: Customer was using WebLogic 12c which is not supported. Oracle Fusion Middleware 11.1.1.6.0 is certified with WebLogic Server and 10.3.5 and 10.3.6. Folks, Installed and verified WebLogic, created a domain and a test managed server. Everythin

  • System error - SAPLRRK0

    Hi, When I execute a query iam getting these messages SQL Error: 942- System error in program SAPLRRK0 and form RSRDR;SRRK0F30-01- Could you please tell me how to resolve this and execute my query ? Regards Shweta