Speech bubble like component in flex

I need to use a speech bubble like component in my flex project.Due to timing constraints i am not position to invest my time in creating a component like that from scratch.Anyone knows any flex speech bubble component which is free to use?

Here are some things to check:
1) -use-network=true       Project - Properties - Flex Compiler - Additional compiler arguments, add -use-network=true
2) Verify that the relative paths to the video files are correct on the server.
3) Could be a timing issue. If the video is not streaming and its not loaded yet, black screen could be the result.
If this post answers your question or helps, please mark it as such.

Similar Messages

  • Best way to create a speech bubble effect?

    Hi there,
    I'm currently writing a simple game using java 2D, on screen i would like to show some text surrounded by a speech bubble which will be used to show what a character is saying. I need the text to be scrollable as there might be alot of it and dont want to clog up the screen.
    Initially i wanted to create this directly on the JPanel im using but could not figure out how to add a scrollable text area directly onto a JPanel (if its even possible!).
    So i thought just use a pop up text box that would already be scrollable, but how can i get a pop up to have the appearence of a speech bubble?
    Any help or hints would be appreciated.
    Many thanks

    Oh boy, do I have the thing for you.
    A while back I built a quote class that looks like a quote in cartoon or something.
    So I'll post the quote class, along with my Draggable and Resizeable classes, which make these things a snap. In order to drag or resize, you must set the layoutmanager to null of course
    currently the quote extends JComponent and does not draw its background (so it's see-through) you can change this to JPanel to show the background, but you'll probably never want to do this.
    You are welcome to use and to modify this code, but please do not change the package or claim it as your own work.
    Quote.java
    ===========
    * Created on May 25, 2005 by @author Tom Jacobs
    package tjacobs.ui;
    import java.awt.Color;
    import java.awt.Font;
    import java.awt.FontMetrics;
    import java.awt.Graphics;
    import java.awt.LayoutManager;
    import javax.swing.JComponent;
    import javax.swing.JPanel;
    public class Quote extends JComponent {
         String mTxt;
         public Quote() {
              super();
         public Quote(String s) {
              this();
              setText(s);
         public void setText(String txt) {
              mTxt = txt;
         public void paintComponent(Graphics g) {
              super.paintComponent(g);
              int width = getWidth();
              int height = getHeight();
              g.setColor(Color.RED);
              int wid = width / 10;
              int ht = height / 10;
              g.drawArc(wid / 2, ht / 2, wid * 9, ht * 9 , 0, -30);
              g.drawArc(wid / 2, ht / 2, wid * 9 , ht * 9, 0, 300);
              int ptx1 = (int) (width / 2 + wid * 18 / 4.0 * (Math.cos(30 * Math.PI / 180)));
              int pty1 = (int) (height / 2 + ht * 18 / 4.0 * (Math.sin(30 * Math.PI / 180)));
              int ptx2 = (int) (width / 2 + wid * 18 / 4.0 * (Math.cos(60 * Math.PI / 180)));
              int pty2 = (int) (height / 2 + ht * 18 / 4.0 * (Math.sin(60 * Math.PI / 180)));
              g.drawLine(ptx1, pty1, width, height);
              g.drawLine(ptx2, pty2, width, height);
              if (mTxt != null) {
                   int x = (int) ((width / 2) * (1 - Math.sqrt(2) / 2));
                   int y = (int) ((height / 2) + (height / 2 * Math.sqrt(2) / 2));
                   int sqwidth = (int) (width * Math.sqrt(2) / 2);
                   int sqheight = (y - height / 2) * 2;
                   System.out.println("x = " + x + " y = " + y);
                   Font f = g.getFont();
                   FontMetrics fm = g.getFontMetrics();
                   FontMetrics last = fm;
                   float pt = f.getSize();
                   while (fm.stringWidth(mTxt) < sqwidth && fm.getHeight() < sqheight) {
                        last = fm;
                        pt += 2;
                        f = f.deriveFont(pt);
                        fm = g.getFontMetrics(f);
                   int x_diff = sqwidth - fm.stringWidth(mTxt);
                   int y_diff = sqheight - fm.getHeight();
                   g.setFont(f);
                   g.drawString(mTxt, x + x_diff / 2, y - y_diff / 2 - fm.getHeight() / 5);
    WindowUtilities.java
    this contains draggable and resizeable
    ============
    package tjacobs.ui;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.File;
    import javax.swing.JFrame;
    public abstract class WindowUtilities {
         public static final int RESIZE_MARGIN_SIZE = 4;
         public static final String VISUALIZE_FILE = "locations.dat";
         private static File sVisFile;
         private static class Entry {
              Class key;
              Point size;
         static {
              sVisFile = new File(VISUALIZE_FILE);
         public static Point getBottomRightOfScreen(Component c) {
             Dimension scr_size = Toolkit.getDefaultToolkit().getScreenSize();
             Dimension c_size = c.getSize();
             return new Point(scr_size.width - c_size.width, scr_size.height - c_size.height);
         public static Window visualize(Component c) {
              return visualize(c, true);
         public static Window visualize (Component c, int width, int height) {
              return visualize(c, true, width, height);
         public static Window visualize(Component c, boolean exit, int width, int height) {
              JFrame f;
              Window w;
              if (c instanceof Window) {
                   w = (Window) c;
              else {
                   f = new JFrame();
                   f.getContentPane().add(c);
                   w = f;
              w.setSize(width, height);
              w.setLocation(100, 100);
              if (exit) {
                   w.addWindowListener(new WindowClosingActions.Exit());
              w.setVisible(true);
              return w;          
         public static Window visualize(Component c, boolean exit) {
              JFrame f;
              Window w;
              if (c instanceof Window) {
                   w = (Window) c;
              else {
                   f = new JFrame();
                   f.getContentPane().add(c);
                   w = f;
              w.pack();
              w.setLocation(100, 100);
              if (exit) {
                   w.addWindowListener(new WindowClosingActions.Exit());
              w.setVisible(true);
              return w;
         public static class Draggable extends MouseAdapter implements MouseMotionListener {
            Point mLastPoint;
            Component mDraggable;
            public Draggable(Component w) {
                w.addMouseMotionListener(this);
                w.addMouseListener(this);
                mDraggable = w;
            public void mousePressed(MouseEvent me) {
                   if (mDraggable.getCursor().equals(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR))) {
                        mLastPoint = me.getPoint();
                   else {
                        mLastPoint = null;
              private void setCursorType(Point p) {
                   Point loc = mDraggable.getLocation();
                   Dimension size = mDraggable.getSize();
                   if ((p.y + RESIZE_MARGIN_SIZE < loc.y + size.height) && (p.x + RESIZE_MARGIN_SIZE < p.x + size.width)) {
                        mDraggable.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
            public void mouseReleased(MouseEvent me) {
                mLastPoint = null;
            public void mouseMoved(MouseEvent me) {
                   setCursorType(me.getPoint());
            public void mouseDragged(MouseEvent me) {
                int x, y;
                if (mLastPoint != null) {
                    x = mDraggable.getX() + (me.getX() - (int)mLastPoint.getX());
                    y = mDraggable.getY() + (me.getY() - (int)mLastPoint.getY());
                    mDraggable.setLocation(x, y);
         public static class Resizeable extends MouseAdapter implements MouseMotionListener {
              int fix_pt_x = -1;
              int fix_pt_y = -1;
            Component mResizeable;
              Cursor mOldcursor;
              public Resizeable(Component c) {
                   mResizeable = c;
                   c.addMouseListener(this);
                   c.addMouseMotionListener(this);
              public void mouseEntered(MouseEvent me) {
                   setCursorType(me.getPoint());
              private void setCursorType(Point p) {
                   boolean n = p.y <= RESIZE_MARGIN_SIZE;
                   boolean s = p.y + RESIZE_MARGIN_SIZE >= mResizeable.getHeight();
                   boolean w = p.x <= RESIZE_MARGIN_SIZE;
                   boolean e = p.x + RESIZE_MARGIN_SIZE >= mResizeable.getWidth();
                   if (e) {
                        if (s) {
                             mResizeable.setCursor(Cursor.getPredefinedCursor(Cursor.SE_RESIZE_CURSOR));
                             return;
                        mResizeable.setCursor(Cursor.getPredefinedCursor(Cursor.E_RESIZE_CURSOR));
                        return;
                   if(s) {
                        mResizeable.setCursor(Cursor.getPredefinedCursor(Cursor.S_RESIZE_CURSOR));
                        return;
              public void mouseExited(MouseEvent me) {
                   if (mOldcursor != null)
                        ((Component)me.getSource()).setCursor(mOldcursor);
                   mOldcursor = null;
            public void mousePressed(MouseEvent me) {
                   Cursor c = mResizeable.getCursor();
                   Point loc = mResizeable.getLocation();
                   if (c.equals(Cursor.getPredefinedCursor(Cursor.SE_RESIZE_CURSOR))) {
                        fix_pt_x = loc.x;
                        fix_pt_y = loc.y;
                        return;
                   if (c.equals(Cursor.getPredefinedCursor(Cursor.E_RESIZE_CURSOR))) {
                        fix_pt_x = loc.x;
                        fix_pt_y = -1;
                        return;
                   if (c.equals(Cursor.getPredefinedCursor(Cursor.S_RESIZE_CURSOR))) {
                        fix_pt_x = -1;
                        fix_pt_y = loc.y;
                        return;
              public void mouseReleased(MouseEvent me) {
                   fix_pt_x = -1;
                   fix_pt_y = -1;
              public void mouseMoved(MouseEvent me) {
                   setCursorType(me.getPoint());
              public void mouseDragged(MouseEvent me) {
                   Point p = me.getPoint();
                   int width = fix_pt_x == -1 ? mResizeable.getWidth() : p.x;
                   int height = fix_pt_y == -1 ? mResizeable.getHeight() : p.y;
                   mResizeable.setSize(new Dimension(width > 1 ? width : 1, height > 1 ? height : 1));
    }

  • How to set multiple styles on a single component in flex ?

    Hi ,
    I would like to know how to set multiple styles on a single component in flex.
    Can anyone give me an example as to how to set multiple styles for a single component ?
    Thanks ,
    Regards,
    Ajantha

    Hi tuliptaurus,
    You can setStyleName property for chnaging the external css dynamically by using the setStyle() method ...
    btn.setStyle("styleName","blendButtonSkinOther");
    You can change the external css by using the styleaName property with setStyle method..the line in blue..where blendButtonSkinOther is another css class..
    blendButtonSkin {
        fontFamily: Arial;
        fontSize: 11;
        color: #F1F1F1;
        textRollOverColor: #F1F1F1;
        textSelectedColor: #F1F1F1;
        horizontal-align:center;
        width:150;
        height:30;
        cornerRadius:5;
        upSkin:ClassReference('assets.skins.BlendButtonSkin');
        downSkin:ClassReference('assets.skins.BlendButtonSkin');
        overSkin:ClassReference('assets.skins.BlendButtonSkin');
        disabledSkin:ClassReference('assets.skins.BlendButtonSkin');
        selected-up-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-down-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-over-skin: ClassReference('assets.skins.BlendButtonSkin');
    blendButtonSkinOther {
        fontFamily: Arial;
        fontSize: 11;
        color: #F1F1F1;
        textRollOverColor: #F1F1F1;
        textSelectedColor: #F1F1F1;
        horizontal-align:center;
        width:150;
        height:30;
        cornerRadius:5;
        upSkin:ClassReference('assets.skins.BlendButtonSkin');
        downSkin:ClassReference('assets.skins.BlendButtonSkin');
        overSkin:ClassReference('assets.skins.BlendButtonSkin');
        disabledSkin:ClassReference('assets.skins.BlendButtonSkin');
        selected-up-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-down-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-over-skin: ClassReference('assets.skins.BlendButtonSkin');
    Thanks,
    Bhasker Chari

  • Is it possible to call a function in a parent component from a child component in Flex 3?

    This is probably a very basic question but have been wondering this for a while.
    I need to call a function located in a parent component and make the call from its child component in Flex 3. Is there a way to access functions in a parent component from the child component? I know I can dispatch an event in the child and add a listener in the parent to call the function, but just wanted to know if could also directly call a parent function from a child (similar to how you can call a function in the main mxml file using Application.application). Thanks

    There are no performance issues, but it is ok if you are using the child component in only one class. Suppose if you want to use the same component as a child to some bunch of parents then i would do like the following
    public interface IParentImplementation{
         function callParentMethod();
    and the parent class should implement this 'IParentImplementation'
    usually like the following line
    public class parentClass extends Canvas implements IParentImplementation{
              public function callParentMethod():void{
         //code
    in the child  you should do something like this.
    (this.parent as IParentImplementation).callParentMethod();
    Here using the Interfaces, we re decoupling the parent and the child
    If this post answers your question or helps, please mark it as such.

  • Can't see speech bubbles!

    ok, I know this is very stupid, BUT when I open a chat session and the box with my buddy is displayed I can't see the chat speech bubble where my messages are usually displayed, nor can I see the "..." when i'm typing. This also happens with my buddies during the chat session. (It gives a "?" in a blue box next to our pics) What can I do to fix this??? Thx ahead of time!

    Hi,
    Welcome to the    Discussions
    Are you set in iChat View Menu > Messages to use Balloons (Speech Bubbles) ?
    You can only change this when a Text Chat window is open (Even if you don't send anything).
    A ? in a Bubble (or other Style) means a Pic is Coming (obviously sometimes it does not arrive).
    Can you Send Files (or receive them) without opening a chat ?
    (Just drop the file on a Buddy's name in the Buddy list)
    If you cannot is port 5190 open on the UDP Protocol in your Routing device ?
    It may also pay to split the Login port in iChat Menu > Preferences > Accounts > Server Settings from 5190 and change it to 443 (This is on TCP and some routers don't like the same port used twice).
    You can only do this whilst Logged Out (use the Account Info tab and deselect "Use this Account")
    In Snow Leopard/iChat, if you make this change, you have to Hit the Enter key to "Set" the port change.
    7:56 PM Wednesday; September 22, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • How to use FC to make a sub-component for Flex

    Most of the examples and tutorials I've seen so far assume you are creating the app itself in FC.
    However, what I need to do is create a custom component that will be a "screen" in a large Flex app, like a page in a Wizard.
    So if I was doing this without FC, I'd make a new mxml component in Flex, e.g. "WizardStep.mxml" and then in the main app,
    <mx:ViewStack>
         <h:WizardStep id="one" label="Step One" />
         <h:WizardStep id="two" label="Step Two" />
    </mx:ViewStack>
    For example, assuming I have set up the namespace "h" to like "com.handycam.*"
    How would I accomplish this scenario if "WizardStep" is what I have been building in FC?

    Thanks for your answer!
    Unfortunately it still doesn't work.
    In FC I used the file menu item "publish as swf" ( or however it's called in English -
    I'm also struggling with the -unwanted- German workspace terms). This generated
    the deploy-to-web and run-local folders. In Flex3, I imported haupt.swf (=main.swf)
    from the run-local folder.
    When I use the imported file in the Image tag with the
    loadForCompatibily attribute set to "true",the application compiles,
    opens the IE, the remaining LinkBar buttons are not affected - they
    show/run the Flash Pro .swfs and their controls,
    but the attempt to access the .swf in question produces:
    VerifyError: Error #1053: Illegal override of z in mx.core.UIComponent.
    at flash.display::MovieClip/nextFrame()
    at mx.managers::SystemManager/deferredNextFrame()[C:\autobuild\3.2.0\frameworks\projects\fra mework\src\mx\managers\SystemManager.as:319]
    at mx.managers::SystemManager/preloader_initProgressHandler()[C:\autobuild\3.2.0\frameworks\ projects\framework\src\mx\managers\SystemManager.as:2945]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/timerHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\ src\mx\preloaders\Preloader.as:398]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    The alternative approach:
    <mx:SWFLoader x="3" y="35" width="970" height="425" loadForCompatibility="true" source="insets/haupt.swf"/>
    produces:
    VerifyError: Error #1014: Class flash.text.engine::TextLine could not be found.
    at global$init()
    If I code the SWFLoader tag as:
    <mx:SWFLoader x="3" y="35" width="970" height="425" loadForCompatibility="true" source="
    @Embed(source='insets/Haupt.swf')"/>
    I get the same errors as I did for the Image tag approach.
    Hope this helps.

  • Speech bubbles in Muse

    Hi,
    I'm designing my site in Muse.
    A main feature will be interviews.
    I'll be designing a jpeg background, with name of interviewee seperately designed at the top - do I need to merge these as 1 in PS or can I layer in Muse?
    But my main question, is I want the interview in speech bubbles centered down screen, with triangle tip pointing left or right of screen depending on whom is speaking. Ideally, i'd like the text to be searchable on google.
    Any ideas for how to do this?
    I am aware of a speach bubble code creator on the web is that addable to Muse?
    Obviously the bubbles would need to be adjustable for the amount of speech, but as interviews are past won't need changing once created.
    Might add, photos/sound clips/links at some point but getting the background up with interview in speech bubbles is the main task.
    Thanks so.
    Tanya

    Right, couldn't see 1. Thought was web design, have reposted

  • How to quickly switch between speech bubble and highlight text in pdf viewer in Maverics.  Can now only use menu to change to speech bubble in Maverics (Tool Icon gone since Lion and no shortcut listed)

    I use Preview to mark up student assignments, switching between the speech bubble and highlight markup tools.  The speech bubble is not on the toolbar since Maverics upgrade.  It also have no shortcut, which means navigating the menu every time since the Text shortcut, under which the speech bubble is now located does not remember the previously selected item and always reverts to plain text.
    From a usability point of view, for me this is a massive step backward since the Lion version...
    Or is there some hidden magic that will let me switch between these tools without having to navigate the menu everytime...
    Neal

    100% agreed with this. The new interface is far too bulky, Even on my gaming computer's massive 21inch monitor, it's nearly impossible to keep up with my chat group of 23+ people. I constantly have to scroll back up to read messages, making it furstrating and inconveniant. And now that the update is being forced on all of them, they're complaning of the same issues. Like said previously, these are full computers, Not bloody tablets or cell phones, but even then the new skype's even more useless on my Venue8 Pro tablet, I get to see a whole 3 messages at a time (And don't get me started on the Win8 Skype app). And what made it worse, MS has removed all previous versions of skype from the internet. THEN even when I managed to get my hands on an old version, I can only log it in once before it kicks me off and gives me a worthless error message, "Skype Can't Connect". (But seriously, what happened to giving us error codes guys? Advanced users like myself want to be able to fix the issue ourselves!) MS, I'm sorry but, you need to stop fixing things that are not broken. I'm wasing my time trying to correct this now, and I really don't apreciate that. What happened to quality control and testing?

  • I do not have a speech bubble option in Preview...

    The latest version of Preview app from OS X Mountain Lion onward feature a couple of fun menu items that let you quickly add comic book styled speech bubbles to any photo. It’s extremely easy to use, but it’s also easy to overlook, so here’s how to use them to add some humor to any picture:
    Open an image in Preview and click the “Show Edit Toolbar” button that looks like a square with a pen in it, or hit Command+Shift+A
    Click on either the speech bubble icon or the thought bubble icon, then click and drag on the picture to place the bubble
    Type what you want in the bubble, adjusting the font and size as desired using the Fonts panel
    I have Mountain Lion 10.8.2 and version 6.0.1. (765.4) of Preview. What gives?

    I can't believe that was the answer to my problem.
    How obvious, lol. It is SO obvious, it blows my mind how simple a solution it is.
    Thank you for your answer.

  • How can I make rectangular speech bubbles that adapt to the text inside them without the "arrow" that points towards where the bubble is coming from getting changed?

    I have to make lots of speech bubbles (150+) that all have texts inside them which differ in length. I want the speech bubbles to look the same in terms of style, but I need different sizes of course for each text. This means that the rectangular part of the speech bubble should adapt in length and width to the text inside it, while the "arrow" pointing towards where the bubble is coming from (e.g. the person who speaks) should stay the same on every bubble. So is there a way or a workaround to make such "adapting" speech bubbles?
    I appreciate any kinds of help
    Thanks in advance!

    Here's another way I found:
    1. Draw a speech bubble. Mine is a rectangle with rounded corners and a triangular pointer added with Pathfinder > Add
    2. Drag out a frame the same size as the speech bubble. Select the speech bubble and Copy; then select the empty frame and choose Edit > Paste Into...
    3. Alt-Drag the frame with the pasted speech bubble to make a copy, then crop one copy to leave only the top of the bubble showing, and crop the other copy to leave only the bottom.
    4. Drag out a text frame and insert a table consisting of 1 column, 3 rows. Set the text frame to Autosize > Height Only.
    5. Set the stroke/fill of the top and bottom rows to none, and style the middle row to match the speech bubble, (in my case a white fill and 2pt stroke; left and right).
    6. Anchor (paste) a copy of the speech bubble top in the top table row, and a copy of the speech bubble bottom in the bottom row.
    Getting the 3 parts to match up with is where you just have to work on it until you get it right. Use the positioning tools in Anchored Object options and the column width setting in Cell options to line everything up.
    Enter your text in the middle row. (Hey, look at that...a valid application of Comic Sans!) With the Cell Height set to an "At Least" setting, the cell will expand to fit whatever text you enter, pushing the the bottom row down, with the text frame auto-sizing to keep everything in play...

  • How do I change the color of my speech bubbles in text messaging?

    OK community members.....am I crazy or wasn't there a way to change the color of the speech bubbles in Messages?  I just went from a 3gs to a new 4s and I can't seem to find where that can be done or even if it can be done.  I was thinking I was able to do it on my 3gs.  Thanks!!

    Speech bubble colour cannot be changed.  SMS is green and iMessage is blue and that's it I'm afraid.

  • Tree component in Flex 4

    Are there any known issues with the <mx:Tree component in Flex 4?
    We have upgraded from Flex 3 builder to Flex 4 builder. Everything works except any where we have used a tree component the data is no longer showing. Has there been a change in how to populate the Tree component? We populate the tree by setting the dataProvider with an ArrayCollection.

    @travr,
    I'm not aware of any big known issues in mx:Tree between Flex 3.x and Flex 4.x. What problems are you seeing, and can you reproduce the issue with a simple test case (if so, please post the simple test case here and we can take a look).
    This works in Flex 3.5:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:ApplicationControlBar dock="true">
            <mx:Button id="sdkVer" initialize="sdkVer.label = mx_internal::VERSION;" click="System.setClipboard(sdkVer.label);" />
        </mx:ApplicationControlBar>
        <mx:Tree id="tr" labelField="name" width="200" x="20" y="20">
            <mx:dataProvider>
                <mx:ArrayCollection>
                    <mx:Object name="1. One">
                        <mx:children>
                            <mx:Object name="1.1 One" />
                            <mx:Object name="1.2 Two" />
                        </mx:children>
                    </mx:Object>
                    <mx:Object name="2. Two">
                        <mx:children>
                            <mx:Object name="2.1 One" />
                        </mx:children>
                    </mx:Object>
                </mx:ArrayCollection>
            </mx:dataProvider>
        </mx:Tree>
    </mx:Application>
    And this seems to work in Flex 4.5/Hero beta:
    <?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/mx">
        <s:controlBarContent>
            <s:Button id="sdkVer" initialize="sdkVer.label = mx_internal::VERSION;" click="System.setClipboard(sdkVer.label);" />
        </s:controlBarContent>
        <mx:Tree id="tr" labelField="name" width="200" x="20" y="20">
            <mx:dataProvider>
                <s:ArrayCollection>
                    <fx:Object name="1. One">
                        <fx:children>
                            <fx:Object name="1.1 One" />
                            <fx:Object name="1.2 Two" />
                        </fx:children>
                    </fx:Object>
                    <fx:Object name="2. Two">
                        <fx:children>
                            <fx:Object name="2.1 One" />
                        </fx:children>
                    </fx:Object>
                </s:ArrayCollection>
            </mx:dataProvider>
        </mx:Tree>
    </s:Application>
    Peter

  • Is there any component in flex to show/edit digital maps, lattitude, longitude etc?

    Is there any component in flex to show/edit digital maps, lattitude, longitude etc?

    If I do this then I will have my video player in fullscreen disappear for a moment and then reappear out of fullscreen, and I want it not to disappear, but to just jump to the other state fully resized and repositioned with no glitching in between states.
    Than you will need to implement your own solution which meets your specific design goals. That's the nature of the beast my friend.
    As far as I know dynimic skin parts have another meaning - creating more than one instance at runtime. Also I've read just now (again) partAdded and partRemoved are called on component initialization and skin change. So basicly if I change the skin, it makes sense to remove the eventListeners from the old skin parts. But still, I've read on many places that if an object has event listeners attached to it it will Not be GC unless they are weak, so it will be stuck in memory forever.
    So looking at the VideoPlayer and it's skin parts, I'm not seeing any event listener being removed when I remove the instance I have of the VideoPlayer. Why is that? Why the component does not remove it's skin parts event listeners?
    Are you changing skins? If so, I bet the parts would be removed as expected. The partRemoved method is not being called because it's not needed. If you remove the parent component, than any reference encapuslated within that component are removed as well.Fire up the profiler if you don't believe me.
    I'm interested in the skin parts and states relation. With includeIn and excludeFrom you define in which states the component is added to or removed from as a child (element). So If I have a skin part which is required=true and I have 2 states from one of which it is excluded... whouldn't that result in a runtime error since the part is not there but it is required?
    I'm pretty sure that it only checks if the instance exists, and does not care if it has been created and added to the display list. I do not really know for certain though. This could easily be answered with a simple test.

  • ActiveX component in Flex

    My doubt is how can we bring or embed ActiveX visual component in Flex UI(inside an SWF)
    Regards
    Aravind Mohandas

    I didn't think you could.
    I understood that ActiveX controls do not run as browser plugins and are therefore outside of the Browser security sandbox.  Flex is a browser plugin and is locked into the browser's security sandbox.
    Depending upon what the ActiveX controld oes you could convert it to Flex.

  • Book component in flex

    how to implement book component in flex

    "tausif d" <[email protected]> wrote in
    message
    news:g6jkhl$pf0$[email protected]..
    > how to implement book component in flex
    http://www.quietlyscheming.com/blog/components/flexbook/

Maybe you are looking for

  • Remote system CCMS segment not in local segments

    Hi, I have configured CCMS agents before but this one is puzzling. - downloaded latest CCMS agents sar file for PI systems - I have created the csmconf file and placed in the right locations. - i started the CCMS agent for PI systems from Visual Admi

  • BEx Analyzer issue

    Hello Experts, I am facing a problem with the query execution in the BEX analyzer.The problem is like this. When the local user is trying to open a report in BW production system  (which is available and seen in his roles) he is directly entering to

  • Duct Fabrication Scenario mapping in PP

    Dear All, I am relatively new to PP module. We have a little pecular scenario in the project, I do not know can it be possible in SAP. Just go through & suggest. They have a Project for AC System- It has supply of AC Units, Electrical Panel, Ducting

  • CS 6 Gradient Panel stopped functioning

    CS 6 iMac Late 2013 The Gradient Panel seems to have a bug on my iMac but works fine on my MacBook Air. Make a thing and give it a fill of the black to white gradient. As soon as I click on the black (right) stop & move it, the whole gradient line di

  • File path saves last folder option

    Alrighty folks, Is there a way to make the filepath the last file location accessed as the start path when the icon is clicked in real time? (instead of having to find the folder again every time and without changing the start path every time?)