Re: [flexcoders] Drag and drop vs scrolling

2010-04-21 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 rrods...@gmail.com wrote:

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

2010-04-21 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 n...@middleweek.co.uk wrote: Hi, I've got a small MXML Component based on TitleWindow which I'm

[flexcoders] LInkButton in ActionScript--how to write the attribute 'icon in Action Script -----PLEASE ANY HELP

2010-04-21 Thread Nini7016 Nini7016
Hello I have this code in MXML file : [Bindable] public var start :Class = BpmnResource.getInstance().icon_tool_start; . mx:LinkButton id=btn icon={iconClass} width=20 height=20 buttonMode=false / I would like to transform it in Action script [Bindable]

Re: [flexcoders] Re: security flex

2010-04-21 Thread Tom Chiverton
On Tuesday 20 Apr 2010, Alex Harui wrote: the user still sees HTTP in the browser address bar if your SWF and wrapper were served over HTTP and none of the other security hints like the lock symbol or custom icons will be available, so many folks like me will chicken out of entering such data.

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

2010-04-21 Thread Adnan Doric
Thank you for your response, I already saw your blog post :) But in Flex 4, I can't find the mx.core.FlexModuleFactory. What to use instead ? On 20/04/2010 23:41, Alex Harui wrote: You can try starting here: http://blogs.adobe.com/aharui/2007/08/popup_dialogs_as_modules.html

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

2010-04-21 Thread Nick Middleweek
Hi, When tracing the setter, it is definately getting called. I'm currently just trying to set this.title from the iFormID setter. Here's my setup... I have an MXML ArrayCollection with the CreateVendorDialog component inside of the Array so it's created but not displayed (not sure if this is

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

2010-04-21 Thread valdhor
I am a little late to this party but I would have to recommend using AMF to pass your data back and forth. this allows you to pass objects and arrays of objects both ways. No need to convert objects to XML and back to objects - they are all just objects. When the data comes in you can use

[flexcoders] Reference for flex tutorial

2010-04-21 Thread sony antony
Hi, Could any one please suggest me a book I can refer for flex which could cover possibly everything in it.?? Thanks, Sony.

[flexcoders] Alive Pdf To Slow

2010-04-21 Thread Christophe
Hello, I generate a Report with Alive Pdf from my web application. But the Pdf appears in about 3 minutes. it is too long for the customers. How to generates more rapidly a Pdf ? Thank you, Christophe,

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

