[flexcoders] Camera.getCamera(name:String) does not work and crashes the player

2006-07-12 Thread m88e24
Player version r15 (installed by the Flex builder install) Flex 2 final Win XP Pro SP2 (up to date) I may have multiple cameras connected to my PC and want to select the camera to use. I show a list of available cameras and uses the name to get a Camera instance. This always returned null. So I

[flexcoders] Incomplete Java API docs

2006-07-21 Thread m88e24
The Java API doc which is included in the Flex2 final release is incomplete and doesn't reflect the actual class library packaged in the jar files. For example the MessageBroker and MessageClient is missing from the Java API docs. Furthermore the information contained in the Java API doc is

[flexcoders] routeMessageToService and routeMessageToClient

2006-07-21 Thread m88e24
The selector attribute of the Consumer class allows messages to be filtered based on information in the header of the message. The downside is that a message is always delivered to all clients which is inefficient and is also a potential security hazard. I just want to deliver a message to a

[flexcoders] Thread synchronization and async messages

2006-07-21 Thread m88e24
I don't know how the Flash player operates but I can imagine that it is multithreaded. When using FDS for delivering async messages to the client it is imperative that access to local functions or collections can be synchronized in some way. Let's say I'm iterating over the values in a collection

[flexcoders] TypeError when using removedEffect on custom component within Repeater

2006-07-24 Thread m88e24
Flex 2 Player r15 (debug version installed by builder) A repeater is bound to an ArrayCollection. The ArrayCollection is dynamically updated. Objects are added and removed at runtime. This works satisfactory. Now I want the removal of an object to trigger an effect which is much nicer than just

[flexcoders] Using filters on text removes antialiasing

2006-07-26 Thread m88e24
Flex 2 final Player r15 When using a filter like a GlowEffect on a Text element, antialiasing seems to be cancelled. When the filter is not defined then the font looks smooth with antialiasing as normal. I use embedded fonts! mx:Text text=SNS 1 fontWeight=bold color=white

[flexcoders] Time calculation oddity

2006-08-30 Thread m88e24
The following code should result in a time of 0ms var d1:Date = new Date(); var d2:Date = d1; var result:Date = new Date(); result.time = d2.valueOf() - d1.valueOf(); The odd thing is that there is a 1 hour difference. The

[flexcoders] HttpFlexSession has not been registered as a listener

2006-07-10 Thread m88e24
Flex version: 2 finalI'm receiving this message in the Flex server console:[Flex] [WARN] HttpFlexSession has not been registered as a listener in web.xml for this application so no events will be dispatched to FlexSessionAttributeListeners or FlexSessionBindingListeners. To correct this,

[flexcoders] Is there a way of asking a component if it is currently active

2007-12-11 Thread m88e24
I want to ask some object what the currently active component is. By active I mean that the component is visible and not obscured by any other components and is currently the one the user is interfacing with. For example a TabNavigator contains several children, each child contains a number

[flexcoders] Re: ActionScript, Number and null values... how to?

2007-12-19 Thread m88e24
Write a setter which accepts an argument of type Object and convert to Number of NaN. De getter returns a Number type. Brgds, Eduard --- In flexcoders@yahoogroups.com, Cosma [EMAIL PROTECTED] wrote: Hi I just learned that the Number, int and uint data types in ActionScript cannot hold a

[flexcoders] Flex Builder 3 matching identifier highlighting

2008-02-06 Thread m88e24
Probably posted by someone but I can't seem to find it using the keywords I use. But does anyone know how to disable the highlighting of matching identifiers. You know when you cursor is positioned on a piece of code, all occurences of that code are highlighted. Sort of automatic search. I

[flexcoders] AIR and LCDS, Channel.Connect.Failed error

2008-02-13 Thread m88e24
The project I'm working on is using Flex 3 (latest beta) and LCDS 2.5.1 running under Tomcat 6.x. The service consists of a Java class and is correctly defined in the remoting-config.xml All things work as they should. Now I want to move the project to a AIR application. I know how to setup

[flexcoders] Re: AIR and LCDS, Channel.Connect.Failed error

2008-02-14 Thread m88e24
: AFAIK, an AIR application doesn't have a domain context the way a Flex app would. You need to specify the endpoint for your channels in an AIR application. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of m88e24 Sent

Re: [flexcoders] Eclipse Crashes in Flex Development perspective

2008-02-14 Thread m88e24
Please post the contents of your eclipse.ini file en tell us what the available RAM memory on your system is and what OS you are running. Also tell us which JVM you are running. Java provides a statistics monitoring tool so you can watch the memory usage, it is called jstat. Brgds, Eduard

[flexcoders] Re: How can I add Sprite / MovieClip to stage without error of not IUIComponent?

2008-03-05 Thread m88e24
Regarding Flex 3, addChild with a Sprite instance as argument does not work in contrast to what the Flex 3 documentation tells us. One of the examples taken from the Flex 3 language reference: public function SpriteExample() { var child:Sprite = new Sprite();

[flexcoders] Re: Refactoring with Flex Builder 3

2008-03-06 Thread m88e24
I have the same experience and stopped using it. Refactoring goes a lot further then the simple renaming support Flex Builder 3 is providing. For people like me who are accustomed to sophisticated refactoring support available in the Java Eclipse environment, this so called refactoring support is

[flexcoders] Re: How to keep a text font smooth when rotated

2008-04-06 Thread m88e24
Use embedded fonts or embed the font you use. Although this does not guarantee absolute pixel perfection. Try different font-grid-fit-type setting see if it differs much in rotated position. Brgds, Eduard --- In flexcoders@yahoogroups.com, Mario Falomir [EMAIL PROTECTED] wrote: Hi, Im