[flexcoders] Re: ToolTipManager stops processing of styles and updates of the displaylist?

2009-08-18 Thread florian.salihovic
occoured. So: beware of style ineritence :) --- In flexcoders@yahoogroups.com, florian.salihovic florian.saliho...@... wrote: I have noticed a strange behaviour regarding the ToolTipMananger. Actually i'm not quite sure, since the ToolTipManger seems to be the cause. I implemented a component

[flexcoders] ToolTipManager stops processing of styles and updates of the displaylist?

2009-07-30 Thread florian.salihovic
I have noticed a strange behaviour regarding the ToolTipMananger. Actually i'm not quite sure, since the ToolTipManger seems to be the cause. I implemented a component which works just fine. Styles are applied, measuring works etc. The component should also be used as tooltip in certain parts

[flexcoders] ToolTipManager stops processing of styles and updates of the displaylist?

2009-07-30 Thread florian.salihovic
I have noticed a strange behaviour regarding the ToolTipMananger. Actually i'm not quite sure, since the ToolTipManger seems to be the cause. I implemented a component which works just fine. Styles are applied, measuring works etc. The component should also be used as tooltip in certain parts

[flexcoders] FXG: Rect radiusX, radiusY

2009-06-15 Thread florian.salihovic
I'm currently making my first steps with FXG. I really like the idea of using Illustrator for doing the graphical stuff and using the FXG markup in Flex. What i stumbled across was the generation of rects with rounded rounded corners. Why is Illustrator exporting a complex path? It's pretty

[flexcoders] Accessing the border of a container

2009-04-09 Thread florian.salihovic
I don't know if i'm just blind atm or if it's indded hard to access the border of a Container. I can access the rawChildren. That's good since i could introspect the children's class name and search for the classname of the asset. But my problem ist, that the border get's compiled and the

[flexcoders] Re: Accessing the border of a container

2009-04-09 Thread florian.salihovic
--- In flexcoders@yahoogroups.com, florian.salihovic florian.salihovic@ wrote: I don't know if i'm just blind atm or if it's indded hard to access the border of a Container. I can access the rawChildren. That's good since i could introspect the children's class name and search

[flexcoders] ToggleButtonBar, NavBar and selectedIndex - error in accessor implementation?

2009-04-08 Thread florian.salihovic
I found some weird implementation. The inheritance hierarchie is at follows: ToggleButtonBar - ButtonBar - NavBar ToggleButtonBar overrides the accessors and mutators for _selectedIndex. But why is the Accessor implemented in ToggleButtonBar like: override public function get

[flexcoders] Re: How to dispatch an Event in static function?

2009-04-01 Thread florian.salihovic
In this case, there is no need to inherit. Instead use a static EventDispatcher instance as a class member, which dispatches an Event in the static function. Best regards. --- In flexcoders@yahoogroups.com, flexawesome flexawes...@... wrote: hey there, I was trying to dispatch an Event in

[flexcoders] Re: Question for [Bindable(event=event)] syntax?

