RE: [flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread Jim Hayes j...@primalpictures.com [flexcoders]
this line is at least one of your problems : var url:String=documents/{docs.selectedItem.documentName}; try something like : var url:String=documents/ + docs.selectedItem.documentName; That should get you closer at least. From: flexcoders@yahoogroups.com [flexcoders@yahoogroups.com] Sent: 06

[flexcoders] Re: XML append child in flex 4.6 sdk

2012-04-10 Thread Jim Hayes
I seem to remember 4.6 being a bit lacking in that respect, try adding it anyway, compiling and seeing if it works. I think it should.

RE: [flexcoders] Re: Air File Is Damaged Error

2010-02-12 Thread Jim Hayes
Are you including any other files in the package? I seem to remember that certain characters in their file names could cause this problem. Maybe an ampersand ??? I'm sorry, it was quite a while ago and I've forgottten exactly which char(s) caused it for me. There was a bug open on it at the time

RE: [flexcoders] Escaping slashes in a file name in AIR

2010-01-19 Thread Jim Hayes
I have no idea if this actually would work, but something like this? private var origUrl:String private function saveFile():void { var f:File = new File(); origUrl = f.url; f.addeventlistener(Event.SELECT,onfileselected) f.browseForSave(blah); } private function onfileselected(event:Event) {

RE: [flexcoders] Selecting xml nodes in a tree

2009-12-30 Thread Jim Hayes
I've used something like this (which is possibly a bit flaky, I admit. I wrote this a long time ago and haven't revisited it since). private function displayTreeNode(node:XML):void { expandTreeParents(node); movieTree.selectedItem = node;

RE: [flexcoders] Selecting xml nodes in a tree

2009-12-30 Thread Jim Hayes
think that'll be enough to get me going, thanks! :). And if not, you'll hear from me soon enough :). Greets, Dauntless On Wed, Dec 30, 2009 at 3:36 PM, Jim Hayes j...@primalpictures.com wrote: I've used something like this (which is possibly a bit flaky, I admit. I wrote this a long time ago

[flexcoders] specifying fontmanager in ant mxmlc task ?

2009-12-21 Thread Jim Hayes
Can anyone tell me the ant equivalent (using the flextasks mxmlc task) to the compiler option -managers=flash.fonts.AFEFontManager ? Googling / uneducated trial and error has failed me :-( I think I can probably load a modified flex.config file instead, but was rather hoping not to have to. Many

RE: [flexcoders] Web Service result length limit?

2009-12-21 Thread Jim Hayes
I seem to remember that in Internet Explorer there was a limit to the returned data if you used GET (which was the webservice default), as opposed to POST. It showed very similar symptoms as I recall. I dropped a comment on this on the adobe livedocs at the time (maybe 3 years or so ago,

RE: [flexcoders] Creating an AIR install file from scratch..

2009-12-14 Thread Jim Hayes
) of this working? jpn On Tue, Jul 1, 2008 at 1:22 PM, Jim Hayes j...@primalpictures.com wrote: That is what ADT is there for, I believe. If you check the documentation it will give you enough help to use it on the command line, or in ant. Without too much bother, I've made ant build files

RE: [flexcoders] Re: .exe files in flex3

2009-12-11 Thread Jim Hayes
No, you still need the runtime installed, I'm afraid! -Original Message- From: flexcoders@yahoogroups.com on behalf of Nick Collins Sent: Fri 12/11/2009 6:52 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: .exe files in flex3 You could also look at the Air 2.0 beta

RE: [flexcoders] Best way to load XML file

2009-12-10 Thread Jim Hayes
You can try compressing the xml file first and decompressing it when loaded - I've used this to good effect and see something like a 10x reduction in the filesize - This blog covers the technique http://www.ghostwire.com/blog/archives/as3-saving-xml-as-binary/ -Original Message- From:

RE: [flexcoders] dispatchEvent

2009-11-03 Thread Jim Hayes
is it Watcher that you're looking for? something along these lines : (warning - straight off the top of my head so could well be wrong in detail at least. best check the docs) private function addWatcher():void {

RE: [flexcoders] dispatchEvent

2009-11-03 Thread Jim Hayes
ooops, maybe that should be ChangeWatcher. Apologies, I've just got off a 14 hour overnight flight in cattle class I'm afraid! -Original Message- From: flexcoders@yahoogroups.com on behalf of Jim Hayes Sent: Tue 11/3/2009 12:29 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders

RE: [flexcoders] Ant Task to Build Air Package

2009-09-29 Thread Jim Hayes
I have this : java jar=${ADT.JAR} fork=true failonerror=true arg value=-package/ arg value=-storetype/ arg value=${STORETYPE}/ arg value=-keystore/ arg value=${AIR_CERT_PATH}/ arg value=-keypass/ arg

RE: [flexcoders] Custom icon in air installer

2009-09-28 Thread Jim Hayes
That's just the standard application icon that you set in the app descriptor file, I believe. It normally works just fine for me in flex. Do you have no image there, or an incorrect one? (something to note, if you make a new application package with an updated icon and install it over the top of

RE: [flexcoders] e4x Filtering Success

2009-09-24 Thread Jim Hayes
the needs to be the correct xml entity, I believe. try using amp;amp; in your mxml rather than It's trying to tell you that, but it took me a few head scratches to work it out, I must admit. -Original Message- From: flexcoders@yahoogroups.com on behalf of AJC2357 Sent: Thu 9/24/2009

RE: [flexcoders] How to add files when exporting air application

2009-09-16 Thread Jim Hayes
In flexbuilder, to get those files into your .air package, try the following : Either tick copy non embedded files to output folder in project|properties|flex compiler, and with a bit of luck when you publish your .air from FB they will appear in the Air file contents screen included files

RE: [flexcoders] Re: Is Adobe Customer Support (or worse yet adobe) falling apart

2009-09-15 Thread Jim Hayes
on our somewhat larger commercial products. Any ideas? Where do I go from here? Let me know if there is any more information I can provide that would be helpful Many thanks, regards, Jim Hayes -Original Message- From: flexcoders@yahoogroups.com on behalf of hank williams Sent: Fri 9/11/2009

RE: [flexcoders] Re: Is Adobe Customer Support (or worse yet adobe) falling apart

2009-09-15 Thread Jim Hayes
. On Tue, Sep 15, 2009 at 10:47 AM, Jim Hayes j...@primalpictures.com wrote: Mmmm, just taken me 3/4 hour to get though after a wait of 2 weeks odd for a reply on the support portal which asked me to ring. I've been told that AIR is a free product and outside their remit to provide

[flexcoders] AIR sql parameters - can I use an array ?

2009-06-19 Thread Jim Hayes
I'm looking for a way to use the IN sql syntax and parameters, something like SELECT someField FROM someTable WHERE someOtherField IN (1,4,6,8,12); . Obviously I could build a string query from an array and execute that, but I'd rather stay with parameters if at all possible. If anyone knows,

RE: [flexcoders] how to know the AIR version in my local pc?

2009-05-10 Thread Jim Hayes
In as3 (I'm pretty sure this is undocumented, and probably unsupported) - var pm:ProductManager = new ProductManager(airappinstaller); trace (AIR version is : + pm.installedVersion); There may be easier or better ways, mind you. -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] .csv import stuff

2009-05-10 Thread Jim Hayes
I did this in as3 last week, in just the way Tracy described. Worked fine, at least for the data I was using - which was admitedly small and fairly simple. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: 10 May 2009

RE: [flexcoders] how to know the AIR version in my local pc?

2009-05-10 Thread Jim Hayes
[mailto:flexcod...@yahoogroups.com] On Behalf Of Jim Hayes Sent: 10 May 2009 23:52 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] how to know the AIR version in my local pc? __ This communication is from Primal Pictures

RE: [flexcoders] UK Flex User Group

2009-05-05 Thread Jim Hayes
I couldn't say, I'm afraid! If you're in London as your handle implies, though, try here : http://www.meetup.com/flexlondon/ Monthly meetings normally in Shoreditch, I don't normally attend but I'm told it's more drinks and informal chat on most occasions. or there's the catchily named LFPUG

RE: [flexcoders] Would anyone know what Capabilities.os shows for Windows 7 ?

2009-05-01 Thread Jim Hayes
. I'm running Windows 7 Beta Build 7000. 2009/4/30 Jim Hayes j...@primalpictures.com: I don't have a copy handy, and I'm doing some code on DVD that will need to run for some years (hence I expect to cover windows 7). I realise that it may change, or not even be detected by flash player

[flexcoders] Would anyone know what Capabilities.os shows for Windows 7 ?

2009-04-29 Thread Jim Hayes
I don't have a copy handy, and I'm doing some code on DVD that will need to run for some years (hence I expect to cover windows 7). I realise that it may change, or not even be detected by flash player at the moment, but any clue is better than none! Many thanks in advance, Jim.

RE: [flexcoders] Alive PDF bytearray.org links all failing?

2009-04-17 Thread Jim Hayes
I am also having difficulty unzipping the docs in the download because of duplicate, empty files. I ran into this the other day, on windows with the built in zip decompressor. Solved it by using 7zip instead (why I wasn't in the first place eludes me, it's what I normally use and would

RE: [flexcoders] mxmlc.exe and config file?

2009-03-17 Thread Jim Hayes
It's been a while since I set this up, but I have two things that I seem to remember I needed to add to my mxmlc compile task: !-- use AIR config file, not flex one -- load-config filename=${FLEX_HOME}/frameworks/air-config.xml/ and !-- AIR SWC path -- external-library-path

RE: [flexcoders] mxmlc.exe and config file?

2009-03-17 Thread Jim Hayes
It's been a while since I set this up, but I have two things that I seem to remember I needed to add to my mxmlc compile task for AIR: !-- use AIR config file, not flex one -- load-config filename=${FLEX_HOME}/frameworks/air-config.xml/ and !-- AIR SWC path -- external-library-path

RE: [flexcoders] Ant and Air package?

2009-03-17 Thread Jim Hayes
Any error messages? You don't seem to be including any icons, they're not required but if they're specified in the application descriptor you also need to specify them in the ant task or it will fail. I'm only guessing that you might have forgotten them, however - it's possible that you're

RE: [flexcoders] Flex 3 Tree - Moving Nodes

2009-03-09 Thread Jim Hayes
This may be of interest : http://flexibleexperiments.wordpress.com/2007/02/26/flex-201-tree-with-s pring-loaded-folders-update-2/ -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alan Rother Sent: 09 March 2009 21:54 To:

RE: [flexcoders] Moving a viewStack through actionscript

2009-03-09 Thread Jim Hayes
, I'd learn about dispatching custom events. It's not that complicated but it takes some time to understand. Raising some events from the question components strikes me as being a whole lot easier than dealing with addressing all the different objects through the heirarchy! But then when I

RE: [flexcoders] Flex 3 Tree - Moving Nodes

2009-03-09 Thread Jim Hayes
I had thought that I'd used the code there to allow users to drag/drop reorder and move tree nodes, but it was quite a long while ago so I may well be wrong. It wasn't perfect, but not bad at all. Also I may have misunderstood what you are looking for. Still, glad it wasn't entirely wasted!

RE: [flexcoders] Debugging Event Bubbling

2009-03-08 Thread Jim Hayes
Your TweetCommEvent's clone method returns a PreferencePaneEvent rather than the TweetCommEvent I'd expect, at least in the code you wrote below. It's not that, is it? public class TweetCommEvent extends Event { override public function clone():Event {

RE: [flexcoders] distributing air apps without install

2009-03-03 Thread Jim Hayes
That's slightly different, in that case the app *is* installed. As far as I know, the AIR runtime and the app* must be installed on the local system, as opposed to a totally standalone application. The shu player used to temporarily install both to the users temp directory and run them from there,

RE: [flexcoders] tree control finding patent node

2009-03-02 Thread Jim Hayes
This actually from a change event, but an itemClicked one is very similar ... (It presumes that you use xml as the dataprovider for the tree, and listen for the event by adding 'change=onTreeChange(event)' in your trees attributes ) private function onTreeChange(event:ListEvent):void { var

RE: [flexcoders] Re: Sending POST requests to php script??Help

2009-03-01 Thread Jim Hayes
@yahoogroups.com, Jim Hayes j...@... wrote: I'm making a wild guess here, but does this work? mx:request xmlns= first{modelName.name.first}/first last{modelName.name.last}/last email{modelName.email}/email /mx:request Apologies if not, I've not made any attempt to see if it does so it could

RE: [flexcoders] Sending POST requests to php script??Help

2009-02-28 Thread Jim Hayes
I'm making a wild guess here, but does this work? mx:request xmlns= first{modelName.name.first}/first last{modelName.name.last}/last email{modelName.email}/email /mx:request Apologies if not, I've not made any attempt to see if it does so it could be utter rubbish. -Original Message-

RE: [flexcoders] Re: Reading the output of an AIR application in C#

2009-02-26 Thread Jim Hayes
You can write a socket server into your c# application and connect to that from the AIR app. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of akila_ksri Sent: 26 February 2009 12:04 To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: Re: [flexcoders] AIR Application is not Appearing

2009-02-16 Thread Jim Hayes
Have you looked at this part of the application descriptor file (yourapplication-app.xml) : !-- Whether the window is initially visible. Optional. Default false. -- visibletrue/visible ? Here I've uncommented it and set it true, but by default it will be commented out and defaults

RE: [flexcoders] Re: Socket communications in Flex

2009-02-16 Thread Jim Hayes
Are you sending the magic character that flash interprets as the end of a piece of data coming in on a socket connection? It's been two years since I did this, so I can't remember what that character is, probably either a null or a newline. That's the only special thing I remember doing with a

RE: [flexcoders] Re: model locator population too late

2009-02-02 Thread Jim Hayes
But before i show my form I need the model variable to be populated. How do you handle this type of situation. Could you use ChangeWatcher to watch that variable and show the form when it changes? ChangeWatcher.watch(yourModel,yourModelVariable,showYourForm); I'm sure there are other ways ,

RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-01-30 Thread Jim Hayes
So I think what you really need to be doing is to have the list item renderer accept the drop, rather than the list itself? I'm sure I did this with the datagrid about a year and a half ago, unfortunately I don't have that project to hand just now or I'd have a look and see how I did it. All I

RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-01-30 Thread Jim Hayes
Of Jim Hayes Sent: Friday, January 30, 2009 2:06 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes) So I think what you really need to be doing is to have the list item renderer accept the drop

RE: [flexcoders] auto suggest for xml data

2009-01-27 Thread Jim Hayes
There is an autocomplete component available : http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailex tid=1047291 Whether it suits your needs I can't really say at the moment. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

[flexcoders] Anyone using Subclipse 1.4.x in flexbuilder 3 ?

2009-01-27 Thread Jim Hayes
When I last installed subclipse (probably early last year), it seemed to be recommended advice to use subclipse 1.2, so I followed it. I'm currently having some nasties with this and subversion 1.5 (Which could well be down to something else rather than subclipse 1.2, I admit). I'm just

RE: [flexcoders]TextLayoutFramework - support for graphics / swfs?

2009-01-20 Thread Jim Hayes
Forgive me for asking, Gordon, but could you give an idea of the status of support for tables and lists (li, ol, ul sort of thing) ? I appreciate you may not be able to comment, but if you are then any information would be most welcome. I had a good look at the pre release on labs and came to

RE: [flexcoders] Problems with POST or GET

2009-01-19 Thread Jim Hayes
It used to be the case that Internet Explorer would refuse to do anything with GET requests sending data over a certain length, which mystified me for a while a couple of years ago since everything worked fine with firefox. It just failed very quietly, no errors raised at all. Changing to POST

RE: [flexcoders] Saving data permanently to Sqlite DB

2009-01-17 Thread Jim Hayes
It's not the case that the database in /src/assets is getting copied to /bin-debug/src/assets and the changes made to that copy, is it? Just a thought, I've not really checked your code in any detail at all. If you're using a db file path relative to the application and you left the compiler

RE: [flexcoders] Get html source code of mx.controls.HTML control (AIR)

2009-01-10 Thread Jim Hayes
yourHtmlComponentInstance.htmlLoader.window.document.documentElement.outerHtml (probably!) -Original Message- From: flexcoders@yahoogroups.com on behalf of thedauntless_ff Sent: Sat 10/01/2009 15:42 To: flexcoders@yahoogroups.com Subject: [flexcoders] Get html source code of

RE: [flexcoders] Re: Installation on multiple machines (was: Flex Builder 3 on Mac and Win at same time?)

2009-01-09 Thread Jim Hayes
I don't believe it does (Though I could be wrong). It may require a file share on the server however, but not that it be the same machine. I gave up on those server settings in FB though, they wound me up a treat :-( -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] Drag-n-dropping images from Mac OS to AIR app

2009-01-08 Thread Jim Hayes
You might see if tempImg.url works (assuming it's failing with using tempImg.nativepath and not elsewhere). -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mac Martine Sent: 08 January 2009 00:27 To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Peculiar Image Behavior!

2009-01-07 Thread Jim Hayes
It almost looks as if it could be one of the early stages of one of those progressive type jpegs (they load in stages on a web page), possibly there's something about it that flex does not quite understand. I forget how you check for this, but it may be worth you finding out and having a look?

RE: [flexcoders] AIR code signing certificate

2009-01-06 Thread Jim Hayes
I think Ryan Stewart(?) posted just the other day that they are the first to offer a personal cert, so It's my impression that they are currently the only one to do so. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tom Chiverton

[flexcoders] Can I detect the flash player version targeted by the compiler ( -target-player ? ) in my code

2009-01-05 Thread Jim Hayes
Apologies if this is a stupid question, but it's late, I'm tired and all out of brain cells :( I have an application with largely common code base that gets compiled to both AIR 1.5 (e.g. flash player 10) application and flash player in a web browser. I keep a separate flexbuilder project for

RE: [flexcoders] Can I detect the flash player version targeted by the compiler ( -target-player ? ) in my code

2009-01-05 Thread Jim Hayes
another way whilst I still only have an hour or so's (not uninteresting, mind you) work to write off though! -Original Message- From: flexcoders@yahoogroups.com on behalf of Jim Hayes Sent: Mon 05/01/2009 23:31 To: flexcoders@yahoogroups.com Subject: [flexcoders] Can I detect the flash

RE: [flexcoders] flex builder 3 on mini notebooks

2009-01-02 Thread Jim Hayes
I've got an eee901 with that spec, and it's an OK little machine for when I'm out and about and want low weight, small size and long battery. Performance is not so bad for what it is, but I've never bothered running flexbuilder on it. When I started with flexbuilder 2 I ran it on a 1.6 single

RE: [flexcoders] Any Developers on a Mac?

2008-12-29 Thread Jim Hayes
General platform discussions aside, what is it that makes flexbuilder slightly worse on mac than it is in windows? I'm considering trying out a macbook pro as my next laptop (been on windows, sometimes linux, for past ten years or so), but most of my work is in flexbuilder these days so it would

RE: [flexcoders] mxmlc | Java heap space

2008-12-29 Thread Jim Hayes
In Flexbuilder : windows | preferences | java | installed JREs (select the JRE), edit, enter something like -Xmx512M in the default VM arguments field Is what has worked for me in the past. There may be other ways and other arguments, however (depending on your scenario, you may not be running

RE: [flexcoders] Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-16 Thread Jim Hayes
(so I don't know) how small I could get the file size for a comparable solution in Flash. Is that the question that you really wanted the answer to? The answer to that will depend on what your widget actually is/does. Without knowing that, I don't see how anyone can really offer an opinion on

RE: [flexcoders] Re: How do I include a file in the AIR app-storage directory at install time?

2008-12-15 Thread Jim Hayes
If you're using flexbuilder to package, then probably the easiest way is to check copy non embedded files to output folder in project | properties | flex compiler, But I find this to be a bit messy at times. If not, then you can kind of cheat. When you publish your .air file, it will offer you the

RE: [flexcoders] Adobe air group?

2008-12-14 Thread Jim Hayes
apollocod...@yahoogroups.com It's fairly quiet though. -Original Message- From: flexcoders@yahoogroups.com on behalf of flexaustin Sent: Sun 14/12/2008 16:38 To: flexcoders@yahoogroups.com Subject: [flexcoders] Adobe air group? Does anyone know of there is an Adobe Air group on yahoo

RE: [flexcoders] Flex Builder caching PNGs

2008-12-09 Thread Jim Hayes
From what I can tell FB will not detect changes in files (images, and I believe css files) by itself, so if you change one then run/debug it will think nothings different and just show the last compiled version. When I'm doing stuff like that, I've got into the habit of just adding/deleting a

RE: [flexcoders] AIR - Including an Image in mx:html using htmlText

2008-12-01 Thread Jim Hayes
It works absolutely fine for me! Using the html string you have below in a bare bones mxml project. Anything else you should mention? -Original Message- From: flexcoders@yahoogroups.com on behalf of langdonjared Sent: Sun 30/11/2008 16:10 To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Window on First Run of Application

2008-11-27 Thread Jim Hayes
Not the only way to do it, but I just write a file in the app storage directory : private function isFirstRun():Boolean { var firstRun:Boolean = false; var firstRunFile:File =

RE: [flexcoders] The Online Flex Builder!

2008-11-24 Thread Jim Hayes
John Grden had one quite a while back, not seen any news on it for a while though. The name of it escapes me for now I'm afraid. try http://www.rockonflash.com, somewhere near the beginning of the archives I would think. -Original Message- From: flexcoders@yahoogroups.com on behalf

RE: [flexcoders] Embedding Flash Player

2008-11-21 Thread Jim Hayes
How easy was it to get the licence to distribute the flash player? Anecdotally, I'd heard this was rather hard to do in practice, but maybe this has changed since I last enquired a couple of years back. This has always been a stumbling block for various solutions I've tried over the years.

RE: [flexcoders] How to SelectAll entries in List

2008-11-20 Thread Jim Hayes
or similarly, but slightly different and with an assumption on the type of dataprovider. I'm sure there must be a better way though? I missed it if so. mx:Script ![CDATA[ private function selectAll():void {

RE: [flexcoders] Re: May I save BitmapAsset instance to database?

2008-11-19 Thread Jim Hayes
I seem to remember that Peter Elst said something about saving video in air at the london flex camp thing(?) a few months back, though I could be wrong. You might want to check his blog and see if you can find some notes or other information. -Original Message- From:

[flexcoders] flexbuilder 3.02 update gives AIR error : error while loading initial content FIXED

2008-11-19 Thread Jim Hayes
Seems to be caused by a now outdated yourApplication-app.xml (appDescriptor?) file . replace the second line : application xmlns=http://ns.adobe.com/air/application/X.X; with : application xmlns=http://ns.adobe.com/air/application/1.5; which was pretty much what I expected, but it's still a

RE: [flexcoders] Flex interview questions

2008-11-18 Thread Jim Hayes
Search the archives of this list, there was a long thread on it earlier this year, as I recall. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of saritha Sent: 18 November 2008 11:43 To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex

RE: [flexcoders] Re: Actionscript SSH Library..heard of any?

2008-11-14 Thread Jim Hayes
Could you use the webkit browser in AIR to do the SSL connection? I don't think it needs to be visible to work. Just an idea, and It's probable I've not understood the reasons the project managers want to use AIR. -Original Message- From: flexcoders@yahoogroups.com on behalf of r.fender

RE: [flexcoders] Question on how to find out what something is.

2008-11-10 Thread Jim Hayes
getQualifiedClassName() in flash.utils should tell you what the object is, I think, and to pass in any completely unknown object type your parameter should be typed as object. If you only expect a few types to be passed as a parameter then I'd just test them with the is keyword and then cast

RE: [flexcoders] Re: show local image in AIR application.

2008-11-07 Thread Jim Hayes
You won't get anything from _loader.content *until* it's COMPLETE event fires, so add a listener for that and get it's content in the function you define in that listener. -Original Message- From: flexcoders@yahoogroups.com on behalf of markflex2007 Sent: Fri 07/11/2008 19:57 To:

RE: [flexcoders] AIR application installation error XP

2008-11-06 Thread Jim Hayes
Check the free disk space on the XP machine first. The .air file needs to have space into which to expand it's contents before the actual installation. That's the most common source of failure in my experience, though it could be many other things and is not necessarily the problem in this case.

RE: [flexcoders] Flex application keyboard language!?

2008-11-03 Thread Jim Hayes
Does it happen in pure html pages as well? In firefox? I had this happen due to accidentally hitting some key combo that changed the default keyboard setting *in the browser*. Trouble is, I've completely forgotten what it was (again). Sorry about that. -Original Message- From:

RE: [flexcoders] Flex application keyboard language!?

2008-11-03 Thread Jim Hayes
It's ALT-SHIFT (I needed to know!) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: 03 November 2008 15:39 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex application keyboard language!? Does it happen in pure html

RE: [flexcoders] Loading an image dynamically and making it a BitmapAsset

2008-10-30 Thread Jim Hayes
Can you not add a Bitmap to the sprite ? So (entirely off the top of my head) : function imgLoaded(e:Event):void{ var eventImg:Bitmap = new Bitmap( imgLdr.content as BitmapData) eventImg.smoothing = true; eventImg.setActualSize(300, 200); sheet.addChild(eventImg); } -Original

RE: [flexcoders] Dynamicaly loading of images

2008-10-30 Thread Jim Hayes
I seem to remember the image component does that. You might try Ely Greenfields (?) superImage component instead, as I remember it keeps it's own cache. Or find a way to load them with a Loader and store their BitmapData somewhere. The trick is to do something like this when the Loader completes

RE: [flexcoders] Invalid Embed directive

2008-10-29 Thread Jim Hayes
It can be confusing as to where the file thinks it is at compile time - in fact I remain fairly confused about it :( You might try /global/media/flowers.jpg or ./global/media/flowers.jpg if you need to go up a directory then ../ works fine. -Original Message- From:

RE: [flexcoders] AIR write file - prepended with irregular character

2008-10-28 Thread Jim Hayes
I've seen this. I think it's maybe a BOM (Byte Order Marker ). Something that more technical people than myself know about,if I'm even correct about that. I may not be. There are two ways to write the text from AIR(writeUTFBytes and e the other one, sorry to be vague, I might not

RE: [flexcoders] AIR write file - prepended with irregular character

2008-10-28 Thread Jim Hayes
by the bytes representing the characters of the string. So I think those chars you see at the beginning are the length information from using writeUTF(). Try using writeUTFBytes() instead? -Original Message- From: flexcoders@yahoogroups.com on behalf of Jim Hayes Sent: Tue 28/10/2008 21

RE: [flexcoders] Re: mouse wheel behaviour mxml and actionscript based components

2008-10-23 Thread Jim Hayes
The mouse wheel events are not getting eaten by the browser before they get to your swf, are they? Perhaps due to some difference in the html embed code? (I've not seen this happen, but what you describe sounds odd) I'm wondering what happens if you were to try publishing your test file as AIR,

RE: [flexcoders] Distributing AIR applications on Widows and Mac

2008-10-22 Thread Jim Hayes
Jen, if you sign up and are accepted to the distribution agreement Matt links to below, then Adobe will provide you with access to the files and information that you need to do this. It's all very straightforward, even an ignorant and rather flakey old fool like myself managed to do it!

RE: [flexcoders] Flash Player 10 debug?

2008-10-16 Thread Jim Hayes
Theres nothing to stop you except the (small) risk that you miss a bug or difference that only occurs in FP9. Personally I installed FP10 in internet explorer (which I don't normally use at all) and tested on that until I was reasonably happy that everything was working the same way as it was in

RE: [flexcoders] AIR application installation error

2008-10-15 Thread Jim Hayes
That can be for all manner of reasons I'm afraid, there is a way that you can log the installer in order to get more information. I don't have the details to hand, but it's along the lines of putting a correctly named text file in the right place in your profile folder. However, in my experience

RE: [flexcoders] AIT application window size

2008-10-13 Thread Jim Hayes
(Probably) something along the lines of this.nativeWindow.width = Screen.mainScreen.visibleBounds.width; (and similar for height, x and y etc) There should be more reliable info than mine available in the help, under Screen, however. -Original Message- From:

RE: [flexcoders] Re: More questions on weborb, creating my own services

2008-10-02 Thread Jim Hayes
that one has irritated me before! it sees 127.0.0.1 and localhost as being different domains (correctly I believe). if you change either the endpoint in the services xml file or the debugging url in project properties such that they match then you should find it all works (apologies for not

RE: [flexcoders] Re: More questions on weborb, creating my own services

2008-10-02 Thread Jim Hayes
(or vice versa), not in the services config xml. -Original Message- From: flexcoders@yahoogroups.com on behalf of Jim Hayes Sent: Thu 02/10/2008 13:05 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: More questions on weborb, creating my own services that one has irritated me

RE: [flexcoders]Convert a Java object to an ActionScript object

2008-09-25 Thread Jim Hayes
Try SimpleXMLEncoder ? http://blog.flexexamples.com/2008/03/04/converting-objects-to-xml-packet s-using-the-simplexmlencoder-class-in-flex/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eduardo Souza Sent: 25 September 2008 13:09 To:

RE: [flexcoders] Does localconnection Class works with different Port numbers ?

2008-09-19 Thread Jim Hayes
Does anyone have any localconnection samples done in other languages, by the way? C# would be most useful for me, but anything accepted! I'm aware that there is a brief explaination and some c++ sample code on osFlash, but that's all I've seen. Apparently it's a mutex, but being only a lowly

RE: [flexcoders] Does localconnection Class works with different Port numbers ?

2008-09-19 Thread Jim Hayes
with different Port numbers ? Isn't it Player-specific stuff? How could there be demos in other languages (except maybe haXe)? -Josh On Fri, Sep 19, 2008 at 11:44 PM, Jim Hayes [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Does anyone have any localconnection samples done in other languages

RE: [flexcoders] Does localconnection Class works with different Port numbers ?

2008-09-19 Thread Jim Hayes
are not the intended recipient please contact [EMAIL PROTECTED]'t it Player-specific stuff? How could there be demos in other languages (except maybe haXe)? -Josh On Fri, Sep 19, 2008 at 11:44 PM, Jim Hayes [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Does anyone have any localconnection samples done in other

RE: [flexcoders] possible to get bytes from a pre-existing Image?

2008-09-17 Thread Jim Hayes
I as far as I can work out [Embed(source=logo.png, mimeType=application/octet-stream)] public var logo:Class; would enable you to access logo as a bytearray. I hope that helps? I'm still not really quite sure what you're trying to do, to be honest. Anyway, you might want to have a look at

RE: [flexcoders] Tooltips with word-wrap

2008-09-17 Thread Jim Hayes
Maybe a custom tooltip renderer? http://www.google.co.uk/search?q=flex+custom+tooltip results 1 and 4 are good ones. There may be a simpler solution, but I've had to do a couple of really simple custom tooltips and found it easy enough, so I've not looked. Best of luck with it!

RE: [flexcoders] Preventing cutpaste in Flex3 application

2008-09-16 Thread Jim Hayes
Set selectable = false ? or editable = false ? Or have I missed something? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Wetmore Sent: 16 September 2008 15:30 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Preventing cutpaste

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

2008-09-14 Thread Jim Hayes
Mine seemed to pick up on my firefox plugin, since it was debug version 9 in chrome when I first launched it. What it would do if I didn't have the mozilla plugin already I have no idea, however. perhaps prompt for it's own download when it was first required? -Original Message- From:

RE: [flexcoders] AIR - HTML - view source

2008-09-11 Thread Jim Hayes
Do you mean programatically, or as a normal user viewing the application? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of arieljake Sent: 11 September 2008 06:48 To: flexcoders@yahoogroups.com Subject: [flexcoders] AIR - HTML - view source I

RE: [flexcoders] Re: AIR - HTML - view source

2008-09-11 Thread Jim Hayes
Subject: [flexcoders] Re: AIR - HTML - view source Programatically. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jim Hayes [EMAIL PROTECTED] wrote: Do you mean programatically, or as a normal user viewing the application? -Original Message- From: flexcoders

RE: [flexcoders] Can't remember the name of the application.

2008-09-09 Thread Jim Hayes
Maybe flexSpy? http://www.riapedia.com/2008/01/02/flexspy_modify_and_inspect_all_visual _flex_components http://code.google.com/p/fxspy/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mikhail Shevchuk Sent: 09 September 2008 09:52 To:

  1   2   3   >