[flexcoders] Framework RSL and subclassing

2008-07-24 Thread jimmy5804
I have a medium size project and am trying to reduce .swf size. There are several places in my project where I can either 1) put a bunch of code in a tag or included .as file or 2) subclass to make things look cleaner. In some quick tests, it looks like creating a new class adds ~80 bytes (plus o

[flexcoders] Scrolling with custom item renderers

2008-11-21 Thread jimmy5804
I have a VBox-based custom component (call it 'A') that displays some data in a list of windowshade-ish item renderers. My problem is A doesn't scroll when its child renderers exceed its dimensions. Here are the relevant factors as far as I'm aware: -scrollpolicy is set to "auto" ("on" shows a di

[flexcoders] Re: Scrolling with custom item renderers

2008-11-24 Thread jimmy5804
;s size > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jimmy5804 > Sent: Friday, November 21, 2008 10:53 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Scrolling with custom item renderers > > > I have a VBox-based custom component (

[flexcoders] Overlapping interfaces

2008-12-16 Thread jimmy5804
I have a custom class that wants to expose IList and ICollectionView. Both interfaces define the length parameter and I get an "ambiguous renference to length" error when I try to access length. I believe this is essentially a namespace issue, but I don't know how to solve it. Suggestions?

[flexcoders] Re: Overlapping interfaces

2008-12-16 Thread jimmy5804
ell? > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jimmy5804 > Sent: Tuesday, December 16, 2008 8:25 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Overlapping interfaces > > > I have a custom class that wants to expose IList

[flexcoders] Re: Overlapping interfaces

2008-12-16 Thread jimmy5804
s the compiler issue var x:ITestMe; var y:int = x.length; } --- In flexcoders@yahoogroups.com, "jimmy5804" wrote: > > Yeah, I know. First thing I did was to check out the > ListCollectionView code, but didn't see anything obviously special. I > made a test interface strip

[flexcoders] Conditional compilation for variable declarations

2009-01-30 Thread jimmy5804
I'm able to use conditional compilation for functions by prefacing them with CONFIG::xxx and other blocks by wrapping them in if(CONFIG::xxx), but I'm not sure how to do conditional declaration of class variables without making the whole class conditional. If, for example, I have a single SQL cla

[flexcoders] Re: Conditional compilation for variable declarations

2009-01-31 Thread jimmy5804
Thanks for the idea. I'm just declaring it as untyped for now and assigning it in a conditionally compiled block. --- In flexcoders@yahoogroups.com, Johannes Nel wrote: > > abstract factory would also solve this, unless you compile to swc that is. > > On Fri, Jan 30, 2009 at 6

[flexcoders] Perplexing regex/replace() issue

2009-03-16 Thread jimmy5804
This seems simple, but I can't figure it out. I have some input I don't control with a lot of properties that look like "xx-yyy" that I want to camelcase: "xxYyy" and I'd like to do this with a one-line replace() instead of a longer split/join approach. I've tried several variations of: var

[flexcoders] Re: Perplexing regex/replace() issue

2009-03-16 Thread jimmy5804
ments[1].toUpperCase();}); > > > > > On Mon, Mar 16, 2009 at 11:44 AM, jimmy5804 wrote: > > > > > This seems simple, but I can't figure it out. > > > > I have some input I don't control with a lot of properties that look like > > &qu

[flexcoders] Re: Perplexing regex/replace() issue

2009-03-16 Thread jimmy5804
ments[1].toUpperCase();}); > > > > > On Mon, Mar 16, 2009 at 11:44 AM, jimmy5804 wrote: > > > > > This seems simple, but I can't figure it out. > > > > I have some input I don't control with a lot of properties that look like > > &qu

[flexcoders] Architecting for extensibility

2009-03-22 Thread jimmy5804
I'm looking for some architecture advise. My AIR application has the ability to render certain kinds of data, each of which has a unique string descriptor (e.g. "red"). I would like to make it easy for others to add renderers for other kinds of data. To accomplish this, I created a renderer direct

