[flexcoders] Problem loading signed RSL
Hi all, I am trying to publish an app with the signed framework RSL. The application works fine when accessed online from my machine (developer). However, when I try to access it from any other machine, I get this error: RSL framework_3.2.03958.swf failed to load. Error #2032. For some reason, the Flash player does not want to load the framework.swf or framework.swz. I have checked that all machines have the Flash player of a version higher than what I am running. This app is running under SSL. Would that matter? Thanks, Denis
[flexcoders] Bug in Flex scrolling?
Hi everybody, Very often, when I use the container/list/datagrid with scrolling, scrolling when dragging scrolling pad causes incorrect rendering of the controls that are being scrolled. If I use the up/down button (the scroll speed is slow), the rendering comes out OK. Whenever I use the scroll pad and scroll very slow, the rendering is also fine. Only when I scroll fast, the rendering is very often incorrect. Also, if i hover over combobox controls which are not rendered correctly, they redraw themselves in correct positions. Is this a bug in Flex or is this due to incorrect configuration of controls? How can this be fixed? Your help is greatly appreciated! Many thanks Denis
[flexcoders] Re: Advanced DataGrid sorting
--- In flexcoders@yahoogroups.com, "Amy" wrote: > > --- In flexcoders@yahoogroups.com, "Denis" wrote: > > > > Hi there, > > > > I need to sort the advanced grid but I want the sort apply only > > certain nodes of data. For example Group 0 contains 10 items which it > > makes sense to sort while Group 1 contain items which should always > > remain in the same sequence. The sequence should not even change if > > the sort changes from ascending to descending. In other words, the > > sort should only affect certain groups of data. > > > > From the docs, it looks like the sortCompareFunction cannot > accomplish > > this since it does not expose the characteristics of the current sort > > - it just determines the sequence of two elements. > > AdvancedDateGrid casts its dataProvider to HierarchicalCollectionView, > which means that if you have any node you know what its parent is. > sortCompare tells you what the node is. > > HTH; > > Amy > Thanks Amy! This is helpful - I will play with this and try to make it work.
[flexcoders] Advanced DataGrid sorting
Hi there, I need to sort the advanced grid but I want the sort apply only certain nodes of data. For example Group 0 contains 10 items which it makes sense to sort while Group 1 contain items which should always remain in the same sequence. The sequence should not even change if the sort changes from ascending to descending. In other words, the sort should only affect certain groups of data. >From the docs, it looks like the sortCompareFunction cannot accomplish this since it does not expose the characteristics of the current sort - it just determines the sequence of two elements. What is the easiest way to do this? Is it possible to do this while still utilizing the sort column header renderers that indicate the current sort settings? Thanks in advance!!! Denis
[flexcoders] Automating Flex Modules
Hi everyone, We have a Flex app that generates various charts that also need to find their way into printed reports. While we offer on-line functionality to export displayed charts and convert them into bitmaps, we also need to allow users to generate the preconfigured charts without displaying the flash component that generates them in the browser. In other words, we need to be able to generate the charts on the server. Are there components that allow to open a flash file from the server and interact with it? Would AIR be helpful with this? Any kind of guidance or direction would be greatly appreciated. Regard, Denis
[flexcoders] HTTPService returns error over HTTPS
Hi everybody, Has anyone encountered a problem of HTTPService returning "HTTP request error" over HTTPS while working fine over HTTP? We have checked the service, it is returning a proper XML dataset. Plus, in the session where the Flash player reports this error, we know that the service did return a valid dataset but the Flssh Player did not like it. There is very little I can find on this on the net but perhaps some of the pundits here have seen it??? Or anybody from Adobe Flex team can weigh in??? Thanks for your help with this! Denis
[flexcoders] Tooltips on disabled combobox rows
Hello all, I am a relative newbie in Flex. Could you share some expertise and experience with regards to the following: I need to have a description (easiest in the form on the tooltip) when a user hovers over a row of a combobox control that is disabled. The description will contain explanation why it is disabled. Can someone share some insight how this can be accomplished. Any examples would be appreciated as well. Regards, Denis
[flexcoders] Measuring the width of text without rendering a control
Hi all, I need to measure the size of the number of text fields that come from the XML to display them in a datagrid. The size of datagrid columns depends on the width of the text records that come from the database as the text cannot wrap so the columns should adjust if possible. The logic is a bit complex since I need to know the width of all text in all columns before distributing width among columns. How can I measure the width of the text without adding a child text control to my parent object to measure the text. I would like to avoid creating a dummy textbox in my container just to measure the width of the text records but I did not find anything on the web that deals with this. I was planning to measure the text width after the data is loaded since it needs to be done only once. Can I create an "abstract" Text object and measure the size of the text within it? I apologize for awkward wording but I am not very experienced in Flex yet. Thanks in advance, Denis
[flexcoders] Re: Rollover rollout on child components
Alex, thanks for your help. --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Even if you fix that, what will you do when someone clicks on the popup, > leaving the mouse outside the component. Should it shrink back? If so > when? After the dropdown tween finishes? > > > > Anyway, the event.relatedTarget will have a .owner (instead of .parent) > chain pointing back to your component > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Denis > Sent: Tuesday, April 22, 2008 12:12 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Rollover rollout on child components > > > > Hello everybody, > > I have a parent component that expands/shrinks in size on its own > rollOver / rollOut events. Within this component there is a number of > other components. Among them are many comboboxes. When I open any > combobox and try to change the item from the dropdown list, the > rollOut event is being fired on the parent component and it shrinks, > leaving only the dropdown list open the screen. > > How can I prevent this kind of behaviour? Is there a way to determine > which object has focus so I can prevent the shrinkage of the parent in > certain situations? Is there any other easier solution that someone > can suggest? > > Many thanks >
[flexcoders] Rollover rollout on child components
Hello everybody, I have a parent component that expands/shrinks in size on its own rollOver / rollOut events. Within this component there is a number of other components. Among them are many comboboxes. When I open any combobox and try to change the item from the dropdown list, the rollOut event is being fired on the parent component and it shrinks, leaving only the dropdown list open the screen. How can I prevent this kind of behaviour? Is there a way to determine which object has focus so I can prevent the shrinkage of the parent in certain situations? Is there any other easier solution that someone can suggest? Many thanks
[flexcoders] Re: Catching keyDown event globally
Thanks Manish! This puts me in the right direction! Let me do necessary research now... Thanks again --- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 4/17/08, Denis <[EMAIL PROTECTED]> wrote: > > > Is it possible to catch a keyDown event in an Application globally? In > > other words, if I need a certain functionality be attached to pressing > > a Pg Dn button regardless where you are in the application which > > control should be capturing the keyDown event. > > You need to listen to the event in the "capture" phase. To understand > event phases, see the DOM spec: > > http://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107/events.html > > (See the diagram in 1.2.1) > > And see the IEventDispatcher API documentation for how to listen to an > event in the capture phase. > > If you don't want the target object from dispatching the event (i.e. > you want to stop the event in its tracks), you can call > 'stopPropagation' or 'stopImmediatePropagation' on the event object. I > would do that if I was handling the PageDown and PageUp keys. > > Manish > > PS: In case it wasn't clear, you need to listen to the event on the > ''systemManager' obect in the capture phase. >
[flexcoders] Catching keyDown event globally
Hi, Is it possible to catch a keyDown event in an Application globally? In other words, if I need a certain functionality be attached to pressing a Pg Dn button regardless where you are in the application which control should be capturing the keyDown event. I have tried to attach it to the application tag but it does on catch all events. Can anyone help with this? Thanks
[flexcoders] How to force LinearAxis to recalculate min/max
Hi, I got Ely Greenfield's DataDrawingCanvas component and it works great but I have one problem which I cannot solve: In a plot chart, I create labels next to plot points that are draggable through custom itemrenderer. Since the linear axis does not clear the labels in min/max by default, I create a "shadow" DataDrawingCanvas to mirror the positions of labels to force the axes to recalculate. Once a user drags a label, I update the DataDrawingCanvas but the axes do not recalculate even though the DataDrawingCanvas objects are updated. The axes only recalculate if the data behind the chart gets changed and the chart has to redraw. I think it has something to do with a LinearAxis bug that does not relcalculate min/max properly. Can I force the axis to recalculate? I already tried to set the min/max to 1 and then to undefined and that did not work either. Please help! I have been tried to solve this for days... Here is the function that I use to recreate the "shadow" DataDrawingCanvas (id="optionLabels"). public function renderOptionLabels():void { frontierXAxis.maximum = 1; frontierXAxis.maximum = undefined; frontierYAxis.maximum = 1; frontierYAxis.maximum = undefined; var visible:Boolean = globalData.allocationsVisible; while(optionLabels.numChildren > 0) optionLabels.removeChildAt(0); if (visible) { var mix:Array=globalData.scenarioData[globalData.selScenarioPos].M.source as Array; for(var i:int = 0;i
[flexcoders] HTTPservice and Images
Hi all, I'm new to flex, I've started reading the adobe documentation and looking around for examples in the net. And now I've started to do my first program. I'm developer and maintainer for the IIPImage software, iipimage.sf.net , and I would like to provide it with a flash viewer. I've started investigating httpservice and the result is not so good, I query the server for a jpeg image, the server send to me a jpeg but I get only the header! this is the code: http://www.adobe.com/2006/mxml"; creationComplete="iipRequest.send()" layout="absolute" xmlns:ext="nl.wv.extenders.panel.*" > {IIPQLT} {IIPWID} {IIPCVT} Thanks for your help, Denis
Re: [flexcoders] Show a lazy loading object in a tree
Try to specify your own data descriptor for tree (using interface ITreeDataDescriptor) On 12 Mar 2007 05:11:16 -0700, Artur Kordowski <[EMAIL PROTECTED]> wrote: Hi, in current project we are using an FDS Data Management destination to get data. Now I would like to show this object in a tree control. The problem on this point is, that the root nodes are displayed as a leaf, not as a branch. But I need to have the root nodes as a branch to get the subobjects by open the branch/node. Can any one help me how I can make it, that the root nodes are displayed as a branch, in this case? Cheers, Artur -- http://blog.flexcoders.ru
Re: [flexcoders] Show a lazy loading object in a tree
Try to specify your own data descriptor for tree (using interface ITreeDataDescriptor) On 12 Mar 2007 05:11:16 -0700, Artur Kordowski <[EMAIL PROTECTED]> wrote: Hi, in current project we are using an FDS Data Management destination to get data. Now I would like to show this object in a tree control. The problem on this point is, that the root nodes are displayed as a leaf, not as a branch. But I need to have the root nodes as a branch to get the subobjects by open the branch/node. Can any one help me how I can make it, that the root nodes are displayed as a branch, in this case? Cheers, Artur -- http://blog.flexcoders.ru
[flexcoders] Adding Labels to the PlotSeries
The project I am working on need to be able to show a label next to each plotseries item on the chart. From what I can see, there is no interface supported by PlotSeries class to accomodate this. Can someone help me how to do this? I am not very experienced so examples are appreciated a lot!!! Thanks in advance