[flexcoders] Skins - Position changed with release version

2008-02-25 Thread hergy80
I just upgraded from the last beta to the released version of FB3, and 
our skinned panels/title windows now have everything shifted up into 
the title area.  Was there any changes regarding skins that would cause 
this?  ALso, is there any notes regarding what has changed, like there 
was on the labs from M3 to M4?

Thanks!




[flexcoders] Run code when object is removed (destructors?)

2008-01-18 Thread hergy80
I have a custom container object that creates some items in the DOM 
through the externalinterface commands.  I'm looking to find a way to 
know when the container is removed (ie: if it was part of a tab pane 
and the tab was closed) so I can call a javascript command to remove 
the created objects from the DOM.  I don't see any references to 
creating destructors within the class, and I'm not sure if there is an 
event to listen for..

Thanks!



[flexcoders] Re: iterating across an object

2007-10-26 Thread hergy80
You can try (this works well with XML items, should work here I would 
imagine).

for each(var mapItem:Object in map)
{
...
}

--- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] 
wrote:

 In the absence of a formal Map I am using an object as a key/value
 pair map as follows:
 
 var map:Object = new Object();
 map[A] = some_object_A;
 map[B] = some_object_B;
 map[C] = some_object_C;
 
 and then looking up by the key
 
 var object_A:Object = map[A];
 
 etc.
 
 This works really well for random lookup by the key, but what I also
 need is a way to iterate through the objects I have put on the map
 object.  
 
 Is there a for each(* in map) construct I can use?  
 
 Does anyone know if there are any plans to support HashMaps in AS3 
or
 flash?  Is there anything synonymous to a HashMap already that I am
 clearly not aware of?
 
 Thanks
 Simon





[flexcoders] Dynamic layout

2007-10-25 Thread hergy80
I'm new to the Flex world, so please bear with me.  I'm trying to 
figure out a way to construct a basic 'form' that will display various 
information stored in an XML in a nice formatted way.

Currently we have a system that collects credit applications, but they 
vary in the fields/information collected.  Right now, using a standard 
website, we have a template for each different applicatino that we 
easily replace tags with the appropriate data to show the information 
in HTML.

I've tried using the Text Control, but it's very limited in using HTML 
tags for formatting (sometimes we may need multiple columns or a table 
which isn't supported.

Is there any suggestions?  The onyl thing I can see is to build a 
parser that will take a 'template' or more of a direction sheet to tell 
it what components to add, and where to add them, but this seems a bit 
daunting if there is another, easier way to proceed.  The final results 
also need to be printable.

Thanks in advance!