[flexcoders] AS 3 performance articles?

2006-12-05 Thread joshuajnoble
Hi, I need some whitepapers/articles/blog posts/whatever, on AS3 display performance vs AS2 (for a client) and especially, if possible, info on why you should use AS3 event handling or info on event handling in as3. I've been googling around and have found some stuff, but not everything. Anyone

[flexcoders] Loading Fonts at runtime on OSX?

2007-04-30 Thread joshuajnoble
Wondering if anyone else has run into this: I'm loading fonts at runtime via a swf that has a font embedded in it. I can't get the font embedded on my OSX machine, so I compile the font swf on my pc and then bring it over to my OSX machine and try to load it into the application swf like so:

[flexcoders] Re: Loading Fonts at runtime on OSX?

2007-05-01 Thread joshuajnoble
kidding, Alex... On 01/05/2007, at 4:24 PM, Alex Harui wrote: What does the vomit look like? And what does the FontHolder class look like? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joshuajnoble Sent: Monday, April 30, 2007 6:29 PM

[flexcoders] Re: Loading Fonts at runtime on OSX?

2007-05-02 Thread joshuajnoble
: are you changing this line for the mac version? source=C://WINDOWS//Fonts//ariblk.TTF) I haven't dealt with cross-platform fonts but why WOULDN'T this be the problem? cheers! On 5/1/07, joshuajnoble [EMAIL PROTECTED] wrote: Ha, well ok. The vomit is paramter font cannot

[flexcoders] Re: Loading Fonts at runtime on OSX?

2007-05-02 Thread joshuajnoble
by the time you run inited() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joshuajnoble Sent: Tuesday, May 01, 2007 10:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Loading Fonts at runtime on OSX

[flexcoders] getCamera not returning built in Firewire cam on OSX 10.4?

2007-10-26 Thread joshuajnoble
Has anyone else had trouble with this and found a solution?

[flexcoders] Problems debugging

2006-09-14 Thread joshuajnoble
Hi, I'm having a little problem with running the debugger out of FB2. When I invoke the debugger FB2 doesn't create a new debug swf, which is a little annoying. The timestamp on the debug swf is from yesterday, even though I've run the debug a few times today. I ran a 'clean' thinking that FB2

[flexcoders] Re: Problems debugging

2006-09-15 Thread joshuajnoble
incorrect out-dated entries. Try changing the output src folder and remove/recreate under properties. Are you running the supported Eclipse version 3.1.1? Angus On 15/09/06, joshuajnoble [EMAIL PROTECTED] wrote: Hi, I'm having a little problem with running the debugger out of FB2

[flexcoders] Re: Viewstack with canvas + centered panel

2006-09-26 Thread joshuajnoble
I think you mean: To get the Panel centered on the stage (Canvas), set horizontalCenter and verticalCenter properties on the Canvas to 0. Setting those props on the Panel will only affect children inside the Panel. --- In flexcoders@yahoogroups.com, Ashish Goyal [EMAIL PROTECTED] wrote: To

[flexcoders] Eclipse Crash at Analyzing Project'

2006-09-27 Thread joshuajnoble
Has anyone run into a problem with FB2 in Eclipse where it starts to hang at 'Analyzing Project' and then crash? It was working fine until today when it suddenly won't load at all. If I could figure out a way to get the IDE started I could try to fix this, but I can't even open it, which leaves me

[flexcoders] Re: Eclipse Crash at Analyzing Project'

2006-09-27 Thread joshuajnoble
get you going. Heed this advice at your own risk, of course, but it worked for me. Best Regards, Steve -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joshuajnoble Sent: Wednesday, September 27, 2006 8:30 AM To: flexcoders

[flexcoders] TextInput component issue

2006-09-28 Thread joshuajnoble
I've got a component that extends TextInput that I need to do some extra stuff for validation with, so I've done the following: override public function validationResultHandler(event:ValidationResultEvent):void {

[flexcoders] Setting a filter for the UITextField inside a button?

2006-10-03 Thread joshuajnoble
Hi, I'm trying to add a dropShadow to a button like so: public class DropShadowButton extends Button { private var ds:DropShadowFilter; public function DropShadowButton():void {

[flexcoders] Re: Setting a filter for the UITextField inside a button?

2006-10-04 Thread joshuajnoble
recommendation. --- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote: I forget the exact reason why this is happening, but the workaround is to move your code to the createChildren function. - Dan On 10/3/06, joshuajnoble [EMAIL PROTECTED] wrote: Hi, I'm trying to add

[flexcoders] Re: How to determine if an array is empty.

2006-10-05 Thread joshuajnoble
Just a suggestion, but try binding your DG to a seperate object and then when the onResult comes back, try/catch through it (using try{}catch{}), so that if there's only one result you're not getting unhandled exceptions. You'll be able to get dowwn to the length that way. If there are no

[flexcoders] Effects for background of TextInput

2006-10-06 Thread joshuajnoble
I'm trying to create an effect that changes the background color of my TextInput. I've tried using AnimateProperties with isStyle and 'backgroundColor' but that produced a psychedelic freakout, probably because the effect is trying to take hex values and turn them to ints. I can write something

[flexcoders] Re: Effects for background of TextInput

2006-10-11 Thread joshuajnoble
Ah, I think I should have been more specific. I need this to be like a two second color transform. From green to white. I tried a few different approaches yesterday: 1. write an onTweenUpdate function that slowly returns higher and higher hex values through some wierd math 2. try to get a

[flexcoders] Re: Effects for background of TextInput

2006-10-11 Thread joshuajnoble
@yahoogroups.com, joshuajnoble jnoble@ wrote: I'm trying to create an effect that changes the background color of my TextInput. I've tried using AnimateProperties with isStyle and 'backgroundColor' but that produced a psychedelic freakout, probably because the effect is trying to take hex values

[flexcoders] Why is addChild w/in a State throwing 'null object' errors?

2006-10-18 Thread joshuajnoble
When I setCurrentState to one of the other states, I get a null object error thrown from the removeChild method. I'm also getting binding errors from using the {} syntax for the id that I'm going to remove. This is really strange because when I just run the application out of Flex Builder it

[flexcoders] Re: Accordion initialization problem

2006-10-30 Thread joshuajnoble
You're right. The children aren't being created until they're added to the display list. Set your creationPolicy on the Accordion to 'all' to create them all as soon as the accordion is created. --- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED] wrote: I'm building an application

[flexcoders] Get BitmapData from symbol in SWF file?

2006-10-30 Thread joshuajnoble
I'm trying to get BitmapData from an icon in a swf file that is referenced as a class. I need to get the BitmapData so that I can use the 'beginBitmapFill' from the Graphics. Here's what I'm trying to do (which doesn't work at all, btw) var c:Class =

