I am in the Flash CS4 IDE.
I have a black background, and white text.
Then I click the white text to edit it.
White on white.... brilliant... Adobe, seriously.
I am in the Flash CS4 IDE.
I found a great article I thought I'd share:
It's how to prevent your browser from scrolling when you are scrolling with flash content.
I fixed a minor bug and made it as a js file, so to use it, just download the js file (remove the .txt) and add this to your html code.
A client asked me to do something seemingly simple.
"I want the Alert to have just this one sentence bolded."
Well, it's not exactly simple, so here's how you do it:
var str:String = "There was a problem with your form. "; str += " <b>Would you like to continue without saving?</b>"; var alert:Alert = Alert.show(str, "Problems in data entry", Alert.YES | Alert.NO, Application.application as Sprite); use namespace mx.core.mx_internal; IUITextField(alert.alertForm.textField).htmlText = str;
You have a flex component and you want to prevent the user from being able to leave its focus using the tab key.
Here's what I tried first without any success.
- Cancel the TAB key down event.
- Change or extend the focus manager's behaviour.
- Cancel the focus out event. (This almost worked, except when the focus out causes Flex itself to lose focus.)
If you know how to accomplish this with any of these approaches, I'd love to hear how.
So here's what I ended up doing.
I first created a dummy TabStopper UIComponent.
I decided to get a website uptime monitoring service.
The biggest reason is because I would prefer to get a notice about a client's site going down and being able to fix the problem before the client finds out. Another and more curious reason is that I want to compare the uptime of slicehost vs dreamhost. It will take several months to be able to blog about the results, but as of now, the race is on!
Here's the uptime monitor for my site.
January 30th - February 1st there will be a global game jam:
For those of you in the Twin Cities, there may be hope in getting in on the action. The IGDATC is planning on organizing something. http://groups.google.com/group/igdatc/browse_thread/thread/2f14971d95582ff7?hl=en
I spent over an hour banging my head against the wall on this one, so I'm going to post my solution.
If you have a Flex Text component, text.textHeight gives you an incorrect result in certain situations. This is a known bug, I see it listed
http://bugs.adobe.com/jira/browse/SDK-14792 (VOTE FOR IT!) and
Ok. I know how much I've praised Dreamhost in the past. I was very impressed with them when I started using their hosting, they were cheap, fast, had all the features I wanted, and had awesome automated installers that let me get up and running very quickly.