[flexcoders] Portable way to get hostname in AIR app?

2009-03-31 Thread jimmy5804
... at the risk of asking a dumb question. Application.application.url doesn't help.

[flexcoders] Re: Portable way to get hostname in AIR app?

2009-03-31 Thread jimmy5804
> solely those of the author and do not necessarily represent those of > INPS or any of its affiliates. If you are not the intended recipient > please contact is.helpd...@... > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.c

[flexcoders] Runs in debug mode, but not release build

2009-04-30 Thread jimmy5804
AIR app. Runs fine in debug, but fails to initialize when build is exported. After a long binary search I found it fails silently on addition of a particular (important) child. Anyone seen anything like this before?

[flexcoders] Re: Runs in debug mode, but not release build

2009-05-01 Thread jimmy5804
tion here might help also. > > > > Tracy Spratt, > > Lariat Services, development services available > > _ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of jimmy5804 > Sent: Friday, May 01, 20

[flexcoders] Re: Runs in debug mode, but not release build

2009-05-01 Thread jimmy5804
blogs.adobe.com/aharui > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of jimmy5804 > Sent: Friday, May 01, 2009 8:43 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Runs in debug mode, but not release build > > > > > &

[flexcoders] Transition only works once

2009-05-19 Thread jimmy5804
I don't use transitions often, so I may be missing something. The transition works fine the first time, but the resize is applied instantaneously afterwards. This is part of a VBox-based MXML component. Transition is very simple: The state to which it is ap

[flexcoders] Re: Transition only works once

2009-05-19 Thread jimmy5804
wrote: > > Try resetting the dimensions of bottomBox back to 0 when you change to the > base state; or use widthFrom/widthTo, heightFrom/heightTo on the resize tag. > > -TH > > --- In flexcoders@yahoogroups.com, "jimmy5804" wrote: > > > > I don&#

[flexcoders] Re: Transition only works once

2009-05-20 Thread jimmy5804
would be > to control visible/includeInLayout in the effectStart or effectEnd > functions. > > -TH > > --- In flexcoders@yahoogroups.com, "jimmy5804" wrote: > > > > Tim, thanks a lot for making the effort to help. > > > > Got partial success. Using he

[flexcoders] Unwanted web services prompt

2009-08-01 Thread jimmy5804
This is not really a Flex-specific question, but its driving me crazy and I haven't found an answer online. In logging into a 3rd party web service (twitter actually) I get a windows or explorer-generated popup login prompt if the first login fails. Anyone seen this and know how to disable it?

[flexcoders] crossdomain issues

2010-02-15 Thread jimmy5804
Pretty simple - I have a .swf loaded via http that is accessing data from the same server using https via HTTPService. I'm using the 'url' property in the HTTPService and not using the proxy. I have the following crossdomain.xml file in the DocumentRoot of the server: ---

[flexcoders] SWF size and Framework swf/swz

2010-08-25 Thread jimmy5804
I have a relatively small swf (~60k) that uses a few Flex 4 classes. Even though the linkage type on the app is set to RSLs, and the linkage URLs of the major .swz files is set to the default Adobe URLs, the app is still loading the 600k framework swz (on every app load) from my server. If I d

[flexcoders] Re: SWF size and Framework swf/swz

2010-08-25 Thread jimmy5804
nd not nighty > Build. > > Thanks & Regards, > > Pravin Uttarwar | Perennial Systems > pravin.uttar...@... | Cell: +91 9371288080 | Tel: +91 (020) > 2421 1286 Ext:2007 > > > On 25 August 2010 17:07, jimmy5804 wrote: > > > > > > > > &g

[flexcoders] Re: SWF size and Framework swf/swz

2010-08-25 Thread jimmy5804
This is closed. Thanks for the help. For whatever reason, reinstalling the SDK fixed the issue. --- In flexcoders@yahoogroups.com, "jimmy5804" wrote: > > > Thanks for your help! I thought about that. I was using nightly builds during > beta, but right now the onl