[flexcoders] Drawing primitives in MXML

2007-02-21 Thread Guy Morton
Hi there I'm new to Flex, so forgive me if this is a dumb question. I've been trying to get my head around Flex using Flex builder/Flex 2. Previously I've been working with SVG. So far, I've been unable to figure out how you draw primitive shapes (circles, rectangles, roundedrects etc) in

Re: [flexcoders] Drawing primitives in MXML

2007-02-22 Thread Guy Morton
Thanks. Seems kinda weird to me that they're not there when you have such advanced components available. Or does Flex expect that you will re-skin a panel component instead? Guy On 22/02/2007, at 9:28 AM, dordea cosmin wrote: You can not use mxml to draw basic shapes because you have no

[flexcoders] Dynamically creating a text object

2007-02-25 Thread Guy Morton
Hello. I'm stumped. I'm creating some circles in AS and putting them on a Canvas that's declared in my MXML file like so var childCanvas:Canvas = new Canvas(); childCanvas.graphics.lineStyle(1, 0x33, 1); childCanvas.graphics.beginFill(0xCC,0.6);

Re: [flexcoders] Dynamically creating a text object

2007-02-25 Thread Guy Morton
Nope, adding the text children clears my canvas. I think I now know why. After I add all these children to my main Canvas I'm adding a transform matrix to it to flip it vertically, like so: mainCanvas.transform.matrix = new Matrix(1,0,0,-1); This works just fine so long as I don't add the

Re: [flexcoders] Dynamically creating a text object

2007-02-26 Thread Guy Morton
; myText.y = 200; myText.transform.matrix = new Matrix(1,0,0,-1,0,300); myCanvas.addChild(myText); Guy On 26/02/2007, at 8:53 AM, Guy Morton wrote: Nope, adding the text children clears my canvas. I think I now know why. After I add all these children to my main Canvas I'm adding a transform

Re: [flexcoders] Dynamically creating a text object

2007-02-26 Thread Guy Morton
; childCanvas.addChild(text); Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton Sent: Sunday, February 25, 2007 8:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamically creating a text object Hello. I'm stumped. I'm creating some circles

Re: [flexcoders] Dynamically creating a text object

2007-02-26 Thread Guy Morton
apply the flip, the text and circle will display fine. But the addition of the flip requires that you embed the font in the text component. see the docs on how to embed fonts using styles. :) --- Guy Morton [EMAIL PROTECTED] wrote: Nope, adding the text children clears my canvas. I think I now

[flexcoders] Security error after moving project

2007-02-26 Thread Guy Morton
Hi there Can someone please help me? I've moved my project in my local filesystem (to add it to my checked-out CVS repos) and now my network connections fail: [RPC Fault faultString=Security error accessing url faultCode=Channel.Security.Error faultDetail=Destination: DefaultHTTP] at

Re: [flexcoders] Security error after moving project

2007-02-26 Thread Guy Morton
Fixed the problem. Had to manually add my new project bin path to ~/ Library/Preferences/Macromedia/Flash Player/#Security/ FlashPlayerTrust/flexbuilder.cfg. This should have happened automatically but I suspect Flex builder 2.01 (on Mac at least) is a little flaky when it comes to moving

[flexcoders] cacheAsBitmap

2007-03-05 Thread Guy Morton
I've created an mxml component that uses a canvas object and writes a graphic on it based on some input parameters. This graphic is then animated over a bitmap background. If I set cacheAsBitmap on the graphic's canvas to true, then rotate the canvas, am I improving performance? Or does

[flexcoders] cacheAsBitmap - does anyone know?

2007-03-06 Thread Guy Morton
I've created an mxml component that uses a canvas object and writes a graphic on it based on some input parameters. This graphic is then animated over a bitmap background. If I set cacheAsBitmap on the graphic's canvas to true, then rotate the canvas, am I improving performance? Or does the

Re: [flexcoders] cacheAsBitmap - does anyone know?

2007-03-06 Thread Guy Morton
Thanks Patrick. That's pretty much what I suspected would be the case. Guy

[flexcoders] Weird sandbox violation error

2007-03-17 Thread Guy Morton
I am seeing a weird violation Security sandbox violation: http://www.mydomain.com/bin/myApp.swf? mh=-118.1258%2C33.8751mc=-118.15411% 2C33.81669mz=0rls=20070202101010 cannot load data from /data/handle/ 2007-03-17 10:10:00.] As you can see I am running this on my server and all http requests

