Re: [flexcoders] Using subclassed flex controls in mxml

2008-07-16 Thread Josh McDonald
Also, technically it doesn't have to be the root node, but it's usually a damned good idea :) -Josh On Thu, Jul 17, 2008 at 8:11 AM, Josh McDonald <[EMAIL PROTECTED]> wrote: > It'll be whatever namespace you define in your root node. For example (from > a fi

Re: [flexcoders] Using subclassed flex controls in mxml

2008-07-16 Thread Josh McDonald
;s say I subclass a control, like DataGrid: > package myStuff { > public class CustomGrid extends CDataGrid {} > } > > How do I instantiate it in an mxml file? I tried these but they didn't > work: > > > > Thanks for all your help! This group is making my tran

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

2008-07-16 Thread Josh McDonald
nd we disappeared like 13 days or something? Anybody proving information of such a monstrously non-standard fashion should also be providing some serious documentation and/or pseudocode. -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh &#

Re: [flexcoders] Re: Trouble with hand cursor over mx:Text

2008-07-16 Thread Josh McDonald
ursor? Or some div class in some htmlText? If the first, why not just set mouseChildren on instances? If the latter, why not just insert some tags with a regex or something? -Josh On Thu, Jul 17, 2008 at 2:13 AM, whatabrain <[EMAIL PROTECTED]> wrote: > Ah. I had mouseChildren=true. Mus

Re: [flexcoders] Re: Flex blog topics - what should I write about?

2008-07-16 Thread Josh McDonald
Thanks Doug, there's a bunch of good ideas in there! Now all I need to do is get this flaming move over and done with, and one day I might even get my DSL reconnected :) -Josh On Thu, Jul 17, 2008 at 1:43 AM, Doug McCune <[EMAIL PROTECTED]> wrote: > Oh my god. Please please pleas

Re: [flexcoders] Re: Custom Components - updateDisplay results in ghost children drawn

2008-07-16 Thread Josh McDonald
poke around inside and see what it's doing wrong. -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] dynamically referring to UIComponents...

2008-07-15 Thread Josh McDonald
The snippet "UIComponent('b0')" is attempting to cast the string 'b0' to a UIComponent. I'm not really sure what you're trying to do, but you may be looking for: UIComponent(b0); or: UIComponent(this['b0']); Could you post some more informatio

Re: [flexcoders] Trouble with hand cursor over mx:Text

2008-07-15 Thread Josh McDonald
http://flex.joshmcdonald.info/2008/07/how-to-force-hand-cursor-in-custom.html -Josh On Wed, Jul 16, 2008 at 9:12 AM, whatabrain <[EMAIL PROTECTED]> wrote: > The only way I'm able to show the hand cursor over an mx:Text element is > if I both define the cursor in the styl

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

2008-07-15 Thread Josh McDonald
lly dodgey) Date parsing code so I can probably help you out. -Josh On Wed, Jul 16, 2008 at 4:22 AM, javadmanx <[EMAIL PROTECTED]> wrote: > This post seems to sum up the issue. Anyone have a better answer to > the solution? Is there a simple fix? > > > http://www.axelscript

Re: [flexcoders] Custom Components - updateDisplay results in ghost children drawn

2008-07-15 Thread Josh McDonald
away. Also in updateDisplayList you want to set the actual size of the label to the minimu of it's measured size and unscaledWidth x unscaledHeight. -Josh On Wed, Jul 16, 2008 at 2:07 AM, polestar11 <[EMAIL PROTECTED]> wrote: > Hi > > I've been working with custom compo

Re: [flexcoders] Custom DateChooser component.

2008-07-15 Thread Josh McDonald
something similar to access it? That's what I did when I wanted to add a "null this field" button to DateField. -Josh On Wed, Jul 16, 2008 at 1:12 AM, duncan_coutts <[EMAIL PROTECTED]> wrote: > Hi there. I am required to build a extended version of the DateChooser > compo

[flexcoders] Printing title with adg

2008-07-15 Thread Josh Millstein
to a container that has the title and stuff above I lose the multipage stuff, but if I just print out the adg with printadg I don't get a title. Is there something I can do here? Thanks, Josh -- [EMAIL PROTECTED]

Re: [flexcoders] Ant tasks and spaces in paths?

2008-07-14 Thread Josh McDonald
he Labs wiki to updated it to that effect. And the new ant tasks handle spaces in directories and constants just fine now :) On Tue, Jul 15, 2008 at 1:12 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > OK The zip linked from that page is *definitely* old and busted, I'll do > mor

Re: [flexcoders] When not to use weak references?

