RE: [flexcoders] Combobox as itemrendere in Datagird

2008-04-24 Thread Alex Harui
I'm not sure what behaves abnormally means. There was a bug where an additional ComboBox would appear below the DG. That has been fixed in 3.0 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Parkash Sent: Wednesday, April 23, 2008

[flexcoders] How to detect if hardware scaling is disabled?

2008-04-24 Thread tuomas.glad
Hi, Is there anyway to detect is hardware scaling is enabled/disabled? I'm getting weird results if I disable hardware scaling from player preferences and try to go to fullscreen mode. Thanks, Tuomas

[flexcoders] Re: How to detect if hardware scaling is disabled?

2008-04-24 Thread tuomas.glad
--- In flexcoders@yahoogroups.com, tuomas.glad [EMAIL PROTECTED] wrote: Hi, Is there anyway to detect is hardware scaling is enabled/disabled? I'm getting weird results if I disable hardware scaling from player preferences and try to go to fullscreen mode. Thanks, Tuomas I forgot to

[flexcoders] pieChart (callout) labels not redrawn on drill down

2008-04-24 Thread rleuthold
Hi, I'm having a pieChart double click enabled, to get a drill down for the selected pieChart item. This drill down is displayed aside of the original chart. The problem is, that the labels for the original chart disappear (or do not get redrawn) when the original chart gets double clicked

[flexcoders] PopUpButton as ItemEditor for DataGrid

2008-04-24 Thread Battershall, Jeff
I'm pushing the envelope in terms of how many editable fields are going to fit within the available horizontal space. The issue is basically how to open an itemeditor that is not constrained by the width of the column. So I've been investigating having a text field popup when in editmode that

[flexcoders] Google or Yahoo Maps - Custom tile/image/background

2008-04-24 Thread Nirav Upadhyay
Hi, I have researched lot in Google and Yahoo Maps. I have found lots of things also. But i want an advanced functionality in any of the Map technology. I want to change tile/image/background of the Google/Yahoo Map from default to anyone i want. Means i can be able to change the

RE: [flexcoders] Could the Flex Gurus shed some light on this behavior?

2008-04-24 Thread Rick Winscot
Mike, From a performance point of view - you wouldn't want to be loading external assets twice. It's good that you see this: load what you need. need what you load. load it once. use it many times. What will help is to think more about where that data ends up. accessing the raw data is always

[flexcoders] ocnfusion over data services with flex3 standard

2008-04-24 Thread duncan mcmillan
Hi I have recently upgraded from Flex2-Flex3 Beta to Flex3 standard, I'm now wanting to link with PHP classes using remoteObject components and have downloaded Weborb. I did have FDS with my Flex2. Question is what do I need to connect to my PHP classes remotely and which is the best option??

[flexcoders] Slooooow Compare Editor in FB3

2008-04-24 Thread Dmitri Girski
Please vote on this bug: https://bugs.adobe.com/jira/browse/FB-12492 This performance will not stand, man! :) Cheers!

[flexcoders] Re: passing parameters to components

2008-04-24 Thread markgoldin_2000
Not sure about #1. I will be ading dataGrids to the main container dynamically because it's not known how many will be at the design time. Can I just loop thru my data adding dataGrids to the main HBox one by one? --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: 1.

Re: [flexcoders] Please help

2008-04-24 Thread Tom Chiverton
On Tuesday 22 Apr 2008, markgoldin_2000 wrote: How someone would design it? I am trying to use Timer to monitor setting for the internal dataGrid but that is not going well either. Why not just attach an event listener for some event or other ? Or fire your own when your renderer is done if

Re: [flexcoders] Flex decoding soap complex objects in complex objects

2008-04-24 Thread jeff
On Wed, Apr 23, 2008 at 06:08:32PM -, christophertholen wrote: An example would be a returnobject, containing the status of a call, a description string and the result array of complex objects. We use nested complex objects frequently and they seem to decode fine. Some of our calls

[flexcoders] passing parameters to eventlistener functions

