Re: [flexcoders]Architect an image gallery transition effect - design suggestions

2009-02-12 Thread dorkie dork from dorktown
I got it. I'm using a few images and manually playing the transitions when I need them. Thanks guys :) On Wed, Feb 11, 2009 at 9:49 PM, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: @Michael - I was thinking about that but I'm wondering how to structure it where I can

[flexcoders] RSL and RT loading CSS

2009-02-12 Thread reflexactions
I have an application that uses RSL's. I also have a couple of CSS's files containing embeded images etc. that are set to compile to swf and are loaded at run time. When I run the application it loads all the RSL's from the same folder as the application as the root gets set automatically to

[flexcoders] Extended DataGridColumn does not display in design mode

2009-02-12 Thread fourctv
I have subclassed DataGridColumn but for some reason it does not render in design mode. Compiles and runs fine, no problem there. All myDataGridColumn has is a couple extra properties. No code, no overrides, except for a call to super() in the constructor. I checked DataGridColumn's source

[flexcoders] legend and legenditems

2009-02-12 Thread Kenneth Sutherland
I have a pie chart with a legend and I've created code that when you itemMouseOver the legend it finds out what item it was over and highlights the appropriate segment in the pie chart. My issue is that between the square marker item and the text in the legend the hit area can't include this

Re: [flexcoders] Re: Video Frame Problem

2009-02-12 Thread vinod kumar
Hi, In this application i have used videodisplay component.Instead of videodisplay component , if i use the netstream classs can i solve the frame problem.. CurrentFPS method is there in netstream class. Using this method we can get the current frame. But we can only seek time not frames.

[flexcoders] HttpService headers

2009-02-12 Thread Pruitt, Byron S
This seems to be an age-old issue. I need to set the Authorization header for GET requests. I have no cross-domain issues. Everything is sent to the same server. I found the following adobe TechNote: http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403184sliceId=1 appears to

[flexcoders] Binding Array to Effect Questions

2009-02-12 Thread flexlingie
I have an array that I'm dynamically updating while my application runs. I've declared the array bindable: [Bindable] public var myArray : Array = new Array(); Then I have a Glow effect: mx:Glow id=myGlow color=0xFF repeatCount=0 strength=100 targets={myArray} perElementOffset=250

[flexcoders] Re: SWFLoader and LocalConnection

2009-02-12 Thread ronaldk999
Hi Alex, thanks for the hint. I thought new instanciating the local connection object in my client swf should do the job but I had to close the connection too. Now, that code works for me: (Really strange that I create a new localconnection object and then close it ... But maybe the

[flexcoders] Newbie Help

2009-02-12 Thread ksunair
Hi All, I am very new to Flex as a matter of fact I just wrote hello world :) Anyway, I am evaluating Flex against SilverLight for our new development. Our current web app is legacy ASP (not ASP.Net) and I have completed a prototype for SilverLight and as a C# developer I was able to get it

[flexcoders] Custom Flex Components in AI come out warped...

2009-02-12 Thread Kevin M
Hello, I am new to the group, but not new to flex and I am an absolutely horrible designer, so please be gentle if I have made a stupid error... Well, my question is regarding the Flex Component Graphics that can be customized in Flash, Illustrator, Photoshop and maybe other Adobe design

Re: [flexcoders] as3 .swf loaded through as2 swf - will it work?

2009-02-12 Thread Kevin M
Can you wrap the AS2 .swf in an AS3 class and the call from the parent (the AS3 container)? From: grimmwerks gr...@grimmwerks.com To: flexcoders@yahoogroups.com Sent: Wednesday, February 11, 2009 5:11:07 PM Subject: [flexcoders] as3 .swf loaded through as2 swf

RE: [flexcoders] Custom Flex Components in AI come out warped...

2009-02-12 Thread Kenneth Sutherland
Visit http://www.scalenine.com/ this contains loads of themes which you can look at the source to see how they've done it. Also this is a article using CS3 http://www.adobe.com/devnet/flex/articles/skins_styles.html Kenneth. From: flexcoders@yahoogroups.com

[flexcoders] Question for LCDS Development?

2009-02-12 Thread markflex2007
Hi, I want to know how to deploy my java code to LCDS server. Do I have to copy *.class files to WEB-INF\classes fold or I have to copy jar files to WEB-INF\bin folder. Please give me a idea.Thanks Mark