2008-07-14 Thread Josh McDonald
Now that I've been corrected on what the weak listeners *actually* do, I definitely agree on using weak references against long-life objects when possible =) -Josh On Tue, Jul 15, 2008 at 3:17 PM, Tim Rowe <[EMAIL PROTECTED]> wrote: > Strong references don't cause memory le

Re: [flexcoders] When not to use weak references?

2008-07-14 Thread Josh McDonald
Dammit, I think I had the wrong end of the stick WRT weak listeners. I thought it was so keeping the listener alive didn't keep the listened object alive, rather than the other way around. My bad - I hate when that happens. Hope I didn't give anybody bad advice! :) -Josh On Tue, Jul 1

Re: [flexcoders] When not to use weak references?

2008-07-14 Thread Josh McDonald
x27;t like the idea of the Timer instance only being available within the event handlers :) A listener will always get called if the object it's listening to is still around though right? Weak reference or no? -Josh On Tue, Jul 15, 2008 at 2:43 PM, Tim Rowe <[EMAIL PROTECTED]> wrote: >

Re: [flexcoders] Access of undefined property flash.media.sound

2008-07-14 Thread Josh McDonald
Not tested for compilability :) http://www.adobe.com/2006/mxml"; creationComplete="kickstart()" layout="vertical"> -Josh On Tue, Jul 15, 2008 at 2:17 PM, Sherif Abdou <[EMAIL PROTECTED]> wrote: > You cant have any calling of

Re: [flexcoders] When not to use weak references?

2008-07-14 Thread Josh McDonald
have not read anything that suggests when you should use > strong reference over the weak one, and the down side to using weak > references. > > Any ideas when being weak is not bad thing? :) > > - boon > > __ > -- "Therefore, send not to know For whom the bell t

Re: [flexcoders] Ant tasks and spaces in paths?

2008-07-14 Thread Josh McDonald
OK The zip linked from that page is *definitely* old and busted, I'll do more poking around with the new one. Anybody here have edit permission for that page in the labs Wiki, or at least know who I can email to let them know? -Josh On Tue, Jul 15, 2008 at 12:41 PM, Josh McDonald &l

Re: [flexcoders] How appropriate is it using mx_internal ?

2008-07-14 Thread Josh McDonald
ware any complaints will likely fall on deaf ears if the internal APIs change and your stuff breaks :) -Josh On Tue, Jul 15, 2008 at 11:42 AM, Manu Dhanda <[EMAIL PROTECTED]> wrote: > > Yes, for me as well, it's for custom components. > > So, what could be the better way a

Re: [flexcoders] Flex, Cairngorm & callback function

2008-07-14 Thread Josh McDonald
k (parts of which will be OSS in the near future), but it rubs some people the wrong way. I'd like to know if there's any other nicer (coupling-wise) method people are using in order to be notified of completion / failure of whatever action a view kicks off? -Josh -- "There

Re: [flexcoders] Ant tasks and spaces in paths?

2008-07-14 Thread Josh McDonald
nd see if I can figure out how to fix it :) Thanks for the info. -Josh On Tue, Jul 15, 2008 at 11:24 AM, Gordon Smith <[EMAIL PROTECTED]> wrote: > > The Ant tasks aren't part of the SDK proper though, are they? > > > > Yes, they are. In the zipped SDK the source code and

Re: [flexcoders] [CONTRACT] Flex/AIR Developer for short-term project in Chicago

2008-07-14 Thread Josh McDonald
http://tech.groups.yahoo.com/group/flexjobs/ -Josh On Tue, Jul 15, 2008 at 2:29 AM, Nick Collins <[EMAIL PROTECTED]> wrote: > We have a need for a senior level Flex developer who is immediately > available for a short term contract opportunity that will likely transition >

Re: [flexcoders] Re: XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-14 Thread Josh McDonald
="foo()" not onClick="foo()"... It's just the convention in mxml, you only need to learn it once, and it doesn't seem too onerous to me. -Josh On Tue, Jul 15, 2008 at 2:13 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Ok how about "onsuccess" and &q

Re: [flexcoders] Ant tasks and spaces in paths?

