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
they decided they didn't like it after all! So it's not all that well tested I'm afraid. -Original Message- From: flexcoders@yahoogroups.com on behalf of Jeroen Beckers Sent: Wed 12/30/2009 3:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Selecting xml nodes in a tree Hi Jim, I

[flexcoders] specifying fontmanager in ant mxmlc task ?

2009-12-21 Thread Jim Hayes
thanks, Jim. __ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W

RE: [flexcoders] Web Service result length limit?

2009-12-21 Thread Jim Hayes
, probably it was flex 2). Sorry I can't be more precise just now, but have a look to see if you can set the option and see whether it fixes your problem. hope that helps, apologies if I'm completely wrong... Jim. -Original Message- From: flexcoders@yahoogroups.com on behalf of boneoh Sent: Mon 12

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] SDK 3.2 upgrade to 3.4 issue

2009-09-23 Thread Jim Cheng
/bulletins/apsb09-13.html http://kb2.adobe.com/cps/495/cpsid_49530.html Hope this helps, Jim Cheng EffectiveUI Jake Churchill wrote: Thanks for the info. I was just upgrading to stay current, no particular reason so I'll hang back on 3.3 for a while until 3.5 is released.

Re: [flexcoders] SDK 3.2 upgrade to 3.4 issue

2009-09-22 Thread Jim Cheng
brave, or stick with 3.3 for the time being if you can afford to wait for them to roll out the next official build. Here's the bug: http://bugs.adobe.com/jira/browse/SDK-22883 Jim Cheng EffectiveUI Jake Churchill wrote: I just installed the 3.4 SDK (previously was using 3.2). I have

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] How to fill canvas with HDividedBox?

2009-06-30 Thread Jim Jones
Hi all, I have a seemingly simple problem: I have a HDividedBox inside a Canvas. The HDividedBox fails to fill the Canvas pixel-perfectly. When the HDBox has no border then one pixel of the canvas background shows at the top and bottom, with a bit of alpha blur. When the HDBox has an 1 pixel

[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,

[flexcoders] percentHeight doesn't work on TileList?

2009-06-06 Thread Jim Jones
Hello everybody, I'm using the following code to create a TileList in actionscript: http://dpaste.com/hold/52135/ (13 lines) The problem is that the TileList ignores my percentHeight = 100 and comes out with a fixed height instead. Anyone know how to work around this issue? cheers -jj (Flex

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

[flexcoders] Viewstack page activation

2009-05-06 Thread Jim Haungs
=accordion.selectedIndex I could manually call something on the click event, but I was hoping for something more event-driven/implicit. Jim

Re: [flexcoders] re: Books - Flex

2009-05-06 Thread Jim Haungs
The O'Reilly Flex 3 Cookbook (Noble Anderson) is very good, too. On Wed, May 6, 2009 at 18:54, Tony Obermeit t...@tamborine.to wrote: 2 books that I've found to be a big help are: Adobe Flex, Training from the Source, by Adobe Press Programming Flex, O'Reilly, Kazoun and Lott I

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

[flexcoders] Re: Need help processing XML into Flex app

2009-04-13 Thread Jim
back, the values were just strung together like role1 role2 role3. Jim

[flexcoders] Re: Need help processing XML into Flex app

2009-04-10 Thread Jim
? That is: Get__CompIntfc__USER_PROFILEResponse Name: Jim ID : abc Roles: Rolename: a Roles: Rolename: b ... instead of: Get__CompIntfc__USER_PROFILEResponse Name: Jim ID : abc Roles: Rolename: a Rolename: b ... Jim

[flexcoders] Re: Need help processing XML into Flex app

2009-04-10 Thread Jim
].RoleName + \n; } return roleList; } That gave me a variable roleList with each role and a newline like: User Portal User Administrator Thanks again for your help. Jim

[flexcoders] Re: Need help processing XML into Flex app

