[flexcoders] TextInput to allow compact text content

2008-10-29 Thread Chua Chee Seng
Hi all, With reference to https://bugs.adobe.com/jira/browse/SDK-17426 Any idea to have a workaround to make TextInput to allow compact text content? Best Regards, Chee Seng

[flexcoders] Re: Do you use a Mac?

2008-10-29 Thread Haykel BEN JEMIA
Hi, I'm very surprised about the way this thread evolved! I didn't expect such a reaction to the topic! I want to thank you all for your comments and just write down the responses to the questions I posted in the original thread: 1. Do most Flex developers work on Mac? No 2. Are most developers

[flexcoders] Re: Memory issues ... garbage collection only running in IE (not FF or Safari)

2008-10-29 Thread Claudiu Ursica
Here is how we manage collection when it comes to Araay collection. We declare a custom class whic helds an instance of the array collection and an array for fast searching. [Bindable] public class FullGameHistorySuiteStatuses { private var _suiteStatusesArrayCollection : ArrayCollection = new

[flexcoders] Drawing on Charts - pixel perfection?

2008-10-29 Thread jamiebadman
Hi, I'm having some trouble drawing exactly how I'd like to on a chart. I'll post the example code below - but basically the problem appears to be this: I'm trying to draw a rectangle on the background to cover *exactly* half of the background area on the chart. So I have a CartesianDataCanvas

[flexcoders] Re: Memory issues ... garbage collection only running in IE (not FF or Safari)

2008-10-29 Thread andrii_olefirenko
i've tried your example and didn't notice any memory leakage. anyway, why do you need to create components and remove them, and create again the same components? It looks like you made up an artificial problem for yourself :) --- In flexcoders@yahoogroups.com, e_baggg [EMAIL PROTECTED] wrote:

Re: [flexcoders] Daily WTF... Property top not found on mx.containers.HBox and there is no default value.

2008-10-29 Thread Michael Schmalle
Hi, Whenever in doubt always look at the asdoc's before hitting critical mass. :) Also, Flex Builder uses icons next to code completion that give you the type of member as well (event, effect, style or property). Mike On Tue, Oct 28, 2008 at 6:05 PM, Ralf Bokelberg [EMAIL PROTECTED]wrote:

[flexcoders] Flex/Flash news needed for TechNewsFetcher.com

2008-10-29 Thread Robert Walters
Anyone know of any good Flash/Flex news sites that we can add to TechNewsFetcher.com? Thanks...Rob

Re: [flexcoders] Multiple Project deployment

2008-10-29 Thread Howard Fore
Do they need to be separate deployments? Are you just trying to serve different content to users from different countries or will this live on different servers with different deployment and maintenance schedules? If you're going to do different deployments (with different schedules for

Re: [flexcoders] Flex connection to Oracle 10g PL/SQL

2008-10-29 Thread Tom Chiverton
On Thursday 23 Oct 2008, SAAGAR SHETTY wrote: I am a fresher and would like to know if we can connect to mysql too through HTTP Service You will definitely need a server of some sort. Check out the Adobe getting started articles in the DevNet on adobe.com -- Tom Chiverton Helping to

[flexcoders] RangeError

2008-10-29 Thread Easy Flexing
Hi All, I am creating a multiple row tabs using Flex 2. Using 2 view stacks and a Vbox inside a container and using array as dataprovider to the view stacks. Once, a tab is selected, I remove all the children from the vbox and add my component into it. I created the same multiple row tab

Re: [flexcoders] Drawing on Charts - pixel perfection?

2008-10-29 Thread Tom Chiverton
On Wednesday 29 Oct 2008, jamiebadman wrote: I'm trying to draw a rectangle on the background to cover *exactly* half of the background area on the chart. So I have a Sounds like a job for DataDrawingCanvas from Quietly Scheming: http://demo.quietlyscheming.com/chartBackgrounds/app.html -- Tom

[flexcoders] Yahoo Groups API

2008-10-29 Thread barrymgee
Hi. I am just wondering if there is a AS3 API to allow interaction with Yahoo Groups Messeging. So that I can create a flex dataGrid and load in post's from a specific Yahoo Group message board? Thanks Barry.

[flexcoders] How to Embed an Application that Supports Deep-Linking?