2008-07-14 Thread Josh McDonald
The Ant tasks aren't part of the SDK proper though, are they? What component would I file the bug against? Also, I eventually discovered that (on OS X at least) the compc task just doesn't work at all, and flexSDK/bin/compc needs to be altered :( -Josh On Tue, Jul 15, 2008 at 7:3

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

2008-07-14 Thread Josh McDonald
x27;d like. I've probably got a couple of +/- switched around, and if the ticks are seconds instead of ms knock off 3 zeros from some of those fields, but that should give you a starting point :) When you get the correct answer, please post it to the list in a follow-up to this thread. -Josh O

Re: [flexcoders] How appropriate is it using mx_internal ?

2008-07-14 Thread Josh McDonald
uot; and lets other developers as well as your future forgetful self know that that particular reference is to something that's not part of the published API. -Josh On Mon, Jul 14, 2008 at 9:56 PM, Jeffry Houser <[EMAIL PROTECTED]> wrote: > Josh, > > Your post insinuates

Re: [flexcoders] XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-14 Thread Josh McDonald
Google is your friend bro :) http://www.adobe.com/devnet/flex/quickstart/httpservice/ On Mon, Jul 14, 2008 at 8:42 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Josh McDonald wrote: > Yes I ended up doing that, but I was originally looking for was some > MXML that would do

Re: [flexcoders] Re: Ant tasks and spaces in paths?

2008-07-13 Thread Josh McDonald
Ant is resolving the symlink too, it seems, so that's no solution. -Josh On Mon, Jul 14, 2008 at 4:42 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > No love with the quotes, but in case somebody comes across this thread via > google, I've added this to our build.xml to l

Re: [flexcoders] Re: Ant tasks and spaces in paths?

2008-07-13 Thread Josh McDonald
No love with the quotes, but in case somebody comes across this thread via google, I've added this to our build.xml to let people know exactly the problem if it's not going to work: Cheers, -Josh On Mon, Jul 14, 2008 at 4:3

Re: [flexcoders] Re: Ant tasks and spaces in paths?

2008-07-13 Thread Josh McDonald
ll try that and post back. -Josh On Mon, Jul 14, 2008 at 4:07 PM, andrii_olefirenko <[EMAIL PROTECTED]> wrote: > use double quotes ("") when defining and parameters. At least it works > for Windows > and btw Flex and Flex Ant tools are free :) > > --- In flexc

Re: [flexcoders] XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-13 Thread Josh McDonald
If you look here: http://livedocs.adobe.com/flex/3/langref/mx/rpc/http/mxml/HTTPService.html You can see result and fault are shown up the top for the MXML definition. So you would have -Josh On Mon, Jul 14, 2008 at 3:33 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > There&

Re: [flexcoders] XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-13 Thread Josh McDonald
It should've worked from the MXML, can you show me what you tried? -Josh On Mon, Jul 14, 2008 at 2:49 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks. > > I tried to add the eventListener to the MXML of the HTTPservice, and I > don't see how, but I was

Re: [flexcoders] Ant tasks and spaces in paths?

2008-07-13 Thread Josh McDonald
Can't really do either, as it comes from ${basedir} There are a few areas where Flex is decidedly beta-like for a version 3 product that costs so damned much. -Josh On Mon, Jul 14, 2008 at 2:31 PM, shaun <[EMAIL PROTECTED]> wrote: > Josh McDonald wrote: > > Hey guys. >

[flexcoders] Ant tasks and spaces in paths?

2008-07-13 Thread Josh McDonald
Hey guys. There *must* be something I'm doing wrong here. In my ant build: Now src.dir is: /Users/josh/Desktop/Work/Builder workspace/PathwaysVersions/src And I'm getting the following error from Ant: command line: Error: unknown configuratio

Re: [flexcoders] XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-13 Thread Josh McDonald
There's not going to be any data in there immediately after you call send() - you need to wait (and listen) for the ResultEvent.RESULT event to occur. -Josh On Mon, Jul 14, 2008 at 1:27 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have a box in one state, I remove

Re: [flexcoders] How appropriate is it using mx_internal ?

2008-07-13 Thread Josh McDonald
I don't. That way you can tell at a glance which parts of your code reference the internal stuff (and may be pain points in the future against new framework versions). -Josh On Mon, Jul 14, 2008 at 11:37 AM, Manu Dhanda <[EMAIL PROTECTED]> wrote: > > Hi guys, > > As I am

[flexcoders] Flex blog topics - what should I write about?

2008-07-13 Thread Josh McDonald
uld like to see more written about? Keeping in mind my areas of "expertise" are mainly in custom components and some of the required voodoo, (hopefully good) application architecture practices, and the internals of the Web Service code. -Josh -- "Therefore, send not to know For who

Re: [flexcoders] Application Design

2008-07-13 Thread Josh McDonald
You don't *have* to, but it's a damn good idea :) -Josh On Mon, Jul 14, 2008 at 8:19 AM, Dan Vega <[EMAIL PROTECTED]> wrote: > That is just the local variable for that screen. I was told If I wanted to > share information with the main application i had to push it b

[flexcoders] Semi-OT: Formatting code for HTML / blog postings?