Re: [flexcoders] Weird sandbox violation error

2007-03-17 Thread Guy Morton
I can answer this - it's not, because I'm now encoding the URL and it still barfs. Any ideas would be appreciated. This is very perplexing. Guy On 18/03/2007, at 3:12 PM, Guy Morton wrote: Is Flex barfing over the un-encoded URL?

[flexcoders] Context menu triggers browser crash

2008-07-12 Thread Guy Morton
Hi there I have a Flex 2 app that has a custom context menu attached to the root application object. It works without incident on the Mac, but on windows, choosing an item from the context menu sometimes causes the browser to crash. There appears to be no pattern to it, though it does seem to

[flexcoders] Chart question - area chart with line chart overlay

2008-07-14 Thread Guy Morton
Hello group Is it possible to have an area chart with a line chart overlaid over the top? I note that you can stack some types of charts but not line charts...is there a way to do this? tia Guy

Re: [flexcoders] Chart question - area chart with line chart overlay

2008-07-15 Thread Guy Morton
I'll answer my own question... you can mix AreaSeries and LineSeries within a LineChart. Too easy! Guy On 15/07/2008, at 12:58 PM, Guy Morton wrote: Hello group Is it possible to have an area chart with a line chart overlaid over the top? I note that you can stack some types of charts

Re: [flexcoders] Transparent Application Background

2008-07-16 Thread Guy Morton
I'm just guessing, but wouldn't backgroundAlpha=0 in your flex app plus wmode=transparent in your object/embed tag do the trick? On 16/07/2008, at 11:48 PM, ammu nath wrote: Hi All, Can any body help me how can i achive Transparent Application background in a flex application

Re: [flexcoders] Context menu triggers browser crash

2008-07-23 Thread Guy Morton
Hi Borja No, I've not had any luck in figuring out the cause or a fix as yet. Are you able to post a link to an app that shows the problem? Anyone on the list able to help? Guy On 23/07/2008, at 9:06 PM, Borja Jelič wrote: Hi, I've seen your post on the

[flexcoders] Virtual Earth in Flex, or UMap

2008-07-30 Thread Guy Morton
Hello Does anyone on this list have experience with implementing Virtual Earth maps in Flex, either via UMap (http://www.afcomponents.com/components/umap_as3/ ) or some other component? We have an app that currently uses Yahoo! maps (via REST interface). We animate a bunch of things over

[flexcoders] Application close event?

2008-08-08 Thread Guy Morton
Hi all Does anyone know if there is an event that can be used to trigger clean-up activities when a Flex app is closed, either by the browser being closed or the user navigating to a new page? TIA Guy

Re: [flexcoders] Re: Application close event?

2008-08-09 Thread Guy Morton
, at 7:41 AM, gerhard.schlager wrote: --- In flexcoders@yahoogroups.com, Guy Morton [EMAIL PROTECTED] wrote: Does anyone know if there is an event that can be used to trigger clean-up activities when a Flex app is closed, either by the browser being closed or the user navigating to a new page

Re: [flexcoders] SandBox security issue

2008-08-12 Thread Guy Morton
If the flex app is running on a different host you will need a crossdomain.xml file on the machine running the web service. On 12/08/2008, at 3:30 AM, kirilminevgroups wrote: I am experiencing some sandBox security issues. I have flex chart which communicated to web service. When both the

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

2008-08-14 Thread Guy Morton
Hi Scott Can you point to a compelling silverlight app that runs on my Mac in Firefox without me having to install a new plugin? How about something that'll run on my linux desktop? What Flex/Flash has got that MS hasn't is a pretty much ubiquitous runtime in the browser. On top of

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

2008-08-14 Thread Guy Morton
Oh and the way MS has stiffed SVG as a standard by refusing to support it in IE definitely pushes them into the category of evil. They even embraced and extended the acronym when they named their competing product SilVerliGht. I choose Flex because I don't want to live in a world dominated

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

2008-08-15 Thread Guy Morton
Why not both? On 15/08/2008, at 4:39 PM, Scott Barnes wrote: Is this a question or statement? :) All the best. On Thu, Aug 14, 2008 at 10:56 PM, Guy Morton [EMAIL PROTECTED] wrote: Oh and the way MS has stiffed SVG as a standard by refusing to support it in IE definitely pushes them

Re: [flexcoders] global replace with strings

