[flexcoders] Duplicate Session Detected Error

2010-05-21 Thread Dharmendra
I need to get in to the bottom of this issue. I have two saperate EAR applicaion deployed under two saperate Cluster of Weblogic and both application has nothing to do with each other , they just share the same J2EE server. I am only using Remoting which invokes sever side java code and returns

Re: [flexcoders] Is it possible to make multiple labels selectable as one text block like in regular html

2010-05-21 Thread Baz
It would be very beneficial if Flex/we could interact with all text in a particular view as a single, separate logical unit on its own *layer*.

[flexcoders] Re: TabNavigator

2010-05-21 Thread turbo_vb
Yeah, see the last post. You could extend TabNavigator and bubble up the tabBar itemClick event. Not too difficult, but not out of the box. -TH --- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > You might mean "click", in which case yes. It is dispatched when clicking > with the co

[flexcoders] Re: Positioning Issue, trying to add UIComponent to HBox at run time

2010-05-21 Thread aaronius9er9er
Yeah I think you're right. First of all, in your UIComponent implement a measure method and set measuredWidth and measuredHeight to the content dimensions of the Loader (this will probably be 0x0 until the content is loaded). Then, watch the loader's events to determine when it is done loading

[flexcoders] Re: upload files more than 150mb

2010-05-21 Thread mistatifnee
The Adobe docs are a bit dicey on this: "Starts the upload of a file selected by a user to a remote server. Although Flash Player has no restriction on the size of files you can upload or download, the player officially supports uploads or downloads of up to 100 MB. You must call the FileRefere

[flexcoders] Positioning Issue, trying to add UIComponent to HBox at run time

2010-05-21 Thread libbychantel
Hello all, I am constructing an image from some swfs at run time, I do this by creating a UIComponent and adding the swfs to it using Loader. When done, I add the UIC to an HBox I have on the screen. No matter what I do with setting x & y, the UIC appears with the top left corner exactly in the

Re: [flexcoders] allowNetworking internal disables basic linking

2010-05-21 Thread Oleg Sivokon
Yes, that's how it is supposed to behave... you should really ask them to switch that to something other than internal. Other solutions I could think of are rather difficult... like, deploying your SWF via iframe... Best. Oleg

[flexcoders] best automated testing tool for flex?

2010-05-21 Thread sathish_mca_raja
Just wanted to know which is the best automated testing tool out of the tools that are currently available in the market. My opinion is flex monkey. but it supports flex sdks starting with version 3.3 only. what would be the next best tool to use? Please let me know your recommendations.

[flexcoders] allowNetworking internal disables basic linking

2010-05-21 Thread Seth Caldwell
What the heck? Hyperlinking was part of the very first implementation of HTML, and I am now unable to link to another page from within a swf on myspace which forces allowNetworking=internal? How is it possible that through security measures the fundamental use cases of the web have been disabled?

[flexcoders] Is it possible to integrate the CTRL+F browser search with flex text?

2010-05-21 Thread Baz
All browsers have some text search functionality triggered by CTRL+F. Is it possible to use that to search text in a Flex application?

Re: [flexcoders] Re: Data grid vary column sizes

2010-05-21 Thread Alex Harui
Calculating column widths is not a built-in feature of the framework because it invites people to run code that has to visit every row in the dataprovider. You can write such code yourself to compute the width of a column if you wish. On 5/21/10 10:39 AM, "method_air" wrote: Autosizing a

Re: [flexcoders] Is it possible to make multiple labels selectable as one text block like in regular html

2010-05-21 Thread Alex Harui
Yeah, probably two pieces: some MOUSE_DOWN/MOUSE_MOVE/MOUSE_UP code that draws a selection rectangle, and code that walks the tree of display objects using getChildAt, checks to see if the child is contained in the rectangle, and sees if it has any text. On 5/21/10 1:08 PM, "Baz" wrote:

Re: [flexcoders] how to adjust mouse wheel scrolling for custom itemrender?

2010-05-21 Thread Alex Harui
I’m pretty sure at least one person claimed victory by modifying the delta of the MouseEvent. On 5/21/10 12:56 PM, "dorkiedorkfromdorkt...@gmail.com" wrote: I'm having this issue too. Is there any solution? On Tue, May 18, 2010 at 3:30 PM, Alex Harui wrote: Scrolling speed is a kn

Re: [flexcoders] Re: TabNavigator

2010-05-21 Thread Richard Rodseth
You might mean "click", in which case yes. It is dispatched when clicking with the content area of the navigator, but not on the button bar. And it wouldn't cover keyboard navigation. On Fri, May 21, 2010 at 1:06 PM, turbo_vb wrote: > > > You try itemClick? > > -TH > > > --- In flexcoders@yahoog

[flexcoders] Re: TabNavigator