2008-04-24 Thread netdeep
I need to pass a parameter to a function using actionscript. However by default, all you can pass are events to the function called by an eventlistener. I know this is easy to do in MXML, but can it be done in actionscript? The documentation has this to say about it: Because the second

[flexcoders] Re: Flex decoding soap complex objects in complex objects

2008-04-24 Thread twcrone70
If you have control of the web service itself and no one is forcing you to use SOAP you have other less complex, better performing options. 1) If you want to use XML, try using REST style web services or a straight XML representation of your object and you can explicitly control how you

[flexcoders] Re: How do I repaint?

2008-04-24 Thread Matt
Surely somebody can tell me how to force a repaint on a changed icon for a LinkButton? --- In flexcoders@yahoogroups.com, Matt [EMAIL PROTECTED] wrote: I am dynamically setting the 'icon' to a LinkButton using Ben Stucki's IconUtility and it works great when the link first gets loaded, but if

[flexcoders] Re: passing parameters to eventlistener functions

2008-04-24 Thread twcrone70
Create a custom event that has a field or fields that hold your parameter(s). When you create the event for dispatching you can then add the parameter(s) and since that event is passed in to the handler method, you will have the parameter(s) in the event instance. package mypkg { import

[flexcoders] Re: TypeError: Error #2007: The parameter listener must not be NULL + Cairngorm

2008-04-24 Thread valdhor
Check the value of your listener function: Application.application.repeatermovies.detailmovie.loaderCompleteHandler The error says that this is null.

[flexcoders] Re: ocnfusion over data services with flex3 standard

2008-04-24 Thread valdhor
I have done very little with WebORB (All my stuff uses AMFPHP) but they are very similar. Either one is all you need to do remoting in Flex - no need for BlazeDS, LCDS or anything else. Set up your Value Objects (VO's) or Data Transfer Objects (DTO's) (Whichever terminology feels better to you);

[flexcoders] Re: AdvancedDataGrid preserve openItems after data update

2008-04-24 Thread sameerbhatt13
Can you post a sample in which the issues occurs? - Sameer --- In flexcoders@yahoogroups.com, rockstar77877 [EMAIL PROTECTED] wrote: Scott and Jonese: I am currently trying to deal with the same issue. I was actually ALMOST there, but I think I have discovered a bug in Flex.

Re: [flexcoders] passing parameters to components

2008-04-24 Thread Kevin
I am wondering why this is weird? Could there be a case where someone wanted to have a write-only property? I agree that it is pretty uncommon, but I am wondering if it problematic from an architecture standpoint? - Kevin On Apr 22, 2008, at 8:37 PM, Gordon Smith wrote: (BTW, setters

Re: [flexcoders] Timer questions

2008-04-24 Thread Kevin
along these same lines, is there a reason to use a Timer vs a setTimeout call for simple timeout type events? I recall the docs seeming to hint that a Timer is better, but I find the setTimeout event REALLY useful. - Kevin On Apr 22, 2008, at 11:48 PM, Alex Harui wrote: Flex/Flash is

Re: [flexcoders] Re: How to detect if hardware scaling is disabled?

2008-04-24 Thread Cole Joplin
Call Stage.displayState, which returns a string: fullscreen or normal -- Cole - Original Message From: tuomas.glad [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, April 24, 2008 1:58:37 AM Subject: [flexcoders] Re: How to detect if hardware scaling is disabled? --- In

RE: [flexcoders] PopUpButton as ItemEditor for DataGrid

2008-04-24 Thread Battershall, Jeff
Never mind - variable row heights is the way to go here. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Thursday, April 24, 2008 7:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] PopUpButton as ItemEditor for

[flexcoders] Can debug but Can't profile

2008-04-24 Thread João Fernandes
Hi, for a few days already I'm totally unable to profile our applications but can debug them. I even switched to IE to avoid the Tab problem but no luck.When I launch the profile session the window never come up to pick the values. Is there a good guide anywhere to check what can be failing?

[flexcoders] Re: Changing DataProvider on HorizontalList component

2008-04-24 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Are you expecting to see the new item because the HList isn't full of items yet, or are you expecting it to expand to show it. It might not grow to show w/o calling invalidateSize() The HList has no explicit size, so I am

[flexcoders] AIR HTML component - html tag / text selection

2008-04-24 Thread polestar11
Hi there I'm trying to access selected html text from an HTML component in an AIR app. I'm able to get selected text that excludes html tags by calling a JS function: window.getSelection(). This excludes the HTML tags though. I've tried using my HTML component's textSnapshot property this has a

[flexcoders] newbie design question

2008-04-24 Thread Eric Cooper
I have been working in Flex for about 3 months now. I am writing a geometry tool that allows user to create points, line segments, circle and polygons, as well as constraints between these objects (e.g., distance, angle, perpendicular, etc.). Initially, I created a (subclass of)

[flexcoders] Flex Pop Out Window

2008-04-24 Thread gjessup1
I am looking for the ability top pop a panel, which is loaded as a module out of the browser to a new browser windows. (much like google chat within gmail). Has anyone done anything like this or seen an example of how to do it. Any info you could provide would be Great!!! thanks, greg

[flexcoders] Using 100% width on canvas? getting scrollbars?

2008-04-24 Thread Jason B
I've dug and not really found what I'm looking for I get scrollbars on canvas when I try to use a width percentage verses doing a absolute value. While I'm unsure because any standard HTML document can use this and it doesnt seem to be an issue? Am i missing anything on this im a bit baffled on

[flexcoders] Re: Adobe Air HTML component and popups

2008-04-24 Thread Srinivas Annam
Hi Pablo, This is most probably a bug, which should be getting fixed in the upcoming release of AIR. You can get the full blog entry for this problem at http://srinivasannam.wordpress.com/ Check the below code for a simple workaround. ?xml version=1.0 encoding=utf-8?

[flexcoders] Pop Out of Browser

2008-04-24 Thread gjessup1
I have written and a chat client for internal application support. I would like to give it the functionality to be able to pop it out of the browser (much like google chat). Has anyone done this or seen any example code on the net on how to do this. Any info someone could provide would be great!

[flexcoders] history manager and deep linking

2008-04-24 Thread mt1_18
I am a bit confused on history manager and deep linking. If I am using deep linking in my application I know that historyManagementEnabled will be set to false at the application level. However, will I still be able to have my custom components implement mx.managers.IHistoryManagerClient and

[flexcoders] How to check if components have been created yet when creation policy is auto

2008-04-24 Thread ltkavanagh
Hi, I am trying to checking if children of a viewstack have been created when the viewstack's creation policy is set to auto (as per default). I am getting a null pointer reference when trying to access a value on a component nested in a viewstasck. I would assume i need to check if the

[flexcoders] Collapsible controls

2008-04-24 Thread Richard Rodseth
It seems to me that it's pretty common to need some UI that is modeless (i.e. not in a pop-up) but easy to get out of the way to save real estate. I've seen the FlexStore (haven't studied the code in a while) , the WindowShade in flexlib, and examples of programmatically dividing a DividedBox. I

[flexcoders] Re: Tiny components when using callLater()

2008-04-24 Thread Amy
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: I'm pretty sure you're not lazy, which is why I'm suggesting that you continue to spend time upgrading your skills at debugging. As your applications reach a

[flexcoders] Re: passing parameters to eventlistener functions

2008-04-24 Thread netdeep
Thanks for the reply Todd. What about processing the event though? For example if I have: foo.addEventListener(MouseEvent.MOUSE_DOWN, processResult); But I want to define processResult so that I can pass it a number or an object, how do I use Custom events? The even I'm want to listen for

[flexcoders] Re: Collapsible controls

2008-04-24 Thread Dominic Pazula
I don't have any ideas, but I am very interested in something like this. I was contemplating something very similar earlier today. --- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote: It seems to me that it's pretty common to need some UI that is modeless (i.e. not in

[flexcoders] newbie quistion

2008-04-24 Thread peterflexcoder
Hi All I'm new here, I'm Peter from the Netherlands! I need you help. First i did'nt done anything yet in flex. I know a bit actionscript 3.0 i want a little air application with that application i can select in a combobox a link and that link open in the mx:html object. I have made a xml

[flexcoders] http request dynamically generate Request params in MXML

2008-04-24 Thread Jason B
is it possible to dynamically handle http request items meaning this example below mx:HTTPService id=userRequest url=http://10.108.111.6/blog/xml.php; useProxy=false method=POST showBusyCursor=true mx:request xmlns= searchbox{searchbox.text}/searchbox

[flexcoders] Flex Camp Irvine - July 19th 2008

2008-04-24 Thread wenditurner
Looking at pulling together a Flex Camp Irvine, CA, US Date: Saturday, July 19th, 2008 Time: 10am - 5pm Event http://flexcampirvine.eventbrite.com/ If you are interested in helping organize Flex Camp Irvine, CA. email: [EMAIL PROTECTED] This will be a cost only day of coders sharing with

[flexcoders] Re: How do I repaint?

2008-04-24 Thread Jason B
One work around is to just use action script to swap the image with an image with height = 0 width=1 like a hidden gif icon used in old html code for tables. then reswap again with your new/same image so that you now have forced flex to repaint it. does that make sense? --- In

RE: [flexcoders] Re: Tiny components when using callLater()

2008-04-24 Thread Alex Harui
HorizontalList requires that all items be the same width and height. At startup, it measures the first one, and uses the measurements for columnWidth and rowHeight. If you're subclassing, you can set itemsNeedMeasurement=true and call invalidateProperties to force a re-measure and new

RE: [flexcoders] Using 100% width on canvas? getting scrollbars?

2008-04-24 Thread Alex Harui
Flex uses % differently than HTML. When you use %, the children are measured and their sizes and positions dictate a minimum size of the container. If the container's parent won't let it have that size, it will show scrollbars. From:

[flexcoders] Re: passing parameters to eventlistener functions

2008-04-24 Thread Amy
--- In flexcoders@yahoogroups.com, netdeep [EMAIL PROTECTED] wrote: Thanks for the reply Todd. What about processing the event though? For example if I have: foo.addEventListener(MouseEvent.MOUSE_DOWN, processResult); But I want to define processResult so that I can pass it a number

RE: [flexcoders] How to check if components have been created yet when creation policy is auto

2008-04-24 Thread Alex Harui
Try processedDescriptors=true on the children of the viewstack From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ltkavanagh Sent: Thursday, April 24, 2008 2:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to check if

RE: [flexcoders] history manager and deep linking

2008-04-24 Thread Alex Harui
Registering should be ok, but nothing will be saved so it is a waste of code. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mt1_18 Sent: Thursday, April 24, 2008 8:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] history

[flexcoders] Re: Tiny components when using callLater()

2008-04-24 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: HorizontalList requires that all items be the same width and height. At startup, it measures the first one, and uses the measurements for columnWidth and rowHeight. Is there a way to get it to just use the first instance

RE: [flexcoders] Re: Tiny components when using callLater()

2008-04-24 Thread Alex Harui
It would be be considerable work to get the measuring renderer to be the first renderer, because the first renderer changes as you scroll. I don't think it should be destroyed, I think you may be seeing two renderers (the measuring, and the first visible) that use the same data object. Like I

RE: [flexcoders] AIR HTML component - html tag / text selection

2008-04-24 Thread Jim Hayes
I was casting around for that some weeks ago, I think the closest I got was overriding the onclick function in actionscript. Of course that gets called for *any* click, but crucially the select ones will be in there, and give you a reference to the element selected, from which you can at least

Re: [flexcoders] Re: Collapsible controls

2008-04-24 Thread Richard Rodseth
This looks quite promising: http://vanderblog.typepad.com/blog/2008/03/collapsiblebo-1.html On Thu, Apr 24, 2008 at 9:55 AM, Dominic Pazula [EMAIL PROTECTED] wrote: I don't have any ideas, but I am very interested in something like this. I was contemplating something very similar

RE: [flexcoders] Re: Tiny components when using callLater()

2008-04-24 Thread Tracy Spratt
Repeater has some level of recycling if you set recycleChildren=true (default is false). This has a noticable effect on complex repeated items. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Thursday, April 24,

[flexcoders] Button in DatGrid problem

2008-04-24 Thread markflex2007
Hi, I add a buttin in datagrid.But why the button always fill the all column width. I try to set it 20 but the column width is 100. it always like 100 in the layout. why? Thanks Mark mx:DataGrid id=dg1 dataProvider ={dp} mx:columns mx:DataGridColumn width=100

Re: [flexcoders] Re: Collapsible controls

2008-04-24 Thread Doug McCune
btw, I'm hoping to roll that component together with the existing WindowShade one in flexlib and get the combined component in the flexlib project. One I find a free minute... Doug On Thu, Apr 24, 2008 at 10:58 AM, Richard Rodseth [EMAIL PROTECTED] wrote: This looks quite promising:

[flexcoders] Re: Google or Yahoo Maps - Custom tile/image/background

2008-04-24 Thread Gus
Means i can be able to change the background/tile/image to Car, Flower,Person or anything from the default map image. If I got this right maybe this could help you... http://modestmaps.com/tutorial-actransit/ HTH Gus

[flexcoders] adding design view feature for third-party component

2008-04-24 Thread Shigeru Nakagaki
Hi, FlexBuilder team. in Flex version comparison chart www.adobe.com/products/flex/upgrade There is Design view extensibility for third-party products. Is there any document about this? In SWC of ilog's elixer, there are design.xml and design.swf for Design View feature of FlexBuilder. How can

[flexcoders] Changing the background color of a DataGrid row

2008-04-24 Thread jlopes151
In Flex3 I want to set the background color of a data grid row. Can I do it? Thanks for the Help.

[flexcoders] Re: Tiny components when using callLater()

2008-04-24 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: It would be be considerable work to get the measuring renderer to be the first renderer, because the first renderer changes as you scroll. Interesting. Where does that measuring renderer go, then? I don't think it

[flexcoders] Having a problem scaling printed output

2008-04-24 Thread jlopes151
I have used every property of the FlexPrintJobScaleType class. The page prints but doesn't scale. To tell the truth I did get it to scale once out of the 500+ tries. I guess I Yahoo to loud and lost track of how I did it. Thanks for any help.

[flexcoders] Re: Programmatic scrolling of a TileList?

2008-04-24 Thread djbrown_rotonews
any help out there? --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: anyone? :) --- In flexcoders@yahoogroups.com, djbrown_rotonews djbrown_rotonews@ wrote: I've got a tile list component that I want to be able to scroll through horizontally without

[flexcoders] Re: Changing the background color of a DataGrid row

2008-04-24 Thread valdhor
Yes. Check out itemRenderers. The best article on this is at http://blogs.adobe.com/aharui/item_renderers/ --- In flexcoders@yahoogroups.com, jlopes151 [EMAIL PROTECTED] wrote: In Flex3 I want to set the background color of a data grid row. Can I do it? Thanks for the Help.

[flexcoders] Re: Tiny components when using callLater()

2008-04-24 Thread Amy
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Repeater has some level of recycling if you set recycleChildren=true (default is false). This has a noticable effect on complex repeated items. You're completely right that it would have been less time-consuming to

[flexcoders] Re: Programmatic scrolling of a TileList?

2008-04-24 Thread valdhor
I have no idea but maybe the carousel at http://giles.roadnight.name/components.cfm might give you some ideas. --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: any help out there? --- In flexcoders@yahoogroups.com, djbrown_rotonews djbrown_rotonews@ wrote:

[flexcoders] Re: Changing the background color of a DataGrid row

2008-04-24 Thread jlopes151
--- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: Yes. Check out itemRenderers. The best article on this is at http://blogs.adobe.com/aharui/item_renderers/ --- In flexcoders@yahoogroups.com, jlopes151 jlopes151@ wrote: In Flex3 I want to set the background color of a

RE: [flexcoders] Button in DatGrid problem

2008-04-24 Thread Alex Harui
A renderer is always as wide as its column. You can wrap it in another layer if you want to center it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Thursday, April 24, 2008 11:05 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Tiny components when using callLater()

2008-04-24 Thread Alex Harui
The measuring renderer is invisible, but on the display list and is held onto in case of the need for future measuring. itemsNeedMeasurement is protected so you can't access it from the outside. You might be able to trick it to being set to true by setting a style like fontSize

RE: [flexcoders] Re: Programmatic scrolling of a TileList?

2008-04-24 Thread Alex Harui
Setting horizontalScrollPosition might be better. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Thursday, April 24, 2008 11:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Programmatic scrolling of a

[flexcoders] Re: Possible bug with Shape (or DisplayObject) when increasing the width (or scaleX)

2008-04-24 Thread alex
Just to make it short. Why when I change the width of a DisplayObject ( Shape) it changes its X coordinate ? I understand that Flex will behind the scenes change the scaleX of an object if width is changed and in certain cases scaleX changes X coordinates but I though that only if you directly

[flexcoders] Newbie question: Removing text from textarea/disabling a character

2008-04-24 Thread khan.ibraheem
Hello, I am using a textarea. I want to achieve 2 tasks: 1) Disable a particular character i.e. let suppose I dont want to allow a certain character being shown(when it is typed) in the text area. 2) How can I remove some portion of the text from the textarea. I have tried slice method but it

