Re: [flexcoders] TitleWindow.title won't update from a setter

2010-04-20 Thread Alex Harui
Are you sure your setter is getting called? If so, when is it called? Maybe it is being called inside commitProperties after super.commitProperties. On 4/20/10 3:07 PM, "Nick Middleweek" wrote: Hi, I've got a small MXML Component based on TitleWindow which I'm opening with PopupManage

Re: [flexcoders] Drag and drop vs scrolling

2010-04-20 Thread Alex Harui
Some folks have tried making the renderer a drop target in order to add different meaning to dropping in folders. In theory it should work, but I think I’d work from the Tree instead, and then I would expect autoscroll to work. On 4/20/10 3:31 PM, "Richard Rodseth" wrote: I inherited s

[flexcoders] Re: TitleWindow.title won't update from a setter

2010-04-20 Thread sminrana
Hi If i understood when you close the popup it destroy all it's properties, that's why its not happening as you wanted. i dont think in this case you can't do with setter. --- In flexcoders@yahoogroups.com, Nick Middleweek wrote: > > Hi, > > I've got a small MXML Component based on TitleWin

[flexcoders] Drag and drop vs scrolling

2010-04-20 Thread Richard Rodseth
I inherited some code which supports drag and drop from a list to a node of a tree. Unfortunately it does not work when the tree is scrolled. Not only does the tree not autoscroll, but even if you scroll the target item into view before beginning the drag, incorrect nodes highlight. I didn't see a

[flexcoders] Re: What is the Correct Type of Component For This?

2010-04-20 Thread James
Hi Oleg. I need it to display an icon and a label beneath that icon for each item. I thought about horizontal list but that doesn't expand automatically based on how many items are in it does it i.e. you can't edit it to fit to content? Basically I need the same effect as in the disney website

[flexcoders] TitleWindow.title won't update from a setter

