[flexcoders] URLMonitor timeout

2010-03-26 Thread Zdenek Mikan
I am trying to detect the online/offline status of my Air 1.5 application using URLMonitor. Unfortunately when the status is offline, the first StatusEvent after monitor.start() comes after very long timeout (20s?). Is there any method how to make this timeout shorter? Zdenek M

Re: [flexcoders] Clean way to filter very large ArrayCollection (in pieces) using filterFunction

2010-03-26 Thread Roman Protsiuk
I guess you can easily reset some sort of counter before refreshing collection and then increment it from inside of filter function without getting into internals. Roman http://kotopakhi.com On Fri, Mar 26, 2010 at 5:18 AM, Baz li...@thinkloop.com wrote: Hello, I have a very large

Re: [flexcoders] Clean way to filter very large ArrayCollection (in pieces) using filterFunction

2010-03-26 Thread Baz
Thanks for the suggestion Roman, could you tell me a little more? How can I refresh only a certain range records? Baz

[flexcoders] Re: What's wrong with this basic AS3 code?

2010-03-26 Thread bhaq1972
Doesn't make sense. I just tried it out and it works for me in an ActionScript project as well. Clearly, you Car class constructor takes 2 arguments, and its being passed 2 args in the instantiation. If you are using flexbuilder try click ProjectClean (this will build the project like its

[flexcoders] Re: actionscript project need Vector

2010-03-26 Thread ouaqa
If you're working on a flex project, you might want to read the following article : http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10 note that you should use last stable build of the flex 3.5 sdk instead of the v.3.0 of the sdk as they suggest in the tutorial. --- In

[flexcoders] Re: using Vectors and amfphp

2010-03-26 Thread ouaqa
Thanks Oleg, I'll do that. Still, as a lazy coder, my ideals feel betrayed :) --- In flexcoders@yahoogroups.com, Oleg Sivokon olegsivo...@... wrote: Hi, the easiest way is to make custom serialization routine. Vectors aren't fully serializable anyway - regardless of the type parameter they

[flexcoders] Re: Blazeds security and custom messagingadapter fails

2010-03-26 Thread steffensphoto
Hi Mete Thank you for your reply. we are using version 3.2.0.3978 and is soon going to production. I cannot find any newer version at http://opensource.adobe.com/wiki/display/blazeds/Release+Builds Do you mean version 4 rc, and is there a migration guide? Anyway is there an working all

Re: [flexcoders] Clean way to filter very large ArrayCollection (in pieces) using filterFunction

2010-03-26 Thread Oleg Sivokon
That's sort of misconception about ArrayCollection. It is not a collection, it misses View part in the name, but if you'll look at inheritance chain, then you'll see it is a view - it's basically the same as ListCollectionView. Another thing about ArrayCollection or ListCollectionView is that it