2010-05-21 Thread turbo_vb
Strike that first response; no itemClick event there. But, the protected var tabBar does dispatch itemClick, so... -TH --- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > Is there an event dispatched by TabNavigator when the *user* switches tabs? > > "change" is dispatched when the

[flexcoders] Re: TabNavigator

2010-05-21 Thread turbo_vb
You try itemClick? -TH --- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > Is there an event dispatched by TabNavigator when the *user* switches tabs? > > "change" is dispatched when the selected change happens > programmatically (eg. because selectedChild is bound). >

Re: [flexcoders] Is it possible to make multiple labels selectable as one text block like in regular html

2010-05-21 Thread Baz
I don't mind writing code, any clues on where to start? Perhaps something like a global selection manager that detects mousedown and secretly traverses all the components behind the scenes? On Fri, May 21, 2010 at 11:14 AM, Alex Harui wrote: > > > That’s not a feature of the framework, but if

Re: [flexcoders] how to adjust mouse wheel scrolling for custom itemrender?

2010-05-21 Thread dorkie dork from dorktown
I'm having this issue too. Is there any solution? On Tue, May 18, 2010 at 3:30 PM, Alex Harui wrote: > > > Scrolling speed is a known issue. Some folks have had luck by modifying > the delta property of the MouseEvent before the scroller sees it by using a > capture phase or high priority event

[flexcoders] TabNavigator

2010-05-21 Thread Richard Rodseth
Is there an event dispatched by TabNavigator when the *user* switches tabs? "change" is dispatched when the selected change happens programmatically (eg. because selectedChild is bound).

Re: [flexcoders] Is it possible to make multiple labels selectable as one text block like in regular html

2010-05-21 Thread Alex Harui
That’s not a feature of the framework, but if you write enough code I think it should be possible. On 5/21/10 10:37 AM, "Baz" wrote: If you have an item renderer with multiple labels like: Is it possible to make the text selectable across renderers and labels as one lo

Re: [flexcoders] Is it possible to remove the 3d effects on controls like dropdownlist and scroller without extending them?

2010-05-21 Thread Alex Harui
You should be able to do that with skins. On 5/21/10 10:32 AM, "Baz" wrote: is it possible to remove the 3d effects on controls like dropdownlist and scroller without extending them? I just want them to be flat. Thanks, Baz -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs

Re: [flexcoders] how to adjust mouse wheel scrolling for custom itemrender?

2010-05-21 Thread Alex Harui
That might work. If it doesn’t, try a parent of the scroller. On 5/21/10 10:39 AM, "Baz" wrote: Ah I see, thanks for the info. Where would I listen to the "capture" phase? In the scroller component? On Tue, May 18, 2010 at 1:30 PM, Alex Harui wrote: Scrolling speed is a known issu

Re: [flexcoders] how to adjust mouse wheel scrolling for custom itemrender?

2010-05-21 Thread Baz
Ah I see, thanks for the info. Where would I listen to the "capture" phase? In the scroller component? On Tue, May 18, 2010 at 1:30 PM, Alex Harui wrote: > > > Scrolling speed is a known issue. Some folks have had luck by modifying > the delta property of the MouseEvent before the scroller sees

[flexcoders] Re: Data grid vary column sizes

2010-05-21 Thread method_air
Autosizing a datagrids column width to fit the contents of a field is a common feature in other frameworks. Is there a Flex equivalent? --- In flexcoders@yahoogroups.com, Brendan Meutzner wrote: > > The concept of auto fitting wouldn't really work for the simple reason that > the row children ar

[flexcoders] Is it possible to make multiple labels selectable as one text block like in regular html

2010-05-21 Thread Baz
If you have an item renderer with multiple labels like: Is it possible to make the text selectable across renderers and labels as one logical block exactly like in html?

[flexcoders] Is it possible to remove the 3d effects on controls like dropdownlist and scroller without extending them?

2010-05-21 Thread Baz
is it possible to remove the 3d effects on controls like dropdownlist and scroller without extending them? I just want them to be flat. Thanks, Baz

Re: [flexcoders] DataGrid and XML

2010-05-21 Thread Alex Harui
I placed the XML files in the same folder as the main app and modified the urls to get them and it worked for me. If you make the same changes does it work for you? If so, it might be a server-side issue On 5/20/10 10:39 AM, "Mauro Emiliano Alturria" wrote: Friendly of the group I am t

Re: [flexcoders] Re: Data grid vary column sizes

2010-05-21 Thread Brendan Meutzner
The concept of auto fitting wouldn't really work for the simple reason that the row children are recycled as the content is scrolled. If you did end up figuring out the functionality to make this happen from the itemRenderers, the column width would be constantly changing to "fit" to the currently

[flexcoders] Re: How to automatise Unit test with Maven ???---Thank you One question please m

