[flexcoders] Getting HTTP status codes from NetConnection

2010-08-25 Thread aaronius9er9er
Hey flexers, I'm trying to figure out the best way to get a response's http status code when using NetConnection. Normally I'd watch for the NetStatusEvent but in Firefox the event contains no information regarding the http status code. Maybe there's some way I can get direct access to the

[flexcoders] Re: Semi-dial / speedo-type control in flex

2010-08-25 Thread aaronius9er9er
I made a knob a while ago that could probably be fashioned into what you need: http://aaronhardy.com/flex/skinnable-knob-component/ Aaron --- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Hi, I thought there was a dial or speedometer control built into Flex 3? Does

[flexcoders] Re: Getting HTTP status codes from NetConnection

2010-08-25 Thread aaronius9er9er
I was afraid that was the case. Thanks. --- In flexcoders@yahoogroups.com, Gregor Kiddie gregor.kid...@... wrote: Can of worms... Short answer. You can't. Long answer. You can't and the way that was making you cringe is right. The browsers don't tend to pass back the

[flexcoders] Re: Positioning Issue, trying to add UIComponent to HBox at run time

2010-05-21 Thread aaronius9er9er
Yeah I think you're right. First of all, in your UIComponent implement a measure method and set measuredWidth and measuredHeight to the content dimensions of the Loader (this will probably be 0x0 until the content is loaded). Then, watch the loader's events to determine when it is done

[flexcoders] Undo/redo for bitmap editing app

2010-05-17 Thread aaronius9er9er
Hey coders, I'm trying to implement a somewhat simplified version of Photoshop.com or Aviary Phoenix for a client. We're providing options to the user to perform photo-wide changes like hue/brightness/contrast and scoped changes like fixing blemishes, red eye, etc. Right now we have things

[flexcoders] Re: Undo/redo for bitmap editing app

2010-05-17 Thread aaronius9er9er
--- In flexcoders@yahoogroups.com, aaronius9er9er aaronius...@... wrote: Hey coders, I'm trying to implement a somewhat simplified version of Photoshop.com or Aviary Phoenix for a client. We're providing options to the user to perform photo-wide changes like hue/brightness/contrast and scoped

[flexcoders] Re: Loading CFF font swf into Flex 3.3 app

2010-05-10 Thread aaronius9er9er
Thanks Alex and Gabriel. I think most of my problems were due to security domain issues. I finally have it working with the font swf registering its own font. The important part being that the font swf and the app swf are both running under the same security context (which means I couldn't

[flexcoders] Re: Loading CFF font swf into Flex 3.3 app

2010-05-07 Thread aaronius9er9er
is ISWFContext) would return false. On 5/6/10 4:55 PM, aaronius9er9er aaronius...@... wrote: To no avail, I've decided to take a different route. I decided to make an ActionScript project with a class that implements ISWFContext and embeds the font I need. Then from my main app

[flexcoders] Loading CFF font swf into Flex 3.3 app

2010-05-06 Thread aaronius9er9er
Hey flexers, We have an app built in Flex 3.3. We've pulled the text layout framework swc from Flex 4 to use in our app. We now need to load fonts dynamically at runtime to use within our text flow. In my understanding, in order to create a font swf with embedAsCFF set to true, we need to

[flexcoders] Re: Loading CFF font swf into Flex 3.3 app

2010-05-06 Thread aaronius9er9er
montagné gabr...@... wrote: Hello Aaron, On 06/05/2010, aaronius9er9er aaronius...@... wrote: We have an app built in Flex 3.3. We've pulled the text layout framework swc from Flex 4 to use in our app. We now need to load fonts dynamically at runtime to use within our text flow. In my

[flexcoders] Re: Loading CFF font swf into Flex 3.3 app

2010-05-06 Thread aaronius9er9er
Nevermind, that's related to my code. More testing to come... --- In flexcoders@yahoogroups.com, aaronius9er9er aaronius...@... wrote: Thanks for the response. I created a library project with an EmbeddedFonts class compiled using the Flex 4 sdk. I then linked to the library and made sure

[flexcoders] Re: Loading CFF font swf into Flex 3.3 app

2010-05-06 Thread aaronius9er9er
this error even if I compile my font library project using the 3.3 SDK. Aaron --- In flexcoders@yahoogroups.com, aaronius9er9er aaronius...@... wrote: Nevermind, that's related to my code. More testing to come... --- In flexcoders@yahoogroups.com, aaronius9er9er aaronius9er@ wrote

[flexcoders] Re: Loading CFF font swf into Flex 3.3 app

2010-05-06 Thread aaronius9er9er
). On 5/6/10 10:42 AM, aaronius9er9er aaronius...@... wrote: Strange. When I link to the library project using Merged into code it works, but when linking to it as an RSL it throws the following error when running the app: VerifyError: Error #1014: Class mx.core::FontAsset

[flexcoders] Overriding parent's style in custom component

2008-09-16 Thread aaronius9er9er
Hi all, I'm creating a custom component which extends Container. I would like to use the backgroundColor style to style certain parts of the custom component. I don't have any problem getting access to the style and doing what I want with it within my component, but the parent Container class

[flexcoders] Re: Overriding parent's style in custom component

2008-09-16 Thread aaronius9er9er
? --- In flexcoders@yahoogroups.com, Pan Troglodytes [EMAIL PROTECTED] wrote: This might be kind of a hack, but you could override setStyle, catch the backgroundcolor style being set and not call the super for it. On Tue, Sep 16, 2008 at 9:52 AM, aaronius9er9er [EMAIL PROTECTED]wrote: Hi all

[flexcoders] Re: Overriding parent's style in custom component

2008-09-16 Thread aaronius9er9er
createBorder() and not calling super.createBorder() on it. I think that'll do! I'd be interested in hearing if there's a better alternative though. Thanks! --- In flexcoders@yahoogroups.com, aaronius9er9er [EMAIL PROTECTED] wrote: Good point. That would work, but I think I would no longer be able