[flexcoders] Use StyleManager.setStyleDeclaration to set button skins in Flex

2010-02-10 Thread vipinck
Hello all, I am trying to load an swf file which has button skins as images (In the library of the swf file i have given export properties which is 'TickMark') and set the skin of a flex button using StyleManager.setStyleDeclaration. I am getting errors like 'Argument count mismatch on

[flexcoders] Re: Adobe technical support dropped for Flex 3!

2010-02-10 Thread GeorgeB
Hi all, A apologetic reply email from Adobe technical support acknowledging a mistake, shows healthy reflexes and is the right thing they 've done. But I don't think this incident is characteristic of only a certain company. These globalised economic crisis days I expect we will see more of

Re: [flexcoders] Matching colors between Photoshop and Flash/Flex

2010-02-10 Thread RuneImp
Hey Charlie, Without looking at the PSD I'm guessing your Photoshop is using CMYK or Lab Color (both common for print). It is virtually impossible to get a true conversion from CMYK but Photoshop does a pretty good job. But in any case you need to convert the Photoshop file to RGB before trying

[flexcoders] Re: how to show a preloader (loading spinner) when loading images in a flex app.

2010-02-10 Thread ZIONIST
disregard it, i finally got it to work using states and the complete event of the image control.

[flexcoders] Re: Getting My HTML Thumbnail Gallery To Work Using Event.complete

2010-02-10 Thread valdhor
Unfortunately, you have no real control over how long a site takes to load. There are a huge number of factors that can affect that. If it were me, I would try to cache these images on a server. ie. when one person has loaded site X, send the thumbnail to the server and put an entry into the

Re: [SPAM] [flexcoders] Animating items in a tilelist when filtering arraycollection

2010-02-10 Thread valdhor
Could you provide a small application including some data? I find it much easier to see a problem if I can run it myself. --- In flexcoders@yahoogroups.com, ZIONIST stinas...@... wrote: hi guys any help?

[flexcoders] Re: Problem with dealing with loads of XML data

2010-02-10 Thread valdhor
I would have used a datagrid with editing turned on. --- In flexcoders@yahoogroups.com, shail shail_l...@... wrote: Hi, In my application I created a panel full of TextInput controls to make it look like a excelsheet. I pushed my TextInputs Ids in Array while creation complete event.

[flexcoders] Re: flex ftp client with coldfusion

2010-02-10 Thread valdhor
I would say yes as it was done for an older version of AIR. You would use flash.net.socket. These sites should give you a start... http://onflash.org/ted/2007/05/flexftp-ftp-client-in-flex-using.php http://maliboo.pl/projects/FlexFTP/ Note: Don't come back and say you can't get this stuff to

[flexcoders] Re: Flex Project Hosting

2010-02-10 Thread valdhor
It depends on what you are going to use for your data gateway. Generally Flex apps are data driven. If, on the other hand, you do not need data access then flex compiles to a standard Flash SWF file which can be hosted anywhere. --- In flexcoders@yahoogroups.com, Shabir Gilkar shabirgil...@...

[flexcoders] best place to make feature requests

2010-02-10 Thread Tim Romano
Where's the best place to make feature requests for FlashBuilder? Thanks

[flexcoders] Re: Security Sandbox Error Help

2010-02-10 Thread Amy
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: What I do is go to http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html and add the bin-debug folder to the list. I haven't personally tried this, but this may work as well.

[flexcoders] Flex call javascript

