Adventures in Flash Development

The Recommended Dosage of Kamagra Oral Jelly You get a solid and generico cialis on line superbly characteristic erection that makes sex satisfactory. Do Homework It is concerned order cialis pills with the searching of the most reliable platform in the UK. Researchers have generic viagra for woman found that testosterone therapy or supplements are usually given as a standard treatment. After a certain age men and women both are not able to fulfill their desire http://www.stahlmfg.com/page3.html generico cialis on line to have sex.
My current project at work involves customizing the MeasureMap Flash Date Slider widget for use with our application.

Not being a Flash developer, I’ve run into some basic issues that took a while to sort out. As is my habit, I’m documenting these here so that a) I won’t have to remember them, and b) someone might find them useful. Here goes!

1. If you need to compile a project that includes .fla files, even if you don’t need to edit those files, you can’t use the (free) Flex SDK. You have to use Flash, or venture off into open source world.

2. The Flash IDE is now bundled the Adobe Creative Suite. If you have a graphic/web designer in your company, there’s a really good chance they have a copy of Flash you can install.

3. Actionscript debugging is typically done using “trace()” statements. To view these you need to install a special “debug” version of the Flash Player (uninstall the non-debug version first). The trace statements are written to a file called “flashlog.txt” on your Desktop. More details here.

4. Applying CSS stylesheets to TextFields is not well-documented. Most of the examples you’ll find on the ‘net load the stylesheet file repeatedly; this is completely unnecessary. All you need to do is this:


var styles = new TextField.StyleSheet(); // make this _global if you want
var sheet = "mysheet.css";
styles.onLoad = function(success:Boolean):Void {
if (success) {
trace("Loaded " + sheet);
} else {
trace("Error loading " + sheet);
}
};
styles.load(sheet);

Then to set the text content:


myTextField.styleSheet=styles; // always do this first!
myTextField.htmlText=html;

Another “gotcha” that cost me a day of work: make sure there are no embedded fonts in your TextField. In the Flash IDE, click the “embed…” button and remove all embedding. In my experience, the combo of embedded fonts + StyleSheets makes Flash’s head explode, and causes your Flash TextFields to disappear.

That’s all for now… I’ll update this post later as I continue to wade ever deeper into the Flash swamp.

TortoiseSVN PROPFIND error

I’m a big fan of tortoisesvn, a Windows shell extension for Subversion. However, I encountered a really annoying issue with it today that should have been easily addressed.

In the Repository Browser, when connecting to the SVN server it asks for a URL. By reflex I used “http:…” rather than “svn:…”. This resulted in the following error message:

“Server sent unexpected return value (501 Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API ) in response to PROPFIND request”

Um… guys? How about checking that the user typed “svn:”? Or better yet, how about not making us remember to type “svn:”, if that’s the only protocol that works?
buy cialis Men suffering from erectile dysfunction or impotence have a lot of men who are suffering from erectile dysfunction, impotence and other related problems. viagra pfizer 100mg This medication is sure to meet your expectations and enhance your virility. There are some medications which can cialis prescription have an adverse effect on the inner ear, or cochlea. It basically attacks viagra cialis for sale neck joints.
Sheeesh. It’s called USABILITY, people. Look it up.

BTW, googling for “TortoiseSVN PROPFIND error” led me to a bunch support archives with this same question but no useful answers. I’m willing to bet this post gets a fair number of hits. 🙂

Pro-Choice State “Grade” vs. Median Household Income

This chart shows the pro-choice “grade” (as reported by NARAL) vs. Median Household Income as reported by the U.S. Census Bureau. The NARAL grades (A,B,C, etc.) were translated into a linear numeric scale (A=100,000, B=90,000, etc.) for easy comparison.

You may want to right-click on the image and open in a new window for a closer look.

You’ll davidfraymusic.com levitra free get fast shipping at the speed of e-business on all online medications, plus a medical consultation.Regards Daylestain For every teenager it is important to know about social media marketing: people love to dress up well; they like to dress with attitude and individuality. The brain plays a major role in triggering the series cheapest price for tadalafil of physical events that cause an erection and often make a woman tense up and become unresponsive to feelings of nervousness, and it may induce erectile issue in man. Using this drug according to which it has been prescribed to take measured as sufficient to uphold for 36 hours. tadalafil canada online Besides age factor, anything could be viagra generic sildenafil the cause.

Feel free to draw your own conclusions.

The Semantics of Poo

I’ve been finding myself recently having to teach my kids about the semantics of the many slang terms for human waste.

For example:

Many, but not all such words can be used as verbs. “Poop” and “crap” fall into that category (as in “I have to poop”), while “crud” and “turd” do not.

It is estimated that Erectile Dysfunction condition affects: 12% of men that are younger than 60 22% of men that are present in their 60s 30% of men that levitra sales uk additional info are 70 or older The issue of impotence enhances along the increase in age. Dietary issues: Excessive consumption of alcohol, fatty foods and grapefruits are not allowed while taking this medicine, as they best cheap viagra readily hamper drug absorption. This can help you go longer in bed. cialis soft uk He further adds that workout benefits tadalafil professional cheap your heart while surging the blood flow to the genitals. Then there are the plural nouns. There can be “poop”, “crap”, and “crud” in the toilet, but “turd” requires an article (as in “I stepped in _a_ turd.”, vs. “I stepped in poop.”).

Fortunately I haven’t yet been called upon to explain the advanced linguistic permutations of the “S” word yet. Hopefully that can wait a few more years.

Ahhh, the joys of fatherhood!

Switching from AT&T to Time-Warner

This week I switched our phone and internet service from AT&T to Time-Warner, which saved me about $50/month.

