[flexcoders] Problems with crossdomain and upload

2010-04-13 Thread sderamon
Hello, I want to upload files from one server to another one. For example, I heave the .swf file in the 192.168.1.5 and I want to select files from the web page and upload to 10.234.195.160 using filerefence. I think is a problem with a crossdomain, but I don't know how I can solve it. I have

Re: [flexcoders] FlashBuilder 4 Linux Released!

2010-04-13 Thread feiy
try to download from fb4linux site! 闲云孤鹤 - 清冷香中抱膝吟 2010/4/13 feiy eshang...@gmail.com the web have clear,please download from fb4linux code site after 4.13 GMT+8 闲云孤鹤 - 清冷香中抱膝吟 On Mon, Apr 12, 2010 at 5:15 PM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Friday 09 Apr 2010,

[flexcoders] Re: Charts - complex label

2010-04-13 Thread pullzmag
Any ideas guys? --- In flexcoders@yahoogroups.com, pullzmag deegregg_ml...@... wrote: For my line chart I need a label which will be made of two labels. I was trying to use custom labelRenderer where I added another label but this either not possible or I did something wrong. Can you give

Re: [flexcoders] Re: Charts - complex label

2010-04-13 Thread thomas parquier
where do you take labels from ? thomas parquier --- http://www.web-attitude.fr/realisations/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056 2010/4/13 pullzmag deegregg_ml...@poczta.fm Any ideas

[flexcoders] Re: Charts - complex label