2009-04-09 Thread Jim
be lost when I submit this. Thanks, Jim SOAP-ENV:Get__CompIntfc__USER_PROFILEResponse xmlns:SOAP-ENV=http://xmlns.oracle.com/Enterprise/Tools/schemas/M405276.V1; SOAP-ENV:UserIDjgo1216 /SOAP-ENV:UserID SOAP-ENV:UserDescriptionJames G. Ogletree /SOAP-ENV:UserDescription SOAP

[flexcoders] Need help processing XML into Flex app

2009-04-08 Thread Jim
an error that RoleName doesn't exist no matter what I do. I tried an Itemrenderer to no avail; could be me. Thanks. Jim ?xml version=1.0? SOAP-ENV:Get__CompIntfc__USER_PROFILEResponse xmlns:SOAP-ENV=http://xmlns.oracle.com/Enterprise/Tools/schemas/M405276.V1; SOAP-ENV:UserIDaxa2131/SOAP

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
! -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alan Rother Sent: 09 March 2009 23:01 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 3 Tree - Moving Nodes Thanks Jim, Thats not exactly what I was looking for, but it's

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 {

[flexcoders] Web service, parameters, errors... Help please

2009-03-05 Thread Jim
attempt to pass a text input field: ws:FindID_request Find__CompIntfc__DL_TREE_IB_CI={compID.text}/ then I get: 1067: Implicit coercion of a value of type String to an unrelated type com.draper:Find__CompIntfc__DL_TREE_IB_CITypeShape Can anyone help with this please? Thanks Jim

[flexcoders] Re: Web service, parameters, errors... Help please

2009-03-05 Thread Jim
: var oRequest:Object ={ Find__CompIntfc__DL_TREE_IB_CI : sValue }; myService.send(oRequest); Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jim Sent: Thursday, March 05, 2009 8:57 AM To: flexcoders@yahoogroups.com Subject

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: [flexcoders] Re: Reading compressed file in AS 3

2009-02-26 Thread Jim Cheng
a slightly different data format, gzip, which is based upon, but incompatible with zlib. This likely accounts for the slight difference in file size and your inability to decompress the file on the Flex side of things. Hope this helps, Jim ACasualObserver wrote: I create the compressed file

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

[flexcoders] Module blues...am I going crazy??

2009-01-08 Thread Jim Boone
as a module, Constants.something is undefined, not someThing!! Is there something magic about static constants when they are used in modules? Has anyone ever seen this issue? Jim --- package blah{ public class Constants { public static const something:String = someThing; } }

[flexcoders] Re: Module blues...am I going crazy??

2009-01-08 Thread Jim Boone
initialized is random so be careful if static are anything other than simple values. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jim Boone Sent: Thursday, January 08, 2009 8:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Module blues...am I going crazy

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

[flexcoders] Sharing menu and status bar with modules

2008-12-19 Thread Jim Boone
are welcome. package com. { import flash.display.DisplayObject; /** * * @author Jim Boone * */ public interface IModuleIntegration { function getButtonBarComponent():DisplayObject

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
- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jim Boone Sent: 15 December 2008 13:36 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How do I include a file in the AIR app-storage directory at install time? I read what you say, but I don't know how

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

2008-12-15 Thread Jim Boone
. On Mon, Dec 15, 2008 at 5:22 AM, Jim Boone j...@... wrote: Hi, I am new to AIR and I am writing an application that needs access to a new SQLite database when the user first launches the application. I have considered two options. I could create an empty SQlite database

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

2008-12-15 Thread Jim Boone
Thank you both for your tips. I think I will just embed the SQL statements into the application and not go through the hassles that you both speak of. I think this will be cleaner from a deployment perspective. Jim --- In flexcoders@yahoogroups.com, Jim Hayes j...@... wrote: If you're using

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

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

2008-12-14 Thread Jim Boone
could include an SQL schema file in app-storage and create the database when the user launches the app. Either way, I want to be able to include an file the the application directory at install time. I have researched how to do this with no luck. Does anyone know how I can accomplish this? Thanks! Jim

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
var yourImageData:BitmapData = loader.content as BitmapData; Hope that helps, Jim. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Baetz Sent: 30 October 2008 16:59 To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamicaly loading

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:

  1   2   3   4   5   6   >