2008-10-29 Thread Alexander Baetz
Hi, for Training i developed an application that uses the Flex 3 Deeplinking-Mechanism. I used the Flex Builder and everything Works perfect when i open the html-file, the flex builder creates. Now i tried to embed the application into an existing page (for example www.mydomain.de/myapp.html

[flexcoders] Re: Drawing on Charts - pixel perfection?

2008-10-29 Thread jamiebadman
Thanks - I just tried this out - but seem to have the same problem. As far as I can make out, the DataDrawingCanvas works in the same way - via the internal chart dimensions as per their axes rather than through pixel co-ordinates within the canvas itself... So to draw the halfway line in my

[flexcoders] Re: Memory issues ... garbage collection only running in IE (not FF or Safari)

2008-10-29 Thread e_baggg
My original mxml was a bad example I guess. In my application, which is a Flex app that has its own windowing (exactly like Windows)...when I add and create Windows and close them, the browser CPU memory always increments (except for IE when I minimize the browswer window and memory is

[flexcoders] Help: Hide AxisRenderer

2008-10-29 Thread cox.blair
Hi All, I've been working on this for some time. How to turn on and off multiple y-axis labels. I can do it, however when you make an AxisRenderer visible=false, the space it occupies remains. What I need to do is add and remove the additional y-axis labels and re-size the chart to accommodate

[flexcoders] Re: Do you use a Mac?

2008-10-29 Thread valdhor
My WinXP machine does not crash per se. After a certain amount of time (24 - 48 hours) it will progressively slow down to the point of unusability. If I leave it too long it becomes so slow that I have to hit the reset button. If I catch it in time, I can get it to restart but it will take over an

[flexcoders] Re: Drawing on Charts - pixel perfection?

2008-10-29 Thread jamiebadman
Reading up some more, it would appear that CartesianDrawingCanvas is intended to be the Flex 3 implementation of Ely's DataDrawingCanvas. It also appears that the functionality for both is to permit drawing on this canvas based on data values in the data. This is the root of my problem though -

[flexcoders] Re: Do you use a Mac?

2008-10-29 Thread Amy
--- In flexcoders@yahoogroups.com, Haykel BEN JEMIA [EMAIL PROTECTED] wrote: Hi, I'm very surprised about the way this thread evolved! I didn't expect such a reaction to the topic! I want to thank you all for your comments and just write down the responses to the questions I posted in

[flexcoders] need your advice on flash or flex

2008-10-29 Thread vuthecuong
On next month I will incharge of web-based app project that: == 1) - Read layers of PSD file (photoshop) then create banner of each layer. - Display images in categories. - Drage and drop image into banner (gif file) frame. - rotate, resize text and image

Re: [flexcoders] Re: Do you use a Mac?

2008-10-29 Thread Tom Chiverton
On Wednesday 29 Oct 2008, Haykel BEN JEMIA wrote: 3. Are their any advantages on using a Mac instead of a PC for Web/Flex development? pedant A Mac is a PC. A Linux machine is a PC. A Windows desktop is a PC. /pedant If you mean 'Windows', say so, don't abuse 'Personal Computer' like we have

Re: [flexcoders] row color in advancedDataGrid

2008-10-29 Thread Tom Chiverton
There's all sorts of ways of doing this from custom renderers to styleFucntion. Take your pic from the archives. -- Tom Chiverton Helping to continually differentiate vertical niches This email is sent for and on behalf of Halliwells LLP.

Re: [flexcoders] Re: Do you use a Mac?

2008-10-29 Thread Fotis Chatzinikos
Are you sure that you cannot run Leopard (MacOSX) on a vm? I recently installed it on my Sony VAIO, so if it runs there it should run on a VM as well... Note: It was not the official DVD but something called kalyway or something like that, if i remember correctly they fix the oficial cds/dvd to

Re: [flexcoders] Re: Do you use a Mac?

2008-10-29 Thread Howard Fore
On Wed, Oct 29, 2008 at 9:59 AM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Haykel BEN JEMIA [EMAIL PROTECTED] wrote: One point though speaks for Mac and it's the fact that you can't run OS X in any virtual machine. So if you develop for OS X, you have to buy a Mac.

Re: [flexcoders] Re: Do you use a Mac?

2008-10-29 Thread Fotis Chatzinikos
stupid reply on a stupid reply: normal pc == windows these days :-) On Wed, Oct 29, 2008 at 5:04 PM, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 29 Oct 2008, Haykel BEN JEMIA wrote: 3. Are their any advantages on using a Mac instead of a PC for Web/Flex development? pedant A

