[FMX]Custom cursors and links in dynamic Textfields

Mouse.hide doesn’t work when rolling over the link.

try this code and roll the mouse over the link:

Mouse.hide();
createTextField(“tf”, 100, 0, 0, 200, 30);
tf.html = true;
tf.htmlText = ‘<a href="#">’ + System.capabilities.version + ‘</a>’ ;

does anybody have an ideia how to make this work?

You’re right…
I tried adding
[AS]Mouse.hide();
createTextField(“tf”, 100, 0, 0, 200, 30);
tf.html = true;
tf.selectable = false;
tf.useHandCursor = false;
tf.htmlText = "<a href="http://64.207.155.38/forums/showthread.php?s=&threadid=26050#">" +System.capabilities.version + “</a>” ; [/AS]
still the same…?
senocular, you in the house?
(haven’t refreshed between testing and posting, maybe the answer is there already…?)

doesn’t work, and i tried to use tf.useHandCursor = 0; either :stuck_out_tongue:

in this url there’s a list of bugs, but i don’t know if it is reported to MM or stuff…

http://chattyfig.figleaf.com/flashcoders-wiki/index.php?Bugs

is there any event that can be used in a link tag??? i don’t think so…

useHandCursor is a MovieClip and Button property only, it cannot be used within a textfield.

So as long as that is a link, the hand cursor stays.

Ok, since useHandCursor is not a textField property this is not a bug, although you could possibly contact Macromedia to recommend they enable this for textFields.

I just tested this and it works, we can re-adjust your code by creating your textbox inside a movie clip, and making the movie clip contain the link in a getURL and set the useHandCursor to false…

[AS]Mouse.hide();
this.createEmptyMovieClip(“tfContainer”, 30);
tfContainer.createTextField(“tf”, 100, 0, 0, 200, 30);
tfContainer.tf.selectable = false;
tfContainer.tf.text = System.capabilities.version;
tfContainer.useHandCursor = false;
tfContainer.onRelease = function() {
getURL(“http://64.207.155.38/forums/showthread.php?s=&threadid=26050#”, “_blank”);
};[/AS]

well, surelly this works fine, but the main idea is to use a custom cursor or something when loading a html text with links.

anyway, thanks everybody for your help!

Well not much you can do there :-\ Sorry :frowning: