Try this:
var groupsNode:XML = xmlData.data.(@key == groups)[0];
groupsNode.insertChildAfter(groupsNode.group.(@name == Address),
group name=generic/);
The ArrayCollection will dispatch a CollectionEvent (with
CollectionEventKind.REPLACE) in either case, it will not check to see if that
is the same object, whether with the same reference or with the same values.
On Monday 28 Sep 2009, reflexactions wrote:
We do a single build of the modules and run them in both the web and AIR
version.
*Right*, which is a good way to do it.
But why not just bake the modules into the app, rather than load them at
runtime... ?
--
Helping to proactively unleash
Thanks for the reply.
Well firstly we would need to redesign the app to even get the modules merged
in, as AFAIK FB only merges things that are referenced, since we dont have any
references to the modules from the application we would need to change the app
to make dummy references. The
Brilliant support!
I did hope to do it like this, by instantiating an instance of my
previous main document class within ![CDATA[ tags but that didn't work
I will try these out in the next couple of days.
I also downloaded the AIR help file you pointed me to.
Thank you.
John
Michael wrote:
I'm trying to create a dotted line around a component instance when it
has focus. I've roughly got it to show the dotted line above and below
the component instance but I don't know enough about the graphics
class to get it to work.
I'm extending the HaloFocusRect as shown here:
I have collapsing/expanding item renderers in a List, all works well, but there
is a case where the scrolling doesn't work correctly?
Is there a way to force the list to measure all of it's item renderers
correctly please?
Thanks,
Patrick
Hi All,
I am trying to add an image object which I downloaded using the Loader() class
to a VBox as a child. But I am getting the following error
ArgumentError: Error #2150: An object cannot be added as a child to one of it's
children (or children's children, etc.).
Please let me know how to
Hmm...
OK, thanks Alex, I'll look into it some more.
Thanks for the reply.
Sefi
On Wed, Sep 30, 2009 at 7:48 PM, Alex Harui aha...@adobe.com wrote:
If you don’t have a way to serialize all of your data types you won’t be
able to restore them later. You’ll need to registerClassAlias for
Doesn't work.
This works.
var groupsNode:XML = xmlData.data.(@key == groups)[0];
groupsNode.insertChildBefore(groupsNode.group[0],
group name=generic/);
Also WATCHOUT. For some reason putting in a break point and then trying
different xml expressions in the expressions window
For me it works either way, anyhow, the point is that you must call
insertChildBefore method on the node which you want to attach a child to , but
not on the root node of the xml if the target node is down the xml hierarchy.
Hello,
I want that my text input accept only 2 characters maximum from A to Z.
How to specify it in my code ?
Thank you,
Christophe,
Hello,
I am searching for a cursor that looks like the earth rotating.
Does somebody has such a resource in Action Script ?
Thank you,
Christophe,
Do you mean ADD or REPLACE another group?
--
Pavel.
var ti:TextInput = new TextInput();
ti.maxChars = 2;
ti.restrict = A-Z;
mx:TextInput maxChars=2 restrict=A-Z /
Does anyone know of a resource that specifies the best way to structure a very
large Flex project? Our current Flex 3 project is comprised of 30 separate
flex projects that each represent a 'display' within the overall application.
So there's the main app project which is pretty small. It has
I've been looking into the runtime css stuff. Given the build complications,
it may be overkill for my requirements, which may not be much more than a
different background colour and logo, based on a flashvar value. But I'm
curious how people organize things.
For example, if you embed a logo
Couple of quick thoughts
1) Up the Eclipse/FB memory (Google for instructions)
2) Look into flex-mojos for maven-based builds
3) If you're sharing code you *are* going to need library projects as you
describe, and in my experience a bunch of projects does slow down FB
considerably.
On Thu, Oct
In a flex datagrid, by default clicking on column headers does sorting. I want
it such that if a user clicks a column header the entire column is selected. I
have the datagrid listening for the HEADER_RELEASE event so I know when the
column header is clicked.
How can I have the column and
Although this is not specific for laying out large-scale Flex project
resources, its a great two-part article about flex best practices from Adobe
Developer Connection authored by Seen Moore:
http://www.adobe.com/devnet/flex/articles/best_practices_pt1.html
Try setting the column's backgroundColor style
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 Felino
Sent: Thursday, October 01, 2009 10:08 AM
To:
Remember that renderers are recycled so the size of the renderer must be
determined from the .data property, it can't just be stored in the renderer
instance.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From:
I have not seen anything but, if it was me, I would probably purchase a Flash
component (Like
http://www.flashcomponents.net/component/spinning_earth_globe_with_controlled_speed.html),
modify it in Flash CS3, export as a SWF and then use that SWF
Thank you.
To stop views from updating if an object with the same values was set, how
would I intercept the events that get fired and cancel them? Would I play
with the bubbling values?
Cheers,
Baz
On Wed, Sep 30, 2009 at 11:20 PM, mrcaraion mrcara...@yahoo.com wrote:
The ArrayCollection
We're already using 1GB of RAM for Eclipse. I can't specify more or Eclipse
won't even start. My current eclipse.ini looks like this:
-showsplash
-nl
en_US
-clean
-framework
plugins\org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
-vm
C:\Program Files (x86)\Java\jdk1.6.0_14\bin\javaw.exe
-vmargs
Is there a way to increase the debug window buffer size?
My program spits out tons of trace statements, and by the time I stop it, the
important info has scrolled off the screen into the bit bucket . . .
thanks,
Right-click within the console window and select preferences. Uncheck the box
for Limit console output to totally remove the limit, or put a really large
value in the Console buffer size field.
--- In flexcoders@yahoogroups.com, luvfotography ygro...@... wrote:
Is there a way to increase the
Sadly, we're already doing most of these, so no help there, but thanks for the
links.
--- In flexcoders@yahoogroups.com, mrcaraion mrcara...@... wrote:
Although this is not specific for laying out large-scale Flex project
resources, its a great two-part article about flex best practices from
AWESOME!!! thanks,
--- In flexcoders@yahoogroups.com, gtb104 gtb...@... wrote:
Right-click within the console window and select preferences. Uncheck the
box for Limit console output to totally remove the limit, or put a really
large value in the Console buffer size field.
--- In
Thanks. I was able to do as you suggest the function is like
private function selectColumnAt(columnIndex:int):void
{
if (columnIndex 0)
{
if (_selectedColumnIndex != columnIndex)
{
deselectColumns();
var selectedColumn:DataGridColumn
I think a solution will be to extend the ArrayCollection and to override
setItemAt() method (and other methods if needed) and to prevent the call of
super.setItemAt() if the reference of passed item is equal to the existing item
at the given position, something like:
override public function
Oh excellent, I can do that :)
Thanks a lot for your advice!
On Thu, Oct 1, 2009 at 1:54 PM, mrcaraion mrcara...@yahoo.com wrote:
I think a solution will be to extend the ArrayCollection and to override
setItemAt() method (and other methods if needed) and to prevent the call of
Glad I could help.
Popups are actually children of the system manager not the application. :) So
make sure you are listening in the right spot.
--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:
hi Vito,
Thanks a lot. This surely does work. The reason why my
Anyone know how to get each individual line of text in a textarea or text??
For example if you have
some block of text
like this is there a
way to get each individual line??
There is the getTextLineMetirics which tells you the dimensions, but I guess
that's it??
Have you looked at the TextField methods?
Regards,
Keith Reinfeld
Home Page: http://keithreinfeld.home.comcast.net/
http://keithreinfeld.home.comcast.net
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of cuttenv
Sent: Thursday, October 01, 2009 5:47 PM
--- In flexcoders@yahoogroups.com, droponrcll amyblankens...@... wrote:
--- In flexcoders@yahoogroups.com, markdemich demi@ wrote:
A lot of my customer base still uses Flash 9. Was trying to determine that
if Flash 10 was loaded I would conditionally provide a feature in my app to
Hi All,
i have an ArrayCollection from remote object for the mx:List, now i need
to add a flag(selected) to each item, what's the fastest way to do it?
because the returned list is very long, so the performance is a concern.
each returned item object is:
ListItemObject
{
label:String;
If you add a transient property to the ListItemObject class (VO), it can
be used by the UI, but not affect the RemoteObject mapping:
[Transient]public var selected:Boolean;
-TH
--- In flexcoders@yahoogroups.com, coder3 rrhu...@... wrote:
Hi All,
i have an ArrayCollection from remote object
--- In flexcoders@yahoogroups.com, Felino p...@... wrote:
Thanks. I was able to do as you suggest the function is like
private function selectColumnAt(columnIndex:int):void
{
if (columnIndex 0)
{
if (_selectedColumnIndex != columnIndex)
{
Just wondering if anyone knows a way to modify the DateChooser calendar that
pops up. I looked through the file but didn't see any reference to any kind of
factory or renderer that would accept a new calendar. If not, anyone have any
other potential solutions?
Thanks.
What type of modifications do you want?
There is some localization customization of the DateChooser, with
monthNames, monthSymbol, and I think a few other properties. I think
there is a dayNames property too.
I've been building a Calendar component as part of ongoing The Flex
Show video
42 matches
Mail list logo