[flexcoders] Amfphp and images

2009-10-29 Thread mixmi2004
Hi. I cant load images, can you help me. code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init(); mx:Script ![CDATA[ import mx.controls.Image; import

Re: [flexcoders] printing to a word doc

2009-10-29 Thread Tom Chiverton
If I understand right, you are trying to have a Flex application popup a file save dialogue for a document produced via. CF ? Are you using navigateToUrl() to send the user to the page that produces the file ? Does the URL you are using work OK outside of Flex ? -- Helping to continuously

Re: [flexcoders] Re: AIR Performance

2009-10-29 Thread Tom Chiverton
On Tuesday 27 Oct 2009, jwc_wensan wrote: I've read several other articles, blogs, etc. about it and I see no mention that it is an AIR app. If it's performance is fine *inside a web browser*, I'm sure it'll be fine without the browser getting in the way too. -- Helping to collaboratively

Re: [flexcoders] Keep an object in flash player memory despit swf unloading?

2009-10-29 Thread Flap Flap
Hi, The case is very special: We have a swf file that runs into a specific software. This software load and unload the swf file when its required and we need to persists some information during the software session (meaning while the software is open and runs) but we cannot store those

[flexcoders] Re: Highlighting a Chart Collumn?

2009-10-29 Thread jmerrill_2001
Don't charts have a fillFunction? Amy Amy, sorry it took me so long to respond - yes - thank you - this looks like exactly what I'm looking for. http://livedocs.adobe.com/flex/3/html/help.html?content=charts_displayingdata_09.html Jason

RE: [flexcoders] Keep an object in flash player memory despit swf unloading?

2009-10-29 Thread Battershall, Jeff
If that's the case, you wouldn't be storing the information in the swf but in the containing application. The information can then be passed as flashVars to your swf when it is loaded. HTH, Jeff From: flexcoders@yahoogroups.com

[flexcoders] Plot Chart Vertical Axis Rendere label Rotation Problem

2009-10-29 Thread Ramkumar
Hi While rotating labels on plot chart plot series, if i give the roataion degree of 90deg and -90deg both are giving the same text angle. 90deg is working fine and while rotaing with negative angle its rotating fine upto -89deg. but if i give -90deg it shows same type of text as 90 deg. Please

Re: [flexcoders] Plot Chart Vertical Axis Rendere label Rotation Problem

2009-10-29 Thread Tom Chiverton
On Thursday 29 Oct 2009, Ramkumar wrote: While rotating labels on plot chart plot series, if i give the roataion degree of 90deg and -90deg both are giving the same text angle. Using the Styles, Axis labels section on the Quietly Scheming site URL you gave, +90 and -90 are not the same, so I'm

Re: [flexcoders] Plot Chart Vertical Axis Rendere label Rotation Problem

2009-10-29 Thread Ramkumar
Vertical axis lables if you set 90 and -90 both are looking same type of text only. I need the text appearance opposite as +90 for -90 degaree in the vertical Axis. Like in horizontal its working fine. On Thu, Oct 29, 2009 at 7:32 PM, Tom Chiverton tom.chiver...@halliwells.com wrote: On

[flexcoders] addChild doesn't effect for some reason REFdn2065133102

2009-10-29 Thread dennis
In small test application I have the follow object. stack The Main.mxml loads the EntryClass.as - class EntryClass (that doesn't extends anything) - public static function Main(). This EntryClass.Main() function is doing the follow: var mxmlApp:Application =

Re: [flexcoders] Plot Chart Vertical Axis Rendere label Rotation Problem

2009-10-29 Thread Tom Chiverton
On Thursday 29 Oct 2009, Ramkumar wrote: Like in horizontal its working fine. So it does - *weird*. You should log a bug. -- Helping to dramatically cultivate revolutionary proactive prospective solutions as part of the IT team of the year, '09 and '08

Re: [flexcoders] AdvancedDataGrid Grouping: itemRenderer for parent

2009-10-29 Thread powers
Just want to explain here how I solved this. I set the groupItemRenderer of the ADG to render a customItemRenderer that I created. I had to implement the expand/collapse functionality that the AdvancedDataGridGroupItemRenderer takes care of by default. Rather than extend this class, the custom

Re: [flexcoders] Plot Chart Vertical Axis Rendere label Rotation Problem

2009-10-29 Thread Ramkumar
Hi. Where and how to log bug? On Thu, Oct 29, 2009 at 8:54 PM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Thursday 29 Oct 2009, Ramkumar wrote: Like in horizontal its working fine. So it does - *weird*. You should log a bug. -- Helping to dramatically cultivate

Re[flexcoders] moving Column Headers From ADG?

2009-10-29 Thread powers
Is there anyway to remove column headers from the ADG? -- View this message in context: http://www.nabble.com/Removing-Column-Headers-From-ADG--tp26117340p26117340.html Sent from the FlexCoders mailing list archive at Nabble.com.

[flexcoders] Make Flex AIR app demand more system resources

2009-10-29 Thread Tracy Spratt
We are producing an AIR app that is a UI that controls some background processes, and runs in an embedded Linux environment. Our CPU is somewhat limited, so we are working on ways to optimize resource usage. I am dynamically adjusting the frame rate to minimize the AIR apps resource usage

[flexcoders] LineSeries.showDataEffect - MXML vs. AS3 - bug?

2009-10-29 Thread jmerrill_2001
It seems to me, that there is a bug/inconsistency (at least in Flexbuilder 3 and the Flex compiler it uses) between MXML and Actionscript 3 when it comes to LineSeries.showDataEffect. Or, I'm just missing or not understanding something. For example, the following works for the showDataEffect

[flexcoders] Re: LineSeries.showDataEffect - MXML vs. AS3 - bug?

2009-10-29 Thread jmerrill_2001
Right after I posted this, I found a workaround: myLineSeries.setStyle('showDataEffect', 'myEffect'); But it still bothers me myLineSeries.showDataEffect = myEffect does not work - isn't that a bug? This is the kind of thing that can be really frustrating when you move back and forth between

Re: [flexcoders] Re: LineSeries.showDataEffect - MXML vs. AS3 - bug?

2009-10-29 Thread Jake Churchill
The same thing happens if you are trying to align components inside a canvas using right/left/top/bottom. In mxml it's fine but you have to use setStyle in AS. I think it just has to do with whether the property was set up as a Style or a Property in the main component. In MXML, you get to them

Re: [flexcoders] Re: AIR Performance

2009-10-29 Thread thomas parquier
Hello, Have anyone knowledge of chart about java vs air performances ? as they are both using vm... thomas parquier --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056

[flexcoders] Flexbuilder doesn't give compile error when using a undeclared variable, methods

2009-10-29 Thread benjamine_df
Hello, I am new to flex and I make lot of mistakes by calling a method or field in an object which does not exist. But flex builder 3 doesn't seem to throw a compile error when I do this. In java it would be a quick compile error. Is there any flex builder setting I can set to give compile

[flexcoders] help with a php call

2009-10-29 Thread grimmwerks
Ok - an app I'm working on needs to have a watermarked image; if you click on this in the browser: http://creativity-online.com/api/image_watermark.php?workId=17593 It works fine. But I can't figure out how to setup the same thing in Flex, preferably using an HttpService..? I mean I

[flexcoders] error compiling flex project

2009-10-29 Thread Greg Morphis
I have an ANT script which compiles a Flex 2 project and it's giving me an error: compile: [java] Loading configuration file C:\Program Files\Adobe\Flex Builder 2 Plug-in\Flex SDK 2\frameworks\flex-config.xml [java] C:\Temp\RetailForms\index.mxml: Error: Unable to locate specified base class

[flexcoders] Problem redrawing stacked column chart after hiding series

2009-10-29 Thread pete_perth
I have a cartesian chart declared in mxml. Through actionscript I create a columnset of type stacked, add some columnseries to the columnset, and then add the columset to the chart. That all works ok. The issue is that the user can choose to show or hide particular series by checking and

RE: [flexcoders] Sandboxed Modules in AIR

2009-10-29 Thread Breizo
Alex, the Marshall Plan (http://blogs.adobe.com/flexdoc/loadingSubApps.pdf latest version?) you refer to seems very loose on how to do what Rob is asking. There are tons of post requesting more information about this topic. There is one very interesting

[flexcoders] Re: SharedObject problem/bug? Cannot store a subclass of ByteArray.

2009-10-29 Thread Geoffrey
Muzak, thank you for your help. However, I have already tried [RemoteClass] (which I mentioned in the original post). I also looked at the link that you provided and decided to try more combinations, but none worked. I have tried [RemoteClass] with and w/o [Bindable],

[flexcoders] Re: CallLater() inside UpdateDisplayList

2009-10-29 Thread asea19
Thanks for the response. I ended up removing the callLater and just added a call to InvalidateDisplayList() in the creationComplete handler of the item Renderer component. All the items are properly laid out now. This seems like a clean solution. Correct me if I am wrong! And, after

Re: [flexcoders] help with a php call

2009-10-29 Thread grimmwerks
Argh. Still can't figure this out; seems really simple to call a php file which forces download -- why can't I then do the same thing in httpService? On Oct 29, 2009, at 4:44 PM, grimmwerks wrote: Ok - an app I'm working on needs to have a watermarked image; if you click on this in

Re: Re[flexcoders] moving Column Headers From ADG?

2009-10-29 Thread powers
Solution: set the headerBackgroundSkin = ClassReference (null) and set the headerHeight to 0. Actually may only need to set the header height to 0 for it to not been seen. powers wrote: Is there anyway to remove column headers from the ADG? -- View this message in context:

[flexcoders] UDP via Flex socket

2009-10-29 Thread Simon
simple question... is it possible? I have a horrible feeling Flex may only support HTTP and RPC but would love to be wrong. If my suspicions are correct are there any plans to make a more general purpose socket?

RE: [flexcoders] Re: CallLater() inside UpdateDisplayList

2009-10-29 Thread Alex Harui
List renderers are virtual. Only as many as are actually displayed at one time are created (plus a few extras). That can be a significant savings if there are lots of items and only a few are visible, but it is harder to do cool effects when renderers are virtual. Alex Harui Flex SDK

[flexcoders] Delaying a function's execution

2009-10-29 Thread Aaron Hardy
Hey flexers, I've been researching the various ways that one can delay a function's execution. A few ways I've found/used are: (1) Use a Timer object with 0 delay as is done in StyleManagerImpl.loadStyleDeclarations2(). (2) Use setTimeout() (supposedly deprecated?) (3) Use callLater if you're

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-29 Thread flexaustin
Not sure how that works and would I need it if I am not saving the file to a SharedObject? I am trying to save a CustomData class to a sqlite database. So I am trying to convert to a bytearray and then string. So that if the user opens the app say a week later they can pull the object from

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-29 Thread flexaustin
I can't seem to get this to work saving to a SQLite3 database. The code works writing (Data object contains 101 objects), but when reading the bytearray the Data object ends up with 0 objects inside it. Its like it just returns a new Data object. FYI, the Data object I am converting to a

[flexcoders] context menu event on tree column of advanced data grid ....

2009-10-29 Thread MicC
When a context menu on an ADG is clicked and the ADG cell is not a hierarchy node, the ContextMenuEvent.mouseTarget is ADGItemRenderEX and info about the grid cell data clicked on to raise the context menu can be grabbed from ADGItemRendererEX.listData.Item. But when a node in the

[flexcoders] Re: addChild doesn't effect for some reason REFdn2065133102

2009-10-29 Thread droponrcll
--- In flexcoders@yahoogroups.com, dennis den...@... wrote: In small test application I have the follow object. stack The Main.mxml loads the EntryClass.as - class EntryClass (that doesn't extends anything) - public static function Main(). This EntryClass.Main() function is

[flexcoders] Re: Flexbuilder doesn't give compile error when using a undeclared variable, methods

2009-10-29 Thread droponrcll
--- In flexcoders@yahoogroups.com, benjamine_df benjamine...@... wrote: Hello, I am new to flex and I make lot of mistakes by calling a method or field in an object which does not exist. But flex builder 3 doesn't seem to throw a compile error when I do this. In java it would be a

RE: [flexcoders] Delaying a function's execution

2009-10-29 Thread Alex Harui
callLater is used to defer the function call to as soon as possible. That's why it hooks both enterFrame and render. Timers are used to wait, especially when we know we don't need to run that function right away. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog:

RE: [flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-29 Thread Alex Harui
All sub-objects that are going to get serialized also need to have registered aliases. Do a simple test with simpler data objects to see if it works for you. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: