XML 69 R7.htm IDEA: XBRL DOCUMENT v2.4.0.8
Consolidated Statements of Cash Flows (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Jun. 30, 2014
Jun. 30, 2013
Jun. 30, 2012
Operating activities      
Net income (loss) $ (29,524) $ 13,067 $ 32,408
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 6,759 8,408 8,171
Accretion of premium, net on short-term investments 3,500 4,424 4,598
Stock-based compensation expense 11,535 8,647 5,122
Valuation allowance on deferred tax assets 7,398 0 0
Bad debt expense 132 0 0
Write-off of long-term investments 250 335 250
Write-off due to impairment of capitalized software 0 438 0
Loss on disposal of property and equipment 112 173 0
Excess tax benefits from employee stock options 310 305 (797)
Changes in operating assets and liabilities:      
Accounts receivable 2,477 (2,559) 5,384
Deferred income taxes (4,095) (1,801) 1,024
Restricted cash (3,327) (2,428) (240)
Prepaid expenses and other current assets (5,248) 2,979 (3,861)
Other assets (649) (730) (391)
Accounts payable (1,331) (1,221) 266
Accrued compensation 3,612 (261) 1,269
Accrued royalties (6,162) 5,436 (307)
Accrued expenses and other liabilities (2,645) 10,152 3,869
Income taxes payable 398 (1,456) 2,427
Deferred rent (1,354) 1,295 9,674
Deferred revenue (4,701) (2,290) (39,559)
Net cash provided by (used in) operating activities (22,553) 42,913 29,307
Investing activities      
Purchases of property and equipment (1,053) (2,248) (13,470)
Additions to capitalized software 0 (948) (2,406)
Purchases of short-term investments (66,350) (124,707) (170,592)
Purchase of long-term investments (600) (950) (1,100)
Proceeds from sales of long-term investments 795 0 0
Proceeds from sales and maturities of short-term investments 106,585 146,922 152,623
Acquisitions, net of cash acquired (19,245) (18,254) (1,768)
Net cash provided by (used in) investing activities 20,132 (185) (36,713)
Financing activities      
Proceeds from exercise of stock options 896 2,792 2,108
Repurchase of common stock (7,899) (26,310) (12,545)
Tax withholdings related to net share settlements of restricted stock units (1,570) (51) 0
Excess tax benefits from employee stock options (310) (305) 797
Net cash used in financing activities (8,883) (23,874) (9,640)
Effect of exchange rate changes on cash and cash equivalents 51 13 (87)
Net increase (decrease) in cash and cash equivalents (11,253) 18,867 (17,133)
Cash and cash equivalents, at beginning of period 25,787 6,920 24,053
Cash and cash equivalents, at end of period 14,534 25,787 6,920
Supplemental disclosure of cash flow information      
Income taxes paid, net $ 1,002 $ 2,893 $ 11,288