[flexcoders] Re: Problem with TileLIst RowCount

2007-11-21 Thread oneproofdk
Hi Alex Somehow the ColumnCount actually is correct ?? Even though I performed a updateNow() it still return columnCount=2 no matter what. Is it because I initially draw the TileList container (Canvas) very small - height=5 - I do this to be able to expand the container(s) simultaniously if

[flexcoders] Printing Chart

2007-11-21 Thread monkeeeh
Hi everyone! I have problem again. Im trying to print piechart. I have custom component (yhteenvetoPrintView) where i have pie chart. If i add dataprovider from other piechart i dont see piechart. But if i create static data to yhteenvetoPrintView i can see pie. Is printing too fast that

[flexcoders] Re: Binding with Associatives Arrays

2007-11-21 Thread peuga
--- In flexcoders@yahoogroups.com, Stephen Allison [EMAIL PROTECTED] wrote: i'm trying to bind an associative array to some component property, You can get close-ish using ObjectProxy: [Bindable] var p:ObjectProxy; function init() {

[flexcoders] FireFox 3 beta 1 and Flash

2007-11-21 Thread Tom Chiverton
Just reporting it seems fine here, on both 64-bit SuSE and 32-bit Kbuntu. Flex Builder happily connects for debugging. -- Tom Chiverton Helping to heterogeneously target mission-critical environments on: http://thefalken.livejournal.com This

[flexcoders] Re: LiveCycle with multiple data services failing...

2007-11-21 Thread jamiebadman
That helped tremendously Jeff - the problem turned out to be that I'd moved the project to a new version of Flex but it had retained the link to the old config in the project properties compiler option. Cheers, Jamie. --- In flexcoders@yahoogroups.com, Jeff Vroom [EMAIL PROTECTED] wrote: I am

[flexcoders] Re: Flex+finger sensor+webcam+socket!!

2007-11-21 Thread thomas_viktil
Hello Bit Flex would work just fine. I have worked on several projects using various sensors in combination with Flex. Can you tell me more about your project? What kind of sensor (type and brand) are you using? What's it all about? Regards Thomas Viktil Onkel Estrup AS --- In

[flexcoders] Is it possible to see the Actionscript generated by MXML files?

2007-11-21 Thread lawriegallardo
Hi, I'm currently learning Flex and LCDS and, in order to improve my understanding of how MXML code is translated into Actionscript code during the compilation process, I'd like to be able to look at the generated Actionscript code. Is this possible? If not, are there any good explanations of

RE: [flexcoders] Is it possible to see the Actionscript generated by MXML files?

2007-11-21 Thread Jim Hayes
There's a compiler option : from the docs keep-generated-actionscript=true|false Determines whether to keep the generated ActionScript class files. The generated class files include stubs and classes that are generated by the compiler and used to build the SWF file. The default location of

Re: [flexcoders] Re: Flex 2.0.1: Can shared objects be saved in any location that we want?

2007-11-21 Thread Tom Chiverton
On Tuesday 20 Nov 2007, handitan wrote: I guess that I am going to try out Zinc because I need to write files into specific locations. Or AIR. -- Tom Chiverton Helping to professionally brand web-enabled initiatives on: http://thefalken.livejournal.com

[flexcoders] Flex 3 + LiveCycle: Is debugging Java possible?

