Re: [flexcoders] Re: Curses Adobe

2008-08-26 Thread Josh McDonald
uld think that > Mircroft IE would never lift a finger for Adobe or flash/flex > developers, but microsoft is after-all why the world sucks. > > I just hate the world, and often find where technology fails, and it's > left to us end-programmers to find solutions that we shou

Re: [flexcoders] Will Scene 7 turn Adobe into a competitor of it's ISVs like Microsoft ???

2008-08-26 Thread Josh McDonald
First, what the hell is a "Scene7?" All I see is marketing-droid drivel :) Second, if Adobe can cook up a tool that makes my current skillset irrelevant (no offence guys, but that seems like a *lot* of work)... Just think of what you can build using that tool! I mean, MS Access sure put all those

Re: [flexcoders] Combobox to show table columns?

2008-08-26 Thread Josh McDonald
Will probably do it. Depending on what's bindable you might have to simply walk the datagrid.columns array. But if you're dynamically creating the columns, why not simply include the code to build your list of values for CB options at the same time? -Josh On Wed, Aug 27, 2008 at 5:40 AM, Alex

Re: [flexcoders] Positioning Custom ToolTips

2008-08-26 Thread Josh McDonald
TOOL_TIP_SHOW doesn't bubble, so it's probably not the best way. I'd say simply subclassing ToolTip and setting ToolTipManager.toolTipClass will be your best bet. -Josh On Wed, Aug 27, 2008 at 7:57 AM, Ethan Miller <[EMAIL PROTECTED]>wrote: > Example of how to intercept TOOL_TIP_SHOW, please. >

[flexcoders] When do all the calls to Singleton.registerClass() happen, and can I beat it to the punch?

2008-08-26 Thread Josh McDonald
Hey guys, I can't really use Builder to do this search due to all the [ExcludeClass] tags and such (and I don't have a builder project set up for the open source SDK atm). Where / when are the framework singletons registered? Can I beat it (chronologically) with [Mixin] (preferred) or calling a fu

Re: [flexcoders] Positioning Custom ToolTips

2008-08-26 Thread Josh McDonald
All the x/y values within your tooltip will be relative to the tooltip itself. Try in your custom tooltip simply setting this.x -= 10; this.y -= 10; on creationComplete or something like that. Actually creationComplete is probably not the best option, the tooltip might be re-used by the manager, tr

Re: [flexcoders] When do all the calls to Singleton.registerClass() happen, and can I beat it to the punch?

2008-08-26 Thread Josh McDonald
days, we'll clean up this > aspect of startup. > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Tuesday, August 26, 2008 3:30 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] When do all th

Re: [flexcoders] Will Scene 7 turn Adobe into a competitor of it's ISVs like Microsoft ???

2008-08-26 Thread Josh McDonald
:) But I guess I can see his point, I mean there aren't any job openings for developers on the Microsoft platforms any more, right? On Wed, Aug 27, 2008 at 9:07 AM, Doug McCune <[EMAIL PROTECTED]> wrote: > ummm, looks like I got served > > > > -- "Therefore, send not to know For whom the bel

Re: [flexcoders] When do all the calls to Singleton.registerClass() happen, and can I beat it to the punch?

2008-08-26 Thread Josh McDonald
er. This is undocumented territory and likely to change. > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Tuesday, August 26, 2008 4:11 PM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] When do all

Re: [flexcoders] addFrameScript (will it be officially supported?)

2008-08-26 Thread Josh McDonald
<[EMAIL PROTECTED]>wrote: > Exactly. Why make things easy, if you can please Enterprise developers > with a 100 lines equivalent, so they have something to show to their > boss ;) > > Cheers > Ralf. > > On Mon, Aug 25, 2008 at 6:26 AM, Josh McDonald <[EMAIL PROTEC

Re: [flexcoders] Binding using Interface

2008-08-26 Thread Josh McDonald
d interface functions. > And, even after all that, the warning remains! > > > On Tue, Aug 26, 2008 at 9:58 AM, Josh McDonald <[EMAIL PROTECTED]> wrote: > >> public interface IMyBindable extends IEventDispatcher {} >> >> On Tue, Aug 26, 2008 at 4:51 PM, sefi.

Re: [flexcoders] Binding using Interface

2008-08-26 Thread Josh McDonald
ace functions. > And, even after all that, the warning remains! > > On Tue, Aug 26, 2008 at 9:58 AM, Josh McDonald <[EMAIL PROTECTED]> wrote: > > public interface IMyBindable extends IEventDispatcher {} > > On Tue, Aug 26, 2008 at 4:51 PM, sefi.ninio <[EMAIL PROTECTED]

Re: [flexcoders] Binding using Interface

2008-08-26 Thread Josh McDonald
I hope not :) On Wed, Aug 27, 2008 at 4:31 PM, Ralf Bokelberg <[EMAIL PROTECTED]>wrote: > I wonder, what happens, if you make a interface bindable. Does this > change the code beeing created from the implementing class? > > Cheers > Ralf. > > On Wed, Aug 27, 200