2009-03-31 Thread florian.salihovic
private var _name:String; [Bindable(nameChanged)] [Bindable(myNameChanged)] public function get name():String { return _name; } public function set name(value:String):void { if (_name == value) return; _name = value; dispatchEvent(new Event(nameChanged)); dispatchEvent(new Event(myNameChanged));

[flexcoders] Re: HTML component does not display images

2009-03-11 Thread florian.salihovic
, florian.salihovic florian.salihovic@ wrote: What am i missing? Passing htmlHttp Worldimg src='pic1.png' //html to the HTML component's htmlText property will only display the text, not the image. Best regards.

[flexcoders] HTML component does not display images

2009-03-10 Thread florian.salihovic
What am i missing? Passing htmlHttp Worldimg src='pic1.png' //html to the HTML component's htmlText property will only display the text, not the image. Best regards.

[flexcoders] Re: Error: Error #1023: Stack overflow occurred.

2009-02-25 Thread florian.salihovic
Nope, it's the ListCollectionView's length property. --- In flexcoders@yahoogroups.com, Gregor Kiddie gkid...@... wrote: Is it the HierarchicalCollectionView that the problem lies? If so it might be related to this bug https://bugs.adobe.com/jira/browse/FLEXDMV-1755 A fix is

[flexcoders] Re: HTTPRequest and Air too slow?

2009-02-24 Thread florian.salihovic
@yahoogroups.com, florian.salihovic florian.salihovic@ wrote: Yes, actually i did so. I ran an URLLoader against different backend api calls. Those are usually defined values for server-side calls. I had a slighty overhead: ~80 - 120ms + parsing the data and adding

[flexcoders] Error: Error #1023: Stack overflow occurred.

2009-02-24 Thread florian.salihovic
I am the only developer in my team who gets this error. Three more people compiled the code successfully. The error appears when i try to access the length property of an ArrayCollection/ListCollectionView. The code is processed recursively. i need to process arround 4000 lines of text which

[flexcoders] Re: Error: Error #1023: Stack overflow occurred.

2009-02-24 Thread florian.salihovic
the length property is undefined and the system throws the Error. Best regards. --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Tuesday 24 Feb 2009, florian.salihovic wrote: I am the only developer in my team who gets this error. Three more people compiled the code

[flexcoders] Re: Error: Error #1023: Stack overflow occurred.

2009-02-24 Thread florian.salihovic
sizes. You might have to flatten your algorithm. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of florian.salihovic Sent: Tuesday, February 24

[flexcoders] Re: HTTPRequest and Air too slow?

2009-02-23 Thread florian.salihovic
Feb 2009, florian.salihovic wrote: Any ideas regarding Air and some problems when it comes to network issues? I don't recall any. Did you try a stripped down test case ? -- Tom Chiverton Helping to widespreadedly disseminate visionary e-services

[flexcoders] Re: HTTPRequest and Air too slow?

2009-02-18 Thread florian.salihovic
the infrastructure overhead from AIR-Runtime to the actual URLLoader instance. Any ideas regarding Air and some problems when it comes to network issues? --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Tuesday 17 Feb 2009, florian.salihovic wrote: But somehow

[flexcoders] HTTPRequest and Air too slow?

2009-02-17 Thread florian.salihovic
I'm currently devloping an AIR app. This causes some serious headaches, because of the following problem: When i run the application in my local network, it is fast and responses are in the client in a blink of an eye. But it seems like the app doesn't behave the same way everytime. It was

[flexcoders] Re: HTTPRequest and Air too slow?

2009-02-17 Thread florian.salihovic
@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Tuesday 17 Feb 2009, florian.salihovic wrote: behave the same way everytime. It was tested in a different environment and the responses reached the client after seconds. It was compared to an HTML-frontend which uses the same PHP-API

[flexcoders] Re: Alex Harui DataGrid and DTO question

2009-02-14 Thread florian.salihovic
Even if it would be possible, wouldn't it break the model/view seperation? You are much more restricted to the data then you are using the common way to display data. - What about formating the displayed data. This would be needed to be done by the DTO. - Other orders... without columns not

[flexcoders] Public constant fields are null?

2009-02-09 Thread florian.salihovic
I'm more then confused! I declare in a class some string constants: // MyConstants.as package { public class MyConstants { public static const My_CONST:String = myConst; } } In one of my classes i declare a setter, which makes sure only allowed values can be processed, otherwise the class will

[flexcoders] Re: Public constant fields are null?

2009-02-09 Thread florian.salihovic
, florian.salihovic florian.saliho...@... wrote: I'm more then confused! I declare in a class some string constants: // MyConstants.as package { public class MyConstants { public static const My_CONST:String = myConst; } } In one of my classes i declare a setter, which makes sure only

[flexcoders] Re: Public constant fields are null?

2009-02-09 Thread florian.salihovic
Found the error. Everthing works fine - i had some other method to run as well. --- In flexcoders@yahoogroups.com, florian.salihovic florian.saliho...@... wrote: To give some more input: the error occours when the data is manipulated in an itemrenderer of an advanced datagrid which displays

[flexcoders] Re: Best Practices: ArrayCollection of custom objects?

2008-12-16 Thread florian.salihovic
Regaring the modelling of a domain, you should wrap your collection (Array, ListCollectionView, ArrayCollection, XMLListCollection...) in your own collection type. That will make your collection typesafe. When you need access to the underlying collection, you could make it accessible by

[flexcoders] UIMovieClip shows nondeterministic behaviour

2008-12-10 Thread florian.salihovic
I have a pretty big application. The app uses various in Flash created components. Everything works fine untill some certain point, which varies from test to test. At some point, my app crashes with a typeerror: TypeError: Error #1009: Cannot access a property or method of a null object

[flexcoders] Re: UIMovieClip shows nondeterministic behaviour

2008-12-10 Thread florian.salihovic
Of florian.salihovic Sent: Wednesday, December 10, 2008 4:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] UIMovieClip shows nondeterministic behaviour I have a pretty big application. The app uses various in Flash created components. Everything works fine untill some certain point, which varies