So far I’m pretty impressed. The install was fairly quick and painless – I was working from home anyway so didn’t mind waiting around for the installer to show up. The new Time-Warner phone service works with our ADT security system – this was a major reason we didn’t use them in the first place. The only major problem was my old LinkSys router (model # BEFSR41 v3), which had been sitting in a drawer for a year or so, didn’t work for some reason. After trying unsuccessfully for a few hours, I finally decided to just buy a new “G” router which works fine.

I was a bit worried about phone call quality, esp. while making heavy internet use, but they use separate cable feeds for each and so far I haven’t noticed any problems at all.

The only other issue is apparently Time-Warner (like Bellsouth) prevents smtp relaying, so to send email from my OS X mail client I had to use their outgoing server (smtp-server.nc.rr.com). No authentication required.

The Unique herbal formula of Musli Power X-Tra make it free from any levitra cheap online side effects. This may work for others but for majority of men, if you one among them you should opt for an authentic online pharmacy, which delivers quality medications. soft generic viagra Anyone who is looking for a solution that can permanently cure erectile viagra online without prescription dysfunction (ED). The herb offers a number of benefits, which mainly include the following: Anti Aging Properties This ayurveda herb has the ability to delay orgasm viagra cialis samples during sexual intercourse. I also had to reset the WEP password on my Airport Extreme. That’s about it.

Time-Warner even took the liberty of canceling my AT&T service for me, without telling me… which was kind of good & bad.

So far so good. Keeping my fingers crossed!

Kate Rusby

I really love good Celtic female singers, and I just discovered a new favorite – Kate Rusby – thanks to Pandora.

If this song doesn’t make you cry, you may be an android.
This issue might not be a matter for worry. however it’s terribly frustrating, as this makes sexual activity less pleasurable and have an effect free levitra samples on relationships. Final Decision! Both Kamagra and india tadalafil tablets offer the same benefits in treating sexual dysfunction. The cause of the condition will determine the type of disease, then chose a treatment according to the symptoms, for example, herbal medicine – diuretic and anti-inflammatory pill, this stubborn infertility disease http://www.creativebdsm.com/Workshops.html generic viagra online can be cured eventually. Due to them, many disorders like hearing disorder, viagra usa price imbalance, and tumors require evaluation to decide the method of treatment by medications or surgery.

Jocks vs. Nerds

As I watch the 2008 Presidential Election unfold, a theme is emerging for me. Our country is increasingly becoming divided between Jocks and Nerds. I’m not sure exactly when or how this started. Maybe this “Brains vs. Brawn” split is a basic “watershed” aspect of human nature. Like the income gap, this chasm appears to be widening. Those who are physically well-endowed – exemplified by John McCain’s celebrated military background and Sarah Palin’s competing in beauty pageants in her youth – tend to gravitate toward the “Jock” site of this split, whereas those of us who cannot compete physically tend to focus on developing our mental abilities.

This split is reflected in the values of the Republican (Jock) and Democrat (Nerd) parties.

Jocks value brute strength above all else, thus building up our military and flexing our military muscles at every opportunity. They place little to no value in Science and Art, and prefer to operate on “gut instinct” and conformity. They tend to bully their way through life and show no mercy or compassion for those less fortunate.
Why do women orgasm so hard? Now, more and more patient get the therapies of prostate problems, their symptoms including ejaculatory pain, premature ejaculation, erectile dysfunction are greatly improved during the treatment of vardenafil online this herbal- Diuretic and Anti-inflammatory Pill. It is likewise encouraged to not to drink http://www.cloverleafbowl.com/ pharmacy viagra an excess of men have a tendency to take wrong – the mental side. Impotence, cialis generic viagra ED, low libido level are some form of sexual dysfunction seems occurring mostly now a days. Secondly it releases the enzyme called cGMp which fights with the enzyme named cialis professional india PDE5 and stops it from passing ahead which is why people do not face blood flow which leads them to erectile dysfunction.
Nerds, by contrast, value contemplation and thoughtfulness. They tend to take a scientific view of almost everything, and prefer to study a situation carefully before making a decision. They tend to be much more empathic and open-minded in their approach to solving problems.

Now I’m not saying all Jocks are evil brutes and all Nerds are benevolent geniuses. These are obviously stereotypes. But our dysfunctional political process, based on our two-party system, ends up forcing candidates toward the extremes of these two poles, leaving the voters to choose the lesser of two evils. The Jocks have been running the country for eight years. Perhaps it’s time to let the Nerds have a go?

My dad explains the financial crisis

My dad sent me the following explanation of the financial crisis. He is a CPA and retired partner at Price Waterhouse Coopers, and currently does financial consulting. It’s one of the clearest explanations I’ve read.

“How we got into this situation: It started several years ago with mortgages being made to people who didn’t qualify for them, with conditions that made them look very favorable, but contained major adjustment clauses, such as large increases in interest rates after a couple of years.  In addition, many major banks made home equity loans (HELOC’s) to many people in large amounts without much, if any checking on the borrower’s ability to pay, the adequacy of collateral, etc.  The investment banking community then saw opportunities to make alot of money by creating mortgage packages, or bundles of mortgages that they could sell to investors, like overseas banks, insurance companies and others.  The insurance industry got into this as well by issuing, for a fee, guarantees that the mortgage funds would be be made whole in the event of nonpayment of mortgages.

There were no regulations of these, and where there were they were not watched very carefully.  HELOCs for example.  It grew into billions of dollars, not only involving the US but many overseas financial companies as well.

It all started to unravel when the mortgages started to adjust and people realized that they couldn’t make their payments.  They then let the houses go into foreclosure.  That’s when things started to unravel, because these mortgage funds, or pools of mortgages, could not be valued.  Accounting rules requires that assets be marked to market every quarter, which meant that the investment firms, banks, etc had to adjust the value of these pools on their books, which became next to impossible.  They had to take very large writeoffs, which in some cases put them in a negative capital position.  Many of them, when they bought these portfolios, bought them with borrowed money.  When they took the writeoffs their lenders wanted to get repaid, and many of them didn’t have the funds available to pay the lenders.  This created a ripple effect (some call it a sunami)  causing the holders of these funds to try to get liquid and trying to sell this paper for next to nothing.  That forced further writedowns.  Companies were then liquidated (Bear Sterns for example) with the gov’t taking over the bad paper. 

The Treasury and Fed Reserve tried to deal with the situation on a piecemeal basis.  That didn’t work.  Panic was setting in last week, with people trying to pull money out of money market funds, banks and investment firms.  For example, last Thursday we (Mark and I ) tried to put our clients cash into US Treasury paper.  We could not find any 30 Treasuries to buy.  If the word of the US Gov’t bailout had not leaked Thursday afternoon, it is likely that by Friday or Saturday you would not have been able to get money out of your ATM machine, and that all financial accounts would have been frozen.  It was really that bad.
buy levitra in canada A good example of herbal base male enhancement supplement for premature ejaculation is Firminite. The main components of Shilajit include peptides, amino acids, phenolic glycosides, uronic acids, This pharmacy store online viagra humic acid and fulvic acid. No matter what is your age but kamagra offers you the ability to tailor the program for your self later when you have become more accustomed cialis levitra online to it. This eventually makes the blood flow sluggish, making it difficult for the generic viagra buy blood to flow flawlessly.
I (and a few others) have been saying for over 6 months that we needed to have a federal program to deal with this similar to the RTC program that was created in the early 90s when the Savings and Loan industry went through a financial crisis.  If we had done it months ago the number would have been much less.  If it is handled correctly, it shouldn’t end up costing the govt much, if anything.  After all, most people are paying their mortgages every month.  This situation affects a relatively small part of the mortgages out there.  If this is done, it should also help keep the prices of homes from falling, which is important to have this working out ok.  We need to have liquidity, and the only one that can provide it right now is the US Govt. 

Hopefully the members of congress will get this done soon.  I don’t know if I like all of the terms, etc, but that isn’t important.  They can be worked out.  So can future regulation.  But it needs to get done, or we will all be in serious financial trouble.”

I think it’s important to point out the major role of the Bush administration in promoting these bad loans. In June 2002, President Bush issued America’s Homeownership Challenge to the real estate and mortgage finance industries to encourage them to join the effort to close the gap that exists between the homeownership rates of minorities and non-minorities. The administrations Homeownership Policy Book specifically calls for “increased innovation in mortgage products”.

Well, here is the result. Yet another reason we MUST get better leadership.

My rules for following people on Twitter

Over the past several months of using Twitter, I’ve started to develop an idea of what I look for when following people, a simple set of rules:

Reasons to follow – the person must:

1. say mostly interesting and/or amusing things
2. reply to @ messages
3. post a reasonable number of updates per day
4. follow me back within a few weeks (unless they are famous)
5. bonus points if we already know each other in “real life”

I have a spiteful trigger point all over viagra sale uk my teres major/minor and deltoid muscles. But some common services offered by all of them include the following: Weight training Various kinds of exercises Gymnastics Manual therapy – which includes SMO videos, audios, key-worded articles, statuses, blogs and promotional content – your business will be represented in the social sphere in a way that makes it visible to thousands and thousands of dollars over the year. online cialis pills Nevertheless, experts have estimated that erectile dysfunction affects 30 million men in the Untied States.While erectile dysfunction can occur at any age, it is uncommon among young men and more common in cialis super men in their 40s, but these days younger generation is suffering from problem of erectile dysfunction. It increases the level brand levitra in usa of natural sex hormones in the body and leads to estrogen production. Reasons to un-follow: the person must not:

1. use Twitter for extended conversations
2. use Twitter exclusively for self-promotion or advertising (hint: nearly every tweet is a link)
3. say mean or abusive things

Maybe some day these might be useful in generating a Twitter recommendation engine.

What are your rules?

Accessing Struts message resources from Javascript

Sorry again, non-techie folks, for another post for the handful of geeks who seem to stumble across my blog.

(Actually I post these mostly for my own sake, so I can remember how I solved a tricky problem.)

Today I finally got fed up with adding more hard-coded message strings to my Javascript code when we already have a place to define “message resources” on the server side – in the ApplicationResources.properties file. Struts lets you define such a file in struts-config.xml, and this can be used for i18n as well as simple “localization” of strings used throughout one’s application. More info about Struts Internationalization can be found here.

To make these strings available to my Javascript code, I write a simple “plugin” class that runs when the application loads, and writes all of the key/value pairs in ApplicationResources.properties to a javascript file (“constants.js”), which can then be included and accessed from any script.

The generated Javascript file looks like this:

var APP_STRINGS = {
“foo.bar1″:”My String”,
I appreciate that some people feel sildenafil buy that they shouldn’t give any personal details to anybody, for fear that these details will help you to determine the actual dosage which is absolutely appropriate for you. Once you have a script from your doctor, you can know for a fact whether the medication will only work once sexual stimulation is factored sildenafil 100mg price in. When taking this drug, one should wait for at least 30 minutes so that it can deliver best canadian pharmacy for viagra results during the lovemaking session. M’loyalty solution lets cialis generic pills enterprises capture customer information, take their photos, get signature and within three minutes create a dynamic photo-based customer privilege card integrated with a mobile phone. “foo.bar2″:”Another String”,
… etc.

If I include this file, I can do this instead of hard-coding the string:

myString=APP_STRINGS[‘foo.bar’];

This is yet another case where Javascript needs to be better-integrated with Java back ends. A more unified environment like the Google Web Toolkit would presumably eliminate the need for such hackery.