[flexcoders] Re: [haXe] Yet another 3D raycaster in Flash (but this time made with haXe)

2008-08-27 Thread Josh McDonald
That's a badass example, but if running at the same speed as a 33mhz 386 is the best we've got on a dual-core 64 bit 2.8ghz machine, AVM2 needs to be scrapped *right fucking now* and replaced with the JVM. (for those in FlexCoders) http://gimme.badsectoracula.com/rayfaster/ -Josh On Wed, Aug 27,

Re: [flexcoders] Re: Digest XML Schema

2008-08-28 Thread Josh McDonald
Look at the sources to mx:WebService :) It's *not* fun to navigate since all the [Excludes] make builder pretend it can't find a lot of things that it really can, but that's unfortunately par for the course at the moment when playing with the wizard behind the curtain of Flex RPC. -Josh On Fri,

Re: [flexcoders] Re: cannot get ONLY the value of an XML element...

2008-08-28 Thread Josh McDonald
you want .text What you're getting there is the toString() for the quantity node. On Fri, Aug 29, 2008 at 10:58 AM, David Pariente <[EMAIL PROTECTED]>wrote: > hi, > > that's the first i tried...but got same result...:( > > thnx for answer > > Tim Hoff escribió: > > > > Hi David, > > > > text="{r

Re: [flexcoders] Re: cannot get ONLY the value of an XML element...

2008-08-28 Thread Josh McDonald
xml to show other info without a problem > > i don't know whats wrong about it :( > > > Josh McDonald escribió: > > you want .text > > > > What you're getting there is the toString() for the quantity node. > > > > On Fri, Aug 29, 200

Re: [flexcoders] Re: cannot get ONLY the value of an XML element...

2008-08-29 Thread Josh McDonald
: [flexcoders] Re: cannot get ONLY the value of an XML > element... > > > > got it! > when i said about it looks like getting the parent...i noticed and just put > a .children() at the end, now it works! > :) > > > > - Mensaje original > De: Josh McDonald &l

Re: [flexcoders] Re: Disable Deep Linking

2008-08-30 Thread Josh McDonald
Unless I'm seriously mistaken, I don't see how you can have history manager without deep-linking. They're the same thing. You need deep linking in order for history manager to work, otherwise it can't have a browser url point to a specific part of your app. Id love to be wrong, because I too would

Re: [flexcoders] Adobe has no love for Mac users?

2008-08-30 Thread Josh McDonald
Huh? Did gmail mess up the threading on this or something? On Sun, Aug 31, 2008 at 3:59 PM, Robert Thompson <[EMAIL PROTECTED]>wrote: > To answer your question on the lack of support, you may want to read this > article as a reason why Adobe is competing against Apple so aggressively, > http://c

[flexcoders] Flexstore license?

2008-08-31 Thread Josh McDonald
Hey Guys, Wondering what the license is on the Flexstore code? Can it be used as a basis for commercial products? And don't look at me like that, it's not my idea. -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [

Re: [flexcoders] Flexstore license?

2008-08-31 Thread Josh McDonald
; Reading Glasses To Go > Re-Bath > Redcats USA > Red Hats and More > Restoration Hardware > Rhodes Furniture > Road Runner Sports, Inc. > Robb & Stucky > Roman, Inc. > S&S Worldwide > Samuels Jewelers > Scripps Networks > Sears > Sea Gull Lighting > Sh

Re: [flexcoders] Flexstore license?

2008-08-31 Thread Josh McDonald
ttery Barn > Pottery Barn Kids > President's Choice > Professional Cutlery Direct > PUMA North America > Punch! Software > Quixtar > QVC > Randall K Designers Experss > R.C. Bigelow > Reading Glasses To Go > Re-Bath > Redcats USA > Red Hats and More > Restora

Re: [flexcoders] Flexstore license?

2008-08-31 Thread Josh McDonald
Company > Polaris > Polo Ralph Lauren Corporation > Pottery Barn > Pottery Barn Kids > President's Choice > Professional Cutlery Direct > PUMA North America > Punch! Software > Quixtar > QVC > Randall K Designers Experss > R.C. Bigelow > Reading Glasses To Go

Re: [flexcoders] Flex/Actionscript 3.0 apps/scripts form email

2008-08-31 Thread Josh McDonald
Regarding the email, you just need to build a regular http POST that emulates whatever fields the script is expecting. Look at HttpRequest: http://livedocs.adobe.com/flex/3/langref/mx/messaging/messages/HTTPRequestMessage.html Your request method should probably be POST (only GET and POST work f

[flexcoders] Quick question about Mixins and internal class scope

2008-08-31 Thread Josh McDonald
Hey guys, I'm miles from compiling and testing what I'm writing at the moment, so I thought I'd just ask in case somebody knows- will getDefinitionByName("foo") fail on an "internal" class when SystemManager is trying to call init() on the mixins? I have a class I'd like to make internal, but it n

Re: [flexcoders] Flexstore license?

2008-08-31 Thread Josh McDonald
Sweet, thanks Daniel :) On Mon, Sep 1, 2008 at 1:40 PM, Daniel Freiman <[EMAIL PROTECTED]> wrote: > Josh, did anyone actually finish answering your question? Serif got 90% > of the way there. > > Here's the relevant paragraphs in the end users license agreement (Flex 2 > SDK) - > http://www.ado