2008-08-15 Thread Guy Morton
I think the point is he's not aware that the way to do what he wants is to create a RegEx with the g flag. eg var strTest:String = This is a test string; var reggy:RegExp = new RegExp(t, g); trace(strTest.replace(reggy,s)); This is a sess ssring HTH On

Re: [flexcoders] Deep Zoom (Silverlght) in Flex??

2008-08-15 Thread Guy Morton
Adobe should dust off XRes...that was pretty similar tech from what I recall. With broadband being so common these days there'd probably be a renewed interest in this sort of capability. On 15/08/2008, at 2:37 PM, Scott Barnes wrote: Actually not true, it's the client-side that does the

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

2008-08-15 Thread Guy Morton
that was a statement that guy madelol Link Scott Barnes wrote: Is this a question or statement? :) All the best. On Thu, Aug 14, 2008 at 10:56 PM, Guy Morton [EMAIL PROTECTED] wrote: Oh and the way MS has stiffed SVG as a standard by refusing to support it in IE definitely pushes

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

2008-08-16 Thread Guy Morton
Flash? HTH. On Fri, Aug 15, 2008 at 9:00 PM, Guy Morton [EMAIL PROTECTED] wrote: If MS had a reputation for innovation, great products and fair play instead of for abuse and misuse of market power, I would agree that you should just choose whichever tool is appropriate for the job, however

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

2008-08-16 Thread Guy Morton
is more my point. On Sat, Aug 16, 2008 at 6:11 AM, Guy Morton [EMAIL PROTECTED] wrote: Scott, relax, you know the Flash plug-in is everywhere. :-) It's already on almost every desktop today. Ask most end users and they'll say they don't like installing plugins. Show them Flash content

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

2008-08-16 Thread Guy Morton
Scott, Rather than nit-picking about Flash's penetration stats, why not release your own for Silverlight? You won't, because they are low and don't suit your argument. Guy On 17/08/2008, at 10:24 AM, Scott Barnes wrote: Hi Mike, Just to clarify, when you say world-wide do you mean this

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

2008-08-16 Thread Guy Morton
currently still deciding as like the below, numbers can be a funny thing if misinterpreted :) HTH. On Sat, Aug 16, 2008 at 5:41 PM, Guy Morton [EMAIL PROTECTED] wrote: Scott, Rather than nit-picking about Flash's penetration stats, why not release your own for Silverlight? You won't

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

2008-08-16 Thread Guy Morton
always two sides to a story is more my point. On Sat, Aug 16, 2008 at 6:11 AM, Guy Morton [EMAIL PROTECTED] wrote: Scott, relax, you know the Flash plug-in is everywhere. :-) It's already on almost every desktop today. Ask most end users and they'll say they don't like installing plugins

Re: [flexcoders] Re: Flex is time consuming

2008-08-18 Thread Guy Morton
In my experience, Flex sometimes takes forever to compile when I'm on a lousy network. I've always wondered if it was due to it doing some http connections or DNS lookups, for reasons unknown (network licence checking perhaps?). On 19/08/2008, at 1:23 AM, JWOpitz wrote: I also believe

Re: [flexcoders] Re: Flex is time consuming

2008-08-18 Thread Guy Morton
Ah. That would make sense. On 19/08/2008, at 10:13 AM, Howard Fore wrote: Maybe it's using the URL in the xmlns attribute to get a DTD? On Mon, Aug 18, 2008 at 5:33 PM, Guy Morton [EMAIL PROTECTED] wrote: In my experience, Flex sometimes takes forever to compile when I'm on a lousy

Re: [flexcoders] Re: Flex is time consuming

2008-08-18 Thread Guy Morton
Maybe someone from Adobe could shed light on this? On 19/08/2008, at 11:00 AM, Douglas Knudsen wrote: I'd assume the DTD gets cached in Eclipse though. It does in other Eclipse tools at least. DK On Mon, Aug 18, 2008 at 8:25 PM, Guy Morton [EMAIL PROTECTED] wrote: Ah. That would

Re: [flexcoders] TypeError: Error #1034: Type Coercion failed: cannot convert ...

2008-08-20 Thread Guy Morton
I think that the single element won't get cast as an ArrayCollection. I think you'll find it's just a plain Object. On 21/08/2008, at 10:16 AM, weezee49 wrote: I'm getting the dreaded Type Coercion error on this line: resourcesAC = event.result.resources.resource; resourcesAC is declared

Re: [flexcoders] Stop Flex closing whole browser

