Re: [flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread Josh McDonald
Don't know, I imagine the first step will be building or locating a dual-thumb slider :) On Wed, Aug 6, 2008 at 4:42 PM, stinasius <[EMAIL PROTECTED]> wrote: > hi josh nice example but how about using one slider with two thumbs? > > > -

Re: [flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-05 Thread Josh McDonald
s/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] compilation - what's the secret sauce?

2008-08-05 Thread Josh McDonald
OK, good to know! Cheers Alex! -Josh On Wed, Aug 6, 2008 at 2:42 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > I see special casing code in the compiler source. > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh '

Re: [flexcoders] compilation - what's the secret sauce?

2008-08-05 Thread Josh McDonald
, because builder is auto-completing the little-case tag -but won't let you cmd-click it through to mx.rpc.soap.mxml.Operation.as -Josh On Wed, Aug 6, 2008 at 2:30 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > public dynamic class WebService extends mx.rpc.soap.WebService implements &

Re: [flexcoders] compilation - what's the secret sauce?

2008-08-05 Thread Josh McDonald
x27;t hold out much hope. -Josh On Wed, Aug 6, 2008 at 2:16 PM, Douglas Knudsen <[EMAIL PROTECTED]>wrote: > Try out the web service code gen tool in FB under Data > Import Web > Service It creates a butt load of code using the low level schtuff, might > help here. > >

Re: [flexcoders] Re: Can we subclass Application yet?

2008-08-05 Thread Josh McDonald
Interesting. So either the documentation is very old, or [DefaultProperty] simply isn't inherited? Either way the docs could use updating. I'll put testing this onto my todo list :) -Josh On Wed, Aug 6, 2008 at 1:55 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > This pa

Re: [flexcoders] compilation - what's the secret sauce?

2008-08-05 Thread Josh McDonald
ort of manifest file? Is it hard-coded into the compiler, or is there another way to specify these things that I'm not aware of? Is it hard-coded to look for IMXMLSupport? Is there any actual documentation for IMXMLSupport? -Josh On Wed, Aug 6, 2008 at 1:45 PM, Alex Harui <[

[flexcoders] compilation - what's the secret sauce?

2008-08-05 Thread Josh McDonald
ar this up would definitely be appreciated! -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

[flexcoders] Re: Queer compiler error resolving

2008-08-05 Thread Josh McDonald
Ignore that last message, it seems there's some compilervoodoo going on for defining services in MXML that I'm apparently not 100% on :S On Wed, Aug 6, 2008 at 12:31 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > My code: > > > http://www.adobe.com/20

[flexcoders] Queer compiler error resolving

2008-08-05 Thread Josh McDonald
, and then gives me a parse error??? -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] Re: Can we subclass Application yet?

2008-08-05 Thread Josh McDonald
Alex - how can you use DefaultProperty for this? Doesn't the compiler stop you from using a default property on MXML root elements? -Josh On Fri, Aug 1, 2008 at 3:18 AM, Alex Harui <[EMAIL PROTECTED]> wrote: > So you can use the defaultProperty trick, but I'd just subclass

[flexcoders] ADG editable cells dataprovider

2008-08-05 Thread Josh Millstein
I have a ADG with a dataprovider that is set dynamically. I would like to be able to edit any of the cells in the datagrid but right now I can only edit cells that have information in them from the dataprovider. Problem is that when someone starts using my app there is no info in the dataprovider

Re: [flexcoders] Re: Cairngorm Event Question

2008-08-05 Thread Josh McDonald
If you're using Cairngorm, why not use the UM extension to do it? -Josh On Wed, Aug 6, 2008 at 6:12 AM, sk_acura <[EMAIL PROTECTED]> wrote: > Hi, > > I have created a Sub Class of Cairngorm Event and added a variable > for Storing the IReponder.. > > Now When th

Re: [flexcoders] Re: modifying a function at runtime

2008-08-05 Thread Josh McDonald
t;global" object. (it's global at the moment, but I don't think it's part of the spec), and implicit references will resolve to global. Now, here's hoping I explained that and didn't make matters worse :D -Josh On Tue, Aug 5, 2008 at 8:30 PM, Laurent Cozic

Re: [SPAM]Re: [flexcoders] Delay before text is updated