Re: [flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-26 Thread Nick Middleweek
Do you have a link to this blog though please? I'm still interested in reading through it... I've just googled Andrew Trice BitMapData blog getUIComponentBitmapData but can't find what you've mentioned. Cheers, Nick On 25 March 2010 10:43, bhaq1972 mbha...@hotmail.com wrote: I think i'm

[flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-26 Thread bhaq1972
yeh sure. here you go. http://www.cynergysystems.com/blogs/page/andrewtrice?entry=flex_2_bitmapdata_tricks_and its a Flex2 example but still works with flex 3 /4 --- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Do you have a link to this blog though please? I'm still

[flexcoders] How can I Force a Chart to Redraw Itself?

2010-03-26 Thread icepero
I have a column chart that uses a label function to format the vertical axis. I added a button and want the axis (or chart) to redraw when the button is clicked. Right now, the chart axis renders OK only when initially added to the view state. I use a function that sets various properties

[flexcoders] Determining which version of FlashPlayer was compile/linked?

2010-03-26 Thread jp...@pacbell.net
Let's say you have compiled your app to use 10.0.0 or maybe 9.0.124 or whatever.When the app is running, is there an easy way to determine (from within the app)which version of flash player it was compiled for?Some API like: getGlobalPlayerVersion():String or some such? [while trying to find bugs

Re: [flexcoders] Determining which version of FlashPlayer was compile/linked?

2010-03-26 Thread Oleg Sivokon
Hi. The problem is that SWF format doesn't contain a field that specifies the version it was compiled for. There is FileAttributes tag in SWF, but it only contains information on VM version and there are the magic letters in the file header that provide you the file version. More info here:

[flexcoders] How do you use the img tag with TextLayout.swc

2010-03-26 Thread djhatrick
I know it might sound like a dumb question, but I added something like flow:img src='someurl' flow:img in a paragraph. and nothing showed up. Thanks,

[flexcoders] How to attach a local file to an email with URLRequest from AIR

2010-03-26 Thread breizo
I am trying to send an email through the default local email system with URLRequest. Tried the example below with no success. Also tried to add around s with no more success... Has anybody done it before? Thanks var file:File = File.documentsDirectory(myfile.txt); var s:String = file.url;

[flexcoders] Re: access mdb files with flex 3 reside in same directory

2010-03-26 Thread xamkan
sigh...wish Flex have more general database support...thanks for the reply.

[flexcoders] Re: Blazeds security and custom messagingadapter fails

2010-03-26 Thread Mete Atamel
Hi Steffen, I meant BlazeDS 4 which is not officially released yet but you can use the latest nightly build for now and switch to BlazeDS 4 officially in your project when it's released. -Mete --- In flexcoders@yahoogroups.com, steffensphoto sejen...@... wrote: Hi Mete Thank you for

[flexcoders] Best Way To Tweet To Twitter From an Air Application

2010-03-26 Thread James
I am looking for the quickest and simplest possible method to allow a user to post a tweet to twitter from within an air application. Basically I just want them to be able to enter their name and password in my app type what they want to tweet and click a button and it will tweet it to their

[flexcoders] Can I use Runtime Shared Library with Modules?

2010-03-26 Thread boy_trike
Is there a trick to using RSL and modules? I have tried, but keep getting can not find either mx.application or mx.module. thanks bruce

[flexcoders] Re-Compiling MXML with Flex 4 (Before I Used Flex 3.X)

2010-03-26 Thread Angelo Anolin
I am in the process of re-compiling some of the MXML files I have done using Flex 4 from Flex 3.  So far, some of my source codes have compiled properly, and most of them simply trigger an error when it comes to the backgroundGradientColors of the application container.  Other than that, I am

Re: [flexcoders] Re-Compiling MXML with Flex 4 (Before I Used Flex 3.X)

2010-03-26 Thread Jake Churchill
I'm pretty sure 1 and 3 can both be accomplished by setting the theme property on the application to halo which used to be the default. Now the default is spark which is the visual change and I believe the backgroundGradient is no longer applicable there but still is on halo. -Jake On Fri, Mar

Re: [flexcoders] Re-Compiling MXML with Flex 4 (Before I Used Flex 3.X)

2010-03-26 Thread Angelo Anolin
Hi Jake, thanks for the heads up. Where would I be able to set the theme to utilize halo on this case? Is there a declaration I need to make on my MXML? I tried to set my mxml datagrid column wordWrap style property to FALSE but the data still wraps. I wonder if this is the proper way to

Re: [flexcoders] Re-Compiling MXML with Flex 4 (Before I Used Flex 3.X)

2010-03-26 Thread Angelo Anolin
I also found this site on using the older theme: http://blog.flexexamples.com/2009/07/14/using-the-halo-theme-in-flex-4/ although I am unsure on how to use the same when compiling via the command prompt compiler. Any thoughts? Thanks. From: Jake Churchill

Re: [flexcoders] Can I use Runtime Shared Library with Modules?

2010-03-26 Thread Alex Harui
You should not use RSLs with modules. The main app should use RSLs, the modules should extern the RSLs. On 3/26/10 11:40 AM, boy_trike boy_tr...@yahoo.com wrote: Is there a trick to using RSL and modules? I have tried, but keep getting can not find either mx.application or mx.module.

[flexcoders] Flash Builder super-class regeneration

2010-03-26 Thread Scott
Does anyone know what triggers the super-class regeneration to pick up new variables? I generated a php class from Flash Builder then modified the code and removed functions that I didn't want. I then discovered that I needed an additional DB field in my MySQL table so I added the DB field

[flexcoders] How do you tell when a new component is actually displayed?

2010-03-26 Thread Christopher McArthur
I need to be able to tell when a newly instantiated component, is actually being rendered to the screen so you can see it. Usually, I want to do this for complex screens. You navigate to the screen and it shows a loading screen, once that's rendered, I do some blocking action, like adding a

[flexcoders] clearing state from item renderers for advanceddatagrid

2010-03-26 Thread gwfong65
I just realized what it means when an item renderer gets reused in a grid. What exactly do I need to do to remove any preexisting state from the item renderer? In essence, I'm want to come up w/ a clear old state method but being new to flex, I'm not sure what I need to do. One thing I do do

[flexcoders] clearing state from item renderers for advanceddatagrid

2010-03-26 Thread gwfong65
In my code, I found out that I need to clear state in my item renderers because they are reused. I was wondering if folks could suggest tips on exactly what needs to be reset every time. In my case, I was adding some children. So to clear state I removed them before adding different ones.

[flexcoders] button image not centered ?!

2010-03-26 Thread tex_learning_flex
I'm using Flash Builder 4 and have created a button with dimensions of 20x20 and I have placed an image size 16x16 on it. I would think that it would center on the button but it doesn't. Anyone know why and how to correct this? thanks, Tex

Re: [flexcoders] How do you tell when a new component is actually displayed?

2010-03-26 Thread Alex Harui
Well-behaved components are rendered right after they dispatch UPDATE_COMPLETE unless modified again, in which case there should be a following UPDATE_COMPLETE. For a DataGrid, if you have bound it to the results of a network request for data, it could easily finish an UPDATE_COMPLETE before