2010-04-20 Thread Nick Middleweek
Hi, I've got a small MXML Component based on TitleWindow which I'm opening with PopupManager that has a setter and getter called iFormID. In the setter I have this code... public function set iFormID ( value : String ) : void { if ( _iFormID == value ) return; _iFormID = value;

Re: [flexcoders] What is the Correct Type of Component For This?

2010-04-20 Thread Oleg Sivokon
Hi. A. You can always create your own layout. B. Thinking of ready-made components, it could be HorizontalList, TabNavigator, ApplicationControlBar etc, whichever is more relevant. Best. Oleg

[flexcoders] Cold Fusion/Flash Builder 4 hosting

2010-04-20 Thread Dan Pride
I have been hosting on GoDaddy. They now offer Cold Fusion 7 on Unix and 8 on Windows. Except they inculude the following restriction. To call your CFC, you will need to use the tag. The tag and the CreateObject function are disabled on our servers for security reasons. For example, the fol

[flexcoders] What is the Correct Type of Component For This?

2010-04-20 Thread James
I'm lost as to what component to use for navigation within my application. Across the top of my app I want something which horizontally displays a list of categories which the user can click to select. This is fine if I use a tilelist but I also want to allow my client to add and remove categori

Re: [flexcoders] Flex 4: How to make draggable and resizable modules?

2010-04-20 Thread Alex Harui
You can try starting here: http://blogs.adobe.com/aharui/2007/08/popup_dialogs_as_modules.html Someone else probably has an example of how to add resizing to a TitleWindow. On 4/20/10 7:35 AM, "astronaute75" wrote: Hello, I would like to make an application using Flex modules (mx.module

[flexcoders] Re: What is the best Way - Multiple DataProvider's or one?

2010-04-20 Thread James
Hi I would but my code is pretty big. To sum it all up basically I have an application which displays links in a tilelist based on whatever category button the user clicks on. Each time the user clicks a category it sends the categoryid (which I've made as a variable that changes based on whatev

[flexcoders] Re: Draw three rectangles inside a canvas -----URGENT PLEASE

2010-04-20 Thread sminrana
If you dont have any options except Canvas and Panel (you can do it easily with Group spark component) then you can override createChildren() method in Canvas or Panel and as many rect you need with adding a new sprite in createChildren and update graphics it in updateDisplayList() private v

[flexcoders] Re: What is the best Way - Multiple DataProvider's or one?

2010-04-20 Thread sminrana
Can you show your code? --- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > As usual, it depends. If your data is small enough and static enough, get > it all at once and avoid the inherent latency of remote data retrieval > entirely. > > > > But rarely is data retrieval or processi

[flexcoders] Re: Problems With my XML Created Array Collection

2010-04-20 Thread sminrana
return the xml as a string from PHP file and cast that return string in flex like this var xml:XML = XML(data.result); then do whatever it needs like XMLList and XMLListCollection; then is the resultEvent you can check like this if (data.result != "") { xml:XML = XML(data.result); } else { Al

[flexcoders] Re: Problems With my XML Created Array Collection

2010-04-20 Thread James
Hi Amy. Sorry I missed your post yesterday. e4x does seem good but I was just a little bit worried about implementing it. As a flex beginner I tend to stick to the traditional most widely used methods of doing things as a lot of the times I work by looking at previous examples and applying them

[flexcoders] Re: Is MATE framework appropriate for my project?

2010-04-20 Thread md_ars
Great amount of knowledge. I need some time to discuss it with my other team mate who is expert in OOP and also taking care of webservice part. I appreciate your prompt replies and willingness to share your knowledge. How do I contact you once we design something you suggested? Should I reply to

[flexcoders] Re: Problems With my XML Created Array Collection

2010-04-20 Thread James
Thanks Tracy that looks good. I may try something similar in the future. I've managed to get the previous example provided by robert working though so basically I'm thinking if it isn't broke don't fix it. :-) It's all that I require really as I'm only using it to display the results and it cove

[flexcoders] Re: GroupingCollection.getParent() doesn't exist?

2010-04-20 Thread Amy
--- In flexcoders@yahoogroups.com, Nick Middleweek wrote: > > ok - thanks Amy! :) > > So if were to extend GroupingCollection and create MyGroupingCollection, I > could then have a public function on MyGroupingCollection that in turn calls > the getParent() protected function of GroupingCollect

Re: [flexcoders] Re: Is MATE framework appropriate for my project?

2010-04-20 Thread Wally Kolcz
One of the joys of Mate is that you can create a 'Services' component set to fx:object and set up all your data services (web services) and give them ID's and the wsdl address, then, in your map per eventhandler call a different method on that web services via the WebServicesInvoker. Then depen

[flexcoders] Re: Problems With my XML Created Array Collection

2010-04-20 Thread Amy
--- In flexcoders@yahoogroups.com, Robert Moss wrote: > > Yes use a third if statement like: if(event.result.categories) > if(event.result.categories != null) should also work > > Notice I used event.result instead of LinksService.lastResult. Small change, > but you should get in the habi

[flexcoders] Re: Is MATE framework appropriate for my project?

2010-04-20 Thread md_ars
Thanks Wally. It worked. I don't know where I was missing. I started from the same because with one panel I tested it successfully to populate data in a DataGrid. When I added multiple modules and menu, I modified DataManage and might have missed either some sequence or properties. I am usin

[flexcoders] BLAZE DS AND OSIV PATTERN

2010-04-20 Thread Fernando Wermus
Hi all, I am using blazeds and flex without spring. I am also using remote object and RemoteClass metatag. I would like to know how to open hibernate session before messagebroker servlet takes into action and how to close hibernate session after messagebroker servlet. I searched in google but I

Re: [flexcoders] Re: Is MATE framework appropriate for my project?

2010-04-20 Thread Wally Kolcz
If you created an ArrayCollection in your DataManager, did you set it to [Bindable]? The AC doesn't care where it is injected or into what element (as long as it supports it), its just a data wrapper. Is the menu a separate component that you 'include' in multiple views or are you creating a ne

[flexcoders] Re: How to clear cache for all major browsers (IE, Mozilla, Safari and Chrome)

2010-04-20 Thread handitan
Thx Tracy! I have a diff question relating to this caching issue. My app is composed with a main-swf, a library-swf, and several module-swfs. To my understanding, this incrementing-build-version solution only applies to the main-swf. So that means the library-swf and module-swfs that I updated w

[flexcoders] Re: Is MATE framework appropriate for my project?

2010-04-20 Thread md_ars
Thanks for the reply. Please check my requirement below and let me know do I need separate event map for each screen/mxml component? how it will be linked to main event map. I created a ArrayCollection in the DataManager that is being populated in the result event and I want to inject it in

RE: [flexcoders] Re: Problems With my XML Created Array Collection

2010-04-20 Thread Tracy Spratt
Here is some untested code to loop (you will need to correct the automatic capitalization ): It is also more verbose than necessary, just for clarity. Var xmlResult:XML = event.result as XML; Trace(xmlResult.toXMLString()); //to verify your xml Var xlResult:XMLList = xmlResult.category; Var

RE: [flexcoders] Re: Problems With my XML Created Array Collection

2010-04-20 Thread Tracy Spratt
I know this is very late in the game, and I haven’t read the full thread, but this seems like a very complicated solution to the problem. Further, the default resultFormat has other consequences, data type conversions for example. If you have a string that looks like a number, it will get conv

RE: [flexcoders] Re: How to clear cache for all major browsers (IE, Mozilla, Safari and Chrome)

2010-04-20 Thread Tracy Spratt
Yes. Manually incrementing the version at each build will be more work for you, but will be a better experience for your users. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of handitan

RE: [flexcoders] What is the best Way - Multiple DataProvider's or one?

2010-04-20 Thread Tracy Spratt
As usual, it depends. If your data is small enough and static enough, get it all at once and avoid the inherent latency of remote data retrieval entirely. But rarely is data retrieval or processing the performance bottleneck. Most often it is screen rendering, and TileList can be a hog, depen

Re: [flexcoders] online flex compiler

2010-04-20 Thread Kerry Thompson
srini_stellarip wrote: > check this cool site to practise flex online...it has examples and IDE... > http://www.flexatschool.com Hmm... I looked at it, but didn't see much applicable to my level, so I didn't sign up. It looks like this is aimed at students learning Flex. If so, best wishes to you

[flexcoders] Flashplayer 10.1 RC2

2010-04-20 Thread Patrick
Any body have this issue on a mac (seems to only happen when running flex, drag your browser to the right monitor, the flashplayer stops, hangs, and white boxes appear on the flashplayer.

[flexcoders] Using Flash Player 10 in Full Screen mode, check this out!

2010-04-20 Thread Nick Collins
http://blog.nc-design.net/post.cfm/flash-player-10-hardware-acceleration-fail The gist is that in certain circumstances, the Flash Player has problems with its full screen mode.

[flexcoders] open source load testing tool for flex 4

2010-04-20 Thread sanjitcs
Hi everybody, I need to do load testing of flex 4 application. I need to send 100 concurrent user login to application with different user name at same time. Plz suggest any load testing tool through which i can perform load testing. In application we are using RTMPS protocol to communicate wit

Re: [flexcoders] Is MATE framework appropriate for my project?

2010-04-20 Thread Wally Kolcz
I use Mate on all my projects. I use a lot of injectors to push my data to my views by binding them to the manager Class. What is the issue you are having? If you are reusing the same element on 2 views, you'd need to either put the data binding (ArrayCollection, Object, etc) on the component w

[flexcoders] Flex 4: How to make draggable and resizable modules?

2010-04-20 Thread astronaute75
Hello, I would like to make an application using Flex modules (mx.modules.Module), the requirement is that those modules have to be draggable and resizable inside the main application shell. What is the best practice to make this kind of applications in Flex 4? Thank you in advance for your he

Re: [flexcoders] Re: security & flex

2010-04-20 Thread Jimmy G
You can load the Flex app from an HTTPS site right off the bat, that what you would have to do if that app is processing payments, that only makes sense, so the communication will be encrypted. If you load the Flex app via HTTP, then yes, that is the wrong way to do it, like I said a developer ca

RE: [flexcoders] Draw three rectangles inside a canvas -----URGENT PLEASE

2010-04-20 Thread Nini7016 Nini7016
Thank you very much Chet. :) :) To: flexcoders@yahoogroups.com From: cha...@adobe.com Date: Tue, 20 Apr 2010 07:18:25 -0700 Subject: RE: [flexcoders] Draw three rectangles inside a canvas -URGENT PLEASE I can’t tell what you’r

