[flexcoders] Re: Flex crashes if no sound card present

2007-05-12 Thread Danko Kozar
Thanks, Doug! Btw I have been using a debug version of Flash player on this computer, so I can't say that error isn't supressed on the ordinary one.. --- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote: > > Have you seen this thread? > > http://tech.groups.yahoo.com/grou

[flexcoders] Re: Error Handling on Computers with No Sound Hardware

2007-05-12 Thread Danko Kozar
--- In flexcoders@yahoogroups.com, "jpc14_99" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Paul DeCoursey" wrote: > > > > Maybe I'm a little naive, but wouldn't you just use a try/catch to > > suppress the error. > > > 1) I think that if Flash player handles issues such as

[flexcoders] Flex crashes if no sound card present

2007-04-16 Thread Danko Kozar
This is a serious Flex bug! I run a Flex application on a corporate computer that doesn't have a sound card and the application crashed. Using Flash player debugging version I realized that the problem was in playing sound.

[flexcoders] Web Service Error #1009 - null object reference?

2007-04-03 Thread Danko Kozar
Does anyone know how is it posible for a web service to have a method and a minute later it doesn't have it? I'm getting an error that web service method doesn't exist: "TypeError: Error #1009: Cannot access a property or method of a null object reference." (Before this error occured, the meth

[flexcoders] Re: Weird behavior of mx:Effects on ViewStack

2007-03-30 Thread Danko Kozar
> > Anyone from Adobe or anyone who has investigated this further care to > > explain? > > > > Thanks, > > > > Jaime > > > > On 1/17/07, Danko Kozar <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > I'm

[flexcoders] Re: VERY interesting title button behaviour! (??)

2007-03-25 Thread Danko Kozar
What are "unnneded regions"? Thanks. ps. my pngs are EXACTLY 16x16 --- In flexcoders@yahoogroups.com, "Janis Radins" <[EMAIL PROTECTED]> wrote: > > Probably your button png has some unnneded regions filled with pixels. > Check it with some image editor >

[flexcoders] VERY interesting title button behaviour! (??)

2007-03-23 Thread Danko Kozar
I have decorated the TitleWindow CloseButton with custom CSS: close-button-up-skin: Embed ("../images/resizable_window/window_close_up.png"); close-button-over-skin: Embed ("../images/resizable_window/window_close_over.png"); close-button-down-skin: Embed ("../images/res

[flexcoders] Re: Funny appearance of TabNavigator icons

2007-03-16 Thread Danko Kozar
to this display? > > > > Providing code helps. > > > > jason > > > > -Message d'origine- > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la > part de Danko Kozar > Envoyé : vendredi 16 mars 2007 12:39 > À

[flexcoders] Re: Funny appearance of TabNavigator icons

2007-03-16 Thread Danko Kozar
I forgot to mention that the TabNavigator appears inside the TitleWindow.. --- In flexcoders@yahoogroups.com, "Danko Kozar" <[EMAIL PROTECTED]> wrote: > > I really need help with this one. > > My tab navigator has icons that render on wrong positions. > Pleas

[flexcoders] Re: Preventing PopupManager to make popups over the MenuBar?

2007-03-15 Thread Danko Kozar
en > > PopUpManager.centerPopUp(window); > > I hope that helps > > > - Original Message > From: Danko Kozar <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Thursday, March 15, 2007 11:01:46 AM > Subject: [flexcoders] Preventing PopupManager

[flexcoders] Preventing PopupManager to make popups over the MenuBar?

2007-03-15 Thread Danko Kozar
I've got the MenuBar on the top of the screen. And I'd like to force opened windows to go BELOW it, not over it. I've been using PopUpManager.addPopUp() to make popups: PopUpManager.addPopUp(window, parent, modal, PopUpManagerChildList.PARENT); I tried everything, like setting parent to some

[flexcoders] Re: DataGrid paging?

2007-03-09 Thread Danko Kozar
is loaded into the grid.. --- In flexcoders@yahoogroups.com, "Paul DeCoursey" <[EMAIL PROTECTED]> wrote: > > > --- In flexcoders@yahoogroups.com, "Danko Kozar" wrote: > > > > I am testing both of this examples, thanks.. > > > > Questi

[flexcoders] Re: Are other developers hesitant to extend existing classes in Flex?

2007-03-09 Thread Danko Kozar
. > > jason > > > > > > -Message d'origine- > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la > part de Danko Kozar > Envoyé : jeudi 8 mars 2007 11:48 > À : flexcoders@yahoogroups.com > Objet : [flexcoders] Re:

[flexcoders] Re: Are other developers hesitant to extend existing classes in Flex?

2007-03-08 Thread Danko Kozar
the fact that > I don't do a refresh on the ListCollectionView after adding the > > sort to it. > > jason > > > > > > -Message d'origine- > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la > part de Danko Kozar >

[flexcoders] Re: Are other developers hesitant to extend existing classes in Flex?

2007-03-08 Thread Danko Kozar
quot;.. I'm waiting to see the next version.. I think the question that framework developers should ask themselves is: "would someone like to extend this?" If the answer is "yes", then make it PROTECTED! --- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PRO

[flexcoders] Re: Are other developers hesitant to extend existing classes in Flex?

2007-03-08 Thread Danko Kozar
Private methods and variables drive me nuts.. For example, I'd like to make a simple DataGrid change: make headers clickable without refreshing the grid (just toggle a sort icon). (I need this behaviour because I'd like to have a paging DataGrid which only propagates the sort column/direction in

[flexcoders] Re: DataGrid paging?

2007-03-08 Thread Danko Kozar
played in the grid. --- In flexcoders@yahoogroups.com, "Danko Kozar" <[EMAIL PROTECTED]> wrote: > > I am testing both of this examples, thanks.. > > Question: is there any possibility to control the DataGrids > scrolling thumb position and height? > >

[flexcoders] Re: DataGrid paging?

2007-03-08 Thread Danko Kozar
> on ItemPendingError for delayed loading) > > regards > rd > > --- In flexcoders@yahoogroups.com, "Danko Kozar" wrote: > > > > I'd like to hear some thoughts about paging implementation on Flex > > DataGrid. > > > > The server side impleme