Re: [flexcoders] Button in DatGrid problem

2008-04-24 Thread Mark Shen
Please give me a simple demo, what another layer means? Thanks Mark - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, April 24, 2008 3:04:24 PM Subject: RE: [flexcoders] Button in DatGrid problem A renderer is

[flexcoders] Copying an Object

2008-04-24 Thread Lisa Lee
I'm sort of a newbie to Flex/ActionScript...can someone tell me the best way to copy an object to a new variable? For example, I have a variable named obj1, datatyped as Object. Let's say that I've set obj1.property1 = foo and obj1.property2 = bar. Now I declare a variable named obj2,

[flexcoders] Strategies for Long Text and Images

2008-04-24 Thread Ethan Miller
Greetings - I've been building a site that has long pages of text with lots of illustrative images. Dealing with text and images in an editorial layout fashion has been surprisingly cumbersome in Flex (especially given how easy it is to build elegant, stateful apps, and hence I'm wondering if

[flexcoders] Style for Alert box?

2008-04-24 Thread markflex2007
Hi, I have a class like ( .box1{...} ) in css file. I need the Alert use the class box1.How to set the style name to Alert box. Thanks Mark

[flexcoders] Re: Using 100% width on canvas? getting scrollbars?

2008-04-24 Thread Jason B
but if the entire application including all componets are in % for everything why would it still show scrollbars? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Flex uses % differently than HTML. When you use %, the children are measured and their sizes and

Re: [flexcoders] Style for Alert box?

2008-04-24 Thread Derrick Anderson
you can apply the style to all alerts: mx:Style Alert { ... } /mx:Style or to a single alert: mx:Style .box1 { ... } /mx:Style var alert:Alert; alert=Alert.show(asdf); alert.styleName=box1; Derrick Anderson On Thu, Apr 24, 2008 at 3:29 PM, markflex2007 [EMAIL PROTECTED] wrote: Hi, I

RE: [flexcoders] Button in DatGrid problem

2008-04-24 Thread Tracy Spratt
The simplest solution is to use an HBox, with horizontalAlign=center, then put the button inside that. But using containers in renderers can cause performance problems if you have many renderers. See Alex's blog for examples on how to write lightweight renders. Tracy

[flexcoders] Re: Newbie question: Removing text from textarea/disabling a character

2008-04-24 Thread valdhor
For 1 you would probably have to add an event listener for keydown, see what key it was and then stop that keycode from reaching the textarea. For 2, check out the following I found in the Help: ?xml version=1.0? !-- textcontrols/TextRangeExample.mxml -- mx:Application

[flexcoders] Arc, Bulge, Valley Pennant Text Warping Effects

2008-04-24 Thread shawn.makinson
I'm looking for someone with experience with applying these types of text effects to dynamic TextFields in Flash, but ultimately to be used in Flex. I'm assuming it would be done with Displacement maps, but am open to other methods. Please contact me if you are interested at