Re: [flexcoders] Re: Do you use a Mac?

2008-10-29 Thread Howard Fore
So far Apple has not changed the software bits that would allow virtualization of OS X without hacking. The hackintosh install may run in VM, not sure. On Wed, Oct 29, 2008 at 9:56 AM, Fotis Chatzinikos [EMAIL PROTECTED] wrote: Are you sure that you cannot run Leopard (MacOSX) on a vm? I

Re: [flexcoders] Re: Drawing on Charts - pixel perfection?

2008-10-29 Thread Tom Chiverton
On Wednesday 29 Oct 2008, jamiebadman wrote: canvas.drawRect(Edge.LEFT,Edge.TOP,6,Edge.BOTTOM); Where the '6' is the halfway point on the chart by virtue of being the closest datapoint. I can't see any way of providing a more accurate If you have something like: mx:verticalAxis

Re: [flexcoders] TY!! - Daily WTF... Property top not found on mx.containers.HBox and there is no default value.

2008-10-29 Thread Adrian Williams
Thanks guys...guess I can't see the forest for the trees...or I'm really just a flex-tard lately! Adrian Michael Schmalle wrote: Hi, Whenever in doubt always look at the asdoc's before hitting critical mass. :) Also, Flex Builder uses icons next to code completion that give you the

[flexcoders] textArea.setFocus();

2008-10-29 Thread tchredeemed
When I launch my application, if I do this: textArea.selectionBeginIndex=10; textArea.selectionEndIndex=20; textArea.setFocus(); Should it not put the cursor into the textArea and have the 10th through 20th characters selected? So that by default, if I put that in creationComplete, and they

Re: [flexcoders] Re: Do you use a Mac?

2008-10-29 Thread Weyert de Boer
Well, Leopard Server runs in a virtual machine. It's supported by VMWare Fusion and Parallels under OSX. Fotis Chatzinikos wrote: Are you sure that you cannot run Leopard (MacOSX) on a vm?

[flexcoders] Re: Drawing on Charts - pixel perfection?

2008-10-29 Thread jamiebadman
Thanks Tom... but that's still working with the data related to the chart rather than the chart dimensions and as such won't work unless your drawing requirements happen to correspond to actual data points. However... I've resolved this now - by creating a CartesianDataCanvas on the chart,

Re: [flexcoders] Re: Drawing on Charts - pixel perfection?

2008-10-29 Thread Tom Chiverton
On Wednesday 29 Oct 2008, jamiebadman wrote: Thanks Tom... but that's still working with the data related to the chart rather than the chart dimensions and as such won't work unless your drawing requirements happen to correspond to actual data points. We use it to draw a cross in the

Re: [flexcoders] need your advice on flash or flex

2008-10-29 Thread Tom Chiverton
On Wednesday 29 Oct 2008, vuthecuong wrote: On next month I will incharge of web-based app project that: - what tool I should use? flash? or flex? or both? or ajax with php? and why? If you are in charge, leave the detailed design decisions to the developers. - about insert flash file

[flexcoders] Re: Daily WTF... Property top not found on mx.containers.HBox and there is no default value.

2008-10-29 Thread Amy
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Whenever in doubt always look at the asdoc's before hitting critical mass. :) Also, Flex Builder uses icons next to code completion that give you the type of member as well (event, effect, style or

Re: [flexcoders] Re: Daily WTF... Property top not found on mx.containers.HBox and there is no default value.

2008-10-29 Thread Adrian Williams
I was wondering the same thing...looks to me like green circle == property blue squares == style lightning bolt == function and no clue what the puffball-like icon is or what it's for Adrian Amy wrote: --- In flexcoders@yahoogroups.com

Re: [flexcoders] Re: Daily WTF... Property top not found on mx.containers.HBox and there is no default value.

2008-10-29 Thread Adrian Williams
Actually, reading Mike's email... green circle == property blue squares == style lightning bolt == event puffball on crack == effect Does this sound right? Also, when looking at the navigator, in class view, the icons can be seen again...sort of green circle == public