2008-07-13 Thread Josh McDonald
Hey guys, Just wondering how the bloggers amongst the group go about formatting code for display online? I'm using Blogger so I can't use wordpress plugins, and I'm on OS X so windows-only tools are out too :) Cheers, -Josh -- "Therefore, send not to know For whom the bell

Re: [flexcoders] Re: Stupid question regarding sizing of mxml components

2008-07-13 Thread Josh McDonald
Have you tried something like this? ... ... -Josh On Sun, Jul 13, 2008 at 4:01 PM, aduston1976 <[EMAIL PROTECTED]> wrote: > Hi Alex, Thank you for your reply. > > > then

[flexcoders] SQLlite limitations

2008-07-12 Thread Josh Millstein
is a problem? Thanks, Josh -- [EMAIL PROTECTED] 785-832-9154

Re: [flexcoders] Re: Putting returned xml data into ArrayCollection using Cairngorm framwork (Command Class/Delegate Class/IResponder)

2008-07-10 Thread Josh McDonald
That's right, because when you trace the ArrayCollection it converts its children to String, and your nodes have no inner text, so they toString() as "". Instead of "addItem(item)", try "addItem([EMAIL PROTECTED])" -Josh On Fri, Jul 11, 2008 at 6:57 AM

Re: [flexcoders] Refresh issues

2008-07-09 Thread Josh McDonald
It really depends on how you're logging in, and to what? -Josh On Thu, Jul 10, 2008 at 2:44 PM, Scott <[EMAIL PROTECTED]> wrote: > Ok, it kind of makes sense that I lose where I am at in my flex > application if I hit F5, but I'd like to find a way around it… > >

Re: [flexcoders] Re: Putting returned xml data into ArrayCollection using Cairngorm framwork (Command Class/Delegate Class/IResponder)

2008-07-09 Thread Josh McDonald
You're getting an ObjectProxy because you're using the "object" result format. To convert to ArrayCollection: var myArray:Array = []; for each (var img:* in result.images) { myArray.pish(img); } myCollection = new ArrayCollection(myArray); -Josh On Thu, Jul 10, 2008

Re: [flexcoders] Putting returned xml data into ArrayCollection using Cairngorm framwork (Command Class/Delegate Class/IResponder)

2008-07-09 Thread Josh McDonald
lifiedClassName(myObj)); Will help :) -Josh On Thu, Jul 10, 2008 at 10:22 AM, Tracy Spratt <[EMAIL PROTECTED]> wrote: > You can't cast ("as") unless the variable is an object that contains an > instance of what you are casting to. HTTPService will not be returning an &

Re: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Josh McDonald
ateNewUserEvent", or "SuccessfulLoginEvent" and things like that rather than "UI" events. -Josh On Thu, Jul 10, 2008 at 7:59 AM, Alex Harui <[EMAIL PROTECTED]> wrote: > It wasn't clear whether your renderer was dispatching the event or the > entire dro

[flexcoders] Web Developer SAMURAI needed -- Waltham, MA

2008-07-09 Thread Josh
Web Development Samurai You will take part in designing and building the front end of our web applications from the ground up, using today's cutting edge technologies such as Flex, Ajax, Rails, HTML, and CSS. Required Skills: + Flex, CSS, XHTML, Ajax, Javascript, ActionScript + Proven portfol

[flexcoders] Actionscript pop3 code? And what the hell is an IFBIN / why doesn't it go?

2008-07-09 Thread Josh McDonald
about? But I digress. It sure doesn't work :) Does anybody know why IFBIN doesn't work (OS X)? I'm assuming there was some server-side widget that's now dead? More importantly, does anybody actually have a copy of the pop3 code lying around they can point me to or send me o

Re: [flexcoders] Re: connecting ms access mdb files with flex 3

2008-07-08 Thread Josh McDonald
r AIR that you could use, and put all your data access in the .net side of things, but besides knowing of its existence and how it works, that's all I know about it. And shame on you for using Access ;-) -Josh On Wed, Jul 9, 2008 at 7:22 AM, Tracy Spratt <[EMAIL PROTECTED]> wrote: >

Re: [flexcoders] Re: Retrieving XML data

2008-07-08 Thread Josh McDonald
expect, always try: trace("My current node's xml is\"" + obj.toXMLString() + "\"."); It'll help you figure out where you are in your xml tree and help debug the problem with your expression. -Josh On Tue, Jul 8, 2008 at 11:48 PM, flexawesome <[EMAI

Re: [flexcoders] Flex3 WebService problem?