Re: [flexcoders] BindingUtils, How to detect null values when the data type is Number???

2008-08-31 Thread Josh McDonald
Numbers can't be null, and you might need to use your own watcher function if you'd like to return NaN rather than 0 when the text is empty. -Josh On Mon, Sep 1, 2008 at 2:08 PM, jitendra jain <[EMAIL PROTECTED]>wrote: > Hi Coders, > > I have the following decalration in my User defined compon

Re: [flexcoders] Quick question about Mixins and internal class scope

2008-08-31 Thread Josh McDonald
ote: > In case you were hoping I had the answer, I don't. Should be a 10 minute > experiment though. However, an internal class can certainly be handed the > SM by the first [mixin] that uses it > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On &

Re: [flexcoders] Quick question about Mixins and internal class scope

2008-08-31 Thread Josh McDonald
because it's frame1... -Josh On Mon, Sep 1, 2008 at 3:59 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > Interesting, what name did you use for the look up? How was the class > set up? It doesn't surprise me though. > > > > *From:* flexcoders@yahoogroups.com [mail

Re: [flexcoders] Quick question about Mixins and internal class scope

2008-08-31 Thread Josh McDonald
I was actually hoping the compiler would either generate a public alias to put into info()["mixins"]; or leave that class out of the list entirely, maybe with a warning... Might file a bug some time :) -Josh On Mon, Sep 1, 2008 at 4:10 PM, Josh McDonald <[EMAIL PROTECTED]> wrote

Re: [flexcoders] Re: What is Flexcoders?

2008-09-01 Thread Josh McDonald
Curse you doug! We don't have any more public holidays until the 26th of December! But then, I *do* get to live in Queensland :D -Josh On Tue, Sep 2, 2008 at 8:33 AM, Doug McCune <[EMAIL PROTECTED]> wrote: > Guys, it's labor day. Can we all please just go outside and get drunk? > Spend time wi

Re: [flexcoders] Event not bubbling as expected