2008-08-26 Thread Guy Morton
I develop on mac os x using firefox and fb just opens a new tab when I run my app. It doesn't close any windows or tabs when I stop an app. maybe you should try ff instead? On 27/08/2008, at 4:53 AM, Nik Derewianka wrote: Hi, So you have a whole bunch of pages open for your docs and

[flexcoders] UMap problem

2008-08-27 Thread Guy Morton
Has anyone else here got experience with using UMap and know the answer to this problem? http://www.afcomponents.com/components/umap_as3/ I have an existing mapping app that has other layers over the map. If I put a UMap map under these layers and click on pretty much anything that sits

Re: [flexcoders] UMap problem

2008-08-27 Thread Guy Morton
adjusting the mx_internal applicationIndex to be the right number. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton Sent: Wednesday, August 27, 2008 4:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] UMap problem Has anyone else here got experience

Re: [flexcoders] Results of Direct Phone Call to Scene7.com

2008-08-28 Thread Guy Morton
Hi Robert I agree that there is something vaguely distasteful about Adobe becoming a competitor to its developers (which Scene7 seems to be), however I also doubt that this is likely in the foreseeable future to have a significant impact on any of us. However, it is definitely worth

Re: [flexcoders] What is Flexcoders?

2008-08-28 Thread Guy Morton
I don't think anyone is much interested in personal rants, but there is a decent-sized grey area of topics that some people believe are off- topic and want to suppress (my recent discussion with the MS product manager for Silverlight being one example). Personally, I think considered

Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight, AJAX, soon Quicktime, and also DHTML and W3C

2008-08-29 Thread Guy Morton
Robert I supported your initial posting on this issue, but I also said you'd need to keep it concise and not overstay your welcome. Unfortunately, your posts are getting longer and even less focussed and factual. If you have facts we should be aware of, state them clearly and concisely.

Re: [flexcoders] Flexstore license?

2008-08-31 Thread Guy Morton
Josh was perhaps ill-advised to put that in writing, but frankly, he just wrote what others are by now no doubt thinking. Josh contributes MUCH more useful stuff to this list than you do Robert, so if you really have other people's interests at heart you'd not be trying to get him kicked

Re: [flexcoders] Re: What is Flexcoders?

2008-09-01 Thread Guy Morton
--- In flexcoders@yahoogroups.com, Guy Morton [EMAIL PROTECTED] wrote: I don't think anyone is much interested in personal rants, but there is a decent-sized grey area of topics that some people believe are off- topic and want to suppress (my recent discussion with the MS product manager for Silverlight

Re: [flexcoders] Re: What is Flexcoders?

2008-09-01 Thread Guy Morton
Yeah, Doug, we're Australians. No Labor Day holidays for us! Of course, being Australians, we were drunk anyway. On 02/09/2008, at 8:43 AM, Josh McDonald wrote: 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

Re: [flexcoders] Re: What is Flexcoders?

2008-09-01 Thread Guy Morton
Nah, we called it off after discovering that the only New Zealanders worth conquering were already living here. On 02/09/2008, at 9:22 AM, Weyert de Boer wrote: Did you guys already invade New Zealand? As announced last year? http://www.youtube.com/watch?v=K6p3xlCnSjcfeature=related

[flexcoders] clipContent doesn't always clip content

2008-09-04 Thread Guy Morton
I have a problem in that clipContent seems to intermittently not clip the content in a layer as I imagine it should. The graphics in the layer are drawn using the graphics class and the layer is inside another Canvas, eg mx:Canvas clipContent=true id=containerLayer bottom=0 left=350 top=0

Re: [flexcoders] clipContent doesn't always clip content

2008-09-05 Thread Guy Morton
measuring the graphics that you draw (in a sub component, the child of the canvas)? Is there a possibility that canvas is not knowing if the graphics are extending passed what it THINKS is the measured width and height? Mike On Thu, Sep 4, 2008 at 7:43 PM, Guy Morton [EMAIL PROTECTED] wrote

Re: [flexcoders] clipContent doesn't always clip content

2008-09-05 Thread Guy Morton
clipContent clip the Graphics object or just DisplayObject children? On Fri, Sep 5, 2008 at 8:37 AM, Guy Morton [EMAIL PROTECTED] wrote: Hi Mike I know for sure that the graphics are being drawn outside the enclosing canvas, because the child canvas is drawing x values 0 and these aren't

Re: [flexcoders] repairing pixelation on resized photos

2008-09-08 Thread Guy Morton
You need to turn on bitmap smoothing. Look at the BitMap class in the help docs. eg var bitmap:Bitmap = imageObject.content as Bitmap; bitmap.smoothing = true; On 09/09/2008, at 12:16 AM, David Pariente wrote: Hello, On my website i have lots of pics that i load and then resize to

[flexcoders] Copying graphs to the clipboard

2008-09-13 Thread Guy Morton
Has anyone got any advice as to how one might allow a user to copy a graph to their clipboard (or save it as a file)? I'm sure I'm not the first person to ask this, so if there is an authoritative copying data from Flex FAQ somewhere please let me know. We'll be building this app in Flex 3.

[flexcoders] Modularising a flex app

2008-09-13 Thread Guy Morton
Another question We have an app that has a number of parts that are not all required for all customers. What's the best way to build it to minimise file size and for ease of building and code maintenance? We currently keep the code separated in different classes and mxml components, so we

Re: [flexcoders] Modularising a flex app

2008-09-15 Thread Guy Morton
, at 07:23, Guy Morton wrote: Another question We have an app that has a number of parts that are not all required for all customers. What's the best way to build it to minimise file size and for ease of building and code maintenance? We currently keep the code separated in different classes and mxml

Re: [flexcoders] How do I determine the host where I am at?

2008-09-24 Thread Guy Morton
mx.core.Application.application.url On 25/09/2008, at 7:16 AM, luvfotography wrote: How do I find the host url where I'm ('myflexapp.swf') is loaded at? I tried BrowswerManager, but url, and base are null? Is there another way, or better way. ex: private var bm:IBrowserManager; bm =

[flexcoders] FocusManager seems unhappy

2008-09-26 Thread Guy Morton
Hi list I'm creating a popup using this code: var lookupWindow:IFlexDisplayObject = PopUpManager.createPopUp(MyApp, AddressLookup, true); PopUpManager.centerPopUp(lookupWindow); So far so good. This form has two text inputs. If I click in one and then hit the tab key Flex

Re: [flexcoders] FocusManager seems unhappy

2008-09-26 Thread Guy Morton
Note that even though it has whined like this, it still seems to work, ie after you dismiss the error you can tab around the items in the popup window like you'd expect. I'd really appreciate a clue on this one, if anyone has one. TIA On 26/09/2008, at 5:28 PM, Guy Morton wrote: Hi list

Re: [flexcoders] FocusManager seems unhappy

2008-09-26 Thread Guy Morton
in an input THEN tab. On 26/09/2008, at 5:35 PM, Guy Morton wrote: Note that even though it has whined like this, it still seems to work, ie after you dismiss the error you can tab around the items in the popup window like you'd expect. I'd really appreciate a clue on this one, if anyone

Re: [flexcoders] FocusManager seems unhappy

2008-09-26 Thread Guy Morton
I have a sinking feeling that this is what I'm seeing: http://thanksmister.com/?p=64 If so, it's caused by the UMap component. This is not good. I'm guessing this may be a terminal issue. Anyone know if there is a way to work around it? On 26/09/2008, at 5:41 PM, Guy Morton wrote: More

Re: [flexcoders] Some machines cannot sent data to Binary Socket

2008-10-10 Thread Guy Morton
Sounds like a firewalling issue. What port are you talking on? Does the client allow that port through their firewall? Corporate networks are often a pain with stuff like this. I have a client with a proxy server setup that sometimes makes my life miserable. Sometimes IT departments aren't

[flexcoders] Efficiency and objects in the display list

2008-10-13 Thread Guy Morton
We have an app which adds 50 or 60 dynamically created and animated canvas-based objects to the display list as it runs. I've noticed when running this under the profiler that even though these canvas-based components are really simple (they have a draw function and a rotate function in

Re: [flexcoders] Efficiency and objects in the display list

2008-10-14 Thread Guy Morton
Anyone? On 14/10/2008, at 11:34 AM, Guy Morton wrote: We have an app which adds 50 or 60 dynamically created and animated canvas-based objects to the display list as it runs. I've noticed when running this under the profiler that even though these canvas-based components are really simple

Re: [flexcoders] Efficiency and objects in the display list

2008-10-15 Thread Guy Morton
Thanks for the reply, Josh. They do need to respond to mouseovers and mousedowns, so am I stuck with UIComponent? Guy On 15/10/2008, at 8:11 AM, Josh McDonald wrote: If they don't need mouse events, base them on Shape instead. On Wed, Oct 15, 2008 at 7:09 AM, Guy Morton [EMAIL PROTECTED