[flexcoders] Re: DataGrid paging?

2007-03-07 Thread Danko Kozar
I recall seeing exactly what you are asking for in html, > like ntobi's live grid for example. I'm sure it wouldn't bee too > difficult to adapt my paged grid to changes "pages" using a scrollbar. > Let me play around with it a bit and I'll post some code

[flexcoders] DataGrid paging?

2007-03-07 Thread Danko Kozar
I'd like to hear some thoughts about paging implementation on Flex DataGrid. The server side implementation isn't a problem - I have a paging routine that fetches chunks of data from a database. This paging works ok with asp.net. But, with changing the client-side technology to Flex, I would n

[flexcoders] Re: UIComponent: keyUpHandler - what's it for anyway?

2007-03-07 Thread Danko Kozar
implements an > interface with the tag attribute > > implements="mx.managers.IFocusManagerComponent" > > - Gordon > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Danko Kozar > Sent: W

[flexcoders] Funny appearance of TabNavigator icons

2007-03-07 Thread Danko Kozar
I really need help with this one. My tab navigator has icons that render on wrong positions. Please look at this image: http://www.dkozar.com/images/bugs/tab_icons_1.gif After I mouse-over over the tab(s), the icon position is (magically) fixed: http://www.dkozar.com/images/bugs/tab_icons_2.g

[flexcoders] UIComponent: keyUpHandler - what's it for anyway?

2007-03-07 Thread Danko Kozar
The livedocs suggest that every UIComponent has automatically set event listeners for keyUp (adn keyDown) events: http://livedocs.adobe.com/flex/2/langref/mx/core/UIComponent.html#key UpHandler() So, I expected that it's enough to override this method to make some action on key-click. But that

[flexcoders] Re: Problem transferring DTO containing ArrayCollection to the web service

2007-02-22 Thread Danko Kozar
y; } --- In flexcoders@yahoogroups.com, "Danko Kozar" <[EMAIL PROTECTED]> wrote: > > I've got a weird problem: > > - When passing an ArrayCollection (of strings) to the web service as > its method argument, everything works OK. > > - But, when wrapping an Ar

[flexcoders] Problem transferring DTO containing ArrayCollection to the web service

2007-02-22 Thread Danko Kozar
I've got a weird problem: - When passing an ArrayCollection (of strings) to the web service as its method argument, everything works OK. - But, when wrapping an ArrayCollection (of objects) into a custom collection object, only the first item in the collection is transferred. The problem is

[flexcoders] Re: Cairngorm - fireing two events at the same time messes the results?

2007-02-11 Thread Danko Kozar
ices, you can use creationComplete to call a > function that make the service calls. This is quite common in applications > that I have built that need to have data populate on load. > > Rich > > On 2/10/07, Danko Kozar <[EMAIL PROTECTED]> wrote: > > > >

[flexcoders] Re: Cairngorm - fireing two events at the same time messes the results?

2007-02-10 Thread Danko Kozar
btw how am I supposed (for the sake of Cairngorm consistency) to handle calls that are not actions to "user gestures", for instance: calling 3 web service methods for filling 3 combo boxes? Thx! --- In flexcoders@yahoogroups.com, "Danko Kozar" <[EMAIL PROTECTED]&