2008-07-08 Thread Josh McDonald
t based on the types in your WSDL / XSDs? -Josh On Wed, Jul 9, 2008 at 1:34 AM, Robert Csiki <[EMAIL PROTECTED]> wrote: > Hello, > > I found the Flex3 WebService does ignore the namespaces defined and used by > the *xsi:type* constructs when the SOAP message gets built. > &

Re: [flexcoders] Re: A good Set implementation?

2008-07-08 Thread Josh McDonald
Thanks for that, it's definitely a good starting point. -Josh On Tue, Jul 8, 2008 at 10:37 PM, dbronk <[EMAIL PROTECTED]> wrote: > A while back I found an AS3 HashMap implementation by Eric J. > Feminella. I tweeked it a little, extracted an interface that I call &g

Re: [flexcoders] Your Opinion: Best way to Load Data to your components?

2008-07-07 Thread Josh McDonald
s just a few of no doubt many different ways to approach the issue. -Josh On Tue, Jul 8, 2008 at 3:01 PM, Alan <[EMAIL PROTECTED]> wrote: > I'm building a large Flex app for the first time and I'm curious about > how often I should be sending queries to the remote database? Does

[flexcoders] Retrieve the unique identifier (@foo) the way the debugger does?

2008-07-07 Thread Josh McDonald
Say I'm inspecting something in the debugger, I get this: main.model.dao.NodeTOR (@1b1a9a51) Is there a way for the flex app to retrieve this number (which I assume is a timestamp or an encoded pointer or something) in order to use it as a unique identifier? -Josh -- "Therefore, s

[flexcoders] A good Set implementation?

2008-07-07 Thread Josh McDonald
Is there a good implementation of a Set out there, or is everybody just using Dictionary or Object with null values? Do I need custom toString() methods for everything in that case? -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk&#x

Re: [flexcoders] Re: Retrieving XML data

2008-07-07 Thread Josh McDonald
That's all I've got, I was just typing it in off the top of my head. Post your code that doesn't work, and I'll have a look. -Josh On Tue, Jul 8, 2008 at 2:00 PM, flexawesome <[EMAIL PROTECTED]> wrote: > humm..it makes sense. but... how can I modify my code accord

Re: [flexcoders] Re: Retrieving XML data

2008-07-07 Thread Josh McDonald
No worries mate. Assuming you're talking about an XMLList, this should do it: for each (var node:* in myXMLList.image) { myArray.push(node.toString()); } -Josh On Tue, Jul 8, 2008 at 1:45 PM, flexawesome <[EMAIL PROTECTED]> wrote: > hey Josh, may I get an array of strings

Re: [flexcoders] Retrieving XML data

2008-07-07 Thread Josh McDonald
That's not much of a description for your problem buddy :) Do you want to get an array of strings containing just the urls from an XMLList? Or do you just want to drop those nodes from an XML document? We need more info to be of any help. -Josh On Tue, Jul 8, 2008 at 1:34 PM, flexaw

Re: [flexcoders] width doesn't affect scaleX ?

2008-07-07 Thread Josh McDonald
on.width) > { > image.width = Application.application.width; > image.height = Math.round((image.width / origWidth) * origHeight); > } > > -radley > > > > On Jul 7, 2008, at 4:27 PM, Josh McDonald wrote: > > The width and height is part of the Flex Image component, whereas the >

Re: [flexcoders] width doesn't affect scaleX ?

2008-07-07 Thread Josh McDonald
image, but your other children would not (automatically at least). But if you achieve the size change using scaleX, the entire thing would scale. Hope that clears it up :) -Josh On Tue, Jul 8, 2008 at 9:23 AM, Radley <[EMAIL PROTECTED]> wrote: > > > If change the width of a flex

Re: [flexcoders] Problems Binding E4X to Datagrid after converting to Array Collection

2008-07-06 Thread Josh McDonald
= xmlNode.newsId; tmp.newsDate = myDateConversionFunction(xmlNode.mewsDate); tmp.newsTitle = xmlNode.newsTitle; myCollection.addItem(tmp); -Josh On Fri, Jul 4, 2008 at 9:50 PM, andrewhopkins888 < [EMAIL PROTECTED]> wrote: > I can load the arrayCollection data into a list, but cannot f

Re: [flexcoders] Re: Cannot access a property or method of a null object reference at mx.controls::Tree/::buildUpCollectionEvents()

2008-07-02 Thread Josh McDonald
You're right :) But still no exception, it works fine under HF1 and HF3. -Josh On Thu, Jul 3, 2008 at 2:51 AM, Sergey Kovalyov < [EMAIL PROTECTED]> wrote: > May be so. But I want to find relevant workaround. Unfortunately, I have > no possibility to switch the platform.

