RE: [flexcoders] Re: Is there any way to call super.super.method in AS3?

2007-05-31 Thread Alex Harui
Yes, or add another class layer between, or make the method replaceable, or make the method in A callable directly, or add a flag Adding another class layer is the purest form, but adds the weight of another class Extending from A might cause too much duplication of code from B

RE: [flexcoders] Re: Is there any way to call super.super.method in AS3?

2007-05-31 Thread Ravi Kumar Gummadi
Alex, The solution is pretty good, but what if Class A and B are part of the Flex framework and we don't have the permissions to change anyone of them? Regards Ravi From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui

Re: [flexcoders] Disable Clicks while on busyCursor

2007-05-31 Thread Bjorn Schultheiss
I'm looking over this problem again It seems with the previous suggestions i've run into a couple of problems. - How about stage.mouseChildren = false ? stage or Application.application don't seem to work, as in disabling the entire displayList()... - Enable/disable a transparent

Re: [flexcoders] textarea chars - newline

2007-05-31 Thread keith
Could you just use indexOf or RegExp to find the positions of the Strings in Flash instead? http://keithhair.com/web/highlight/highlight.swf What is the reason to get the position from Coldfusion instead of Flash? private function highlightText():void {

Re: [flexcoders] Disable Clicks while on busyCursor

2007-05-31 Thread Anthony Lee
- Make all your active components register themselves then loop through and disable/enable them according to your busy state Too taxing on cpu... How many components are we talking about? Hack #3 Generate an Alert and position it outside the viewable area. They're modal by default... meaning

[flexcoders] textarea minHeight

2007-05-31 Thread bhaq1972
Aim - I want the minimum height of a textarea to be 100 and then grow as more newlines are added. this nearly works except the minimum height isn't 100 mx:TextArea id=t2 minHeight=100 verticalScrollPolicy=off height={t2.verticalScrollPosition}/ also tried mx:TextArea id=t2

Re: [flexcoders] Re: TextInput vs. ENTER key.

2007-05-31 Thread Harish Sivaramakrishnan
is bumping the user out a *requirement* or are you doing it to force the validator to trigger? if latter, you could call validatePhoneNumber() when enter event is fired? On 5/31/07, Alex Harui [EMAIL PROTECTED] wrote: I think it should be public function ExitValidatedField():void{

Re: [flexcoders] Re: Drag Drop functionality in Flex/AS3

2007-05-31 Thread Harish Sivaramakrishnan
http://flexgeek.wordpress.com/2007/03/15/drag-drop-example/ will help you get started. On 5/30/07, Tracy Spratt [EMAIL PROTECTED] wrote: Yes, then check the docs. There are several simple examples to get you started. Peter Ent has a series of articles that go into some detail. Tracy

[flexcoders] Remember Username/Password !

2007-05-31 Thread Ravi Kumar Gummadi
Hi all, How do we enable the functionality of remembering the credentials (username/password) in a flex application? Since we can't know the IP address of client, I don't see a way how we achieve it. Any inputs would really do a world of good. Thanks in Advance Regards Ravi

Re: [flexcoders] Remember Username/Password !

2007-05-31 Thread Harish Sivaramakrishnan
you could write the username / password into a sharedObject (which is like a cookie) on the client system and retrieve it. On 5/31/07, Ravi Kumar Gummadi [EMAIL PROTECTED] wrote: Hi all, How do we enable the functionality of remembering the credentials (username/password) in a flex

Re: [flexcoders] Remember Username/Password !

2007-05-31 Thread Ian M. Jones
Hi Ravi, You can do cookie like stuff with SharedObjects. Regards, -- Ian M. Jones IMiJ Software http://www.imijsoft.com http://www.ianmjones.net (blog) On Thu, May 31, 2007 10:59, Ravi Kumar Gummadi wrote: Hi all, How do we enable the

[flexcoders] PopUpManager.createPopUp

2007-05-31 Thread Rohan Pinto
how to i prevent a popup if the popup TileWindow is already Open.. ie: in my conrtol i have click=PopUpManager.createPopUp(this,main,false); if the user clicks this several times, it opens up multiple popups of the same window. how do i prevent the popup to just 1 instance ?

[flexcoders] Re: hyperlink image

2007-05-31 Thread Rohan Pinto
I got the answer to this question... for those who are trying to achieve the same.. here's the code: (NOT MINE). This was given to me by brendansjunk MXML code: import flash.net.URLRequest; import flash.events.MouseEvent; public function

[flexcoders] web service problem

2007-05-31 Thread Cholakyan, Marina
Hello! I am trying to call web service created in OFBiz framework(it uses axis java web services). I am having two problems 1) Here is my flex client code mx:WebService id=ws wsdl=http://localhost:8080/webtools/control/SOAPService/getOrderInforma tion?wsdl showBusyCursor=true

RE: [flexcoders] Re: ComboBox ItemRenderer Issues

2007-05-31 Thread Alex Harui
No, so try the icons in combobox example on my blog (blogs.adobe.com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich Tretola Sent: Tuesday, May 29, 2007 7:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

[flexcoders] Re: hyperlink image

2007-05-31 Thread Rohan Pinto
the click event can be used if the URL is staric or from a defined array, when the links come from XML datasource thats dynamically generated it becomesd hard... Rohan --- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote: you dont need to use a linkbutton, the image

[flexcoders] Charts and Business day axis

2007-05-31 Thread pgherveou
Hello there, I try to display a chart based on a one year business day axis. (no week ends for the moment) I used a categoryAxis to draw my chart. It works perfectly. the only problem is the axis. There are not enough space to display all ticks and labels (one per business day). Ideally what I

[flexcoders] Web Service Problems

2007-05-31 Thread lfw_mara
Hello! I am trying to call web service created in OFBiz framework(it uses axis java web services). I am having two problems 1) Here is my flex client code mx:WebService id=ws wsdl=http://localhost:8080/webtools/control/SOAPService/getOrderInformation?wsdl; showBusyCursor=true

[flexcoders] Remove Button Round Area

2007-05-31 Thread peeyushtuli
Hi, I m trying to put a circular shaped icon for my button. But the round area which covers the button is at best elliptical. I want to do away with it altogether. Any clues on how to do it? Thanks, Peeyush

[flexcoders] Setting variable to a Flex application thru the URL.

2007-05-31 Thread dantragxh
I have an application that is made of a form that you fill up witch add arecord to a database, then send an email to a someone to let them know that this record just got added. I want to add a link to this email that would let the user go directly to the application record view page to show

[flexcoders] Data Binding Repeaters

2007-05-31 Thread asherritt9
Hi, Can anyone explain to me how to databind input text boxes and other data entry controls in REPEATERS so that input changes in the UI propogate to the object in the array? Thank you. -Anthony

[flexcoders] TabNavigator selectedIndex property

2007-05-31 Thread james.tundra
Hey all, I've run into a problem when trying to set the selectedIndex property on a TabNavigator. The TabNavigator is set in mxml, however I am adding and removing children with AS3 at runtime depending on what node the user clicks in a Tree control (hope that makes sense). The children are

[flexcoders] Visibility of components

2007-05-31 Thread havardfl
I have an application where several different components in different containers spread around the application should be bound to external data. These bindings need to know when the component is actually on-screen to know when to start fetching data. What is the easiest way of doing this, that is

[flexcoders] Seeking for a friend?

2007-05-31 Thread [EMAIL PROTECTED]
found this cool place, actually, not even sure I want to share my secret source hehe. But you know what, Im a generous guy so i guess ill help you out, plenty of potentialpartners on there to share around i guess. anyway http://www.geocities.com/cairistionawhistler0617 is the spot im

[flexcoders] Flex Builder 2 HTML wrapper will not launch MyApp.html with Tomcat

2007-05-31 Thread joseph_freemaker
When http://127.0.0.1:8080/MyApp/MyApp.swf is opened in a browser, Tomcat launches the Flex 2.01 MyApp.swf application in a browser. However if http://127.0.0.1:8080/MyApp/MyApp.html or http://127.0.0.1:8080/MyApp are used, the MyApp.html wrapper generated by Flex Builder 2 does not launch

Re: [flexcoders] PopUpManager.createPopUp

2007-05-31 Thread Flexing...
Store a boolean (flag) in your titlewindow to indicate whether the Window is already open or not. On May 31, 2007, at 9:56 AM, Rohan Pinto wrote: how to i prevent a popup if the popup TileWindow is already Open.. ie: in my conrtol i have click=PopUpManager.createPopUp(this,main,false);

Re: [flexcoders] PopUpManager.createPopUp

2007-05-31 Thread Flexing...
Store a boolean (flag) in your titlewindow to indicate whether the Window is already open or not. On May 31, 2007, at 9:56 AM, Rohan Pinto wrote: how to i prevent a popup if the popup TileWindow is already Open.. ie: in my conrtol i have click=PopUpManager.createPopUp(this,main,false);

RE: [flexcoders] Remember Username/Password !

2007-05-31 Thread Ravi Kumar Gummadi
Thanks guys, Too lazy to completely browse the docs as well! ;) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ravi Kumar Gummadi Sent: Thursday, May 31, 2007 3:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Remember

RE: {Disarmed} [flexcoders] Just getting started, hitting walls...

2007-05-31 Thread Dimitrios Gianninas
Nope, what you need to do is breakdown every part of your app into small components. This way it will be easier to manage from coding perseptive, thats all you need to understand and do. Thats how I do things, my first Flex apps 2 years ago where not like that and they turned out to be hard to

Re: [flexcoders] Setting variable to a Flex application thru the URL.

2007-05-31 Thread Jeffry Houser
FlashVars Google it and/or search the docs for more info. dantragxh wrote: I have an application that is made of a form that you fill up witch add arecord to a database, then send an email to a someone to let them know that this record just got added. I want to add a link to this

Re: [flexcoders] Remember Username/Password !

2007-05-31 Thread Flexing...
Ravi, BTW, you can access the client IP at the backend using String ipAddress = FlexContext.getHttpRequest().getRemoteAddr(); - import flex.messaging.FlexContext; FlexContext is part of flex-messaging.jar

Re: [flexcoders] PopUpManager.createPopUp

2007-05-31 Thread Michael Schmalle
Hi, I don't think a boolean flag will help here. The manager will have already created the instance and the TitleWindow would have to use removePopUp() which is not optimum. You need to take that call out of the mxml and create a click handler for the button. .. in your app private var

Re: [flexcoders] Question about delete

2007-05-31 Thread Christopher Olsen
Thanks, Alex Harui wrote: No pointers in AS3, just references. As soon as you set tmpPod=null, the instance of Podz is eligible for garbage collection. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

[flexcoders] BUG? On WebServices \ become nothing...

2007-05-31 Thread hugocorept
hell you flexers! How u doing..? Hey guys, do you notice that if you send blabla\loremipsum the slash vanish !? 0_o It just me .. ? Example : webservice.operation(CORE\SQLEXPRESS); The tracetarget says me: ns0:strCORESQLEXPRESS/ns0:str Am I doing something , wrong ? ... Solutions in

Re: [flexcoders] BarCode Generator Component

2007-05-31 Thread Jon Bradley
That's pretty cool. On the first tab, code 39 - it seems to me that the numbers 5 and 6 are identical. I don't know much about bar codes, but I'm pretty sure those should be different. Might want to look in to that... :) cheers, jon On May 30, 2007, at 1:35 PM, nathanpdaniel wrote:

Re: [flexcoders] PopUpManager.createPopUp

2007-05-31 Thread Flexing...
Hi Mike, The manager will have already created the instance and the TitleWindow would have to use removePopUp() which is not optimum. I didn't understand what is the issue in using removePopup inside Titlewindow ? Let say if I write the following to handle window closure , is there

Re: [flexcoders] PopUpManager.createPopUp

2007-05-31 Thread Michael Schmalle
Hi, There is no problem with what you have but... his question was, how to i prevent a popup if the popup TileWindow is already Open.. That means, he is asking how does he only create ONE TitleWindow after a user has clicked the button to create it the first time. There are two ways, using

[flexcoders] Help with AnimateProperty()

2007-05-31 Thread Dave @ VitalPodcasts.com
Hey Guys, hope you dont mind me leaning on this Board for learning... I finaly found how to include modules, easy, and a step towards seperating code, so thanks all for that help. Still want to include AS files, and other things, but baby steps... So the question is, I have a basic 2 column

[flexcoders] Re: Actionscript SAX Parser ?

2007-05-31 Thread powertool786
The XML4JS SAX Parser seems to be written pretty reasonably... I think I'll have a go at automatically porting it to AS3.0 with a Perl script. If it works at all, I'll continue by doing some profiling, then fill out the API a little. I don't need much working for my purposes. -David --- In

[flexcoders] Re: Help with AnimateProperty()

2007-05-31 Thread Dave @ VitalPodcasts.com
Hey hey, I figured it out... mx:Resize Ok ok this isnt too bad... im getting it.

Re: [flexcoders] BUG? On WebServices \ become nothing...

2007-05-31 Thread Paul deCoursey
try \\. hugocorept wrote: hell you flexers! How u doing..? Hey guys, do you notice that if you send blabla\loremipsum the slash vanish !? 0_o It just me .. ? Example : webservice.operatio n(CORE\SQLEXPRE SS); The tracetarget says me: ns0:strCORESQLEXP RESS/ns0: str Am I doing

[flexcoders] Re: BarCode Generator Component

2007-05-31 Thread nathanpdaniel
Thanks! - There was a bug actually - now fixed - albeit, I still can't really tell it has been because they're so close. :D --- In flexcoders@yahoogroups.com, Jon Bradley [EMAIL PROTECTED] wrote: That's pretty cool. On the first tab, code 39 - it seems to me that the numbers 5 and 6 are

[flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Mark Ingram
Hi, I have a custom UIComponent that is 100x100 pixels. Around this component is a rectangle which I have drawn to a depth of 10 pixels (i.e. there is a 10 pixel border around my component). What functions do I need to override so I can return the correct width and height of 120 (instead of 100).

RE: [flexcoders] Web Service Problems

2007-05-31 Thread Peter Farland
Hmm, I've noticed that format=xml does not support data binding. I'm not sure if that is a bug or just a limitation of mxmlc, but without format=xml you just have normal MXML processing rules and those tags get converted into plain old ActionScript Objects with child elements becoming

RE: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Mark Ingram
Does it matter that the border is drawn at -10, -10? Because obviously the x, y values of the control will perhaps be 70, 70, but the border will be at 60, 60. Hope that makes sense. Thanks, Mark From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Michael Schmalle
Hi, override protected function measure():void { super.measure(); measuredWidth = 120; measuredHeight = 120; } Note, that is just hard coding but, you will do your measurment calcs in that method. Peace, Mike On 5/31/07, Mark Ingram [EMAIL PROTECTED] wrote: Hi, I have a custom

Re: [flexcoders] Re: Best way to convert PNG to for usable in Flex

2007-05-31 Thread Pat Buchanan
David- I've heard 2 explanations for this limitation - not sure which it is. Either: the limitation has something to do with the maximum stage size On 5/30/07, David Lewis [EMAIL PROTECTED] wrote: So this must be the issue - The images we are trying to work with are around 2500 pixels

[flexcoders] button loop

2007-05-31 Thread mazarflex
i have a toolbar and i am trying to loop through my 50 buttons and send the name to a function. (it is really for user rights and the function will send it to SQL to decide wether the user should have access to that button) but the jist of it is to send a button to a function in a loop or

Re: [flexcoders] Visibility of components

2007-05-31 Thread Roman Protsiuk
What about visible-property? To be honest I didn't really understand why one might need such functionality. Is it like switching bindings on/off? R. On 5/31/07, havardfl [EMAIL PROTECTED] wrote: I have an application where several different components in different containers spread around

Re: [flexcoders] Re: Best way to convert PNG to for usable in Flex

2007-05-31 Thread Pat Buchanan
David- I've heard 2 explanations for this limitation - not sure which it is. Either: - The limitation has something to do with the maximum stage size in a Flash app or - The limitation is hard coded into the Flash player to keep people from crashing the browser by loading something

[flexcoders] Re: PopUpManager.createPopUp

2007-05-31 Thread Rohan Pinto
exactly.. see my demo app: http://demo.rohanpinto.com if you click on the logo, the TileWindow opens over and over again... i want to restrict that to just one instance.. any advise.. please.. ? Rohan http://konkan.tv --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote:

[flexcoders] Dynamic context menu item

2007-05-31 Thread Greg Groves
I'm trying to create a dynamic item in a context menu, and I'm having a weird problem. The code: var node:XML = XML(lastTreeItem.itemRenderer.data); var hideOrShow:ContextMenuItem; if ([EMAIL PROTECTED] == null || [EMAIL PROTECTED] == || [EMAIL PROTECTED] == false) hideOrShow = new

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Michael Schmalle
Hi, Yes it does. Here is the way it works, You need to figure out why you need a - offset because really, this does not fit into the framework. The only time, a negative offset is viable is an overlay(that is not measured with the component's children). Think 4th dimensionally here, why do

Re: [flexcoders] button loop

2007-05-31 Thread Michael Schmalle
Hi, How are you defining the buttons dataProvider? Do you use a name in there? You could create an extra name field in the dataProvider and loop through that dataProvider's index whil at the same time grabbing the button instance. Then in the loop send the field dp[name] and the instance to

RE: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Mark Ingram
Hi Mike, essentially I am drawing a selection rectangle around controls, for the time being it's a 10pixel wide red rectangle (it will be configurable later). If you have any better suggestions for doing a selection rectangle that'd be great :-) My current train of thought is that the page

[flexcoders] LoadModule, creating a history so the Back Button works...

2007-05-31 Thread Dave @ VitalPodcasts.com
How would I do this? Currently I have a TabNavigator, and when I click on tabs, it creates something that enables a browser history, how do I use whatever its doing to create my own history item? basically in the tabnavigator I have buttons that load a module, it would be nice to enable the

Re: [flexcoders] Setting variable to a Flex application thru the URL.

2007-05-31 Thread Felipe Fernandes
This is exactaly what you need: http://www.abdulqabiz.com/blog/archives/macromedia_flex/how_to_get_url.php He made a calss called querystring that´s prety ease to use anda do all the trick for you. Feipe On 5/30/07, dantragxh [EMAIL PROTECTED] wrote: I have an application that is made of

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-05-31 Thread nxzone
Nobody have a hint? I can repeat my question as this: How can I show the Error ToolTip after a validation in a ITEMEDITOR of a Datagrid... We i mouse over and show the tooltip, the item editor is close!!

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Michael Schmalle
Hi, Yeah, I have a manager that does exactly this. Basically my advice is, keep the UIComponents seperate from your selection. Use some sort of singleton manager that you register selections with. Then when a user or application geasture allows a selection, use the manager to create an

[flexcoders] Information on how to Create Objects on the fly with Code

2007-05-31 Thread Dave @ VitalPodcasts.com
Is there are resources out there on how to create, let's say a button, on the fly with Code? Im trying to create an Array, and I want to loop around it to create a list of Buttons for navigation.

[flexcoders] Re: Events in AS3 Classes

2007-05-31 Thread Rachel Maxim
The Adobe Flex 2: Training from the Source book has a chapter on custom events that's very helpful. http://www.amazon.com/Adobe-Flex-2-Training-Source/dp/032142316X/ref=pd_bbs_sr_1/002-4556397-3450415?ie=UTF8s=booksqid=1180626175sr=8-1 Here's a basic custom event class sample: package

[flexcoders] Re: TextInput vs. ENTER key.

2007-05-31 Thread stevekpeak8
Harish, Thanks for your input. You're right. Although I'd IDEALLY like to bump the user to the next field, the MAIN issue is that I get a validation trigger. I sure wish that TextInput had a built in way to treat Enter EXACTLY as it treats a tab, however. I know that someone else has

RE: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Mark Ingram
So if you go via the manager approach, the manager adds the selection as a child to the component? e.g. textArea.addChild(selectionManager.newSelection) ? The way I was thinking was for the main page (extension of Canvas) to add the selection to itself, and just position it over the component

Re: [flexcoders] Information on how to Create Objects on the fly with Code

2007-05-31 Thread Michael Schmalle
Hi, var len:int = buttons.length; for (var i:int = 0; i len; i++) { var obj:OBject = buttons[i]; var button:Button = new Button(); button.label = obj.label; container.addChild(button); } I think you get the hint. This is VERY basic compared to what you can do dynamically. Depending on

[flexcoders] Can I use a variable to refer to an object's property name?

2007-05-31 Thread Peter Demling
(This is a fundamental question, and it' challenging to find a clear way to ask it): Let's say I have an ArrayCollection data source with 50 fields (which I do), and my user selects the name of one of these fields (let's say PRODUCT) with myComboBox, so that it's now in

[flexcoders] Changing style/background color dynamically

2007-05-31 Thread Rachel Maxim
I'm working on a UI where I have some canvas-based components (used as ItemRenderers within TileLists) that get dragged between different TileLists. The background color of these canvas components changes depending on the situation, so on the component I have a function that runs on

Re: [flexcoders] Can I use a variable to refer to an object's property name?

2007-05-31 Thread Ed Smith
? Can I can instead do something like item.[myComboBox.selectedItem.data]? Do you know what I mean? Actually, I think item[myComboBox.selectedItem.data] should actually work just fine, Ed Peter Demling wrote: (This is a fundamental question, and it' challenging to find a clear way to

RE: [flexcoders] Information on how to Create Objects on the fly with Code

2007-05-31 Thread Tracy Spratt
And here is a full example app: http://www.cflex.net/showFileDetails.cfm?ObjectID=562 At the simplest level, it is very simple! Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Thursday, May 31, 2007

[flexcoders] Flash Poll Application but with Flex Integration Charts

2007-05-31 Thread sher_ali2004
Hello, I have created a poll application in flash which you can see the demo in the current state: http://www.arcoint.com/wes/poll/flash_poll_01.html My application is going good so far, but I have problem with the 3d pie charts. My current pie chart doesn't look real 3d pie chart and also my

[flexcoders] Dead space in TabNavigator

2007-05-31 Thread Nick Durnell
Hi all, All my TabNavigators have a dead space at the top (between the tab bar and the content). For example if I have a tab which contains a green Canvas set to 100% width and 100% height, the whole tab is green apart from a 10 pixel stripe at the top! Does anyone know how to get rid of

RE: [flexcoders] Can I use a variable to refer to an object's property name?

2007-05-31 Thread Tracy Spratt
Yes, just leave off the . After item. This bracket notation technique will work to return a reference to any object within another, including this. It works on both sides of an assignment, assuming the object is dynamic. Tracy From:

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Michael Schmalle
Hi, Actually I have a really complicated selection manager component. It works great. It does multi selection so there is client selection rectangles and then a popup selection rectangle that encompases all selected components in a canvas. basically you have the option of a popup overlay or

[flexcoders] Re: Can I use a variable to refer to an object's property name?

2007-05-31 Thread Peter Demling
Actually, I think item[myComboBox.selectedItem.data] should actually work just fine That's it! Don't know why I didn't see that before. Thanks for your help. -Peter Ed Peter Demling wrote: (This is a fundamental question, and it' challenging to find a clear way to ask it):

Re: [flexcoders] Changing style/background color dynamically

2007-05-31 Thread Michael Schmalle
Hi, Have you tried listening for the ChildExistenceChangedEvent.CHILD_ADD event of your client(accepting container) dnd canvas. This event would tell you when you need to update the dragging component background. The releatedObject property will also give you direct access to the child being

[flexcoders] Re: Flex HotFix 2 and Cairngorm 2.2

2007-05-31 Thread m_chotin
Hi, We can consider doing this differently in the next release. In some respects the SDK is included in LCDS as a bonus because the WAR files have everything you need. But I realize that may not match up with your development model, so we can consider going back next time. Matt --- In

Re: [flexcoders] Dead space in TabNavigator

2007-05-31 Thread Michael Schmalle
Hi, that is because the TabNavigator has a default paddingTop style of 10 pixels. TabNavigator { paddingTop:0; } will solve it for all of them in your application. Peace, Mike On 5/31/07, Nick Durnell [EMAIL PROTECTED] wrote: Hi all, All my TabNavigators have a dead space at the top

[flexcoders] tile list scroll via code without scroll bars

2007-05-31 Thread dnk
Hi there, I was wondering if it was possible with a tile list component to scroll via code (IE by mouse movements) as opposed to having scroll bars? I am trying to get this figured out as I will be using a tile list to display a large number of thumbnails (from a sql query), and my understanding

Re: [flexcoders] Re: CheckBox check icon style - checkColor hardcoded?

2007-05-31 Thread Derek Vadneau
An update on this. I missed the style for the disabled colour, so the code modification should be: /* Modified by {your name} (05/31/2007): The iconColor variable now gets its value from getStyle if it can, otherwise it defaults to what was hardcoded in the CheckBoxIcon.as

Re: [flexcoders] Can I use a variable to refer to an object's property name?

2007-05-31 Thread Paul deCoursey
Peter Demling wrote: (This is a fundamental question, and it' challenging to find a clear way to ask it): Let's say I have an ArrayCollection data source with 50 fields (which I do), and my user selects the name of one of these fields (let's say PRODUCT) with myComboBox, so that it's now in

Re: [flexcoders] Disable Clicks while on busyCursor

2007-05-31 Thread Troy Gilbert
Is it just me, or is it a bit surprising that we've got to hack something together to handle this? Come on, Adobe... what's a proper solution (and why wasn't it built into the CursorManager!)? I've got enough asynchronous problems to deal with than have to worry that the user's going to go off

[flexcoders] DataGrid HeaderRenderer Recreates every click

2007-05-31 Thread e_baggg
I have a server-side sort on my DataGrid which means I had to implement my own headerRenderer to handle the click event, sort, and server calls. I am trying to create the asc/desc arrow now but I realized that any click event on the DataGrid instantiates a new Object of the headerRenderer (all

[flexcoders] BarChart - Reversing draw order?

2007-05-31 Thread Rick Schmitty
I don't know if thats the correct term or not, but I'm trying to change the behavior of the BarChart to match ColumnChart (in my mind at least) In the example below (modified from livedocs) theres a Column and Bar chart side by side with a datagrid bound to the same array collection at the

[flexcoders] Re: button loop

2007-05-31 Thread mazarflex
great idead thank you very much i will try this --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, How are you defining the buttons dataProvider? Do you use a name in there? You could create an extra name field in the dataProvider and loop through that

RE: [flexcoders] Re: Is there any way to call super.super.method in AS3?

2007-05-31 Thread Alex Harui
Then you are stuck and have to duplicate code. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ravi Kumar Gummadi Sent: Wednesday, May 30, 2007 11:42 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Is there any way to

RE: [flexcoders] BarChart - Reversing draw order?

2007-05-31 Thread Ely Greenfield
Nope. The all charts try to render axes consistently The 'first item' in a category axis corresponds to zero. A horizontal axis always puts zero on the left, and a vertical axis always puts zero (or the lowest value) on the bottom. So the first item in the axis goes on the left on the

[flexcoders] Array errors

2007-05-31 Thread Dave @ VitalPodcasts.com
Im copy and pasting known working examples, and my Flex Builder keeps giving me an error... Since Im copying an pasting from help docs.. I have no clue why this wont work. ... So here is what im trying to do. mx:Script public var homeNav:Array = new Array();

[flexcoders] create new button with an icon

2007-05-31 Thread mazarflex
i have created the buttons and ran them through a Stored Procedure to set visibility. now i am tring to asign the icons dynamically. i cannot get it to work with the set style. not sure how to assign icons @ run time. heres the funciton calling from an array of buttons. it does not work. it

Re: [flexcoders] Information on how to Create Objects on the fly with Code

2007-05-31 Thread David McGraw
Solved this, For anyone that may need this, you have to use addChild() as Below. var myNewButton:Button = new Button(); parent.addChild(temp); On 5/31/07, Dave @ VitalPodcasts.com [EMAIL PROTECTED] wrote: Is there are resources out there on how to create, let's say a button, on the fly

RE: [flexcoders] DataGrid HeaderRenderer Recreates every click

2007-05-31 Thread Alex Harui
People do some really tricky things in customized DGs like having headers grow and shrink or other rows grow and shrink based on rollover states and selection and what not. Right now the DG aggressively redraws to make sure we don't make assumptions about what can change. In theory, your

RE: [flexcoders] create new button with an icon

2007-05-31 Thread Alex Harui
Button icons cannot be loaded at runtime. They must be embedded in the app. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mazarflex Sent: Thursday, May 31, 2007 10:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] create new

Re: [flexcoders] Charts and Business day axis

2007-05-31 Thread Brendan Meutzner
Look at the DateTimeAxis, and the dataUnits, labelUnits properties... Brendan On 5/30/07, pgherveou [EMAIL PROTECTED] wrote: Hello there, I try to display a chart based on a one year business day axis. (no week ends for the moment) I used a categoryAxis to draw my chart. It works

RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-05-31 Thread Alex Harui
Do you have a custom tooltip? Otherwise it shouldn't close. How are you setting the tooltip? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Thursday, May 31, 2007 8:26 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] LoadModule, creating a history so the Back Button works...

2007-05-31 Thread Alex Harui
Not sure I understand. If you put ModuleLoaders as children of a TabNavigator and enable History in the HTML wrapper, it should just work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave @ VitalPodcasts.com Sent: Thursday, May 31,

RE: [flexcoders] TabNavigator selectedIndex property

2007-05-31 Thread Alex Harui
Might be timing. Try setting selectedIndex either before or after adding children or maybe later via callLater From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of james.tundra Sent: Wednesday, May 30, 2007 5:09 PM To:

RE: [flexcoders] textarea minHeight

2007-05-31 Thread Alex Harui
Verticalscrollposition will be something like 0, 1, 2 and you probably need 100, 112, 124. Try {Math.max(100, t2.verticalScrollPosition * 12)} From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Thursday, May 31, 2007

[flexcoders] Re: DataGrid edits with XMLListCollection dataprovider

2007-05-31 Thread arieljake
Update: I do not think this is something to be done with ItemRenderer or ItemEditor. I have tracked this to the DataGrid itself. There is a line there that says: data[property] = newValue; This leads to entries in the data like: fields field1 textmy new value/text /field1 /fields

RE: [flexcoders] Disable Clicks while on busyCursor

2007-05-31 Thread Alex Harui
Did you try Application.application.enabled = false? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Troy Gilbert Sent: Thursday, May 31, 2007 10:19 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Disable Clicks while on

[flexcoders] Re: LoadModule, creating a history so the Back Button works...

2007-05-31 Thread Dave @ VitalPodcasts.com
Let me Clarify I have a TabNavigator that has 2 tabs, under the first Tab I have 4 buttons. When one of those buttons are clicked, I load a module in a place that is outside of the tab Navigator. Perhaps this isnt how its supposed to be used, but I want just the Tab Navigator for Navigation

[flexcoders] Parallel viewstates ?

2007-05-31 Thread pdflibpilot
Is it possible to have more than one viewstate as current. I would like to have 2 new viewstacks function independently - show one, the other or both at anytime.

RE: [flexcoders] Re: DataGrid edits with XMLListCollection dataprovider

2007-05-31 Thread Alex Harui
The DG default code assumes that you are pulling properties for display and stuffing them on edit. Your label functions are not simply property pullers so you'll need to customize an ITEM_EDIT_END handler, call preventDefault() and stuff it yourself. -Alex

  1   2   >