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

2008-04-24 Thread tuomas.glad
Changing to fullscreen mode works correctly if I don't use stage.fullScreenSourceRect property. When I use fullScreenSourceRect and Flash players hardware scaling is disabled, Flash tries to go to fullscreen mode but fails miserably because I'm using fullScreenSourceRect. -tuomas --- In flexco

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

2008-04-24 Thread khan.ibraheem
Thanks for your reply. #1: Actually I wanted to disable backspace and this cannot be done with restrict. Any other method you would like to suggest ? --- In flexcoders@yahoogroups.com, "wesley.petrowski" <[EMAIL PROTECTED]> wrote: > > For #1, you can use the restrict property of TextArea. It sho

[flexcoders] Re: Can't figure out how to parse RSS

2008-04-24 Thread ben.clinkinbeard
http://code.google.com/p/as3syndicationlib/ HTH, Ben --- In flexcoders@yahoogroups.com, "dfalling" <[EMAIL PROTECTED]> wrote: > > I'm trying to write a small app that will parse an inputted RSS feed. > On some feeds (reddit.com) it works fine, but on others (slashdot.org) > the xml seems to be

[flexcoders] Null error when trying to set currentState on a child of a ViewStack

2008-04-24 Thread Kevin
I am getting a null error throw from a RemoveChild tag of one of my states that exists as a child of a ViewStack. What I am trying to do is to bind a ViewStack child's currentState (in MXML) to a variable in the parent ViewStack component. However, unless I set the ViewStack creationPolicy to "al

[flexcoders] Re: passing parameters to components

2008-04-24 Thread Kevin
Good point. I agree, write-only properties are rare, but I just wanted to check to see if there was another reason they should not be used. The only case I can think of off of the top of my head would be some password/security value where you wanted to allow a value to be set but not retrievable

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

2008-04-24 Thread Gordon Smith
The ToolBar class used by the RichTextEditor is undocumented but the source code for it is available. In the SDK, it's at frameworks/project/framework/src/mx/controls/richTextEditorControls/Tool Bar.as. It implements its layout logic, as all UIComponents should, in its updateDisplayList() method. I

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

2008-04-24 Thread grimmwerks
Ok - I'm doing so -- I've a queston about the Toolbar class -- it's not visual, correct? So there's no real way of laying out buttons? ie have one button hard right when less buttons are there? I just can't find any info on the toolbar in terms of layout - I read up on Container but there'

Re: [flexcoders] Grayscale Mask

2008-04-24 Thread George
You need to use a transparent bitmap image as the mask (i.e. a transparent shape inside a SWF), both masker/maskee must be 'cached as bitmap'. George Michael Wagner wrote: > > 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 bi

[flexcoders] Re: Flex 3 / AIR: using timers and binding data to text

2008-04-24 Thread jer_ela
you made callID bindable but don't use it in for binding, but you didn't make callStatus bindable and it needs to be. That's what your warning is about. Make your timer a class property, rather than a local var. The local var should cease to exist as soon as the method finishes. --- In flexcod

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: flex

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] 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] 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 ___

[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 the

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

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: flexcoders@ya

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 12:11

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] 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: [flexcoders

[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] 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

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;

[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 att

[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] 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 liste

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] 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. <><><>

[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 so

[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. > > > > > >

[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: 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 mig

[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] 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 shawn[at]squarefa

[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: http://www.adobe.com/2006/mxml";> This is a test of the emergency broadcast sys

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

Re: [flexcoders] Style for Alert box?

2008-04-24 Thread Derrick Anderson
you can apply the style to all alerts: Alert { ... } or to a single alert: .box1 { ... } 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 have a class like ( .box1{

[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 po

[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] 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] 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, da

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 i

[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 ha

[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 cha

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 TileLi

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] 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 S

[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" wrote: > > > > In Flex3 I want to set the background color of

[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" > wrote: > > > > any

[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-consumin

[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: 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" > wrote: > > > > > > I've got a tile list component that I want to be able to scroll > > through horizontally without

[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: 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

[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] 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.

[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

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: > > ht

[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

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

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 simil

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 g

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

[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 i

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 mana

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 compone

[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

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@yahoogroups.co

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 width/he

[flexcoders] Re: passing parameters to eventlistener functions

2008-04-24 Thread valdhor
The way I do this is to add the custom parameters to the object that is sending the event. Something like... http://www.adobe.com/2006/mxml"; layout="vertical" creationComplete="onCreationComplete(event)"> --- In flexcoders@yahoogroups.com, "netdeep"

[flexcoders] Can't figure out how to parse RSS

2008-04-24 Thread dfalling
I'm trying to write a small app that will parse an inputted RSS feed. On some feeds (reddit.com) it works fine, but on others (slashdot.org) the xml seems to be cut off... the description and title for the feed are there, but none of the items. What is causing this? I've wandered tried to adap

[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 flexcoders@yahoog

[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 http://10.108.111.6/blog/xml.php"; useProxy="false" method="POST" showBusyCursor="true"> {searchbox.text} {datestart.text} {dateend.text} Do i have

[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] 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 f

[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.

[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: Tiny components when using callLater()

2008-04-24 Thread Amy
--- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Alex Harui" 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

[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 l

[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 childr

[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 man

[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. http://www.adobe.com/2006/mxml"; layout="absolu

[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] 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 t

[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) ApplicationCon

[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] 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,

[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?

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 D

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? -

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 i

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 w

[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

[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: 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: 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 fl

[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, b

[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 read/writ

[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 pa

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 retu

  1   2   >