[flexcoders] Re: Get parent object in an array collection

2008-11-28 Thread florian.salihovic
I would suggest to create a real data structure and skip the version with the play Object instances. Following this approach, you could add references to the parents, add eventlisteners and reconstruct the structure when needed automatically (you have to implement th logic thogh ;) ). Best

[flexcoders] How to prevent an enabled ComboBox from openeng?

2008-11-27 Thread florian.salihovic
See subject... I tried rowCount = 0; event.preventDefault... nothing... Any ideas? Best regards!

[flexcoders] Re: How to prevent an enabled ComboBox from openeng?

2008-11-27 Thread florian.salihovic
mouseChildren = false; --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: See subject... I tried rowCount = 0; event.preventDefault... nothing... Any ideas? Best regards!

[flexcoders] Re: How to set reference to parent?

2008-11-25 Thread florian.salihovic
It would be component.parent, not just parent unless you are working in the child's scope. A better way would be to register an eventlistener (don't forget to remove it if it's not necessary anymore) for the child in the parent's scope. Why? To me it's the same problem you might run into

[flexcoders] Re: Skinning does not work properly. 2 skins appear.

2008-11-23 Thread florian.salihovic
Stupid me... it's the icon-style i had to use... --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: This is my weekend nw quite long. Basically i have a Programmatic skin which i want to use for my RadioButton. It works, since i see them. But the Halo theme does

[flexcoders] Original skins won't disappear - 2 skins instead.