2010-04-13 Thread pullzmag
The first one is the default one. The second one is retrieved from an array. So I have no problem with retrieving their values but having displayed the second one. I have been using the below class, assigned as labelRenderer package com { import mx.charts.AxisLabel; import

Re: [flexcoders] Installation of Flex Builder 3 plugin on Eclipse 3.5

2010-04-13 Thread sachindev tripathi
Hi, I could not understood its logic behind changing the name to Flash builder 4. Some one says that it is for making difference between open source Flex SDK 4 and Flex Builder 4( not open source,License needed). Any one could please update my knowledge? Thanks Sachin --- On Mon, 12/4/10,

[flexcoders] Re: Property values based on Multiple Conditions

2010-04-13 Thread Doug
Awesome stuff guys!! The amp; thing didn't work for me when I tried that... I thought just maybe, but nah. This was part of the source of my question, How do you do a logical AND? The function method that Richard posted is something I am going to try as I think that's exactly what I'm

[flexcoders] Re: How to deprecate property which has getter/setter?

2010-04-13 Thread jimmartin10
Noone knows how to deprecate a getter without getting erroneous compiler warnings from the setter? --- In flexcoders@yahoogroups.com, jimmartin10 keryk...@... wrote: If I use the [Deprecated] tag on a getter only, e.g. [Deprecated] public function get myOldProperty():int { return

[flexcoders] Unable to load wsdl file error on calling a web service

2010-04-13 Thread angeline_aarthi
I am trying to call a webservice from my Flex application and this is the code: mx:WebService id=myWebService wsdl=http://172.16.111.103:2/cics/services/PRESENT1?wsdl; mx:operation name=PRESENT1Operation result=resultHandler(event)

[flexcoders] NumericStepper as itemRenders in DataGrid don't work as expected

2010-04-13 Thread Tom Chiverton
This simple DataGrid doesn't appear to work right. Click one of the rows, and the value in the NumericStepper is zero, when I would expect it to pick up the value from the data provider. Code (ignore all the script and outputs, just compile and run): ?xml version=1.0 encoding=utf-8?

[flexcoders] Update facebook status from flex - Examples?

2010-04-13 Thread James
I'm trying to make an air app that allows users to update their facebook status from within the app as well as view all of their current stuses within my app too. I'm using the regular facebook api but can't find many examples on how to do this. Does anyone know of any similar examples to what

RE: [flexcoders] NumericStepper as itemRenders in DataGrid don't work as expected

2010-04-13 Thread Gregor Kiddie
You need value binding to the data property mx:NumericStepper stepSize=0.01 minimum=0 maximum= dataChange=outerDocument.debug(event) value={data} or... set the itemEditor of the datagrid to be a class factory which generates NumericSteppers with the factory’s properties set up.

Re: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-13 Thread Tom Chiverton
On Monday 12 Apr 2010, valdhor wrote: Just as a thought, couldn't Adobe output an XCode project that you just need to compile? No. That's not how the system works, it outputs direct to ARM machine code. See http://www.adobe.com/devnet/logged_in/abansod_iphone.html -- Helping to

Re: [flexcoders] NumericStepper as itemRenders in DataGrid don't work as expected

2010-04-13 Thread Tom Chiverton
On Tuesday 13 Apr 2010, Gregor Kiddie wrote: value={data} This causes a stack overflow inside the Binding/Watch infrastructure. When the Stepper is used directly, rather than being wrapped in a mx:Component, If I take out the mx:Component lines, it fails to compile because NumericStepper

RE: [flexcoders] NumericStepper as itemRenders in DataGrid don't work as expected

2010-04-13 Thread Gregor Kiddie
This causes a stack overflow inside the Binding/Watch infrastructure. Really? Didn't expect that one. I never use inline renderers if I can help it! I suspect it'll need to be value={parent.data} or maybe owner.data ... again, I hate inline renderers. If I take out the mx:Component lines, it

RE: [flexcoders] NumericStepper as itemRenders in DataGrid don't work as expected

2010-04-13 Thread Gregor Kiddie
Playing with this... it's the formatter that's screwing things up. The NumericStepper uses the label for the cell and tries to parse it as a float. The dollar sign immediately makes it terminate with a NaN which the NumericStepper makes a 0 (It really should report it a NaN). Gk.

Re: [flexcoders] NumericStepper as itemRenders in DataGrid don't work as expected

2010-04-13 Thread Tom Chiverton
On Tuesday 13 Apr 2010, Gregor Kiddie wrote: Playing with this... it's the formatter that's screwing things up. The NumericStepper uses the label for the cell I think so too. Why isn't it going to the underlying dataProvider element ?!? Can you not mix labelFunction and itemEditor ? In which

Re: [flexcoders] NumericStepper as itemRenders in DataGrid don't work as expected

2010-04-13 Thread Tom Chiverton
On Tuesday 13 Apr 2010, Gregor Kiddie wrote: Really? Didn't expect that one. I never use inline renderers if I can help it! I suspect it'll need to be value={parent.data} or maybe owner.data ... again, I hate inline renderers. It's meant to Just Work. As it is, I think it's down to the

[flexcoders] Re: Flex Builder Out of Memory Errors

2010-04-13 Thread mitchgrrt
To answer my own question: in Applications/Adobe Flex Builder 3/Flex Builder, right-click and select show package contents then go to contents/MacOS/FlexBuilder.ini This is very well hidden! --- In flexcoders@yahoogroups.com, mitchgrrt mitch_g...@... wrote: I'm on a Mac so I don't have an

Re: [flexcoders] Wierd error in instanting an mxml component in actionscript in Flex 4

2010-04-13 Thread Pradeep Chaudhary
Does anybody has any suggestion to solve this problem. It is acting as blocker to moving towards Flex 4 release version. Please help. Regards, Pradeep On Mon, Apr 12, 2010 at 7:36 PM, prad_ch pradeep.chaudh...@gmail.comwrote: I am getting a null object reference error while trying to

[flexcoders] Re: Wierd error in instanting an mxml component in actionscript in Flex 4

2010-04-13 Thread Amy
--- In flexcoders@yahoogroups.com, prad_ch pradeep.chaudh...@... wrote: I am getting a null object reference error while trying to instantiate an mxml component from actionscript. This same code works if compiled from Flash Builder Beta 2 version. I am getting the error only if the code

Re: [flexcoders] Assigning a byteArray to an Image source

2010-04-13 Thread Amanda Machutta
Yes this is what I assumed as well, but even after verifying the position of 0, its still loading a broken image icon. On Tue, Apr 13, 2010 at 12:58 AM, Alex Harui aha...@adobe.com wrote: If it is really a PNG file, you should just be able to assign the bytearray directly to the source, but

Re: [flexcoders] Assigning a byteArray to an Image source

2010-04-13 Thread Amanda Machutta
LOL! Nevermind. I figured out what the issue was. I was using coldfusion on the backend, and when loading the byteArray into my model Object prior to passing it back to Flex, I was using the ToString(*).getBytes() to grab a byte array. Somehow this was causing issues. Removing that and just

[flexcoders] Re: artchitectural suggestion for making any uicomponent draggable?

2010-04-13 Thread Amy
http://www.slideshare.net/ThomasBurleson/flex-behavior-injection --- In flexcoders@yahoogroups.com, Baz li...@... wrote: Hello, I have an application where any uicomponent is draggable relative to the stage. The code is the same for each one. Does anyone have a suggestion on a clean way of

[flexcoders] Re: With the latest eula agreement from Apple

2010-04-13 Thread valdhor
Yes, I know that. What I was suggesting is that Adobe change the output from ARM code to to an XCode project. Wouldn't that get around the new Apple agreement? --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Monday 12 Apr 2010, valdhor wrote: Just as a thought,

Re: [flexcoders] Re: Charts - complex label

2010-04-13 Thread thomas parquier
I think your renderer should extend a uicomponent by adding to labels components within. --- thomas parquier http://www.web-attitude.fr/realisations/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056

RE: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-13 Thread Gregor Kiddie
That amounts to open sourcing the player, as anyone could take a look at the XCode project (or reverse engineer the player from it), which is a no-no from Adobe's perspective. Turning the player into ARM code was about the only way they could get round the licensing problems associated with the

Re: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-13 Thread Fotis Chatzinikos
What about reversing the arm byte code to objective-c? I assume the difficult part was to convert actionscript's virtual machine bytes to arm bytecode...

Re: [flexcoders] Re: Property values based on Multiple Conditions

2010-04-13 Thread Richard Rodseth
I did a little Googling for you: http://twopointoh.vox.com/library/post/boolean-operations-in-mxml.html Depending on what you are building, the Presentation Model pattern may be overkill, but it's worth knowing about. On Tue, Apr 13, 2010 at 12:28 AM, Doug doug_pie...@ymail.com wrote:

[flexcoders] Re: Charts - complex label

2010-04-13 Thread pullzmag
I have tried your tip with the first label. The label is placed correctly (I traced its x and y values) but it's not showing up. The updated class: package com { import mx.controls.Label; import mx.core.IDataRenderer; import mx.core.UIComponent; import

[flexcoders] Flex 4 RichText clickable hyperlinks + maxDisplayedLines

2010-04-13 Thread astronaute75
Hello, RichText support maxDisplayedLines attribute, but doesn't support clickable hyperlinks. RichEditableText support clickable hyperlinks, but doesn't support maxDisplayedLines attribute. Well, I need to limit maxDisplayedLines on my clickable hyperlinks, how can I achieve that please ?

[flexcoders] Custom Gridline Help

2010-04-13 Thread Jason
I want to change the color of a specific gridline to act as a goal gridline. So the chart shows avg's by month. I wan't use one of the gridlines as a goal. This post almost covered it, but I can't find an example. http://tech.groups.yahoo.com/group/flexcoders/message/38209 Thanks for any

[flexcoders] AIR Software creations - Modules...

2010-04-13 Thread Wally Kolcz
Is there any real advantages to creating an AIR app with modules verses all components? I want to break up interal applications in my AIR app and I am used to do it by creating and dynamically loading/unloading modules to keep the size down on the web. Now that I am converting a web app to an

RE: [flexcoders] AIR Software creations - Modules...

2010-04-13 Thread Gregor Kiddie
You can update bits of it without having to go through the whole updater process, which is nice if you have users who aren't administrators! Gk. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Wally Kolcz Sent: 13 April 2010 17:28 To:

Re: [flexcoders] Re: Wierd error in instanting an mxml component in actionscript in Flex 4

2010-04-13 Thread Pradeep Chaudhary
Amy, Thanks a lot. That did it. Thanks, Pradeep On Tue, Apr 13, 2010 at 7:19 PM, Amy amyblankens...@bellsouth.net wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, prad_ch pradeep.chaudh...@... wrote: I am getting a null object reference error while trying to

[flexcoders] context menu

2010-04-13 Thread cholid cholid
Hi All to use context menu and use it to make new tab in browser im use this sample: private function B(evt:ContextMenuEvent):void { navigateToURL(new URLRequest(http://www.google.com;),_blank); } and for the function in context menu, im use this sample:

[flexcoders] Re: Custom Gridline Help

2010-04-13 Thread Jason
I know I can add a line series, which is what I'm using at the moment. The problem with that is since it's another series, it doesn't span the entire width of the chart. It's only as wide as its data elements. thanks.

Re: [flexcoders] How to deprecate property which has getter/setter?

2010-04-13 Thread Srinivas S.M
Jim, http://livedocs.adobe.com/flex/3/html/help.html?content=metadata_3.html check the documentation. I believe you are suppose to use it on setter only. Regards Srinivas On Wed, Apr 7, 2010 at 1:24 PM, jimmartin10 keryk...@yahoo.com wrote: If I use the [Deprecated] tag on a getter only,

Re: [flexcoders] Re: artchitectural suggestion for making any uicomponent draggable?

2010-04-13 Thread Baz
Very helpful, thanks! Anyone have success/recommends BIFFF (Behaviour Injection Framework For Flex) http://wiki.github.com/seanhess/bifff/?

Re: [flexcoders] Re: Charts - complex label

2010-04-13 Thread thomas parquier
even with a validateNow() upon label ? --- thomas parquier http://www.web-attitude.fr/realisations/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056 2010/4/13 pullzmag deegregg_ml...@poczta.fm I

[flexcoders] Re: How to deprecate property which has getter/setter?

2010-04-13 Thread jimmartin10
Srinivas, thanks for your reply The example code in the docs is on the setter only, however, for me, this also generates a compiler warning at the line of the setter. --- In flexcoders@yahoogroups.com, Srinivas S.M s.m.srini...@... wrote: Jim,

[flexcoders] Is it possible to inspect a function (to determine it's and parameters)?

2010-04-13 Thread kidl33t
I have a method which takes a function as one of its parameters. Is there any way to inspect this function and determine what parameters it takes? I have tried both getClassInfo()and describeType(). describeType does in fact return that information I need if the class passed to it has a

[flexcoders] FB3/Eclipse - CSS design view not showing images

2010-04-13 Thread John Robinson
Anyone encounter this? I'm using Eclipse with the Flex Builder 3 plugin. I'm trying to skin a horizontal scrollbar with some images. I just discovered the CSS design view/editor and thought it was exactly what I need. The problem is that I choose my images and hit refresh, but they don't

[flexcoders] Re: Is it possible to inspect a function (to determine it's and parameters)?

2010-04-13 Thread tntomek
http://tech.groups.yahoo.com/group/flexcoders/message/154284 I just asked a very similar question a few days ago, hope it helps -Tom (http://tomek.me) --- In flexcoders@yahoogroups.com, kidl33t kidl...@... wrote: I have a method which takes a function as one of its parameters. Is there any

[flexcoders] Re: Is it possible to inspect a function (to determine it's and parameters)?

2010-04-13 Thread tntomek
lol its rob --- In flexcoders@yahoogroups.com, kidl33t kidl...@... wrote: I have a method which takes a function as one of its parameters. Is there any way to inspect this function and determine what parameters it takes? I have tried both getClassInfo()and describeType(). describeType

[flexcoders] Listen for chage to displayObject's transform property?

2010-04-13 Thread rdm0004
Is there are way to listen for changes to a display object's transform property? Specifically we have an app that applies a matrix to a top container's transform property. The scale is inherited down to the child containers. I need to know when the child scales. The requirement is that I

[flexcoders] Generate Flash Flv

2010-04-13 Thread Christophe
Hello, How to generate a flash video flv for YouTube from a flex application ? Thank you, Christophe,