2008-09-01 Thread Josh McDonald
Unfortunately, only UIComponents can bubble events, because the bubble hierarchy is the display list. If you need to dispatch bubbling events from a non-visual component, you can use Application.application, look up the SystemManager and use that (it's how I usually do it), or you can implement IMX

Re: [flexcoders] Re: What is Flexcoders?

2008-09-01 Thread Josh McDonald
Sh! You'll give it away! *hic* /falls off chair On Tue, Sep 2, 2008 at 8:57 AM, Guy Morton <[EMAIL PROTECTED]> wrote: > Yeah, Doug, we're Australians. No Labor Day holidays for us! > Of course, being Australians, we were drunk anyway. > > > > On 02/09/200

Re: [flexcoders] Re: What is Flexcoders?

2008-09-01 Thread Josh McDonald
That, and we have enough sheep and Rugby players (although most of them are currently playing NRL waiting for the cheque to come in the mail). *ducks* On Tue, Sep 2, 2008 at 9:45 AM, Guy Morton <[EMAIL PROTECTED]> wrote: > Nah, we called it off after discovering that the only New Zealanders wor

Re: [flexcoders] Bindable Classes

2008-09-03 Thread Josh McDonald
Nope. [Bindable] on a class doesn't wrap the class, it's just exactly the same as putting [Bindable] on every public field. -Josh On Wed, Sep 3, 2008 at 8:45 PM, reflexactions <[EMAIL PROTECTED]>wrote: > If I add the Bindable tag at a class level every property is wrapped in > by a sort of prox

Re: [flexcoders] Flex and Scene7, Flexstore license, List etiquette

2008-09-03 Thread Josh McDonald
Cheers Matt. -Josh On Wed, Sep 3, 2008 at 3:26 AM, Matt Chotin <[EMAIL PROTECTED]> wrote: > Hey guys, > > I guess this is what I get for going on vacation last week huh? > > Clearly most of you guys saw the threads last week (and even today frankly) > that I think went well over the line of what

Re: [flexcoders] Re: Bindable Classes

2008-09-03 Thread Josh McDonald
> I had thought the compiler generated a wrapper or sub class behind > the scenes when you used the bindable tag... > > Well ok learn something new eahc day... > tks > > --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > > > Nop

Re: [flexcoders] Re: Bindable Classes

2008-09-03 Thread Josh McDonald
t; "Johannes Nel" <[EMAIL PROTECTED]> >> wrote: >> >> > >> > using custom events with your bindable metadata is not only best >> practice >> > but allows you to decide which properties you want to refresh. >> > [Bindable("my

Re: [flexcoders] Re: Bindable Classes

2008-09-03 Thread Josh McDonald
Right, now I see what you're saying. I thought you were saying that Flex will do what it normally does, only using your custom event instead of propertychange :) On Thu, Sep 4, 2008 at 2:22 AM, Johannes Nel <[EMAIL PROTECTED]> wrote: > no you need to dispatch the event yourself. as i said in som

Re: [flexcoders] Re: Flex SDK 3.1 changes to WebServices breaking existing services...

2008-09-03 Thread Josh McDonald
Todd, if you can mail me off-list with a .zip of failing code, I'll be able to poke around and (probably) figure it out for you when I get home this afternoon. Cheers, -Josh On Thu, Sep 4, 2008 at 4:24 AM, Todd <[EMAIL PROTECTED]> wrote: > The only real changes (those that aren't ASDoc comments

Re: [flexcoders] Buzzword of Adobe

2008-09-03 Thread Josh McDonald
A boatload of work :) There used to be a bit of information about how it was implemented, some of it may still be around since Adobe bought the company. Not that I think Adobe's hiding the info to be jerks or anything, I just don't know if it survived the re-jigging of web sites, moving buzzword t

Re: [flexcoders] Buzzword of Adobe

2008-09-03 Thread Josh McDonald
Frankly I'm rather disappointed "buzzword-lite" isn't planned to be a component in Flex 4. mx:RTE blows goats, and it's 2008 - nobody should be paying a third-party component provider for god damned rich text editing. Well, as far as I know it's not. I'd *love* to be wrong =) -Josh On Thu, Sep 4

Re: [flexcoders] Buzzword of Adobe

2008-09-03 Thread Josh McDonald
That sounds promising Matt :) Is there a link to that in-browser, or do I need to cue up AMP to get it? -Josh On Thu, Sep 4, 2008 at 10:23 AM, Matt Chotin <[EMAIL PROTECTED]> wrote: > Watch the 360Flex keynote and see the text demos. > > > On 9/3/08 5:19 PM, "Josh McDo

Re: [flexcoders] Re: Flex SDK 3.1 changes to WebServices breaking existing services...

2008-09-03 Thread Josh McDonald
ake it work in 3.0.. What it does for the stability > of our code base. > > It seems that the backward compatibility of Flex and Web Services is a > bit sketchy, at best...especially because I don't know of other > situations that will need to be changed, too. (This could be th

Re: [flexcoders] Re: Need Help and Guidance desperately

2008-09-03 Thread Josh McDonald
Basically it's a *really* hard thing to do, in part due to its nature, in part due to the way Flex does some things. I built something similar, but more specialised (lays out "snapin" components), finds the best order to use the space most efficiently, and increases the size on them so they line up

Re: [flexcoders] REST Library for Flex or ActionScript?

2008-09-03 Thread Josh McDonald
Actionscript can do REST just fine. From AIR. Flash Player however cannot. It's a limitation imposed on the plugin by the browsers. However, we've been told to keep our ears open for an announcement about (what will hopefully be) a relaxing of some other networking restrictions imposed on the playe

Re: [flexcoders] Re: Need Help and Guidance desperately

2008-09-03 Thread Josh McDonald
thing like this (snapin). > Can you please show me which way i have to start and which component i need > to extend. If its okay with you can i take guidance form your code and try > to achieve what i am looking for. > Your help will be appreciated > Thanks > Anuj > >

Re: [flexcoders] Re: REST Library for Flex or ActionScript?

2008-09-03 Thread Josh McDonald
otcha. So are there any good libraries out there for it? > > --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > > > Actionscript can do REST just fine. From AIR. Flash Player however > cannot. > > It's a limitation impos

Re: [flexcoders] What is the best hardware configuration (on PC) for building Flex

2008-09-04 Thread Josh McDonald
Heh. On my MBP and even on my new iMac, compilation from Builder just takes weeks. Apparently if you switch to ant and mxmlc it's a lot faster, but it's just the way it is. I suppose you might save some time if you put the compiler jars, library .swcs and your code on a flashdrive? Haven't tried it

Re: [flexcoders] What is the best hardware configuration (on PC) for building Flex

2008-09-04 Thread Josh McDonald
A few things: Builder doesn't need to start an external JVM, it's Java. I don't think Eclipse runs on 64 bit Java x86 has had a 48 bit address bus since the Pentium Pro, so you can have 16gb in 32bit mode (using iirc 4mb instead of 4k pages). You aren't going to need more than a gb or two for ecl

Re: [flexcoders] Buzzword of Adobe

2008-09-04 Thread Josh McDonald
27;t in there, and we > don't plan on doing something extensive, but that's really more of a chrome > issue, the text itself will support pretty good markup without the need for > what Buzzword does. > > Matt > > On 9/3/08 5:23 PM, "Matthew Chotin" <[EMAIL

Re: [flexcoders] What is the difference between :Object and :*

2008-09-06 Thread Josh McDonald
Also: * can store a uint, and the other primitive types I believe. And you don't have to cast when assigning a * to a typed variable, but Object you do. -Josh On Sun, Sep 7, 2008 at 6:04 AM, Sherif Abdou <[EMAIL PROTECTED]> wrote: >  Object can not store undefined and * can store it and that is

Re: [flexcoders] Changing Root Node attributes

2008-09-07 Thread Josh McDonald
Have you tried: [EMAIL PROTECTED] = "59"; And it didn't work? -Josh On Mon, Sep 8, 2008 at 3:46 PM, Rafael Faria <[EMAIL PROTECTED]>wrote: > Hello All, > > I need your help again. > > I make a call and get in return a XML. With this XML, i feed my tree's > dataprovider. It is something like th

Re: [flexcoders] Changing Root Node attributes

2008-09-07 Thread Josh McDonald
Can you not use [new QName("*","nodeName")] to get nodes regardless of namespace in E4X? I haven't tried this, but it makes sense to me. -Josh On Mon, Sep 8, 2008 at 4:15 PM, Tim Rowe <[EMAIL PROTECTED]> wrote: > I've just spent the last 8 hours attempting to get an XML document bound > to a da

Re: [flexcoders] How to terminate construction

2008-09-08 Thread Josh McDonald
IIRC, if you throw an error from the constructor the object will still be instantiated but not constructed: ie, memory allocated, instance initialisers run (the code after the "=" in "public var memberVariable : Object = " but the constructor function will be aborted, and there'll be no referen

Re: [flexcoders] Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread Josh McDonald
The problem I think is you're using the wrong data structures. If your Java map looks like this: HashMap myMap; What you'll get in Flex isn't what you've got below, it's an object like this: var mymap : Object = { 1: "String 1", 2: "String 2", 79: "Blue" } Not the structure tha

Re: [flexcoders] Re: Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread Josh McDonald
A object, key1: the B object}; > > > I have no idea where this reference to the A object comes from, but i > can live with that, the main issue is that i can't use the B class > because if i do the B objects inside the map are reset. > > > --- In flexcoders@yahoogroup

Re: [flexcoders] Re: Changing Root Node attributes

2008-09-08 Thread Josh McDonald
an't change the root node of the xml. > > Any other suggestion?! > > raf > > > --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > > > Have you tried: > > > > [EMAIL PROTECTED] = "59"; > >

Re: [flexcoders] Re: Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread Josh McDonald
gt; Both traces work fine, prints 1 Test and 2 Hello. > > Like you said i have some logic inside the B constructor: > > public function B() { > myC = new C(); > } > > I commented the constructor and instead of getting the values reset i > got an error saying i tried to ac

Re: [flexcoders] Re: Changing Root Node attributes

2008-09-08 Thread Josh McDonald
here is another way to do that. > > var rootNode:XML = XML(tree.dataProvider); > var cloneXML:XML = rootNode.copy(); > [EMAIL PROTECTED] = Number(rootNode.attribute('sid').toXMLString())+1; > tree.dataProvider = cloneXML; > > > working like a charm now :) > >

Re: [flexcoders] Re: Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread Josh McDonald
if i try the following: > > if (i.myC is C) > > this gives me false :( > > > Any ideas? > > > --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > > > Sounds to me like you're accidentally declaring b.my

Re: [flexcoders] SEO and Flash content

2008-09-08 Thread Josh McDonald
Google most definitely re-indexes from various different data-centres (read: class B addresses) and I'm sure also occasionally using random real user-agents, and will punish sites which consistently return "A" to googlebot and "B" to browsers. They'd be fools not to, and they hire a *lot* of very s

Re: [flexcoders] Re: turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Josh McDonald
Not much dispatches a bubbling ADDED_TO_STAGE event IIRC :( However, Container extends UIComponent, so you could use UIComponent.mx_internal::dispatchEventHook. But make sure you chain (!!), and you can't complain when Alex breaks your code in FX 4 :) -Josh On Tue, Sep 9, 2008 at 3:25 PM, Alex H

Re: [flexcoders] Re: Show progress while using for()

2008-09-08 Thread Josh McDonald
http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html On Tue, Sep 9, 2008 at 4:26 PM, itdanny2002 <[EMAIL PROTECTED]> wrote: > > You can set a public variable to keep the progress > within your for() loop and then before running the > routine, create SetTimeOut() loop to get the va

Re: [flexcoders] Re: turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-09 Thread Josh McDonald
Just want to re-iterate my earlier position since we've gone back to that topic - I vote for shrink the content in Gumbo. If all your inner containers suddenly grow scrollbars, you stuffed up somewhere. It works for HTML (and just about every other UI toolkit on the planet), it'll work for Flex. Ju

Re: [flexcoders] Re: Error #1009: Property or Mehtod of a null object reference [Solved]

2008-09-09 Thread Josh McDonald
One of those problems, Production always seems to have the bad data :) If there's any doubt (ie, it's optional in your XSD schema or whatever) I try to use something like this when populating from a result object: foo = "foo" in result ? result.foo : null; Still get caught out from time to time

Re: [flexcoders] SWFLoader unloading, whats the trick?

2008-09-09 Thread Josh McDonald
IIRC, any loaded SWF that's no longer referenced will be garbage collected (and fairly quickly from my experience), but streaming audio (or video) is still referenced by the player so it doesn't go anywhere. -Josh On Wed, Sep 10, 2008 at 9:40 AM, djepyon <[EMAIL PROTECTED]> wrote: > Does SWFLoad

[flexcoders] Garbage Collection question

2008-09-10 Thread Josh McDonald
Guys, just a quick question for anybody skilled up on the voodoo - I'm not 100% sure of a way to test this yet so I thought I'd ask: I assume the Garabage Collector is a background thread so far as mark-and-sweep etc, but does it do actual collecting while AVM2 is processing bytecode? I'm just worr

Re: [flexcoders] Garbage Collection question

2008-09-10 Thread Josh McDonald
new", and can delay the time until the next render. > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Wednesday, September 10, 2008 8:24 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] Garbag

Re: [flexcoders] Question about binding via AS

2008-09-11 Thread Josh McDonald
I've been poking around sanity-checking some code I'm working on for my DI package, and posted my conclusions and thoughts here: http://is.gd/2tAu -Josh On Thu, Aug 21, 2008 at 8:28 AM, Josh McDonald <[EMAIL PROTECTED]> wrote: > I'd say if A is long-lived you

Re: [flexcoders] Subclassing Components: Theoretical Question

2008-09-11 Thread Josh McDonald
Yeah, I'd make one subclass of Button that lets you put whatever you please as the label, and have "function set labelControl(cntrl:*)" as the [DefaultProperty]. If it finds a string, go with a UITextField, if it's a DisplayObject, use it, if not throw an error. Then you have: blah blah blah bl

Re: [flexcoders] Subclassing Components: Theoretical Question

2008-09-11 Thread Josh McDonald
Well I'm sure as hell not gonna write it and put up on my blog then ;-) -Josh On Fri, Sep 12, 2008 at 8:28 AM, Doug McCune <[EMAIL PROTECTED]> wrote: > heh, that's almost the exact description of what I called the > "CanvasButton": > http://dougmccune.com/blog/2007/06/01/new-component-canvasbut

Re: [flexcoders] Re: Regular TextField styling.

2008-09-11 Thread Josh McDonald
I definitely can't seen anything, but I'm also on a Mac. Sorry if this is a dumb question, but have you taken a screenshot on windows and checked it thoroughly with Photoshop to make sure it's really there? It may be an optical illusion. Do you see it on several different windows machines? What abo

Re: [flexcoders] Re: Regular TextField styling.

2008-09-11 Thread Josh McDonald
t; > When I use TextField, it goes away. > > Thanks > > --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > > > I definitely can't seen anything, but I'm also on a Mac. Sorry if > this is a > > dumb question,

Re: [flexcoders] Content of 500 error page

2008-09-11 Thread Josh McDonald
Bah! The man's an awful tease ;-) I'm hoping they sneak in some extra HTTP methods too, I'm greedy like that. -Josh On Fri, Sep 12, 2008 at 9:49 AM, Fernando Flórez <[EMAIL PROTECTED]>wrote: > Nice! It's been a while Matt since i last saw an email from you. > > Thanks for the news! > > > --

Re: [flexcoders] Content of 500 error page

2008-09-11 Thread Josh McDonald
Aw, nuts! Still, thanks for clearing it up :) On Fri, Sep 12, 2008 at 11:31 AM, Matt Chotin <[EMAIL PROTECTED]> wrote: > No http methods, just a nickel-bag of fixes. > > Matt > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." http://flex.joshmcdonald.info/ :: Jo