Re: [flexcoders] Get a list of all available classes?

2008-07-02 Thread Josh McDonald
F's DoABC2 block. The > SWF spec is here: > > > > http://www.adobe.com/devnet/swf/ > > > > Gordon Smith > > Adobe Flex SDK Team > > > > > -- "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: Enumerating throug container/control arrays in Flex/Actionscript?

2008-07-02 Thread Josh McDonald
hildren(child)); } currentChildren = nextChildren; } } -Josh } On Wed, Jul 2, 2008 at 5:36 PM, pbrendanc <[EMAIL PROTECTED]> wrote: > Hopefully I won't need to - however old habits die hard -maybe a > FAQ/guide for some of us older client/server developers would be useful > - Flex is a di

[flexcoders] Get a list of all available classes?

2008-07-01 Thread Josh McDonald
Hey Guys, Since a Flex app only includes classes that are referenced directly, is there a way to get a complete list of available public classes from the runtime? -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDo

Re: [flexcoders] Enumerating throug container/control arrays in Flex/Actionscript?

2008-07-01 Thread Josh McDonald
you'd want to do this though? -Josh On Wed, Jul 2, 2008 at 1:37 PM, pbrendanc <[EMAIL PROTECTED]> wrote: > In windows apps there is a control array collection that can be used > to find controls and return a handle to the appropriate object. > > What is the recommended Flex

Re: [flexcoders] Flash/Flex Info. and Advice re: Actionscript 3.0

2008-07-01 Thread Josh McDonald
Sprite is in Flash, so it's part of all Flex versions, same for MovieClip. They're just different things. Or did I miss the point of the question? -Josh On Wed, Jul 2, 2008 at 1:27 PM, brucewhealton <[EMAIL PROTECTED]> wrote: > Hello all, > I was looking at a few nice tut

Re: [flexcoders] Re: Best Practice Data Binding

2008-07-01 Thread Josh McDonald
I wasn't being a jerk here (or angry about anything). If I put effort into an explanation and it doesn't actually clear up the question, I wanna know about it so I can add to it, and hopefully do a better job next time. -Josh On Wed, Jul 2, 2008 at 12:22 AM, Josh McDonald <[EM

Re: [flexcoders] Re: Best Practice Data Binding

2008-07-01 Thread Josh McDonald
't apologise for the occasional curse word. I'm one of those types who don't really believe in "freedom from being offended". I didn't punch anybody's mum, or sleep with their sister or anything ;-) -Josh On Wed, Jul 2, 2008 at 10:21 AM, Rick Winscot <[EMAIL PROTECT

Re: [flexcoders] Sizing Components Inside Custom UIComponents

2008-07-01 Thread Josh McDonald
n the dimensions it thinks it needs to be. -Josh On Wed, Jul 2, 2008 at 9:39 AM, Alex Harui <[EMAIL PROTECTED]> wrote: > Parents size their children in Flex. You have to call setActualSize on > your children. > > > ,___ > -- "Therefore, send not to know For whom

Re: [flexcoders] New Topic?

2008-07-01 Thread Josh McDonald
You probably won't receive your original message back in the list, just replies. It usually just means there's no replies yet, and you can always check the list's web interface. IIRC, only the first N posts of any user go into the moderation queue. -Josh On Wed, Jul 2, 2008 at 9

Re: [flexcoders] Re: Cannot access a property or method of a null object reference at mx.controls::Tree/::buildUpCollectionEvents()

2008-07-01 Thread Josh McDonald
- ie. no exception is thrown. > > Could this be a bug in Flex 2.0.1? > > -- "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: Best Practice Data Binding

2008-07-01 Thread Josh McDonald
Honestly, fucked if I know how I picked all this stuff up - it's just what I do. But if my explanation left something out, that's my fault for giving a shitty explanation. Tell me in detail what you're still confused about, and I'll try and explain it :) -Josh On Tue, Jul

Re: [flexcoders] Re: Setting up custom component listener

2008-06-30 Thread Josh McDonald
I've never used ApplicationComplete, so I was just taking Jonathon's word for it :) -Josh On Tue, Jul 1, 2008 at 2:30 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > Frankly, I'm a bit puzzled. appComplete is supposed to fire after > creationComplete on the app. I'

Re: [flexcoders] Re: Setting up custom component listener

2008-06-30 Thread Josh McDonald
DAMMIT! That should read CREATIONComplete on the App :) On Tue, Jul 1, 2008 at 1:25 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > ApplicationComplete on the app would be OK too, as long as it's a component > that's visible on startup. Components inside other components o

Re: [flexcoders] Re: Setting up custom component listener