[flexcoders] Cairngorm - fireing two events at the same time messes the results?

2007-02-10 Thread Danko Kozar
I have two Cairngorm events that trigger two commands which (using delegate) trigger two different web service methods. The problem is that both calls return the same result set (?). It seems that fireing two events at the same time causes this problem. Any suggestions? Thanks.

[flexcoders] Cairngorm: Set the DataGrid selectedItem value - best practice?

2007-02-09 Thread Danko Kozar
I'm interested what's the best practice for this issue: I edit a DataGrid items - not in the grid but in the form that pops up on items double-click. After the edited item is submitted to the database, I'd like to change it's on-screen appearance. If I change its value in a DataProvider - then

[flexcoders] UIComponent as Application's backgroundImage - possible?

2007-02-06 Thread Danko Kozar
Hi, I'd like to make a Flash animation that will be reusable throughout my apps as application background. I'd like to have it attached like:

[flexcoders] Re: Updating dataProvider from a control that uses it?

2007-02-02 Thread Danko Kozar
Does my control have to implement some interfaces which are implemented by DataGrid? I'd like a simple explanation what list controls do behind the scene when it's item is updated. Thanks.. --- In flexcoders@yahoogroups.com, "Danko Kozar" <[EMAIL PROTECTED]> wrote

[flexcoders] Re: Updating dataProvider from a control that uses it?

2007-02-02 Thread Danko Kozar
ySprite.x = 123 .. and that has to change the dataProvider.. Thx.. --- In flexcoders@yahoogroups.com, "Clint Tredway" <[EMAIL PROTECTED]> wrote: > > in your dragDrop event, broadcast the items x & y along with its > arrayCollection identifier and update the col

[flexcoders] Updating dataProvider from a control that uses it?

2007-02-02 Thread Danko Kozar
I'm trying to create a control that receives a dataProvider (which is an ArrayCollection of Objects) and draws these objects as Sprites on screen (the object contains x and y property (coordinate) of the Sprite). My question is: when moving the object with mouse, how can it's new position auto

[flexcoders] Accordion child icon bug

2007-02-02 Thread Danko Kozar
I noticed a bug in Accordion (Flex 2.0.1). I have an Accordion with three children end every one of them has another image as icon property: The problem is that THE LAST ONE (icon3) is rendered on ALL THREE Accordion tabs. Since I think Accordion has to work as other navigators (Tab

[flexcoders] Re: Using Effects with TitleWindow show/hide?

2007-02-01 Thread Danko Kozar
ably realize is > that when the window is rendered, > It's already showing so the show effect either doesn't fire or has > already fired. (not sure which) > > B. > > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] O

[flexcoders] Re: Using Effects with TitleWindow show/hide?

2007-02-01 Thread Danko Kozar
s.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote: > > Does it work if you use creationCompleteEffect? > > --- In flexcoders@yahoogroups.com, "Danko Kozar" > wrote: > > > > Is it possible to use mx:Effects with TitleWindow popped up by > >

[flexcoders] Re: Using Effects with TitleWindow show/hide?

2007-02-01 Thread Danko Kozar
Thanks! I'll try it.. D. -- In flexcoders@yahoogroups.com, "Brian Holmes" <[EMAIL PROTECTED]> wrote: > > > On your title window set visible=false and then on the creationComplete > event set visible=true; > > > showEffect="{myShowEffect}" > > > > > > > There's a much better way of handli

[flexcoders] Using Effects with TitleWindow show/hide?

2007-02-01 Thread Danko Kozar
Is it possible to use mx:Effects with TitleWindow popped up by PopUpManager? I'd like to use some Move and Resize effects on window show and hide - just to make it slide in and out. I've try it using showEffect and hideEffect property of TitleWindow, but it doesn't work.

[flexcoders] Re: Flex Builder 2.0.1 - problem creating a library project

2007-01-25 Thread Danko Kozar
s to the library, the compiler checks them as it builds > the swf. > > If everything looks good and you see no errors. > > Try Project->Clean and clean the library project. > > Peace, Mike > > On 1/25/07, Danko Kozar <[EMAIL PROTECTED]> wrote: > > &g

[flexcoders] Re: How to convert XMLList Collection to an ArrayCollection ?

2007-01-25 Thread Danko Kozar
Have you tried: myDP = xmlData.partsList.catalog as ArrayCollection; ? --- In flexcoders@yahoogroups.com, "helihobby" <[EMAIL PROTECTED]> wrote: > > Hello, > I have XML data which comes back from a server via a custom socket. > How can I convert that the to an ArrayCollection ? > > If I try:

[flexcoders] Flex Builder 2.0.1 - problem creating a library project