[flexcoders] DateField: showing many days...

2008-04-24 Thread grimmwerks
Hey all I've got an application I'm building that people are saving data to a db. I'd like to show what days there's data available -- ie 4/3 , 4/6, 4/10, etc. Is the DateField the correct componenet to use? I see how to set ranges but not specific dates...

[flexcoders] Re: Tiny components when using callLater()

2008-04-24 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: The measuring renderer is invisible, but on the display list and is held onto in case of the need for future measuring. itemsNeedMeasurement is protected so you can't access it from the outside. You might be able

[flexcoders] Re: Programmatic scrolling of a TileList?

2008-04-24 Thread jmfillman
It sounds like you are on the right path, however, initially the scrollToIndex() is 1, correct? Each button click should increment the scrollToIndex() by 1 (or -1 if moving left on the list), so instead of scrollToIndex() being 4 after the click, it should be 2. Next click, 3, etc Just be

[flexcoders] Re: Programmatic scrolling of a TileList?

2008-04-24 Thread djbrown_rotonews
that's getting me tons closer to where I want to be, Alex. Thanks! and that carousel component looks pretty cool too. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Setting horizontalScrollPosition might be better. From:

[flexcoders] describeType() question

2008-04-24 Thread Eric Cancil
I want to use describeType to lookup properties added at runtime - But it doesnt seem to see them even tho though propertyIsEnumerable returns true and I can see them defined in the debugger I've never really used describeType to look up dynamically added properties like this...am I missing