Re: [flexcoders] Re: Searching collections using contains()

2008-09-11 Thread Josh McDonald
Yes, yes, and no (if by same, you mean ===). XML says attributes have no ordering. -Josh On Fri, Sep 12, 2008 at 1:06 PM, Tracy Spratt <[EMAIL PROTECTED]> wrote: > This is an interesting question. > > Are these nodes "equal", do they "match", are they the "same"? > > > > > > Tracy >

Re: [flexcoders] FAQ updated

2008-09-11 Thread Josh McDonald
Could we get it hosted somewhere outside of Yahoo? Or at least make it not hidden behind a login? I can't sign in to yahoo, and it asks too many stupid questions when you request a new username / password. How the hell can I remember what bogus information I put in when I signed up? My postcode or

Re: [flexcoders] FAQ updated

2008-09-11 Thread Josh McDonald
#x27;t really have a good place to > host it that I have access to. In the meantime you're brucethebruiser if > that helps :-) > > > On 9/11/08 9:33 PM, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > > > > Could we get it hosted somewhere outside o

Re: [flexcoders] Re: Subclassing Components: Theoretical Question

2008-09-11 Thread Josh McDonald
PROTECTED]> wrote: > > > > heh, that's almost the exact description of what I called the > > "CanvasButton": > > > > http://dougmccune.com/blog/2007/06/01/new-component-canvasbutton-added-to-flexlib/ > > > > Doug > > > > On Th