RE: [flexcoders] textArea.setFocus();

2008-10-29 Thread Keith Reinfeld
Your application has to get focus before this will work. Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tchredeemed Sent: Wednesday, October 29, 2008 9:30 AM

[flexcoders] Re: Flash Player 10 crashes when NOT in debug player

2008-10-29 Thread dfalling
Thanks- good call. I finally figured out the problem was simply too much happening at the same time on a complex page's creation. I staggered the children creations and got it working. --- In flexcoders@yahoogroups.com, Jon Oxtoby [EMAIL PROTECTED] wrote: You could always throw some alerts

[flexcoders] Re: Memory issues ... garbage collection only running in IE (not FF or Safari)

2008-10-29 Thread andrii_olefirenko
i still think that you could re-use window instances. After all, how many windows a regular human being is capable to deal with at one time - 7, 12,25? You just create a pool of instances and there will be *zero* startup time for the window and *zero* memory increase. Otherwise, you would need to

Re: [flexcoders] Re: Daily WTF... Property top not found on mx.containers.HBox and there is no default value.

2008-10-29 Thread Michael Schmalle
Yup, thats right. Sorry I didn't mention these things, but the puff ball on crack, that is original. I'm sure in future versions there will be even more puff balls to distinguish from. The Java perspective is awesome when it comes this stuff, but Flex code analyzation has a ways to go. Mike On

[flexcoders] Re: textArea.setFocus();