2008-11-22 Thread florian.salihovic
This is my weekend nw quite long. Basically i have a Programmatic skin which i want to use for my RadioButton. It works, since i see them. But the Halo theme does not disappear. Instead i see both skins... i apply the skin via: mx:Style RadioButton {

[flexcoders] Skinning does not work properly. 2 skins appear.

2008-11-22 Thread florian.salihovic
This is my weekend nw quite long. Basically i have a Programmatic skin which i want to use for my RadioButton. It works, since i see them. But the Halo theme does not disappear. Instead i see both skins... i apply the skin via: mx:Style RadioButton {

[flexcoders] Re: AS3 Class, MXML implements it

2008-11-07 Thread florian.salihovic
Just just the implements Attribute in the root node and specify ypur interface, which will be implement. Best regards. --- In flexcoders@yahoogroups.com, geniium [EMAIL PROTECTED] wrote: Hello, Do you know any way to implement an interface in a MXML file? Thanks for any info, G

[flexcoders] Re: Listeners and weak references

2008-11-05 Thread florian.salihovic
When u register an EventListener to en IEventDispatcher instance not using weak references, the object won't be garbage collected untill all references got null. This not only affects references by objects and arrays, but also eventlistener. Using weak references will allow the garbage

[flexcoders] Re: unable to bind to property 'width' on class 'Object'

2008-11-05 Thread florian.salihovic
Code? --- In flexcoders@yahoogroups.com, Juan Carlos M. [EMAIL PROTECTED] wrote: but the problem is that component doesn´t appear on screen... ...it seems that it is unable to add it's child components... (measure method is called in an infinite loop) --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Research - Flex Metatags useable in F.C.K.

2008-11-04 Thread florian.salihovic
@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Ah ok, Don't know that answer. :) Mike On Thu, Sep 18, 2008 at 8:37 AM, florian.salihovic [EMAIL PROTECTED] wrote: Hi, that would be if i used MXMLC for compilation. What i was asking for is, when the *.swc gets compiled in Flash

[flexcoders] Different Itemrenderer in ComoBox

2008-11-04 Thread florian.salihovic
Is it possible to set an itemrenderer and itemeditor in a ComboBox depending on the type of object which is displayed? Or do is have to use one renderer for all items and determine in the renderer itself how it should be displayed - same goes for the itemeditor. Best regards

[flexcoders] Re: my first flex website

2008-11-04 Thread florian.salihovic
Sorry, imho it's hard to believe that this website is used to present yourself on the market. - pictures simply appear randomly... load first the content, then show it. - pictures aren't antialiased, the pictures in pricing don't look nice. - pictures and icons don't work well together (simple

[flexcoders] Re: How can I stop my HTTPService?

2008-11-03 Thread florian.salihovic
How about the cancel method of HTTPService? Best regards. --- In flexcoders@yahoogroups.com, sailorsea21 [EMAIL PROTECTED] wrote: Hi everyone, I have an HTTPService that I load in a module. When I unload the module the HTTPService keeps working... This is my HTTPService:

[flexcoders] Re: Extending Datagrid dynamically

2008-11-02 Thread florian.salihovic
I would think about the datastructure u use... an Array of mixed content is not necessarily the optimum. I for example would create a new datatype. If u need a certain formatted renderer even for complex data: implement an itemrenderer. A simple approach is to implementing a component which

[flexcoders] Re: States in UIMovieClip working properly?

2008-10-30 Thread florian.salihovic
What i can also add - forgot to post that one: When i trace the text Property of the TextField instances, the content is not null, oder - it is the text it should be. It's just not displayed. --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: I have a strange

[flexcoders] Re: States in UIMovieClip working properly?

2008-10-30 Thread florian.salihovic
, florian.salihovic [EMAIL PROTECTED] wrote: I have a strange problem: i have the following class: package fs.examples.components { import flash.events.Event; import flash.events.MouseEvent; import flash.text.TextField; import mx.events.StateChangeEvent

[flexcoders] States in UIMovieClip working properly?

2008-10-29 Thread florian.salihovic
I have a strange problem: i have the following class: package fs.examples.components { import flash.events.Event; import flash.events.MouseEvent; import flash.text.TextField; import mx.events.StateChangeEvent; import mx.flash.UIMovieClip;

[flexcoders] Re: States in UIMovieClip working properly?

2008-10-29 Thread florian.salihovic
And a link to the sources: http://www.box.net/shared/48p7bc63hj It would be really great, if anybody had some clue or hint for me. --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: I have a strange problem: i have the following class: package

[flexcoders] Re: Gosh what a state to be in..

2008-10-28 Thread florian.salihovic
Hm, actually i don't quite get the problem, i think. States should be used in my opinion to really abstract view-states. The state of the application should be stored in a domain model. If u have buttons - just register listeners for the interaction and let a controller decide what to to

[flexcoders] Re: Return two instances of objects keeping the same reference on the Actionscri

2008-10-28 Thread florian.salihovic
Could you not just use the old object again and just map in the new values? That's the only idea i have to make sure u'll have the same object all the time at runtime - which will ensure that there's no need for new references to be set. Best regards! --- In flexcoders@yahoogroups.com, João

[flexcoders] Re: best practice XML hyphens

2008-10-28 Thread florian.salihovic
That's why many people tend to use camelcase i think... --- In flexcoders@yahoogroups.com, Kenneth Sutherland [EMAIL PROTECTED] wrote: Hi I'm looking for info on best practices for creating XML and using hyphens inside the XML. The reason being that a feed that I'm having to work

[flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread florian.salihovic
Then i got the problem right? Thought i had to get back to school for some english lessons... --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Yeah, builder's not so smart when you're trying to do anything out of the ordinary :) On Mon, Oct 27, 2008 at 4:01 PM,

[flexcoders] Re: Programmatically Determine if FlexEvent.CREATION_COMPLETE has been dispatche

2008-10-27 Thread florian.salihovic
One way to do so: private var dictionaty:Dictionary = new Dictionary(); private var button:Button = new Button(); protected function initializeComponent():void { this.button.addEventListener(FlexEvent.CREATION_COMPLETE, onCreationComplete); this.dictionary[this.button] = false; } function

[flexcoders] Re: Programmatically Determine if FlexEvent.CREATION_COMPLETE has been dispatche

2008-10-27 Thread florian.salihovic
to achieve. -Josh On Mon, Oct 27, 2008 at 9:22 PM, florian.salihovic [EMAIL PROTECTED] wrote: One way to do so: private var dictionaty:Dictionary = new Dictionary(); private var button:Button = new Button(); protected function initializeComponent():void

[flexcoders] Custom [Bindable] declarerd accessors.

2008-10-27 Thread florian.salihovic
The simple approach for classes to offer databinding enabled properties is to simply declard the whole class as [Bindable]. To make full use of the feature instances/references to objects must be declared as [Bindable] as well. Well, since it is said in the documentation to use custom

[flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-26 Thread florian.salihovic
You are searching for the is-operator: var displayObject:DisplayObject = new Sprite(); trace(displayObject is DisplayObject); trace(displayObject is Sprite); trace(displayObject is UIComponent); Best regards --- In flexcoders@yahoogroups.com, Mark Carter [EMAIL PROTECTED] wrote: I've got an

[flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-26 Thread florian.salihovic
a variable of Class type. public static function isObjectInstanceOfClass(obj:Object, cls:Class):Boolean { return obj is cls; // compile error } florian.salihovic wrote: You are searching for the is-operator: var displayObject:DisplayObject = new Sprite(); trace

[flexcoders] Re: Resizing a class file

2008-10-20 Thread florian.salihovic
Why don't u want to create an instance? --- In flexcoders@yahoogroups.com, flexaustin [EMAIL PROTECTED] wrote: Is it possible to resize a Class file? Say you embed a swf or png. Can you then resize it by casting is as something else? [Bindable] [Embed(source=ui/nicePngImage.png)] static

[flexcoders] Re: Interfaces WHY?

2008-10-10 Thread florian.salihovic
Polymorphism. --- In flexcoders@yahoogroups.com, Ryan Gravener [EMAIL PROTECTED] wrote: Pseudo multiple inheritance. Ryan Gravener http://twitter.com/ryangravener On Fri, Oct 10, 2008 at 10:23 AM, Richard Rodseth [EMAIL PROTECTED]wrote: And sometimes you even have interfaces with

[flexcoders] Understanding component measuring

2008-10-07 Thread florian.salihovic
Hi there, since i realized that i don't fully understand compont measuring in custom UICmponent's, I wrote some tests. The Problem i face atm is: how to deal with deep hierachies of custom UIComponents. My current approach is setting the dimensions (width and height) additionally to the

[flexcoders] Re: Dimensions of a UIComponent are allways 0, 0?!

2008-10-05 Thread florian.salihovic
measuredWidth and measuredHeight of you component. If you don't do this, the layout manager will set the size of your component to 0,0. Mike On Wed, Oct 1, 2008 at 4:02 AM, florian.salihovic [EMAIL PROTECTED] wrote: I have a UIComponent which Dimensions never change?! When i add

[flexcoders] Cairngorm

2008-10-02 Thread florian.salihovic
Don't foget the subject next time. The following link might help. http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html --- In flexcoders@yahoogroups.com, Anand Kumar [EMAIL PROTECTED] wrote: Hi, Please some one explain me about  Cairngorm architecture. Thanks Anand

[flexcoders] Dimensions of a UIComponent are allways 0, 0?!

2008-10-01 Thread florian.salihovic
I have a UIComponent which Dimensions never change?! When i add a child in the overriden createChildren i expect the dimensions to be changed... but nothing happens... override protected function createChildren():void { super.createChildren(); if (!this._uibase) { this._uibase = new UIBase();

[flexcoders] Viewing massive data in charts

2008-09-22 Thread florian.salihovic
Hello everybody, i have a question which is not technical in first place. I'm more in a search for a pattern. The problem: i have a massive collection of objects (~35000 instance) which should be displayed in the charting components. But not all at once, just intervals which can be as big

[flexcoders] Re: Viewing massive data in charts

2008-09-22 Thread florian.salihovic
seems like there is quite a lot to understand doing some more complex stuff with the chart components... Best regards --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: Hello everybody, i have a question which is not technical in first place. I'm more

[flexcoders] Research - Flex Metatags useable in F.C.K.

2008-09-18 Thread florian.salihovic
I'm currently doing a research on the Flex Component Kit. I need to outsource some custom components to a designer. The baseclasses are defined, but will the metatags (custom events used for the databinding) also be recognized/compiled into the source? Best regards.

[flexcoders] Re: Multiple webservice calls

2008-09-18 Thread florian.salihovic
~~ ~~ --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , florian.salihovic florian.salihovic@ wrote: Thanx for the info, i'll look deeper into the informations

[flexcoders] Re: Research - Flex Metatags useable in F.C.K.

2008-09-18 Thread florian.salihovic
-metadata name=Transient / /compc /target Mike On Thu, Sep 18, 2008 at 5:51 AM, florian.salihovic [EMAIL PROTECTED] wrote: I'm currently doing a research on the Flex Component Kit. I need to outsource some custom components to a designer. The baseclasses are defined

[flexcoders] Re: Multiple webservice calls

2008-09-17 Thread florian.salihovic
token:AsyncToken = service.send(Params); token.addResponder(responder); The 'responder' will let your WS know where to return the results. I can write a longer answer after EOB. PCC --- In flexcoders@yahoogroups.com, florian.salihovic florian.salihovic@ wrote: I'm currently trying

[flexcoders] Multiple webservice calls

2008-09-16 Thread florian.salihovic
I'm currently trying to call with one WebService instance a WebService several time concurrently. But it seems like it won't work. Is there a way to achieve it? I'm using an instance of mx.rpc.soap.WebService. Any help would be appreciated.

[flexcoders] Re: Problems installing the Flex Component Kit for Flash CS3

2008-09-01 Thread florian.salihovic
://www.adobe.com/devnet/flex/articles/skins_styles.html Alan On Aug 31, 2008, at 10:58 AM, florian.salihovic wrote: But when i start flash, wether the templates apear nor the 'Convert Symbol to Flex Component' and 'Convert Symbol to Flex Container' were added. I'm pretty

[flexcoders] Problems installing the Flex Component Kit for Flash CS3

2008-08-31 Thread florian.salihovic
Installed Software: Adobe Flash CS3 Professional Adobe Flex 3 Adobe Extension Manager 1.8.169 I use Flex to code but since i thought it might be a good idea to impove the designer/programmer workflow i thought i'd give the FCK4FCS3 a try. So i downloaded * FLEX SKIN DESIGN EXTENSION FOR FLASH *

[flexcoders] Re: ItemRenderer returns empty Object instead of encapsuled data.

2008-08-19 Thread florian.salihovic
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of florian.salihovic Sent: Monday, August 18, 2008 9:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ItemRenderer returns empty Object instead of encapsuled data. I have two instances of mx:controls::List. Both use the same

[flexcoders] Re: ItemRenderer returns empty Object instead of encapsuled data.

2008-08-19 Thread florian.salihovic
Something i forgot to add: in the Debugger the passed Object, which is said to be not convertable in the desired type, shows the right properties. Pretty strange to me. --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: Here is the stacktrace: TypeError: Error

[flexcoders] Re: ItemRenderer returns empty Object instead of encapsuled data - update

2008-08-19 Thread florian.salihovic
regards --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: Something i forgot to add: in the Debugger the passed Object, which is said to be not convertable in the desired type, shows the right properties. Pretty strange to me. --- In flexcoders

[flexcoders] Re: ItemRenderer returns empty Object instead of encapsuled data - update

2008-08-19 Thread florian.salihovic
Another wierd observation: when i set dragMoveEnabled=true from the source-list, i get the expected results. But i don't want it to be dragMoveEnabled. But at least i'm moving forward... --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: Update: Using

[flexcoders] Re: ItemRenderer returns empty Object instead of encapsuled data - update

2008-08-19 Thread florian.salihovic
object and not Objects? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of florian.salihovic Sent: Tuesday, August 19, 2008 2:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ItemRenderer returns empty Object instead

[flexcoders] Re: ItemRenderer returns empty Object instead of encapsuled data - update

2008-08-19 Thread florian.salihovic
they are [RemoteClass] or use registerClassAlias. You can always override the dragDrop handle and do your own intelligent copy. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of florian.salihovic Sent: Tuesday, August 19, 2008 3:18 PM

[flexcoders] Re: ItemRenderer returns empty Object instead of encapsuled data - update

2008-08-19 Thread florian.salihovic
= oldVO.prop2; dataProvider.addItemAt(newVO, index); } } } From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of florian.salihovic Sent: Tuesday, August

[flexcoders] Re: ItemRenderer returns empty Object instead of encapsuled data - update

2008-08-19 Thread florian.salihovic
, florian.salihovic [EMAIL PROTECTED] wrote: Thanx Alex, this helps me a lot! Best regards! --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: To copy yourself would look something like this myDragDropHandler(event:DragEvent):void

[flexcoders] ItemRenderer returns empty Object instead of encapsuled data.

2008-08-18 Thread florian.salihovic
I have two instances of mx:controls::List. Both use the same ItemRenderer. A TypeError occours, when i drop one item from one List into the other List. Instead of the encapsuled type (an instance of an interface, typed to the interface) just an empty Ombject instance is returned. I

[flexcoders] Backgroudimage in Datagrid row

2008-08-17 Thread florian.salihovic
Is there a chance to set a background image on a row of a datagrid? I'm searching now for quite a while but can't find any infos in that topic. Just setting the row's background-color. Best regards.

[flexcoders] Re: Error while Building Flex

2008-08-11 Thread florian.salihovic
I got the error message when had an empty switch() statement. Also i'd recommend not having the 2000 lines of XML in the app... --- In flexcoders@yahoogroups.com, litesh_b321 [EMAIL PROTECTED] wrote: hi , I m getting an error while building flex application Error Description An internal

[flexcoders] Flex won't create all Components

2008-08-11 Thread florian.salihovic
I have a little Application which uses states in different components (if it should matter to know). Most of my Panels i use, use a controlbar to place buttons. Currently, i can't figure out myself what's the problem but two compnents inherited from Panel seem to share a controlbar and the

[flexcoders] Re: Large XML /w E4X vs. serialized objects /w tree traversal

2008-08-03 Thread florian.salihovic
I would choose the class hierachy approach. Write your own classes for relationships, people etc. The pros of this approach: * You do not depend on a datasource: it does not matter where the data comes from ((different) XML sources, remoting [,...]). * You have strong typed objects and you

[flexcoders] Re: Large XML /w E4X vs. serialized objects /w tree traversal

2008-08-03 Thread florian.salihovic
, 8/3/08, florian.salihovic [EMAIL PROTECTED] wrote: From: florian.salihovic [EMAIL PROTECTED] Subject: [flexcoders] Re: Large XML /w E4X vs. serialized objects /w tree traversal To: flexcoders@yahoogroups.com Date: Sunday, August 3, 2008, 12:53 AM I

[flexcoders] TexInput#text temporarily null - when accessible

2008-07-23 Thread florian.salihovic
From the language reference: The text property can temporarily have the value null, which indicates that the htmlText has been recently set and the corresponding text value has not yet been determined. Actually i can wait for seconds an i'll get a null reference to the text property. How can

[flexcoders] Re: TexInput#text temporarily null - when accessible

2008-07-23 Thread florian.salihovic
Stupid me, i'm working with a TabNavigator which stores different views which off course might not be instanciated when calling them... Till next time. --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: From the language reference: The text property can

[flexcoders] Inline EventListener in MXML tags - confusing description in Developers guide.

2008-07-21 Thread florian.salihovic
Quoted from Adobe Flex Developers Guide, page 78 However, it is best practice to use the addEventListener() method. This method gives you greater control over the event by letting you configure the priority and capturing settings, and use event constants. In addition, if you use

[flexcoders] Re: Inline EventListener in MXML tags - confusing description in Developers guid

2008-07-21 Thread florian.salihovic
)); } ]] /mx:Script /mx:Application I was surprised that the FlexEvent.CREATION_COMPLETE can't be removed. This is quite shocking... Best regards. --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: Quoted from Adobe Flex Developers Guide, page 78 However

[flexcoders] Understanding DataGridColumn#sortCompareFunction with composite custom classes

2008-07-21 Thread florian.salihovic
I'm currently working with a custom classes which are composites. I display the needed data via custom ItemRenderer which extends the mx.controls.Text component. It works pretty nice and is pretty flexible. But i need to sort my data as well. After some researches i learned to implement a

[flexcoders] Working with tokens and additional configuration files via ant (and flextasks).

2008-06-30 Thread florian.salihovic
I currently use a combination of ant and flextasks to compile and test my appilcation. But to clean my Ant scripts up, i use configuration files. It works quite well, but i need to adress directories directly(/absolute). I haven't figured out yet how to pass tokens to the configuration

[flexcoders] Additional Configuration files part 2

2008-06-30 Thread florian.salihovic
After some editing it seemed i have to specify the compiler.library-path as well as the compiler.source-path targeting the sdks libs and sources in both, the default and the custom configuration file. I thought the custom configuration file would be used in addition to the default one,

[flexcoders] Re: Additional Configuration files part 2

2008-06-30 Thread florian.salihovic
I forgot to add the append attribute to set: library-path append=true / and source- path append=true / Problem solved. Thanx for reading ;) --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: After some editing it seemed i have to specify the compiler.library-path

[flexcoders] Re: Bidirection databinding with states

2008-03-14 Thread florian.salihovic
--- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: I'm trying to create a little application, which consists of multiple states and forms. When i try to establish a bidirectional databing connection between my model (a simple XMLListCollection) and my controls

[flexcoders] Bidirection databinding with states

2008-03-13 Thread florian.salihovic
I'm trying to create a little application, which consists of multiple states and forms. When i try to establish a bidirectional databing connection between my model (a simple XMLListCollection) and my controls, it simply won't work. So does anybody have some pointers for me how to initialize

[flexcoders] Re: ListCollectionView#removeAll wants to dispatch undefined

2007-12-01 Thread florian.salihovic
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of florian.salihovic Sent: Friday, November 30, 2007 12:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ListCollectionView#removeAll wants to dispatch undefined Thanx for the reply! So would it be alright from the perspective

[flexcoders] Re: ListCollectionView#removeAll wants to dispatch undefined

2007-11-30 Thread florian.salihovic
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of florian.salihovic Sent: Thursday, November 29, 2007 4:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ListCollectionView#removeAll wants to dispatch undefined Currently i write a lil' component to display

[flexcoders] Re: ListCollectionView#removeAll wants to dispatch undefined

2007-11-30 Thread florian.salihovic
part will not notice. Look at the default descriptor and see that it caches the AC instances per node/children set From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of florian.salihovic Sent: Thursday, November 29, 2007 4:27 PM

[flexcoders] ListCollectionView#removeAll wants to dispatch undefined

2007-11-29 Thread florian.salihovic
Currently i write a lil' component to display class hierachies. I wrote my own TreeDataDescriptor. SInce i work with my own class-, packages- and interface-descriptor classes to describe the structure, i encapsule some ArrayCollection. In order to display the structures in a tree, i need to

[flexcoders] flexTasks and asdoc

2007-11-25 Thread florian.salihovic
I'm just switched to ANT for building my flex projects and documentation but it seems like there are some things not working properly. When i run the html-wrapper, i don't get fullscreen default application container is usually get when compiling flex projects. Also when invoking asdoc via

[flexcoders] flexTasks and asdoc

2007-11-25 Thread florian.salihovic
I just switched to ANT to build my Flex projects, but there are some things that don't seem to work properly. * The generated swf and wrapper using flexTasks seem not to be full screen (window document). Is there any way to fix this? * The asdoc tag @see does not generate hyperlinks -

  1   2   >