2010-02-10 Thread markflex2007
I use the Flex function to call javascript function mx:Script ![CDATA[ import flash.external.*; private function callJS():void{ var s:String; if (ExternalInterface.available)

[flexcoders] Re: Will there be any changes in the current 3.x SDK to measure text correctly

2010-02-10 Thread Amy
--- In flexcoders@yahoogroups.com, djhatrick djhatr...@... wrote: This is a fundamental thing, right, measuring text? It shouldn't require some hacks, with timeouts to try to measure text after you change it. This is my biggest complaint, please. Fix text. Fix Text. Make it measure,

Re: [flexcoders] Flex call javascript

2010-02-10 Thread claudiu ursica
http://curtismorley.com/2008/11/01/actionscript-security-error-2060-security-sandbox-violation/ HTH C From: markflex2007 markflex2...@yahoo.com To: flexcoders@yahoogroups.com Sent: Wed, February 10, 2010 5:15:30 PM Subject: [flexcoders] Flex call javascript

[flexcoders] Category Series in Bubble Series (Bubble Chart)

2010-02-10 Thread aerospc
Hello, Does anyone know if it's possible to have a bubble chart use a category series? I simply want a bubble chart that uses a numeric value for the radius, but that uses strings (categories) for the X and y Axis. Thanks in advance.

[flexcoders] The distant cousin AIR...

2010-02-10 Thread jamesfin
My apologies in advance...I realize this is a Flex forum but the Adobe AIR forum over at http://forums.adobe.com/community/labs/air2?view=discussions doesn't have the expertise that exists here. There doesn't seem to be any Adobe AIR Engineers monitoring the forum too well either. Hear

[flexcoders] Re: FLEX SDK Release Notes

2010-02-10 Thread alexeoscar
Hmm, I guess I can do that, but I don't understand why someone needs to go all the trouble just to extract the release notes off the bug tracking system. Are they confidential ? Maybe, Adobe does not want them being seen by Steve Jobs ;-) ? --- In flexcoders@yahoogroups.com, tntomek

[flexcoders] Re: Flex Project Hosting

2010-02-10 Thread Laurence
If your host can send a .SWF file to the client's browser, you can run a simple Flex program. If you want the program to do anything useful, like storing data on the server, for example, the host needs to offer back-end support for ColdFusion, and some sort of SQL database. There are many

[flexcoders] Re: FLEX SDK Release Notes

2010-02-10 Thread tntomek
:) Here is an example of 3.5 someone took. Usually around every release someone post this anyways, most people don't read these things and if they really want to bug tracker is most flexible way to get exactly the changes they need.

Re: [flexcoders] Use StyleManager.setStyleDeclaration to set button skins in Flex

2010-02-10 Thread Alex Harui
Sounds like those classes have constructor arguments. On 2/10/10 12:36 AM, vipinck vipi...@gmail.com wrote: Hello all, I am trying to load an swf file which has button skins as images (In the library of the swf file i have given export properties which is 'TickMark') and set the skin of a

Re: [flexcoders] Re: Flex Project Hosting

2010-02-10 Thread Vasudev
As Laurence said, any normal hosting providers can host your swf file (Flex after all throws a SWF file). Flex/ Flash CS4 are just IDEs both finally build a swf file only. Flex builder is just a name to differentiate the IDEs. So normally any hosting providers can host your swf files.   There

[flexcoders] Re: The distant cousin AIR...

2010-02-10 Thread bobleisle
Hi James, I don't have the answer to your issue, but in case you weren't aware of it, another good resource for AIR questions is the AirTight group on Google groups. A number of Adobe folks are there and they respond quickly. http://groups.google.com/group/air-tight/web/rules-and-information

[flexcoders] TileList performance

2010-02-10 Thread method_air
Are there any TileList optimization tips? Performance seems slow and choppy even with a small number of images and a fast machine. I would like to utilize this component but the client is currently dissatisfied with it's performance. Do better performing solutions exist (that also utilize

RE: [SPAM] [flexcoders] Re: Problem with dealing with loads of XML data

2010-02-10 Thread Tracy Spratt
Me too. Plus, be aware that with a large number of renderers visible on screen at once (spreadsheet for example) there is a significant performance issue with XML items as compared to a VO item with strongly typed properties. Tracy Spratt, Lariat Services, development services available

RE: [SPAM] Re: [flexcoders] Re: Flex Project Hosting

2010-02-10 Thread Tracy Spratt
I have used GoDaddy to host a large data-deriven app, using their hosted sql server and it works very well. I do not have anything in production hosted, though. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

re[flexcoders] move an empty row in datagrid

2010-02-10 Thread coder3
Hi All, For example i have a datagrid of student info. student name, class, payment, ... if a row contains only student name, other columns data is empty, i don't want to show this row. How can i do it? thanks C. -- View this message in context:

Re: re[flexcoders] move an empty row in datagrid

2010-02-10 Thread Adnan Doric
On 10/02/2010 20:37, coder3 wrote: Hi All, For example i have a datagrid of student info. student name, class, payment, ... if a row contains only student name, other columns data is empty, i don't want to show this row. How can i do it? thanks C. Try using filters on underlying

[flexcoders] CROSS-DOMAIN POLICY HELP PLEASE!!!

2010-02-10 Thread s_hernandez01
Hey does anyone know why I get this error: SecurityError: Error #2122: Security sandbox violation: BitmapData.draw: http://localhost/beta/Test-debug/Test.swf cannot access http://MyDomainName.com/beta/images-standard/backgrounds/paper.png. A policy file is required, but the checkPolicyFile

Re: [flexcoders] CROSS-DOMAIN POLICY HELP PLEASE!!!

2010-02-10 Thread Jake Churchill
Looks like you are trying to access MyDomainName.com but your policy is set for www.MyDomainName.com. Those are treated as separate domains even though they are only sub domains. On Wed, Feb 10, 2010 at 2:35 PM, s_hernandez01 s_hernande...@yahoo.comwrote: Hey does anyone know why I get this

[flexcoders] Re: CROSS-DOMAIN POLICY HELP PLEASE!!!

2010-02-10 Thread s_hernandez01
I guess my question would be why would it give me a security sandbox error when I'm running the app locally, wouldn't the sandbox error be executed when you have your app on a webserver with no crossdomain.xml on the server you're trying to access? --- In flexcoders@yahoogroups.com, Jake

[flexcoders] Hslider lables not located on right ticks

2010-02-10 Thread markflex2007
I want to show labels on HSlider,but they are located on incorrect tick. mx:HSlider id=hsViewminimum=100 maximum=1 width=100% value=500 visible=true tickValues =[100, 500, 1000, 5000, 1 ] labels=[100 ,500,1000, 5000, 1 ] x=0 y=13 / Please let me know how to fix this.

Re: [flexcoders] Re: CROSS-DOMAIN POLICY HELP PLEASE!!!

2010-02-10 Thread Jake Churchill
try manually loading the policy file: import flash.system.Security; ... Security.loadPolicyFile(“http://domainname.com/crossdomain.xml“); On Wed, Feb 10, 2010 at 3:06 PM, s_hernandez01 s_hernande...@yahoo.comwrote: I guess my question would be why would it give me a security sandbox error

[flexcoders] Re: LCDS Offline Synchronization

2010-02-10 Thread Dennis
Thanks Jeff for the prompt response, coincidentally a few hours after writing this post, I managed to solve my problem by doing pretty much what you said. Making an explict call to connect after the datastore and dataservices are initialized correctly updated the commitRequired flag. I had

[flexcoders] Re: CROSS-DOMAIN POLICY HELP PLEASE!!!

2010-02-10 Thread s_hernandez01
Yeah I thought of that too, but no success :( The Flex Project is setup with a PHP application server type. It's like if Flash Player is saying hey this domain does not have access to get these images but the thing is I'm not calling them from domain to domain, I'm calling them locally to a

[flexcoders] Flex Out Of Memory Errors

2010-02-10 Thread James
I keep getting a flex out of memory error to do with java heap space every time I run an app which is very big as it's 15,000 lines of code long and contains over 50 embedded png images but the solutions I've been sugegested/tried so far don't work and the error persists every time I try to

[flexcoders] LCDS Deleting offline data cache

2010-02-10 Thread Dennis
If a user deletes the offline cache of an Air app then starts up the app in offline mode what is the expected behaviour results from a fill request? On my local setup, the callbacks bound to the token from my fill request are not called and the app waits indefinitely. I expect an empty fill

Re: [flexcoders] Re: CROSS-DOMAIN POLICY HELP PLEASE!!!

2010-02-10 Thread Adnan Doric
http://localhost is considered as a domain. If you want it to work, launch it directly from your Flash Builder. It will create a rule for the folder containing the swf in order to bypass the security. On 10/02/2010 22:54, s_hernandez01 wrote: Yeah I thought of that too, but no success :(

[flexcoders] Re: CROSS-DOMAIN POLICY HELP PLEASE!!!

2010-02-10 Thread s_hernandez01
Well, I'm using Flex 3 and the sandbox error pops up when I run it from Flex. --- In flexcoders@yahoogroups.com, Adnan Doric astrona...@... wrote: http://localhost is considered as a domain. If you want it to work, launch it directly from your Flash Builder. It will create a rule for the

Re: [flexcoders] Re: CROSS-DOMAIN POLICY HELP PLEASE!!!

2010-02-10 Thread Adnan Doric
On 10/02/2010 23:14, s_hernandez01 wrote: Well, I'm using Flex 3 and the sandbox error pops up when I run it from Flex. URL should be file:///something if you want it to work. You can also try to put a * in your crossdomain.xml and start from there if it works.

[flexcoders] ExternalInterface : debugging, DOM, Export Release Build

2010-02-10 Thread Tim Romano
My browser-deployed Flex app, built in FB4, is using the ExternalInterface. The Flex app gets some search terms from the user, goes out to a webservice for some data, and then pushes some html markup out to a DIV in the HTML document using the ExternalInterface.call() method. I send the

[flexcoders] Re: CROSS-DOMAIN POLICY HELP PLEASE!!!

2010-02-10 Thread s_hernandez01
Yup tried that and no luck either. I even tried using Security.loadPolicyFile(http://www.MyDomainName.com/crossdomain.xml;); to push it to the flash player since I put the * in the cross domain and still keep getting the error. --- In flexcoders@yahoogroups.com, Adnan Doric astrona...@...

[flexcoders] Re: Flex Out Of Memory Errors

2010-02-10 Thread tntomek
Google JVM options for your flexbuilder.ini file. Something like -Xms1024 --- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote: I keep getting a flex out of memory error to do with java heap space every time I run an app which is very big as it's 15,000 lines of code long and

Re: [flexcoders] LCDS Deleting offline data cache

2010-02-10 Thread Jeffrey Vroom
I've been away from the code a while and so can't remember exactly but one thing you'd have to do to get that to work is to compile in your services-config.xml into your client app. The offline data store contains the names of the data services id properties, associations etc. when the

Re: [flexcoders] TileList performance

2010-02-10 Thread Alex Harui
Use the performance profiler to see where things are taking too much time. Make sure your images are tuned to their display size and embed them if you know what they are going to be. On 2/10/10 11:31 AM, method_air loudj...@hotmail.com wrote: Are there any TileList optimization tips?

[flexcoders] Limited Heap Space Problem

2010-02-10 Thread James
Ok I've managed to find the file which controls the heap space which Flex Builder allows called the FlexBuilder.ini file in Computer/C/ProgramFiles(86)/Adobe/Flex Builder 3/ but the problem is I can't raise the xms and xmx attributes above 512 as when I try to start Flex I get the message

RE: [flexcoders] TileList performance

2010-02-10 Thread Philip Smith
Thanks. We realized we were using massive images (and resizing), performance has increased substantially with the correct image size. To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Wed, 10 Feb 2010 14:50:25 -0800 Subject: Re: [flexcoders] TileList performance

[flexcoders] How do create two different charts?

2010-02-10 Thread Patricia Han
Hi All, Has anyone done creating two different types of charts in the same scale? I need to draw a stacked area chart and a line chart on the same chart area. But I don't know how to do that. Can someone give some advice? Or some examples? Thanks so much for any advance or suggestion. Pat.

Re: [flexcoders] How do create two different charts?

2010-02-10 Thread Richard Rodseth
Quick answer, and I may not have time to follow up with more detail . You can have different series types within the same chart definition. In other words, an mx:ColumnSeries element doesn't have to be inside an mx:ColumnChart element. So just use an mx:CartesianChart (I believe that's what it's

Re: [flexcoders] Re: CROSS-DOMAIN POLICY HELP PLEASE!!!

2010-02-10 Thread Alex Harui
Timing is important, and so is configuration. If you launch the app via file:// then you need the put the folder in the FlashPlayerTrust file(s). If you are launching the app via http:// then you need a crossdomain.xml file on the root of www.MyDomainName.com and make sure it gets loaded

Re: [flexcoders] TileList performance

2010-02-10 Thread Alex Harui
Also, if you are scrolling, images will get reloaded and a caching image component like SuperImage can help smooth things out. On 2/10/10 4:03 PM, Philip Smith loudj...@hotmail.com wrote: Thanks. We realized we were using massive images (and resizing), performance has increased

[flexcoders] Re: Limited Heap Space Problem

2010-02-10 Thread Laurence
Well, first of all, I'd try to find another way of allowing users to view your 50 .PNG files, without embedding them in your code. That'll free up a TON of memory. (It's why Hard Drives were invented. GRIN) Maybe load them into memory from a folder, as they're needed, rather than embedding

[flexcoders] A security question...

2010-02-10 Thread Laurence
So, let's say I have a mx:RemoteObject in my program... I want it to communicate with the server via SSL, or some other method whereby the credit-card numbers it sends to-and-from the server are encrypted. Here's how it's structured currently: mx:RemoteObject id=roPaymentInfo

Re: [flexcoders] A security question...

2010-02-10 Thread Booking Heaven
The best thing you have to do is you should encrypt it in client side before it is passed to webservice (whatever it is, https or http) because man in middle attack can tap your creditcard information before it is passed to webservice. Reinhart --- On Wed, 2/10/10, Laurence

Re: [SPAM] Re: [flexcoders] Re: Flex Project Hosting

2010-02-10 Thread Shabir Gilkar
Hi all! Thanks for your kind reply!!! Basically i have simple Political website, In which i want to publish there daily press releases and photos videos, i want to have MySQL as my data base and connect thru MAMP. Or you can suggest me what is the simple and easy for me as i am beginner in Flex.

[flexcoders] Re: A security question...

2010-02-10 Thread Laurence
Well, I guess that begs the question -- is there an easy way to encrypt something in Flex? Like ColdFusion's encrypt() function? Does Flex have something like that built-in? L. --- In flexcoders@yahoogroups.com, Booking Heaven booking2hea...@... wrote: The best thing you have to do is you

[flexcoders] Future Of Flex Developers?

2010-02-10 Thread p...@vin Uttarwar
Hi Guys, I don't know whether this is the right place to ask question like this or not. I am working on Flex from last couple of years and as far as current market requirements, It seems that the demand of flex developers is quite high. But still I want to know from all of you the answer to

Re: [flexcoders] Future Of Flex Developers?

2010-02-10 Thread ady
LoL - just 1 Question to this poll ? Wonder wheres that's gonna take u? Anyways now that i have voted - where can i see the statistics of this poll? On Thu, Feb 11, 2010 at 11:29 AM, p...@vin Uttarwar pravinuttar...@gmail.comwrote: Hi Guys,

Re: [flexcoders] Re: A security question...

2010-02-10 Thread Booking Heaven
Use this lib to encrypt and decrypt in Flex / Air http://code.google.com/p/as3crypto/ Reinhart --- On Wed, 2/10/10, Laurence lmacne...@comcast.net wrote: From: Laurence lmacne...@comcast.net Subject: [flexcoders] Re: A security question... To: flexcoders@yahoogroups.com Date: Wednesday,

Re: [SPAM] [flexcoders] Animating items in a tilelist when filtering arraycollection

2010-02-10 Thread ZIONIST
okay this is exactly what am doing. i have an arraycollection(dataAr) that is populated by data from a database. i have a multiple filter function that i use to filter the arraycollection(dataAr) and each time its filtered i refresh it. i then assign the filtered arraycollection(dataAr) to a

Re: [flexcoders] Re: Limited Heap Space Problem

2010-02-10 Thread Chris
I don't know much about Flex Builder, but I've seen this happen before with lots of java programs. I think you might be actually setting the heap size to something like 512 bytes, and therefore java doesn't have enough ram to load itself. If Flex Builder doesn't bend to your will, might I suggest