2007-01-25 Thread Danko Kozar
I'm trying to compile a library (swc) project for a first time, but nothing happens - the bin folder remains empty. The project is created with: File -> New -> Flex Library Project. I've included the classes as described in examples. I've tried to 1) build the project manually, and 2) with "Bu

[flexcoders] Re: crossdomain.xml problem

2007-01-24 Thread Danko Kozar
some strange mapping... :-| The error says that it is trying to connect to "192.168..." (some local addresses) and not to a domain name. Huh.. --- In flexcoders@yahoogroups.com, "Danko Kozar" <[EMAIL PROTECTED]> wrote: > > I have a strange behavior of a policy f

[flexcoders] Re: crossdomain.xml problem

2007-01-24 Thread Danko Kozar
Fiddler says that the request is being made (by both computers). Only that one receives the responce, the other not. --- In flexcoders@yahoogroups.com, "Abdul Qabiz" <[EMAIL PROTECTED]> wrote: > > Did you try to look at the HTTP requests made by Flash Player. Try using > charles or fiddler to

[flexcoders] Re: Screen Flicker Between States Issue

2007-01-24 Thread Danko Kozar
The same "flicker" thing is happening to me. Seems that if object on the state that is being shown is already created (built) - the flicker appears. It does not appear the first time - e.g. when object is created for the first time. Whoa do we need to do? Destroy objects on state change? ?? --

[flexcoders] crossdomain.xml problem

2007-01-24 Thread Danko Kozar
I have a strange behavior of a policy file. On two different computers I have the same url open (IE6) and the very same Flex content is loaded in both of them: The first one loads the specified crossdomain.xml normally, and consumes the web service from the remote location. The other one doesn

[flexcoders] Re: updateDisplayList fires only when increasing a browser size?

2007-01-24 Thread Danko Kozar
Thank you Mike, you helped me to solve my problem! In the measure() method I have had this statements: measuredWidth = measuredMinWidth = parent.width; measuredHeight = measuredMinHeight = parent.height; Well.. this code originally came from an example - now I realised that this "min" width and

[flexcoders] Re: updateDisplayList fires only when increasing a browser size?

2007-01-24 Thread Danko Kozar
! --- In flexcoders@yahoogroups.com, "Danko Kozar" <[EMAIL PROTECTED]> wrote: > > Oh, I got it: a horizontalScrollPolicy of the parent container wasn't > set to "off".. > > Sory for inconvenience... > > > --- In flexcoders@yahoogroups.c

[flexcoders] Re: updateDisplayList fires only when increasing a browser size?

2007-01-24 Thread Danko Kozar
Oh, I got it: a horizontalScrollPolicy of the parent container wasn't set to "off".. Sory for inconvenience... --- In flexcoders@yahoogroups.com, "Danko Kozar" <[EMAIL PROTECTED]> wrote: > > I've made a custom component (based on Canvas). When res

[flexcoders] updateDisplayList fires only when increasing a browser size?

2007-01-24 Thread Danko Kozar
I've made a custom component (based on Canvas). When resizing a browser, the "updateDisplayList(unscaledWidth, unscaledHeight)" fires only when resizing to a greater window size. When resizing to a smaller size, it doesn't fire. The scrollbar appears instead. Why? Thanks!!

[flexcoders] Re: Problem with rendering Image in actionscript using embedded Class

2007-01-19 Thread Danko Kozar
Problem solved: Seems that the image size created by myClass was 0x0 px (?!) by default: that's why the image was invisible. Danko --- In flexcoders@yahoogroups.com, "Danko Kozar" <[EMAIL PROTECTED]> wrote: > > Hi, > I have a great problem with this one. > I

[flexcoders] Problem with rendering Image in actionscript using embedded Class

2007-01-19 Thread Danko Kozar
Hi, I have a great problem with this one. I'd like to use the embedded image: [Embed(source="images/window.png")] [Bindable] public var imgWindow:Class; .. in a class (that extends UIComponent) that generates the image as it's child: protected override function createChildren():void { s

[flexcoders] Weird behavior of mx:Effects on ViewStack

2007-01-17 Thread Danko Kozar
Hi, I'm using mx:Move effects on ViewStack as it's items showEffect and hideEffect. HideEffect moves the previous view off-screen; then the next view slides in. (btw these views are complex full-screen displays (containing TabNavigators, DataGrids and TileLists) First time when changing views

[flexcoders] Re: Code behind- do you use it?

2007-01-17 Thread Danko Kozar
I use code-behind on pages with lot of code, since I don't want a mess: On index.mxml I have the script block containing th epath to the actionscript file (not as class): My question is: Why doesn't Flex Builder allow to name the .mxml and .as page using the same name? Does this happen only w