2008-06-30 Thread Josh McDonald
ApplicationComplete on the app would be OK too, as long as it's a component that's visible on startup. Components inside other components or in a ViewStack etc may not exist until they're shown. -Josh On Tue, Jul 1, 2008 at 1:05 PM, Jason <[EMAIL PROTECTED]> wrote: >

Re: [flexcoders] Re: Best Practice Data Binding

2008-06-30 Thread Josh McDonald
g, you can specify [Bindable(event="PropertyChangeEvent")] on a getter, and you'll still need to dispatch your own PropertyChangeEvents from the setter or from anywhere else. It lets you be a specific as to what's changed in the object without having a bunch of custom named even

Re: [flexcoders] WebService call with more than one argument in call

2008-06-30 Thread Josh McDonald
You want: myService.myOperation.arguments = { parm1: value1, parm2: value2 }; myService.myOperation.send(); -Josh On Mon, Jun 30, 2008 at 5:39 PM, dsb1971 <[EMAIL PROTECTED]> wrote: > Hello group, > > I am new to Flex and try to play around with WebServcies. Everything > is o

Re: [flexcoders] List for SDK development?

2008-06-29 Thread Josh McDonald
Thanks Matt, that's exactly what I was looking for. -Josh On Mon, Jun 30, 2008 at 2:49 PM, Matt Chotin <[EMAIL PROTECTED]> wrote: > You mean for the Flex SDK itself? > http://www.adobeforums.com/webx/.3c060fa3/ > > Matt > > > On 6/29/08 8:00 PM, "Jos

Re: [flexcoders] Re: A very simple component in AS :(

2008-06-29 Thread Josh McDonald
ttention to the protected overrides, and to the invalidateXXX() methods. -Josh On Mon, Jun 30, 2008 at 1:45 PM, flexawesome <[EMAIL PROTECTED]> wrote: > right, I am reading the help file. :) If you could poste some > tutorials of components in AS, that would be great :) ( I didn't fi

[flexcoders] List for SDK development?

2008-06-29 Thread Josh McDonald
Hey guys, Just a quick question - is there a list for SDK development stuff? A place I can ask questions regarding the tests, procedures for adding things that broaden the API, best practices, etc instead of clogging up this list? -Josh -- "Therefore, send not to know For whom the bell

Re: [flexcoders] Re: A very simple component in AS :(

2008-06-29 Thread Josh McDonald
asure(), but set them using setActualSize(), not by setting the width and height. Position them with move() * There's a lot of good tutorials out there, google is your friend :) -Josh On Mon, Jun 30, 2008 at 12:03 PM, flexawesome <[EMAIL PROTECTED]> wrote: > thank you Josh, I am giv

Re: [flexcoders] what is PropertyChangeEventt.PROPERTY_CHANGE used for?

2008-06-29 Thread Josh McDonald
event of name PropertyChangeEvent.PROPERTY_CHANGE, they just assume the entire object has been updated and update all bindings to that object. All just a guess tho ;-) -Josh On Mon, Jun 30, 2008 at 11:48 AM, Aaron Miller < [EMAIL PROTECTED]> wrote: > Hello, > > when I do this: &g

Re: [flexcoders] A very simple component in AS :(

2008-06-29 Thread Josh McDonald
void { _txt.move(0,0); _txt.setActualSize(Math.min(_txt.measuredWidth, w), Math.min(_txt.measuredHeight, h)); } That should do it. But this is typed in gmail, not Flex so it's probably got typos in it :) -Josh On Mon, Jun 30, 2008 at 9:50 AM, flexawesome <[EMAIL PROTECTED]> wrote

Re: [flexcoders] Re: How to enable the enter key for all buttons onFocus

2008-06-29 Thread Josh McDonald
Shows what I know :) On Sun, Jun 29, 2008 at 4:32 AM, Amy <[EMAIL PROTECTED]> wrote: > --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > > > First a caveat: I's a bad idea. Pressing enter to submit an entire > form and

Re: [flexcoders] Re: popup is taller than browser window/ vertical scroll bar??

2008-06-29 Thread Josh McDonald
Have you tried setting maxHeight="{Application.application.height}" on the popup? On Sat, Jun 28, 2008 at 3:46 PM, pfk456cr <[EMAIL PROTECTED]> wrote: > josh-- > > thanks for reply. > > i want the scrollbar to appear on the popup not the application. > >

Re: [flexcoders] popup is taller than browser window/ vertical scroll bar??

2008-06-27 Thread Josh McDonald
You need to force the popup to not be bigger than the browser window with maxHeight or something similar. Popups that are too big won't cause a scrollbar to appear on the application because in the display list they're parented by systemManager, not the Application itself. -Josh On S

Re: [flexcoders] How to enable the enter key for all buttons onFocus

2008-06-27 Thread Josh McDonald
I have no idea if it does :) -Josh On Sat, Jun 28, 2008 at 3:25 AM, dnk <[EMAIL PROTECTED]> wrote: > Good day all, > > How would one go about enabling the enter key for all buttons in your > flex app? > > I know you an do the defaultKey for a form, or add keyDown to your >

