[flexcoders] Re: HELP! - Can not access Web Service!

2009-02-23 Thread Johan Öbrink
Hi, In FP 9 and up you have to explicitly allow SOAP headers in your crossdomain policy file: allow-http-request-headers-from domain=* headers=SOAPAction/ /Johan --- In flexcoders@yahoogroups.com, Craig cra...@... wrote: I get error below if webservice asmx and URL of domain do not match...

[flexcoders] Re: Parent State.setProp on child breaks after certain depth

2009-02-23 Thread Mic
Just found creationPolicy :-) --- In flexcoders@yahoogroups.com, Mic chigwel...@... wrote: This code is the TourDeFlex State example expanded. There is a ViewStack1 with 2 panes, the second pane has ViewStack2 on it with 2 panes. Added to the Register state !-- Set

[flexcoders] BlazeDS Stack traces

2009-02-23 Thread Josh McDonald
Hey guys, Is there any way to get a stack trace from BlazeDS when things go wrong? I have this in services-config: logging target class=flex.messaging.log.ConsoleTarget level=All properties prefix[BlazeDS] /prefix

[flexcoders] cropping image under mask

2009-02-23 Thread Mayur Bais
I am trying to crop image in different different shape, for this , I am trying to use the technique of masking here is what i am trying to do : function drawBMP(): void { var bd:BitmapData = new BitmapData(maskedImage.width, maskedImage.height, true, 0);

Re: [flexcoders] cropping image under mask

2009-02-23 Thread Paul Andrews
- Original Message - From: Mayur Bais To: flexcoders@yahoogroups.com Sent: Monday, February 23, 2009 10:23 AM Subject: [flexcoders] cropping image under mask I am trying to crop image in different different shape, for this , I am trying to use the technique of masking snip

[flexcoders] Using an Alert when handling another event?

2009-02-23 Thread lanekelly5
I'm using a SuperTabNavigator control from the flexlib package. When the user clicks on the close button for a tab it fires the tabClose event. I have specified a handler for this in the mxml for the SuperTabNavigator component: tabClose=confirmTabDelete(event); In the confirmTabDelete

[flexcoders] combo box help

2009-02-23 Thread manne praneeth
hi this is praneeth here!     when i select one item in combo box it should interact with data base and get the the data so that it should generate dynamic tree in new states .This is my requirement So plz help me out in solving bzc iam new in flex      

[flexcoders] Re: parse SOAP response for values

2009-02-23 Thread m_ollman
Tracey - thanks for the help. got it with this private function getRBValueByAttribute(attributeName:String):String { var soapNS:Namespace = dataXML.namespace(SOAP-ENV); var typNS:Namespace =

[flexcoders] Re: Grid with header sections spanning the whole grid

2009-02-23 Thread alinmircea_s
Something like this? ?xml version=1.0? !-- dpcontrols/adg/ColumnGroupADG2NestedGroups.mxml -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ import

[flexcoders] How to display chart legend when using custom ItemRenderer

2009-02-23 Thread tuckwat
Hey all, I'm using a custom ItemRenderer for my Column Chart found here: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=2021 Everything is working great except the Legend is transparent for each series using the ItemRenderer. Anyone know how to fix or

[flexcoders] Re: Feedback and ideas re: publishing a collection of poems

2009-02-23 Thread alinmircea_s
Wow, first If a different computer on the web could use a different font you don t have to worry about that, font s are embeded into the app, not accessed on the user side. mx:TextArea text={'this'+ '\n' +'is'+ '\n' +'a'+ '\n' +'test'} width=100% height=100/ \n = new line OR mx:TextArea

[flexcoders] Display legend color when using custom ColumnSeries ItemRenderer

2009-02-23 Thread tuckwat
I've followed a tutorial found here: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=2021 to create a custom ItemRenderer for my ColumnChart. Everything is working great except the legend won't pick up the color used in my custom item renderer, instead

[flexcoders] Re: Detaching RichTextArea controls

2009-02-23 Thread alinmircea_s
well, the rte is actually a panel +textarea + controlbar + toolbar when clicking one of the buttons a function get's called PRIVATE function setTextStyles(type:String, value:Object = null):void this function check's if there is a current selection on the textarea if not set's the style if there

[flexcoders] Re: Accordion question - height minus header space

2009-02-23 Thread alinmircea_s
child's height or width can be specified percent wise width=100% myComponent.percentWidth = 100; but if you have to you have to http://livedocs.adobe.com/flex/3/langref/mx/containers/Accordion.html quote : headerHeight=depends on header font styles = Number(myAccordion.getStyle('headerHeight'))

[flexcoders] Re: Using Modules and Remote Objects

2009-02-23 Thread cortlandian
I have used many other technologies, but am new to flex. We are porting the front end of a large enterprise application to Flex. Has anyone been using remoteObject with modules, and if so, is there anything different that you had to do in calling your remoteObject usin modules compared to

[flexcoders] Calling C++ app or service from flex on Mac

2009-02-23 Thread Priya Shah
Hi everyone, I am in dire need of being able to call a C++ app or service on Mac from flex. I am willing to go the AIR way for this though that's not optimal. I have spent some time trying to figure out the Netscape plugin architecture which is supported on safari but it's sub-optimal for me to

[flexcoders] Re: Relative Layout Question

2009-02-23 Thread Keith Hughitt
Hm you also said something about a resize I completely blanked on that. Are you doing a manual resize of the component? (mouse involved?) Nope. Just responding to screen resizes. The application is set up to use ~100% of the browser width height, and the components are automatically resized

[flexcoders] Re: How to access module app. controls from within module?

2009-02-23 Thread sanjay_ruparellia
--- In flexcoders@yahoogroups.com, spinglittery ch...@... wrote: When I call itemclick=parentApplication.clickHandler(); from my Module to the main App. where clickHandler = public function clickHandler(event:ItemClickEvent):void { _modUrl = modules/ + event.label + .swf;

Re: [flexcoders] Using an Alert when handling another event?

2009-02-23 Thread Laurent Cozic
You need to use preventDefault() in the confirmTabDelete function and then display the Alert box. Then when the user clicks ok, close the tab programmatically. I'm not familiar with SuperTabNavigator but normally this kind of events are only dispatched as a result of a user action, so when you

Re: [flexcoders] Re: perl and AMF

2009-02-23 Thread Tom Chiverton
On Thursday 19 Feb 2009, Rob Kunkle wrote: I think you can force flex to use AMF0. See RemoteObjectAMF0 from renaun.com -- Tom Chiverton Helping to collaboratively grow appliances This email is sent for and on behalf of Halliwells LLP.

Re: [flexcoders] Re: HTTPRequest and Air too slow?

2009-02-23 Thread Tom Chiverton
On Wednesday 18 Feb 2009, florian.salihovic wrote: Any ideas regarding Air and some problems when it comes to network issues? I don't recall any. Did you try a stripped down test case ? -- Tom Chiverton Helping to widespreadedly disseminate visionary e-services

Re: [flexcoders] Flex Apps on Flash 10 Crashes Browser

2009-02-23 Thread Tom Chiverton
On Thursday 19 Feb 2009, Don Kerr wrote: All my Flex 3 apps work fine with Flash Player 9, but crash the browser when the user upgrades to Flash 10. We've got Flex 3 apps, and see no issues with Player 10. Any updates on any pending patches/hot fixes from Adobe? The obvious question would

Re: [flexcoders] Flex ShareObject | Firefox Reported Web Forgery

2009-02-23 Thread Tom Chiverton
On Friday 20 Feb 2009, bsyyu wrote: I found one of my designed Flex website is blocked by Firefox with Reported Web Forgery. This is probably because it's been mis-reported by an end user. I believe FireFox uses Google service, so you should look there. -- Tom Chiverton Helping to

[flexcoders] Resizing text based on containerdimensions

2009-02-23 Thread secrit.service
Hi all, I'm struggling with following issue : I want a component which can show a text (a spell to be more precise). This text is defined by a number of lines, which I want to maintain (so no wordwrapping allowed). I hope to find a solution where I can get a container with the text in it and

[flexcoders] Re: Grid with header sections spanning the whole grid

2009-02-23 Thread Osman Ullah
No, that only groups items in the header area. I want something that does the heading area in-line with the items. Here is a screenshot of what I am looking for (came from MS word): http://i40.tinypic.com/2evx8xt.png --- In flexcoders@yahoogroups.com, alinmircea_s alinmirce...@... wrote:

[flexcoders] Re: ToggleButtonBar xml based dataProvider

2009-02-23 Thread markgoldin_2000
Not a problem at all. The following works fine: for each(var node:XML in resultXML..label) { taskList.push(node.toString()); floorTasks.dataProvider = taskList;

[flexcoders] Dynamically change HBox based upon height/width of Image

2009-02-23 Thread azona26
I am have a (large) Image Control whose source property is based upon which (smaller) Image Control is selected in an itemrenderer of a tile list. The 'large' Image Control is contained within an HBox that has a border along with a background. I would like to have the HBox resize when a new image

[flexcoders] Set DataGrid selected items

2009-02-23 Thread scottyale2008
How does one set a datagrid's selected items? If needed, I will use ADG instead. I have a datagrid that I want to preselect the selected items. I know how to get the selected items just not how to set them. Thanks!

[flexcoders] Re: Set DataGrid selected items

2009-02-23 Thread scottyale2008
Also, I tried changing the dataGrid.selectedItems array directly and that doesn't seem to work.

[flexcoders] Re: Calling C++ app or service from flex on Mac

2009-02-23 Thread jtgrassie
Just use AIR and Shu http://shu-player.com . Simple. --- In flexcoders@yahoogroups.com, Priya Shah shahpriya...@... wrote: Hi everyone, I am in dire need of being able to call a C++ app or service on Mac from flex. I am willing to go the AIR way for this though that's not optimal. I have

[flexcoders] Re: HTTPRequest and Air too slow?

2009-02-23 Thread florian.salihovic
Yes, actually i did so. I ran an URLLoader against different backend api calls. Those are usually defined values for server-side calls. I had a slighty overhead: ~80 - 120ms + parsing the data and adding it into an ArrayCollection compared to the values i got via Charles. So i can be sure

RE: [flexcoders] Re: Using Modules and Remote Objects

2009-02-23 Thread Alex Harui
Typically, the RemoteObject tags, and all classes being sent and received by RO are in the main app. The Modules only have view classes and no new data classes Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From:

[flexcoders] Working with images of varying proportions

2009-02-23 Thread byte.sensei
I have an app that loads several images into mx:Image tags with scaleContent=true and width=160 / height=120. The problem is not all of my images have these proportions, and for odd sized images they end up being loaded into the upper left hand corner instead of centered in the restricting

[flexcoders] Creating Nestable data MXML Components

2009-02-23 Thread Tyler Kocheran
I'm looking to create nestable MXML data components. I'm working on a validation codebase for a current requirement and the default Flex validators weren't sufficient for me. I'm basically looking to create something that would look like this in MXML: v:ConjunctionValidator

[flexcoders] Re: properties and methods of a datagrid from item renderer

2009-02-23 Thread aceoohay
Alex: Thanks for the reply. What I am doing is not quite an inline component. I have 1 component in my mxml file that is referenced by 3 different datagrids like this; mx:Component id=cbHoldRelease mx:HBox textAlign=center mx:Script ![CDATA[ private function

[flexcoders] Accessing parentDocument using custom events?

2009-02-23 Thread oneworld95
Is it possible to have a custom component in an itemRenderer access a variable in the parentDocument using a custom event? Not sure how to do this so I'm looking for an example.

[flexcoders] Re: Working with images of varying proportions

2009-02-23 Thread oneworld95
Have you tried taking the width/height off of the component and see how it handles the images of varying sizes? - Alex C --- In flexcoders@yahoogroups.com, byte.sensei byte.sen...@... wrote: I have an app that loads several images into mx:Image tags with scaleContent=true and width=160 /

Re: [flexcoders] Working with images of varying proportions

2009-02-23 Thread Fotis Chatzinikos
For something similar i do the following, you should be able to change it to do what you want quite easily..: mx:Image id=selectedProductImageID verticalCenter=0 complete=imageLoaded() source={selectedPhoto}

[flexcoders] Re: Working with images of varying proportions

2009-02-23 Thread byte.sensei
Yes, when I try that the images don't scale into my 160x120 box. The images are a wide variety of sizes (e.g. 300x700, 1280x1024, 150x50) they are really inconsistent in proportion. When I take off the image width/height I get the full image size and not a scaled 160x120 version. -Dan ---

RE: [flexcoders] Re: properties and methods of a datagrid from item renderer

2009-02-23 Thread Alex Harui
Probably: private function doHoldRelease(data:Object):void { trace(document.owner.id); } BTW, Using an HBox to center a checkbox is heavy and prevents you from directly using owner. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From:

Re: [flexcoders] Re: perl and AMF

2009-02-23 Thread Guy Morton
I used Storable::AMF, which supports AMF3. On 24/02/2009, at 1:25 AM, Tom Chiverton wrote: On Thursday 19 Feb 2009, Rob Kunkle wrote: I think you can force flex to use AMF0. See RemoteObjectAMF0 from renaun.com -- Tom Chiverton Helping to collaboratively grow appliances

[flexcoders] Re: Flex Apps on Flash 10 Crashes Browser

2009-02-23 Thread Don Kerr
Profiler looks good. Apps with small memory usage and apps with much more, all crash the browser equally. Crazy. Hard to know why. Matt's response to post a bug doesn't help me now. So, I'm stuck. Do you know if you have to compile/debug Flex Builder 3 in Flash 10 debugger if you want

[flexcoders] [Complicated ? :-p] dynamic itemRenderer + dataprovider problems

2009-02-23 Thread fotis.chatzinikos
Hello all, I a have a List component which at runtime I change its dataProvider AND item renderer via a button click. Everything runs smoothly until new data are added to the data provider that is current. The list picks up the change, but after this when i try to switch to the second provider +

[flexcoders] Re: Working with images of varying proportions

2009-02-23 Thread byte.sensei
Thanks for the insight. I did something very similar, although I'm using HBox/VBox components to layout my app so I had to put a VBox wrapper around the image like this: mx:VBox id=image_01_wrapper width=100 height=100% verticalAlign=middle horizontalAlign=center

Re: [flexcoders] [Complicated ? :-p] dynamic itemRenderer + dataprovider problems

2009-02-23 Thread Fotis Chatzinikos
Problem solved :-) It seems that something similar to a race condition happened as i was changing both the data provider AND the item renderer at the same time. The solution is to use call later in the switch method: pseudo: switch() { list.dataProvider = aDataProvider ;

[flexcoders] Re: How to access module app. controls from within module?

2009-02-23 Thread spinglittery
Thanks. Putting event in as a parameter solved it. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Not sure I understood. I would think you would get an exception give than you didn't pass any parameters into clickHandler() Alex Harui Flex SDK Developer Adobe Systems

[flexcoders] Re: properties and methods of a datagrid from item renderer

2009-02-23 Thread aceoohay
Alex: I removed the hbox (I would like to figure out how to center the checkbox, but that is for a different thread). When I execute the trace statement, I get the name of the module that contains the panel that contains the tab navigatior that contains the canvas that contains the datagrid.

RE: [flexcoders] Re: properties and methods of a datagrid from item renderer

2009-02-23 Thread Alex Harui
If you removed the HBox, are you still using mx:Component or just the ValidatedCheckBox directly. If you are using it VCB directly, then the following should work: private function doHoldRelease(data:Object):void { trace(owner.id); } If not, please provide more information on how your code

Re: [flexcoders] Locale Resource Problem Compiling Automation with Maven

2009-02-23 Thread Marvin Froeder
Hi Brad, You need to add the resource-bundle dependency too. VELO On Fri, Feb 13, 2009 at 6:50 PM, Brad Keck bradley_k...@intuit.com wrote: I am trying to compile my code with automation libraries so that it can be tested with silk. Currently, I am able to do this without trouble in

[flexcoders] Re: properties and methods of a datagrid from item renderer

2009-02-23 Thread aceoohay
Alex: How can I use the validatedCheckBox directly, I thought I needed to wrap it in a component to use it as an item renderer in multiple datagrids? Paul --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: If you removed the HBox, are you still using mx:Component or just the

RE: [flexcoders] Re: properties and methods of a datagrid from item renderer

2009-02-23 Thread Alex Harui
Assuming ValidatedCheckBox implements IListItemRenderer, mx:DataGridColumn itemRenderer=ValidatedCheckBox / Is ValidatedCheckBox written in MXML or AS? Not that it would affect the answer... Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog:

[flexcoders] Re: properties and methods of a datagrid from item renderer

2009-02-23 Thread aceoohay
ValidatedCheckBox extends CheckBox. If I do; mx:DataGridColumn itemRenderer=ValidatedCheckBox / How do I set the ValidatedCheckBox properties such as; checkedValue=R uncheckedValue=H click=doHoldRelease(data); So that I can get the proper values, and do the specialized code needed on click?

[flexcoders] Changing text size in mx:HTML (webkit) ? #air

2009-02-23 Thread Jeremy Lu
Had been looking for ways to make text bigger or smaller in mx:HTML control, something equivalent in fireworks and safari by simply pressing cmd -/+ keys, but somehow there's no native API to call in the AIR's html control, am I missing something here ?

[flexcoders] Re: Set DataGrid selected items

2009-02-23 Thread alinmircea_s
?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.controls.Alert;

[flexcoders] Re: HTTPRequest and Air too slow?

2009-02-23 Thread Amy
--- In flexcoders@yahoogroups.com, florian.salihovic florian.saliho...@... wrote: Yes, actually i did so. I ran an URLLoader against different backend api calls. Those are usually defined values for server-side calls. I had a slighty overhead: ~80 - 120ms + parsing the data and adding

RE: [flexcoders] Bug? Width of single-character label...

2009-02-23 Thread Gordon Smith
This sounds like a bug to me. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jasonbriggs99 Sent: Tuesday, February 17, 2009 4:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Bug? Width of single-character label...

RE: [flexcoders] Displaying Extremely large fonts

2009-02-23 Thread Gordon Smith
Interesting... I suspect that this is a limit with TextField the Flash Player. I didn't check whether embedding the font gets around the problem. However, TextField is on its way to becoming obsolete and the limit doesn't seem to apply to FTE, the new Flash Text Engine in Player 10. As a

RE: [flexcoders] Re: properties and methods of a datagrid from item renderer

2009-02-23 Thread Alex Harui
In my blog, I subclassed DataGridColumn so you could specify those values there. You can create custom class factories as well. But you should be ok using mx:Component, I just didn't know what pattern you were using. Does this mean that trace(owner.id) didn't work? Alex Harui Flex SDK

RE: [flexcoders] Re: properties and methods of a datagrid from item renderer

2009-02-23 Thread Alex Harui
FWIW, this worked for me: mx:DataGrid id=dg initialize=dg.dataProvider=[{ label: 'foo' }] mx:columns mx:DataGridColumn dataField=label mx:itemRenderer mx:Component

Re: [flexcoders] Accessing parentDocument using custom events?

2009-02-23 Thread claudiu ursica
First of all why do you need to do this? I'm not sure I understand exactly what you are trying to do but you can inject data into item renderer form parent document and access that data inside the renderer. Or you can hold references to your component (visual component) inside a model class