RE: [flexcoders] VO from WebService not being translated?

2007-10-05 Thread Jim Hayes
Do you have the RemoteClass tag on your flex VO class ? That's what I needed to fix that problem (it was flourine remoting, I'm guessing the webservice needs the same) [RemoteClass(alias=com.yourdomain.vo.YourServerVO)] Public class YourFlexVO { hth Jim. -Original Message-

RE: [flexcoders] Re: VO from WebService not being translated?

2007-10-05 Thread Jim Hayes
mailto:flexcoders%40yahoogroups.com , Jim Hayes [EMAIL PROTECTED] wrote: Do you have the RemoteClass tag on your flex VO class ? That's what I needed to fix that problem (it was flourine remoting, I'm guessing the webservice needs the same) [RemoteClass(alias=com.yourdomain.vo.YourServerVO)] Public

RE: [flexcoders] interactive-images

2007-10-15 Thread Jim Hayes
Without getting into the background (if it sounds crazy then believe me there is method to our madness), What we do is this : For every image map jpeg we display, there is a corresponding map image, where clickable elements are represented by a (individually) coloured area. When the user clicks

RE: [flexcoders] Beta 1 - expires in 15 days

2007-10-15 Thread Jim Hayes
Can you use the beta1 compiler in the beta2 IDE? (Well, I'm pretty sure that *one* can, but I've not tried it myself I'm afraid). The 2 installations will coexist (that I can confirm, under XP at least), so you've not much to lose in trying. -Original Message- From:

RE: [flexcoders] Best Practice: Receiving XML, Storing the Data in Flex, Using it

2007-10-25 Thread Jim Hayes
-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Harald Koebler Sent: 24 October 2007 23:52 To: flexcoders@yahoogroups.com Subject: [flexcoders] Best Practice: Receiving XML, Storing the Data in Flex, Using it Hi, I have been having massive

RE: [flexcoders] dynamic images and copy protection

2007-10-29 Thread Jim Hayes
also the client wants some protection for the images. That old chestnut! You can point out that pressing the printscreen key normally overrides any encryption that you have on images ... Sometimes that works :-) Last time I had that (years back, in fact) , I built a script that called ming to

RE: [flexcoders] Re: dynamic images and copy protection

2007-10-29 Thread Jim Hayes
-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flashcrow2000 Sent: 29 October 2007 14:43 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: dynamic images and copy protection Embedding the images in swfs might do the trick. the problem

RE: [flexcoders] Re: dynamic images and copy protection

2007-10-29 Thread Jim Hayes
Eh? Don't know what happened there ... sorry ! What I did didn't use a server or internet access, in fact. The script ran through directories of images, embedded each one in it's swf wrapper and saved that out as

RE: [flexcoders] Re: Tree: Removing expand triangle from select nodes

2007-10-29 Thread Jim Hayes
-Original Message- From: flexcoders@yahoogroups.com on behalf of djdyland Sent: Mon 29/10/2007 19:43 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tree: Removing expand triangle from select nodes So I guess to simplify my question... how do I apply

RE: [flexcoders] AND condition in mxml tag??

2007-11-01 Thread Jim Hayes
-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Anzer Sent: 01 November 2007 14:04 To: flexcoders@yahoogroups.com Subject: [flexcoders] AND condition in mxml tag?? How can I give condition in mxml tag.   For example mx:Button label=Browse

RE: [flexcoders] Wrapper .svn copies BUG!