Re: [flexcoders] RadioButton change event not firing in Flex 3 when button in group is deselected

2008-06-27 Thread Josh McDonald
easier to compile than my app, > because it certainly has more code in it. I would recommend getting familiar > with building the Flex SDK from source if you're planning to submit patches. > > > -- "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] RadioButton change event not firing in Flex 3 when button in group is deselected

2008-06-27 Thread Josh McDonald
atch.txt > > will work. > > > On Fri, Jun 27, 2008 at 1:22 AM, Josh McDonald <[EMAIL PROTECTED]> wrote: > >> The problem's in RadioButtonGroup, I've posted the details to the bug. >> >> Alex, >> >> I've got Contrib permission,

Re: [flexcoders] RadioButton change event not firing in Flex 3 when button in group is deselected

2008-06-26 Thread Josh McDonald
gt; mypatch.diff Just using standard BSD Diff (OS X)? Or have I got the operands in the wrong order, or is it not standard diff at all? -Josh RadioButton.click simply calls out to group.selection On Fri, Jun 27, 2008 at 2:31 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > It looks l

Re: [flexcoders] How to Position a Popup relative to the control that invoked the popup?

2008-06-26 Thread Josh McDonald
Keeping in mind that scrollbars can mess up localToGlobal(), it's a known bug. Actually I haven't tested that in Flex 3 release, maybe it's fixed but I don't think so :) -Josh On Fri, Jun 27, 2008 at 12:14 PM, Dimitrios Gianninas < [EMAIL PROTECTED]> wrote: >

Re: [flexcoders] Re: How to Position a Popup relative to the control that invoked the popup?

2008-06-26 Thread Josh McDonald
If you're creating a popup on a button click, you must already have an event listener. Can you post the code that creates your popup? -Josh On Fri, Jun 27, 2008 at 11:00 AM, pbrendanc <[EMAIL PROTECTED]> wrote: > Sorry, while I don't mean to be obtuse - however I need some

Re: [flexcoders] How to Position a Popup relative to the control that invoked the popup?

2008-06-26 Thread Josh McDonald
You should be able to get the button which triggered the click event from event.target -Josh On Fri, Jun 27, 2008 at 9:55 AM, pbrendanc <[EMAIL PROTECTED]> wrote: > I have a grid with an array of buttons that when clicked, will display > a popup window that collects user info. >

Re: [flexcoders] RadioButton change event not firing in Flex 3 when button in group is deselected

2008-06-26 Thread Josh McDonald
It makes more sense to me to be for Radiobutton than Checkbox. Why on earth would you not want to get a change event when a checkbox is unchecked? -Josh On Fri, Jun 27, 2008 at 2:48 AM, Samuel Neff <[EMAIL PROTECTED]> wrote: > Thanks for confirming. Bug filed. > > https://bugs

Re: [flexcoders] Measurement and scrolling

2008-06-25 Thread Josh McDonald
Ah, I see. Cheers :) On Thu, Jun 26, 2008 at 3:44 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > measuredMinWidth/Height is used when laying out containers with % > width/height. > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Jo

Re: [flexcoders] RadioButton change event not firing in Flex 3 when button in group is deselected

2008-06-25 Thread Josh McDonald
ALUE_COMMIT)); } } On Thu, Jun 26, 2008 at 2:45 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > I'd say it is a bug. Why are you listening to each button instead of the > group? > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for

Re: [flexcoders] Event overloads and the Flex framework

2008-06-25 Thread Josh McDonald
I never thought there'd be a per-frame request limit different from the "number of open http sockets" limit. Probably easy enough to verify had I a spare half hour, but I'm used to queuing things now anyway :) -Josh On Thu, Jun 26, 2008 at 2:59 PM, Alex Harui <[EMAIL PROTE

Re: [flexcoders] help with sprites

2008-06-25 Thread Josh McDonald
How do you manage that with a repeater? -Josh On Thu, Jun 26, 2008 at 2:57 PM, Rick Winscot <[EMAIL PROTECTED]> wrote: > Josh – from the last line… it looks like he is struggling with 'pseudo' > children and that the objects aren't on the display

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