Re: [flexcoders] Efficiency and objects in the display list

2008-10-15 Thread Guy Morton
It seems odd that there is no really lightweight class for addressing this sort of need, which I would have expected was a common one (I note it's the subject of a second thread now too). On 16/10/2008, at 9:51 AM, Guy Morton wrote: Thanks for the reply, Josh. They do need to respond

Re: [flexcoders] Efficiency and objects in the display list

2008-10-15 Thread Guy Morton
positioning and everything yourself, and don't have any need for stuff like CSS styles, then you should be OK using Sprite. Doug On Wed, Oct 15, 2008 at 4:49 PM, Guy Morton [EMAIL PROTECTED] wrote: It seems odd that there is no really lightweight class for addressing this sort of need

Re: [flexcoders] Efficiency and objects in the display list

2008-10-15 Thread Guy Morton
Which gets me back to where I started... :-/ On 16/10/2008, at 11:26 AM, Tracy Spratt wrote: Container children must be UIComponents. You will need to add the sprites to a UIComponent first. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton

Re: [flexcoders] Efficiency and objects in the display list

2008-10-15 Thread Guy Morton
holder component extends UIComponent you can add that to whatever Container class you've got in your app. Doug On Wed, Oct 15, 2008 at 5:16 PM, Guy Morton [EMAIL PROTECTED] wrote: Which gets me back to where I started... :-/ On 16/10/2008, at 11:26 AM, Tracy Spratt wrote: Container

Re: [flexcoders] Efficiency and objects in the display list

2008-10-15 Thread Guy Morton
app perform fast enough for you. Once you do a bit of testing care to share your overall experience? Doug On Wed, Oct 15, 2008 at 5:32 PM, Guy Morton [EMAIL PROTECTED] wrote: Yes, thanks Doug, Josh, Tracy...I did get that working. On 16/10/2008, at 11:21 AM, Doug McCune wrote

Re: [flexcoders] Flash Player 10 debug?

2008-10-16 Thread Guy Morton
Are you guys refunding what we paid for FB2 and 3? COOL... :-) On 17/10/2008, at 9:19 AM, Peter Witham wrote: LOL, I thought they got funded with all the previous versions I brought? My best guess is I'll hold out about a week or two at the most then give in :) Peter. On Thu, Oct

Re: [flexcoders] AS equivalent for perl's chop/chomp?

2008-10-16 Thread Guy Morton
I don't think so...I've never seen one, but what's hard about using String.replace? Aren't the following functionally equivalent? //perl's chomp String.replace(/[\r\n]*$/); //perl's chop String.replace(/.$/); I guess if you really care, you could extend the String class to add them? Guy

Re: [flexcoders] Re: Efficiency and objects in the display list

2008-10-16 Thread Guy Morton
Ah. nice tip. I'll give that a try. On 17/10/2008, at 3:58 PM, Gordon Smith wrote: Although normal children of a Container must be a IUIComponent, you can add a plain Sprite as a raw child of a Container: var s:Sprite = new Sprite(); // draw into s.graphics // set s.x, s.y, s.width,

[flexcoders] dividerSkin problem

2008-10-21 Thread Guy Morton
Hello If I use dividerSkin to set the skin of a HDividedBox to an image file, and the HDividedBox sits inside a VDividedBox, and the image file I'm using for the skin is wider than the HDividedBox, the skin image is drawn over the content in the other pane of the VDividedBox, ie it is not

[flexcoders] Chart fails when used in module

2008-10-21 Thread Guy Morton
Hello I have a chart which works fine in a normal MXML component, but when I try to turn it into a module I get this when trying to load it: TypeError: Error #1009: Cannot access a property or method of a null object reference. at

Re: [flexcoders] swf caching

2008-10-21 Thread Guy Morton
Look at your browser's caching settings and make sure it's not set to cache everything forever. IE is particularly annoying in this regard as it often defaults to using a cached item without even checking with the server to see if it has changed since it was cached. That said, you should

Re: [flexcoders] Chart fails when used in module

2008-10-22 Thread Guy Morton
On 22/10/2008, at 10:55 AM, Guy Morton wrote: Hello I have a chart which works fine in a normal MXML component, but when I try to turn it into a module I get this when trying to load it: TypeError: Error #1009: Cannot access a property or method of a null object reference