[flexcoders] Grayscale Mask

2008-04-24 Thread Michael Wagner
Hi: I would like to make a mask / effect in Flex to get from a.bmp using b.bmp as a mask to get c.bmp using bitmap operations probably. Do you know how it can be done? Thanks, Michael. attachment: a.bmpattachment: b.bmpattachment: c.bmp

Re: [flexcoders] Copying an Object

2008-04-24 Thread Peter Connolly
Take a look at the copy() method in ObjectUtil: http://livedocs.adobe.com/flex/2/langref/mx/utils/ObjectUtil.html#copy()

[flexcoders] Re: Newbie question: Removing text from textarea/disabling a character

2008-04-24 Thread wesley.petrowski
For #1, you can use the restrict property of TextArea. It should do exactly what you need. http://livedocs.adobe.com/flex/3/langref/mx/controls/TextArea.html#res trict --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: For 1 you would probably have to add an event listener

[flexcoders] Re: Copying an Object

2008-04-24 Thread Lisa Lee
Awesome! That seems to be exactly what I was looking for. Thanks Peter - you rock! :-) --- In flexcoders@yahoogroups.com, Peter Connolly [EMAIL PROTECTED] wrote: Take a look at the copy() method in ObjectUtil: http://livedocs.adobe.com/flex/2/langref/mx/utils/ObjectUtil.html#copy ()