2007-11-21 Thread jamiebadman
Hi, Our project is a Flex 3 + LiveCycle 2.5 application and is all built under a single project - ie the Flex and Java are contained within a single project and can be built entirely from there. Nice... except for when we want to debug the Java code (which so far has not been necessary since

[flexcoders] Flex Builder 3 - Design Mode unvailable

2007-11-21 Thread Mark Ingram
Hi, the design mode is unavailable in FB3 Beta 2. The Flex Properties panel says This panel is only available in Design Mode. Yet I'm in design mode, in development perspective. I thought it might be something wrong with my code at first, so I created a new MXML application - it automatically

RE: [flexcoders] Re: Where is the Debugger or Profiler?

2007-11-21 Thread Tim Ashworth
Hi Mike and Tom, Cheers Mike - that fixed the problem. I just assumed the debug players were the same - there's some saying about the word ass-u-me isn't there? Cheers again, t _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Morearty Sent: 20

[flexcoders] Re: Is it possible to see the Actionscript generated by MXML files?

2007-11-21 Thread lawriegallardo
Thanks ever so much Jim - that's exactly what I was after! Cheers, Lawrie --- In flexcoders@yahoogroups.com, Jim Hayes [EMAIL PROTECTED] wrote: There's a compiler option : from the docs keep-generated-actionscript=true|false Determines whether to keep the generated ActionScript class

[flexcoders] icon path in ActionScript

2007-11-21 Thread Anzer
Hi, How can I set the icon of a VBox in ActionScript. myVbox.icon = 'assets/img_details.png'; will give an error Implicit coercion of a value of type String to an unrelated type Class. Please help Anz

[flexcoders] ArgumentError: Error #1063: Argument count mismatch on copy/addNewLinkButton1(). Expected 0, got 1.

2007-11-21 Thread yourName
Plz Help me in this code when i clicked newly created button i got following error ArgumentError: Error #1063: Argument count mismatch on copy/addNewLinkButton1(). Expected 0, got 1. here is my code ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

Re: [flexcoders] Flex Builder 3 - Design Mode unvailable

2007-11-21 Thread Thomas Ruehl
Hi, I had a similar problem and could track it down to always occur when a project's dependency uses a different SDK than the project itself. For example, if you chose to use the included SDK (fb3b2) for a project and add a resource other than that, say cairngorm.swc compiled with 2.0.1. A

[flexcoders] Initializing Conainer's children properties

2007-11-21 Thread polestar11
Is there any way to force the initialization of a container's children without adding it to the stage. I have set show hide style effects on children, but these only get initialized if I add them to the stage. I can add then remove the parent container to force these properties to be activated,

Re: [flexcoders] Authentication with pin codes and weird behaviour with SecurityException

2007-11-21 Thread Tom Chiverton
On Wednesday 21 Nov 2007, Mika Kiljunen wrote: required to enter pin code also. If he is, then the login command would throw a custon exception Why are you throwing Exceptions for normal program flow ? Wouldn't working with states (or even a ViewStack with selectedIndex bound to

[flexcoders] Re: Determining textHeight and textWidth when htmlText contains images...

2007-11-21 Thread jandersen1978
Hmmm... yeah, I actually did create such a button and while the images had clearly loaded and were displayed the textHeight still didn't take them into account... I also tried getting an actual reference to the sprite representing the img tag within the html using the getImageReference

Re: [flexcoders] icon path in ActionScript

2007-11-21 Thread Paul Andrews
Check out embedded assets: http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=04_OO_Programming_161_08.html Paul - Original Message - From: Anzer To: flexcoders@yahoogroups.com Sent: Wednesday, November 21, 2007 12:40

Re: [flexcoders] icon path in ActionScript

2007-11-21 Thread Tom Chiverton
On Wednesday 21 Nov 2007, Anzer wrote: will give an error Implicit coercion of a value of type String to an unrelated type Class. Look up the Embed metadata tag in LiveDocs. -- Tom Chiverton Helping to autoschediastically harness global infomediaries on: http://thefalken.livejournal.com

[flexcoders] DataGrid Performance issue

2007-11-21 Thread jitendra jain
Hi guys, I have 200 rows and 32 columns on datagrid. I have changed my dataProvider on the basis of IndexChangedEvent . I get this data from shared object(Local). Is this a performance issue with dataGrid or SharedObject? I even tried to put this data into memory. Even thought it is taking

RE: [flexcoders] Flex Builder 3 - Design Mode unvailable

2007-11-21 Thread Mark Ingram
Great, thanks for that - I've just worked out that it's weborb.swc that is causing the problem for me. I added in loads of SWC including cairngorm, flexlib and corelib and it continued to work. The moment I added weborb.swc it failed to work. From:

[flexcoders] Re: Get Data from Datagrid?

2007-11-21 Thread t.horster
Thanks. I have made a form which sends data via httpservice and php. But I really can't figure out how to get the dataprovider into the mail. please help! --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: The dataProvider of the dropper grid should contain the data items

[flexcoders] flex rich edit control with image support

2007-11-21 Thread ohhmaagawd
I was disappointed when I tried out the rich edit control in FB3. There appears to be no image support. A google search turned up nothing has anyone improved upon the standard Rich Text Control? I love the Yahoo Rich Edit control(http://developer.yahoo.com/yui/examples/editor/index.html

[flexcoders] Re: Flex+finger sensor+webcam+socket!!

2007-11-21 Thread Bit
hi Thomas!! the project not finger defined!! the socket message send terminal control access; webcam capture picture people; Control of access to the refectory I would like to exchange ideas if possible thx bit --- In flexcoders@yahoogroups.com, thomas_viktil [EMAIL PROTECTED] wrote:

[flexcoders] Repeater question

2007-11-21 Thread kpjj31
When using the repeater, is it possible to set the index or currentItem.

[flexcoders] Reflection -- Accessing private fields

2007-11-21 Thread marty.pitt
Hello all. Is there any way to get the names of private / protected / internal variables within a class at runtime? (ie., actual reflection!) It seems it's not possible using getClassInfo(). What about some sort of custom serialization? (Remembering that the names of the variables is not

[flexcoders] Preventing default onClick-behaviour in List-Component

2007-11-21 Thread carkraus
Hi all, I want to cancel a list component to change the selection under some circumstances. Neither works: list.addEventListener( ListEvent.ITEM_CLICK, handleChange ); list.addEventListener( ListEvent.CHANGE, handleChange ); private function handleChange (e:ListEvent):void {

Re: [flexcoders] Repeater is not executing when changing the dataProvider

2007-11-21 Thread Tina Scurlock
*This is my source. Whenever the emplViewButton button is clicked, it retrieves new XML data. Thank you so much!! Tina* mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=initMe(); mx:Script ![CDATA[ /* Import classes go here including the cairngorm classes */

Re: [flexcoders] Repeater question

2007-11-21 Thread Paul Andrews
- Original Message - From: kpjj31 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, November 21, 2007 8:35 AM Subject: [flexcoders] Repeater question When using the repeater, is it possible to set the index or currentItem. What would the point be for doing that?

Re: [flexcoders] DataGrid Performance issue

2007-11-21 Thread Scott Melby
I can say that most of the performance issues I have seen from DataGrid have come from 2 places. 1) Heavy renderers: This is by far the worse of the two issues. If you are using things like HBox, VBox, etc. in your renderers the grid will render slowly. 2) Inefficient data provider. This is

Re: [flexcoders] Re: how to create a save as feature

2007-11-21 Thread Derrick Anderson
this can be done in flex too, just not 'with' flex totally. you can call an external URL that produces that file, for example you can call a .cfm file that cfcontents the text file to the browser and u can put in headers to tell the browser to save as file.. On Nov 20, 2007 2:09 PM, sree_ramvv

RE: [flexcoders] Flex Builder 3 - Design Mode unvailable

2007-11-21 Thread Mark Ingram
I've posted the same reply on the WebORB list and Mark Piller has responded with: Hi Mark, Please use weborb.swc from here: http://tech.groups.yahoo.com/group/flashorb/files/WebORB%20Nightly%20Bui lds/WebORB3.4/ http://tech.groups.yahoo.com/group/flashorb/files/WebORB%20Nightly%20Bu

[flexcoders] Re: DataGrid.itemToItemRenderer()- what about columns besides the first?

2007-11-21 Thread ben.clinkinbeard
I don't think so but maybe you can tell me otherwise. I should also mention that this is mainly a hypothetical question as my current situation deals with a first column renderer. My current use of itemToItemRenderer() is to react to data updates that happen when a web service that is called on

Re: [flexcoders] Need Help with DataServices pushing data to nested collections

2007-11-21 Thread Kevin
thanks for the suggestions. I made the changes and was able to get some basic pushing working, but it seems very touch and go as to when it works and when it doesn't. I don't know if this is related to our data management configuration or something larger. For example, on my local dev

[flexcoders] Which component for photo

2007-11-21 Thread Alessio Grumiro
Hello i want create an application similar to http://www.flashloaded.com/flashcomponents/photoflow/ to manage photo. Which component I must use? thanks

[flexcoders] Re: ArgumentError: Error #1063: Argument count mismatch on copy/addNewLinkButton1(). Expected 0, got 1.

2007-11-21 Thread actionscript_czar
Your addNewLinkButton1 function is expecting a MouseEvent object. So the function should look something like this: public function addNewLinkButton1( event:MouseEvent ):void { Alert.show('Clicked'); } The reason this is different than the addNewLinkButton function is because of the

[flexcoders] Re: Performance Impact when using custom item renderer

2007-11-21 Thread letterpigeon
Hi Alex, There were actually 2 checkboxes on the header. One from the header renderer, another one is due to the item renderer. And if I switched it back to use my original item renderer (the hbox implementation), the problem goes away. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL

[flexcoders] getDefinitionByName and gotoAndPlay

2007-11-21 Thread Matthias Dittgen
Hello, I am loading a SWF into my application, which I created in FlashCS3. I have exported MovieClips with timeline animation and textfield, etc. for AS in my library. After loading of the SWF is complete I get the Class like this: var MyClass:Class = getDefinitionByName(MyClass) as Class;

[flexcoders] Managing States and Cairngorm

2007-11-21 Thread stephen50232
Hi, I'm building a new app using Cairgorm and one of the problems I'm having is managing states. My application is set up with a base state which is blank and then two other states, one which contains my login screen (called Login) and one which contains the main menu (called MainApp). Then all

[flexcoders] Which component for photo

2007-11-21 Thread Alessio Grumiro
Hello i want create an application similar to http://www.flashloaded.com/flashcomponents/photoflow/ to manage photo. Which component I must use? thanks

RE: [flexcoders] Managing States and Cairngorm

2007-11-21 Thread Sebastian Zarzycki
I'm fighting with this as well. The idea you've presented fits well Cairngorm, the problem is ... this is not really a best a idea. You need to create an Event, then put the desired state string into the event (where to get this string from?), dispatch event, register in front controller, create a

[flexcoders] Re: ColumnChart problem

2007-11-21 Thread terrilynnboehler
Just wondering what the fix is for this? I've taken a look through the adobe bug archives and can't seem to locate the actual fix? Thank you, TL

[flexcoders] question about as3 and flex 2 integration

2007-11-21 Thread Gustavo Duenas
Hi I just doing an experiemtn I have a buton in a swf, with instruction to change state into the the flex file, but it seems difficult to me because the swf doesn't work with, I don't know why. Tyhe swf in on a swf object into the flex enviroment and this is the action script of the

[flexcoders] Re: Flex+finger sensor+webcam+socket!!

2007-11-21 Thread thomas_viktil
Hello! Uhm... I'm not quite sure of what you mean by 'project not finger defined', but if you ever need any kind of touch sensors that can talk to Flex, you should check out Phidgets. http://www.phidgets.com/ regards Thomas Viktil Onkel Estrup AS --- In flexcoders@yahoogroups.com, Bit [EMAIL

[flexcoders] editing Flash symbols in Flex

2007-11-21 Thread g.shah3
I've got a Flex app where I load symbols from a Flash-designed swf file. Then I want to be able to change the fill color of the symbols through AS in Flex. Any ideas on how I can do this?

RE: [flexcoders] Re: Performance Impact when using custom item renderer

2007-11-21 Thread Alex Harui
We may need to see a test case to fully understand what is going on. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of letterpigeon Sent: Wednesday, November 21, 2007 8:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

RE: [flexcoders] getDefinitionByName and gotoAndPlay

2007-11-21 Thread Alex Harui
I'm pretty sure that gotoandplay just advances the playhead and doesn't execute the script on that frame until your script finishes so the widgets it creates won't be ready right after the call. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

[flexcoders] Error in Flex 3 Application I am working on that I can't find...

2007-11-21 Thread Dave
Declaration of style 'textDecoration' conflicts with previous declaration in C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\frameworks\libs\framework.swc(mx/controls/TextInput). I am not sure when it showed up but it is there now and I can't figure out where or when the conflict started. Any

RE: [flexcoders] Re: DataGrid.itemToItemRenderer()- what about columns besides the first?

2007-11-21 Thread Alex Harui
The theory of item renderers states that all visual aspects of a renderer should be driven by the renderers data and external calls from the renderer such as isItemSelected. No attempts should be made to manipulate the renderer from the outside because renderers get recycled (see my blog articles

RE: [flexcoders] Preventing default onClick-behaviour in List-Component

2007-11-21 Thread Alex Harui
That is because those events are not cancelable. Are you just trying to reset what the selectedIndex was? I'd just store the last good one somewhere. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of carkraus Sent: Wednesday, November

Re: [flexcoders] editing Flash symbols in Flex

2007-11-21 Thread Paul Decoursey
I'm thinking the only way to do that is if the fill color is exposed as a property of the movieClip. On Nov 21, 2007, at 12:57 PM, g.shah3 wrote: I've got a Flex app where I load symbols from a Flash-designed swf file. Then I want to be able to change the fill color of the symbols

RE: [flexcoders] Reflection -- Accessing private fields

2007-11-21 Thread Alex Harui
Private is private. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of marty.pitt Sent: Tuesday, November 20, 2007 9:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Reflection -- Accessing private fields Hello all. Is there

[flexcoders] ListCollectionView dispatches too many CollectionEvents after enableAutoUpdate

2007-11-21 Thread t0ml33
I am making some updates to an ArrayCollection. Since it's the dataSource for a DataGrid, and I want the binding to update as few times as possible, I am using ArrayCollection.disableAutoUpdate(), making the changes, and then calling enableAutoUpdate() thinking that this will cause the binding

[flexcoders] Re: Error in Flex 3 Application I am working on that I can't find...

2007-11-21 Thread Dave
--- In flexcoders@yahoogroups.com, Dave [EMAIL PROTECTED] wrote: Declaration of style 'textDecoration' conflicts with previous declaration in C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\frameworks\libs\framework.swc(mx/controls/TextInput). I am not sure when it showed up but it is

RE: [flexcoders] Managing States and Cairngorm

2007-11-21 Thread Dimitrios Gianninas
That sounds will a pretty good way to go about it. Got for it. Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of stephen50232 Sent: Wednesday, November 21, 2007 12:01

[flexcoders] Re: DataGrid.itemToItemRenderer()- what about columns besides the first?

2007-11-21 Thread ben.clinkinbeard
Hi Alex, I think maybe I didn't explain myself well enough. The CheckBox is rendering the isSelected property in my data items and works correctly (displays checked or not) when scrolling and all that (its basically your CenteredCheckBox class). The WebService then updates the status property in

RE: [flexcoders] Initializing Conainer's children properties

2007-11-21 Thread Alex Harui
Create all children with visible=false then set them to true later? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of polestar11 Sent: Wednesday, November 21, 2007 5:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Initializing

RE: [flexcoders] Re: Problem with TileLIst RowCount

2007-11-21 Thread Alex Harui
Try scaling the tilelist? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of oneproofdk Sent: Wednesday, November 21, 2007 12:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Problem with TileLIst RowCount Hi Alex

RE: [flexcoders] Reflection -- Accessing private fields

2007-11-21 Thread Gordon Smith
I don't believe you can get reflection info about protected or internal APIs either. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Wednesday, November 21, 2007 11:39 AM To:

RE: [flexcoders] Repeater is not executing when changing the dataProvider

2007-11-21 Thread Tracy Spratt
This is not legal: click=changeEmployeeView({ emplRptr.currentItem.posnbr) currentItem only exists while the repeater is processing, and not when the button is clicked. Also, there is a syntax error. I am surprised you are not getting errors. You need to use getRepeaterItem(), for

[flexcoders] Skinning a Panel using Flash

2007-11-21 Thread Clinton D. Judy
I'm trying to skin panels for use in Flex, but my corners, which are rounded, keep getting squished. I'm sure I'm doing it right in Flash: My own drawing is lined up with the reference point (0, 0), the 4 guidelines for scale9 are in the right places and everything. And in my css file, I have:

RE: [flexcoders] Re: Get Data from Datagrid?

2007-11-21 Thread Tracy Spratt
A dataProvider is an object of some kind. The body of a mail message is text, probably. How do you want the data object to show up in the mail body? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of t.horster Sent: Wednesday,

[flexcoders] Re: Managing States and Cairngorm

2007-11-21 Thread tomeuchre
--- In flexcoders@yahoogroups.com, Sebastian Zarzycki [EMAIL PROTECTED] wrote: I'm fighting with this as well. I switched from Cairngorm to PureMVC and never looked back. It is so much easier, logical and re-usable, and little things like this never pop up anymore. I'll never go back...

[flexcoders] Re: Get Data from Datagrid?

2007-11-21 Thread t.horster
Thanks for your reply! I have a list with some items each having a different price and would like a list in the mail with the sum of all prices underneath it.

[flexcoders] annoying Date.valueOf warning

2007-11-21 Thread Seth Caldwell
Severity and Description Path Resource Location Creation TimeId 3594: valueOf is not a recognized method of the dynamic class Date. DealsDesigner DealsDesigner.mxml line 341 1193855145174 2611 Any clue how to get rid of this? Or what is the

RE: [flexcoders] Skinning a Panel using Flash

2007-11-21 Thread Clinton D. Judy
Something else I should add, my panel gets stretched depending on what size I want to make it at, but it looks like the scale9 stuff is ignored completely, stretching the underlying swf as if it were just one bitmap with no scale9 stuff. From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: Reflection -- Accessing private fields

2007-11-21 Thread marty.pitt
Spoil sports. :) How does the debugger expose the properties and their values? Nothing I can leverage there? --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: I don't believe you can get reflection info about protected or internal APIs either. Gordon Smith Adobe

RE: [flexcoders] Re: Managing States and Cairngorm

2007-11-21 Thread Sebastian Zarzycki
Can you elaborate a bit more on this? This is in no way starting some kind of flame. If you claim that such problems are solved easily, can you please tell us more about it? Since you've apparently used both, some kind of comparison would be EXTREMELY appreciated from my side. How does PureMVC

[flexcoders] Re: Skinning a Panel using Flash

2007-11-21 Thread marty.pitt
Hi Clinton Your message has somehow ended up as a comment in my thread about reflection. You might wanna repost as a new message all it's own, as it's unlikely people will see it here! Marty --- In flexcoders@yahoogroups.com, Clinton D. Judy [EMAIL PROTECTED] wrote: Something else I should

[flexcoders] The ebay image flipper

2007-11-21 Thread bnsmeets
All, I am curious if anybody has seen the imageflipping effect which is used in the ebay desktop app somehere in source? Cheers, Ben

RE: [flexcoders] Re: Reflection -- Accessing private fields

2007-11-21 Thread Gordon Smith
cc'ing Mike to get the lowdown on this. But I'm pretty sure that whatever the debugger is doing can't be done from ActionScript. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of marty.pitt Sent: Wednesday, November 21, 2007 1:14

Re: [flexcoders] Re: Managing States and Cairngorm

2007-11-21 Thread Bjorn Schultheiss
It would be interesting to see a PureMVC vs Cairngorm implementation comparison. But i believe this is a general MVC question. The way i see the responsibilities in this case is you have 2 views. (n) Components and 1 Mediator. The mediator would be responsible for updating your component

[flexcoders] Interfaces and Implements

2007-11-21 Thread simonjpalmer
Hi, I am having a problem with defining and using interfaces on my AS3 classes. Here's my scenario... class A implements IA{} class B implements IB{} class Wrapper implements IWrapper { public var a:A; public var b:B; } interface IWrapper { function get a():IA; function get b():IB; } When I

Re: [flexcoders] question about as3 and flex 2 integration

2007-11-21 Thread Peter Hall
You are setting the currentState property on the loaded swf, not in the parent Flex application. Probably you can do something like parent.parentDocument.currentState=next, but it would be much cleaner to dispatch a custom event and listen for that in flex, then the flex application can set the

[flexcoders] How could force itemEditEnd event manually when using NumericStepper as itemRenderer?

2007-11-21 Thread George
Hi guys, I got exhausted today struggling with NumericStepper. In DG I have a NumericStepper component used as itemRender (editable). I tried two kinds of NS components. 1. extended NS. 2. use VBox to contain a NS inside. What I want is, each time when user click NS, I need an itemEditEnd

RE: [flexcoders] Interfaces and Implements

2007-11-21 Thread Gordon Smith
You can't use a var to implement a getter... you have to write a getter. And it has to have exactly the same signature. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Wednesday, November 21, 2007 2:21 PM To:

Re: [flexcoders] Updating Properties of a Component's Root State

2007-11-21 Thread Peter Hall
Give an id to each state override that you need to modify. e.g.: mx:State name=newState mx:SetProperty id=setXOverride target={obj} name=x value=10 / /mx:State Then you can do: setXOverride.value = 100; Peter On Nov

RE: [flexcoders] How could force itemEditEnd event manually when using NumericStepper as itemRenderer?

2007-11-21 Thread Alex Harui
itemEditEnd will shut down the edit session and starting up a new one will take time so you probably don't want to do that. But if you do, you'll need 2.0.1 hotfix2 or 3.0 and set editeditemposition=null I would extend NS and watch the VALUE_COMMIT event and do your comparisons then.

RE: [flexcoders] Re: DataGrid.itemToItemRenderer()- what about columns besides the first?

2007-11-21 Thread Alex Harui
So the hidden theory of item renderers from my blog (hidden because I did not specifically mention it) is that by pairing custom columns with custom renderers you can get re-usability. The column would specify a 'disabledField' and the renderer would pick it up and use it, although in this case,

RE: [flexcoders] ListCollectionView dispatches too many CollectionEvents after enableAutoUpdate

2007-11-21 Thread Alex Harui
I suppose we should have called it queueUpUpdatesUntilLater and sendAllQueuedUpUpdatees. IMHO, there's an upper limit where, instead of changing piecemeal, you should just set a new source, which should just send one big RESET event. From:

[flexcoders] Re: DataGrid.itemToItemRenderer()- what about columns besides the first?

2007-11-21 Thread ben.clinkinbeard
Yea, I guess I didn't realize the impact of recycling on the disabled stuff. Thanks for pointing that out. As for the columns, at least in my case (which in reality is a bit more complex than my description here) I will still need a fair amount of custom logic in the renderer. It also seems like

Re: [flexcoders] Interfaces and Implements

2007-11-21 Thread Peter Hall
Alternatively, you can make those properties bindable. This will cause the compiler to automatically generate the corresponding getter and setter and the interface will be implemented. However, your example will never work as it is. AS3 currently does not allow implementation signatures to differ

[flexcoders] FIREFOX - Exception message: The SaveAs method is configured to require a rooted path, and the path 'test.mp3' is not rooted.

2007-11-21 Thread FlexCoders
Application is in .NET 2.0 and using Flex 2 as the upload control. Okay the application works FINE in IE. Here is what happens with FIREFOX. Select a file to upload, File uploads and on 100% the first error box appears: There has been an I/O Error: Error #2038: File I/O Error. URL:

RE: [flexcoders] Re: DataGrid.itemToItemRenderer()- what about columns besides the first?

2007-11-21 Thread Alex Harui
All of the custom logic should be in the renderer. The custom column is a schema-mapper, telling you which data fields mean what. You can define that stuff using ClassFactory as well. I haven't given much thought to the trade-offs, but custom columns seemed more 'declarative'.

[flexcoders] Re: Recovering from videodisplay errors?

2007-11-21 Thread Tony
Anyone ever able to answer this? I am getting the dreaded connectionError! and cannot recover from it also. I can capture the error just fine. One the VideoDisplay.state=connectionError, you cannot get it to play again. Anyone have a solution for this one. Thanks, Tony Every once in a while

[flexcoders] AdvancedDataGrid groupLabelFunction and group totals

2007-11-21 Thread frank_sommers
Hi, I'm using the AdvancedDataGrid in Flex 3, and would like to use the groupLabelFunction to display the total count of items in a group. groupLabelFunction must be defined by a method that consumes the data item and an AdvancedDataGridColumn as parameters. I am not able to find a way to

[flexcoders] Re: [SOLVED] How could force itemEditEnd event manually when using NumericStepper as itemRenderer?

2007-11-21 Thread George
Good point. Thanks a bunch Alex. I thought I have to do comparsions only after itemEditEnd as it's the only point dataProvider will be updated. Compare direct value of that item and do other tasks manually could be solid and effective, better than waiting a final dataProvider update. George

[flexcoders] Re: Interfaces and Implements

2007-11-21 Thread simonjpalmer
I thought about the bindable route and in fact the Wrapper class is [Managed] so I believe the properties are all bindable and therefore getters and setter will exist. As a matter of interest if I did this... [Managed] [RemoteClass(alias=com.simon.Wrapper)] class Wrapper implements IWrapper {

RE: [flexcoders] Flex Hierarchy

2007-11-21 Thread Alex Harui
I would avoid name collisions between functions and ids. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Wednesday, November 21, 2007 4:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Hierarchy

[flexcoders] Flex Hierarchy

2007-11-21 Thread Rafael Faria
When i understand it my life will be so much easier... Look the code above... see that on the function test2 it doesnt return the proper object? I know that exist some kind of hierarchy but what i couldnt get it is how i get the object that is on the global scope. i tried this.parent,

[flexcoders] Re: Recovering from videodisplay errors? [Solved]

2007-11-21 Thread Tony
Ok, Here is the solution: if (videoDisplay.state==connectionError){ videoDisplay.close(); } videoDisplay.play(); You could also listen for stateChange on the player checking for a connection error and solve the issue at that time. I think that is the best way to go. --- In

Re: [flexcoders] Re: Interfaces and Implements

2007-11-21 Thread Peter Hall
Looks like it should work. Did you try it and have problems? Peter On Nov 22, 2007 12:54 AM, simonjpalmer [EMAIL PROTECTED] wrote: I thought about the bindable route and in fact the Wrapper class is [Managed] so I believe the properties are all bindable and therefore getters and

Re: [flexcoders] Flex Hierarchy

2007-11-21 Thread Peter Hall
I'm surprised that even compiles... Peter On Nov 22, 2007 12:59 AM, Alex Harui [EMAIL PROTECTED] wrote: I would avoid name collisions between functions and ids. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael

[flexcoders] irregular x-axis intervals on a line chart

2007-11-21 Thread simonjpalmer
I have a situation where I am plotting time on the x-axis of a line chart and a continuous numeric quantity on the y-axis. The events which form the data series do not happen at regular intervals, so the gap between them on the x-axis is irregular. I have several series of data that exhibit

[flexcoders] Re: Interfaces and Implements

2007-11-21 Thread simonjpalmer
I haven't tried it yet, I'll let you know how I get on. --- In flexcoders@yahoogroups.com, Peter Hall [EMAIL PROTECTED] wrote: Looks like it should work. Did you try it and have problems? Peter On Nov 22, 2007 12:54 AM, simonjpalmer [EMAIL PROTECTED] wrote: I thought about

[flexcoders] Re: Flex Hierarchy

2007-11-21 Thread Rafael Faria
Peter, this is just to ilustrate... just did it here in the textarea... didnt even compiled. if you want a real example... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init() mx:Script ![CDATA[

Re: [flexcoders] Re: Flex Hierarchy

2007-11-21 Thread Sheriff
why can't you just do this.getChildByName(test_input); - Original Message From: Rafael Faria [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, November 21, 2007 9:59:41 PM Subject: [flexcoders] Re: Flex Hierarchy Peter, this is just to

Re: [flexcoders] Re: Flex Hierarchy

2007-11-21 Thread Paul Andrews
- Original Message - From: Rafael Faria [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, November 22, 2007 3:59 AM Subject: [flexcoders] Re: Flex Hierarchy Peter, this is just to ilustrate... just did it here in the textarea... didnt even compiled. if you want a

  1   2   >