2008-08-05 Thread Josh McDonald
splayList() that sets the values on the components children. If the components children are UIComponents, the cycle continues in the children. If they're simply FlexSprites or MovieClips, it's now that the changes will be reflected on-screen. -Josh On Tue, Aug 5, 2008 at 6:36 PM, P

Re: [flexcoders] Delay before text is updated

2008-08-05 Thread Josh McDonald
e anything until it's done- and you should probably split it apart and schedule it in pieces :) -Josh On Tue, Aug 5, 2008 at 5:43 PM, Paul Steven <[EMAIL PROTECTED]>wrote: > Probably something really basic, but I am having trouble with delays > updating some text on screen.

Re: [flexcoders] text style in TextArea?

2008-08-04 Thread Josh McDonald
ed a list of fields, or you want RichTextEditor: http://livedocs.adobe.com/flex/3/langref/mx/controls/RichTextEditor.html -Josh On Tue, Aug 5, 2008 at 11:56 AM, markflex2007 <[EMAIL PROTECTED]>wrote: > Hi, > > I want to have text with different styles in TextArea. > > for in

Re: [flexcoders] error: DisplayObject must be a child of the caller

2008-08-04 Thread Josh McDonald
eChart), because I commented out this.removeChild(vbox) and still > get the error. > > I also know that the removeChild call works fine because I see the > LineChart in the var myChart when I put a breakpoint on it. > Any thoughts on why it might be complaining? > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] Flex class inherritance problem

2008-08-04 Thread Josh McDonald
If you're doing something that seems really simple, and you think it really should be working, like in this case, post your code. The question "Shouldn't a grandchild of Object have the same properties as a child of Object?" is unlikely to get you anything resembling useful

Re: [flexcoders] document[value]

2008-08-03 Thread Josh McDonald
t object with the name of whatever is in somevalue. -Josh On Mon, Aug 4, 2008 at 12:44 PM, flexaustin <[EMAIL PROTECTED]> wrote: > What does it mean when you see this code? document[somevalue] > > Is that finding some value in your mxml with the name somevalue? Does > document ref

Re: [flexcoders] Flex Trademarks: How do we play nice?

2008-08-03 Thread Josh McDonald
for using the > word Flex. > > And I'd also say don't look for any official adobe advice on this list > other than telling you to read the legalese. > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] Flex Trademarks: How do we play nice?

2008-08-03 Thread Josh McDonald
That PDF seems to be what I'm after, cheers :) -Josh On Mon, Aug 4, 2008 at 11:31 AM, Daniel Freiman <[EMAIL PROTECTED]> wrote: > I'm sure you were looking for a plan English answer, but since I'm only > an ex-proto-laywer myself, the best I'm going to do is thi

[flexcoders] Flex Trademarks: How do we play nice?

2008-08-03 Thread Josh McDonald
. Decided not to email off-list as I'm sure some other people will be interested in the same info! -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] Re: Overriding function not marked for override? Why ...

2008-07-31 Thread Josh McDonald
Not sure I follow what you want, but could you manipulate a view of your data, rather than having to mess about with charting internals? I don't know much about charting so I don't know how much you can customize without getting into the secret sauce :) -Josh On Fri, Aug 1, 2008

Re: [flexcoders] Re: Eli Greenfield's Randomwalk