[flexcoders] Re: Get BitmapData from symbol in SWF file?

2006-10-30 Thread joshuajnoble
); I've tried using BitmapData, BitmapAsset, and Bitmap. Any ideas or advice? --- In flexcoders@yahoogroups.com, joshuajnoble [EMAIL PROTECTED] wrote: I'm trying to get BitmapData from an icon in a swf file that is referenced as a class. I need to get the BitmapData so that I can use

[flexcoders] Re: Get BitmapData from symbol in SWF file?

2006-10-30 Thread joshuajnoble
--- In flexcoders@yahoogroups.com, Roger Gonzalez [EMAIL PROTECTED] wrote: You can't cast a Class to a Bitmap. You need to do BitmapAsset(new c()). Hi Roger, I had given that a try but got type casting errors then too. I'm not sure what's wrong with it since this is basically right out

[flexcoders] Re: JUST SAY NO to creationPolicy=all !

2006-10-30 Thread joshuajnoble
I know better, and I don't do it myself, and I understand why not to do it and I'm very very sorry for recommending it : ) --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: rant Several times a week someone complains that they can't seem to set data into

[flexcoders] List : itemEditEnd defaultListEffect

2007-11-25 Thread joshuajnoble
With Flex 3b2 : mx:List xmlns:mx=http://www.adobe.com/2006/mxml; width=400 height=300 itemEditEnd=copyData(event) dataChangeEffect={baseEffect} mx:Script ![CDATA[ import mx.events.ListEvent;

[flexcoders] RegExp multiple backreferences?

2007-11-26 Thread joshuajnoble
Can any RegEx genius :) tell me whether ActionScript 3 properly supports multiple backreferences? The code I'm trying to use is this: private var headerBackreference:RegExp = /H([123]).*?\/H\1/; private function init():void {

[flexcoders] Please ignore my Regex backreference question

2007-11-26 Thread joshuajnoble
I forgot the global flag, jeez :(

[flexcoders] HierarchicalCollectionViewCursor

2008-01-09 Thread joshuajnoble
Can anyone shed any light on the constructor of the HierarchicalCollectionViewCursor, the signature is: public function HierarchicalCollectionViewCursor(collection:HierarchicalCollectionView, model:ICollectionView, hierarchicalData:IHierarchicalData) and the explanation in the docs is:

[flexcoders] Re: HierarchicalCollectionViewCursor

2008-01-10 Thread joshuajnoble
the hierarchy of the data in the model. How to get its children, determine if there is a branch, etc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joshuajnoble Sent: Tuesday, January 08, 2008 2:19 PM To: flexcoders

[flexcoders] Re: Flex Component Kit for Flex 3

2008-03-04 Thread joshuajnoble
So, is the final plan to have this included in the SDK or not? I'm a little confused about that. --- In flexcoders@yahoogroups.com, jack_freud [EMAIL PROTECTED] wrote: Thanks! I was stuck at this page:

[flexcoders] mp3 playback problems only on Vista/IE?

2009-06-04 Thread joshuajnoble
Has anyone heard of/run into this? Just curious, as a client is complaining about it and I'm on vacation and can't verify as I don't have a Win machine with me. Thanks for any thoughts,

[flexcoders] IE8 Vista Player 10 getting glitchy when reading progress of downloading mp3?

2009-06-17 Thread joshuajnoble
Has anyone heard anything like this before? I don't have Vista, so I can't check, but it's fine on all OSX browsers. We have the same player version. I remove this line: loadPos = mp3.bytesLoaded / mp3.bytesTotal; // after divide by 0 check and all goes well on IE8. With it in, apparently

[flexcoders] Re: IE8 Vista Player 10 getting glitchy when reading progress of downloading mp3?

2009-06-17 Thread joshuajnoble
--- In flexcoders@yahoogroups.com, joshuajnoble joshuajno...@... wrote: Has anyone heard anything like this before? I don't have Vista, so I can't check, but it's fine on all OSX browsers. We have the same player version. I remove this line: loadPos = mp3.bytesLoaded / mp3.bytesTotal