Re: [flexcoders] wmode=transparent : any limitations to expect ?

2007-04-29 Thread Oliver Lietz
Am Freitag, 27. April 2007 schrieb ecpmaz:
 I'm starting a big project relying on a transparent flex application
 (with some HTML stuff underneath)... and I was wondering wetherr I
 should expect bugs/limitations of the flash player in this mode??

 I saw for instance that the mouse wheel is disabled ?
 Have you encountered any other bug ?

You cannot enter @-sign with keyboard (at least German layout, AltGr + Q = @) 
when using Firefox on Windows.

O.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] Flex + Struts

2007-01-06 Thread Oliver Lietz
Am Donnerstag, 4. Januar 2007 19:28 schrieb Dimitrios Gianninas:
 Note: I am no struts expert.

 1) Download FDS express and install on your PC. Extract the flex.war and
 then take everything in the web.xml and it to your own. Then take
 everything in WEB-INF/lib and WEB-INF/flex and add it your app. Create a
 simple helloworld.mxml and try to see if it work via your browser. If it
 does then everything is working.

You don't need everything when compiling SWFs local. Here are my settings for 
FDS/Remoting with already compiled SWFs (no AS and MXML files on the server):

webx.xml:
[...]
context-param
param-nameflex.class.path/param-name
param-value/WEB-INF/lib/param-value
/context-param

listener
listener-classflex.messaging.HttpFlexSession/listener-class
/listener

servlet
servlet-nameMessageBrokerServlet/servlet-name
servlet-classflex.messaging.MessageBrokerServlet/servlet-class
init-param
param-nameservices.configuration.file/param-name
param-value/WEB-INF/flex/services-config.xml/param-value
   /init-param
init-param
param-nameflex.write.path/param-name
param-value/WEB-INF/flex/param-value
/init-param
load-on-startup1/load-on-startup
/servlet