[flexcoders] Manually Dispatching Creationcomplete event

2009-02-12 Thread kotha poornima
Hi all, Can anyone help me how to dispatch creation_complete event manually. In my project i am using a viewstack with three canvas under it.And for each canvas one datagrid is there. A vbox is holding this viewStack and vbox also has maximize functionality. When the user click on maximize

[flexcoders] Re: portlets in Flex

2009-02-12 Thread greggcaines
Thanks for the reply... As far as I can tell though, the support for 'untrusted' apps in the Marshall Plan primarily covers security concerns, ie Can this swf I loaded from from untrustedDomain.com access all the same services that my app can? Can it still access its own services from

RE: [flexcoders] Re: portlets in Flex

2009-02-12 Thread Gregor Kiddie
Ok sorry, mis-read your question! Someone will correct me here, but the Flash Player is single threaded. If that thread screws up (exception of some description), it cannot be trusted to be stable anymore, so I doubt what you are actually looking for is possible. In java, I'd spawn threads

[flexcoders] How to print content from UIComponent?

2009-02-12 Thread flexawesome
Hey there, I was trying to print my content from UIComponent and it didn't work. Is there any thing I need to take care about it? You may check the code by clicking below... http://privatepaste.com/e5NGNtrsny Thank you

Re: [flexcoders] Re: portlets in Flex

2009-02-12 Thread Paul Andrews
I think you're right Gregor, but I think that the OP raises an interesting question - how can I use an external swf and sandbox it so that it cannot possibly bring my application down? I really wonder when the player will go multi-threaded and be able to take advantage of multi-core

[flexcoders] Re: ctrl + mousewheel

2009-02-12 Thread flexaustin
Yes, its on a MAC. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Cool Trick. Is this on the Mac because it doesn't do it for me on a PC. Could this be a Mac Preference setting? --- In flexcoders@yahoogroups.com, flexaustin flexaustin@ wrote: So something I

[flexcoders] Loader URLRequest and reuse

2009-02-12 Thread flexaustin
Have a stumper question. Is there a way in a AS project to load an image (my.jpg) via a Loader/ URLRequest then store this returned my.jpg in a var and use it several times, say I wanted to create 100 of my.jpg? And if so will it save on memory? Or if I create 100 Loader objects and each one

[flexcoders] Fix DataGridColumn width at runtime?

2009-02-12 Thread znthmgreen
Specifically, I need to resize a column to fit tight around the text that is extracted from the dataProvider using the labelFunction: mx:DataGridColumn fontFamily=Courier labelFunction=get_text resizable=false/ And the function inside a Script block: private function

[flexcoders] Re: Loader URLRequest and reuse

2009-02-12 Thread flexaustin
Or maybe their is a different way to achieve the same end result by importing the image via a loader and creating a bitmapdata copy of it? TIA --- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: Have a stumper question. Is there a way in a AS project to load an image

[flexcoders] Re: How to set the endpoint address in Coldfusion side?

2009-02-12 Thread valdhor
I would recommend looking through the tutorials at http://flexcf.com/ especially the one Simple RemoteObject Tutorial. --- In flexcoders@yahoogroups.com, markflex2007 markflex2...@... wrote: Hi I am doing an AIR application and the coldfusion server in a network pc(192.168.0.181).the

[flexcoders] Re: How to print content from UIComponent?

2009-02-12 Thread flexawesome
If I changed it to this, the button can be printed. printJob.addObject( this, FlexPrintJobScaleType.NONE); hhuumm... how can I print the entire UIComponent which contains a shape object only? --- In flexcoders@yahoogroups.com, flexawesome flexawes...@... wrote: Hey there, I was

re: [flexcoders] Newbie Help

2009-02-12 Thread Wally Kolcz
1.) Flex is just an SWF file. You can set the application to any size and embed it as a SWF. 3.) Flex has a really good printing solution allowing you to add elements to a print job and control the order of printing. I believe that AlivePDF can convert and export Flex information as a PDF

Re: [flexcoders] AIR Application optimizing...

2009-02-12 Thread Tom Chiverton
On Wednesday 11 Feb 2009, nathanpdaniel wrote: would bring to cut out 200-300kb from an AIR application. Anyone else have any thoughts on it? It's being distributed on really cheap USB keys ? -- Tom Chiverton Helping to autoschediastically monetize compelling meta-services