[flexcoders] How to get image width/height ???

2008-04-24 Thread Jason The Saj
Approximate example [Embed(source=images/myphoto.png)] [Bindable] public var MyPhoto:Class; var myImage:Image = new Image(); myImage.source = MyPhoto; trace(myImage.width); For whatever reason, I just get 0. I've tried contentWidth, maxWidth, explicitWidth. I've tried callLater and then

Re: [flexcoders] How to get image width/height ???

2008-04-24 Thread Eric Cancil
image.addEventListener(Event.COMPLETE, onLoad); private function onLoad(e:Event):void{ trace(image.contentHeight); } On Thu, Apr 24, 2008 at 5:32 PM, Jason The Saj [EMAIL PROTECTED] wrote: Approximate example [Embed(source=images/myphoto.png)] [Bindable] public var MyPhoto:Class; var

RE: [flexcoders] describeType() question

2008-04-24 Thread Tracy Spratt
Perhaps describeType is only for implemented properties? You can use for..in loops on dynamically added properties. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eric Cancil Sent: Thursday, April 24, 2008 4:50 PM To:

[flexcoders] more richtext editor -- resize the toolbar...

2008-04-24 Thread grimmwerks
So I'm removing buttons from the toolbar in the RTE - is there ways of resizing the container so that it's not a big gaping height?