Re: [flexcoders] Re: Regular TextField styling.

2008-09-12 Thread Josh McDonald
Well I can definitely see it in that screenshot, but it sounds like Player bug so I think I'll bow out of this one ;-) -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTE

Re: [flexcoders] Re: Subclassing Components: Theoretical Question

2008-09-12 Thread Josh McDonald
lahButton. :) > >-TH > > > >--- In flexcoders@yahoogroups.com, "Doug McCune" <[EMAIL PROTECTED]> >wrote: >> > >> heh, that's almost the exact description of what I called the >> "CanvasButton": &

Re: [flexcoders] Re: SWFLoader unloading, whats the trick?

2008-09-12 Thread Josh McDonald
> > > > > > Listening on the content object didn't trigger the event handler. > > > Would it be better to use REMOVED or REMOVED_FROM_STAGE for this? > > > > > > Maybe I could get some sample code? > > > > > > --- In > > &

Re: [flexcoders] Chrome and developer's version of Flash player installation

2008-09-14 Thread Josh McDonald
Issue 2238: Add search engine dialog doesn't allow "{" (open curly brace); can interfere with javascript http://code.google.com/p/chromium/issues/detail?id=2238 New issue report by dgingrich: Product Version : 0.2.149.29 (build 1798) URLs (if applicable) : Other browsers tested: Add OK

