Flex 4 ColorPicker not editable - actionscript-3

I've got an application with several ColorPickers in them - they're just used as-is, no data provider-derived colours or anything - with editable = true. However, the textfield used to display/input the hex code for the selected colour is greyed out and uneditable. I can't find any help for this, only a plethora of tutorials telling me to set editable as true, which obviously doesn't work.
Have also tried binding to data array of colours, but this does nothing except stop the field from being greyed out (though no text appears or can be edited inside it).
Does anyone know how I can stop this happening? Thanks in advance.

It works for me just fine in Flex 3.6A and 4.6.0. Is there maybe something else your doing that is non standard? What theme are you using? Can you produce a test case that demonstrates the issue? (PS: sorry, I can't add comments yet)

Works for me with Flex 4.10.0 (can edit the text field):
<mx:ColorPicker id="_bgPicker" showTextField="true" />

Appears a dodgy font (set as the default for the entire application) was not showing up in the hex panel - forcing it to Arial did the trick. Probably more a result of the crazy set of fonts we have to use than anything but worth doing if anyone else gets a problem like this!

Related

SSRS: Accessing Font from Variable

We're atm creating Reports with the reporting service, but it's not quite defined where to use which Font.
My easiest approach would have been to create a Variable per Report and set the Font in the expression:
Variables!FontStyle.Value
Sadly it doesn't seem to work. If I print the Variable-Text, I see the Font, but it seems like I need some sort of conversion.
As far as I found I've not seen any possibility to do such things, the only Idea would be with HTML-Tags, but I guess since there is a Font-Expression, there is a easier ways.
BTW: I'm really having a lot of small stuff, which bugs me a bit in SSRS, has someone some good articles / books for "Best practices" etc.?
Thanks in advance.
If you want to use a font style for the entire report you can set it with a variable. In the report properties there is a sub heading called Variables, click the dotted button to add a variable. In the report properties window click Add then give it a name you will refer to later like myFont, enter Pristina into the value as an example. Click okay.
Now to call your variable right click on some text and go to properties. In the text box property window click Font and then the fx button next to the font name, then enter your font variable you set earlier =Variables!myFont.Value.
There you go

Background image repeats despite setting to "Clip"

I am trying to show a "check" or "X" image inside a tablix cell based on a Condition. I have added both Images to the image Folder and am setting the BackGroundImage Value property to this expression...
=IIF(Fields!PASS.Value = 1,"CheckMark","XMark")
I've also set Background Repeat to Clip. Inside Preview view it looks fine, but when pushing the rdl to the server and running the report locally, the image continues to repeat to fill the textbox.
I am running IE8 and SSRS 2008. Is there a better approach in doing this without setting Background Image property, realistically I'd like to just set the TextBox value property.
I found that I was only getting the repeating Background image 'feature' despite having BackgroundRepeat set to 'Clip' when using an image encoded in a database field or where the name of the embeded image was coming from the database i.e. where Value was set to an Expression.
What I found worked was to set BackgroundRepeat to the Expression ="Clip".
Note that I'm working in 2013/2014 RDL/RDLC but it seems to be the same issue.
One alternative would be to use the show/hide parameter in the text box to control which of the images gets hidden. I'm not sure if this would solve your not repeating option, but it is something you can try. You would set both images to show in each box and write a conditional formula (the inverse of your formula above, pretty much) to hide an image based on value. I'm not sure if that would mess up the alignment for you though, unless you can place the two images on top of eachother since only 1 should show anyway.
It seems that you are not alone with this issue, as there are several other posts about it going back as far as 2010 when I google it. The last status I saw was that it was submitted as a bug to Microsoft, and it seems all of the users had to find workarounds.
I was having the same problem. I found by setting the MIMEtype and setting BackgroundRepeat to Clip fixed the issue.

Why is my website going blank everytime I edit a row in Wp_options?

I have a wordpress theme and I am trying to change a bit of text that I can only really find in the database. It's a bit of title text that I can only find in the wp_options database.
I found the bit of text I need to change in wp_options, in a row under "of_options"
...";s:16:"translation_port";s:16:"Recent portfolio";s:23:"translation_relatedpost";
s:7:"Related"; s:27:"translation_advertise_title";s:28:"Our Nights";
s:20:"translation_morelink";s:9:"Read more";s:24:"port_project_description";s:20:
That above code does not have any breaks in it, I only changed it for ease of reading.
Just ran another test, and I dont actually have to change a single bit of text, purely opening the row for edit, then saving it without touching anything messes it up.
No logos, images, layout or anything shows. Only the background image :/
I have no idea, tried everything.
Any help would be appreciated.
Don't try to edit this field in the database.
What you see here is a serialized array.
'of_options' refers to 'Options Framework' and is an array containing all chosen options.
Look under Appearance for an options links. The values will be editable there. If somewhere else you need to add more info to your question for help to be provided.
Never fully read it.
Was a part in the theme edit menu to change the titles under a translation tab. My bad.

For the life of me I cant get the input to accept anything in the Game Of Darts tutorial for adding stuff to the dom

I have been researching for a while, At first my own code would not work so I tried the one provided and still when I try to enter a item into the list, nothing happens. No text is added or deleted and it is like the enter key does nothing. I found similar problems but nothing using dart.
Browser dependency needed to be updated... QQ Works now

AS3: weird dynamic text bug

I'm working on a game and weird bug happens, when i want to display scores.
For example it shows 5 instead of 75. It happens sometimes, not regularly and only for a moment, until variable will change again.
The code is simple:
point_txt.text = String(points);
When I check variable "points" with trace(); it shows correctly.
Anyone got the same problem and know how to solve it?
This should fix your problem:
point_txt.text = String(points);
point_txt.width = point_txt.textWidth;
Cheers!
Change from the Properties panel Behavior: Single line