servlet-mapping
servlet-nameMessageBrokerServlet/servlet-name
url-pattern/messagebroker/*/url-pattern
/servlet-mapping
[...]

pom.xml:
[...]
!-- flex --
dependency
groupIdflex/groupId
artifactIdflex-messaging/artifactId
version2.0/version
/dependency
dependency
groupIdflex/groupId
artifactIdflex-messaging-common/artifactId
version2.0/version
/dependency
dependency
groupIdflex/groupId
artifactIdflex-messaging-opt/artifactId
version2.0/version
/dependency
dependency
groupIdflex/groupId
artifactIdflex-messaging-req/artifactId
version2.0/version
/dependency

!-- flex commons --
dependency
groupIdcommons-codec/groupId
artifactIdcommons-codec/artifactId
version1.3/version
/dependency
dependency
groupIdcommons-httpclient/groupId
artifactIdcommons-httpclient/artifactId
version3.0.1/version
/dependency
dependency
groupIdcommons-logging/groupId
artifactIdcommons-logging/artifactId
version1.0.4/version
/dependency

!-- flex concurrent --
dependency
groupIdbackport-util-concurrent/groupId
artifactIdbackport-util-concurrent/artifactId
version2.2/version
/dependency
dependency
groupIdconcurrent/groupId
artifactIdconcurrent/artifactId
version1.3.4/version
/dependency

!-- flex jta --
dependency
groupIdjotm/groupId
artifactIdjotm/artifactId
version2.0.10/version
/dependency
[...]

Put the Flex jars in your local Maven2 repository. If you don't use m2 copy 
the jars to WEB-INF/lib. JOTM is for use with Tomcat (servers without 
build-in transaction support).

O.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] Question on design patterns

2006-12-21 Thread Oliver Lietz
Am Donnerstag, 21. Dezember 2006 19:54 schrieb farmetha:
 I have built several flex applications since its initial release and
 these apps have been very large and complicated.  They usually consist
 of components within components within components, etc.  I am sure
 everyone  else has done the same.  I have a couple of questions about
 design patterns, I think I already know my answer, however I am
 curious about everyone's opinion.

 1) Should I put HTTPServices into components and pass urls to the
 components (allowing them to handle posting data and handling the
 result) or
 2) Should I put all of my HTTPServices on the application level (i.e.
 the primary controller) and use data binding and events to communicate
 with the components.
 3) Is there a better way to handle this, especially when your
 component heirarchy gets deep?

You can use multiple controllers and models and group them in a main 
application.

com.example.customers.control.CustomersController
com.example.customers.model.CustomersModel

com.example.products.control.ProductsController
com.example.products.model.ProductsModel

com.example.main.Application
com.example.main.model.ApplicationModel
com.example.main.model.PresentationModel

O.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] Question on design patterns

2006-12-21 Thread Oliver Lietz
Am Donnerstag, 21. Dezember 2006 20:51 schrieb Dimitrios Gianninas:
 Search the list of the internet for Cairngorm thats the best answer :)

Don't think so. 8)

O.




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] Re: An architectural blueprint for Flex applications

2006-12-20 Thread Oliver Lietz
Am Dienstag, 19. Dezember 2006 15:18 schrieb Paul Andrews:
[...]
 Yes, but Advanced ActionScript 3 with Design Patterns by Joey Lott is
 pretty darn good..

 http://www.amazon.com/Advanced-ActionScript-3-Design-Patterns/dp/0321426568
/sr=8-1/qid=1166537570/ref=sr_1_1/103-0521517-8384642?ie=UTF8s=books

Looks like there are sample chapters available on labs.adobe.com:

http://labs.adobe.com/technologies/digitaleditions/library/

But no access from Mac OS or FreeBSD - Windows only.

O.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] SequenceCommands ... is there a point to their existence?

2006-12-20 Thread Oliver Lietz
Am Dienstag, 19. Dezember 2006 22:39 schrieb thegiffman:
[...]
 Could someone set me straight here?

You can create commands (and delegates and services) which dispatch success 
and failure events. This gives you a very flexible mechanism to chain 
commands (or even execute them in parallel) or operations in your 
delegates/services and decouples your commands from the mx.rpc.* stuff. I did 
that in my framework and it works fine for web (remoting) and desktop 
(wrapped/with filesystem access) applications.

O.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] Spring / FDS Integration :: How to assign fill-method and asyn-method when use SpringFactory?

2006-12-20 Thread Oliver Lietz
Am Montag, 11. Dezember 2006 18:37 schrieb Carlos Rovira:
 Hi,

 This one is for Jeff Vroom since he is the one that create the
 SpringFactory. I download this one from the Christophe Coenraets article
 at:


 http://coenraets.org/flex-spring

 I creating a FDS application that uses JPA / EJB3 persistence. Now that all
 is working I want to use Spring since is a client's requeriment. The
 problem is that I can't set the fill, syn methods in my
 data-management-config.xml. In the following destination:

Hi Carlos,

same here. Any progress on this? Haven't found any useful information in the 
docs so far but will dig deeper into this. FlexConfigurable and ConfigMap 
look promising.

O.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[flexcoders] FDS without identity property?

2006-12-20 Thread Oliver Lietz
Hi List,

is there a way to use FDS without the identity property? Objects have an 
identity in the VM and I want to use that identity - not an artifical one.
Is FDS unable to send back the same object (in a delete or update operation) 
which it receives from my Java backend?

tia,
O.





[flexcoders] [Flex] Internal Error: unable to find connection to remove.

2006-12-20 Thread Oliver Lietz
Hello List,

I'm getting this error when stopping (Ctrl+C) a running FDS/Spring application 
in jetty (maven2 plugin, v6.0.2) on Mac OS. Nearly every time I have to kill 
(-9) the hanging java process. Any comments?

tia,
O.





Re: [flexcoders] Flex and Maven2 managed project

2006-12-19 Thread Oliver Lietz
Am Montag, 18. Dezember 2006 08:19 schrieb Aldo Bucchi:
 Yeah Maven!,

 I'm a little surprised on the apparent low interest in the flex-maven
 front.

I'm not surprised ;). Most people will start with a shiny frontend which sells 
the application. Project (build/change/livecycle) management is not as sexy 
as eye candy for most of them.

 I am also flirting with the idea of building a plugin, but not 
 yet... not yet... tomorrow perhaps

:), same here

 I would really like to hear about Adobe's plans with respect to Maven.
 It would be a very good way to make things easier for new developers (
 by leveraging something that's already built for you ) and to make
 things more attractive to veterans.
 Really, maven is one of those little toys I really really love.

 My wishlist on this one ( thinking java here ):

 * mavenized standardization of folder structures for flex applications
 ( all flavors: standalone, fds, etc )
 ** src/main/flex, src/test/flex?

Did that already for my projects without integrating testing. Works fine - 
same layout (SVN+MVN) for Flex and Java projects.

 * maven plugins:
 ** flexunit ( or asunit )
 ** mxmlc
 ** asdoc
 *** including complex features (eg. auto compile and deploy examples)
 * definitions and workflow for continuous integration deployoment (
 cruise control and continuum hopefully )

 and then some extra would-be-nice-to-have plugins:
 * auto generate fds stubs/skeletons ( vos, assemblers, dataproviders,
 dataservices, etc ) for hibernate, JDO, other ORMs
 * springified fds
 ...?

Nice, indeed. I hope someone at Adobe is already working on Mavenization of 
Flex.

O.








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] Re: An architectural blueprint for Flex applications

2006-12-19 Thread Oliver Lietz
Am Dienstag, 19. Dezember 2006 09:53 schrieb devisbalsemin:
 yes we looked Cairngorm, but we think Cairngorm framework is an
 alternative (good)...
 We are not searching a fremework... but Flex Design Pattern for
 implement An architectural..
 Thanks for your rply...

There are no Flex Design Patterns but Design Patterns. Design Patterns are 
language independent.

Search for MVP, MVC, Application/Presenter Model and Event-based programming.
Most examples are for Smalltalk and Java, but you can adapt them for AS/MXML.

You will find a lot of useful information and links on this two pages:
http://www.martinfowler.com/articles/enterprisePatterns.html
http://java.sun.com/blueprints/corej2eepatterns/Patterns/

O.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] scheduled functions

2006-12-19 Thread Oliver Lietz
Am Montag, 18. Dezember 2006 22:00 schrieb Gordon Smith:
 You could do this using the Timer class in the flash.utils package. I'd
 create a Timer that fires once a minute, determines the clock time, and
 checks to see if there are any alarms to display.

Gordon,

I do something similar in my model to set (create) the current time for a 
desktop application. The application displays a running clock.
Below are the relevant snippets from my model class:

[...]
private var timer:Timer = new Timer(100, 0);

public var now:Date = new Date();
[...]
timer.addEventListener(timer, timerHandler);
timer.start();
[...]
private function timerHandler(timerEvent:TimerEvent):void {
now = new Date();
}

On Mac OS X the clock is always one second *ahead* (compared to the displayed 
time in the system panel under date/time). Is there a better way?

tia,
O.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] Flex and Maven2 managed project

2006-12-15 Thread Oliver Lietz
Am Donnerstag, 14. Dezember 2006 21:11 schrieb Thijs Triemstra:
 Hi Oliver,

 I'm very interested in a Maven 2 plugin for Flex, I have played with
 Maven but don't exactly know what needs to happen for a plugin, is
 there any scripting involved or is it more a config of xml files thing?

Hi Thijs,

you have to write a MOJO (Maven plain Old Java Object) in Java:
http://maven.apache.org/guides/plugin/guide-java-plugin-development.html

Maybe looking at the source of some other plugins is a good starting point:
http://mojo.codehaus.org/

I have the Maven plugin on my list but before that I have to integrate FDS in 
my framework.

btw, a dependency got lost when cp from my pom.xml:

dependency
groupIdflex/groupId
artifactIdflex-bootstrap/artifactId
version2.0/version
/dependency

O.







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[flexcoders] Flex and Maven2 managed project

2006-12-14 Thread Oliver Lietz
Hello List,

I've stripped the WEB-INF directory of my Flex/Spring project down to this:

applicationContext.xml
web.xml
./classes
commons-logging.properties
log4j.properties
./flex
data-management-config.xml
license.properties
messaging-config.xml
proxy-config.xml
remoting-config.xml
services-config.xml

The project's pom.xml contains the following Flex dependencies:

dependencies

[...]

!-- flex --
dependency
groupIdflex/groupId
artifactIdflex-messaging/artifactId
version2.0/version
/dependency
dependency
groupIdflex/groupId
artifactIdflex-messaging-common/artifactId
version2.0/version
/dependency
dependency
groupIdflex/groupId
artifactIdflex-messaging-opt/artifactId
version2.0/version
/dependency
dependency
groupIdflex/groupId
artifactIdflex-messaging-req/artifactId
version2.0/version
/dependency

!-- flex commons --
dependency
groupIdcommons-codec/groupId
artifactIdcommons-codec/artifactId
version1.3/version
/dependency
dependency
groupIdcommons-httpclient/groupId
artifactIdcommons-httpclient/artifactId
version3.0.1/version
/dependency
dependency
groupIdcommons-logging/groupId
artifactIdcommons-logging/artifactId
version1.0.4/version
/dependency

!-- flex concurrent --
dependency
groupIdbackport-util-concurrent/groupId
artifactIdbackport-util-concurrent/artifactId
version2.2/version
/dependency
dependency
groupIdconcurrent/groupId
artifactIdconcurrent/artifactId
version1.3.4/version
/dependency

/dependencies

This works fine with compiled swfs and remoting so far. The Flex jars are on 
my local repository. I would like to see a mavenized version of Flex and an 
official Maven2 repository (filed a wish on that).

Any comments on this?

Is there any progress made on a mxmlc/compc plugin for Maven2?

O.










[flexcoders] XMLList/XMLListCollection: sort on attributes

2006-12-04 Thread Oliver Lietz
Hello List,

is there a way to sort a XMLList/XMLListCollection on their items attributes?
What has to be done to sort the sample myData from Using the 
XMLListCollection class [1] on the category name?
Or is it possible to sort when making an E4X query?

tia,
O.

[1] 
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0513.html#403970








Re: [flexcoders] DateFormatter adds one hour to output

2006-11-26 Thread Oliver Lietz
Am Freitag, 24. November 2006 02:23 schrieb Kevin Merritt:
 No bug. Your problems is right here:
  timeFormatter.formatString = HH:NN:SS;

 change this to:

 timeFormatter.formatString = JJ:NN:SS;

 H - displays hours as 1 - 24
 J - displays hours as 0 - 23 (which is how most of us understand 24
 hr time.)

 This tripped me up as well on a recent project that I had to sync
 time code with a TV satellite truck.  It drove me crazy and I thought
 it was a bug as well.  What screwed me up is that I expected the
 pattern letters to be the same as PHP, but in some cases they differ.

 Hope that helps.

 - Kevin

OMG - thanks a lot Kevin, that solved my problem.

O.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] DateFormatter adds one hour to output

2006-11-26 Thread Oliver Lietz
Am Donnerstag, 23. November 2006 17:24 schrieb Tom Chiverton:
 On Thursday 23 November 2006 12:27, Oliver Lietz wrote:
  Is this desired behavior? Looks like a bug to me.

 Your timezone is +1, so I'd expect a 1h difference between locale time and
 UTC time.

Tom,

it was 13:26:20 (CET) on my Mac.

nowString: Thu Nov 23 13:26:20 GMT+0100 2006
looks good, matches my locale time.

utcString: Thu Nov 23 12:26:20 2006 UTC
looks good, matches UTC/GMT (CET-0100)

fromDate: 14:26:20
fromString: 14:26:20
fromLocaleString: 14:26:20
fromUTCString: 13:26:20

but these look bad. Why is the _Formatter_ adding one hour? The used method is 
format and not convert or addOneHourAndFormat.

Remember, output of first two is from simple toString()/toUTCString() and time 
looks fine - but output from Formatter is plus one hour. IMHO it's a problem 
with DateFormatter not Date or my timezone.

thanks,
O.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[flexcoders] DateFormatter adds one hour to output

2006-11-23 Thread Oliver Lietz
Hi List,

the DateFormatter adds one hour to my time output in GMT+0100 (Germany).
Is this desired behavior? Looks like a bug to me.

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
creationComplete=onCreationComplete()

mx:Script
![CDATA[
import mx.formatters.DateFormatter;

private var now:Date = new Date();
private var timeFormatter:DateFormatter = new DateFormatter();

private function onCreationComplete():void {
timeFormatter.formatString = HH:NN:SS;

nowString.text = nowString:  + now.toString();
utcString.text = utcString:  + now.toUTCString();
fromDate.text = fromDate:  + timeFormatter.format(now);
fromString.text = fromString:  + 
timeFormatter.format(now.toString());
fromLocaleString.text = fromLocaleString:  + 
timeFormatter.format(now.toLocaleString());
fromUTCString.text = fromUTCString:  + 
timeFormatter.format(now.toUTCString());
}

]]
/mx:Script

mx:VBox
mx:Label id=nowString selectable=true/
mx:Label id=utcString selectable=true/
mx:Label id=fromDate selectable=true/
mx:Label id=fromString selectable=true/
mx:Label id=fromLocaleString selectable=true/
mx:Label id=fromUTCString selectable=true/
/mx:VBox

/mx:Application


output:

nowString: Thu Nov 23 13:26:20 GMT+0100 2006
utcString: Thu Nov 23 12:26:20 2006 UTC
fromDate: 14:26:20
fromString: 14:26:20
fromLocaleString: 14:26:20
fromUTCString: 13:26:20


tia,
O.





Subversive [Re: [flexcoders] Re: Eclipse errors with fb-plugin debugging perspective]

2006-11-23 Thread Oliver Lietz
Am Donnerstag, 23. November 2006 02:02 schrieb Ralph Hauwert:
 Hi Mike,

 clear! I've been having more 3.2 compatibility problems, but with the
 1.5release of FDT I decided to switch. Clearly I didn't think about
 the FB
 plugin.
 the next fb point release is now 2nd on my list of wanted-plugin-updates
 just behind subclipse. (Which still doesn't seem to support the latest
 subversion).

Hi Ralph,

Subversive is IMHO the better Eclipse plug-in for Subversion:
http://www.polarion.org/index.php?page=overviewproject=subversive
http://www.eclipse.org/proposals/subversive/

Requirements for Subversive 1.1.x versions:
Eclipse 3.2; Subversion versions 1.1, 1.2, 1.3 or 1.4

AFAIR you need to deinstall subclipse befor installing subversive to not mess 
up your Eclipse config.

O.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



Re: [flexcoders] Programmatic Tabskin / CSS

2006-11-17 Thread Oliver Lietz
Am Donnerstag, 16. November 2006 22:02 schrieb zzwi89:
 Hello,

 I am using programattic skinning for some tabs in a TabBar. Rather
 than write a class for the selected tab, one for the deselected tab,
 etc.., I would like to use the same tab class but change CSS styles to
 alter the style.

 In my CSS file, rather than specify tab styles like this:

 disabledSkin: ClassReference(...);

 I would rather specify

 disabledSkin: styleName

 .styleName
 {
  disabledSkin: ClassReference(...);
  attribute1: value;
  attribute2: value;
 }

 Unforunately, I do not know of a way to do this? Do you?

Look at ButtonSkin.as, I think they use the switch(name)-statement to 
accomplish this:

---
[...]
switch (name)
{   
case selectedUpSkin:
case selectedOverSkin:
{
[...]
}

case upSkin:
{
[...]
}

case overSkin:
{
[...]
}

case downSkin:
case selectedDownSkin:
{
[...]
}

case disabledSkin:
case selectedDisabledSkin:
{
[...]
}
}
[...]
---


O.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/