[flexcoders] Access to image bits

2009-02-12 Thread christophe_jacquelin
Hello, I want to make an image processing application. I have to access directly to the image bits of the image (DataBits). How to access bitmaps ? Where can I fin examples of an image class ? Thank you, Christophe,

[flexcoders] Drawing graphics on an image

2009-02-12 Thread christophe_jacquelin
Hello, I want to draw graphics (graphics.lineto) on an existing image, but the lines does not appear. Is it possible to make graphics on an image ? Thank you, Christophe,

[flexcoders] Re: HttpService headers - age old problem

2009-02-12 Thread valdhor
I found this: http://stackoverflow.com/questions/490806/http-basic-authentication-with-httpservice-objects-in-adobe-flex-air Does it not work? --- In flexcoders@yahoogroups.com, stevepruitt97 steve.pru...@... wrote: This seems to be an age-old issue. I need to set the Authorization

[flexcoders] Re: HttpService headers - age old problem

2009-02-12 Thread stevepruitt97
It might for Air applications, but not for browser Flex applications. My app is not an Air app. Thanks, -S --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: I found this: http://stackoverflow.com/questions/490806/http-basic-authentication-

[flexcoders] Events and Child SWFs

2009-02-12 Thread stldvd
Hi guys, I've got a parent application with a 'delete' button. When it's clicked, I want to set a flag in a child swf, which is loaded via SWF loader. So in the parent app on the button's click event I'm dispatching an event: dispatchEvent(new Event(inDeleteMode)); In the child SWF's init

Re: [flexcoders] Events and Child SWFs

2009-02-12 Thread Steve Mathews
You are assigning the listener to the wrong object. this is your child swf, but it is the parent that dispatches the event. Depending on the rest of the app this.parent might work. So: this.parent.addEventListener(inDeleteMode, deleteModeHandler); Steve On Thu, Feb 12, 2009 at 10:44 AM, stldvd

[flexcoders] Re: Events and Child SWFs

2009-02-12 Thread stldvd
Hi Steve, But I need the child swf to react, not the parent. So I think the listener has to be in the child, not the parent. David --- In flexcoders@yahoogroups.com, Steve Mathews happy...@... wrote: You are assigning the listener to the wrong object. this is your child swf, but it is the

re: [flexcoders] Re: Events and Child SWFs

2009-02-12 Thread Wally Kolcz
What happens if you set you dispatchEvent to bubble? From: stldvd stl...@yahoo.com Sent: Thursday, February 12, 2009 10:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Events and Child SWFs Hi Steve, But I need the child swf to react, not

[flexcoders] Re: ctrl + mousewheel

2009-02-12 Thread valdhor
So, could it be a preference or a Feature on the Mac rather than Flex/Flash specific? --- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: Yes, its on a MAC. --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote: Cool Trick. Is this on the Mac because it

RE: [flexcoders] Re: Events and Child SWFs

2009-02-12 Thread Tracy Spratt
You are misunderstanding how listeners work. You add the listener to the component that *dispatches* the event, and have it call a method where you want the action to take place. parent just goes up one component. The surest way to do this is to use

[flexcoders] Idiots guide to crossdomain.xml

2009-02-12 Thread Wally Kolcz
I am pulling my hair out with the new requirements for the Flash Player 10 and crossdomain.xml... There is not one good place for a simple explaination. I have a web site: http://www2.med.umich.edu/prmc/af/ It is also being pushed by this domain: http://www.victorsvaliant.org/af/ When I go to

RE: [flexcoders] Re: Events and Child SWFs

2009-02-12 Thread Wally Kolcz
I thought the child of the parent (main application) would be up the chain. The child has to listen and react to the event dispatched by the main application. I've got a parent application with a 'delete' button. When it's clicked, I want to

[flexcoders] Re: Flex End-User Documentation Tools

2009-02-12 Thread limscoder
--- In flexcoders@yahoogroups.com, dthomp325 dthom...@... wrote: Are there any tools available for creating in-application end-user documentation? So this question either has a really obvious answer, or I'm not being specific enough I'm looking for tools to put together end-user help

[flexcoders] Loading properties files at runtime

