[flexcoders] animating resize to expose child component

2009-11-12 Thread Ariel J
I am trying to write a custom container that can be handed a child component, add it to the display list, and animate its own height from 0 to the height of the child component so as to reveal it. Problem is, what do i set as the resize effect's heightTo value? I am trying to call

[flexcoders] global error handling flash player 10/flex 4

2009-11-17 Thread Ariel J
I have started seeing the automatic popup window for ErrorEvents that are getting dispatched in my program. I want to suppress the window. I cannot find an example of the definition of a global error handler for a Flex app. Can anyone help me out?

[flexcoders] Re: global error handling flash player 10/flex 4

2009-11-18 Thread Ariel J
error handler is disabled in the current build, but will be available in a future beta refresh of Flash Player 10.1 http://labs.adobe.com/technologies/flashplayer10/releasenotes.pdf So it looks like next release. :( On Tue, Nov 17, 2009 at 5:57 PM, Ariel J arielj...@... wrote: I

[flexcoders] flex 4 and descendant CSS selectors

2009-11-24 Thread Ariel J
i have a css stylesheet applied to my component like this: #mySitesList #scroller #verticalScrollBar { skinClass: ClassReference(com.safepage.view.mysitespanel.scrollbar.VScrollBarSkin); } in my component i have a list whose id is mySitesList. the item renderers used in mySitesList

[flexcoders] replicating Flex build with ant script

2009-12-09 Thread Ariel J
I am trying to reproduce the standard build with an ant script to prepare for future customizations, but when I compile I am getting a SWF with a drastically different size that won't run. Can anyone spot an error in my script? Here is my current ant target: mxmlc file=${src}/Main.mxml

[flexcoders] Re: Beginner Event Question

2009-12-14 Thread Ariel J
FlexBuilder sees this: [Event(name=ConfigFileEvent, type=event.ConfigFileEvent)] And automatically creates a code complete version CONFIG_FILE_EVENT even if it doesn't exist. It's always been that way. Either create the constant yourself, or ignore the code completion and write

[flexcoders] Re: Clarification in including libraries

2009-12-15 Thread Ariel J
When you add libaries via Library Path, they are only compiled into the swf if they are used/referenced in your code. This keeps swf's smaller by only adding Flex code that is needed. For example, why compile into your swf the code for Advanced Data Grid if you never use it. However, since you

[flexcoders] nightly sdk - automation libs

2009-12-15 Thread Ariel J
should the nightly sdk 4.0 builds include the automation libs?

[flexcoders] Re: replicating Flex build with ant script

2009-12-15 Thread Ariel J
needed to add this to the build script: static-link-runtime-shared-libraries=true --- In flexcoders@yahoogroups.com, Ariel J arielj...@... wrote: I am trying to reproduce the standard build with an ant script to prepare for future customizations, but when I compile I am getting a SWF

[flexcoders] flex 4 skins + presentation model

2009-12-15 Thread Ariel J
Can anyone suggest how to merge these? The issue is that the presenation model is not necessarily available when the skin parts are added in partAdded() which is where skin parts tend to be integrated. Does it involve a lot of BindingUtils? How are people doing this?

[flexcoders] Re: getters before setters

2009-12-16 Thread Ariel J
As long as you define the [Bindable] metadata tag right before a getter, the order of the setters/getters doesn't really matter. I remember Alex Harui saying Bindable can indeed go before the setter, too. See this page: http://livedocs.adobe.com/flex/3/html/databinding_8.html#194574 Note

Re: [SPAM] [flexcoders] How to change background color on text input / Linkbar in Flex4

2009-12-16 Thread Ariel J
The Flex 3 Style Explorer is not always valid for Flex 4. --- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: First place I start with styling question is with the Style Explorer: http://examples. http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer

[flexcoders] Re: how to open pdf, word file using flex

2009-12-23 Thread Ariel J
var url:String = path-to-pdf; var request:URLRequest = new URLRequest(url); flash.net.navigateToURL(request,_blank); --- In flexcoders@yahoogroups.com, vikranth4u vikrant...@... wrote: Hi can anybody help me regarding how to write a code to open a pdf or doc file using flex

[flexcoders] Re: rewriting a function using prototype?

2009-12-29 Thread Ariel J
Thats neat. --- In flexcoders@yahoogroups.com, jamesfin james.alan.finni...@... wrote: I've used this in this pasta bit more verbose but does the trick. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

[flexcoders] Re: flex 4 skins + presentation model

2009-12-29 Thread Ariel J
: _listDataProviderWatcher.unwatch(); Just FYI. --- In flexcoders@yahoogroups.com, Ariel J arielj...@... wrote: Can anyone suggest how to merge these? The issue is that the presenation model is not necessarily available when the skin parts are added in partAdded() which is where skin parts tend to be integrated

[flexcoders] Re: Stop ToolTips from Appearing on Certain Buttons.

2010-01-05 Thread Ariel J
i believe you can do this by setting the tooltip text to the empty string --- In flexcoders@yahoogroups.com, taude1 tpreka...@... wrote: This seems like it should be easy. I know I can turn tooltips off with the ToolTipManager, but that's applciation wide. I want to disable tooltips from

[flexcoders] spark list

2010-01-08 Thread Ariel J
anyone know what happened to the selectable property from the mx.controls.List?

[flexcoders] Re: spark list

2010-01-12 Thread Ariel J
a datagroup to which you attach an intemrenderer. Inside the renderer you put the skin for the list item. If you don't want it to change colord for selectable, use the same color for all states e.g normal, hovered, selected... HTH, Claudiu From: Ariel

[flexcoders] bugs forum for Fireworks (FXG feedback)

2010-01-12 Thread Ariel J
anyone know where we file bugs for how Fireworks exports FXG?

[flexcoders] flex 4 text styling

2010-01-14 Thread Ariel J
In the language reference, I see styles such as fontSharpness and fontAntiAliasType for Label, but I am not seeing them as styles for the spark Label or RichText. Are they no longer being used?

[flexcoders] Re: flex 4 text styling

2010-01-15 Thread Ariel J
Thank you for that. --- In flexcoders@yahoogroups.com, Ariel J arielj...@... wrote: In the language reference, I see styles such as fontSharpness and fontAntiAliasType for Label, but I am not seeing them as styles for the spark Label or RichText. Are they no longer being used?

[flexcoders] Re: IGraphicElement and LayoutBase

2010-01-15 Thread Ariel J
You can. It's just that the constraint based sizing of the inner rect doesn't work when you use a vertical layout. Change them to height and width values of 100% and you'll see. --- In flexcoders@yahoogroups.com, Florian florian.saliho...@... wrote: Why is it not possible to draw an

[flexcoders] spark Form

2010-01-15 Thread Ariel J
Hi all. I need help debugging a port of the halo Form to spark. I can't get the FormItem to layout its children correctly. The TextInput in the example below sizes past the edge of the FormItem. Any help would be appreciated. ns:Form width=100% ns:FormItem label=URL:

[flexcoders] Re: IGraphicElement and LayoutBase

2010-01-18 Thread Ariel J
! --- In flexcoders@yahoogroups.com, Ariel J arieljake@ wrote: You can. It's just that the constraint based sizing of the inner rect doesn't work when you use a vertical layout. Change them to height and width values of 100% and you'll see. --- In flexcoders@yahoogroups.com, Florian florian.salihovic

[flexcoders] Re: The grammar of Embed to define Class/Function in CSS?

2010-01-18 Thread Ariel J
.myStyle { rendererClass: ClassReference(com.mycompany.myClass); } --- In flexcoders@yahoogroups.com, xiaoming_w...@... xiaoming_w...@... wrote: Hi gurus, I have a component with style definitions like the following: [Style(name=rendererClass,type=Class,inherit=yes)]

[flexcoders] Re: Binding and Spark Skins

2010-01-18 Thread Ariel J
You are not tackling this right. The component does not create the title bar as a child. The skin will do that. Check this out: (1) Do the component in ActionScript. Declare the expected elements that the skin will define as variables. Define their behaviors and properties in the partAdded

[flexcoders] Re: Flex, SOAP and Process Flow

2010-01-18 Thread Ariel J
I use the Operation classes from the MVCS architecture from Joe Berkowitz to group the series of external calls, for each user in your case. --- In flexcoders@yahoogroups.com, trefalgar trefal...@... wrote: I've run into an odd problem that I haven't been able to find a solution to. In other

[flexcoders] Re: IGraphicElement and LayoutBase

2010-01-19 Thread Ariel J
and a Rect, which should be the VGroups background. So, Performance is no issue with the Flash Player anymore? --- In flexcoders@yahoogroups.com, Ariel J arieljake@ wrote: From the docs for IGraphicElement: Group organizes its IGraphicElement children in sequences that share and draw

[flexcoders] spark list functions missing?

2010-01-21 Thread Ariel J
Where are these methods in the spark list control: 1) indexToItemRenderer() 2) set verticalScrollPosition() - that uses the index of the item in the data provider 3) isItemVisible() 4) scrollToIndex I am also not finding them in DataGroup.

[flexcoders] Re: spark list functions missing?

2010-01-22 Thread Ariel J
(dataProvider.getItemIndex(item)) != null) 4. ensureIndexIsVisible On 1/21/10 7:14 PM, j2me_soul j2me_s...@... wrote: yes, I find this problem too. Is anybody figure out this ? ºß2010-01-22 02:59:50¡¤Ariel J arielj...@... ¼ÌÆ»¡§ Where are these methods in the spark

[flexcoders] flex 4 - application root

2010-01-22 Thread Ariel J
anyone know how to get a reference to the root Application in some static way. I used to say PopUpManager.addPopup() with the Application.application as the parent. That property isn't there anymore. Are there other options?

[flexcoders] setting font family for mx|FormItemLabel causes label to disappear