Re: [flexcoders] Do you use a Mac?

2008-10-23 Thread Guy Morton
That's not so true any more. I have lots of hard-core geek friends and many of them are moving to OSX because it's got unix under the hood, looks great, has a ton of open-source software available for it and it isn't Microsoft. Those are pretty good reasons if you ask me, and yes, I've

Re: [flexcoders] Do you use a Mac?

2008-10-23 Thread Guy Morton
Inkscape is a reasonable Illustrator-replacement, and it's free. On 24/10/2008, at 9:23 AM, john fisher wrote: Just in case anybody cares, it is also possible to use Flex Builder on Linux. Since I don't normally use any non-free software, and I do a lot of Linux sys admin, thats good for me.

Re: [flexcoders] Re: Do you use a Mac?

2008-10-23 Thread Guy Morton
/designers. If they are not happy with Win/Cygwin I doubt that they found a happiness with MacOs. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Guy Morton [EMAIL PROTECTED] wrote: That's not so true any more. I have lots of hard-core geek friends and many of them are moving to OSX because it's

Re: [flexcoders] Re: Do you use a Mac?

2008-10-23 Thread Guy Morton
, Dmitri. --- In flexcoders@yahoogroups.com, Guy Morton [EMAIL PROTECTED] wrote: I think it's interesting that people who bag people who prefer Macs often resort to comments like oh it's fine for people who don't know anything about computers or it's good for housewives. According to Apple, Mac

Re: [flexcoders] Question about html embed (AC_FL_RunContent)

2008-10-26 Thread Guy Morton
what web server are you using? can you check the web server logs to see what url is being passed to the server? is it giving a 404 error? On 27/10/2008, at 11:50 AM, Aaron Miller wrote: Didn't seem to work either. I guess for now I will just have to house all my html files in the same

[flexcoders] Annoying charts bug also appears when using modules

2008-10-27 Thread Guy Morton
https://bugs.adobe.com/jira/browse/FLEXDMV-1695 This bug also occurs when you introduce modules into your app. I have no idea why but it is very annoying and seemingly simple to fix. For some reason, rather than fix it someone at Adobe has simply closed this bug. Why? Guy

Re: [flexcoders] Html file in Flex application.

2008-10-28 Thread Guy Morton
Use an iFrame and float your html over your flex app. It works surprisingly well... http://www.deitte.com/archives/2006/08/finally_updated.htm Of course, it may not meet your needs but it's another approach worth considering. Guy On 28/10/2008, at 7:40 PM, kotha poornima wrote: Hi

Re: [flexcoders] Re: Module initialisation

2008-11-06 Thread Guy Morton
Thanks guys Is there an advantage to using ModuleManager over ModuleLoader? Guy On 07/11/2008, at 4:51 AM, Alex Harui wrote: If you’re using moduleLoader there will also be a READY event, and that will indicate that the child is instantiated, and later the child will dispatch an

Re: [flexcoders] ERROR

2008-11-13 Thread Guy Morton
The error is telling you what's wrong. You have an unterminated element in your XML, ie your XML is not valid. On 14/11/2008, at 2:50 PM, Nievtha NagaRaj wrote: Hi everybody: I'm had a issue when i tried to load XML at RunTime an error appears, 11:13:38.766 [ERROR] ERROR

Re: [flexcoders] Saving State of the Flash movie

2008-11-14 Thread Guy Morton
Can you use a SharedObject? On 15/11/2008, at 11:48 AM, zoran_101 wrote: I have a question about the state of the Flash Movie, for example I have Cilick on a button 1 Click on button 2 And text in field2 And another click on button1 So I would like to define that as State1 in the .swf file.

Re: [flexcoders] Re: Does Smart Serach like 'You tube' does possible in Flex ?

2008-11-18 Thread Guy Morton
It's covered by the BSD license, which is pretty generous... On 19/11/2008, at 1:03 PM, anuj sharma wrote: No Worries Charlie, That's really helpful. I imported SWC in my library and it is doing what it is supposed to do. I hope there are no licensing issue with using SWC files within my

Re: [flexcoders] Memory Leaks... Cumulative Memory and Memory.

2008-11-19 Thread Guy Morton
I'm interested in knowing more about this too...I have an app that seems to cause the browser's memory to increase steadily over the course of several hours. However, if I run WSMonitor alongside it, it says the memory usage of my app *doesn't* increase overall (though it fluctuates