[flexcoders] online flex compiler

2010-04-20 Thread srini_stellarip
Hello guys, check this cool site to practise flex online...it has examples and IDE... http://www.flexatschool.com thanks

[flexcoders] Stacked ColumnChart data and columns

2010-04-20 Thread BillF
Hello FCs... I have a dataset, that is similar to this.. Month="Apr" Category="Apples" Quantity="25" Month="Apr" Category="Oranges" Quantity="30" Month="Apr" Category="Grapes" Quantity="10" Month="Apr" Category="Cherrys" Quantity="5" Month="May" Category="Apples" Quantity="37" Month="May" Categor

[flexcoders] Help Loading Content From Website

2010-04-20 Thread DTAngram
I need to upload text and images from thefreedictionary.com Website into my Flex 3 project and it must update daily. The RSS that thefreedictionary.com provides contains javascript and html. I am very new to Flex and I want to know how to upload this content into my Flex project without using AI

[flexcoders] Problem with RichTextEdit

2010-04-20 Thread simcola
Hi Im trying to display Rich Text (Bolds and Underlines) on a web site but I dont want the user to be able to edit the text. The RichTextEditor doesnt seem to have any readonly property... any ideas? thanks

[flexcoders] Simple Sound Player

2010-04-20 Thread simcola
Hi I have several podcasts in wma (I could change to mp3 if needed) and I need a simple player that will list all the podcasts and then have a play, pause, fwd, rwnd, stop and download button. Does anyone know of anything like this that I can use in flex.. thanks