2009-02-12 Thread Mike Chang
Hi, Is it possible to localize Flex application in a way that properties file can be loaded at runtime? I know they can be made into resource modules, but I want to avoid compiling those too. Thanks, Mike

[flexcoders] Re: HttpService headers - age old problem

2009-02-12 Thread valdhor
Sorry, misread the bit about it being a GET request. It seems this bug is still around according to this blog post: http://blog.flexmonkeypatches.com/2008/10/22/sending-flash-player-http-headers-for-urlrequest-httpservice-and-webservice-in-flex/ It worked successfully for me using a POST

[flexcoders] Re: Manually Dispatching Creationcomplete event

2009-02-12 Thread valdhor
The other two canvas's have not been instantiated yet so they will be null. The way I would do it is create a public boolean (Say isMaximized); Each canvas can check this flag on instantiation and, if true, add the column. --- In flexcoders@yahoogroups.com, kotha poornima poorni_ag...@... wrote:

[flexcoders] AIR uninstall shortcut

2009-02-12 Thread arieljake
I want to file a bug with Adobe requesting that a shortcut to uninstall an AIR program be added to the program group along with the shortcut to the program, because I have users who don't immediately think to use the Add/Remove programs. But on the bugs.adobe.com/flex website, I can't tell which

[flexcoders] Custom Binding Question

2009-02-12 Thread pliechty
I am using custom binding in one of my classes. I have one problem. I fire an event when a property is set, but the bound object is an mxml component that has not been created yet. Normal binding will wait until it is created and then set the bound value. How do I mimic this behavior in a

[flexcoders] 15 seconds timeout will a progress bar help?

2009-02-12 Thread flexaustin
So I have a project that needs to build 1000 sprites on stage that contain some tiny bitmap's but this is happening on startup in an all AS3 project. When the app starts and tries creating and rendering all 1000 items nothing is shown and I get the application hasn't responded in 15 seconds

[flexcoders] Re: Flex End-User Documentation Tools

2009-02-12 Thread jim.abbott45
This topic has come up more than once on FlexCoders. Please do a search for this. That said, the last time it came up, I don't believe that anyone had any brilliant solutions for this challenge. Some people were using various forms of HTML-based documentation; *** but displaying it in a separate

[flexcoders] Re: Events and Child SWFs

2009-02-12 Thread stldvd
Hi Tracy, Thanks for responding. Here is my understanding: 1) The idea behind events and event listeners is that you can dispatch an event anywhere in the app and listen for it anywhere else in the app, assuming that bubbling is set correctly, and/or that you've used

Re: [flexcoders] Re: Events and Child SWFs

2009-02-12 Thread Adrian Williams
Hi Wally, Looking at your question in blue, the simple solution is from your parent app, reference a function in your swf that will set the flag...remember it has to be public for the app to be able to reference it. (parent document) var childSWF:SWFLoader = new SWFLoader();

[flexcoders] Re: Newbie Help

2009-02-12 Thread jim.abbott45
(See responses below...) --- In flexcoders@yahoogroups.com, Wally Kolcz wko...@... wrote: 1.) Flex is just an SWF file. You can set the application to any size and embed it as a SWF. 3.) Flex has a really good printing solution allowing you to add elements to a print job and control the order

[flexcoders] 3D flip effect

2009-02-12 Thread Russ Ferguson
Hi, Im looking to rotate a canvas in 3d space. I know you can do this with gumbo but I wanted to see if you can do it with the 3.2 sdk. All the examples I have found rotate on a slider. Im looking to rotate during a transition. Thanks. ...russ

Re: [flexcoders] AIR uninstall shortcut

2009-02-12 Thread Nate Beck
Launch the AIR file that you used to install the application. This of course won't work if you used a Badge install. But usually you can just open the AIR installer file, and there is an uninstall button. On Thu, Feb 12, 2009 at 10:55 AM, arieljake arielj...@yahoo.com wrote: I want to file

RE: [flexcoders] 3D flip effect

2009-02-12 Thread Ryan Graham
Yeah, it's possible with 3.2. As long as you are targeting FP10, check out the x, y, z, rotationX, rotationY, and rotationZ on DisplayObject in the docs... If you're targeting FP9, it's a much more manual process to organize the math and such... HTH, Ryan From:

RE: [flexcoders] Re: portlets in Flex

