TextField.setTextFormat () does not?

Hello.

I try to get setTextFormat works, but I can't seem to make it work.  The textfield appears and the text I want, however, has not changed the police.

Here is my code:

package {}

import flash.display.MovieClip;
import flash.text.TextField;
import flash.text.TextFormat;

Photography/public class extends MovieClip {}

var pictureName:TextField = new TextField;
var pictureNameFormat:TextFormat;

public void Pictures(aName:String) {}

pictureNameFormat = new TextFormat();

pictureNameFormat.font = "Verdana";

pictureNameFormat.align = 'center ';

pictureNameFormat.size = '48 ';

pictureName.setTextFormat (pictureNameFormat)

pictureName.x = 500;

pictureName.y = 500;

pictureName.text = Anom;

addChild (pictureName);

}

}

}

What I am doing wrong?

Thank you in advance.

Edit: I forgot a line referring to the way in which the text is changed himself.

Edit 2: I forgot to add where I created the instance of the textfield object and it has been added.

:

import flash.display.MovieClip;
import flash.text. *;

package {}
   
Photography/public class extends MovieClip {}

var pictureName:TextField;
var pictureNameFormat:TextFormat;
var verdana: make;
 
public void Pictures(aName:String) {}

pictureNameFormat = new TextFormat();
Nom_image = new TextField();
Verdana = new VerdanaClass();

pictureNameFormat.font = verdana.fontName;
pictureNameFormat.align = 'center ';
pictureNameFormat.size = 48;
pictureName.embedFonts = true;
          pictureName.defaultTextFormat = pictureNameFormat;
pictureName.x = 500;
pictureName.y = 500;
pictureName.text = Anom;

addChild (pictureName);

}

}

}

Tags: Adobe Animate