2007-11-02 Thread Jim Hayes
Paul, do you have the project | properties | flex compiler | copy non-embedded files into output directory checkbox checked (it's the default) ? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Decoursey Sent: 02 November 2007 13:58 To:

RE: [flexcoders] Convert ByteArray to Bitmap

2007-11-02 Thread Jim Hayes
To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Convert ByteArray to Bitmap Yeah, things are working, but really there should be a loadBytes() API on mx:Image/SWFLoader to save you a step. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim

RE: [flexcoders] Convert ByteArray to Bitmap

2007-11-02 Thread Jim Hayes
Oops, sorry, this one makes slightly more sense (first thing in the morning, not even finished my first cuppa...) private var _ldr:Loader private function myTest():void{ //get ByteArray from Image Component content var testBM:Bitmap = testImg.content as Bitmap; var myByte:ByteArray = new

RE: [flexcoders] Convert ByteArray to Bitmap

2007-11-02 Thread Jim Hayes
After reading some previous posts, it appears that the best way to convert a byte array into a Bitmap is though the loader class... In my debugging it fails silently, but I get the follow message when I try to look into the vars (Error: Error #2099: The loading object is not sufficiently

RE: [flexcoders] Re: Animated overSkin (how to use more than one frame of a symbol)

2007-11-19 Thread Jim Hayes
Have a look at Tinks blog article as well. http://www.tink.ws/blog/seemless-animated-skins-in-flex/ Gingerbread men skins are the next big thing, apparently :-) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: 19

RE: [flexcoders] Is it possible to see the Actionscript generated by MXML files?

2007-11-21 Thread Jim Hayes
There's a compiler option : from the docs keep-generated-actionscript=true|false Determines whether to keep the generated ActionScript class files. The generated class files include stubs and classes that are generated by the compiler and used to build the SWF file. The default location of

RE: [flexcoders] Flex Builder 3 Gotcha

2007-11-27 Thread Jim Hayes
Even then I've still found the loss of autocomplete/colouring to occur sometimes. I've not yet managed to work out the circumstances that cause it (for me, at least), mainly since it only happens once in a while and I can life with it. Funnily enough, for me it can happen with a file that opened

RE: [flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread Jim Hayes
Ben may not have been, but I always have been thinking of this. It would be handy in debugging memory issues for one thing, and also a bit quicker (and surer, given the possibility of missing one?) to loop and clear all than specifically clearing several events on, say, a streamLoader or similar.

RE: [flexcoders] Windows Like Tree

2007-12-04 Thread Jim Hayes
Open flexbuilder help, search for tree, select the top entry (mx.controls.Tree) and then read the styles section. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yourName Sent: 04 December 2007 12:02 To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Tree - Open all child layers when open branch

2007-12-05 Thread Jim Hayes
The method you need is in the help file under Tree, as it happens. I guess a mix of the change event and selectedItem (off the top of my head and without checking) would probably do what you want. hth Jim. expandChildrenOf () method public function expandChildrenOf(item:Object,

RE: [flexcoders] howto save image from flex app to local disk - any tips / ideas?

2007-12-05 Thread Jim Hayes
, but not the attachement. Ben Jim Hayes wrote: Greetings flexcoders, I have a need for my flex application to have a saveimage button that enables the user to save an image of part of the application. I've been able to get this to work without too much trouble, but it still needs a bit of polish

[flexcoders] howto save image from flex app to local disk - any tips / ideas?

2007-12-05 Thread Jim Hayes
Greetings flexcoders, I have a need for my flex application to have a saveimage button that enables the user to save an image of part of the application. I've been able to get this to work without too much trouble, but it still needs a bit of polish so I thought I'd ask if anyone has any

RE: [flexcoders] Re: How to access .net dll's in FLEX 3.0

2007-12-06 Thread Jim Hayes
Look into fluorine or weborb, both are remoting solutions for dotnet. Personally I'm using fluorine at the moment and am quite happy with it. There are getting started tutorials for both just a short google search away (Sorry, I don't have any links to hand just now) Jim. -Original

RE: [flexcoders] Re: flex builder 3 profiler. which player?

2007-12-06 Thread Jim Hayes
Mike is yesterdays (?) build of flashplayer (moviestar, the debug version) reckoned to be OK to use with the current flexbuilder 3 beta? I tend to be very cautious about updating my flash player, since I don't like to introduce unnecessary unknowns. Many thanks (no need for quick answer!), Jim.

RE: [flexcoders] Flash Player 9.0.115 drawing bug

2007-12-10 Thread Jim Hayes
Nothing like that I'm afraid. I have noticed one (possible bug) that crept in when they made the bitmap operations multithreaded - my filter matrix operation now sometimes gets done in two parts (I surmise), resulting in a line (normally horizontal but sometimes vertical) running though the

RE: [flexcoders] Flash Player 9.0.115 drawing bug

2007-12-10 Thread Jim Hayes
Hi Alex, many thanks for the tip. looks like the one I'm seeing *is* a multicore problem, on casual testing at least. I also noticed a colleague with an earlier player did not see it. So, can I set DisableMulticoreRenderer as a compiler option If I have to? (I'm happy to live with it for the

RE: [flexcoders] Flash Player 9.0.115 drawing bug

2007-12-10 Thread Jim Hayes
it is a multi-core issue so we can at least know that when the bug is filed. I don't follow their bug base so I don't know if there are open issues. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: Monday, December 10, 2007 3:08 PM

RE: [flexcoders] Flash Player 9.0.115 drawing bug

2007-12-11 Thread Jim Hayes
Sent: 10 December 2007 23:37 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flash Player 9.0.115 drawing bug Jim, When did they make the bitmap operations multithreaded? Is that new as of fp 9.0.115.0? - Original Message - From: Jim Hayes mailto:[EMAIL PROTECTED

RE: [flexcoders] Flex Builder 3 public beta 3 on Labs

2007-12-13 Thread Jim Hayes
What would that mean in practice, Tom? Opening a previous project has given me a source code view with no colour highlighting, project properties contains many incompatible settings and there are no SDKs listed ! Oh dear! Looks like something went wrong ... I'm just attempting to reinstall

RE: [flexcoders] Flex Builder 3 public beta 3 on Labs

2007-12-13 Thread Jim Hayes
. Please also check the release notes for how you can address this (which is basically cleaning the workspace using Eclipse's clean command). Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: Thursday, December 13, 2007 8:50 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Reading from a file - file not found?

2007-12-17 Thread Jim Hayes
Check it (the text file) is in the bin directory (normally set by default to be [projectRoot]/bin , but that may have been set differently in project properties), which is where the debug version will be running from... It's probably a reasonable idea to do a file.exists check in your code as

RE: [flexcoders] FB3 Beta 3 AIR app problem

2007-12-18 Thread Jim Hayes
There are some changes in the application descriptor file that you need to make, (for me flex builder raised errors before I did that so nothing happening would seem a bit strange. I'm impatient! :) ) Kevin Hoyt has quite a good little summary here :

RE: [flexcoders] Question about flash.event ... someone can help?

2007-12-18 Thread Jim Hayes
Can you use a default parameter value? e.g. change this : public function onUploadCanceled(event:Event):void { to this : public function onUploadCanceled(event:Event=null):void { That's if you're not actually using any info in the event, of course ? I'm guessing there, but it seems

RE: [flexcoders] Re: embedding html in xml

2008-01-03 Thread Jim Hayes
You might want to set condenseWhite=true on the textfield as well, it quite often puts a stop to that kind of nonsense. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of iilsley Sent: 03 January 2008 05:19 To: flexcoders@yahoogroups.com Subject:

[flexcoders] How to find width of scrollbar in comboBox dropdown ?

2008-01-08 Thread Jim Hayes
; /** * * @author jim Hayes * ExtendedComboBox : extends comboBox to provide a dropdownWidth that adjusts to the widest label * whenever the dataprovider is changed. */ public class ExtendedComboBox extends ComboBox { public function ExtendedComboBox

RE: [flexcoders] Browser window size

2008-01-08 Thread Jim Hayes
Does this do what you want (using screenManager.screen) ? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute backgroundGradientAlphas=[1.0, 1.0] backgroundGradientColors=[#943C3C, #943C3C] height=100% width=100% mx:Script

RE: [flexcoders] Open Source ActionScript HTML/CSS broswer released

2008-01-08 Thread Jim Hayes
On a (somewhat) related note, has anyone had a chance to play with the code that Alex Harui posted here: http://blogs.adobe.com/aharui/2008/01/html_and_flex_1.html ? I'm actually looking for something to display html tables, some horrible hackery on my part got it to display more or less what

RE: [flexcoders] Open Source ActionScript HTML/CSS broswer released

2008-01-08 Thread Jim Hayes
: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Jim Hayes Sent: Tuesday, January 08, 2008 10:42 AM To: [EMAIL PROTECTED] ups.com Subject: RE: [flexcoders] Open Source ActionScript HTML/CSS broswer released On a (somewhat) related note, has anyone

RE: [flexcoders] Re: HTTPService, POST, and QueryString

2008-01-10 Thread Jim Hayes
I'm pretty sure that if you use POST in flex then you are going to have to change your server to read the POSTed information rather than the querystring. That said, you don't mention what you're using on your server. In any case, it's likely to be a fairly trivial change to implement assuming that

RE: [flexcoders] Question regarding the auto-highlight of all instances in code (Beta 3)

2008-01-14 Thread Jim Hayes
http://blog.ff9900.org/?p=39 http://blog.ff9900.org/?p=39 (Not mine, But I bookmarked it the other day ...) You can turn it off with a button on the toolbar, as well. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason The Saj Sent: 14

RE: [flexcoders] How to acess any component's properties?

2008-01-16 Thread Jim Hayes
Giving it an id and then refering to it by that id should do what you want. mx:TextInput id=doubleClickText x=414 y=25 editable=false borderStyle=none color=#3B5598 text=yogi4yu doubleClick={ this.doubleClickText .editable=true;this.doubleClickText .borderStyle=inset;}/ -Original

RE: [flexcoders] Trouble with try/catch for loader error

2008-01-16 Thread Jim Hayes
Does Loader not throw an error event rather an immediate error? Try adding a listener for the IOerror (and security error, just to be safe) events instead. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben Marchbanks Sent: 16 January 2008

RE: [flexcoders] use the standalone player

2008-01-16 Thread Jim Hayes
I used to use it for flex 2 and see no reason why it shouldn't. At the time, though, I did have some difficulty finding a standalone player that was not a debug version (on windows). You might like to have a look at screenweaver HX, which gives you some nice additions and is open source. The

RE: [flexcoders] E4X Namespace Issues...

2008-01-16 Thread Jim Hayes
I've already included some dynamic e4x expression parsers that I found on the web Tod, do you have the urls for those to hand? and would you care to share them? Sorry to be so lazy, but I use e4x occasionally enough for the syntax to generally escape me when I have to. Hence anything I can

RE: [flexcoders] Drawn objects acting as children to components?

2008-01-17 Thread Jim Hayes
Not quite sure exactly what you're looking for here Jason, but I'm guessing it's something like this: (I've just hacked at your last example since its very late here and I'm tired, but hope it helps get you a bit further). Note your component instance now has width+height set to 100% and there's

RE: [flexcoders] Drawn objects acting as children to components?

2008-01-18 Thread Jim Hayes
minWidth and minHeight seem to work for me : mx:Panel id=networkBrowserPanel width=100% height=100% layout=absolute title=Network c:NetworkLayout container={networkBrowserPanel} width=100% height=100% outerAlpha=1 innerAlpha=1 outerColor=#ff innerColor=0x66

RE: [flexcoders] Photo Viewer Sample App-BMP File Error

2008-01-18 Thread Jim Hayes
I'm pretty sure that flash/flex doesn't have the low level decompressor (if thats the right word for bitmaps!) for .bmp, which would make some sense in terms of it being largely focussed on internet apps. Maybe you'd need to write your own, e.g. read the bitmap in as a bytearray and get the raw

RE: [flexcoders] get list of my item renderer

2008-01-18 Thread Jim Hayes
I think you just add a method to return it (assuming you want it to be publicly accessible from your instance of the custom TileList) so in your extension of TileList , add something like public function getListItems():Array { return listItems; } If you want a property style access

RE: [flexcoders] flex 3 cairngorm

2008-01-19 Thread Jim Hayes
That version has worked fine for me across all the flex 3 betas with no trouble or attention whatsoever. I think they might have pulled it out of beta and put a release tag on it quite recently, but checking the labs page should tell you that. Best of luck with it (I'm a fan, myself).

RE: [flexcoders] flex 3 cairngorm

2008-01-19 Thread Jim Hayes
- From: flexcoders@yahoogroups.com on behalf of Jim Hayes Sent: Sat 19/01/2008 22:28 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] flex 3 cairngorm That version has worked fine for me across all the flex 3 betas with no trouble or attention whatsoever. I think they might have pulled

RE: [flexcoders] Re: addchild

2008-01-20 Thread Jim Hayes
What you need to do in flex is the following: (off top of head and not checked) //make a new uicomponent var uic:UIComponent = new UIComponent(); var squareSize:uint = 100; var square:Shape = new Shape(); square.graphics.beginFill(0xFF, 0.5); square.graphics.drawRect(0, 0, squareSize,

RE: [flexcoders] Re: addchild

2008-01-20 Thread Jim Hayes
. drawRect( 0, 0, 100, 100); uic.graphics. endFill() ; //add the uicomponent to the flex displaylist this.addChild( uic); } Jim Hayes wrote: What you need to do in flex is the following: (off top of head and not checked) //make a new uicomponent var uic:UIComponent = new UIComponent

RE: [flexcoders] Re: Detect AIR Application?

2008-01-21 Thread Jim Hayes
The docs say this : if (Security.sandboxType == Security.APPLICATION) { // Load SWF that contains AIR APIs } else { // Load SWF that does not contain AIR APIs } http://livedocs.adobe.com/labs/flex3/html/help.html?content=os_shell_09.html (I've been meaning to look this topic up

RE: [flexcoders] Re: Detect AIR Application?

2008-01-22 Thread Jim Hayes
Chiverton Sent: 22 January 2008 14:50 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Detect AIR Application? On Tuesday 22 Jan 2008, Jim Hayes wrote: I did expect something a bit more general rather than something that appears to be so closely tied to the security settings though. Put

RE: [flexcoders] Re: Detect AIR Application?

2008-01-22 Thread Jim Hayes
Application? On Tuesday 22 Jan 2008, Jim Hayes wrote: I did expect something a bit more general rather than something that appears to be so closely tied to the security settings though. Put your core logic in a shared .SWC, and have an AIR and Flex project that import it. -- Tom Chiverton Helping

RE: [flexcoders] Re: Adding children at run-time

2008-01-24 Thread Jim Hayes
I think that unless you set creationpolicy=all on the tab navigator, the (forms in this case) are not actually instanciated until the user clicks on the tab (or you set the tabindex or similar) in any case. So it may not be necessary to do exactly what you ask, perhaps you can just define

RE: [flexcoders] HTML Component for Flex

2008-01-25 Thread Jim Hayes
Alex Harui posted some code here, read his comments there for the state of play on this. http://blogs.adobe.com/aharui/2008/01/html_and_flex_1.html I met James Ward last night, he tells me it's his intention to set up an open source repo on this (I believe he's jetting round Europe at the moment

RE: [flexcoders] Running a flex app from local file system

2008-01-28 Thread Jim Hayes
Try -use-network=false Jim. -Original Message- From: flexcoders@yahoogroups.com on behalf of Greg Hess Sent: Mon 28/01/2008 19:39 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Running a flex app from local file system Thanks Guys, Unfortunately, I am having difficulty

RE: [flexcoders] How would I write this query in e4x

2008-01-28 Thread Jim Hayes
I think it's var yourFilteredXMLList:XMLList = yourXML.descendants().(@id==3); that you want (all nodes where a doc id == 3). but I've not run it up, so might be wildly out. Have a look here : http://mimswright.com/blog/?p=141 it's what I read when I need a refresher on e4x (All too often,

RE: [flexcoders] Accessing Methods of a Custom Components

2008-01-29 Thread Jim Hayes
did you try container.getChildAt(index) e.g. hbox.getChildAt(2) to use your example ? It may of course have other children, and you don't test type in your post, so maybe something like : for (var i=0; ihbox.numChildren;i++) { if (hbox.getChildAt(i) is coptions) {

RE: [flexcoders] Set dataProvider method stops at midpoint?

2008-02-01 Thread Jim Hayes
That's making sense for me now, a few days ago I made a *very* stupid mistake and saw exactly the same symptoms as you, Jason. Again, a simple bare bones test showed everything working exactly as expected, yet the flow of execution in the application itself stopped dead with no error raised.

RE: [flexcoders] BitmapData- the quality of image degrades when rotating bitmapImage

2008-02-02 Thread Jim Hayes
You might try setting smoothing = true on the bitmap? I can't tell you if it will help offhand, but it's worth a go! -Original Message- From: flexcoders@yahoogroups.com on behalf of Yochikoh Haruomi Sent: Sat 02/02/2008 21:43 To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Actionscript replace characters from a string

2008-02-05 Thread Jim Hayes
Are you using a regular expression for the first parameter? If so, add a g to the end of the expression (for global, e.g. replace *all* instances) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hworke Sent: 05 February 2008 11:47 To:

RE: [flexcoders] Flex Builder 3 matching identifier highlighting

2008-02-06 Thread Jim Hayes
There's a button with a tooltip of mark occurences on the toolbar. You'd have to ask adobe as to why it's on by default, I guess. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of m88e24 Sent: 06 February 2008 13:04 To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Setting combobox selectedindex

2008-02-06 Thread Jim Hayes
I extend comboBox and raise a custom event when the data provider changes, something like the code below, Then listen for that event and set the selected index according to my needs (I needed to do some calculations to get that, in my own situation). hth, Jim. [Event(name=dataProviderChanged,

[flexcoders] Drag and drop into a datagrid Cell (rather than the default, row) ?

2008-02-14 Thread Jim Hayes
Sorry to ask a basic question, but the docs, google, and searchcoders don't seem to be getting me any results so far (or my search terms are just rubbish) I'd like to be able to drag an item to a *cell* in a datagrid, the default action would seem to be that the drop adds a new row, whereas I

RE: [flexcoders] Drag and drop into a datagrid Cell (rather than the default, row) ?

2008-02-14 Thread Jim Hayes
. Instead of the single line, you should be able to highlight a cell and then instead of an insert to the collection, change some data in a cell. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: Thursday, February 14, 2008 6:33 AM

RE: [flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread Jim Hayes
Isn't the profiler only going to be available in the more expensive version? e.g. the one that costs a fair bit more than $250? This is from memory (at home time on a Friday) I've not checked it ... -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] Checkbox with function problem

2008-02-15 Thread Jim Hayes
Use == rather than = (the former compares, the latter sets the value). (That's from your first example, not sure If I'm missing the actual point you're making, tbh). -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ghus32 Sent: 15 February 2008

RE: [flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread Jim Hayes
Good points from Tracy there. If it saves you only 15 minutes a day, say 5 hours a month and the cost to your company of employing you (wages + a surprising amount of extra cost in admin, office space, insurance etc etc) is roughly $50 an hour then it pays for itself in only 4 weeks (If the

RE: [flexcoders] Flex Book

2008-02-15 Thread Jim Hayes
Dan, I'd set the components dataprovider to an XML variable, and initialise that variable as either empty or whatever the minimum xml information needs to be to prevent the component getting upset about null values. make that variable bindable. Then, when you get the http service results,

RE: [flexcoders] Re: Checkbox with function problem

2008-02-15 Thread Jim Hayes
I was thinking that it might be, because apart from my pedantic pick up on =/== everything else looks ok as far as I can tell. Try adding ' selected=false ' to the attributes of the checkbox mxml ? or you can set it in the properties panel in design view (does the same thing). -Original

RE: [flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread Jim Hayes
himself. --- In flexcoders@yahoogroups.com, Jim Hayes [EMAIL PROTECTED] wrote: Good points from Tracy there. If it saves you only 15 minutes a day, say 5 hours a month and the cost to your company of employing you (wages + a surprising amount of extra cost in admin, office space, insurance etc

RE: [flexcoders] Stop Imports from disappearing

2008-02-16 Thread Jim Hayes
look in window | preferences | flex | editors | actionscript Code, the option is set there -Original Message- From: flexcoders@yahoogroups.com on behalf of Sherif Abdou Sent: Sat 16/02/2008 19:05 To: flexcoders@yahoogroups.com Subject: [flexcoders] Stop Imports from disappearing How

RE: [flexcoders] Re: Tree Branch???

2008-02-19 Thread Jim Hayes
set an attribute of 'isBranch=true' on the xml node that you wish to display as a branch ( ie [EMAIL PROTECTED] = true ) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of xmwang1982 Sent: 19 February 2008 08:58 To: flexcoders@yahoogroups.com

RE: [flexcoders] Tree descendants

2008-02-20 Thread Jim Hayes
I think it's XML(dataProvider).descendants().(attributes(enabled) == true) that you want ? Not checked it but I think it's pretty close at least. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: 20 February 2008 05:55 To:

RE: [flexcoders] Re: Is it possible to have 2 children of viewstack visible?

2008-02-20 Thread Jim Hayes
Tink did some work on a papervision 3d cube (and other) transition effect on states, (or possibly viewstack, can't remember) which I think has the same attribute - you can see both states at one time. The source is on his site somewhere. http://www.tink.ws/blog/ , it may give you some clues.

RE: [flexcoders] Drawing in Panel Insanity

2008-02-20 Thread Jim Hayes
Last time I needed the scrollbars property of a component I found that the scrollbar was protected - so had to extend the component itself and add methods to get scrollbar width etc. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason

RE: [flexcoders] Drawing in Panel Insanity

2008-02-20 Thread Jim Hayes
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: Wednesday, February 20, 2008 5:17 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Drawing in Panel Insanity Last time I needed the scrollbars property of a component I found

RE: [flexcoders] Re: Tree descendants

2008-02-20 Thread Jim Hayes
=/ --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Rafael Faria [EMAIL PROTECTED] wrote: Not really. Got an error as well. someone else can help me out?? raf --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jim Hayes jim@ wrote: I think it's XML

RE: [flexcoders] Running windows media player in flex 2.0.1

2008-02-27 Thread Jim Hayes
No, you cannot do that. You could perhaps place the mediaplayer plugin window above the flex app in an iframe, however. (But for me, it would be better to convert any media that you have into .flv ) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] flex builder and SVN

2008-03-11 Thread Jim Hayes
If you have copy non-embedded files to output folder ticked in the project properties / compiler settings then it will copy your root folders .svn folder into the bin folder (which gives subversion a proper headache.) I think this is what you're seeing? I could be wrong though! (It's really

RE: [flexcoders] captureImage not drawing fresh images

2008-03-12 Thread Jim Hayes
I'd suspect that maybe you're calling captureImg() immediately after setting the data/drawing the elements in your code? If so, it may not actually be rendered to the components graphics when the snapshot is taken. Just a guess, but it smells a bit like a timing problem to me (I've made too

RE: [flexcoders] HTML IN FLEX

2008-03-13 Thread Jim Hayes
http://code.google.com/p/htmlwrapper/ http://code.google.com/p/htmlwrapper/ (I assume this is the one Alex means, I don't know of any other) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Max Frigge Sent: 13 March 2008 14:26 To:

RE: [flexcoders] Flex Beta 3 Beta to Flex 1.0 - Need help on Air Migration

2008-03-31 Thread Jim Hayes
Change the application node in Project-app.xml to this : application xmlns=http://ns.adobe.com/air/application/1.0; as far as I remember that's it (but my memory is rubbish these days). -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] [AIR] Load image return null

2008-04-01 Thread Jim Hayes
And don't exists a solution to load an image that I need a complete event? Thk. Giro. -Mensaje original- De: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] En nombre de Jim Hayes Enviado el: martes, 01

RE: [flexcoders] [AIR] Load image return null

2008-04-01 Thread Jim Hayes
the bitmapdata in loader wll only be valid when the loaders contentLoaderInfo Complete event fires. So add a listener for it and only then access the data. loader.contentLoaderInfo.addEventListener(Event.COMPLETE,loaderCompleteHandler); This one got me also :( See

RE: [flexcoders] Having trouble with e4x and for each -- getting empty XML value inside loop

2008-04-01 Thread Jim Hayes
Try: trace(t3= + opt.toXmlString()); (I think it's tracing the actual value of each node, which is ) The toXmlString() value is a much bigger help when you're testing/debugging e4x code. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of peter

RE: [flexcoders] Re: [AIR] Load image return null

2008-04-01 Thread Jim Hayes
on a completion (or any other of the supported events). You can't block on a load call. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jim Hayes [EMAIL PROTECTED] wrote: Not as far as I know, if anyone can tell me one then I'd love to know also! -Original

RE: [flexcoders] AIR installer works on PC, not on Mac

2008-04-04 Thread Jim Hayes
Check the mime type the server is set to send for an AIR file? I don't know what is is off hand, I'm afraid. Does the installer work if the .air is opened from the mac's hard drive, by the way? That would point to server/badge problems if so. -Original Message- From:

RE: [flexcoders] How to download a BLOB from database....using Java

2008-04-11 Thread Jim Hayes
Is your question a) how to get the byteArray into flex? b) how to display it once it is in flex? c) both a and b ? I can help you with b ! -Original Message- From: flexcoders@yahoogroups.com on behalf of txakin Sent: Fri 11/04/2008 14:29 To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] How to download a BLOB from database....using Java

2008-04-13 Thread Jim Hayes
to display my image (array of bytes). Thanks in advanceand i hope u already understad my problem. - Original Message From: Jim Hayes [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, April 11, 2008 11:53:38 PM Subject: RE: [flexcoders] How to download a BLOB from

RE: [flexcoders] Is it possible to have a .properties filethat contains keys with multiple lines?

2008-04-14 Thread Jim Hayes
You can continue a line by ending it with a backslash. Leading whitespace on the next line is stripped. From : http://livedocs.adobe.com/flex/3/html/help.html?content=l10n_3.html (I'd been meaning to look it up anyway, knew it was possible, just not what the syntax was) -Original

RE: [flexcoders] Re: Platform independent paths in AIR

2008-04-14 Thread Jim Hayes
I'm not sure that flex or any other software is going to be able to help you with that one. I have a scenario where I need to identify resources on a DVD disk, it's necessary to loop though the system root drives and test each one for the presence of a file that I know to be on the DVD. I suspect

RE: [flexcoders] Re: Platform independent paths in AIR

2008-04-14 Thread Jim Hayes
how to do this in AIR (which is supposed to be cross-platform). --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jim Hayes [EMAIL PROTECTED] wrote: I'm not sure that flex or any other software is going to be able to help you with that one. I have a scenario where I need

RE: [flexcoders] AIR: Forcing a file to be opened By OS Default Application

2008-04-16 Thread Jim Hayes
I don't think that's the case. (would love to be proven wrong mind you) If so, then surely one could just write a text file, give it a .bat extention and it would be run by default by command.exe? (OK, windows example but there must be a mac equivalent). It would be very useful though! :-) By

RE: [flexcoders] Building XML out of an Array Collection

2008-04-16 Thread Jim Hayes
You can write the values straight into the xml notation using curly brackets : something like var newNode:XML = myNode label={yourCollection[n][label]} id={ yourCollection[n][id]}/ not sure I have the arrayCollection syntax correct, but hopefully you can see what I mean? -Original

RE: [flexcoders] Re: Building XML out of an Array Collection

2008-04-16 Thread Jim Hayes
for responding so fast! --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jim Hayes [EMAIL PROTECTED] wrote: You can write the values straight into the xml notation using curly brackets : something like var newNode:XML = myNode label={yourCollection[n][label]} id

RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application

2008-04-17 Thread Jim Hayes
Zoli, I am impressed! So I guess you included those 2 dlls in the air file, and found some way to call them? How? Are you going to let us know? -Original Message- From: flexcoders@yahoogroups.com on behalf of Zoltan Csibi Sent: Fri 18/04/2008 03:13 To: flexcoders@yahoogroups.com

RE: [flexcoders] Filtering descendant XML nodes based on multiple tag names

2008-04-18 Thread Jim Hayes
Have you tried topElement.descendants().(localName ==X || localName == Y) ? Not able to check the exact syntax on that just now (is localName an attribute???) , but I think that's worked for me before. There was a post yesterday that seemed to be concerned with a similar sort of thing, you may

  1   2   3   >