2009-02-12 Thread Gregor Kiddie
One of the talks at MAX (Oli Goldmans? Maybe? That's off the top of my head) mentioned it was something that was looked at, and there were significant technical hurdles before it could become a reality. From some of the comments about the amount of resources the Player team have at their

[flexcoders] data loss while saving from Flash CS4 to CS3..

2009-02-12 Thread adobeflexdev1
I have this one Flash CS4 question: I'm getting this error while saving from flash CS4 to CS3 file.. This file contains the following data that will be lost if saved in the Flash CS3 format: - XMP File Info Dialog's metadata. Continue to save? Thanks!

RE: [flexcoders] Re: Events and Child SWFs

2009-02-12 Thread Tracy Spratt
No, you are mistaken. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Wally Kolcz Sent: Thursday, February 12, 2009 1:25 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] 15 seconds timeout will a progress bar help?

2009-02-12 Thread Ryan Graham
In Flex it's Application.scriptTimeLimit. If you're doing an AS3 only project, try checking out the -default-script-limits compiler argument to set a higher time. HTH, Ryan From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Thursday,

RE: [flexcoders] Re: Events and Child SWFs

2009-02-12 Thread Tracy Spratt
...listener in the same component that dispatches the event... No, not quite. When you do Component.addEventListener(), you are telling the current component to listen to Component for an event and run a method. The declaration happens where you have the handler method, but you call

RE: [flexcoders] 15 seconds timeout will a progress bar help?

2009-02-12 Thread Tracy Spratt
Yep, last time I checked, there was an arbitrary maximum of 60 seconds. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Ryan Graham Sent: Thursday,

RE: [flexcoders] Re: Loader URLRequest and reuse

2009-02-12 Thread Ryan Graham
Yep - load the image with a loader, then dump it to a BitmapData object. Create 100 Bitmap objects that reference the single BitmapData object. From the docs: A Bitmap object can share its BitmapData reference among several Bitmap objects, independent of translation or rotation properties.

[flexcoders] How to reload a SWFLoader swf in place

2009-02-12 Thread Adrian Williams
Hi All, Have our dashboard application with numerous widgets (individual panels with a swf loaded with via a SWFLoader. We have a scenario (or six) where a user may change data in one widget that needs to be reflected in another widget. Short of making them completely reload the app

[flexcoders] Adding space in between each of my custom Item Renderers in a TileList

2009-02-12 Thread Blue
Hello all, How would you add spacing in between each item of a TileList...Just adding padding left and right is not working for me. I think it is due to having a custom item renderer. Is there a trick to doing this with a custom item renderer? Thank you, Blue

[flexcoders] A very simple code of ImageSnapshot

2009-02-12 Thread flexawesome
I was trying to take snapshot of the uiHolder. However, I got an error msg of == ArgumentError: Error #2015: Invalid BitmapData. the simple code is here: http://www.privatepaste.com/b7gooBq4EJ Do you have any suggestions? Thank you so much

[flexcoders] Re: How to set the endpoint address in Coldfusion side?

2009-02-12 Thread jer_ela
That's the default. I'm not sure how or even if you can change it. It's worked for every CF server I've worked with. It looked like you were going against a specific server, in which case see if it works and if so don't worry about cases where it won't. If you need to be able to talk to

[flexcoders] Re: Drawing graphics on an image

2009-02-12 Thread jer_ela
The graphics object for the image or the container it is in, is below the content so it is hidden behind the image. Stick a display object such as a sprite on top or it and draw on its graphics object. --- In flexcoders@yahoogroups.com, christophe_jacquelin christophe_jacque...@... wrote:

Re: [flexcoders] Adding space in between each of my custom Item Renderers in a TileList

2009-02-12 Thread Manu Dhanda
Just give padding to the itemrenderer's and you are done. Cheers!! ThinkBlue wrote: Hello all, How would you add spacing in between each item of a TileList...Just adding padding left and right is not working for me. I think it is due to having a custom item renderer. Is there a trick

RE: [flexcoders] 3D flip effect

2009-02-12 Thread Russ Ferguson
Thanks. Im targeting air 1.5. it seems to be working but I want to rotate from center and not from the top left hand corner. I think it has to do with matrix3D Any thoughts? Thanks ...russ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Ryan Graham

[flexcoders] [Req] What do you (love|hate|wish for) about (mx.*|Cairngorm|PureMVC|Mate|Prana|BlazeDS)?

2009-02-12 Thread Josh McDonald
Hey guys, I have a small request: I'd like to know what grinds your gears, and what makes you smile about the Flex library, and about whatever other libraries you use on a daily basis to get your work done. If you have time, please post here or to me off-list a quick summary of your thoughts,

[flexcoders] Re: How to set the endpoint address in Coldfusion side?

2009-02-12 Thread Michael VanDaniker
The flex2gateway is defined in the services-config.xml file found in your_cf_install_path/wwwroot/WEB_INF/flex/ Depending on how you set up your flex project, this file will be used during compilation so your remote objects will know what 'destination=ColdFusion' actually means. After you edit

[flexcoders] Does ASDoc process metadata tags?

2009-02-12 Thread foobone9
I have classes that are marked with [Managed] and [Bindable] tags. Even though these objects do not extend eventDispatcher I can call dispatchedEvent, addEventListener, and removeEventListener on them. I assume this is because the compiler is wrapping the dispatch code around the object when it

[flexcoders] How to read the received ByteArray as SQLite?

2009-02-12 Thread handitan
Hi all, I have a .Net webservice the bytearray-conversion of a SQLite file. My client call the webservice and I received the byteArray as expected but I couldn't treat it as SQLite until I do the following: - Write the byteArray to a file with .db extension. - Then open the SQLConnection to that

[flexcoders] The future of Flex in your hands: the case against the Fx prefix

2009-02-12 Thread Jay Araujo
Hi Evrybody, I just want to bring to the attention of the community that a very important decision could be taken in the next coming days that will affect the future of Flex. The case against the 'Fx' prefix has been advocated by such voices as:http://manishjethani.com/blog/

[flexcoders] Re: RSL and RT loading CSS

2009-02-12 Thread Darrell Loverin
The problem with modules loading the same RSLs will be fixed in Gumbo i10 http://bugs.adobe.com/jira/browse/FB-15470. The StyleManager.loadStyleDeclarations issue sounds like the same kind of problem. To work around the problem I would compile my CSS swf and modules in a separate project where

[flexcoders] Re: RSL and RT loading CSS

2009-02-12 Thread Darrell Loverin
The problem with modules loading the same RSLs will be fixed in Gumbo i10 http://bugs.adobe.com/jira/browse/FB-15470. The StyleManager.loadStyleDeclarations issue sounds like the same kind of problem. To work around the problem I would compile my CSS swf and modules in a separate project where

[flexcoders] Re: A very simple code of ImageSnapshot

2009-02-12 Thread flexawesome
I have also tried this code, it didn't work as well -_-- would u pls take a look? thank you == ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute initialize=init(); mx:Script ![CDATA[ import

RE: [flexcoders] 3D flip effect

2009-02-12 Thread Ryan Graham
I believe so... the docs suggest you have to hack it since the registration point is always top left. Do a translation in the negative by half the component's width and height (this will get you centered), rotate it, then do the reverse translation to put it back in it's original spot. This

RE: [flexcoders] Re: A very simple code of ImageSnapshot

2009-02-12 Thread Chet Haase
You're not giving any height to your uiHolder and then you're using the height dimension when creating the BitmapData, so it fails because you're asking it to create a BitmapData with invalid dimensions. Try it with real values for both width and height and you'll get a better result. Note

[flexcoders] Re: How to implement right click drill down for either PieChart or ColumnChart

2009-02-12 Thread sunild999999
--- In flexcoders@yahoogroups.com, tungchau81 tungcha...@... wrote: I have two problems: Problem#1: I know how to create right-click menu using ContextMenu and ContextMenuItem. However, I do not know how to make the right-click menu to show up **if and only if** a user clicks on a wedge

Re: [flexcoders] Loading properties files at runtime

2009-02-12 Thread Haykel BEN JEMIA
I think one solution would be to load the properites file, parse it, extract the key-value pairs and create the resource bundle manually as described here: http://livedocs.adobe.com/flex/3/html/l10n_6.html#164919 Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu,

RE: [flexcoders] How to reload a SWFLoader swf in place

2009-02-12 Thread Gregor Kiddie
have a scenario (or six) where a user may change data in one widget that needs to be reflected in another widget. Why can't you use localconneciton or shared object to move the data rather than doing a reload? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered