Textarea clipping

Since I updated to latest AIR 3.9 beta the leftmost part of the text in spark TextAreas get clipped on iOS7 (Android is OK). Just a couple of pixels but bad enough. It looked fine in 3.8.
The skin I've used are both the mobile.TextAreaSkin and the StageTextAreaSkin (same problem). Anyone else has this problem?
Could it be worked around in a custom skin?
Unfortunately this seems to still be the case with the AIR 3.9 release version.

As the other bug was closed as a duplicate, here is the link to the current one in case anybody else wants to vote:
https://bugbase.adobe.com/index.cfm?event=bug&id=3648239
And, yes, it sucks that something like that could even have made it through testing, let alone into release. This is _FAR_ from being a minor cosmetic issue... It needs to be resolved.

Similar Messages

  • TextArea Clipping in Air 3.9 on iOS7

    I hope someone can help here as this is driving me crazy
    I am using the TextArea mobile component for Flex (yes, I know that it is Apache now, but someone on here hopefully can help!) and using it in the most vanilla way, but whatever I do I get clipped text at the start (see attached image)
      <s:TextArea id="text" width="100%" height="260" />
    I have tried standard system fonts, declaring the skins specifically such as
      <s:TextArea id="text" width="100%" height="260" skinClass="spark.skins.mobile.StageTextAreaSkin"  />
      <s:TextArea id="text" width="100%" height="260" skinClass="spark.skins.mobile.TextAreaSkin"  />
    But it all has the same effect - the far left of the text is clipped. Now, I am sure it is something in the skin but I cannot track it down, and it does not happen in the TextInput skin, but TextArea is far more complex due to scrolling etc. I have actually also tried using the StageText object directly in ActionScript but it has the same issue, so I have started to think that it is perhaps something in Air. I am using the latest Air 3.9 beta and Flex 4.10 on iOS7, although it is on iOS 6 too.
    Can anyone shed some light on this? It is driving me nuts!
    Thanks

    I have used the actionscript code without using any flex components.
    You can try the following code snippet:
        import flash.display.Sprite;
        import flash.geom.Rectangle;
        import flash.text.StageText;
        import flash.text.StageTextInitOptions;
        import flash.text.TextFormatAlign;
        public class StageText_align extends Sprite
            private var nativeText:StageText;
            public function StageText_align() {
                nativeText = new StageText(new StageTextInitOptions(true));
                nativeText.stage = this.stage;
                nativeText.viewPort = new Rectangle(30, 37, 200, 106);
                nativeText.textAlign = TextFormatAlign.RIGHT;
                nativeText.text = "Stage text right aligned";
    -Pranali

  • TextArea link inside a move clip

    The actionscript calls textArea to have a rollover action and
    then link to another site when released. However when placed inside
    a movie clip the rollOver works but not the link. I need someone to
    tell me what syntax I'm missing. It's gotta be possible.
    Please help.
    Here's the Code:
    var feature_styles:TextField.StyleSheet = new
    TextField.StyleSheet();
    feature_styles.setStyle("backgroundColor", 0x000000);
    feature_styles.setStyle("mainbody", {color: "#333333",
    fontFamily: "FFF Hero", fontSize: "8", display: "inline"});
    feature_styles.setStyle("a:link", {color: "#333333",
    fontFamily: "FFF Hero", fontSize: "8", display: "inline"});
    feature_styles.setStyle("a:hover", {color: "#FF0000"});
    background1_mc.textbox_1.links_1.label.condenseWhite=true;
    background1_mc.textbox_1.links_1.styleSheet = feature_styles;
    background1_mc.textbox_1.links_1.wordWrap = true;
    background1_mc.textbox_1.links_1.html = true;
    background1_mc.textbox_1.links_1.label.selectable=false;
    background1_mc.textbox_1.links_1.editable=false;
    background1_mc.textbox_1.links_1.vScrollPolicy = "off";
    background1_mc.textbox_1.links_1.hScrollPolicy = "off";
    background1_mc.textbox_1.links_1.embedFonts = true;
    background1_mc.textbox_1.links_1.text += "<a
    href=\"Fall08images/downloads/FALLOUT_1600x1200.jpg\"
    target=\"_blank\">1600 x 1200</a><br>";
    _global.styles.TextArea.setStyle("backgroundColor" , "none");
    _global.styles.TextArea.setStyle("borderStyle", "none");
    _global.styles.TextArea.setStyle("borderColor", "none");
    stop();

    Try:
    background1_mc.textbox_1.links_1.htmlText += "<a
    href=\"F...

  • Textarea BitmapData Clips HTMLtext Italic System Font

    When using an italic system font, such as BrushScriptStd.otf (pretty standard on Windows PCs - attached if you don't have it), it renders a capital "B" correctly in the textarea:
    public var letB:String = '<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="BrushScriptStd" SIZE="72" COLOR="#000000" LETTERSPACING="0" KERNING="0">B</FONT></P></TEXTFORMAT>';
    myTextArea.htmlText = letB;
    Looks like this in the flash player in Firefox:
    When I try to create a bitmap image of the TextArea, the edge of the italic "B" that "overhangs" the next character position gets clipped off in the rendered bitmap:
    I used the BitmapData.draw method to generate the bitmap.  I have also tried ImageSnapShot with the same result.
                myTextArea.setStyle("backgroundAlpha", 0.0);
                var myBitmap:BitmapData = new BitmapData(myTextArea.width*1, myTextArea.height*1, true, 0x00000000);
                var m:Matrix = new Matrix();
                m.scale(1, 1);
                myBitmap.draw(myTextArea, m);
                BitmapImageOfB.source = new Bitmap(myBitmap);
    BTW - I need to use system fonts (allow the user to be able to create text with any fonts they have on their hard drive.)  However, I have tried this with embedding the BrushScriptStd font just to see if that was the problem, but embedding did not change anything.
    Is this a bug?  Or am I doing something really wrong?

    You are quite right about the bounding box.  And I can add an extra space, that will allow the portion of the italic character that extends beyond the bounding box to render.  If my project were only that simple.
    I have discovered that adding a space only works if it is in the same font face as the italic letter being clipped. The ultimate project users often compose type with multiple font faces in a single word (kind of the ransom note effect) as part of their type setting. In addition, some of the font faces have exaggerated swashes that span several letters, which would require you to add several spaces, and on either side since descenders in italic typically run forward under the preceding character.
    My application goes further in that I also allow the user to kern / change the space between the letters by using <FONT LETTERSPACING="-5"> in the HTMLtext.  This also results in clipping.
    So far, the only thing I can come up with, which to my mind is a complete hack, is to take the HTMLtext apart letter by letter.  First determine the standard bounding box dimensions so that I can determine the base line and starting line using: measureHTMLtext().ascent etc., as well as the width of both the character and a standard space in that font.  Then I would do as you suggested use a hidden TextField to render each letter padded by spaces and make a bitmap of the single character.  Then I would position the image in another hidden container, positioning based on the calculated baseline, and substracting the inserted padding spaces to determine the proper x and y for the resulting bitmap.  I would keep repeating this until all the letters have been rendered as individual images (talk about your ransom note).  Once all the characters had been captured as bitmap images, I could make a bitmap of the hidden container I layed them all back out in.
    There has got to be a better way.

  • AS fails to identify an image placed in html text via an img tag in a TextArea, while doing so correctly with textField.

    A best-efforts session with identifying, in ActionScript, an
    image placed in a TextArea and identified with id, leads me to
    wonder whether the id attribute is supported.
    I have on disk a jpeg file of the amazom.com logo, a small
    image.
    In a scene, I have a TextArea with instance name
    TextAreaPane, and a Dynamic textField with instance name
    DynamicPane. Both of the html attributes in their properties panes
    are set to true. There is a button onstage with instance name
    "ShowIt".
    If my script reads:
    copyToShow = 'This is one place to see it: <img
    src="D:/Imgs/amazon.jpg" id="nineties"><br>'
    TextAreaPane.text = copyToShow;
    DynamicPane.htmlText = copyToShow;
    ShowIt.onPress = function( )
    trace ("Via TextArea, I can identify: " +
    TextAreaPane.nineties);
    trace ("Via the textField, I can identify: " +
    DynamicPane.nineties);
    After the movie loads both in the Player and in the Windows
    Projector, the image and text show correctly in both text panes.
    When I hit the button, I get:
    Via TextArea, I can identify: undefined
    Via the textField, I can identify:
    _level0.DynamicPane.nineties
    Hitting the button after the scene starts playing allows the
    very short asynchronous access time to elapse, so this isn't a case
    of loading a textfield in one line of script, and then in the next
    line expecting for ActionScript to have access to it.
    Of course for the Projector I send these statements to a
    textField on stage to see what trace gives me, and they're the
    same.
    I tried placing the two fields inside a movie clip (and
    adding that movie clip instance name to the head of their dot
    addresses), wondering if being a sub-object of a movie clip would
    help, but the same results -- the textField handles it, while
    TextArea doesn't.
    ... Does anyone have a means of getting better results?

    Tim,
    Many thanks for the clue and the amendments -- once I had
    finished a late night of it, a cleanup chore unearthed a magazine
    that's had me engrossed for a day and a half and produced the
    appearance of ignoring your replies; actually the computers have
    been off.
    I won't be back to it for another few hours at least, but
    wanted to acknowledge the support; the hints in your message look
    like they'll be the beginning of another day at it; I'll send word
    when there's some kind of results.
    I sent the same message to Adobe in their LiveDocs section, a
    forum where they variously now tolerate people saying 'How d'ya do
    this', 'How d'ya do
    that', then now reply that that isn't the right forum for
    how-to's, but rather for documentation problems. Well, since the
    intro to TextArea says that it supports all the html that Flash
    does, I added in the message that the inability to do the
    dot-addressing-image-access that they explain under id is a
    discrepancy, so qualifies to post even if they're in their
    rule-adhering mood, but it hasn't appeared yet -- either under
    review or discarded.
    The reason I'd chosen TextArea was that the text column will
    sometimes be long, and it would be nice to get the overage out of
    sight by having a window that shows only the window's worth, hiding
    what's above and below. (As you probably know, since attempting to
    cover text in a dynamic field with a mask causes all of it to
    disappear, that isn't an option.) The other night I felt I'd hit an
    impassable wall with Flash; in resigning myself to use the Dynamic
    Text field, I decided to cover the text overage with a translucent
    screen of color, and be it due to having no choice that it may, the
    desaturated stretches of text above and below would add ornament
    and atmosphere to the screen, a faintly techno note. Since there
    will often two to four of these scrolling fields going, an
    intricate, happenstance pattern would develop that might turn out
    to be nice.
    But if the avenue you've opened starts working, I'll have my
    choice between the two objects.
    Quantainne

  • Cut,copy,paste in textarea

    JTextArea has predefined methods for cut,copy and paste. |||ly how do i implement cut,copy &paste in TextArea.

    hope this code sample helps.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.datatransfer.*;
    public class ClipboardTest extends Frame implements ClipboardOwner{
         private Clipboard clipboard;
         private TextField copyFrom;
         private TextArea copyTo;
         private Button copy, paste;
         ClipboardTest(){
              setLayout( new FlowLayout());
              clipboard = Toolkit.getDefaultToolkit ().getSystemClipboard();
              copyFrom = new TextField(20);     
              copyTo     = new TextArea(3, 20);     
              copy = new Button("Copy");
              paste     = new Button("Paste");
              add(copyFrom); add(copyTo); add(copy); add(paste);
              copy.addActionListener( new CopyListener());     
              paste.addActionListener( new PasteListener());
              addWindowListener( new WindowAdapter(){     
                   public void windowClosing(WindowEvent we){
                        dispose();
                        System.exit(0);
              setSize(200,200);     
              show();
         class CopyListener implements ActionListener{
              public void actionPerformed(ActionEvent ae){     
                   StringSelection contents = new StringSelection(copyFrom.getSelectedText());
                   clipboard.setContents(contents, ClipboardTest.this);
         class PasteListener implements ActionListener{     
              public void actionPerformed(ActionEvent ae){     
                   Transferable contents = clipboard.getContents(this);
                   if((contents != null) && (contents.isDataFlavorSupported(DataFlavor.stringFlavor))){
                        try{     
                             String string;
                             string = (String) contents.getTransferData(DataFlavor.stringFlavor);
                             copyTo.append(string);
                        }catch(Exception e){
                             e.printStackTrace();     
         public void lostOwnership(Clipboard clip, Transferable transferable){
                   System.out.println("Lost ownership");
         public static void main (String args[]) {
              ClipboardTest clipBoardTest = new ClipboardTest();
    try out this code sample and see if works for you.
    Pradeep

  • TextArea style won't print

    I have set border and background styles on all my textarea
    components with
    _global.styles.TextArea.setStyle("backgroundColor", "red");
    _global.styles.TextArea.setStyle("borderColor", "blue");
    and everything looks fine before I try to print it. The
    backgrounds are red and the borders are blue.
    But when I print this movie clip using PrintJob all these
    styles
    don't print.
    Does anyone know why and what the solution is?
    Thanks

    Hi @SportNSound,
    Thank you for visiting the HP Support Forums!  I see you are running into some print quality issues on your HP Photosmart 6510 you are unable to print in black ink.
    I would like you to continue troubleshooting here: Printer Does Not Print Black Ink or Color Ink, or Prints Blank Pages, I understand you may have done some of these steps already but I need you to complete all steps in order to resolve the missing black issue you are experiencing.
    Please note: There are three printhead cleaning stages. Complete all three stages if necessary. If the printhead is badly clogged, it might require another cleaning cycle. If so, wait 30 minutes after the last (third) cleaning stage to start the first stage of the cleaning process over again.
    If you are still unable to print in black ink, I suspect the issue may be the printer and not the cartridge so the reset is not going to help in this case.
    I hope to hear from you soon.
    Thanks,
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • TextArea component - not giving scroll bar

    I'm using Flash CS3, exporting to Flash Player 7.0, using
    ActionScript 2.0.
    I have a TextArea component in a movie clip that is not
    showing the vertical scroll bar when there is too much text to
    display in the defined area.
    In fact the scroll bar doesn't even show if I set the
    vScrollPolicy to true....
    Another programmer in my group is also using - in another
    movie clip in the same fla - the UIScrollBar component attached to
    a dynamic text field - that worked at one point then now is not
    working.
    Is there some conflict in using these components?
    Any ideas?
    thanks in advance,
    Lisa

    Make sure that you have the ScrollBar component also in your
    library. TextArea needs it I believe.

  • Transparent TextArea Background not text

    i have a textarea with htmltext written...
    now my requirement is that i need to make the background of textarea semi-transparent so that text could be read easily.
    the only problem is that setting the alpha property makes text transparent too.
    i need only the background to be transparent ....
    pls somebody help me.

    Select the text, hit F8 to turn it into a new MovieClip symbol. Now, inside the new clip, add a layer behind the text. In that layer place a shape - which you also turn into a movieClip and then you can set it's alpha.
    On stage you just refer to the text inside of the clip to set it, rather than the text itself:
    myClip.theText.text = "Hello World";
    If you give the alpha shape behind the text an instance name you can then set the alpha independently too:
    myClip.myShape.alpha = .5;

  • How can I slow down the music of my clip?

    How can I slow down the music of my clip?

    Try using the following code after each time you write to the TextArea.  I am assuming you are using a TextArea component and are trying to control the position of where it is scrolled to when it refreshes with the chat data.
    "ta" is the instance name of the TextArea
    ta.verticalScrollPosition = ta.maxVerticalScrollPosition;

  • Movie clip RemoveEventListener isn't working - AS3

    Friends,
    what seems to be a pretty straightforward code doesn't seem to work. I have a movieclip on the stage( this is on the second frame while the first one is the login screen). On this movie clip i load a textarea.
    When the screen goes from 1 to 2, i setup a zoom listener on the movie clip. Once the user initiates a zoom on the movie clip, i add two move event listeners (mouse down and up) to drag the movie clip. After all is done, i restore the movie clip to it's original position. In this restore code, i remove the mouse down and up events. But i don't think the remove event listener is working as i could still drag the clip(mouse down and up events are still active).
    What could be the issue ? Am i missing something here ?
    Thanks

    This is onZoom();
    public function onZoom(event:TransformGestureEvent):void
                // When the stage throws the gesture zoom event, enlarge the stage.
                event.stopImmediatePropagation();
                scStage.scaleX *= event.scaleX;
                scStage.scaleY = scStage.scaleX;
                if ( ! scStage.hasEventListener(MouseEvent.MOUSE_DOWN) ){
                    scStage.addEventListener(MouseEvent.MOUSE_DOWN, onDown);
                if ( ! scStage.hasEventListener(MouseEvent.MOUSE_UP) ){
                    scStage.addEventListener(MouseEvent.MOUSE_UP, onUp);
    and this is restore code - both are in the same frame;
    public function onRestore(event:MouseEvent):void{
                scStage.width = mwidth;
                scStage.height = mheight;
                scStage.x = mx;
                scStage.y = my;
                scStage.removeEventListener(MouseEvent.MOUSE_DOWN, onRemove);
                scStage.removeEventListener(MouseEvent.MOUSE_UP, onRemove);
    scStage is the movie clip.
    however, i solved this problem in a different way as the eventlistener removal didn't work. if the component has been restored to the original position, i take appropriate action. thanks for your time.

  • Scrollbar offset of a TextArea

    Hi, I'm using a 1.1 java.awt.TextArea. I want to draw a 'wrap-margin' line after 80 characters. Therefor I use the following code (and also set the font to a mono-spaced one, eg courier):
    noteText = new TextArea() {
                public int wrapMargin = 80;
                private FontMetrics fm;
                private int charWidth;
                private int x;
                public void setFont(Font f) {
                    super.setFont(f);
                    fm = getFontMetrics(getFont());
                    charWidth = fm.charWidth('m');
                    x = charWidth * wrapMargin;
                public void paint(Graphics g) {
                    super.paint(g);
                    g.setColor(Color.blue);
                    g.drawLine(x,0,x,getSize().height);
    };This works quite well when the TextArea uses no scrollbars. But when scrollbars appear and you actually use them, the clipping range of the TextArea moves, causing a repaint to draw the wrap-margin-line with a wrong offset. What I need is the offset of the TextArea when scrollbars are used. Is this somehow possible?
    regards,
    Frank
    <sorry for crossposting>

    You might have to override method public void paint(Graphics) of TextComponent,
    then create your own TextArea extending this modified TextComponent class;
    All you need is to copy the source code of TextArea and TextComponent, and do
    some minor modifications.

  • Clip Board Problem

    Hey
    Thanks for any help i got with the my last problem. I have incoporated the clipboard into the below code. As far as i can gather the code for the clip board is correct as i have it working in simple Jframe and it is working right.
    I just cant get it to wotk on the code below, i had other methods in the action preformed, but i've taken them out so its easier to read. If any one can see the problem it would be great. The only error that i am getting is for the dimension size, but it jframe runs fine even with that.
    Thanks
    Ambrose
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.datatransfer.*;
    public class Sending_Mail extends JFrame implements ActionListener, ClipboardOwner
        private JButton b2;
        private JButton b1;
        private JTextArea ta1;
        private JLabel lb1;
        private JTextArea ta2;
        private JLabel lb2;
        private JTextArea ta3;
        private JLabel lb3;
        private JTextField t1;
        private JLabel lb4;
        private JLabel lb5;
        private JTextField t2;
        private JLabel lb6;
        private JTextField t3;
         private JComboBox cb1;
         /*int rows = 20;
        int cols = 30;
        textarea = new JTextArea("Initial Text", rows, cols);*/
         public String a = "Router A";
        public String b = "Router B";
        public String a_b = "A-B = 20 \nA-D-B = 30 \nA-C-B = 40 \nA-C-D-B = 50 \nA-D-E-C-B = 60";
        public String b_a = "B-A / B-C-A / B-D-A / B-D-E-C-A / B-C-D-E-A";
        public int a_b1 = 100;
        public int b_a1 = 200;
        public int A_B = 100;
        public int A_D_B = 300;
        public int A_C_B = 250;
        public int A_C_D_B = 400;
        public int A_D_E_C_B = 500;
        public Sending_Mail() {
            //construct components
            String[] jcomp7Items = {"Ireland", "IP 1", "IP 2", "IP 3", "IP 4", "IP 5", "America", "IP1", "IP2", "IP3"};
            b2 = new JButton ("Exit Application");
            b1 = new JButton ("Main Menu");
            ta1 = new JTextArea (3,10);
            lb1 = new JLabel (" All Available Routes");
            //Line Wrap
            ta2 = new JTextArea ("Some\nInitial\nText", 3, 10);
            ta2.setLineWrap(true);
            lb2 = new JLabel ("  Progress of E-mail");
            ta3 = new JTextArea (3,10);
            lb3 = new JLabel ("  User Information");
            t1 = new JTextField (5);
            lb4 = new JLabel ("  E-mail Size");
            lb5 = new JLabel ("  Sender Router");
            t2 = new JTextField (5);
            lb6 = new JLabel ("  Destination Router");
            t3 = new JTextField (5);
            //set components properties
            b2.setToolTipText ("Allows the User to exit the Application");
            b1.setToolTipText ("Returns the User to the Main Menu");
            ta1.setToolTipText ("Shows a List of all Available Routes");
            ta2.setToolTipText ("Progress of Routing Algorthnm");
            ta3.setToolTipText ("Tells the User whats Going on");
            t1.setToolTipText ("Shows the size of the E-Mail Created Earlier");
            t3.setToolTipText ("The Destination of the Router");
            //adjust size and set layout
            setPreferredSize (new Dimension (750, 480));
            setLayout (null);
            //add components
            add (b2);
            add (b1);
            add (ta1);
            add (lb1);
            add (ta2);
            add (lb2);
            add (ta3);
            add (lb3);
            add (t1);
            add (lb4);
            add (lb5);
            add (t2);
            add (lb6);
            add (t3);
            //add (cb1);
            //set component bounds (only needed by Absolute Positioning)
            //Exit Application
            b2.setBounds (255, 405, 140, 20);
            //Main Menu
            b1.setBounds (55, 405, 140, 20);
            ta1.setBounds (360, 55, 150, 255);
            lb1.setBounds (360, 20, 150, 25);
            ta2.setBounds (185, 55, 150, 255);
            lb2.setBounds (185, 20, 150, 25);
            ta3.setBounds (10, 55, 150, 255);
            lb3.setBounds (10, 20, 150, 25);
            t1.setBounds (535, 55, 100, 25);
            lb4.setBounds (530, 20, 95, 25);
            lb5.setBounds (530, 100, 130, 25);
            t2.setBounds (535, 130, 100, 25);
            lb6.setBounds (535, 160, 125, 25);
            t3.setBounds (535, 195, 100, 25);
            //cb1.setBounds(25,600,95,20);
              b1.addActionListener(this);
              b2.addActionListener(this);
              t3.addActionListener(this);
              /*b4.addActionListener(this);
              t5.addActionListener(this);*/
         public void lostOwnership(Clipboard cb, Transferable tr) {};
    public void actionPerformed(ActionEvent event)
              String cliptext = t1.getText();
              Toolkit tk = this.getToolkit();
              Clipboard cb = tk.getSystemClipboard();
              cb.setContents(new StringSelection(cliptext), this);
         }  //  public void actionPerformed()
        public static void main (String[] args) {
            Sending_Mail application = new Sending_Mail();
          application.setDefaultCloseOperation(
             JFrame.EXIT_ON_CLOSE );
            /*JFrame frame = new JFrame ("Sending_Mail");
            frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
            frame.getContentPane().add (new Sending_Mail());
            frame.pack();
            frame.setVisible (true);*/
    }

    Cheers, its just i wanted it to work using the mouse as i do in this simple example below
    import java.awt.*;
    import java.awt.datatransfer.*;
    import java.awt.event.*;
    public class ClipTest extends Frame implements
                        ActionListener, ClipboardOwner
         TextField tf = new TextField(20);
         public void actionPerformed(ActionEvent event)
              String cliptext = tf.getText();
              Toolkit tk = this.getToolkit();
              Clipboard cb = tk.getSystemClipboard();
              cb.setContents(new StringSelection(cliptext), this);
         }  //  public void actionPerformed()
         public void lostOwnership(Clipboard cb, Transferable tr) {};
         public static void main(String[] args)
              ClipTest ct = new ClipTest();
              ct.setLayout(new FlowLayout());
              ct.tf.addActionListener(ct);
              ct.add(ct.tf);
              ct.setSize(400, 300);
              ct.setVisible(true);
         }  //  public static void main()
    }[\code]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • TextArea cause removeMovieClip to stop working

    Hello all,
    I can't find any documentation on this bug. So I am wondering
    if anyone else has ran into this problem.
    Basically a working line of code:
    removeMovieClip(clip_mc);
    stops working as soon as the textArea component is a) on the
    stage or b) just in the library.
    very odd. well, I don't expect many of you have run into
    this, but its worth a shot anyways.
    cheers.

    My current workaround is to just use unloadMovie, which in
    the scenario im dealing with will work ok.
    But I encourage anyone to recreate this interesting occurance
    by following these steps:
    1. New blank document
    2. Draw a cube on the stage, convert to a movie clip (called
    "cube_mc"), delete it.
    3. in the Library, export your cube movie clip for
    actionscript.
    4. put this code on frame 1:
    _root.createEmptyMovieClip("newClip",_root.getNextHighestDepth());
    newClip.attachMovie("cube_mc","newCube",newClip.getNextHighestDepth());
    removeMovieClip(newClip);
    5. This code will work (i.e. the cube will be loaded, and
    then removed)
    6. Add a component to your library.
    7. The code now ceases to work (at least for me)

  • Partner application and web clipping.

    Hi All,
    I am trying to add an external application (say my.yahoo.com) to a webclipping and its throwing the below error in the application log.
    WC-517 : SSL handshake failed with the url ...
    I have checked the file ca-bundle.crt and the certificates are in place. Does anybody know how to go about debugging this problem as I am quite new to portals and at my wits end to solve it.
    Also I would be greatful if anybody can suggest me the steps on adding an Apex application configured as partner application with SSO authentication to a web clipping.There seems to be little or no-documentation at all in this regard(as far as my search goes).
    Thanks in advance
    -Venkat

    I finally got it working by VERY CAREFULLY reading the instructions in the install.txt document in the SSO SDK package. You have to set up the partner application with a new schema in the login server database, and run the regapp.sql script AFTER editing it to insert data from the Login Server Partner Application admin screen. After you register the partner app in Portal, it gives you some info (site token, listener token, encryption key, etc). You have to MANUALLY copy these and paste them into the regapp.sql script, then run the script in the partner app schema. Make sure you don't confuse capital I with numeral 1 (like I did, since Oracle so nicely uses a non-serif font where you can not tell the difference).
    Also make sure you copy the exact values for these parameters into your code when you use the SSOEnabler class. The listener token was very confusing since different documents appear to disagree on whether it should include the partner app name or not. It does require the partner app name:
    app-name:hostname:port
    hostname and port are for the web server that is handling http requests for the login server (usually your main portal web server).
    John H.

Maybe you are looking for

  • Solution Manager Urgent Help

    Hi Can u pls guide me where can I get documentation regarding the use of Solution manager. Eg. creating a support notification and responding the notification by the helpdesk/processor until the issue reported is closed. Thanx in Advance

  • FCP only shares to Blu-ray at 720p

    I am trying to make a blu-ray disk of high school basketball using Final Cut Pro 10.1. the video is recorded with a Panasonic HDC-TM700 shooting 1080p at 60fps.  During editing FCP X shows both the resolution and the frame rate to be that of the impo

  • TS1702 After updating to iOS 6, apps stopped installations and showing 'waiting'

    After updating to iOS 6, apps stopped installations and showing 'waiting' I can't delete and install again because there are almost 20 applications like this. iPad 2 on iOS 6 I tried by restarting iPad. Still it's not working. I have almost 20 applic

  • Internet setup

    I'm trying to setup internet access on Solaris 10. I followed the instructions from several posts but am still unable to get access. Here is what I've done so far. - Added the nameserver IP's to resolv.conf - copied nsswitch.dns to nsswitch.conf - en

  • Database connectivity

    Dear all, Iam doing my project with database connectivity . the following error is occuring  frequently or some time once in 2 or 3 days . Error -2147467259 occured at DB Tools Open Connec (String).vi --> DB Tools Open Connec (Path ).vi -->OQC:vi-->i