2010-05-21 Thread m_teodori
I don't use that, if you have the flashplayer standalone executable in your PATH variable, it gets automatically picked up by flexmojos, anyway as marvin says the flexmojos mailing list is the best place where you can find answers once you start using it, as it does so many things... --m --- In

[flexcoders] Re: Data grid vary column sizes

2010-05-21 Thread method_air
Thanks. Is there a way for the column to intelligently 'autofit' to the width of its contents? --- In flexcoders@yahoogroups.com, "David" wrote: > > Set the width on the DataGridColumn, not on its itemRenderer > > --- In flexcoders@yahoogroups.com, "method_air" wrote: > > > > How do you vary t

[flexcoders] Re: How to Control the state of external window browser from FLEX/Javascript

2010-05-21 Thread valdhor
In your navigateToURL, use a specific name for the window and use this name for subsequent calls. navigateToURL(new URLRequest("http://www.adobe.com";), '_MyNewWindow'); _blank tells the browser to use a new window every time. --- In flexcoders@yahoogroups.com, athota wrote: > > > I am trying

Re: [flexcoders] Do you have see this message before :An internal build error has occurred. Right-click for more information. ???

2010-05-21 Thread Oleg Sivokon
Try compiling from command line and see what you will get in the output. Something like: cd ~/flex/sdk/bin ./mxmlc test.as -o test.swf And see what you get in response.

Re: [flexcoders] upload files more than 150mb

2010-05-21 Thread Tom Chiverton
On Friday 21 May 2010 13:13:03 you wrote: > Good day all, > > I just start using flex. I would like to upload files with 150mb size. But > somehow I am facing the problem of passing this file to the java side. So > could you please help me. What goes wrong ? If smaller files transfer fine, it

[flexcoders] Re: creating a magnetic grid

2010-05-21 Thread ouaqa
Hello again, I solved this issue by creating a "MagneticGrid" object containing the visual representation of the grid and two arrays : one for x-axis grid coordinates , the other for the y-axis coordinates. When an item is moved, it's current position is tested against the two arrays. If the cu

Re: [flexcoders] Set Width of An Item Renderer Component Based on Visible Property of the Control

2010-05-21 Thread Angelo Anolin
Thanks for this tip. But, I came across another thing. How would I set the width of the column so that it matches the width of the itemrenderers inside it? Apparently, setting the width to 100% for the datagrid column is not allowed. Thanks. Angelo From: C

[flexcoders] upload files more than 150mb

2010-05-21 Thread free man
Good day all,   I just start using flex. I would like to upload files with 150mb size. But somehow I am facing the problem of passing this file to the java side. So could you please help me.   Here is the code I am using :      //To upload a file into selected folder        private funct

[flexcoders] Re: Data grid vary column sizes

2010-05-21 Thread David
Set the width on the DataGridColumn, not on its itemRenderer --- In flexcoders@yahoogroups.com, "method_air" wrote: > > How do you vary the data grid column widths? Setting the width property > inside the item renderers to different values is not working. > > Thanks, > > Philip >

[flexcoders] DataGrid and XML

2010-05-21 Thread Mauro Emiliano Alturria
Friendly of the group I am thankful for the reading of the present mail, the reason for the same is to do a consultation to them on the following subject. Them basically in question comment: I am taking my first steps in Flex 3 and creates an unit which asking for a date carries out via call to a

Re: [flexcoders] var myVar : Function = new Function ? examples?

2010-05-21 Thread Kerry Jordan
On Thu, May 20, 2010 at 6:22 AM, Nick Middleweek wrote: > I was going to use the approach for my URLLoader complete event handler > function, I was hoping to keep things a bit neater and just pass the .data > through to my Cairngorm Command. We implemented something similar at work. I suggest t

[flexcoders] Re: Generic Function To Set ComboBox Item