2008-07-31 Thread Josh McDonald
Don't know, could be the best way is add support for a special case renderer for the last column, or you could just build that functionality into the renderer itself, I don't know enough to say which would be easier / better :) -Josh On Fri, Aug 1, 2008 at 2:14 PM, Amy <[EMAIL PROT

Re: [flexcoders] Re: Eli Greenfield's Randomwalk

2008-07-31 Thread Josh McDonald
Should be easy enough just using a tileList as the renderer for the last column? -Josh On Fri, Aug 1, 2008 at 1:48 PM, Amy <[EMAIL PROTECTED]> wrote: > --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > > > The source code eithe

Re: [flexcoders] Re: Overriding function not marked for override?

2008-07-31 Thread Josh McDonald
that doesn't require modifying any framework code. -Josh On Fri, Aug 1, 2008 at 12:13 PM, zyzzx00_99 <[EMAIL PROTECTED]> wrote: > If you need to override functions in framework components that are > private (or what have you), why not just copy all of the code from &g

Re: [flexcoders] Re: A simple component in AS - Setting height Issues

2008-07-31 Thread Josh McDonald
s@yahoogroups.com > *Subject:* [flexcoders] Re: A simple component in AS - Setting height > Issues > > > > Thanks for your replay...that could be make the component more big > and slow? > > I'd love to see how to set the textArea height dynamically after > setting th

Re: [flexcoders] Re: A simple component in AS - Setting height Issues

2008-07-31 Thread Josh McDonald
Oh right, sorry I misread your post! I thought you were talking about a Text component rather than a TextArea component. -Josh On Fri, Aug 1, 2008 at 12:27 PM, flexawesome <[EMAIL PROTECTED]> wrote: > Thanks for your replay...that could be make the component more big > and slow? >

Re: [flexcoders] Determine client performance (not with any accuracy)?

2008-07-31 Thread Josh McDonald
Yeah you're right, I'll look into using ENTER_FRAME. I won't be starting on this for a week or so I think, but I'll post the performance-monitoring code somewhere when I do. -Josh On Fri, Aug 1, 2008 at 12:03 PM, Daniel Gold <[EMAIL PROTECTED]> wrote: > Hmmm,

Re: [flexcoders] A simple component in AS - Setting height Issues

2008-07-31 Thread Josh McDonald
> > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

[flexcoders] Determine client performance (not with any accuracy)?

2008-07-31 Thread Josh McDonald
and more if it's not. Or even to switch from the PPV3D to a simpler 2d scaling based approach on slower systems. Any ideas? -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] How to block user interaction?

2008-07-31 Thread Josh McDonald
How do you sleep at night, Doug? :) BTW I'm currently messing about with your Coverflow for a 2-hour proof-of-concept thing. It's hella nice! -Josh On Fri, Aug 1, 2008 at 10:51 AM, Doug McCune <[EMAIL PROTECTED]> wrote: > I'm currently working on a preloader that actu

Re: [flexcoders] Re: Overriding function not marked for override?

2008-07-31 Thread Josh McDonald
roperty and you mess with it, things will almost certainly break. -Josh On Fri, Aug 1, 2008 at 10:06 AM, chigwell23 <[EMAIL PROTECTED]> wrote: > Yes Josh it is protected read-only why would the flex developers > intentionally cripple the functionality like this? Rhetorical questio

Re: [flexcoders] Types in Web Services

2008-07-31 Thread Josh McDonald
I don't think changing the type in Java will fix your problem, it's probably a problem in the data you're sending back, or your WSDL / XSD. Double check everything using a debugging proxy like Charles. -Josh On Fri, Aug 1, 2008 at 2:55 AM, Carlos Obregón <[EMAIL PROTECTED]&g

Re: [flexcoders] Re: Overriding function not marked for override?

2008-07-31 Thread Josh McDonald
If it's a protected read-only, you won't be able to expose it without monkey-patching the original file, as _renderData is almost certainly going to be private, so you can never set it. -Josh On Fri, Aug 1, 2008 at 8:37 AM, Amy <[EMAIL PROTECTED]> wrote: > --- In flexcod

Re: [flexcoders] Re: Any future plans to support ODBC Connections for AIR applications?

2008-07-31 Thread Josh McDonald
you're stuck with .net for the forseeable future. -Josh On Fri, Aug 1, 2008 at 5:09 AM, pbrendanc <[EMAIL PROTECTED]> wrote: > I understand the tcp approach but that's just a really > roundabout/indirect approach vs a direct db connection of some sort > (maybe native driver

Re: [flexcoders] Re: Sandbox violation running from Builder. How did I get this and how do I fix it?

2008-07-31 Thread Josh McDonald
rties. The rest need to be svn ignore. -Josh On Fri, Aug 1, 2008 at 1:15 AM, Laurent Cozic <[EMAIL PROTECTED]> wrote: > Did you try putting your "assets" directory inside "src"? I think that > should work fine. > > -- Laurent Cozic > > Flash, Flex and We

Re: [flexcoders] Re: Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-31 Thread Josh McDonald
ot to use ;-), so maybe it's > just me. > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

[flexcoders] SQL crashing program

2008-07-31 Thread Josh Millstein
I have this weird deal going on right now. I'm running through a for loop creating a bunch of sql statements (within an exclusive transaction) with eventlisteners for the results and errors. The result eventlistener is relaying the status of the progress through the sql statements ("record x of y