2010-04-21 Thread valdhor
Take a look at SuperTabNavigator which is part of FlexLib (http://code.google.com/p/flexlib/). From your description, it looks like it would do the trick. --- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote: I'm lost as to what component to use for navigation within my

Re: [flexcoders] Reference for flex tutorial

2010-04-21 Thread John McCormack
This is very through: Professional Flex 3 from www.wrox.com p2p.wrox.com isbn: 978-0-470-22364-2 This does tutorials Adobe Flex 3 Training from the Source isbn-13: 978-0-321-52918-3 www.adobepress.com John sony antony wrote: Hi, Could any one please suggest me a book I can refer for flex

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

2010-04-21 Thread James
Hi Steve. As I said earlier about using e4x I'm reluctant to use amfphp 1. because I already have eveything set up using regular php code and 2. I. struggle to find examples of how to use such methods compared to the regular methods of using traditional php. Would you happen to know if it is

[flexcoders] Re: Alive Pdf To Slow

2010-04-21 Thread valdhor
You could try using your back end server to create the PDF. I have had excellent results with TCPDF (http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf) on my PHP server. One caveat - my server has 16 dual core processors and 32GB of RAM. YMMV. --- In flexcoders@yahoogroups.com,

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

2010-04-21 Thread James
Heres an image of my icons which is basically what I'm after. http://i223.photobucket.com/albums/dd147/jimmyoneshot/theicons.jpg The only difference is these are all just static ones I put in myself, now I need them to be dynamic i.e. the user can add and remove icons which is why I need it to

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

2010-04-21 Thread Oleg Sivokon
I'd really go for a custom layout than. Maybe you can take ListBase for a superclass, or just base it on UIComponent, or Group. Best. Oleg.

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

2010-04-21 Thread James
Hi oleg. Yep that seems like a good idea but I'd prefer to just use the tilelist for now. I've found a way of removing tilelists blue theme boxes and also found a way to make them auto resize based on how many items they have in them. Do you know of any way of how to apply a glow effect to a

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

2010-04-21 Thread valdhor
James First off, I would not use AMFPHP as it is deprecated in favor of ZendAMF (Part of Zend Framework). I found WebORB much easier to integrate than ZendAMF. With WebORB you use Object Oriented PHP. You create data transfer classes in both Flex and PHP and map them to each other. then you

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

2010-04-21 Thread valdhor
I have never tried to do anything like this but just thinking off the top of my head... Try skinning components in Flex. http://www.davidflatley.com/2007/12/17/programmatic-button-skins-in-flex-3/ may be a good starting point. Look at using DeGrafa (http://www.degrafa.org) and/or ScaleNine

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

2010-04-21 Thread valdhor
Maybe a combination of Server based and locally saved preferences? This is what I do. The user can set his/her own display preferences which are saved in SharedObjects and the data is retrieved from the server. --- In flexcoders@yahoogroups.com, Gary Moorcroft garymoorcroft_...@... wrote:

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

2010-04-21 Thread Gary Moorcroft
Actually the whole app was previously made entirely using shared objects with no web based dynamic data where the user could save all of the links to their local machine. The problem was of course my client wanted to add new links and update the existing links as time went on which means

[flexcoders] Dynamic background on a Spark Container

2010-04-21 Thread Wally Kolcz
In my Flex3 version of my application I was able to use a Canvas and add a dynamic background image as part of a coloring book, but with Flex4, I cannot do that in the Spark Theme. Is there any way to set a dynamic background in a Spark container or is there a way to create a Container Skin

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

2010-04-21 Thread Wally Kolcz
You can always reach me at wko...@isavepets.com On 4/20/2010 3:38 PM, md_ars wrote: 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

[flexcoders] Problem sorting AdvancedDataGrid

2010-04-21 Thread Tom McNeer
Hi, I have read posts in this group, as well as many blog entries, regarding the frequent need to manually sort the items in an AdvancedDataGrid when the underlying data changes. ((I'm using SDK 3.5.) And I have instances of the ADG where I have, in fact, successfully created and used a sort

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

2010-04-21 Thread James
I originally considered using a repeater inside a h box to repeat all of the items but the problem is a repeater doesn't allow items to be selected otherwise it would be perfect. You see I have a filter function that has been applied to my links based on what category item is selected. Overall

[flexcoders] Check if route has point (Google maps)

2010-04-21 Thread gabriela.perry
Hello I wanted to know if there´s a way to see if a route has a point. For example: my route goes from A to B, passing through C, and I want to see if points D and E are inside it. I never worked with the GMaps API before, but I read the docs and found nothing that could solve this problem.

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

2010-04-21 Thread valdhor
A...Why do you say repeater items can't be selected? I built a custom component that responds to a mouse click and then repeat this component multiple times using a repeater from data that is returned from my server (Essentially this is a list of regions containing customers. Each user is

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

2010-04-21 Thread Oleg Sivokon
Well, if the objective is to not write the components yourself, then I'd look into: ASDocs for available styling for the existing components Tweener / TweenLight / TweenMax and similar. I think they have the effects you are talking about out of the box.

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

2010-04-21 Thread James
That does sound like essentially what I'm after yes but the problem is I'm not sure how to actually do it as I have zero experience at 1. bubbling and 2. creating custom components :'-( Plus I think the answer may be within an edited tilelist component now. What I've managed to get so far

[flexcoders] Re: Problem sorting AdvancedDataGrid

2010-04-21 Thread tntomek
If im not mistaken, debuggin through GroupingCollection, the part where it actually creates the subgrouped nodes (or leaf nodes), you will notice sort is not used on those sub array collections. GC is a really worthwhile class to understand if you are dealing with hierarchical data, it's

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

2010-04-21 Thread Amy
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: James First off, I would not use AMFPHP as it is deprecated in favor of ZendAMF (Part of Zend Framework). I found WebORB much easier to integrate than ZendAMF. With WebORB you use Object Oriented PHP. You create data

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

2010-04-21 Thread Amy
--- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote: 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

[flexcoders] Re: Exceeding Flash's Capabilities?

2010-04-21 Thread jer_ela
I've never tried to display more than 20 or so series, but I do have an app that has 5692 records with 4 series each for a total of 17076 data points. It is displayed in a bar chart. Well it isn't actually displayed since that's about 17 bars per pixel, but the bars are actually there and you

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

2010-04-21 Thread handitan
Bump this thread up to see if other people has any opinion on this. Thx for reading! --- In flexcoders@yahoogroups.com, handitan handi@... wrote: 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

[flexcoders] Security error !!!

2010-04-21 Thread Mihai C
Hi! I made a Flex3+J2EE project. The flex app is on http://custom.starlinginteractive.com/michebag/index.html OnCreationComplete of the application I made Security.loadPolicyFile(http://www.custommiche.com/crossdomain.xml;); The hosting site is http://www.custommiche.com/ and use SXORCH

[flexcoders] FB4: Create screenshot (bitmap) from loaded swf

2010-04-21 Thread azona26
I am loading an external swf into my flex application using the SWF Loader. Once loaded, I would like to capture/copy the SWF into a bitmap and then unload the original swf. I only need/want to capture the image (1st frame) of the SWF as opposed to the having the SWF play in my Flex

[flexcoders] SWFAddress anchor tags and broken preloaders

2010-04-21 Thread Patrick
Eh, I hate the issue where the flex preloader is broken when an anchor tag is used, Plugin meh Is there a way to make a preloader in javascript for a flex app. Why are things so F*N difficult? Thanks for your help, another frustrated developer like *YOU*

[flexcoders] Efficient SOAP WebService invocation

2010-04-21 Thread sasuke
Hi all, In my application, each server data request creates a new WebService object, sets the wsdl url and loads the wsdl. I feel that repeating these three steps for each web service call carries a certain performance penalty in terms of loading the WSDL, parsing operations and so on. This is

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

2010-04-21 Thread valdhor
Amy That I didn't know. AMFPHP is probably a viable option then, especially seeing as it is being updated. I left AMFPHP behind once I went with WebORB and have never looked back until now. --- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: --- In

Re: [flexcoders] Re: Problem sorting AdvancedDataGrid

2010-04-21 Thread Tom McNeer
Hi Tom, Thanks for the reply. On Wed, Apr 21, 2010 at 10:18 AM, tntomek tnto...@yahoo.com wrote: the part where it actually creates the subgrouped nodes (or leaf nodes), you will notice sort is not used on those sub array collections. Actually, though, my sort is breaking down earlier - on

[flexcoders] Security error !!!

2010-04-21 Thread Mihai C
Hi! I made a Flex3+J2EE project. The flex app is on http://custom.swfsitedomain.com/swfapp/index.html OnCreationComplete of the application I made Security.loadPolicyFile(http://www.hostsitedomain.com/crossdomain.xml;); The hosting site is http://www.hostsitedomain.com/ and use SXORCH API.

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

2010-04-21 Thread Wally Kolcz
Firefox = Tools Clear Recent History Today On 4/21/2010 11:04 AM, handitan wrote: Bump this thread up to see if other people has any opinion on this. Thx for reading! --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, handitan handi@... wrote: Thx Tracy! I

Re: [flexcoders] FB4: Create screenshot (bitmap) from loaded swf

2010-04-21 Thread Oleg Sivokon
With Loader you'd need to call (content as MovieClip).stop(), unload() or unloadAndStop() - depends on player version. Be aware that images that originate from other application domains are subject to security restrictions.

[flexcoders] as 2 to as 3 question

2010-04-21 Thread markflex2007
I need convert as 2 to as 3. which functions in as3 are same with following functions in as 2 _loc1 = attachMovie(movie, movie, depth); _loc1.gotoAndPlay(frame); _loc1.easeSpeed = easeSpeed; _loc1._y = yPosInit; _loc1.yTo = yTo; Do you think if some tool can do the convert

Re: [flexcoders] Efficient SOAP WebService invocation

2010-04-21 Thread Oleg Sivokon
Speaking of optimization, SOAP is a shot in your own foot :) However, if given no choice, I'd go with something similar to decorators. That is, I'd have an AS3 webservice extending class that would allow to set / reset the functional part of it. Example: class DecoratedService extends WebService

[flexcoders] Problem with Cairngorm as RSL inside Flex 3.5 / Air 1.5 application

2010-04-21 Thread julrich_ts
Hi everybody,I have a problem with using Cairngorm as RSL for an AIR-application.We need to use Cairngorm as RSL inside the Air-application because we cannot deploy Cairngorm with the application itself (especially not compiled into it) because of legal reasons (support for components that are

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

2010-04-21 Thread dannyvenier
Why not use a tileList or if spark, a List with tile layout. You can use a custom itemrenderer which can re-render when additional buttons are added and in rendering, can determine the optimum size based on running an algorithm on your dataprovider. There are all sorts of edge conditions to

[flexcoders] Pb with a Carousel

2010-04-21 Thread Christophe
Hello, I use a 3D carousel made by dougmccune. In a new Flex Project the Carousel is working, but when I copy the code in my application, it is very slow. What could be the problem ? Thank you, Christophe Jacquelin,

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

2010-04-21 Thread Alex Harui
Interesting. Try calling validateNow after addPopUp. On 4/21/10 2:55 AM, Nick Middleweek n...@middleweek.co.uk wrote: Hi, When tracing the setter, it is definately getting called. I'm currently just trying to set this.title from the iFormID setter. Here's my setup... I have an MXML

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

2010-04-21 Thread James
Yes but it's the glow effect that I require. when each item is hovered over it needs to glow rather than just having the blue themed square. Have you got any idea how to do this? --- In flexcoders@yahoogroups.com, dannyvenier dannyven...@... wrote: Why not use a tileList or if spark, a List

Re: [flexcoders] as 2 to as 3 question

2010-04-21 Thread Oleg Sivokon
You have already found a tool to decompile it, try finding an tool that will code that for you too ;)

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

2010-04-21 Thread valdhor
OK, I did some googling and this looks like exactly what you are after... http://flexaired.blogspot.com/2008/07/sample-image-tile-list.html --- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote: Yes but it's the glow effect that I require. when each item is hovered over it

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

2010-04-21 Thread Nick Middleweek
Alex, That has fixed it but has now made me realise I'm initialising my private var _iFormID : String = ; And the first time I was opening the Popup, I was setting the .iFormID = , so the setter was *not* getting called. I'm now initialising it to null and it's working fine... Thanks for your

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

2010-04-21 Thread James
Thanks so much for helping me out valdhor. I've been racking my brains trying to find it. I've even been trying to draw circles which glow inside the drawselectionindicator of my tilelist component but that would look a bit bland and is a pain to position them. In that code you found there are

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

2010-04-21 Thread valdhor
I also looked at TourDeFlex to get some ideas. Here is a small example that I created that shows how to create a custom component as well as do the Glow effect on an image. (I got the image from downloading the file inside TourDeFlex under Glow): Application: ?xml version=1.0 encoding=utf-8?

[flexcoders] Images not getting reloaded when source changes?

2010-04-21 Thread Peter Davis
I'm trying to fix a *very* simply app. that just displays some images, and is supposed to refresh the images when their URL parameters change. In particular, these are supposed to be images of data tables, and the query string specifies a table style, a text color and a border color. The

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

2010-04-21 Thread James
Another superb example mate. Thanks a lot. That's a great use of a repeater/custom component. I don't need to worry about width as if I used that I could probably leave the width out and allow it t auto adjust based on the size of my text. Plus the images I'm using are already up on the net and

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

2010-04-21 Thread handitan
You're not reading the qs correctly. I am reposting my qs here: I have a diff question relating to this caching issue. My app is composed with a main-swf, a library-swf (RSL), and several module-swfs. To my understanding, this incrementing-build-version solution only applies to the main-swf.

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

2010-04-21 Thread James
Valdhor I've implemented the code from the last example you gave me and visually I have it working perfectly now, converting to color/grayscale, glowing/unglowing everything. I only have one problem with it which is I'm totally unsure as to how to get it to simulate the selecteditem click in

Re: [flexcoders] Drag and drop vs scrolling

2010-04-21 Thread Richard Rodseth
Thanks. I was able to fix the highlighting issue by modifying some code that used listData.rowIndex to use calculateDropIndex() instead. Autoscroll doesn't work, but I can live with that. On Tue, Apr 20, 2010 at 11:41 PM, Alex Harui aha...@adobe.com wrote: Some folks have tried making the

[flexcoders] Re: Efficient SOAP WebService invocation

2010-04-21 Thread Mike
Once created, the WebService and Operation objects can be used many times, including multiple concurrent invocations. I am putting together a manuscript on enterprise-grade web services. You can track progress at http://slinnbooks.com and/or follow me on twitter: mslinn. Mike

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

2010-04-21 Thread James
Basically what I mean is I previously had a combo box populated by an array collection that contained the property categoryid and a tilelist populated by an array collection that also contained the property category id. So therefore when a user selected an item in the tilelist only the items

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

2010-04-21 Thread vijay chaudhary
Following code when run with flash 9.0.24 shows ADG grid lines properly. Scroll to the very end horizontally. Same code run with 10.0.0 and up makes the grid lines disappear towards the end. Scroll to the very end horizontally. Is this a bug with newer flash version(s). If so how could this be

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

2010-04-21 Thread valdhor
The way I would do it is to have a click event listener in the custom component that would dispatch a custom bubbling event that the application can listen for and handle. Modified example follows: Application: ?xml version=1.0 encoding=utf-8? mx:Application

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

2010-04-21 Thread valdhor
Ooops. That should have been MyImageComponent.mxml instead of MyCustomComponent.mxml. BTW, where are you from? I am an ex pat Kiwi now living in the states. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: The way I would do it is to have a click event listener in the custom

[flexcoders] Error #2014 when trying to use FileReference.save()

2010-04-21 Thread dustyjewett
I've searched high and low, but cannot find ANY reference to people having this issue. This is not intermittent, happens every time, but only in one application, while another application (running same code, from a swc) can save files just fine. Here is the error itself: Error: Error #2014:

Re: [flexcoders] Images not getting reloaded when source changes?

2010-04-21 Thread Alex Harui
Simplify the test case further. Just press a button and change the image source. Then set a breakpoint in Image.as or SWFLoader.as and see what it is doing. On 4/21/10 12:20 PM, Peter Davis p...@peterdavis.info wrote: I'm trying to fix a *very* simply app. that just displays some