2010-05-21 Thread David
What about something along these lines: private function selectComboItem( cb : ComboBox, item : String, itemField : String = null ) : int { var dp : ICollectionView = cb.dataProvider; var i : uint = 0; if ( itemField == null ) itemField = cb.labelField; for each ( var dpi : Object i

Re: [flexcoders] Calling a ComboBox Change Event from TextInput TextChanged event

2010-05-21 Thread Kerry Jordan
On Wed, May 19, 2010 at 2:41 PM, Angelo Anolin wrote: > I actually need the control's signature which to pass to its own event but > being called from another control's event. I'm still not certain what you are attempting to accomplish, but the dispatchEvent method of the ComboBox will dispatch

[flexcoders] Do you have see this message before :An internal build error has occurred. Right-click for more information. ???

2010-05-21 Thread Nini7016 Nini7016
Hello I am working in Flex application, i have an error Do you have see this message before :An internal build error has occurred.*...Flex problem I tested all Flex sdk versions, but the error is still here :( :( :( do you know how to resolve problem,,, ?? I have alse changed t

Re: [flexcoders] Flash IE SSL problem

2010-05-21 Thread wdb
Uh, my troubleshooting wiki says the following about this: ssl / cache bug when: * load something over ssl what: * flash can't load data from a ssl source. solution add headers: // php example header("Cache-Control: cache, must-revalidate"); header("Pragma: public"); > Hello guys! >

[flexcoders] Re: Flash IE SSL problem

2010-05-21 Thread Lexter
Yes, it hangs on that line of my http header. It loads the child swf and loading the external data like xml.

[flexcoders] Do you have see this message before :An internal build error has occurred

2010-05-21 Thread Nini7016 Nini7016
Hello I am working in Flex application, i have an error Do you have see this message before :An internal build error has occurred.*...Flex problem I tested all Flex sdk versions, but the error is still here :( :( :( do you know how to resolve problem,,, ?? I have alse changed t

RE: [flexcoders] Re: Flash IE SSL problem

2010-05-21 Thread Gregor Kiddie
And when you debug the app, it never throws an error, but hangs on that line? What is being loaded on that line?

[flexcoders] Re: Flash IE SSL problem

2010-05-21 Thread Lexter
Yes, I installed it.

RE: [flexcoders] Re: Flash IE SSL problem

2010-05-21 Thread Gregor Kiddie
Have you got the active version of the debug player installed?

[flexcoders] Re: Flash IE SSL problem

2010-05-21 Thread Lexter
Just a clean error. No Throws occurred. I'm wondering why. When I checked the urls that were requested, it was correct. I copied it and open it directly in another tab but the loading process stucks in the line where the child swf be loaded.

RE: [flexcoders] Re: Flash IE SSL problem

2010-05-21 Thread Gregor Kiddie
What's the exception it throws?

Re: [flexcoders] Re: var myVar : Function = new Function ? examples?

2010-05-21 Thread Nick Middleweek
Thanks for the replies and those important points Oleg - nice! On 21 May 2010 08:57, ouaqa wrote: > > > If it may help, this is how I usually manage my remote connections. > Before you say it's off-topic, I think it might answer your question : > > public class LCRemoteConnectionManager > { >

[flexcoders] Re: Embed source path issue

2010-05-21 Thread ouaqa
Hello, try removing the "/" in before com. => [Embed(source="com/domain/assets/images/sm_minus_ro.png")] I think this is the problem. --- In flexcoders@yahoogroups.com, "method_air" wrote: > > I'm trying to 'embed source' a .png located in an graphics rsl from a flex > project (the rsl is in

[flexcoders] Re: Flash IE SSL problem

2010-05-21 Thread Lexter
It goes like this. When I tried my flash app via https insode the firefox, it works. But when I tried it inside IE using the https protocol, my flash app wont load the external data. I have 2 flash movies. The parent movie and the child. The parent the one embedded on the page while the child is

RE: [flexcoders] Flash IE SSL problem

2010-05-21 Thread Gregor Kiddie
The weather sheep is blocking the bits reaching your internet... Seriously. What's the problem. Can't help without a little more detail! From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Lexter Sent: 21 May 2010 09:02 To: flexcoders@yahoogroups.com Subject: [

[SPAM] [flexcoders] Re: how to open pdf, word file using flex

2010-05-21 Thread Tony
Hello! I have come up with another solution to view .pdf and .doc files. I have described it in my blog: http://tgeorgiev.blogspot.com/2010/05/viewing-word-documents-with-flex.html The idea is to convert the .doc to .pdf, and the .pdf to .swf using pdf2swf and then you could write your own l

[flexcoders] Flash IE SSL problem

2010-05-21 Thread Lexter
Hello guys! I have a big problem regarding my flash application running under IE and SSL protocol. My swf cannot load the data. I tried many solutions that I found in googling but none of them succeeds. Can anyone help me with this issue? Thank you.

[flexcoders] Re: creating a magnetic grid

2010-05-21 Thread ouaqa
Thanks a lot, I'm gonna look into it --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > You might be able to use this: > > http://blogs.adobe.com/aharui/2010/01/constrained_drag_and_drop.html > > > On 5/20/10 5:50 AM, "ouaqa" wrote: > > > > > > > Hello, > > As part of my project,

[flexcoders] Re: var myVar : Function = new Function ? examples?

2010-05-21 Thread ouaqa
If it may help, this is how I usually manage my remote connections. Before you say it's off-topic, I think it might answer your question : public class LCRemoteConnectionManager { private static var serverRemoteObject : RemoteObject ; // = null p

[flexcoders] Re: embed images dynamically

2010-05-21 Thread ouaqa
Hello, you could load images dynamically from a given url. what you need to do is make a new url request and use a loader : public function setImage (AnImageSource : String) : void { var request:URLRequest = new URLRequest(AnImageSource); var imageLoader:Loader = new Loader(); i