2008-10-29 Thread valdhor
Yes, your application has to get focus. Look at the following... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=onCreationComplete() click=onCreationComplete() mx:Script ![CDATA[ private

[flexcoders] Re: textArea.setFocus();

2008-10-29 Thread tchredeemed
Thanks guys, now I guess my problem is how to give the application focus without clicking on it? parentApplication.systemManager.activate() ? Not sure exactly where to go :)

[flexcoders] Flex builder annoyance - library projects

2008-10-29 Thread diehlryan
Does anyone else find it annoying that you must explicitly specify the classes that are included in your library project via the Flex Library Build Path? This is especially annoying in a team environment when someone else adds a new class, and I have to explicitly add it in order to get a

[flexcoders] Please explain the Tree to me!!!!! Before I die waiting!

2008-10-29 Thread digital_eyezed
Hi, I have a tree filled with an XMLListCollection, all nodes are named node. The structure is like this: node locationid='1' node locationid='3' node locationid='76'/ /node /node but on a much greater scale. Now I have set the Tree component to allowMultipleSelection=true so that the user

[flexcoders] Flex builder 3 Pro not allowing debug.

2008-10-29 Thread gr33neye501
While surfing a website firefox promted and intalled Flash 10, now my Flex builder 3 pro wont debug. can some please guid tell me how i can revert back to Flex builder 3 default setting. and get my debug trace to work. I seem to have flash player 10 active X also installed on my machine. Win XP

[flexcoders] Flex builder 3 pro debugging doesn't work any more.

2008-10-29 Thread gr33neye501
While surfing a website firefox promted and intalled Flash 10, now my Flex builder 3 pro wont debug. can some please tell me how i can revert back to Flex builder 3 default setting. and get my debug trace to work. I seem to have flash player 10 active X also installed on my machine. Win XP Pro.

[flexcoders] ItemsChangeEffect in Tree component don't play

2008-10-29 Thread Marco Catunda
Hello Guys, What's the problem with the following snipet code above? It doesn't play the DefaultListEffect when component is a Tree. Is it a Bug or I forgot something? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:DefaultListEffect fadeInDuration=2000 fadeOutDuration=2000

Re: [flexcoders] Need Guidance for Integrating Flex and ASP.NET

2008-10-29 Thread Tom Chiverton
On Sunday 26 Oct 2008, Craig wrote: What I would really like is for the back end to remain ASP.NET and SQL and when a chart is needed, Flex will launch a 'pop up window' or navigateToUrl() sizable component module that displays the chart information - in context with the asp.net datatable of

Re: [flexcoders] Flex builder annoyance - library projects

2008-10-29 Thread Michael Schmalle
Hi, I can say ANT is your answer, build the SWC using it. I have very complex libraries, and all I maintain is a simple ant xml included file (that is imported from the master build file, this includes multiple project library builds at once) that lists the front end class clients, the linker

Re: [flexcoders] Flex builder 3 pro debugging doesn't work any more.

2008-10-29 Thread Tom Chiverton
On Wednesday 29 Oct 2008, gr33neye501 wrote: Perhaps there is a way to use Flex builder 3 pro and the flash10 debug. If so how to i configure this. I have little experience in this. Yes, install it. The list archives and/or Google have endless instructions. -- Tom Chiverton Helping to

Re: [flexcoders] Basic Tab Question

2008-10-29 Thread anuj sharma
Hi Josh I guess you found that for me. Awesome , i hope i would be able to style that and embed any image on that. Thanks a lot for your help Josh. I appreciate that. Anuj On Tue, Oct 28, 2008 at 5:59 PM, Josh McDonald [EMAIL PROTECTED] wrote: Erm, that would be vertical :D On Wed, Oct 29,

Re: [flexcoders] Re: Do you use a Mac?

2008-10-29 Thread Brendan Meutzner
Tom, Hi I'm a Mac... and I'm a PC... Intentionally or unintentionally Apple as branded Windows as PC... thus the common use. Brendan On Wed, Oct 29, 2008 at 9:04 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 29 Oct 2008, Haykel BEN JEMIA wrote: 3. Are their any advantages on

Re: [flexcoders] Flex builder annoyance - library projects

2008-10-29 Thread Farid SALAH
Le 29 oct. 08 à 17:06, Michael Schmalle a écrit : Hi, I can say ANT is your answer, build the SWC using it. I have very complex libraries, and all I maintain is a simple ant xml included file (that is imported from the master build file, this includes multiple project library builds

Re: [flexcoders] Re: Do you use a Mac?

2008-10-29 Thread Howard Fore
I stand (sit, actually) corrected. That's a change for Leopard and only available in the server. However I couldn't find any basis to my assertion that it was a technical issue, only a licensing issue. You still have to have the licenses for each virtualized copy however. On Wed, Oct 29, 2008 at

Re: [flexcoders] Re: Do you use a Mac?

2008-10-29 Thread Brad O'Hearne
As I recall, the PC term was originally associated with early IBM model computers, was it not? I believe as Windows embraced the IBM PC architecture, while the Mac OS did not, the PC generally became synonymous with Windows (the dominant OS on the IBM PC platform). It is a fairly pedantic

[flexcoders] Re: Drawing on Charts - pixel perfection?

2008-10-29 Thread EddieBerman
Sounds like you've solved your problem, but my take is that for pixel drawing you'd be better off using a ChartElement object rather than the DataDrawingCanvas which is an abstraction more appropriate for data coords. For example - take a look at the framework code in GridLines.as. It's all

[flexcoders] Flash CS4 - Flex Harmony

2008-10-29 Thread djhatrick
Hi, I installed CS4 and what happens is when I go to compile Flex or Actionscript projects in Flex Flash cs4 starts. Any suggestions? Also how do I configure Flex to use the stand alone Flash 10 debug player for actionscript projects? Thanks, Patrick

[flexcoders] Truncating LinkButton

2008-10-29 Thread Richard Rodseth
Is there a component that will act like a LinkButton, but truncate its label with an ellipsis the way a Label can? Thanks.

[flexcoders] Re: Truncating LinkButton

2008-10-29 Thread Richard Rodseth
Oh, it looks as though LinkButton does truncate. I think in my test it was small enough that there was only room for one character, and not the elipsis. On Wed, Oct 29, 2008 at 10:22 AM, Richard Rodseth [EMAIL PROTECTED]wrote: Is there a component that will act like a LinkButton, but truncate

RE: [flexcoders] Please explain the Tree to me!!!!! Before I die waiting!

2008-10-29 Thread Ryan Graham
Instead of going through the index, you could iterate the selectedItems and use e4x syntax to get the attribute you're looking for. selectedItem and selectedItems are a direct link to the object in the dataprovider, in this case XML objects: private function

Re: [flexcoders] Re: Do you use a Mac?

2008-10-29 Thread dnk
On 28-Oct-08, at 7:42 PM, Paul Andrews wrote: I have to say that I'm with Dmitri on this one - I can't remember the last time my win XP laptop crashed. I am a systems tech, who programs flex as a hobby, and coming from a background of dealing with multiple OS systems (mac, win, linux,

Re: [flexcoders] Re: Do you use a Mac?

2008-10-29 Thread dnk
On 29-Oct-08, at 6:59 AM, Amy wrote: My husband's Dell dual-boots to Mac... -Amy Keep in mind that he is probably using the OSX 86 (hacked os x to run on other intel hardware) install, and is prone to some issues that fall outside of what an experience would be running a regular mac

Re: [flexcoders] Re: Do you use a Mac?

2008-10-29 Thread dnk
On 29-Oct-08, at 6:56 AM, Fotis Chatzinikos wrote: Are you sure that you cannot run Leopard (MacOSX) on a vm? The desktop, no (unless it is hacked?), however if you run OS X server, it is supported in VM's (IE I think VMWare). d

[flexcoders] File name issue (php created file)

2008-10-29 Thread gabriela.perry
Hi. Probably this is not a Flex problem, but, if someone can point me to a link, a hint, anything... I allready wasted my day on this. I'm loading xmls file using URLLoader. These files are created and edited on Flex, and saved on the server by a php script. If the file has no special caracters

[flexcoders] Re: Flex builder annoyance - library projects

2008-10-29 Thread diehlryan
Agreed, in fact we're already using Ant in conjunction with our Continuous Integration system. I find that it's a must in a larger project. I've run into cases where FB just plain doesn't report compilation errors, even after a clean. I'm just wondering whether others feel my frustration in

[flexcoders] Re: Extending the Datagrid to enable paging

2008-10-29 Thread erdal
Is there a Flex 3 version of these examples out there by any chance ? --- In flexcoders@yahoogroups.com, Gregor Kiddie [EMAIL PROTECTED] wrote: Matt Chotin (yes THE princess himself, *ahem*) wrote an excellent series of articles back in the mists of time that is an excellent primer of

[flexcoders] Re: Extending the Datagrid to enable paging

2008-10-29 Thread erdal
Check this out. http://www.badongers.com/blog/?p=73 --- In flexcoders@yahoogroups.com, oneworld95 [EMAIL PROTECTED] wrote: Hi, all. For a current project, I need to extend the DataGrid to enable paging of the data. Can you point me to some examples of how to do this sort of customization?

[flexcoders] Binding textinput width to datagrid column width?

2008-10-29 Thread biosmonkey
I must be doing something dumb, but I can't understand why this isn't working. I have a datagrid with say, 2 columns. Under the datagrid, I have two text input controls next to each other in an hbox. I want the text input controls to match the width of the datagrid columns directly above them.

RE: [flexcoders] How to Embed an Application that Supports Deep-Linking?

2008-10-29 Thread Alex Harui
There might be security issues going across different domains. Other than that and making sure you copied all the code including history.js, it should work From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Baetz Sent: Wednesday, October 29, 2008 5:13 AM To:

RE: [flexcoders] File name issue (php created file)

2008-10-29 Thread Ryan Graham
I'm not too familiar with the php side of things, but this seems like a URI encoding issue. Any special characters should be encoded to be used in a URLRequest, for example: unencoded: particularização.xml encoded: particulariza%C3%A7%C3%A3o.xml Flex provides encodeURI() and decodeURI()

[flexcoders] Re: Please explain the Tree to me!!!!! Before I die waiting!

2008-10-29 Thread digital_eyezed
Thanks for your help, I think I was close to giving up there, was even considering returning to the java and returning an arraylist instead of the XML. Your a star! Thanks again. Iain --- In flexcoders@yahoogroups.com, Ryan Graham [EMAIL PROTECTED] wrote: Instead of going through the

RE: [flexcoders] Re: Memory issues ... garbage collection only running in IE (not FF or Safari)

2008-10-29 Thread Alex Harui
Setting Image to null is not good enough. Call load(null) on the Image before removing it from the display list and releasing references to it. GC() is not deterministic. The only ways to test are to use the profiler, or run the app over thousands of actions and see if you eventually reach a

[flexcoders] Re: textArea.setFocus();

2008-10-29 Thread valdhor
Unfortunately, you can't. The browser has focus until the user clicks on your app. BTW. Does anyone know if this is rectified with FP10? Or is it just something we have to live with from the browser vendors? --- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote: Thanks guys,

RE: [flexcoders] Binding textinput width to datagrid column width?

2008-10-29 Thread Ryan Graham
You could manually update the TextInput fields' widths by capturing the columnStretch event. The initial binding in this example was used to match the textinputs' widths when the app first fires up -- these could also be set on creationComplete to avoid this binding: mx:DataGrid

RE: [flexcoders] Re: textArea.setFocus();

2008-10-29 Thread Blake Barrett
There is some JS you can run in the wrapper HTML that will give focus to the SWF, but it doesn't work in FF2 or Chrome. Blake From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Wednesday, October 29, 2008 11:35 AM To:

RE: [flexcoders] Flex builder 3 pro debugging doesn't work any more.

2008-10-29 Thread Blake Barrett
You need to find and download the debug version of the flash player. The standard install that you get while surfing the web is the normal player version. Blake From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gr33neye501 Sent: Wednesday,

[flexcoders] Re: UI component, a set function creationComplete

2008-10-29 Thread Eric Cooper
Mike, I am wondering if what I am experiencing with createChildren() is similar to what you've described below. I am subclassing UIComponent - and I read that it is best to create children in a createChildren() method. However, I am tying into someone else's existing code and she has done

[flexcoders] Invalid Embed directive

2008-10-29 Thread oneworld95
Hi. I've got a Style tag with the following style in it, Application { background-image: Embed(source=global/media/flowers.jpg); } I keep getting the Invalid Embed directive in stylesheet - can't resolve source. I know the image exists and is at that path. Help!

Re: [flexcoders] Re: UI component, a set function creationComplete

2008-10-29 Thread Michael Schmalle
Hi Eric, So, my question is does your approach address this by creating children in commitProperties() Yes, This is basically what I do with all renderers in my commercial components. I rarely use createChildren(). The only time I use createChilren() is when the composite is 100% owned by it's

RE: [flexcoders] Invalid Embed directive

2008-10-29 Thread Jim Hayes
It can be confusing as to where the file thinks it is at compile time - in fact I remain fairly confused about it :( You might try /global/media/flowers.jpg or ./global/media/flowers.jpg if you need to go up a directory then ../ works fine. -Original Message- From:

RE: [flexcoders] Invalid Embed directive

2008-10-29 Thread Ryan Graham
The compiler expects that image path to be in one of your project source folders during build. If that path exists in your bin folder only, the compiler will never see it for an embed operation. HTH, Ryan From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Invalid Embed directive

2008-10-29 Thread Ryan Graham
And the path is relative to where you are declaring the mx:Style that loads the stylesheet file, of course. :) HTH, Ryan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Graham Sent: Wednesday, October 29, 2008 1:55 PM To:

Re: [flexcoders] Invalid Embed directive

2008-10-29 Thread Douglas Knudsen
and if you are compiling the CSS for runtime loads, the path will be different yet again Douglas Knudsen http://www.cubicleman.com this is my signature, like it? On Wed, Oct 29, 2008 at 4:59 PM, Ryan Graham [EMAIL PROTECTED]wrote: And the path is relative to where you are declaring the

[flexcoders] Re: textArea.setFocus();

2008-10-29 Thread Dmitri Girski
BTW. Does anyone know if this is rectified with FP10? Or is it just something we have to live with from the browser vendors? AFAIK this is a browser issue, not the FP. Cheers, Dmitri.

[flexcoders] $visible?? What is it?

2008-10-29 Thread mookie298347
Hi all, I am having a strange problem with some components. I noticed a particular panel won't display in the interface if it is added to parent panel after another panel. I ran the debugger and noticed that the $visible variable for the problem panel is 'false' however the visible variable is

[flexcoders] States in UIMovieClip working properly?

2008-10-29 Thread florian.salihovic
I have a strange problem: i have the following class: package fs.examples.components { import flash.events.Event; import flash.events.MouseEvent; import flash.text.TextField; import mx.events.StateChangeEvent; import mx.flash.UIMovieClip;

[flexcoders] Re: States in UIMovieClip working properly?

2008-10-29 Thread florian.salihovic
And a link to the sources: http://www.box.net/shared/48p7bc63hj It would be really great, if anybody had some clue or hint for me. --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: I have a strange problem: i have the following class: package

[flexcoders] Re: Binding textinput width to datagrid column width?

2008-10-29 Thread Amy
--- In flexcoders@yahoogroups.com, biosmonkey [EMAIL PROTECTED] wrote: I must be doing something dumb, but I can't understand why this isn't working. I have a datagrid with say, 2 columns. Under the datagrid, I have two text input controls next to each other in an hbox. I want the

RE: [flexcoders] $visible?? What is it?

2008-10-29 Thread Gordon Smith
UIComponent overrides DisplayObject's 'visible' property, but it makes DisplayObject's concept of 'visible' available as $visible. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mookie298347 Sent: Wednesday, October 29, 2008 4:40 PM To:

[flexcoders] Re: UI component, a set function creationComplete

2008-10-29 Thread Amy
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi Eric, So, my question is does your approach address this by creating children in commitProperties() Yes, This is basically what I do with all renderers in my commercial components. I rarely use

[flexcoders] Using addChild() in Flex to add a Flash component.

2008-10-29 Thread lagos_tout
Hi, all. Is it possible to use addChild() in Flex to add a Flash instance of SimpleButton to a Flex app's displayList? I exported the SimpleButton in a .swc from Flash IDE and set up the .swc as a library in Flex Builder. Within Flex, I can instantiate the SimpleButton class with no problem,

[flexcoders] Multi-Level Menus

2008-10-29 Thread Diff Gal
Hi All, I need a multi-level menu which should have support for clicking at all the levels irrespective of the presence of submenus at each level.. Also, whatever item is clicked should be displayed on the menu button. Is this possible in flex. Will i have to override any of the existing

[flexcoders] finding out if a child is in view with the current scroll location of a Canvas

2008-10-29 Thread Aaron Miller
Hello, I am trying to figure out which portion of a Canvas is in view (as in the scrolled to location), then figure out if one of it's children is in that area. In other words, I want to find out if a child object is in view, and if not, scroll the Canvas until it is. I was looking over the Canvas

RE: [flexcoders] Re: textArea.setFocus();

2008-10-29 Thread Alex Harui
I believe the Java browser plug-ins don't have this problem so it might be worth filing a bug and collection votes. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Wednesday, October 29, 2008 4:07 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Binding textinput width to datagrid column width?

2008-10-29 Thread Alex Harui
I think that's a known bug. I would addEventListeners to the DG for updateComplete and columnResize and update the TI widths then. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Wednesday, October 29, 2008 5:43 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Re: Binding textinput width to datagrid column width?

2008-10-29 Thread Josh McDonald
It sounds like a 20-minute fix to DG. On Thu, Oct 30, 2008 at 1:02 PM, Alex Harui [EMAIL PROTECTED] wrote: I think that's a known bug. I would addEventListeners to the DG for updateComplete and columnResize and update the TI widths then. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Loading an image dynamically and making it a BitmapAsset

2008-10-29 Thread Jayson
I am using BitmapAssets to add to a sprite which is printed using PrintJob. [Embed(source=images/logo.png)] [Bindable] public var logo:Class; ... var bitmapImg:BitmapAsset = new logo() as BitmapAsset; bitmapImg.smoothing = true; bitmapImg.setActualSize(500, 42); sheet.addChild(bitmapImg); This

Re: [flexcoders] Loading an image dynamically and making it a BitmapAsset

2008-10-29 Thread Josh McDonald
This is just off the top of my head, but try using SWFLoader. On Thu, Oct 30, 2008 at 1:49 PM, Jayson [EMAIL PROTECTED] wrote: I am using BitmapAssets to add to a sprite which is printed using PrintJob. [Embed(source=images/logo.png)] [Bindable] public var logo:Class; ... var

RE: [flexcoders] Re: Html file in Flex application.

2008-10-29 Thread Randy Martin
OK. I've posted this at least a couple of times before in answer to this same question. The simplest implementation of this (the iframe concept) is by Alistair Rutherford. You can check his IFrame flex component out at (he recently moved it from his blog to Google Code) :

RE: [flexcoders] Re: row color in advancedDataGrid

2008-10-29 Thread Randy Martin
Here you go: http://flexpearls.blogspot.com/2008/02/row-background-color-in.html ~randy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Sent: Tuesday, October 28, 2008 10:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: row color in

  1   2   >