Re: [flexcoders] Any future plans to support ODBC Connections for AIR applications?

2008-07-31 Thread Josh McDonald
world seem to be used to that sort of thing. Sounds like pain though :D -Josh On Thu, Jul 31, 2008 at 5:45 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > It's pretty evil. I'd just ship a 30-lines-of-c# utility to pull the data > out and put it in something standard that

Re: [flexcoders] Any future plans to support ODBC Connections for AIR applications?

2008-07-31 Thread Josh McDonald
It's pretty evil. I'd just ship a 30-lines-of-c# utility to pull the data out and put it in something standard that your air app can understand. -Josh On Thu, Jul 31, 2008 at 5:19 PM, pbrendanc <[EMAIL PROTECTED]> wrote: > I know this has come up before but there is a

Re: [flexcoders] Can we subclass Application yet?

2008-07-31 Thread Josh McDonald
e around where Adobe don't want us :) http://www.gfunk007.com/flex/evil/ There are probably nicer ways to do this, but we very quickly run into overriding things that upset the byte code verifier :'( -Josh On Thu, Jul 31, 2008 at 4:07 PM, Alex Harui <[EMAIL PROTECTED]> wrote

Re: [flexcoders] Re: Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-30 Thread Josh McDonald
Of course you'll have to switch to an asynchronous analogue of getDefinitionByName if you're loading SWFs on demand like JARs. -Josh On Thu, Jul 31, 2008 at 10:19 AM, Steve Mathews <[EMAIL PROTECTED]> wrote: > You can compile a class into an external swf and load that, then

Re: [flexcoders] Detecting a click on an empty part of AdvancedDataGrid

2008-07-30 Thread Josh McDonald
Off the top of my head, you could schedule a function that sets selectedItem to null either with callLater or a timer, and cancel that somehow on itemClick? Kinda hackish though, there's probably a nicer way :) -Josh On Thu, Jul 31, 2008 at 9:27 AM, whatabrain <[EMAIL PROTECTED]>

Re: [flexcoders] Re: Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-30 Thread Josh McDonald
You can tell the compiler to include any class you want, as well as whatever it thinks you want, right? Or is that only valid for SWCs? -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] Re: Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-30 Thread Josh McDonald
x27;t in the room, you > > won't answer. > > > > Maybe there could be a compiler switch that says something like "if I > imported it, assume that _I_ know I'll be using it... > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] Re: Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-30 Thread Josh McDonald
gt; > > > > My colleagues will tell you that I swear at the computer too, and pound > my desk and flop on the ground and cry. You should try the latter two, they > kinda feel good sometimes. > > We keep Alex in a row by himself for this reason. > _ > > >

Re: [flexcoders] Can we subclass Application yet?

2008-07-30 Thread Josh McDonald
iler. I might take a look at that over the weekend along with some component lifecycle stuff I want to put together to blog about. -Josh On Thu, Jul 31, 2008 at 9:25 AM, Alex Harui <[EMAIL PROTECTED]> wrote: > Template apps, just like html templates. I want every app to have a >

Re: [flexcoders] Can we subclass Application yet?

2008-07-30 Thread Josh McDonald
;t poked around into that part of the compiled actionscript. -Josh On Thu, Jul 31, 2008 at 9:37 AM, Tracy Spratt <[EMAIL PROTECTED]> wrote: > Ah, I remember now, I never put visual children in my subclass, only code > and faceless components. > > > > Tracy > > >

Re: [flexcoders] Can we subclass Application yet?

2008-07-30 Thread Josh McDonald
Frankly I'm moving towards the root Application having nothing but enough code to initiate framework bootstrapping and instantiate the "home" component when bootstrapping is completed anyway. -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for the

Re: [flexcoders] Can we subclass Application yet?

2008-07-30 Thread Josh McDonald
Makes sense, since you're overriding Container._childDescriptors anyway. But why on earth would you *want* to do this? -Josh On Thu, Jul 31, 2008 at 9:08 AM, Alex Harui <[EMAIL PROTECTED]> wrote: > Any attempt to subclass an MXML Component based on a container to add > oth

Re: [flexcoders] Can we subclass Application yet?

2008-07-30 Thread Josh McDonald
I'm confused. You subclass Application every time you create a new Flex app, and in MXML. What problems are there to speak of? -Josh On Thu, Jul 31, 2008 at 6:08 AM, Alex Harui <[EMAIL PROTECTED]> wrote: > You can certainly subclass Application via AS. Are you trying to d

Re: [flexcoders] Canvas event

2008-07-30 Thread Josh McDonald
You can try setting mouseChildren="false" on the outer Canvas. -Josh On Wed, Jul 30, 2008 at 8:08 PM, David Gironella <[EMAIL PROTECTED]>wrote: > I have this piece of code. > > > > mouseOut="{*trace*(*'out'*)}" backgroundColor="0x342453

Re: [flexcoders] Re: Checking if an object exists

2008-07-30 Thread Josh McDonald
this exception, try using the "Variables" window in the debugger to help track down what it is that's giving you curry! -Josh On Wed, Jul 30, 2008 at 4:43 PM, Rafael Faria <[EMAIL PROTECTED]>wrote: > For instance > > parentApplication.appData['moduleParams'

Re: [flexcoders] Height Question

2008-07-29 Thread Josh McDonald
t of > the biggest set of children that has been added since launch time. > > Any ideas? > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYah

Re: [flexcoders] Re: HttpService Fault Response Body Decoding

2008-07-29 Thread Josh McDonald
Your blazeds http transport is going fine, otherwise you wouldn't see anything in message, faultcode, etc. The problem is either in the proxy server itself, or the server you're trying to talk to. -Josh On Tue, Jul 29, 2008 at 3:33 PM, ron_mori <[EMAIL PROTECTED]> wrote: >

Re: [flexcoders] Re: Error #1034 - HashMap convert to ActionScript?

2008-07-29 Thread Josh McDonald
for (var key:* in myObject) { var value:* = myObject[key]; } for..in does keys, for each..in does values. -Josh On Tue, Jul 29, 2008 at 5:07 PM, cyrill.zadra <[EMAIL PROTECTED]>wrote: > Hi everybody, > > The debug log of BlazeDS shows that the java.util.HashMap get's >

Re: [flexcoders] modelLocator.testVO.test[i] indirection for modelLocator.testVO.test1?

2008-07-28 Thread Josh McDonald
Close :) You want: modelLocator.testVO.["test" + i] -Josh On Tue, Jul 29, 2008 at 4:06 PM, chigwell23 <[EMAIL PROTECTED]> wrote: > modelLocator.testVO.test1 = "some string"; > > var i:int = 1; > > modelLocator.testVO.test[i]= "some string"; /

Re: [flexcoders] Checking if an object exists

2008-07-28 Thread Josh McDonald
Also, you can check: if (1 in archive[record_id]) { //do stuff } -Josh On Tue, Jul 29, 2008 at 2:32 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > If it's an array, then you want: > > if(archive[record_id].length > 1) > { > //do stuff > } > > -Josh

Re: [flexcoders] Checking if an object exists

2008-07-28 Thread Josh McDonald
If it's an array, then you want: if(archive[record_id].length > 1) { //do stuff } -Josh On Tue, Jul 29, 2008 at 2:05 PM, Rafael Faria <[EMAIL PROTECTED]>wrote: > Hello all, > > I'm here for one of my questions again :P > > I need to make a comparison l

Re: [flexcoders] Re: HttpService Fault Response Body Decoding

2008-07-28 Thread Josh McDonald
#x27;m fairly certain that's how it works. -Josh On Tue, Jul 29, 2008 at 3:53 AM, ron_mori <[EMAIL PROTECTED]> wrote: > Josh, > Thanks for the reply - the mystery is how to access the server > response body content for a faultEvent. My proxy server does a great > job of for

Re: [flexcoders] Re: HttpService Fault Response Body Decoding

2008-07-27 Thread Josh McDonald
That should be taken care of automatically when using BlazeDS as a proxy. -Josh On Mon, Jul 28, 2008 at 3:43 PM, ron_mori <[EMAIL PROTECTED]> wrote: > The fault handler is being call. (server 500 status) The good news > is that my research points me towards the BlazeDS proxy se

Re: [flexcoders] Re: Web-based Sync data - Flex/Air & VS.NE

2008-07-24 Thread Josh McDonald
nc is to > install a program in desktop. Then, > any benefit of AIR is better than > Microsoft'stuf ? Sorry, it is a management > question so that we can sell our management > while our other development is on MS platform. > Inshort, any good point in AIR which is better ? > > Th

Re: [flexcoders] Re: Web-based Sync data - Flex/Air & VS.NET

2008-07-24 Thread Josh McDonald
We know plenty about AIR, but you're in the wrong place to ask about Silverlight I think. -Josh On Fri, Jul 25, 2008 at 2:45 PM, itdanny2002 <[EMAIL PROTECTED]> wrote: > Cross Platform - depends on application. Our siutation - don't mind > Cheaper - we bought VS.net alread

Re: [flexcoders] Re: Web-based Sync data - Flex/Air & VS.NET

2008-07-24 Thread Josh McDonald
n and Linux, whereas Silverlight is Mac / Win (client plugin) only, development is Win only. Also the AIR equivalent may even be windows-clients only. Personally I avoid anything that means I'm stuck with any one platform. I like choice, what if the next Windows / OS X is awful? -Josh On Fri

Re: [flexcoders] Re: alert button order

2008-07-24 Thread Josh McDonald
I often mimic Alert with a mxml component based on tileWindow, and just add a static show method that calls out to PopupManager.createPopup() and centrePopup(), it's easy as pie. -Josh On Fri, Jul 25, 2008 at 11:36 AM, lampei <[EMAIL PROTECTED]> wrote: > I guess you could use th

Re: [flexcoders] Re: new Component() ?

2008-07-24 Thread Josh McDonald
t make sense for your use case. -Josh On Fri, Jul 25, 2008 at 10:14 AM, Rafael Faria <[EMAIL PROTECTED]> wrote: > I found this class > > package modules.renderers > { >import mx.core.ClassFactory; > >import org.osflash.thunderbolt.Logger;

Re: [flexcoders] Web-based Sync data - Flex/Air & VS.NET

2008-07-24 Thread Josh McDonald
t; Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] HttpService Request Parmeters

2008-07-24 Thread Josh McDonald
You can POST arbitrary xml data to HttpService. What you can't do is anything other than GET or POST which makes interacting with most (true) REST services difficult or impossible. -Josh On Fri, Jul 25, 2008 at 10:23 AM, ron_mori <[EMAIL PROTECTED]> wrote: > Coders, > > Thi

Re: [flexcoders] Re: new Component() ?

2008-07-24 Thread Josh McDonald
o looked at describeType for newInstance() - it seems it's creating a proper subclass of Canvas, in the global namespace. The MXMLC compiler is smart enough to resolve and compile the following: var t:NewComponent = new NewComponent(); But Builder's not smart enough to ctrl-click to t

Re: [flexcoders] Re: new Component() ?

2008-07-23 Thread Josh McDonald
If you have: You get a subclass of Canvas named MyClass, and a local public scoped instance of an IFactory called inlineEditor, right? -Josh On Thu, Jul 24, 2008 at 3:36 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > If you've defined a component via , the name is > auto-

[flexcoders] NullPointerException from ant task.

2008-07-23 Thread Josh McDonald
Hey Guys, Can't seem to google up an answer for this besides an old closed bug. When my build file gets to: I get a NullPointerException. All I get from ant is this: wrapper: BUILD FAILED /Users/josh/Desktop/Work/Builder Workspace/DisposalsRCC/build.x

Re: [flexcoders] Re: Encapsulating a custom flex component?

2008-07-23 Thread Josh McDonald
You're almost right. [Exclude] doesn't affect the compiled code at all - it only affects the introspector built into Builder, and ASDoc generation. It's different from "private". -Josh On Thu, Jul 24, 2008 at 11:17 AM, Sid Maskit <[EMAIL PROTECTED]> wrote: >

Re: [flexcoders] Re: new Component() ?

2008-07-23 Thread Josh McDonald
But what exactly are you trying to achieve? If you're just displaying text, but it needs to be different to the field data, what you need is a labelFunction, not an itemRenderer. -Josh On Thu, Jul 24, 2008 at 10:34 AM, Rafael Faria <[EMAIL PROTECTED]> wrote: > Hi Pedro, > > How do

Re: [flexcoders] Re: new Component() ?

2008-07-23 Thread Josh McDonald
I don't see why you don't just use like in your first example? You don't need to make any extra files. Or are you building your entire datagrid programatically? -Josh On Thu, Jul 24, 2008 at 9:16 AM, Rafael Faria <[EMAIL PROTECTED]> wrote: > Hi Johannes, > >

Re: [flexcoders] Re: Encapsulating a custom flex component?

2008-07-23 Thread Josh McDonald
Damn, why didn't I think of that? I'd been trying to think of ways to do that for ages a few months ago, trying to clean up the ctrl-space on some APIs :) -Josh On Thu, Jul 24, 2008 at 8:40 AM, Sid Maskit <[EMAIL PROTECTED]> wrote: > I just found this blog post which seems

