RE: [flexcoders] Resizing Images

2008-06-25 Thread Jim Hayes
There is a .smoothing property that you can apply to bitmaps/bitmapData, which is probably what you're looking for. On a quick check it looks like the Image component doesn't expose it (Ely Greenfields "superImage" component might?), and offhand I'm not sure if you can just apply it to the source b

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

2008-07-01 Thread Jim Hayes
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 that compile my swf then package it with the required additional files into an air package/installer. Th

RE: [flexcoders] I am looking for flex property file?

2008-07-04 Thread Jim Hayes
Check out "Localizing Flex Applications" in the documentation, it should tell you all you need to know. Although, the resource files do get compiled into the application (as I understand it, anyone who knows otherwise please do correct me), so maybe it's not quite what you need in this instance.

RE: [flexcoders] Re: Starting Builder problem

2008-07-07 Thread Jim Hayes
Have you tried starting flexbuilder with the -clean argument? If often sorts out mysterious errors on startup (I believe it cleans up/rebuilds the workspace, but I'm no expert). -Original Message- From: flexcoders@yahoogroups.com on behalf of markgoldin_2000 Sent: Mon 07/07/2008 21:23 To

RE: [flexcoders] ant build chart

2008-07-08 Thread Jim Hayes
If you have a flexbuilder project on your windows machine, try looking at it's .actionScriptProperties file. It's a good hint as to what you need to include in the ant build. I expect you're missing the charting (dataVisualisation?) .swc, but can't be sure I'm afraid, so I may be well off there.

RE: [flexcoders] AIR Features

2008-07-09 Thread Jim Hayes
Not in AIR natively. Have a look at http://aperture.fluorinefx.com/ though (Windows only). -Original Message- From: flexcoders@yahoogroups.com on behalf of Dimitrios Gianninas Sent: Wed 09/07/2008 20:00 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] AIR Features What you are

RE: [flexcoders] SQlite database and Vista User Account

2008-07-17 Thread Jim Hayes
Is your database file in the application directory, and is the application writing to it? -Original Message- From: flexcoders@yahoogroups.com on behalf of Khairunnisa Sent: Thu 17/07/2008 11:37 To: flexcoders@yahoogroups.com Subject: [flexcoders] SQlite database and Vista User Account

RE: [flexcoders] SQlite database and Vista User Account

2008-07-17 Thread Jim Hayes
As far as I recall, there is some advice in the documentation to copy any database files to one of the users directories (such as application preference directory, for instance) if you are going to be writing to them. The reason being that certain operating systems (e.g. Vista) won't allow write

RE: [flexcoders] Flex CD-ROM deployment.

2008-07-18 Thread Jim Hayes
Depends what it is and what it needs to do. You'll probably have to wrap it in some sort of "projecter" wrapper (zinc, for example ?) for a true standalone no install CD. Getting a redistribution agreement for flash player itself is not all that easy, I'm told. (I had hoped the latest director woul

RE: [flexcoders] Flex CD-ROM deployment.

2008-07-18 Thread Jim Hayes
the debug / stand alone version of Flash Player. I've never created one this way, only through the Flash IDE interface, but there is no reason it wouldn't work w/ a Flex app. Jim Hayes wrote: > > Depends what it is and what it needs to do. > > You'll probably

RE: [flexcoders] air sqlite example with BLOB datatype

2008-07-21 Thread Jim Hayes
I don't have an example to hand, but from memory : Storing images is a question of reading the original image file as a bytearray and inserting that byteArray varaible into a blob field in the database. Reading is much the same, select the record and read/cast it into a byteArray. It's then p

RE: [flexcoders] Numeric values drawn from a database, always int?

2008-07-21 Thread Jim Hayes
I think you can find the answers here : http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/?localDatabase SQLSupport.html#dataTypes (I'd been meaning to look this up in any case, you just prompted me! Not finished reading it all as yet.) -Original Message- From: flexcoder

RE: [flexcoders] air sqlite image loading

2008-07-21 Thread Jim Hayes
I'm not sure why you're using Base64Encoder/Base64Decoder here, tbh (perhaps you really need to send over the net as text at some point?). Unless it's because you are using only a string for the insert statement? You can insert binary data into a blob field in the AIR database directly, though y

RE: [flexcoders] Where are the AIR resources?

2008-08-04 Thread Jim Hayes
Are you loading it into an html based AIR app using the built in flash plugin? Or loading it via swfLoader into an AS/mxml based application? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Mathews Sent: 04 August 2008 23:34 To: flexcoders

RE: [flexcoders] Multiple AIR Instances

2008-08-04 Thread Jim Hayes
Do you know off the top of your head what event that is, Alex? I had a bug report the other day that I could resolve with this (I didn't realise that event happened, so thanks) If not, no problem - I'll look it up myself, so please don't do it for me! -Original Message- From: flexcoders@y

RE: [flexcoders] Multiple AIR Instances

2008-08-04 Thread Jim Hayes
flash.events.InvokeEvent. (Yes, I did look it up). And the doc says only one instance per, so the OP will have to adopt a multi-window approach From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: Monday, August 04, 2008 4:32 PM To: flexcoders

RE: [flexcoders] Where are the AIR resources?

2008-08-04 Thread Jim Hayes
tive Window with a html source (can I even do that?), then loading the Flex into that window? Thanks, Steve On Mon, Aug 4, 2008 at 3:46 PM, Jim Hayes <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Are you loading it into an html based AIR app using the built in flash plugin? Or

RE: [flexcoders] HTML (Air) - view source

2008-08-11 Thread Jim Hayes
how about yourHtmlComponentInstance.htmlLoader.window.document.documentElement.outerHtml ? For want of any better knowledge on my part, I generally just set a breakpoint somewhere and inspect the html component in the debugger (with a large element of not at all educated guesswork!) I'd imagin

RE: [flexcoders] Using TOTAL and AS in the SQL of a Flex app

2008-08-11 Thread Jim Hayes
why would you want "qtySum " as variable/ sql parameter when it's an "AS" in the SELECT? Apologies if I don't understand (highly likely I'm afraid!), but are you not going to have to pull that out of the results in any case e.g. var sum = result.data[i][qtySum] ? So surely you can use a hardc

RE: [flexcoders] Can I set the image source in CSS?

2008-08-13 Thread Jim Hayes
I recall you can use resource files / ResourceManager to specify embedded images, if that's the sort of thing that you want to do? There's a relevant article on the adobe developer site somewhere as far as I remember. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROT

RE: [flexcoders] Re: Take the latest Adobe Developer Survey

2008-08-14 Thread Jim Hayes
Done so, thanks. We have always had a bit of an issue regarding licencing of AIR apps / copy protection etc, so It's good to see the questions asked. I'm a bit dissapointed about the US only sweepstake though! (We're UK based, though do have operations and staff in the US...) -Original Mess

RE: [flexcoders] Re: Take the latest Adobe Developer Survey

2008-08-14 Thread Jim Hayes
latest Adobe Developer Survey Yeah, we're admittedly lazy on getting sweepstakes to work internationally, they are very expensive for us to set up I think because of all the legal issues. On 8/14/08 3:55 AM, "Jim Hayes" <[EMAIL PROTECTED]> wrote: Done so, thanks. We hav

[flexcoders] Difference between specifying remoteObject in mxml and in actionscript ?

2008-08-15 Thread Jim Hayes
I'm sure I'm missing something here, but It would be good if anyone could point out exactly what it is! I'm attempting to configure a remoteObject *without* the compiler option of-services \\someServer\Path\WEB-INF\flex\services-config.xml or similar I initally thought it would be a question

RE: [flexcoders] Spelling checker in Flex 3

2008-08-15 Thread Jim Hayes
List of ten options here : http://www.flex888.com/506/10-spell-check-components-for-ria-application s.html I'd also appreciate any opinion /knowledge on this subject (It's on my TODO list ...) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] Difference between specifying remoteObject in mxml and in actionscript ?

2008-08-15 Thread Jim Hayes
} Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: Friday, August 15, 2008 7:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Difference between specifying remoteObject in mxml and in actionscript ? I'm sure I'm missing something here, but It

RE: [flexcoders] Is there a way to embed flex swf in C++ instead of AIR?

2008-08-16 Thread Jim Hayes
You may want to have a look at Haxe / Neko, and the related screenweaverHx. I believe you can extend it with c++ dlls but I'm far from an expert there so do your own research (The mailing list is full of helpful people), if so then you may save yourself a bunch of effort getting the basics workin

RE: [flexcoders] Headless compilation with AdvancedDataGrid

2008-08-17 Thread Jim Hayes
http://livedocs.adobe.com/flex/3/html/help.html?content=anttasks_1.html -Original Message- From: flexcoders@yahoogroups.com on behalf of Sebastien ARBOGAST Sent: Sun 17/08/2008 16:42 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Headless compilation with AdvancedDataGrid Whi

RE: [flexcoders] Re: 3.1 changelog?

2008-08-18 Thread Jim Hayes
Thanks for letting us know Matt. Before anyone else asks (!), is it basically an SDK update, and is it just a question of selecting the previous "Flex 3.0" SDK if anything breaks in the new one? It's just that I'm right on the edge of a release, so I'm slightly nervous of anything changing, whi

RE: [flexcoders] Headless compilation with AdvancedDataGrid

2008-08-19 Thread Jim Hayes
bundle "olap" for locale "en_US". [mxmlc] [mxmlc] Error: Unable to resolve resource bundle "charts" for locale "en_US". [mxmlc] [mxmlc] Error: Unable to resolve resource bundle "olap" for locale "en_US". [mxmlc]

RE: [flexcoders] Coldfusion 8 & Air: Connect to online db?

2008-08-20 Thread Jim Hayes
Yes, AIR can communicate with your server of choice in pretty well the same way as a flex swf can. I've never used coldfusion myself, but there seem to be plenty of online resources regarding flex and coldfusion, so you should be fine. It's important to understand that you'll need to implement a

RE: [flexcoders] Normalize removing my data??? Is this a bug in Flex?

2008-08-20 Thread Jim Hayes
XML has a copy method that might help here : from the docs : Example This example shows that the copy() method creates a new instance of an XML object. When you modify the copy, the original remains unchanged: var xml1:XML = ; var xml2:XML = xml1.copy(); xml2.appendChild(); trace(xml1.bar.le

RE: [flexcoders] May I save object to SQLite in AIR?

2008-08-21 Thread Jim Hayes
You should be able to do this, look into ByteArray's readObject and writeObject methods (and serialisation maybe) Reading and writing the bytearrays to/from sqlite uses the normal syntax, though you will have to use parameters (since concatenating a bytearray into a string query is a bit hard!

RE: [flexcoders] Intriguing AMFPHP sample

2008-08-21 Thread Jim Hayes
>How would you convert that ByteArray of the swf file back to a >MovieClip/SWFLoader/something displayable ?? I guess use Loader.loadBytes and type the resultant contents as a MovieClip? But that is guessing, I hasten to add. -Original Message- From: flexcoders@yahoogroups.com on behalf

RE: [flexcoders] Intriguing AMFPHP sample

2008-08-22 Thread Jim Hayes
e like foo.php could actually provide Flex with foo.swf. So... The url request target would probably be "foo.php." Rick Winscot On 8/21/08 7:27 PM, "Jim Hayes" <[EMAIL PROTECTED]> wrote: >How would you convert that ByteArray of th

RE: [flexcoders] Flex Builder Professional

2008-08-22 Thread Jim Hayes
My copy of FB pro (just updated to 3.1) shows this : Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y Build id: M20070921-1145 as the version of eclipse. I have Mylyn running as part of whatever I did to install subversion access some months ago(the details of which I forget I'm afraid) is M

RE: [flexcoders] Re: Flex Builder Professional

2008-08-22 Thread Jim Hayes
>Yes that helps. Thank you. I am interested in using Eclipse 3.4 with >Flex Builder. Anyone know whether the Flex Builder plugins work with 3.4? Apparently it does : see http://tech.groups.yahoo.com/group/flexcoders/message/122745 That's all I know, however (I use flexbuilder myself). _

RE: [flexcoders] dealing with apostrophes in text saved to Sqlite from an AIR app

2008-08-23 Thread Jim Hayes
Are you using parameters in the sqlStatement or are you concatenating your inputs to the query in text? -Original Message- From: flexcoders@yahoogroups.com on behalf of Andrew Wetmore Sent: Sat 23/08/2008 21:53 To: flexcoders@yahoogroups.com Subject: [flexcoders] dealing with apostrophes

RE: [flexcoders] itemrender - tilelist - Image - AIR

2008-08-23 Thread Jim Hayes
If you use an array for the dataprovider of the tilelist, then it won't pick up any changes to that array. try using an arrayCollection instead. I'm assuming that your array of images does get populated, and that tileList will normally display such an array? You'd probably want to check both t

RE: [flexcoders] How to save object to SQLite and get it back?

2008-08-24 Thread Jim Hayes
> I confuse the syntax to do this Are you confused about the sqlite syntax in general usage, or specifically about saving/retrieving an *object* in it's native form to a database? For instance, if you were to change the table in your example to have fields id (integer) ,firstName (Text) & lastN

RE: [flexcoders] sqlite database physical path?

2008-08-25 Thread Jim Hayes
File.applicationStorageDirectory will be somewhere in your "Documents and settings" directory and will be user and application specific. try trace(File.applicationStorageDirectory.nativePath) to see where it is for your app. >How to do this if I want to create the sqlite in the following path

RE: [flexcoders] Re: How to save object to SQLite and get it back?

2008-08-25 Thread Jim Hayes
With the proviso that not I've tried this as yet and it's entirely off the top of my head, it should go something like this ... // saving // var userVO:UserVO = new UserVo("jim","hayes"); // save object into byteArray var userVOasByteA

RE: [flexcoders] Re: Splash Screen on AIR - still appearing main window

2008-08-25 Thread Jim Hayes
Do you have a url to hand for the samples you found? colleagues have been asking me to do a splash screen but it's pretty far down my priorities list. It would save me having to think about how to do it(I hate having to think, too much like hard work)! -Original Message- From: flexcoder

RE: [flexcoders] How to check a table already exist in SQLite?

2008-08-25 Thread Jim Hayes
Put this in the front of your sql statement for creating the table "IF TABLE NOT EXISTS " (Which I think is correct, if not then it's very close). Is this not in the help file examples? -Original Message- From: flexcoders@yahoogroups.com on behalf of markflex2007 Sent: Mon 25/08/2008 16:

RE: [flexcoders] Sqlite retrive to object

2008-08-25 Thread Jim Hayes
var obj2:ByteArray = result.data[0]["USER"] as ByteArray; obj2.position = 0; var yourUserVOInstance:userVO = obj2.readObject() as userVO; *probably*... (the "as" cast operation will return null if the operation is not successful, unlike the ObjectToCastTo(someObject) form which will throw an er

RE: [flexcoders] Re: How to save object to SQLite and get it back?

2008-08-25 Thread Jim Hayes
apologies, as ivo has helpfully pointed out (and I'd forgotten, thanks ivo), you need to be using registerClassAlias() in order to be able to type the object you get back. so var userVOasByteArray:ByteArray = result.data[0]["USER"] as ByteArray ; userVOasByteArray.position = 0; va

RE: [flexcoders] Re: How to check a table already exist in SQLite?

2008-08-26 Thread Jim Hayes
http://livedocs.adobe.com/flex/3/langref/flash/data/SQLSchema.html -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: 25 August 2008 19:54 To: flexcoders@yaho

RE: [flexcoders] Save Object with EncryptedLocalStore

2008-08-26 Thread Jim Hayes
Documentation : http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/data/EncryptedLocalStore.html Google : http://www.google.com/search?q=EncryptedLocalStore+adobe+AIR (result number one, right at the top) -Original Message- From: flexcoders@yahoogroups.com on behalf of mark

RE: [flexcoders] Stop Flex closing whole browser

2008-08-26 Thread Jim Hayes
I felt your pain, I pretty quickly changed my flexbuilder preference to the browser that I don't usually use for general browsing. In my case that's internet explorer, I guess on mac you might choose firefox or opera if you main one is safari? There may be some way to configure safari to do what

RE: [flexcoders] Using view stack to link to mxml

2008-08-29 Thread Jim Hayes
> I load each independently in an .xhtml file. so in your browser you have two separate .swfs loading in the one html page and you want to send messages between them? -Original Message- From: flexcoders@yahoogroups.com on behalf of Pankaj Arora Sent: Fri 29/08/2008 23:43 To: [EMAIL PR

RE: [flexcoders] What is the best way to measure htmlText at run time?

2008-08-30 Thread Jim Hayes
I seem to remember having some case where a textArea would not update it's size measurements until it was validated . I may well be wrong about this, but try : private function onUpdateComplete(): void { idContentText.validateNow(); trace('HTMLContentBox.onUpdateComplete: '+_htmlContent

RE: [flexcoders] Buzzword of Adobe

2008-09-04 Thread Jim Hayes
Thanks Gordon. I guess that is the best place to keep looking for documentation* on the text components? (Looks to me like it's updated from when I last had a look at it a few weeks ago, in any case) I had a brief try at a Text editor, it's not exactly rich and it does "suck goats" ! :) But i

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: Fl

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 tr

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

2008-09-11 Thread Jim Hayes
groups.com 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 > applicatio

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: f

RE: [flexcoders] Preventing cut&paste 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 cut&paste

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 a

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! -Orig

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 fla

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

2008-09-19 Thread Jim Hayes
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 i

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

2008-09-19 Thread Jim Hayes
e 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 lo

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: flexcoders

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 be

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

2008-10-02 Thread Jim Hayes
need to change localhost to 127.0.0.1 (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 o

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: flexcoders@yahoogroups.co

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] 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 9.

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! -Orig

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

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 November

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 t

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 up

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: [f

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, open:Boole

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

2007-12-05 Thread Jim Hayes
in a new window, you do need the _blank, 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. >

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

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 Messag

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 middl

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 m

RE: [flexcoders] Flash Player 9.0.115 drawing bug

2007-12-10 Thread Jim Hayes
I'm just asking folks to use it to prove 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

RE: [flexcoders] Flash Player 9.0.115 drawing bug

2007-12-11 Thread Jim Hayes
tthew Ganz 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:[EM

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 (fir

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

2007-12-13 Thread Jim Hayes
from your previous install. 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

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 w

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 : http://blog.kevinhoyt.org/2007/12/13/air-beta

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 reaso

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
ontrols.ComboBox; import mx.events.FlexEvent; /** * * @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

RE: [flexcoders] Browser window size

2008-01-08 Thread Jim Hayes
Does this do what you want (using screenManager.screen) ? http://www.adobe.com/2006/mxml"; layout="absolute" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#943C3C, #943C3C]" height="100%" width="100%"> -Original M

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 I

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

2008-01-08 Thread Jim Hayes
ing into opensourcing my code. From: [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

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 (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 J

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. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of YOGESH JADHAV Sent: 16 January 2008 12:17 To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com Subject: [flexcoders] How t

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 13:5

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 onl

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 bo

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

  1   2   3   >