Re: [flexcoders] Re: Chrome and developer's version of Flash player installation

2008-09-14 Thread Josh McDonald
Hi Guys, Please be wary of SP Kalra (Sarva Priya Kalra), who tries stealing laptops or selling them at a lower rate thereby deceiving people with his malicious ideas. He fakes himself as someone who works with direct clients; on the contrary, the requirements he sends would be in the market long b

Re: [flexcoders] Re: e4x not working due to namespace

2008-09-14 Thread Josh McDonald
Hi to group. New source of yu tube. http://videos.videosextube2009.com/yu-tube.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cancer Research Weight Loss Challenge" group. To post to this group, send email to

Re: [flexcoders] e4x not working due to namespace

2008-09-14 Thread Josh McDonald
I tried to sell management here a dual ASR1003 + distro (4900M based), but 10G distro is still just too much! TOR's still had to be 10G connected from the 4900M, and that's a hell of a lot of X2's to buy on top of that. Yeah, I could have bought the 20 port GE card for the 4900M for now, but Taiwa

Re: [flexcoders] XMLListCollection.AddItemAt() silently fails

2008-09-15 Thread Josh McDonald
Builder's debugger is no good with MXMLC-generated binding code, that's for sure :) I'm intrigued by FDB, what's the best place to get started with it? -Josh On Tue, Sep 16, 2008 at 9:56 AM, Alex Harui <[EMAIL PROTECTED]> wrote: > I use FDB to debug XML problems. I can see instance numbers and

