Re: [flexcoders] AIR - including other files

2008-02-05 Thread Nils Millahn
Thanks Nick.

I thought it would cause a problem with 'src' being under version 
control - but FlexBuilder ignores Subversion's '.svn' properties when 
copying the folder, so it works a charm.

- Nils.



Nick Collins wrote:
 First, you need to have the files somewhere within your source 
 directory (well, it's easiest anyway). When you're building the 
 release version, once you've entered in your information for the 
 digital signing, click next instead of Finish. It will now give you a 
 list of files and directories to include/exclude. Now, not all files 
 can be included, but images and db files can. I tried including a swc, 
 but it wouldn't let me, so I had to change the extension, then use the 
 file API to have the application rename it back when I wanted to work 
 with it.

 On Feb 4, 2008 4:46 AM, Nils Millahn [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hi all,

 does anybody have information on how to include further files in
 an AIR
 package? I'd like to include a few image resources and a database
 file
 with the published AIR install but can't figure out how to tell
 the AIR
 compiler to do so.

 cheers - Nils.


 
 

 No virus found in this incoming message.
 Checked by AVG Free Edition. 
 Version: 7.5.516 / Virus Database: 269.19.19/1257 - Release Date: 03/02/2008 
 17:49
   



[flexcoders] AIR - including other files

2008-02-04 Thread Nils Millahn
Hi all,

does anybody have information on how to include further files in an AIR 
package? I'd like to include a few image resources and a database file 
with the published AIR install but can't figure out how to tell the AIR 
compiler to do so.

cheers - Nils.


[flexcoders] ViewStack - auto-remove child instances?

2008-01-31 Thread Nils Millahn
Hi there,

is there an option for ViewStacks similar to creationPolicy='auto' that 
removes instances from memory again when the user navigates away from 
that particular page?

Thanks - Nils.


[flexcoders] Flex3 MenuBar selects on rollover

2008-01-22 Thread Nils Millahn
Hi everybody,

I'm using a mx:MenuBar component in Flex 3 without any submenus - just 
top-level menu entries. The problem is that once you've selected a menu 
item (by clicking on it), the selection changes even when you only 
rollover with the mouse.

eg:

Item AItem BItem C

- click Item A to select
- rollover Item B - it becomes the currently selected menu item (without 
clicking!)

You can replicate with this simple line:

mx:MenuBar dataProvider=['Item 1','Item 2']/

Is this expected behaviour (and, if so, how can I turn it off so you 
have to click in order to change the selection) or a bug?

Thanks - Nils.


Re: [flexcoders] Preserving whitespace in XML nodes

2008-01-22 Thread Nils Millahn
Have you tried using a CDATA around them?

- Nils.


Dave Glasser wrote:
 I've tried using the static XML.ignoreWhitespace property to solve this
 problem. Not only does it not work, but I don't want the setting applied
 globally. When I run this code:

var x:XML = myXML/;
x.a =a;
x.b =b;
x.c =c;
trace(x= + x.toXMLString());

 The output is:

 x=myXML
   aa/a
   bb/b
   cc/c
 /myXML


 Can anyone tell me how to preserve the leading and trailing whitespace in
 the elements a, b and c?








 --
 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





   



[flexcoders] Cairngorm event types

2007-12-13 Thread Nils Millahn
Hi everybody,

I've started using Cairngorm on a couple of projects and wondered where 
people generally define their event type identifiers.

The FrontController/EventDispatcher setup requires unique event names 
across the application, which is hard to control on large projects with 
multiple developers (or when further development is done at a later stage).

So I'm thinking that it would be easier to define event names as 'static 
const' in a single class 'CairngormEventNames, which in turn could be 
used in the specific event classes. A bit cumbersome but easier than 
going through each event class and checking that event names don't overlap.

What is everybody else doing in this respect?

cheers - Nils.



Re: [flexcoders] Cairngorm event types

2007-12-13 Thread Nils Millahn
Hi Ralf,

nice idea, thanks!

- Nils.

Ralf Bokelberg wrote:
 You can use full qualified event names to avoid name clashes, eg.

 package de.bokelberg.bigproject.myview
 {
   class UpdateEvent extends Event
   {
  public static const EVENT_ID : String =
 de.bokelberg.bigproject.myview.Update;
  //...
   }
 }

 Cheers
 Ralf.

 On Dec 13, 2007 2:22 PM, Nils Millahn [EMAIL PROTECTED] wrote:
   




 Hi everybody,

  I've started using Cairngorm on a couple of projects and wondered where
  people generally define their event type identifiers.

  The FrontController/EventDispatcher setup requires unique event names
  across the application, which is hard to control on large projects with
  multiple developers (or when further development is done at a later stage).

  So I'm thinking that it would be easier to define event names as 'static
  const' in a single class 'CairngormEventNames, which in turn could be
  used in the specific event classes. A bit cumbersome but easier than
  going through each event class and checking that event names don't overlap.

  What is everybody else doing in this respect?

  cheers - Nils.

  
 


 --
 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