Re: [flexcoders] flash builder beta 2 sn?

2010-01-18 Thread Sam Lai
>From http://labs.adobe.com/technologies/flashbuilder4/?tabID=details#tabTop How long can I use Flash Builder 4 beta 2? The beta 2 release of Flash Builder 4 will run for 60 days from installation before timing out. You may continue your use of beta 2 after the first 60 days by entering a valid Fl

Re: [flexcoders] flash builder beta 2 sn?

2010-01-18 Thread Shabir Gilkar
Why? On Tue, Jan 19, 2010 at 10:11 AM, markflex2007 wrote: > > > I try to use Flex Builder 3 sn,but it can not be accept. > > Thanks > > > -- With Regards Shabir Ahmad Gilkar Srinagar Kashmir J&K Voice: +91 9419942501 email: shabirgil...@gmail.com URL: http://shabirgilkar.wordpress.com

[flexcoders] flash builder beta 2 sn?

2010-01-18 Thread markflex2007
I try to use Flex Builder 3 sn,but it can not be accept. Thanks

Re: [flexcoders] question about inheritance and events and overriding methods

2010-01-18 Thread Aaron Hardy
I just tried it on my machine and it compiled without any problems after I took out the dependencies I didn't have access to. I never got the error you mentioned. Maybe it's referring to something else? Cut everything out of your project (maybe make a new one) except the onResult function you be

Re: [flexcoders] How do I get an array of Images

2010-01-18 Thread Paul Andrews
criptopus wrote: > var imgArray:Array = new Array(); > > imgArray.push(new Image()); > > imgArray[imgArray.length].percentWidth=50; > > imgArray[imgArray.length].source="/media/Image.png"; > > imgArray[imgArray.length].addEventListener(Event.COMPLETE, > AdjustImageDimensions); > > etc. > > I just

[flexcoders] How do I get an array of Images

2010-01-18 Thread criptopus
var imgArray:Array = new Array(); imgArray.push(new Image()); imgArray[imgArray.length].percentWidth=50; imgArray[imgArray.length].source="/media/Image.png"; imgArray[imgArray.length].addEventListener(Event.COMPLETE, AdjustImageDimensions); etc. I just dont get it, can someone elusidate me o

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

2010-01-18 Thread xiaoming_w...@ymail.com
Thank you so much. Is it possible to set Function as a style property? --- In flexcoders@yahoogroups.com, "Ariel J" wrote: > > > .myStyle { > rendererClass: ClassReference("com.mycompany.myClass"); > } > > --- In flexcoders@yahoogroups.com, "xiaoming_wang@" wrote: > > > > Hi gurus, > > > >

[flexcoders] Re: Displaying additional child nodes in Datatip

2010-01-18 Thread turbo_vb
Three time's a charm: var series:LineSeries = LineSeries( o.element ); var seriesIndex:int; for ( seriesIndex = 0; seriesIndex < myChart.series.length; seriesIndex++ ) { var lineSeries:LineSeries = myChart.series[ seriesIndex ] as LineSeries; if ( lineSeries == series ) {

[flexcoders] Re: Displaying additional child nodes in Datatip

2010-01-18 Thread turbo_vb
Cleaner: private function dtFunction( o:HitData ):String { var series:LineSeries = LineSeries( o.element ) as LineSeries; var seriesIndex:int; for ( seriesIndex = 0; seriesIndex < myChart.series.length; seriesIndex++ ) { var lineSeries:LineSeries =

[flexcoders] Re: Displaying additional child nodes in Datatip

2010-01-18 Thread turbo_vb
So, maybe something like this: private function dtFunction( o:HitData ):String { var series:LineSeries = LineSeries( o.element ) as LineSeries; var seriesIndex:int; for ( var a:int = 0; a < myChart.series.length; a++ ) { var lineSeries:LineSeries =

[flexcoders] Re: Displaying additional child nodes in Datatip

2010-01-18 Thread turbo_vb
Easy enough, create a dictionary (id or name) when the series's are created; with the index. And/Or you can get the count from myChart.series.length. -TH --- In flexcoders@yahoogroups.com, "Monette" wrote: > > This will work. However, the series count is not limited to just "3" series, > it'

[flexcoders] Re: Displaying additional child nodes in Datatip

2010-01-18 Thread Monette
This will work. However, the series count is not limited to just "3" series, it's count is dynamic depending on the amount of data collected. So the code needs to check how many series exists and then generate the datatip for the different series data points. It is easy for me to accomplish t

[flexcoders] Bounding Box Problem (Again)

2010-01-18 Thread criptopus
This time it is in the dynamic code... pageContent is a VBox on a TitleWindow. var box:Box=new Box(); box.percentWidth=100; b

[flexcoders] Re: Binding and Spark Skins

2010-01-18 Thread amiller.demandlending
Ah.. So the component is strictly data/control code, and the skin is strictly visual code and layout. Very sweet. Thanks for the insight. Cheers! ~Aaron --- In flexcoders@yahoogroups.com, "Ariel J" wrote: > > You are not tackling this right. > > The component does not create the title

Re: [SPAM] [flexcoders] e4x to Datagrid not removing the tags when rendered

2010-01-18 Thread Quintjer
Thank you for taking the time to answer my question and explaining the datagrid dataprovider. I think what what problem is the way the xml I am importing is formatted. The root node is the name of the xml, then I have the repeating node. Within the repeating node I have data that needs to go i

[flexcoders] Re: if (foo)

2010-01-18 Thread ag_rcuren
I once ran some tests to test this. What I found is that checking against null is much faster. Sorry I do not have the test code around anymore but it would be very simple to build again. My guess as to why is that if (foo) is implicit and the conditional could be met by a couple things. if foo

[flexcoders] if (foo)

2010-01-18 Thread mitchgrrt
Other than style, are there reasons reasons to prefer using if (foo != null) rather than if (foo) Thanks.

[flexcoders] Re: Flex, SOAP and Process Flow

2010-01-18 Thread trefalgar
I've given up for now. AsyncTokens appear to be the way to go, but by the documentation I've seen it *should* work, but the result/fault handlers are never hit. I decided to try using 'closure' instead - I'm not even sure if the variables will remain stateful, but it's at least in a forward di

[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" wrote: > > I've run into an odd problem that I haven't been able to find a solution to. > In other programm

Re: [flexcoders] Building to FP10 breaks code that works if I build to FP9...why?

2010-01-18 Thread Guy Morton
Yes, it looked like a scoping problem to me as well. Just curious as to why it works in 9 but not 10. I couldn't find any documentation that said there was a change in this area. On 18/01/2010, at 10:37 PM, thomas parquier wrote: > Hello, > > I think your create function is not in class insta

[flexcoders] Using PlotSeries icon in a seperate control

2010-01-18 Thread Mike
I need to create an instance of a PlotSeries icon. It's easy enough to discover the PlotSeries item renderer: var renderer:ClassFactory = plotSeries.getStyle("itemRenderer"); However, if I have not figured out how to create an instance of the renderer so I can add it to the display list. Here

[flexcoders] Re: Flex, SOAP and Process Flow

2010-01-18 Thread trefalgar
Yeap, looking at that now and having little luck as well. http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Flex/Q_23313753.html, for example, shows someone with a similar problem with a similar solution. Here's what I've got ... var myService:Statistics = new Statistics(n

Re: [flexcoders] Re: Flex, SOAP and Process Flow

2010-01-18 Thread João Fernandes
You can add a responder to your AsyncToken which will carry your fault and result handlers. 2010/1/18 trefalgar > > > For those wanting to follow this suggestion, there's a good example here: > http://livedocs.adobe.com/flex/3/html/help.html?content=data_4.html. It's > towards the bottom, "Using

[flexcoders] Re: How long does it take to learn Flex and get a job?

2010-01-18 Thread jc_bad28
One thing to consider is "1 year of experience" or 1 month of experience repeated for 12 months. Big difference. What I mean is that learning the syntax and usage of Flex is one thing. Creating Flex apps to handle real world problems is another thing entirely. Most tutorials that have you bu

Re: [flexcoders] Drag&Drop event propagation

2010-01-18 Thread Alex Harui
I don’t think there is a way to refuse the drop when the dragDrop event occurs. And especially if you want to pause for input. On 1/18/10 4:19 AM, "txakin" wrote: Hi all, I have a tree component with an xml file as dataprovider. I would like to move node from one parent to other one, pr

[flexcoders] Re: Flex, SOAP and Process Flow

2010-01-18 Thread trefalgar
For those wanting to follow this suggestion, there's a good example here: http://livedocs.adobe.com/flex/3/html/help.html?content=data_4.html. It's towards the bottom, "Using a return token". Unfortunately, this example doesn't appear to work for me. It uses the Flex-built SOAP code and an Asyn

[flexcoders] Re: Displaying additional child nodes in Datatip

2010-01-18 Thread turbo_vb
Ok, good. Not sure exactly what you're trying to do, but it's basically the same type of thing as the data function. It's all about getting to right data for the series. Here's some code for getting individual values and for calculating totals for the week private function dtFunction( o:HitD

[flexcoders] Re: Flex, SOAP and Process Flow

2010-01-18 Thread trefalgar
That's interesting. It seems that the WSDL Importer uses AsyncTokens all over the place, but I never see any of them in the variables during a debug session. I'm now questioning if the importer actually made everything more complex than it needed to be ;) Thanks for the tip, João. I'm going to

Re: [flexcoders] Re: Flex, SOAP and Process Flow

2010-01-18 Thread João Fernandes
> That said, since #2 doesn't tell me what user it's replying "no" to, > if I do this in a loop with 100 users, it could be replying back with > 20 "no"s and I can't tell how I'd match the replies up with the requests. Yes you can, try using the asyncToken generated by service.invokeWs(user) and

[flexcoders] Re: Flex, SOAP and Process Flow

2010-01-18 Thread trefalgar
That makes sense if you can control the data that is sent back to you from the first resultevent (but I can't). 1) Web call - Does the user 'Trefalgar' exist? 2) Web reply - No. (no additional data) 3) Web call - Create user 'Trefalgar' Flex doesnt appear to be linear. That said, since #2 doesn'

[flexcoders] Re: Flex, SOAP and Process Flow

2010-01-18 Thread valdhor
Basically you wait for the resultevent of the first call and put the second call in that function. --- In flexcoders@yahoogroups.com, "trefalgar" wrote: > > I've run into an odd problem that I haven't been able to find a solution to. > In other programming languages (Perl, PHP, for example), if

[flexcoders] Flex, SOAP and Process Flow

2010-01-18 Thread trefalgar
I've run into an odd problem that I haven't been able to find a solution to. In other programming languages (Perl, PHP, for example), if I want to do X, Y and Z in order, all with remote calls, it's very easy and straight forward. With Flex, I'm pretty confused on how to do something this simple

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

[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...@..." wrote: > > Hi gurus, > > I have a component with style definitions like the following: > > [Style(name="rendererClass",type="Class",inherit="yes")] > [Style(name="render

[flexcoders] Re: IGraphicElement and LayoutBase

2010-01-18 Thread Ariel J
>From the docs for IGraphicElement: "Group organizes its IGraphicElement children in sequences that share and draw to the same DisplayObject. The DisplayObject is created by the first element in the sequence." That means that there is a single DisplayObject added to the display list upon which

[flexcoders] Re: Datagrid itemrenderer for adding multiple linkbuttons in same gridcolumn

2010-01-18 Thread valdhor
Here is a quick and dirty example using the hyperlink component from jabbypanda (http://jabbypanda.com/labs/hyperLink/srcview/index.html): http://www.adobe.com/2006/mxml"; layout="absolute" width="700"> LinksRende

[flexcoders] Question about setStyle/getStyle

2010-01-18 Thread Tino Dai
Am I missing something? var h1:HBox = new HBox(); h1.setStyle("backgroundColor",0xFF); trace("GetStyle of backgroundColor--> " + h1.getStyle("backgroundColor")); .trace output... GetStyle of backgroundColor--> undefined Isn't the getStyle suppose to retu

[flexcoders] Re: how to get bounding rectangle of display object

2010-01-18 Thread Davis Ford
Scratch this...figured it out. Problem was unrelated -- Rectangle.topLeft was giving me consistent results. On Mon, Jan 18, 2010 at 10:06 AM, Davis Ford wrote: > >

[flexcoders] Re: Displaying additional child nodes in Datatip

2010-01-18 Thread Monette
Almost there! I assigned an id to each series - s1, s2, s3 etc. Below I am trying to loop for the total amount of series. The values show up for bookrate and status but they are the incorrect values for some of the datapoints. If I define a as 0, 1 or 3 without the loop the values are correct fo

[flexcoders] not legal to override a function with an optional parameter, e.g. foo(s: String=null) ?

2010-01-18 Thread Tim Romano
I've been asking general questions about inheritance and am splitting this question off as a separate one because it's very specific. It appears that you cannot override a function with optional parameters? protected function foo(a:String, s:String=null): void {} Isn't the signature considered

[flexcoders] how to get bounding rectangle of display object

2010-01-18 Thread Davis Ford
Hi, I'm trying to get the bounding rectangle for a TextArea widget. e.g. => In AS => var r:Rectangle = textArea.getVisibleRect(); specifically, I am interested in consistently getting the top-left point of the the rectangle: var p:Point = r.topLeft; Most of the time this works as expected,

[flexcoders] Combobox arrow width workaround

2010-01-18 Thread Warren
I'd like to be able to set the width of the ComboBox arrow. There is a style for it (arrowButtonWidth) but it doesn't work. It's a known issue/bug with the ComboBox. Does anyone have a workaround for this lack of functionality that would work in Flex3? Thanks! Warren

RE: [SPAM] [flexcoders] Animating items in a tilelist when filtering arraycollection

2010-01-18 Thread Tracy Spratt
Try filtering a separate ArrayCollection then re-assignng the dataProvider. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ZIONIST Sent: Monday, January 18, 2010 4:11 AM To: flexcoders@

Re: [flexcoders] question about inheritance and events and overriding methods

2010-01-18 Thread Tim Romano
I am having trouble with an override, getting "Method marked override must override another method". No problem at all doing this: in the BASE CLASS: protected function foo(): void{} in the SUBCLASS override protected function foo(): void{} But the error given above occurs here: in the BASE

Re: [flexcoders] flex vertial button?

2010-01-18 Thread Warren
Here is code for a MultiLine Button. You put a line break (\n) where you want it to break. I use it to get a vertical label by putting a line break between each letter. Hope this helps! Warren package myClassLibrary{ // from http://blogs.adobe.com/aharui/2007/04/multiline_buttons.html and

[flexcoders] Drag&Drop event propagation

2010-01-18 Thread txakin
Hi all, I have a tree component with an xml file as dataprovider. I would like to move node from one parent to other one, previously an alert message. 1.- I drag a node 2.- Before drop this node in new parent node, i want to display an alert message. 3.- If the user click YES, i want to move th

Re: [flexcoders] Building to FP10 breaks code that works if I build to FP9...why?

2010-01-18 Thread thomas parquier
Hello, I think your create function is not in class instance scope (because inline) : should be static or from an instance of "Dohickey" to work, I think. thomas parquier --- http://www.web-attitude.fr/realisations/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net télé

[flexcoders] A popupbutton without arrow?

2010-01-18 Thread Leonardo Camargo
Hi folks, I'm looking for ideas... I need to have a button(skinnned with an icon), that when clicked will show a "layer" with two options, pretty much like a combobox or a popupbutton. But I need the button to be, "clean", without the arrow. Any Ideas on how to go about doing this? Regards, Leona

[flexcoders] Building to FP10 breaks code that works if I build to FP9...why?

2010-01-18 Thread Guy Morton
Hello people, I hope someone here can point me in the right direction here. I have a class in my codebase that defines objects that contain functions eg (pseudocode): package com.my.package { import flash.events.EventDispatcher; public class Dohickey extends EventDispatcher {

[flexcoders] Animating items in a tilelist when filtering arraycollection

2010-01-18 Thread ZIONIST
i guys i have probably asked this several times but i have never gotten anything solid. i have a tile list that is populated with an array collection of data from a database. i also have a filter function that i use to filter the array collection based on multiple criteria. i would like to have

[flexcoders] Error while select or over the menubar first time ~

2010-01-18 Thread j2me_soul
I have a lot of codes in the main.mxml, so I cut most of them. And I don't use the any kinds of the css styles.The code is actually created by FlashCatalyst. The menubar dosen't have the skinclass property so I is added manually. I have attached the main.mxml. Thanks a lot ! http://n