RE: [flexcoders] Draw three rectangles inside a canvas -----URGENT PLEASE

2010-04-20 Thread Chet Haase
I can't tell what you're trying to do, but this code works: I can't tell if you are trying to use a Canvas or a Panel, since you mention both. Note that Canvas doe

[flexcoders] Re: ColumnChart label issues inside Module

2010-04-20 Thread BillF
Thanks, but didn't really help. I did find the solution, though. It appears that there is a bug that swf modules that are loaded cannot display text using embedded fonts unless you include a reference to the control that uses it in the module's parent application.

[flexcoders] OLAPDataGrid - formatting

2010-04-20 Thread rojoe615
Looking for a way to format data in the OLAPDataGrid. Sometimes my value are $ and other times it is %. I have a column in the dataProvider that specifies these units and would like to format the numbers based on the specified unit. I would guess a custom itemRenderer but not real familiar wit

[flexcoders] Trouble with Spark TextArea and HTML formatting

2010-04-20 Thread Wally Kolcz
I know the new TextLayoutFramework will take a little time to get used to and losing htmlText kinda sucks, but how can I pass html elements to a textarea and get them to render correctly? In this case, I control the elements , , being pushed to the textarea. I have a textarea (ta) that I want

[flexcoders] What is the best Way - Multiple DataProvider's or one?

2010-04-20 Thread James
In my app I have a tilelist with an array collection as it's dp which is populated via remote xml from a mysql database. When a user clicks a certain category button in my app it sends a request to the server to tell it which category items the user wants to see which in turn changes the array c

Re: [flexcoders] Flex Upload/Download using XML-RPC

2010-04-20 Thread Oleg Sivokon
Why would you want to use XML for that? XML imposes quite a lot of restrictions on the content, such as for example, it may not contain certain bytes or byte sequences, whilst these restrictions may not necessarily apply to the files you want to transfer. Generally there are three ways of sending f

[flexcoders] Draw three rectangles inside a canvas -----URGENT PLEASE

2010-04-20 Thread Nini7016 Nini7016
Hello I have a canvas and I would like to add within this canvas three rectangles superimposed and just between two rectangles there will be space. I used the panel and I put in rectangles but this was not the case. you have any ideas please Any help do you think i must use any other compone

Re: [flexcoders] Re: GroupingCollection.getParent() doesn't exist?

2010-04-20 Thread Nick Middleweek
ok - thanks Amy! :) So if were to extend GroupingCollection and create MyGroupingCollection, I could then have a public function on MyGroupingCollection that in turn calls the getParent() protected function of GroupingCollection. Cheers, Nick On 19 April 2010 16:09, Amy wrote: > > > Check a

Re: [flexcoders] Re: Find tree node in groupingcollection?

2010-04-20 Thread Nick Middleweek
Thanks Amy... Reading the docs a bit closer, that does make sense... GroupingCollection inherits from HierarchicalData which implements IHierarchicalData and the source of HierarchicalCollectionView is of type IHierarchicalData. Great stuff, thanks again! Nick On 19 April 2010 16:00, Amy w

[flexcoders] Flex Upload/Download using XML-RPC

2010-04-20 Thread Manu Dhanda
Can someone please shed some light like how we can upload/download files using XML-RPC in Flex? Had anyone tried it? Thanks. -- View this message in context: http://old.nabble.com/Flex-Upload-Download-using-XML-RPC-tp28287819p28287819.html Sent from the FlexCoders mailing list archive at Nabbl