Re: [flexcoders] Measurement and scrolling

2008-07-23 Thread Josh McDonald
It's something I keep needing, so very soon I'm going to cook up an example of a "one-child-only" container that will behave the way I think they should regarding vertical scrollbars. Will post a link :) -Josh On Wed, Jul 23, 2008 at 11:12 PM, Richard Rodseth <[EMAIL PR

Re: [flexcoders] Measurement and scrolling

2008-07-22 Thread Josh McDonald
dding scrollbars to a container. -Josh On Wed, Jul 23, 2008 at 3:02 PM, Richard Rodseth <[EMAIL PROTECTED]> wrote: > Below is code for a scrolling container of one child - a highly > simplified version of the tiling container I've been wrestling with > off and on for way to

Re: [flexcoders] Encapsulating a custom flex component?

2008-07-22 Thread Josh McDonald
Not in MXML components. -Josh On Wed, Jul 23, 2008 at 9:53 AM, Nate Beck <[EMAIL PROTECTED]> wrote: > Newbish question... but after searching on google, I can't get a concise > answer. > > Is it possible to encapsulate (mark private) components within a Flex > compo

Re: [flexcoders] Dynamic change edit status of TextImput

2008-07-17 Thread Josh McDonald
.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] Container is not resizing when parent resizes

2008-07-17 Thread Josh McDonald
As a guess, you're probably setting width and height somewhere instead of calling setActualSize(width, height); -Josh On Fri, Jul 18, 2008 at 9:12 AM, wwwpl <[EMAIL PROTECTED]> wrote: > I created a custom component that extends Container. I have set the > width and height

Re: [flexcoders] dynamic variables query

2008-07-17 Thread Josh McDonald
You can still do that, but only on dynamic objects :) anything that is defined as: public dynamic class MyDynamicClass var dynamicObject = new MyDynamicClass(); var dynamicObject2 = new Object(); var dynamicObject3 = {}; -Josh On Fri, Jul 18, 2008 at 10:05 AM, andrewedwards39 <[EM

Re: [flexcoders] Re: Comparing two array collections

2008-07-17 Thread Josh McDonald
I'd create a util class listens to CollectionChangeEvents from your collection and keeps a list of what's added, a list of what's dirty, and a list of what's removed. It'd probably take 2 hours to write and be a pretty useful util class. -Josh On Fri, Jul 18, 2008

Re: [flexcoders] Re: creating a World Clock and need a little help with the time and date

2008-07-17 Thread Josh McDonald
The .net Date stuff will work sensibly and probably just like Flash's, so I'd start with copying their code and work from there :) -Josh On Thu, Jul 17, 2008 at 10:37 PM, Mark <[EMAIL PROTECTED]> wrote: > I agree with you 100% Josh but the better ones want the all might

Re: [flexcoders] Re: Dates Display Wrong on Random Clients?

2008-07-17 Thread Josh McDonald
;clean" fix is that when you need a client in timezone X to see a time as it is in timezone Y (the server / business), you can either include the server's timezone offset in your response (nicer), or parse the date yourself ignoring the timezone info (seems kludgey to me). -Josh On Fr

Re: [flexcoders] Re: HTTP Service Send Requests with Parameter Object - 405 Errors?

2008-07-17 Thread Josh McDonald
s[key]); } And doesn't use reflection. Fixed fields (those defined in non-dynamic classes) don't show up in for-in loops. More info: http://livedocs.adobe.com/flex/3/langref/statements.html#for..in http://livedocs.adobe.com/flex/3/langref/statements.html#for_each..in -Josh On Fri, Jul 1

Re: [flexcoders] Re: Custom DateChooser component.