2010-01-29 Thread Ariel J
I am embedding the Calibri font as written below. When I use CSS to set the font-family for mx|FormItem to Calibri, the labels disappear. Anyone know why? @font-face { src: url('/../assets/fonts/CALIBRI.ttf'); font-family: Calibri; unicode-range: U+0021-U+00A0; /* whole

[flexcoders] flex 4: skinnable component vs skinnable container

2010-02-04 Thread Ariel J
How are people using these two classes? When are people using component rather than component? Don't most custom components include multiple parts, thus suggesting that container is the most common class to extend?

[flexcoders] new Flex 4 includeIn property/style

2010-02-05 Thread Ariel J
I can't seem to find it in the docs or source. Anyone know if it supports comma delimited lists of states?

[flexcoders] Re: Best practices regarding XML to VO conversion

2010-02-09 Thread Ariel J
I'm interested in seeing your code. --- In flexcoders@yahoogroups.com, W.R. de Boer w...@... wrote: Hi Claudiu, I am using my custom unmarshaller class in combination with XML/E4X but I keep having a memory. Maybe I am just doing something? Maybe it's the use of a Vector-type in main VO

[flexcoders] Label help

2010-02-23 Thread Ariel J
I could really use some help with this one. I have an item renderer consisting of two labels, positioned horizontally. I want to fill the distance between them with , for example: Car.$40,000 House..$400,000 Any ideas how to do this? Also, there is the caveat that I draw the

[flexcoders] vector as a dataProvider

2010-03-05 Thread Ariel J
Does anyone else think that it's a shame that Vector doesn't implement IList and can't be used as a dataProvider? Is there a reason for this?

[flexcoders] Re: Cloud computing with Flex

2010-03-10 Thread Ariel J
Look into Adobe Stratus 2. --- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@... wrote: Hello, Is it possible to do Cloud computing (on Amazon EC2, ..) with Flex or Air ? Do you have any examples ? Thank you, Christophe,

[flexcoders] Re: i do not get flex 4 skinning?

2010-03-15 Thread Ariel J
You can use illustrator or fireworks in CS5 and export the vector drawings as FXG (XML) that can be pasted into a Flex 4 skin and compiled. Get to me at arieljake at yahoo dot com if you want help with that process. --- In flexcoders@yahoogroups.com, dorkie dork from dorktown

[flexcoders] 360flex videos

2010-03-22 Thread Ariel J
I was told attendees would get access to the videos from the conference. Anyone know where they can be found?

[flexcoders] Re: TextInput textAlign

2010-03-24 Thread Ariel J
verticalCenter=0 in a Canvas --- In flexcoders@yahoogroups.com, chandruflex chandruf...@... wrote: I am using Flex 3. Is it possible to align the text in the TextInput control to be vertically centered?

[flexcoders] Re: Problems getting a DataGroup to scroll

2010-06-11 Thread Ariel J
Try this for alt #2: s:Scroller width=100% horizontalScrollPolicy=off verticalScrollPolicy=auto top=50 bottom=0 s:DataGroup dataProvider={items} itemRenderer=com.silenttrace.hal.views.ItemRenders.AliveDeadItemRenderer width=100% clipAndEnableScrolling=false s:layout layouts1:FilteredTileLayout

[flexcoders] Re: Setting width/height not affecting visual display?

2010-07-14 Thread Ariel J
my guess is that the 200x100 rect was working properly but the +5 stuff wasn't? I remember dealing with this and saw somewhere that sprites are sized only when content is there, so for example, if you just add pixels to the height, it won't get bigger, but if you draw a bigger rect, e.g.

[flexcoders] Re: Stopping a function

2010-07-28 Thread Ariel J
yes, but you can mimic multithreading to permit one process to interrupt another http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html --- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote: On 28/07/2010 09:57, Christophe wrote: Hello, How to stop a ruuning

[flexcoders] Re: flash builder: how to create an as3 project WITHOUT flex sdk

2010-08-12 Thread Ariel J
Flex sdk i want to use. Huh? --- In flexcoders@yahoogroups.com, Ariel J arielj...@... wrote: When I go to the ActionScript 3.0 Reference for the Adobe Flash Platform, I am able to specify filters for the runtime and products. I have specified AIR 2.0 and FP 10.1, Flash CS4, but no Flex

[flexcoders] Re: flash builder: how to create an as3 project WITHOUT flex sdk

2010-08-12 Thread Ariel J
be for AS projects). --- In flexcoders@yahoogroups.com, Ariel J arieljake@ wrote: Update -- From the Flash Builder Help: ActionScript projects Based on the Flash API, not the Flex framework, ActionScript projects let ActionScript developers use Flash Builder to code, build

[flexcoders] Re: flash builder: how to create an as3 project WITHOUT flex sdk

2010-08-12 Thread Ariel J
Two things: 1) I need to include the AIR libraries? How do I add those to an Actionscript project? 2) When I create a Flex project, and replace the WindowedApplication mxml file with a similarly named file that is .as and that extends Sprite, I can write stage.nativeWindow.activate().

[flexcoders] Re: flash builder: how to create an as3 project WITHOUT flex sdk

2010-08-12 Thread Ariel J
Yes, but in an Actionscript project, how do I add the AIR classes for development? --- In flexcoders@yahoogroups.com, Oleg Sivokon olegsivo...@... wrote: You need to package the application using ADT, and launch it for testing using ADL. AIR runtime is different from player and it has more

[flexcoders] Re: flash builder: how to create an as3 project WITHOUT flex sdk

2010-08-12 Thread Ariel J
Thanks all. --- In flexcoders@yahoogroups.com, Oleg Sivokon olegsivo...@... wrote: {sdk}/frameworks/libs/air look there for swc files. airglobal.swc is the must, all the rest are optional, or so I think.

[flexcoders] Re: New Flex Mapping Framework

2010-08-24 Thread Ariel J
Bravo, this is very nice. --- In flexcoders@yahoogroups.com, bryan.dresselhaus bryan.dresselh...@... wrote: Hey guys, Just wanted to let you know about a new Flex Component Framework I've been working on for the last year or so. Its for building rich, interactive polygon based maps.

[flexcoders] actionscript + library

2010-09-08 Thread Ariel J
is there a way to configure a project in Flash Builder natively (as in, not using a custom builder) to create a pure actionscript project that compiles into a SWC not a SWF?