Similar Questions

  • textField.onChanged does not

    Hello

    I do some tests and I try to have a change in dynamic text field when another field of text has changed. I have a set up button that will change a dynamic text field and works well when I click on the button. However, when the textfield object that replaces the button click changes I want this event to report another text field to change. It does not work. Here is the code I should change the text field when other changes the button text field, click.

    mainElement_txt.onChanged = function() {}
    element1_txt. Text = "Buzzy";
    };
    element1_txt. OnChanged = function() {}
    element1_txt. Text = "Buzzy";
    };
    mainElement_txt.addListener (element1_txt);

    Any ideas?

    Thank you
    Dano

    If ns has answered your question ignore it. otherwise, what you are trying to accomplish?

  • TextField Stylesheet does not work?

    Hello

    I guess that this one i easy, but I can't know what's the problem:

    I have a TextField that styleSheet I want change during execution.

    To test, I created a new. FLA put a Textfield on stage, assign the dynamics, baptized mytxt and added a few AS3:

    import flash.text.StyleSheet;
    import flash.text.TextField;
    
    var _style = new StyleSheet();
    _style.parseCSS('p{color:#ff0000;}');
    
    mytxt.styleSheet = _style;
    

    Well - nothing has changed I always have black text by default when I publish the swf file.

    What Miss me?

    My goals:

    -Define a TextField in Flash IDE

    -set the font, color, weight, size etc.

    -apply a style sheet that contains colors for links

    Thanks, Booya

    the tag after the p tag, the tag-out will replace your p tag.  If you change the order of the p tags and fonts, then your p tag replaces color in the police tag.

  • Incorporate the classic fonts TextField does not work, even with applied TextFormat

    Hello.

    I created an article which extends MovieClip and includes a TextField where TI where it will display the name of the element. I want to join the police but I have a problem because the text does not appear.

    I read the description IncorporerPolices (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/TextField.ht ml #embedFonts) and I formatted the TextField via a TextFormat instance with my chosen font.

    My code:

    import flash.display.MovieClip;

    import flash.text.AntiAliasType;

    import flash.text.TextField;

    import flash.text.TextFieldAutoSize;

    import flash.text.TextFormat;

    SerializableAttribute public class point extends MovieClip {}

    private var _sName:String = "";

    private var _txtName:TextField = new TextField();

    private var _nColor:uint = 0xAACC00;

    private var _tfText:TextFormat = new TextFormat();

    public void Item(s:String) {}

    also tried to integrate here, but got the same result

    s = _txtName.text;

    _txtName.AutoSize = TextFieldAutoSize.RIGHT;

    _tfText.font = "Helvetica";

    _tfText.size = 30;

    _tfText.color = _nColor;

    _txtName.setTextFormat (_tfText);

    _txtName.antiAliasType = AntiAliasType.ADVANCED;

    _txtName.embedFonts = true;

    addChild (_txtName);

    }

    If I remove the part to incorporate the text shows correctly. I am at a loss, what order of the elements of what I need to use to embed fonts properly?

    Thank you.

    1. you should have a font in your library.

    2. it must have a class name (for example, HelveticaClass)

    3. you should use something like:

    helvetica var: make = new HelveticaClass();

    _tfText.font = Helvetica.FontName;

  • TextField, submitted using c ++ does not

    Hi all

    I am trying to connect to the TextInputProperties::submitted(bb::cascades::AbstractTextControl*) signal, but in fact it does not. This is my code:

    TextField *inputField = uiPage->findChild("damageInput");
        QObject::connect(inputField->input(),
                SIGNAL(submitted(bb::cascades::AbstractTextControl*)),
                this,
                SLOT(onSubmitted(bb::cascades::AbstractTextControl*)));
        inputField->input()->setKeyLayout(KeyLayout::Number);
    

    I see no error on the console. In any case my events onSubmitted method is never called, even if it is declared as a crack:

    public slots:
        void addClicked();
        void subtractClicked();
        void onDialogFinished(bb::system::SystemUiResult::Type );
        void onSubmit(bb::cascades::AbstractTextControl *);
    

    I did something wrong?

    The only mistake I found on the log of the device is that:

    Dec 09 11:10:54.807 com.example.MagicManager.testDev_agicManageref1201b1.237248764... 0 csuifw_error ERROR ClientObject::removeAttributeListener() 15555 - recorded none of these headphones attribute on object

    But I don't know if it is related to my problem. Any idea?

    In theory, it is not strictly necessary,

    I tried to add the name with the same result.

    In any case, I found the problem, whas my fault.

    in fact in the connection, I stated as a crack the onSubmitted method events:

    QObject::connect(inputField->input(),
                SIGNAL(submitted(bb::cascades::AbstractTextControl*)),
                this,
                SLOT(onSubmitted(bb::cascades::AbstractTextControl*)));
    

    But the crack in the class's onSubmit:

    void onSubmit(bb::cascades::AbstractTextControl *submitter);
    

    Then, to fix this problem, solved the problem. Unfortunately this kind of errors is not recognized by the compiler.

  • dynamic textfield var score does not not in facebook post

    dynamic textfield var score does not not in facebook post. Rather it showing "OBJECT TEXT FEILD.

    import flash.events.Event;

    btnFB.addEventListener (MouseEvent.CLICK, gotoFB);

    function gotoFB(e:Event)

    {

    var url: String = " " " https://www.Facebook.com/Dialog/Feed ?" +

    "20app_id % = 1487500124800564% 20 & display = popup +.

    "& caption = I % 20just % 20scored % 20 ' + score +

    "& link = graphicscoder.org +.

    "& redirect_uri = . https://www.Facebook.com/ "; "

    navigateToURL (new URLRequest (url), "_blank");

    }

    score.jpg

    you assign something (for example, note) to be instead of the text property of the textfield textfield.

  • RT-20372 said backspace does not work for TextField, but if you open the new window it works

    Hello

    See this bug (registration required) = "TextField doesn't consume backspace and delete key events.

    I use this

    • Win 7/64-bit
    • last 7 + updates java to update
    • Kepler Eclipse + efxclipse

    I'm a developer of this application from https://github.com/Johnmalc/BankApp , I encountered the problem that shouldn't work. For me it works and I don't know why?

    The said bug that backspace does NOT work in the textfield. But in my case If I open a new window (concert at the scene) and then back in the new window works fine. This is my example of this controller class that is responsible for such behavior.

    class Controller {
    @FXML
        private TextField AccountNumberField;
    .......
    
    @FXML
        void initialize() {
    AccountNumberMethod();
    .........
    }
    @FXML
        void AccountNumberMethod() {
            AccountNumberField.addEventFilter(KeyEvent.KEY_PRESSED, new EventHandler<KeyEvent>() {
    
                        @Override
                        public void handle(KeyEvent event) {
                            if (event.getCode() == KeyCode.ENTER) {
                                int AccountNumber = Integer.parseInt(AccountNumberField.getText());
                                ac.setAccountNumber(AccountNumber);
                            }
                        }
                    });
        }
    }
    
    
    
    
    

    And it is the class where I call class Conroller

    @FXML
         void NewAccount() {
              NewAccount.setOnAction(new EventHandler<ActionEvent>() { //NewAccount is button
    
                   @Override
                   public void handle(ActionEvent event) {
                        Parent root;
                        try {
                             root = FXMLLoader.load(getClass().getResource("/res/account.fxml"));
                             Stage stage = new Stage();
                             stage.setScene(new Scene(new Group(root)));
                             stage.show();
                        } catch (IOException e) {
                             System.out.println("error");
                        }
                        event.consume();
                   }
              });
         }

    So my question: which is on purpose or it is a bug that should be reported.

    You can also see my 3 files of the application here https://github.com/Johnmalc/BankApp/tree/master/src/application

    I have prepared a file zip-eclipse-so you can download it and help me as soon as possible.

    https://www.dropbox.com/s/5lxzdrg19c399q7/TestApp.zip

    Thank you. Ask me more if needed.

    @malcjohn

    Well, that said, in your controller, you event filters that consume all events events KEY_PRESSED on text fields. So it is little surprise that the text field does not have to receive some key events. It is not at all clear to me why you did it; These event filters treat only enter anyway, so why not simply manipulate the ACTION_EVENT on these controls. (If I understand it, the key events that generate text characters are managed by listeners for KEY_TYPED text fields, while for non-text characters key events are handled by event listeners KEY_PRESSED. Which is why you normally receive the regular keys.)

    Your event management is extremely complicated anyway. You register methods in the FXML to manage events, but the methods themselves define the event handler, instead of having just the event handling code. Then, you call these methods manually from the method initialize anyway. You seem to have yourself confused about management of the events of JavaFX. You probably want to read the tutorial that explains how to manage the events just by using the code Java and then read the section "add rows to the table" in the FXML tutorial to see how to save FXML event handlers. You currently have some weird hybrid of the two techniques, which is not what you think it does.

  • TextField does not appear if the parent is a child?

    Hello!

    I am writing a new framework, but I encountered a strange bug. Whenever I have add a class as a child to my main sprite, it does not display the class TextField. If I add it as a child of the stage it will display.

    Main.As (emphasis as Java)

    spirea = new World(this.stage);
                                    spirea.addChild(new LoginForm(spirea));
    

    LoginForm.as

    public class LoginForm extends Sprite
              {
                        public var usernameField:TextField;
                        public var passwordField:TextField;
    
                        public function LoginForm(w:World) 
                        {
                                  usernameField = new TextField;
                                  usernameField.x = 200;
                                  usernameField.y = 50;
                                  usernameField.width = 200;
                                  usernameField.height = 35;
                                  usernameField.border = true;
                                  usernameField.borderColor = 0x000000;
                                  usernameField.type = TextFieldType.INPUT;
                                  addChild(usernameField);
                        }
    
              }
    

    World is an extension of the Sprite with a shadow bitmap added for decoration. It is a constant throughout the game, as it does not disappear. This code does not work. If I do not have a child of spirea, it will work fine. However, if I do w.addChild (usernameField); in LoginForm.as, it does not work. Nor is a combination of spirea.addChild (new LoginForm (spirea)); in Main.as and w.addChild (usernameField);

    It's just the nature of the TextField or I'm doing something very wrong?

    Yes, you must add spirea to the display list, so that its children are visible.

  • focus on a TextField... does not work?

    Why is it not possible to make a setSelection on a textfield in Actionscript 3.0?

    If you draw a dynamic textfield and call it is idintifier samle_txt and I would put these
    lines of code:

    sample_txt. Text = "Hello World";

    sample_txt.setSelection (2.4);

    It should work? or what about the setFocus? It does not work too.

    Anyone have any idea why it does'nt does not work?

    development is a property of the stage, is not a method:

    internship. Focus = yourTextField;

  • RTL language does not work in the textfield in JavaFx

    RTL languages such as Arabic - Persian and... to work properly in the controller to swing but it does not work properly in javaFx

    I'm not sure that this problem check out javaFx or scene generator but actually, I chose javaFx and I even like it and I have my application in javaFx desktop but I need supports my mother tongue

    I made a video to illustrate better what happened I say it does not work properly maybe it can help for developers to solve this problem

    you can see the video here: http://www.YouTube.com/watch?v=d3COGIiBBHc

    as you can see in the video, you can write Persian in swing a text without text input select problem, delete, add, but in contorller textinput in javaFx makes empty space while you type or select false move or put the wrong place when clicking on a place and you want to add a text

    RTL is unfortunately not supported in FX 2.x for JDK 7. I suggest trying the developer preview of SceneBuilder 2.0 and JDK 8 builds instead. JDK 8 supports BiDi text and updated RTL GUI layout.

  • using innerHTML to change the values of a textfield does not?

    I was wondering why this line is not working on a text field...

    document.getElementById('P1_Name').innerHTML = "invalid error";

    If P1_Name is a Text_field it does not work...

    but

    If P1_Name is a component TextArea, it works...

    No idea how to get around this problem...


    * I'll probably use pl sql, but just wonder why this will not work until this is strange for me.

    PandaOracle wrote:
    I was wondering why this line is not working on a text field...

    document.getElementById('P1_Name').innerHTML = "invalid error";

    If P1_Name is a Text_field it does not work...

    The content model for "text fields" (input type = 'text' elements) is 'empty', i.e. the element is not a container for other content. Like innerHTML property that is the content of an element - nodes HTML and the text it contains, it is not valid for the input elements.

    If P1_Name is a component TextArea, it works...

    Content model of "text boxes" (textarea elements) is 'text': the element is a container for text nodes. So its innerHTML property can be used to get and set the content of this text.

    No idea how to get around this problem...

    input elements have a value attribute rather than the text content. The property equivalent value can be used to get and set this in JavaScript:

    document.getElementById('P1_Name').value = 'Error not valid';
    
  • Pie chart does not

    Hello

    I have a file of class LoadXML his does not work can someone help me in that.

    ActionScript code:
    package
    {
         import flash.display.MovieClip;
         import fl.transitions.Tween;
         import fl.transitions.easing.Strong;
         import flash.display.Sprite;
         import flash.text.TextField;
         import flash.text.TextFormat;
         import flash.text.TextFieldAutoSize;
         import flash.net.URLLoader;
         import flash.net.URLRequest;
         import flash.events.Event;
         import flash.filters.DropShadowFilter;
         
         public class PieChart extends MovieClip
         {
              private var piechart:MovieClip = new MovieClip();
              private var titles:Array = new Array();
              private var values:Array = new Array();
              private var xmlFile:XML;
              private var pie:Number;
              private var radiansSoFar:Number = 0;
              private var urlLoader:URLLoader = new URLLoader();
              private var tween:Tween;
              private var format:TextFormat = new TextFormat();
              
              
              public function PieChart():void
              {
                   /*Text Format*/
                   format.color = 132744;
                   format.align = "left";
                   format.font = "Century Gothic";
                   format.size = 11;
                   
                   LoadXML();
                   buildPieChart(xmlData);
              }
                   
              private function LoadXML(file:String = "pie.xml"):void
                   {
                        urlLoader.load(new URLRequest(file));
                        urlLoader.addEventListener(Event.COMPLETE, parseXML);
                                       
                   }
                   private function parseXML(e:Event):void
                   {
                        xmlFile = new XML(e.target.data);
                        //trace(xmlFile);
                        pie = xmlFile.children().length;
                        //trace(pie);
                        buildPieChart(xmlData);
                   }
                        private function buildPieChart(xmlData:XML):void
                        {
                              var titleList:XMLList = xmlFile.item.title;
                              var valueList:XMLList = xmlFile.item.value;
                              for each (var titleElement:XML in titleList)
                              {
                                   titles.push(titleElement);
                              }
                              for each (var valueElement:XML in valueList)
                              {
                                     values.push(valueElement);
                              }
                             
                              var colors:Array = new Array();
                                  colors.push(0x990000);
                                  colors.push(0x000066);
                                  colors.push(0x990099);
                                  colors.push(0xFFFF99);
                                  colors.push(0x336699);
                                  colors.push(0x330000);
                                  colors.push(0x99CC00);
                                  colors.push(0x000033);
                                  colors.push(0x663366);
                                  colors.push(0x333300);
                                  colors.push(0x330033);

                               var radians:Array = new Array();
                               var totalValue:Number = 0;
                   
                               for(var i:int = 0; i < values.length; i++)
                               {
                                   totalValue = totalValue + Number(values[i]);
                               }     
                               for(i =0; i < values.length; i++)
                               {
                                   radians.push(Number(values[i])/totalValue*2);
                               }
                              drawlines(250, 250, 200, radians);

                               function drawlines(centerx, centery, radius, radians)
                               {
                                   var colorkey:Number = 0;
                                   var coloralpha:Number = 1;
                                   var shadow:DropShadowFilter = new DropShadowFilter();
                                   shadow.distance = 2;
                                   shadow.angle = 45;
                                   shadow.color =0x000000;
                                
                                   for(var i:int = 0; i < radians.length; i++)
                                   {
                                       piechart.graphics.beginFill(colors[colorkey], coloralpha);
                                       piechart.graphics.moveTo(0,0);
                                       piechart.graphics.lineTo(Math.sin(radiansSoFar*Math.PI)*radius, Math.cos(radiansSoFar*Math.PI)*radius);
                                       piechart.graphics.lineTo(0,0);
                                       piechart.graphics.endFill();
                                       piechart.filters = [shadow];
                                       piechart.x = stage.stageWidth/2;
                                         piechart.y = stage.stageHeight/2;
                                       
                                       for(var n:Number = 0; n <= radians[i]; n += .0001)
                                       {
                                            piechart.graphics.lineTo(Math.sin((radiansSoFar+n)*Math.PI)*radius, Math.cos((radiansSoFar+n)*Math.PI)*radius);
                                       }
                                       radiansSoFar += radians[i];
                                            
                                       stage.addChild(piechart);
                                                      
                                       addLabel(radians[i], titles[i], radiansSoFar, radius, colors[colorkey], coloralpha);
                                       if(colorkey == colors.length-1)
                                       {
                                            colorkey = 0;
                                            coloralpha -= .25;
                                        }
                                        else
                                        {
                                            colorkey += 1;
                                        }
                                    }
                                }
                               function addLabel(radians, itemtitle, radiansSoFar:Number, radius:Number, color, coloralpha)
                                  {
                                        var format:TextFormat = new TextFormat();
                                       format.align = "left";
                                       format.font = "Century Gothic";
                                       format.size = 11;
                                            //format.bold = true;
                                       var label:TextField = new TextField();
                                       label.width = 1;
                                       label.height = 1;
                                       label.autoSize = "left";
                                       label.antiAliasType = "advanced";
                                       label.text = itemtitle +  "( "+ Math.round((radians/2*100)).toString() + "%)";
                                       label.border = false;
                                       label.setTextFormat(format);
                                       var textRadians:Number = radiansSoFar-(radians/2);
                                       label.x = (stage.stageWidth/2)+Math.sin(textRadians*Math.PI)*radius;
                                       label.y = (stage.stageHeight/2)+Math.cos(textRadians*Math.PI)*radius;
                                       if(textRadians > 0 && textRadians < .5)
                                       {
                                            label.y -= label.height/2;
                                            label.y += 10;
                                            label.x += 10;
                                       }
                                       if(textRadians > .5 && textRadians < 1)
                                       {
                                            label.y -= label.height/2;
                                            label.x += 10;
                                            label.y -= 10;
                                       }
                                       if(textRadians > 1 && textRadians < 1.5)
                                       {
                                            label.y -= label.height/2;
                                            label.x -= label.width;
                                            label.x -= 10;
                                            label.y -= 10;
                                       }
                                       if(textRadians > 1.5 && textRadians <= 2)
                                       {
                                            label.y -= label.height/2;
                                            label.x -= label.width;
                                            label.x -= 10;
                                            label.y += 10;
                                       }
                                       if(textRadians == 0 || textRadians == 2)
                                       {
                                            label.y += 10+label.height/2;
                                       }
                                       if(textRadians == .5)
                                       {
                                            label.x += 10+label.width/2;
                                       }
                                       if(textRadians == 1)
                                       {
                                            label.y -= 10+label.height/2;
                                       }
                                       if(textRadians == 1.5)
                                       {
                                            label.x -= 10+label.width/2;
                                       }
                                       stage.addChild(label);
                                   }
                             }
         }
    }

    Here's the XML file

    Quote:

    <? XML version = "1.0? Encoding = "utf-8? >

    elements <>

    < item >

    < title > < /title >

    < value > 26 < / value >

    < / point >

    < item >

    b < title > < /title >

    < value > 14 < / value >

    < / point >

    < item >

    c < title > < /title >

    < value > 9 < / value >

    < / point >

    < item >

    d < title > < /title >

    < value > 6 < / value >

    < / point >

    < item >

    e < title > < /title >

    < value > 3 < / value >

    < / point >

    < item >

    f < title > < /title >

    < value > 3 < / value >

    < / point >

    < item >

    g < title > < /title >

    < value > 2 < / value >

    < / point >

    < item >

    h < title > < /title >

    < value > 1 < / value >

    < / point >

    < item >

    TV < title > < /title >

    < value > 36 < / value >

    < / point >

    < / object >

    You are welcome. Please mark the thread as answered if you can.

    AS3 Alpha is 0 to 1, not 0 to 100

  • Fonts/text resize function works on my local machine, does not work on others.

    I have embedded fonts (and yet he's pushing me always missing fonts by saying whenever I open the flash, but not the fonts that are not correctly resize)

    I have a function that takes in a textfield, resizes the police to adapt to the text box, works fine on my local machine, does NOT work on other machines.

    Does he know about reasons why it does not work? Here's the function

    function fontSizeChanger(dtb,myWidth)
    {
         dtb.embedFonts = true;
         
         var myFormat:TextFormat = dtb.getTextFormat();
         var metrics:Object = myFormat.getTextExtent(dtb.text); 
         
         while (metrics.textFieldWidth>myWidth) 
         { 
              myFormat.size--; 
              metrics = myFormat.getTextExtent(dtb.text);
         } 
         
         dtb.setTextFormat(myFormat);
         dtb.embedFonts = true;
    }
    

    Please mark this thread as answered, if you can.

  • Cascades does not take sides property links in all components

    I believe that many elements found in the Cascades are poorly designed because they do not take sides QML property bindings. The worst example is the ActivityIndicator component that is not a race (or something similar named) property.

    Let me show you an example, I'll start with a snippet of code that does not have the property running:

    {ActivityIndicator}

    ID: indicator

    }

    WebView {}

    onLoadingChanged: {}

    If (loading)

    Indicator.Start)

    } else {}

    Indicator.Stop)

    }

    }

    }

    It is not declarative, it's imperative code. Now, let's take a look at the following example which shows how it would look like if the ActivityIndicator have had an ongoing execution property:

    {ActivityIndicator}

    running: webView.loading

    }

    WebView {}

    ID: webView

    }

    Much cleaner, easier to read and completely declarative. You also get the dependencies between the components on the right. In the first example, the Web mode has a dependency to the ActivityIndicator which is completely false. In the last example, you see that this time, the ActivityIndicator has the addiction to the Web mode, which is OK because the ActivityIndicator has a dependency for Web display and not vice versa.

    To make things even worse with ActivityIndicator-case, is that there is a function called isRunning which returns Boolean If the indicator is running or not. Why is it good?

    There are a couple of other components that have similarities with the ActivityIndicator, such as the cursor and TextField. Would be my pleasure to clarify if you are interested.

    Yes, we certainly do.

    With the cursor, there are 2 valueChanged and valueChanging, events which provide 2 different functionality, so should not in this case for valueChanged to send a signal until after the slider has ceased to be changed because the value itself is not changed until the cursor was placed, valueChanging provides instant feedback. Introducing the necessary logic to see if the user has lifted a finger, left the area of cursor or otherwise ceased to move the cursor would certainly complicate the case.

    The next point you have raised is very valid, but with the method used by Cascades, as described above, the value of the slider is defined not until after the cursor is moved and stopped. I suggest you connecting everything you see as strange behavior or unexpected in the Issue Tracker as a bug. We can step up to the development of review, this will allow developers also know that the behavior used by Cascades is not always what is expected, or exactly in line with QtQuick QML.

    Kind regards

  • HTMLText links does not

    I was wondering if the HTMLText links are supposed to work again?  I have a link in the HTMLText property of a label with a stylesheet attached to it.  It visually makes the way I expect, but it is not clickable.  Or if it does nothing when I click on it.

    Is this normal with the SDK, or I do something wrong?

    Using an anchor () in TextField.htmlText (or on a label of qnx) element does not cause the browser launched in 0.9.4.

    If you can test with 0.9.3 you can confirm that your code is correct (but only if the browser is not already running).

    We assume currently all these problems are bugs of Simulator and forward to the real hardware on which to confirm this...

    (Similarly, navigateToURL() explicitly call works 0.9.3 but does nothing in 0.9.4.)

Maybe you are looking for