2008-07-17 Thread Josh McDonald
but I haven't poked into the source so don't quote me, and I've no idea what effect it'll have on the skin. -Josh On Fri, Jul 18, 2008 at 4:36 AM, duncan_coutts <[EMAIL PROTECTED]> wrote: > Hi, thanks for the reply. The reason for not simply using the VBox > solution

Re: [flexcoders] Re: Is it possible to listen to *all* events without hacking the SDK?

2008-07-16 Thread Josh McDonald
Which is what makes it so great for what I want to know :D Also, *exactly* what I need to implement some framework voodoo I need next week. -Josh On Thu, Jul 17, 2008 at 3:51 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > And it won't catch everything. MouseEvents and other eve

Re: [flexcoders] Re: Is it possible to listen to *all* events without hacking the SDK?

2008-07-16 Thread Josh McDonald
o the dispatchEventHook property. > It takes two params the event and the target and is called > immediately prior to the actual dispatch. > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] Is it possible to listen to *all* events without hacking the SDK?

2008-07-16 Thread Josh McDonald
Thanks Doug, I figured that'd be the answer. Not against monkey patching by any means (we use a few atm to fix bugs in SOAP code), just wanted to check first to see if there was a secret way to do it that I didn't know about before I go and mess about with FlexSprite :) -Josh On T

[flexcoders] Is it possible to listen to *all* events without hacking the SDK?

2008-07-16 Thread Josh McDonald
I have in mind ;-) -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] Array reference vs values

2008-07-16 Thread Josh McDonald
to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] Array reference vs values

2008-07-16 Thread Josh McDonald
On Thu, Jul 17, 2008 at 11:55 AM, Darren Houle <[EMAIL PROTECTED]> wrote: > Josh > > Yes, what you're describing is exactly what I described and is, in fact, > what it happening... but to say I don't ever need to do this? Well... > yes... I need to do this... an

Re: [flexcoders] Array reference vs values

2008-07-16 Thread Josh McDonald
ref". So when you set ref = null, you're making "ref" point to nothing. "date" and "arr[0]" remain unchanged. You don't need to, nor can you remove the date instance created above. That's the job of the garbage collector. -Josh On Thu, Jul 17, 2008 at 11

Re: [flexcoders] Help with ActionScript class in Flex 3

2008-07-16 Thread Josh McDonald
will probably make it harder to learn Flex if you're new to both of them. I'd suggest googling for some Flex related ActionScript primers. -Josh On Thu, Jul 17, 2008 at 10:09 AM, brucewhealton <[EMAIL PROTECTED]> wrote: > Hello all, >I'm not sure why this partic

Re: [flexcoders] Re: Anyone have a good resource on singletons?

2008-07-16 Thread Josh McDonald
; Function (ie no side-effects) should be seriously thought over. -Josh On Thu, Jul 17, 2008 at 9:11 AM, Maciek Sakrejda <[EMAIL PROTECTED]> wrote: > For what it's worth, that doesn't pollute the global namespace, Josh. > Things within a file outside of the package declared in

Re: [flexcoders] Re: Anyone have a good resource on singletons?

2008-07-16 Thread Josh McDonald
Make that *public* static function init (root : DisplayObject) http://nondocs.blogspot.com/2007/04/metadatamixin.html -Josh On Thu, Jul 17, 2008 at 8:44 AM, Josh McDonald <[EMAIL PROTECTED]> wrote: > **Rant (and code) follows** > > Ew, I hate that pattern. Well I'm not

Re: [flexcoders] Re: Anyone have a good resource on singletons?

2008-07-16 Thread Josh McDonald
y = Math.random(); } function SingletonClass(key : Number) { if (key != __enforceSingletonKey) throw new Error("Don't instantiate me bro!"); } public static function get instance() : SingletonClass { if (!__instance) __instance = new SingletonClass(__enforceS

Re: [flexcoders] HTTP Service Send Requests with Parameter Object - 405 Errors?

2008-07-16 Thread Josh McDonald
405 Method not allowed means your server is refusing to accept the POST HTTP Method. -Josh On Thu, Jul 17, 2008 at 7:43 AM, pbrendanc <[EMAIL PROTECTED]> wrote: > The Flex docs specify that the send object can contain either Name/Value > pairs of an XML object but I keep getting err

<    1   2   3   4   5   6   7   8   9   10   >