RE: [flexcoders] more richtext editor -- resize the toolbar...

2008-04-24 Thread Alex Harui
The source is an MXML file. For the third time, I will suggest you copy and modify it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Thursday, April 24, 2008 3:22 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] describeType() question

2008-04-24 Thread Alex Harui
That's correct, describeType is only for non-dynamic properties. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Thursday, April 24, 2008 2:56 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] describeType()

RE: [flexcoders] Re: Possible bug with Shape (or DisplayObject) when increasing the width (or scaleX)

2008-04-24 Thread Alex Harui
Width is tied to scaleX on flash.*.* objects. UIComponent breaks that dependency somewhat. Why it moves x depends on how the other code works. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alex Sent: Thursday, April 24, 2008

RE: [flexcoders] Button in DatGrid problem

2008-04-24 Thread Alex Harui
A centered renderer example can be found here: http://blogs.adobe.com/aharui/2007/04/more_thinking_about_item_rende.htm l From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Shen Sent: Thursday, April 24, 2008 12:25 PM To:

Re: [flexcoders] Re: Copying an Object

2008-04-24 Thread Peter Connolly
As an additional note, when using ObjectUtil.copy() with your own user-defined classes (i.e., not Object, ObjectProxy,...), you may have to use [RemoteClass] metadata or the registerClassAlias() method. The problem is that ...when an object is deserialized from AMF, it does not automatically get

[flexcoders] Relating series and axes

2008-04-24 Thread Richard Rodseth
I'm a little unclear how one associates multiple series to the same axis, when there are multiple axes present. With secondVerticalAxis (or whatever it was called) deprecated, it appears that the axis definitions must go inside a series definition. But now I want yet another series to refer to

RE: [flexcoders] How to check if components have been created yet when creation policy is auto

2008-04-24 Thread Gordon Smith
A simple null check tells you whether they've been created or not. But you should avoid writing your app in this way. Instead,you should pull data into components as they get created, such as by writing an 'initialize' handler on that component. Gordon Smith Adobe Flex SDK Team

RE: [flexcoders] Timer questions

2008-04-24 Thread Gordon Smith
setTimeout() is considered the old way and Timer the new way, although I don't think setTimeout() has been officially deprecated. Timer is considered better because it is more object-oriented and event-oriented, which are hallmarks of AS3 programming. Gordon Smith Adobe Flex SDK Team

RE: [flexcoders] passing parameters to components

2008-04-24 Thread Gordon Smith
Technically, there is no problem in AS3 with writing a setter without a getter to implement a write-only property. But I consider write-only properties to be poor API design. Being able to set something -- but not ask later what it was you set -- is weird. If I need to know the value that I set, I

Re: [flexcoders] more richtext editor -- resize the toolbar...

2008-04-24 Thread grimmwerks
Yeesh -- sorry Alex :P On Apr 24, 2008, at 6:29 PM, Alex Harui wrote: The source is an MXML file. For the third time, I will suggest you copy and modify it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Thursday, April 24, 2008 3:22 PM To:

  1   2   >