Re: [flexcoders] Flex Errors/problems

2008-09-15 Thread Josh McDonald
It seems kind of mysterious, but I think you're on the right track. Internet Explorer is rubbish, windows is pretty ordinary and (IMHO) Eclipse is terrible. There's a lot that can go wrong! I'd try first rebooting :) Then completely uninstall (with Adobe's removal tool) and reinstall the Player plu

Re: [flexcoders] How to listen on a port

2008-09-15 Thread Josh McDonald
No can do, unfortunately. It's something I really want too, so you're not alone! Hopefully it's coming soon, though I haven't heard much about any new versions of AIR, so I'm not holding my breath :( It's a real shame AIR is closed source really, I'd like to see it become a real competitor with Ja

Re: [flexcoders] Date issue - need to create date out of string like xxxx-xx-xx from XML

2008-09-15 Thread Josh McDonald
t; question has come up twice in the same day. > > > > The answer I provided earlier will also work, and will do so in ~5 lines of > code. > > > > --Tim > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On

Re: [flexcoders] Date issue - need to create date out of string like xxxx-xx-xx from XML

2008-09-15 Thread Josh McDonald
FWIW, I do actually hand-off to Date.parse() as the last step in my hand-rolled XSD:DateTime parser :) -Josh On Tue, Sep 16, 2008 at 4:05 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > I don't actually use that code I posted above, as all our dates come in via > SOAP,

[flexcoders] Degrafa binaries

2008-09-15 Thread Josh McDonald
Hey guys, Does anybody know where I can get working Degrafa binaries? The "Getting started" talks about extracting a .swf from the .zip file, but the zip doesn't contain a .swf. The .zip looks like it should be a .swc, but if I rename it to .swc Flex doesn't like it. I'm going to try just using th

Re: [flexcoders] Date issue - need to create date out of string like xxxx-xx-xx from XML

2008-09-15 Thread Josh McDonald
o work, and will do so in ~5 lines of > code. > > --Tim > > -- > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Tuesday, 16 September 2008 3:43 PM > *To:* flexcoders@yahoogroups.com > *S

Re: [flexcoders] Date issue - need to create date out of string like xxxx-xx-xx from XML

2008-09-15 Thread Josh McDonald
Old code, probably terribly inefficient: //-MM-DD static public const SIMPLE_INTL_DATE : RegExp = /^(\d{4})[-\/](\d{2})[-\/](\d{2})$/; //-MM-DD - midday! static public function parseSimpleIntlDate(input : String) : Date { var parts : Array = in

Re: [flexcoders] Degrafa binaries

2008-09-16 Thread Josh McDonald
e to google code?, I use SWC and source at the same time. > > http://code.google.com/p/degrafa/ > > Mike > > > On Tue, Sep 16, 2008 at 12:55 AM, Josh McDonald <[EMAIL PROTECTED]> wrote: > >> Hey guys, >> >> Does anybody know where I can get working

Re: [flexcoders] Date issue - need to create date out of string like xxxx-xx-xx from XML

2008-09-16 Thread Josh McDonald
is still on my to-do list, but it's not that near the top yet :) -Josh On Tue, Sep 16, 2008 at 11:24 PM, Peter Farland <[EMAIL PROTECTED]> wrote: > Josh, have you logged bugs for specific issues with SOAP date > unmarshalling? > Pete > > From: flexcoders@yahoogroup

Re: [flexcoders] Re: Preventing cut&paste in Flex3 application

2008-09-16 Thread Josh McDonald
Easy: "Sorry Steve, can't be done, it's a browser plugin. You'll have to try *managing* your people". =) On Wed, Sep 17, 2008 at 12:26 AM, justincase772 <[EMAIL PROTECTED]>wrote: > And I totally agree with you; I would get mad myself using it. > Unfortunately it is a really specific requirement

[flexcoders] MXMLC voodoo for custom components that take itemRenderer="package.ClassName"

2008-09-16 Thread Josh McDonald
Hey guys, There's some voodoo in MXMLC that includes classes in the .SWF when you put the qualified class name as a string into itemRenderer="" on mx:List, etc. What triggers this, and how can I use it for my own components? Is it only for IListItemRenderers? Some sort of interface you impl on the

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