[flexcoders] Point to the start of the textbox

2008-12-23 Thread kotha poornima
Hi All, Iam using a textbox in my flex project which has medium amount of data. Functionality of the textbox is dynamic. If the user clicks on item of the listbox the value of the textbox change according to the listbox item. So here the problem is 1. Textbox width is not sufficient to the

Re: [flexcoders] Point to the start of the textbox

2008-12-23 Thread Manish Jethani
On Tue, Dec 23, 2008 at 2:35 PM, kotha poornima poorni_ag...@yahoo.com wrote: 1. Textbox width is not sufficient to the data in the control So if i want to see the endpoint of the data iam moving my cursor to the end of the control(ie textbox). There's a property you need to set. It's called

Re: [flexcoders] Display only part of a canvas??

2008-12-23 Thread Manish Jethani
On Tue, Dec 23, 2008 at 5:41 AM, jmfillman jmfill...@verizon.net wrote: I have a Canvas that with a height of 3000. For some users, I only want them to be able to view and scroll a portion of the height of the canvas, say 1200-2200. It can vary from user to user, and some will need to see the

[flexcoders] Custom Shape Canvas

2008-12-23 Thread shardul bartwal
Hi, I am here with a problem of drawing a cusstom shape canvas.Is it possible to convert any shape into any canvas or UIComponent etc.If any body having any idea about this pls suggesst me. Thanx. Shardul Singh Bartwal Add more friends to your messenger and enjoy! Go to

RE: [flexcoders] Custom Shape Canvas

2008-12-23 Thread Kenneth Sutherland
You should check out degrafa. It’s good for custom shapes etc http://degrafa.org/samples/ Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of shardul bartwal Sent: 23 December 2008 09:55 To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom

[flexcoders] Does anybody know why FlashPaper is not supported anymore and what to expect instead?

2008-12-23 Thread Sergey Kovalyov
Hi All! Since FlashPaper is not supported anymore, integrating FlashPaper documents into Flex application would still remain into the headache. Yes, solution exists ( http://www.darronschall.com/weblog/2006/11/how-to-load-flashpaper-documents-in-flex-2.cfm), but unfortunately it is not as

Re: [flexcoders] Wrapping Text in Alert

2008-12-23 Thread Manish Jethani
On Tue, Dec 23, 2008 at 9:05 AM, Stephen More stephen.m...@gmail.com wrote: On Mon, Dec 22, 2008 at 5:39 PM, Manish Jethani manish.jeth...@gmail.com wrote: Is there an easy way to get text inside of a mx.controls.Alert to wrap ? It already wraps. mx:Button click=Alert.show('The quick brown

[flexcoders] Best practices for the naming of item renderers ?

2008-12-23 Thread João
Hi, is there a best practice for the naming of item renderers? Thanks, João Saleiro

[flexcoders] Embedding HTML page into Flex using Adobe AIR

2008-12-23 Thread shiv_indian
Hi, This is Siva Kumar. Need help in embedding an HTML in Flex . We are using Adobe Air using Flex. To embed an HTML in Flex we used mx:HTML tag. Its working fine but whts the problem is its not allowing to download files / attachements. To download attachments do I need to change any

Re: [flexcoders] few compc questions

2008-12-23 Thread aaron smith
Ah, I didn't realize it was part of the compiler. switches. Thanks. On Mon, Dec 22, 2008 at 10:30 AM, Manish Jethani manish.jeth...@gmail.com wrote: On Sat, Dec 20, 2008 at 1:13 AM, aaron smith beingthexemplaryli...@gmail.com wrote: Yeah that -include-libraries worked. Strange as it isn't

[flexcoders] Re: Disable screen interaction while cursor in busy mode

2008-12-23 Thread lidong
We have a lot of remote calls, if ues Application.enabled, we have to modify the code for each remote call. So is there a way to find out whether the busy cursor is showing so that we can use data binding to avoid modifying alll the remote calls. --- In flexcoders@yahoogroups.com, Sherif Abdou

Re: [flexcoders] Re: SWF file format question - SymbolClass Tag

2008-12-23 Thread aaron smith
Ok, that makes sense. Do you know by any chance if anything like this will be added to Flash CS4 anytime soon? This is precisely why I'm going down this road of modifying the actual SWF - because it's not flex compiled. Thanks. On Mon, Dec 22, 2008 at 10:26 AM, Alex Harui aha...@adobe.com

Re: [flexcoders] how to manage display of 2 images inside a VBox?

2008-12-23 Thread Kearney Buskirk
On Dec 22, 2008, at 12:08 PM, Manish Jethani wrote: On Mon, Dec 22, 2008 at 10:14 PM, kearney_buskirk kear...@lightthrumedia.com wrote: The situation: a large photo jpg and a small text png are vertically constrained within a VBox. The small text png is positioned below the photo in the

Re: [flexcoders] FLVPlayback using a Tree Control

2008-12-23 Thread Jesse Brack
That worked great, but one problem. It only increments by 1 for the original selected node, so continuous playback stops after the first increment as it starts returning the same @source From: Manish Jethani manish.jeth...@gmail.com To:

Re: [flexcoders] FLVPlayback using a Tree Control

2008-12-23 Thread Jesse Brack
Ah solved it tonight. It may not be the best way but for anyone interested this is the code: var currentVid:int = 0; var dsl:int = xPhoto.parent().children().length(); if ((xPhoto.childIndex() + 1) + currentVid = dsl) {

Re: [flexcoders] FlexTasks: Compc for Flash Player 10

2008-12-23 Thread Robert Stehwien
On Mon, Dec 22, 2008 at 3:50 PM, Tyler Kocheran rfkroc...@gmail.com wrote: I'm aware that I can do compc on commandline with FP10, but is it possible yet to do it in FlexTasks for Ant? I haven't looked at the Flex 4 SDK yet, I've just been getting nightly builds of 3. You should be able to

[flexcoders] Performance and UI failing to update?

2008-12-23 Thread Charlie Hubbard
I'm writing an AIR application where I have a very long operation that I need to run in the background. I know Actionscript doesn't have threads so I'm trying to simulate that using cooperative multi-tasking by breaking up my job into smaller pieces. I'm basically trying to parse an XML file,

[flexcoders] Invoking a remote object.

2008-12-23 Thread wkolcz
Please be patient, I am new to this :-) I am trying invoke a RemoteObject that is in a Class from a code behind AS file. But I am getting this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. Here is my CB: import

[flexcoders] MDIWindow modal

2008-12-23 Thread Bianconi
Hi everybody, Someone know how do i do modal in mdiwindow??? urgently... Tks, Felipe Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com

Re: [flexcoders] Wrapping Text in Alert

2008-12-23 Thread Stephen More
On Tue, Dec 23, 2008 at 5:54 AM, Manish Jethani manish.jeth...@gmail.com wrote: Is there an easy way to get text inside of a mx.controls.Alert to wrap ? It already wraps. The text is wrapping in your example, but it does not wrap tight enough as it is overflowing the edges. How can the text

[flexcoders] Re: MDIWindow modal

2008-12-23 Thread valdhor
What I do is create the MDI window and then set Application.application.enabled = false. --- In flexcoders@yahoogroups.com, Bianconi febianc...@... wrote: Hi everybody, Someone know how do i do modal in mdiwindow??? urgently... Tks, Felipe Veja quais são os assuntos do

RE: [flexcoders] Performance and UI failing to update?

2008-12-23 Thread Tracy Spratt
I have used this technique to break up long running processes. But I use two functions and two instance variables so that the function of the iterator is entirely separate from the processor. The way you are doing it , essentially recursively, may be causing the problem. Tracy

[flexcoders] multi axis columnSeries chart grid messed up in Actionscript

2008-12-23 Thread netdeep
I'm having a problem with a stray grid line popping up on my charts. It is not the same color as the other grid lines (which are grey), in fact it is the same color as the vertical axes (it is a multi-axis chart) and appears out of sinc with the others similar to this pattern:

Re: [flexcoders] Performance and UI failing to update?

2008-12-23 Thread Charlie Hubbard
Tracy, Before I started parsing the file it actually worked simply iterating over the files and adding them to the DB without processing them. After I started parsing the files I started getting this halting of the UI. Do you have any more details about how your technique was different? Maybe a

[flexcoders] Re: Write file to server

2008-12-23 Thread mccaffreymike
OK, I understand. Ultimately, the data in this file will be passed via a webservice to and from a weblogic server. While developing just the ointerface piece, I thought I might be able to work just locally by reading/writing the file out. Guess it works on the read but not on the write.

Re: [flexcoders] Performance and UI failing to update?

2008-12-23 Thread Manish Jethani
On Tue, Dec 23, 2008 at 7:05 PM, Charlie Hubbard charlie.hubb...@gmail.com wrote: The parsing of the XML is done separately from the iteration, and each iteration of the loop over the nodes is done using UIComponent.callLater(). So my algorithm looks pretty close to something of this form:

RE: [flexcoders] Performance and UI failing to update?

2008-12-23 Thread Tracy Spratt
A quick google indicates that, as Manish says, current thinking is to use timer for this type of work. In addition to the libraries, Manish mentions, look at Alex's article/class: http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html Also there is an explanation in the flex

[flexcoders] What is '*' in class type?

2008-12-23 Thread luvfotography
Hi, I saw this in someone's code: public function parseResult( result:*):Array { if( result is XML || result is XMLList ) { . . . . ... what is the '*' , is this the same as (result:object) ? where result can be any type of object?

Re: [flexcoders] FlexTasks: Compc for Flash Player 10

2008-12-23 Thread Tyler Kocheran
Awesome I'll give it a whirl. On Mon, Dec 22, 2008 at 9:09 PM, Robert Stehwien rstehw...@gmail.comwrote: On Mon, Dec 22, 2008 at 3:50 PM, Tyler Kocheran rfkroc...@gmail.comwrote: I'm aware that I can do compc on commandline with FP10, but is it possible yet to do it in FlexTasks for Ant?

RE: [flexcoders] What is '*' in class type?

2008-12-23 Thread Alex Harui
'*' can hold the value undefined. Object cannot, it can only hold null. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of luvfotography Sent: Tuesday, December 23, 2008 9:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] What is '*' in class type? Hi,

Re: [flexcoders] how to manage display of 2 images inside a VBox?

2008-12-23 Thread Kearney Buskirk
On Dec 22, 2008, at 4:05 PM, Alex Harui wrote: Did you try resizeToContent=true? When resizeToContent is inserted into either the VBox or the Image, a mistake reads: cannot resolve attribute 'resizeToContent' to that component type. From: flexcoders@yahoogroups.com

RE: [flexcoders] how to manage display of 2 images inside a VBox?

2008-12-23 Thread Alex Harui
One of the problems with Image is that it doesn't know how big it is until the image is loaded, which is after the VBox measures and sizes it. It should cause another layout pass after the image loads, but sometimes various constraints and flags prevent that from happening. From:

RE: [flexcoders] Re: SWF file format question - SymbolClass Tag

2008-12-23 Thread Alex Harui
I doubt they will be adding such a feature anytime soon. You may be able to fake out CS4 by modifying the files you link against in a sub-swf to have native APIs. However, if I had that large a project in Flash, I would probably just use jsfl to export SWFs of assets and build the rest using

RE: [flexcoders] Embedding HTML page into Flex using Adobe AIR

2008-12-23 Thread Alex Harui
If the embedded HTML contains Javascript that is trying to use ExternalInterface, that won't work, but I don't understand why you would need that to download a file. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of shiv_indian Sent: Tuesday, December 23, 2008

[flexcoders] Media startup is hiring ..

2008-12-23 Thread Lushen Wu
Hi all, I just recently joined the group and am wondering what [flexcoders] policy is for job postings on-list. If anybody has hiring-success stories please share... I'm running a boston-based media startup with a near-alpha AIR client. Please contact me if that sounds the least bit exciting :

RE: [flexcoders] Best practices for the naming of item renderers ?

2008-12-23 Thread Alex Harui
What is your purpose for naming them? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of João Sent: Tuesday, December 23, 2008 4:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Best practices for the naming of item renderers ? Hi, is there a best

RE: [flexcoders] Does anybody know why FlashPaper is not supported anymore and what to expect instead?

2008-12-23 Thread Alex Harui
FlashPaper as a means of cross-platform document presentation terminated in favor of Acrobat. With it went the ability to embed documents into Flash/Flex, but the number of folks looking for this apparently hasn't been enough to cause any changes of plans here. I doubt FlashPaper will ever be

RE: [flexcoders] how to manage display of 2 images inside a VBox?

2008-12-23 Thread Alex Harui
Sorry, forgot that not all containers have that. You could try setting the textImage to be invisible until the big image loads. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Kearney Buskirk Sent: Tuesday, December 23, 2008 10:11 AM To:

[flexcoders] Re: Write file to server

2008-12-23 Thread valdhor
Although, is there a way to write it on weblogic without a separate script to catch the request and write the data? Sounds like not. You would be correct. You need some code/script in WebLogic to catch the data that is being sent and then do something with it (Like writing to a file). --- In

[flexcoders] Re: Media startup is hiring ..

2008-12-23 Thread valdhor
This is a coding forum so job postings are not welcome. There is a Yahoo group specifically for Flex job postings: http://tech.groups.yahoo.com/group/flexjobs/ --- In flexcoders@yahoogroups.com, Lushen Wu l...@... wrote: Hi all, I just recently joined the group and am wondering what

Re: [flexcoders] What is '*' in class type?

2008-12-23 Thread Ralf Bokelberg
There is another difference. You can assign a * variable to anything else while an Object variable needs to be casted. var x : *; var y : Object; var string : String; var uicomp : UIComponent; var bool : Boolean; var num : Number; var arr : Array; var i : int; var obj : Object; string = x;

Re: [flexcoders] how to manage display of 2 images inside a VBox?

2008-12-23 Thread Kearney Buskirk
On Dec 23, 2008, at 10:30 AM, Alex Harui wrote: Sorry, forgot that not all containers have that. You could try setting the textImage to be invisible until the big image loads. May I suggest that Flex have at least a simple slideShow component. Think I'll try making it in Flash and

[flexcoders] Deselecting tree nodes based on some condition

2008-12-23 Thread biosmonkey
I am using the tree view in an advanced data grid. The nodes in the tree can be any kind of parent/child relationship, and each node is one of a few different types. So for example, let's say you have a tree consisting of nodes that are one of 5 different types A,B,C,D,and E. If the user first

Re: [flexcoders] Re: SWF file format question - SymbolClass Tag

2008-12-23 Thread aaron smith
Ok. then I won't go down that route. I'll go down the asset swf with mxmlc route. I wrote this JSFL (http://codeendeavor.com/archives/47), but there are cases when it doesn't work, like cross referencing classes, etc.. thanks man. -A On Tue, Dec 23, 2008 at 10:17 AM, Alex Harui aha...@adobe.com

[flexcoders] compc -include-namespace question

2008-12-23 Thread aaron smith
Does the -include-namespace correlate to the mxmlc namespaces.namespace switch? Also, (this is kind of broad), but in what situation do the namespace flags need to be used? I'm thinking it's for the namespaces in mxml (like myNameSpace:..) Thanks yo.

[flexcoders] - Tree Component Styling issue

2008-12-23 Thread Alan Rother
Hey all, I am building a sitemap tool in Flex 3. I want to be able to control all of the icons at runtime based on the data provided back to Flex from ColdFusion (XML). I have managed to get the leaf nodes icons controlled by the data provider, but I cannot find a way to affect the folder icons

RE: [flexcoders] compc -include-namespace question

2008-12-23 Thread Alex Harui
I'm not on the compiler team so my answer may not be complete or correct, but we use namespaces to map several packages of components into one place. When you use xmlns:mx=http:// that manifest covers mx.core, mx.controls, etc. From: flexcoders@yahoogroups.com

[flexcoders] Re: Flex 3 checkbox as itemrenderer in datagrid, selected property boolean not working

2008-12-23 Thread jeremysavoy
Your suggestion worked perfectly. I created a custom item renderer as a vbox which contains the checkbox control, now works as expected - thanks!! --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: I may be wrong (Someone correct me if I am)... The built-in item renderer sees

[flexcoders] Flex 3 Button with drop down list of other options

2008-12-23 Thread jeremysavoy
Not sure how to implement this. I want to have a button, that has an option for a drop down list that may display other options. For example, and Add button, with the option to Add Based on Selected Record similar to the Run button in Flex Builder, where you can select the green arrow to run

RE: [flexcoders] Deselecting tree nodes based on some condition

2008-12-23 Thread Alex Harui
Most array APIs are not watched. You clone the array, modify it and re-assign it. Modifying the array you get back won't be noticed. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of biosmonkey Sent: Tuesday, December 23, 2008 11:51 AM To:

Re: [flexcoders] - Tree Component Styling issue

2008-12-23 Thread Alan Rother
NEVERMIND... Always happens... As soon as I send an email to the list, I find the answer... http://livedocs.adobe.com/flex/3/html/help.html?content=dpcontrols_8.html private function loadIconClass(item:Object):Class { var type:String = item.icon; if (type

RE: [flexcoders] - Tree Component Styling issue

2008-12-23 Thread Alex Harui
Use an iconFunction From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alan Rother Sent: Tuesday, December 23, 2008 12:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] - Tree Component Styling issue Hey all, I am building a sitemap tool in Flex 3. I

[flexcoders] Shift+Select - Issue with ListBase

2008-12-23 Thread rviswanathan
Hi I am reopening this topic. I am facing an issue with a list that allows multi select. I am using Flex 2.0. I see that this is fixed in Flex 3.0, but I am not sure how to go about fixing this problem in 2.0 I run the source code below. 1. On load of the application, I set the first item in

[flexcoders] Re: Performance and UI failing to update?

2008-12-23 Thread Amy
--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: A quick google indicates that, as Manish says, current thinking is to use timer for this type of work. I'm not sure I agree with this, since a timer can't react before the next frame anyway (i.e. the most accurate a timer can

[flexcoders] Re: Display only part of a canvas??

2008-12-23 Thread jmfillman
I appreciate the responses, but I do not believe this will accomplish what I need. Masking is the closest so far, but the scroll bars create a problem. Simply making items hidden, does hide viewable items, but leaves the container with a lot of blank space. Essentially, I want to override the

Re: [flexcoders] Performance and UI failing to update?

2008-12-23 Thread Charlie Hubbard
Manish, Thanks that's more like the info I was looking for. Just some details as to how Flash events and frame rates work in relation to callLater(). Using a timer has one distinct advantage that you can control how fast something is running where my technique ran every frame (or so I thought).

RE: [flexcoders] Re: Performance and UI failing to update?

2008-12-23 Thread Tracy Spratt
The frame-based solution worked fine for me, but I do not have the flash background to argue the case against timers. Someone who does will someday do a definitive analysis of the two approaches. Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Display only part of a canvas??

2008-12-23 Thread Tracy Spratt
Just thinking aloud, but supposed you intercepted the scroll events and calculated whether the user was allowed to move that way and apply preventDefault if not? Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jmfillman

Re: [flexcoders] - Tree Component Styling issue

2008-12-23 Thread ivo
I handled it by extending TreeItemRenderer, overriding updateDisplayList() set theTreListData icon based on some condition in the node item. override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { var tlData:TreeListData =

Re: [flexcoders] Deselecting tree nodes based on some condition

2008-12-23 Thread ivo
To examine the node clicked you can listen for ListEvent.ITEM_CLICK in the Tree and check the event data. You can then use the scan selectedItems array and remove any that dont belong. - Ivo From: biosmonkey biosmon...@yahoo.com To:

Re: [flexcoders] compc -include-namespace question

2008-12-23 Thread Manish Jethani
On Wed, Dec 24, 2008 at 1:33 AM, aaron smith beingthexemplaryli...@gmail.com wrote: Does the -include-namespace correlate to the mxmlc namespaces.namespace switch? Also, (this is kind of broad), but in Yes. what situation do the namespace flags need to be used? I'm thinking it's for the

Re: [flexcoders] Re: Display only part of a canvas??

2008-12-23 Thread Manish Jethani
On Wed, Dec 24, 2008 at 2:36 AM, jmfillman jmfill...@verizon.net wrote: I appreciate the responses, but I do not believe this will accomplish what I need. Masking is the closest so far, but the scroll bars create a problem. Simply making items hidden, does hide viewable items, but leaves the

Re: [flexcoders] Flex 3 Button with drop down list of other options

2008-12-23 Thread Manish Jethani
On Wed, Dec 24, 2008 at 2:01 AM, jeremysavoy jeremysa...@yahoo.com wrote: Not sure how to implement this. I want to have a button, that has an option for a drop down list that may display other options. For example, and Add button, with the option to Add Based on Selected Record similar

[flexcoders] Re: Display only part of a canvas??

2008-12-23 Thread jmfillman
This crops the scroll area only for items after the last included item. Take the following example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Canvas left=0 bottom=0 top=0 right=0 mx:Button x=10 y=10

Re: [flexcoders] What is '*' in class type?

2008-12-23 Thread Manish Jethani
On Tue, Dec 23, 2008 at 10:35 PM, luvfotography ygro...@all-digital-links.com wrote: public function parseResult( result:*):Array { if( result is XML || result is XMLList ) { . . . . ... what is the '*' , is this the same as (result:object) ? where result can be

Re: [flexcoders] Re: Display only part of a canvas??

2008-12-23 Thread Manish Jethani
On Wed, Dec 24, 2008 at 4:07 AM, jmfillman jmfill...@verizon.net wrote: This crops the scroll area only for items after the last included item. Take the following example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

Re: [flexcoders] Re: Performance and UI failing to update?

2008-12-23 Thread Manish Jethani
On Wed, Dec 24, 2008 at 2:23 AM, Amy amyblankens...@bellsouth.net wrote: --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: A quick google indicates that, as Manish says, current thinking is to use timer for this type of work. I'm not sure I agree with this, since a timer

[flexcoders] Re: Display only part of a canvas??

2008-12-23 Thread jmfillman
Yeah, I need a Canvas. I have to positions items horizontally and vertically within the Canvas. --- In flexcoders@yahoogroups.com, Manish Jethani manish.jeth...@... wrote: On Wed, Dec 24, 2008 at 4:07 AM, jmfillman jmfill...@... wrote: This crops the scroll area only for items after the

[flexcoders] Re: Display only part of a canvas??

2008-12-23 Thread jmfillman
Hi Tracy, This may work, I'd have to try it, and may be my best option. I was hoping to be able to reset the scrollBar so that it appears to the user that they are seeing everything. JF --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Just thinking aloud, but supposed you

[flexcoders] AIR feature suggestion

2008-12-23 Thread arieljake
Does anyone familiar with the bug website know which project I should specify for a suggestion regarding the AIR installation process?

[flexcoders] Re: Display only part of a canvas??

2008-12-23 Thread jmfillman
I'm very close. I still need help with the scrollBar so that the scrollBar reaches the bottom when you reach the bottom of the scroll area of the Canvas. Any suggestions? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

[flexcoders] Re: Best practices for the naming of item renderers ?

2008-12-23 Thread João
For example, a List component shows Users. Each user has a picture and some data, shown thanks to an ItemRenderer class. I would like to know if there are best practices for naming ItemRenderer classes. Thanks, João Saleiro

RE: [flexcoders] Shift+Select - Issue with ListBase

2008-12-23 Thread Alex Harui
I would subclass List and restore anchorIndex and caretIndex when selectedItems is set. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of rviswanathan Sent: Tuesday, December 23, 2008 12:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Shift+Select -

RE: [flexcoders] Re: Best practices for the naming of item renderers ?

2008-12-23 Thread Alex Harui
I still don't think I understand. You can call the class anything you want. Are you looking to avoid name collisions or something like that? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of João Sent: Tuesday, December 23, 2008 4:01 PM To:

[flexcoders] Re: Best practices for the naming of item renderers ?

2008-12-23 Thread João
I'm talking about some kind of coding conventions. In a team environment it's a good practice to make everyone follow the same coding conventions. Different programmers give more or less the same names to classes/methods/properties, etc since all of them follow the same rules. Unfortunately we do

Re: [flexcoders] Re: Best practices for the naming of item renderers ?

2008-12-23 Thread Ricky Bacon
João wrote: I'm talking about some kind of coding conventions. In a team environment it's a good practice to make everyone follow the same coding conventions. Different programmers give more or less the same names to classes/methods/properties, etc since all of them follow the same rules.

Re: [flexcoders] Re: Best practices for the naming of item renderers ?

2008-12-23 Thread Manish Jethani
On Wed, Dec 24, 2008 at 5:30 AM, João joao.sale...@webfuel.pt wrote: For example, a List component shows Users. Each user has a picture and some data, shown thanks to an ItemRenderer class. I would like to know if there are best practices for naming ItemRenderer classes. I don't know about

Re: [flexcoders] compc -include-namespace question

2008-12-23 Thread aaron smith
Thanks Manish! perfect explanation. Thanks again! On Tue, Dec 23, 2008 at 2:02 PM, Manish Jethani manish.jeth...@gmail.com wrote: On Wed, Dec 24, 2008 at 1:33 AM, aaron smith beingthexemplaryli...@gmail.com wrote: Does the -include-namespace correlate to the mxmlc namespaces.namespace switch?

Re: [flexcoders] compc -include-namespace question

2008-12-23 Thread aaron smith
Hey Manish, one more question about your response. It seems like the only way to use the compiled namespaces is with the local namespace in mxml, like: local:MyComponent label=Click Me/ Is this correct? I don't see a way to specifically allow you to compile in a component so that you can use

Re: [flexcoders] compc -include-namespace question

2008-12-23 Thread aaron smith
Oh wait, I see it. So I could define map a namespace in the application tag to the comipled namespace. like... Application xmlns:foo=http://example.com/foo; And that would allow me to use foo:MyComponent. Right? Thanks again. On Tue, Dec 23, 2008 at 4:37 PM, aaron smith

Re: [flexcoders] compc -include-namespace question

2008-12-23 Thread Manish Jethani
On Wed, Dec 24, 2008 at 6:11 AM, aaron smith beingthexemplaryli...@gmail.com wrote: Oh wait, I see it. So I could define map a namespace in the application tag to the comipled namespace. like... Application xmlns:foo=http://example.com/foo; And that would allow me to use foo:MyComponent.

[flexcoders] Re: Deselecting tree nodes based on some condition

2008-12-23 Thread biosmonkey
Thanks to those who have replied. I am indeed executing this code inside the itemclick handler, but I just didn't know how to manipulate the list. When it was mentioned that the grid is not going to be aware of any array functions performed directly on the selectedItems array, I altered the code

[flexcoders] control itemrenderer by another one

2008-12-23 Thread Fu Di
hi all i used numericstepper as itemrenderer in datagrid , when i change the itemrenderer's value i want the next itemrenderer is also changed . thanks for your help foodyi

RE: [flexcoders] control itemrenderer by another one

2008-12-23 Thread Tracy Spratt
Next as in the renderer rendering the value in the next *row*? If so, then have the renderer update the next item in the dataProvider. Of course, next is a slippery concept if you do any sorting or filtering... Tracy From: flexcoders@yahoogroups.com

Re: [flexcoders] control itemrenderer by another one

2008-12-23 Thread Fu Di
sorry i didn't express clearly, next is next row. foodyi From: Tracy Spratt tspr...@lariatinc.com To: flexcoders@yahoogroups.com Sent: Wednesday, December 24, 2008 10:05:05 AM Subject: RE: [flexcoders] control itemrenderer by another one “Next” as in the

[flexcoders] Re: Embedding HTML page into Flex using Adobe AIR

2008-12-23 Thread shiv_indian
Hi Alex, This is one of requirement from our customer. Is there any alternative for ExternalInterface or is there any feature in mx:HTML tag to download files / attachments. Thanks Regards, Siva Kumar --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: If the embedded HTML

[flexcoders] Re: Performance and UI failing to update?

2008-12-23 Thread Amy
--- In flexcoders@yahoogroups.com, Manish Jethani manish.jeth...@... wrote: On Wed, Dec 24, 2008 at 2:23 AM, Amy amyblankens...@... wrote: --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: A quick google indicates that, as Manish says, current thinking is to use timer

[flexcoders] Flex 3 Certification

2008-12-23 Thread Ashish Verma
Hello All, I want to give Flex 3 certification exam. I know the details about the promatic center and all. what I want to know from where I can download the sample question papares for flex 3 if not available could you tell me site for flex 2 at least. Regards, Ashish

RE: [flexcoders] Re: Embedding HTML page into Flex using Adobe AIR

2008-12-23 Thread Alex Harui
I still don't understand how ExternalINterface got involved. I haven't used mx:HTML much, but I would expect you can view most sites that allow downloading and download something. mx:HTML basically wraps the flash.html package. Read the doc on the those classes. From:

Re: [flexcoders] MDIWindow modal

2008-12-23 Thread Rick Winscot
You can also use PopUpManager ­ and set the modal flag as true. Rick Winscot On 12/23/08 8:57 AM, Bianconi febianc...@yahoo.com.br wrote: Hi everybody, Someone know how do i do modal in mdiwindow??? urgently... Tks, Felipe Veja quais são os assuntos do momento no

Re: [flexcoders] Flex 3 Certification

2008-12-23 Thread Rick Winscot
The study guide for the exam: http://partners.adobe.com/public/en/ace/ACE_Exam_Guide_FlexAIR.pdf Rick Winscot On 12/23/08 11:38 PM, Ashish Verma verma.lu...@gmail.com wrote: Hello All, I want to give Flex 3 certification exam. I know the details about the promatic center and

Re: [flexcoders] Re: Performance and UI failing to update?

2008-12-23 Thread Rick Winscot
It is true that Flash¹s default frame rate of 12 fps is overkill for most business applications and could be adjusted to help keep code bits in sync. However, this time between refresh operations is relative and doesn¹t include the time it takes to render a frame - and Flash is smart enough drop

Re: [flexcoders] Test-driven development in Flex

2008-12-23 Thread Johannes Nel
a well written post. Fowlers sync concerns are not especially relevant in flex with the data binding mechanisms we have at our disposal. from where I am standing the supervisor controller and a presentation model seems a decent approach. My reasoning behind this is that views render aspects or

Re: [flexcoders] Flex 3 Certification

2008-12-23 Thread Ashish Verma
I have this link but what I am asking about for demo papers with more questions. On Wed, Dec 24, 2008 at 10:43 AM, Rick Winscot rick.wins...@zyche.comwrote: The study guide for the exam: http://partners.adobe.com/public/en/ace/ACE_Exam_Guide_FlexAIR.pdf Rick Winscot On 12/23/08 11:38

[flexcoders] Printing from AIR application

2008-12-23 Thread Jeff Hindman
I'm developing an AIR application that allows the user to drag-and-drop images from his/her local machine to the app and then print the images (via PrintJob). Easy, right? Everything works fine until I try to run the application after I print something... dragging and dropping images to the