[flexcoders] Best browser for debugging on Mac OSX?

2008-11-25 Thread Guy Morton
Anyone got a recommendation? I've been using Firefox, but it seems to bloat memory-wise the longer it runs - often consuming 500Mb after a while. As FB3 also is a memory hog, this makes it hard to run on a 2Gb machine. All I really need it a lightweight browser that can load the Flash

Re: [flexcoders] Best browser for debugging on Mac OSX?

2008-11-25 Thread Guy Morton
, 2008 at 10:45 AM, Guy Morton [EMAIL PROTECTED] wrote: Anyone got a recommendation? I've been using Firefox, but it seems to bloat memory-wise the longer it runs - often consuming 500Mb after a while. As FB3 also is a memory hog, this makes it hard to run on a 2Gb machine. All I really need

Re: [flexcoders] Best browser for debugging on Mac OSX?

2008-11-25 Thread Guy Morton
. I was using Camino but I currently use Firefox. On Wed, Nov 26, 2008 at 10:45 AM, Guy Morton [EMAIL PROTECTED] wrote: Anyone got a recommendation? I've been using Firefox, but it seems to bloat memory-wise the longer it runs - often consuming 500Mb after a while. As FB3 also is a memory hog

Re: [flexcoders] Memory leaks in Flex SDK

2008-11-25 Thread Guy Morton
I'll second that. I've found the profiler hard to rely upon. Running my app in a browser alongside WSMonitor seems more convincing to me, but that might be because it gives me the answer I expect want (ie, no leaks). Guy On 26/11/2008, at 3:08 PM, Alex Harui wrote: SDK-18076 hasn’t

Re: [flexcoders] Redirect from Alert

2008-12-01 Thread Guy Morton
Look at the docs for Alert. You can pass it a close handler. On 02/12/2008, at 7:51 AM, brucewhealton wrote: Hello all, I was wondering if you could explain some things or suggest some options. I have a page that opens in a new window and displays a Flex form. When the information is

[flexcoders] Filter won't render...what is the cause?

2008-12-02 Thread Guy Morton
Warning: Filter will not render. The DisplayObject's filtered dimensions (107374955, 525) are too large to be drawn. Anyone know what causes this? The implication is that I'm trying to apply a filter to an enormous object, but as far as i know, there is no huge object in my app. Anyone got

Re: [flexcoders] Replacement Date class?

2008-12-02 Thread Guy Morton
It'd be great to have some date math methods in there as well. Simple things like getting the # of days/weeks/months between 2 dates is currently much more clunky than it ought to be. It'd be nice if it had some of what perl's DateTime module is capable of. On 03/12/2008, at 7:19 AM, Pan

Re: [flexcoders] clear the cache

2008-12-02 Thread Guy Morton
Depends on the browser you're using. Clearing the cache is all you should have to do, but depending on whether you are sitting behind a web proxy even that might sometimes not be enough. In my experience, web proxies are a frequent source of developer frustration (especially MS proxies).

[flexcoders] Footer row with a DataGrid

2008-12-02 Thread Guy Morton
Hi people What is the best way to achieve a footer row in a DataGrid? I want to be able to set the values in the footer row myself, ie I don't need it to do any fancy calculations. I found this: http://blogs.adobe.com/aharui/2008/03/flex_3_datagrid_footers.html Does anyone have a better

Re: [flexcoders] Footer row with a DataGrid

2008-12-03 Thread Guy Morton
, it does seem crazy that even the ADG doesn't have this built into it...seems a pretty standard requirement) Guy On 04/12/2008, at 7:38 AM, Alex Harui wrote: Sniff. L What’s wrong with that example? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton Sent

Re: [flexcoders] Footer row with a DataGrid

2008-12-03 Thread Guy Morton
got ideas on how to fix them?) Guy On 04/12/2008, at 7:38 AM, Alex Harui wrote: Sniff. L What’s wrong with that example? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton Sent: Tuesday, December 02, 2008 10:59 PM To: flexcoders@yahoogroups.com Subject

Re: [flexcoders] Footer row with a DataGrid

2008-12-03 Thread Guy Morton
, at 10:32 AM, Guy Morton wrote: Mind you, there are some bugs in your code... :-) eg you can't resize the resulting datagrid without causing an error (that one's easily fixed) and triggering alignment problems (that might be harder to fix). Anyone else here looked at this code and run

  1   2   3   >