[flexcoders] Re: Classes defined in MXML - are they dynamic? Can they be?

2008-05-14 Thread Bjorn Schultheiss
In run into this problem once with the array class back in the day. I changed a var from ArrayCollection to Array and had over 100 errors that were not caught at compile time since the Array is dynamic. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: IMHO, dynamic is

Re: [flexcoders] How to create .doc files (Word files) with Flex ?

2008-05-14 Thread Anirudh Sasikumar
If PDF is possible, also take a look at AlivePDF http://alivepdf.bytearray.org/ On Wed, May 14, 2008 at 9:19 AM, Rick Winscot [EMAIL PROTECTED] wrote: If at all possible… if .pdf is an option Mars is worth a look. Cheers, -- Anirudh Sasikumar http://anirudhs.chaosnet.org/

Re: [flexcoders] error while extending dictionary error ..

2008-05-14 Thread Josh McDonald
Hmph... Before I do that, Mayur have you double checked everything? I don't wanna look like more of a clueless douche than usual, so I made a couple of changes to the code you submitted and got this: ---

[flexcoders] layout question

2008-05-14 Thread Maciek
Hi. I've been doing a fair amount of Actionscript, and am now getting to do some mxml layout. I I have a component with a login control (this is the only child in the component, and the parent is a VBox with width and height set to 100%): mx:Panel id=loginPanel mx:Form id=loginForm

[flexcoders] Close gap between HBoxes placed in VBox?

2008-05-14 Thread chigwell23
When e.g. 3 HBoxes at 100%/100% are placed within a VBox, they are separated by small gaps vertically. Is there any way to close these gaps? TIA, Mic.

Re: [flexcoders] layout question

2008-05-14 Thread Allan Pichler
verticalAlign=middle On Wed, May 14, 2008 at 12:42 AM, Maciek [EMAIL PROTECTED] wrote: Hi. I've been doing a fair amount of Actionscript, and am now getting to do some mxml layout. I I have a component with a login control (this is the only child in the component, and the parent is a

RE: [flexcoders] Close gap between HBoxes placed in VBox?

2008-05-14 Thread Dale Fraser
Change the padding Regards Dale Fraser http://learncf.com/ http://learncf.com http://flexcf.com/ http://flexcf.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of chigwell23 Sent: Wednesday, 14 May 2008 5:47 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Re: Calling static function on Class instance

2008-05-14 Thread Giles Roadnight
Many thanks for the replies, describeType works great. I can't get c.Roadnight to work though and for now am having to create an instance of the class to call the function (which I had to make non-static). var selectedTemplateClass:Class = initEvent.frameType; var xml:XML

[flexcoders] Re: Close gap between HBoxes placed in VBox?

2008-05-14 Thread chigwell23
Hi Dale, No padding values set according to FlexProperties. --- In flexcoders@yahoogroups.com, Dale Fraser [EMAIL PROTECTED] wrote: Change the padding Regards Dale Fraser http://learncf.com/ http://learncf.com http://flexcf.com/ http://flexcf.com From:

[flexcoders] Binding to xml nodes

2008-05-14 Thread Giles Roadnight
HI All I have an xml object in my model called presentationXML. I also have selectetedFrameXML which is a node within presentationXML. I have an advancedDataGrid bound to presentationXML and when a node is selected selectedFrameXML is updated in the model. I have a component that has

[flexcoders] Re: Trying to use FileSystemList

2008-05-14 Thread Cato Paus
Hi Jon. Did you try to run the application without doing anything to it? please set up a test server and test project that only contain the project and run it (that you did get from me) Then I have the same as you, and we can work from there :) my offline e-mail is [EMAIL PROTECTED] --- In

[flexcoders] Re: Datagrids in FlexMDI

2008-05-14 Thread Cato Paus
Hi Julian, Yes I have the same issue, her is a link to the solution I'm working on to implement into the MDI, I'm using Flex3 http://blogs.adobe.com/flexdoc/2007/03/creating_resizable_and_draggab.ht\ ml http://blogs.adobe.com/flexdoc/2007/03/creating_resizable_and_draggab.h\ tml --- In

[flexcoders] AdvancedDataGrid DefaultDataDescriptor

2008-05-14 Thread Giles Roadnight
Hi I'm using an advanced datagrid to display xml data in a tree. I want some node types to be expandable and other node types not expandable. For the tree control I just extend the defaultDataDescriptor class. Is there a similar method for the AdvancedDataGrid? I am using the hierachicalData

[flexcoders] AnyOne Doing som project on Flex/Air + RFID or NFC

2008-05-14 Thread Cato Paus
Hi all I'm currently working on a project where we are going to connect a Nokia 6131 NFC mobil phone to our application through java, some one else?

[flexcoders] Re: Close gap between HBoxes placed in VBox?

2008-05-14 Thread chigwell23
Thanks Dale - I skipped over this property as it showed no value in FlexProperties ... setting it to 0 closed the gap. What value is the default, that creates a gap but does not register in FlexProperties? Mic. --- In flexcoders@yahoogroups.com, Dale Fraser [EMAIL PROTECTED] wrote: On the VBOX

[flexcoders] Reusable components

2008-05-14 Thread Giro
Hi, In our projects we use own created MXML components. We use its on different projects. Exist some method with Flex builder to have these components only on one place. This is needed because sometimes we change a component and don't want to copy this on every project. Any idea?

Re: [flexcoders] delayed action

2008-05-14 Thread Josh McDonald
I'd just bind those properties to (model.comparisons.length 0) in the MXML, or if the components are instantiated in actionscript, use the BindingUtils.bindSetter() function. -J On Wed, May 14, 2008 at 8:13 PM, Rubeel [EMAIL PROTECTED] wrote: hi All, i am trying to do an action after the

[flexcoders] Pass Parameters to swf from url link

2008-05-14 Thread Peeyush Tuli
Hi, I need to specific parameters to a flex app embedded in an html wrapper. These parameters can be sent appended to the url link of the html wrapper. One way which I thought was to map the url to a server side script which could manipulate the html file ( as a string) to contain these

RE: [flexcoders] Re: Close gap between HBoxes placed in VBox?

2008-05-14 Thread Dale Fraser
On the VBOX verticalGap=0 Regards Dale Fraser http://learncf.com/ http://learncf.com http://flexcf.com/ http://flexcf.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of chigwell23 Sent: Wednesday, 14 May 2008 6:22 PM To: flexcoders@yahoogroups.com

[flexcoders] Re: Datagrids in FlexMDI

2008-05-14 Thread Cato Paus
First off all try to turn off the mdiCanvas.effectsLib = MDIVistaEffects; --- In flexcoders@yahoogroups.com, julian.leach [EMAIL PROTECTED] wrote: Hi We've recently started using FlexMDI and we really like the functionality. However, we are experiencing performance problems with any

[flexcoders] Re: insert unique item

2008-05-14 Thread annouss79
a user can mark an item by clicking a button ( marking is inserting a record on marking table ) , i want control that a user can mark an offer just one time , but my code is not working , is there any other clean idea ?

[flexcoders] delayed action

2008-05-14 Thread Rubeel
hi All, i am trying to do an action after the completion of retrieving data thru cairngorm, when i just put the code to test the action after retrieving the data from a cairngorm event, it takes time and the command after that just executes before the data is retrieved. here is a sample code.

[flexcoders] Group Header Combox Dropdown List

2008-05-14 Thread Jack @ Zingit
I need to be able to have a Group Header Label for items in a dropdown list of a ComboBox. These Group labels will not be selectable. I would like to make them bold so they will stand out. See example(s) below. Group I Project 1 Item 1 Task 1

Re: [flexcoders] Re: Flexstore problem

2008-05-14 Thread Tom Chiverton
On Tuesday 13 May 2008, markflex2007 wrote: I try to run this mxmlc beige.css in command line , but I get error message. Really ? Any one in particular ? How to do mxmlc on it mxmlc is the Flex compiler. It's in the SDK (standalone and what ships with Builder). If you have Builder, you

RE: [flexcoders] Reusable components

2008-05-14 Thread Gregor Kiddie
Take a look at RSLs (Runtime Shared Libraries) and Modules. Either of these can fulfill shared code requirements. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577

Re: [flexcoders] dragAndDrop in DataGrid and HList? How?

2008-05-14 Thread Carlo Gulliani
nobody know how to solution this idea? - Original Message From: Carlo Gulliani [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 13, 2008 10:37:29 PM Subject: Re: [flexcoders] dragAndDrop in DataGrid and HList? How? thanks, will be trying tomorrov, i understand drag

[flexcoders] webtier flexbuilder license

2008-05-14 Thread Ronen Naor
Hi, I'm using the webtier compiler environment under Tomcat and everything works fine except the license issue. When I uncomment this section in flex-config.xml file: *!-- licenses: specifies a list of product and serial number pairs. -- !-- not set -- !-- licenses license

[flexcoders] Re: Pass Parameters to swf from url link[solved]

2008-05-14 Thread Peeyush Tuli
http://flex-apollo.blogspot.com/2007/06/passing-parameters-to-swf.html ~Peeyush On Wed, May 14, 2008 at 3:27 PM, Peeyush Tuli [EMAIL PROTECTED] wrote: Hi, I need to specific parameters to a flex app embedded in an html wrapper. These parameters can be sent appended to the url link of the

Re: [flexcoders] Reusable components

2008-05-14 Thread Jeffry Houser
I'm not sure if you asked a question, but I think you need to create the component in a Flex Library project, then add the resulting swc to the library path of all projects that need to use that component. Giro wrote: Hi, In our projects we use own created MXML components. We use its

[flexcoders] Problem in FlashPaper - Convert PDF file to SWF in Web page

2008-05-14 Thread tatva28
I am converting PDF file to SWF in Web page on the fly using Flash Paper and I write code for web appication but that didnt work but when I write same code for window application that it works fine. what is the problem with Web Page? Have you any solution? Have you any idea how I can solved?

[flexcoders] start playing video before end of load

2008-05-14 Thread Riccardo Cohen
Hello I use a Video object and netstream to show video : stream=new NetStream(connection); stream.addEventListener(NetStatusEvent.NET_STATUS, netstatus); stream.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncerror); stream.client=this; var video:Video=new Video();

RE: [flexcoders] Advanced Data Grid Item Editor

2008-05-14 Thread Tim Stewart
Hi, I tried this with a GroupingCollection dataProvider as well. The behaviour is slightly different, but in both cases I notice a fairly serious bug if editable is set to item. When the grid first displays, if I click on the first group heading, I get ActionScript error: TypeError: Error #1010:

[flexcoders] Re: Close gap between HBoxes placed in VBox?

2008-05-14 Thread titerm
Try to set verticalGap=0 on vbox --- In flexcoders@yahoogroups.com, chigwell23 [EMAIL PROTECTED] wrote: When e.g. 3 HBoxes at 100%/100% are placed within a VBox, they are separated by small gaps vertically. Is there any way to close these gaps? TIA, Mic.

[flexcoders] Re: Datagrids in FlexMDI

2008-05-14 Thread julian.leach
Hi Cato Thanks very much for the quick response!! Turning off Vista effects didn't make a noticeable difference I'm afraid. We are going to take a look at the stuff you wrote. We'll let you know how we got on with that. We are also going to take a look at superpanel - a link to which was

[flexcoders] ViewStack and Parent Container Communication using Events

2008-05-14 Thread sk_acura
Hi All, I have a Resizable Panel which contains a ViewStack which again contains few Canvas based Components . Now all these Views in the Stack should share the data with in the Resizable Panel. ( The Resizable Panel is created as a Module and User can load any no.of modules) Each View

[flexcoders] Ever increasing memory for MX:HTTPService

2008-05-14 Thread Nicolas Boulet-Lavoie
Hello guys, I need to perform a XML query each 2 seconds to verify if they are new connected people in my support applications. For this purpose, I use a mx :HTTPService which query a URL and parse XML data (2 lines max, each result). Since this application needs to run at last, 8-9 hours

[flexcoders] Re: ViewStack and Parent Container Communication using Events

2008-05-14 Thread Cosma
--- In flexcoders@yahoogroups.com, sk_acura [EMAIL PROTECTED] wrote: Hi All, I have a Resizable Panel which contains a ViewStack which again contains few Canvas based Components . Now all these Views in the Stack should share the data with in the Resizable Panel. ( The Resizable

[flexcoders] Re: Datagrids in FlexMDI

2008-05-14 Thread valdhor
I am using FlexMDI extensively with datagrids and have not seen any performance issues although the maximum number of columns I have used so far is five. Displaying five columns with 200 rows is almost instantaneous - it takes way longer to retrieve the data from the server. I can't imagine that

[flexcoders] Containers, percentage size and scrolling behavior..

2008-05-14 Thread Cosma
Consider the following MXML layout: mx:VBox height=400 width=250 borderStyle=outset mx:Box height=50 width=100% borderStyle=outset/ mx:VBox height=100% width=100% borderStyle=outset verticalAlign=middle horizontalAlign=center mx:Box height=250

RE: [flexcoders] Flex Builder 3 oddities on Mac OSX Leopard

2008-05-14 Thread Battershall, Jeff
Jack, What I've seen is that the previous instance doesn't always shut down when you think it should. During development, I've had to manually force quit of adl if the adl instance isn't shut down. You'll see adl as an open application if this is the case. Jeff -Original Message-

Re: [flexcoders] Ever increasing memory for MX:HTTPService

2008-05-14 Thread EECOLOR
You could use the Flex2 profiler to find the exact problem. You may find out that when you click the garbage collection button, memory is freed. If this is the case, then there is no problem in the running application. When testing an application it may take quite some time before the garbage

[flexcoders] How to change tje header color on Accordion Components?

2008-05-14 Thread flexawesome
Hi there I was using style explorer to change the color of accordion, but I wasn't successfully. http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExp lorer.html#app=a712e64f-selectedIndex=1e51-selectedIndex=0661d- selectedIndex=0 1. I would like to remove all gradient color

Re: [flexcoders] Re: Push technology

2008-05-14 Thread Daniel Freiman
It works with ASP.NET. http://www.themidnightcoders.com/weborb/dotnet/ - Dan On Wed, May 14, 2008 at 8:06 AM, markgoldin_2000 [EMAIL PROTECTED] wrote: Do you know if this product works with ASP as a back-end? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Daniel Freiman

[flexcoders] Using Ant to build and deploy Flex applications...

2008-05-14 Thread Farid SALAH
Hi all ! I'm new to the list and I have been scanning the list archives for info but I'm stuck with one question. I want to build an application with ant the same way Flex Builder 3 does. The thing is that FB3 generates an html-template directory in the project structure, which is fine by

Re: [flexcoders] Flex Builder 3 oddities on Mac OSX Leopard

2008-05-14 Thread Farid SALAH
Le 14 mai 08 à 15:40, Battershall, Jeff a écrit : Jack, What I've seen is that the previous instance doesn't always shut down when you think it should. During development, I've had to manually force quit of adl if the adl instance isn't shut down. You'll see adl as an open application if

RE: [flexcoders] Ever increasing memory for MX:HTTPService

2008-05-14 Thread Nicolas Boulet-Lavoie
Erik, That is what I tested. Is there any ways to call the garbage collector from Flex (Action Script) after, like 1000 callbacks, to make sure that the memory is freed? Thanks Nicolas De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de EECOLOR Envoyé : 14 mai 2008

Re: [flexcoders] How to create .doc files (Word files) with Flex ?

2008-05-14 Thread Daniel Freiman
Office 2003 has files defined in XML. (This isn't the default file format but it is available). I don't know if the spec is published but you could alway reverse engineer it a little and write directly to that spec. On Wed, May 14, 2008 at 2:36 AM, Anirudh Sasikumar [EMAIL PROTECTED] wrote:

Re: [flexcoders] Ever increasing memory for MX:HTTPService

2008-05-14 Thread EECOLOR
No there is not. There were some tricks to trigger the garbage collector for previous versions of the Flash player, but as far as I know there are none for the current version. Are you testing with the Release player or Debug player? If I understand you correctly, you are able to successfully run

[flexcoders] Re: Datagrids in FlexMDI

2008-05-14 Thread Cato Paus
Hi Julian, The SuperPanel are okay if you only need to resize a window and you will need to create all the logic your self if you wanth a docker for the minimized windows etc. And you will have the same performance problems, I have tested allready, This is because the ItemRenderes are allways

Re: [flexcoders] How to create .doc files (Word files) with Flex ?

2008-05-14 Thread Derrick Anderson
this site may help as well http://openxmldeveloper.org/ d. On Wed, May 14, 2008 at 9:51 AM, Daniel Freiman [EMAIL PROTECTED] wrote: Office 2003 has files defined in XML. (This isn't the default file format but it is available). I don't know if the spec is published but you could alway

Re: [flexcoders] Containers, percentage size and scrolling behavior..

2008-05-14 Thread EECOLOR
I totally agree here. I think you should file a bug report: https://bugs.adobe.com/flex/ Greetz Erik On 5/14/08, Cosma [EMAIL PROTECTED] wrote: Consider the following MXML layout: mx:VBox height=400 width=250 borderStyle=outset mx:Box height=50 width=100% borderStyle=outset/

Re: [flexcoders] Pass Parameters to swf from url link

2008-05-14 Thread Tom Chiverton
On Wednesday 14 May 2008, Peeyush Tuli wrote: Is there a cleaner and direct way to achieve this? JavaScript ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership

[flexcoders] Re: AIR Persistance mechanisims?

2008-05-14 Thread jer_ela
Here is one I have been working on. It serializes the object with AMF so it only needs one table. Note that your classes need to have a [RemoteClass] metadata tag ( no alias needed) in order for them to be deserialized correctly. Note that the static initialize method needs to be called before

[flexcoders] Re: Flex Builder 3 oddities on Mac OSX Leopard

2008-05-14 Thread Jack OMelia
Wow, I never considered that. I'll try it tonight when I get back to my iMac. That makes me think of another question. I was going to purchase a license and pop the serial number into the trial version. Am I better off uninstalling the trial version and reinstalling a fresh copy when I get my

[flexcoders] Re: Modules the way to go?

2008-05-14 Thread Daniel
Mmm You guys are right... Every reference to the module from the Module Handler Application is removed on unload, but every module have a ton of internal bindings that are not being unwatched... I'm almost certain that's the problem... We'll try to fix that as soon as possible... Thanx a

[flexcoders] Re: Actionscript 3 Cookbook question

2008-05-14 Thread Amy
You know, I never thought to look for an index entry in the _front_ of the book! How stupid of me ;-) --- In flexcoders@yahoogroups.com, Jeff Hindman [EMAIL PROTECTED] wrote: Page xxiv in the preface, towards the bottom of the page. You're welcome :-) --Jeff H. _

[flexcoders] How to setup a Flex and AIR project that shares code?

2008-05-14 Thread Rick Schmitty
I'm working on a new air app that will have a widget available for webpages as well. The widget is going to be sharing quite a bunch of my views/commands from the air app and will likely just have some different delegates (removing the offline functionality) Is there a way to setup a project

Re: [flexcoders] Data format for drag and drop

2008-05-14 Thread Josh Millstein
Ok, but in the dragsource addData call you have to specify the format of what you are dragging. Where is a list of formats? On 5/13/08 10:47 PM, Alex Harui [EMAIL PROTECTED] wrote: You can drag anything. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Re: Ever increasing memory for MX:HTTPService

2008-05-14 Thread the_braniak
I suppose each time you parse the dat from the XML, you create new objects. Try reusing the old objects, cause even though the garbage collector cleans the memory it doesn't do it as fast as you'd like to do it. Also reject the responses from the server which does not arrive in the order you'd

[flexcoders] Re: Adding a node to xml document updates tree's dataprovider

2008-05-14 Thread Steve Ashton
Any ideas on this one? --- In flexcoders@yahoogroups.com, Steve Ashton [EMAIL PROTECTED] wrote: Also, I've tracked down the location where the dataprovider changes. It is HierarchicalCollectionView:812 = children.source = parentNode.*; --- In flexcoders@yahoogroups.com, Steve Ashton

Re: [flexcoders] Data format for drag and drop

2008-05-14 Thread Douglas Knudsen
although there are a couple builtin formats for List based controls and the Tree, the full list is up to you to create. You can use what ever you want. eg var ds:DragSource = new DragSource(); ds.addData(dragInitiator, 'superFuzz'); or var ds:DragSource = new DragSource();

[flexcoders] Re: Containers, percentage size and scrolling behavior..

2008-05-14 Thread Cosma
http://bugs.adobe.com/jira/browse/SDK-15567 Probably they're starting to hate me - I've already filed other 6 or 7 issues before this one :) Cosma Colanicchia --- In flexcoders@yahoogroups.com, EECOLOR [EMAIL PROTECTED] wrote: I totally agree here. I think you should file a bug report:

Re: [flexcoders] How to setup a Flex and AIR project that shares code?

2008-05-14 Thread Flap Flap
Hi Rick, We are actually in the same problem. The way we choose to do this is to have a common library project for common code and two specific project with specific web / AIR code -- Benoît Milgram / Flapflap http://www.kilooctet.net I'm also a music mashup / bootlegs producer :

Re: [flexcoders] Re: Flex Builder 3 oddities on Mac OSX Leopard

2008-05-14 Thread Farid SALAH
Le 14 mai 08 à 16:41, Jack OMelia a écrit : Wow, I never considered that. I'll try it tonight when I get back to my iMac. That makes me think of another question. I was going to purchase a license and pop the serial number into the trial version. Am I better off uninstalling the trial

Re: [flexcoders] How to setup a Flex and AIR project that shares code?

2008-05-14 Thread Jeffry Houser
Create a Flex Library project, put the shared code in a swc. Rick Schmitty wrote: I'm working on a new air app that will have a widget available for webpages as well. The widget is going to be sharing quite a bunch of my views/commands from the air app and will likely just have some

[flexcoders] NumberFormatedTextInput as Eclipse Nebula widget

2008-05-14 Thread Rua
Hi all! After two days google, I can't found any text input widget support input number formatter use patter as ###,###,##0.00. I'm porting some Eclipse RCP applications to Flex. Please refer http://www.eclipse.org/nebula/widgets/formattedtext/formattedtext.php Sorry, my english not well!

[flexcoders] Repeater Value

2008-05-14 Thread Rubeel
I am trying to get a value of multiple fields that are repeated in a repeater outside of the repater when the user clicks on it. if the repeater is getting results from a datasource, i want them to click on a result and then it should update the labels outside of the repeater. i guess i am

[flexcoders] Getters/Setters VS Function:Void/Return

2008-05-14 Thread Joseph Curtin
Hey all, I took a quick search, but was unable to find info on rather getter/setters are faster, or functions that return are faster. Care to enlighten me? -- -Joe

[flexcoders] Re: Datagrids in FlexMDI

2008-05-14 Thread julian.leach
Hi Cato Thanks for your reply. Yes, you are right we want the docker stuff but don't really want to start writing it. Just checking... are you experiencing the delay in loading/context switching between windows or just the problem with resizing? In simple terms what's the strategy you are

Re: [flexcoders] Re: Datagrids in FlexMDI

2008-05-14 Thread Ben Clinkinbeard
We had non-live resizing implemented prior to the 1.1 release but yanked it due to some very small issues. Unfortunately we haven't gotten around to putting it back and fixing it. You can dig through the SVN and try to implement it if you're feeling ambitious. Shouldn't be too difficult really.

[flexcoders] Re: Datagrids in FlexMDI

2008-05-14 Thread julian.leach
Hi Ben Thanks for your reply. I can see why non-live resizing would be less resource hungry - but do you think it is or could be connected with other problem i'm having in loading/switching context between windows? Julian --- In flexcoders@yahoogroups.com, Ben Clinkinbeard [EMAIL PROTECTED]

[flexcoders] Re: Containers, percentage size and scrolling behavior..

2008-05-14 Thread ben.clinkinbeard
Does setting minHeight = 0 help? http://tech.groups.yahoo.com/group/flexcoders/message/77204?threaded=1p=1 --- In flexcoders@yahoogroups.com, Cosma [EMAIL PROTECTED] wrote: http://bugs.adobe.com/jira/browse/SDK-15567 Probably they're starting to hate me - I've already filed other 6 or

Re: [flexcoders] layout question

2008-05-14 Thread Maciek Sakrejda
I don't see how that would help--I'd like to place the button on the lower-right of the container, 10 pixels from the bottom edge, and ten pixels from the right edge. I'm not even so much interested in getting this specific scenario to work (I suppose I could set horizontalAlign=right on the panel

Re: [flexcoders] How to setup a Flex and AIR project that shares code?

2008-05-14 Thread Rick Schmitty
Ah very cool thanks guys, one more question kinda related... If my library has AIR classes for the desktop app in it but the Flex web app doesnt use them, do they get compiled into the flex project swf anyways? On Wed, May 14, 2008 at 8:24 AM, Jeffry Houser [EMAIL PROTECTED] wrote: Create a

[flexcoders] Re: Repeater Value

2008-05-14 Thread Tracy Spratt
I advise creating a component that encapsulates all of the stuff you want to repeat. Pass a reference to the entire currentItem into that component. Expose that item in a public property(selectedItem, or whatever). Inside that component, dispatch an event. Either have it bubble, or

[flexcoders] Re: Containers, percentage size and scrolling behavior..

2008-05-14 Thread Cosma
It works, thank you very much! I'd missed that post. I'm going to mark the issue as NAB. Cosma Colanicchia --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Does setting minHeight = 0 help?

Re: [flexcoders] Re: AIR Persistance mechanisims?

2008-05-14 Thread Cameron Childress
Interesting... More or less just stuffs everything into a database as is. Doesn't leave any room for aggregate SQL statements against stored properties, but then I didn't ask for that I guess. :) -Cameron On Wed, May 14, 2008 at 10:30 AM, jer_ela [EMAIL PROTECTED] wrote: Here is one I have

Re: [flexcoders] Re: Datagrids in FlexMDI

2008-05-14 Thread Ben Clinkinbeard
Honestly, no. Resizing is the only thing that is obviously intensive as it causes constant revalidation/measurement. Switching which window is in focus really just changes the style of the window. Maybe that is the problem though. Try setting styleNameFocus and styleNameNoFocus to the same style

[flexcoders] Reading SWF Metadata

2008-05-14 Thread VELO
Hi, I add some metadata to my swf doing this: http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_16.html Is there any way to read this metadata? VELO

[flexcoders] Re: AIR Persistance mechanisims?

2008-05-14 Thread jason_williams_mm
You can skip the step of sending this to a ByteArray and Base64Encoding it, by using the additional affinities added for AIR applications. For example, using the following create statement: CREATE TABLE vo (objID String UNIQUE NOT NULL, objValue Object); You can then store the objects directly

[flexcoders] Re: layout question

2008-05-14 Thread valdhor
Wrap your button in a HBox: mx:Panel id=loginPanel mx:Form id=loginForm left=10 right=10 bottom=10 top=10 mx:FormHeading label=Welcome/ mx:FormItem label=User Name mx:TextInput id=username/ /mx:FormItem mx:FormItem

[flexcoders] TextArea doesn't display on the stage by using a simple Class file

2008-05-14 Thread flexawesome
Hi there, I have a very simple class file to draw a TextArea, it seems doesn't work and I have no ideas :( I could draw the Shape but not the TextArea, can you please help me to have a quick look? Thanks MXML File: http://www.privatepaste.com/97y6TXF057 Class File:

Re: [flexcoders] a bit of information about Iframes

2008-05-14 Thread Gustavo Duenas
Thanks for you response Derrick, my last responses had the code, this is only My desperate intent to tell people that something odd is happening with the Iframes. And Actually I tried to solve the problem, changing the position on the javascript, it only works ( I mean the position) , when

Re: [flexcoders] Re: layout question

2008-05-14 Thread Maciek Sakrejda
Thanks, that seems reasonable. Is the issue then that constraint-based layout is intended for containers, and not all components? -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: valdhor [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To:

Re: [flexcoders] a bit of information about Iframes

2008-05-14 Thread Paul Andrews
Gustavo, It often helps to make a small example to demonstrate the problem, then post the SMALL amount of code here. Paul - Original Message - From: Gustavo Duenas To: flexcoders@yahoogroups.com Sent: Wednesday, May 14, 2008 6:12 PM Subject: Re: [flexcoders] a bit of

[flexcoders] Re: TextArea doesn't display on the stage by using a simple Class file

2008-05-14 Thread flexawesome
I called the function at no.19 and can get the text String on no.31. but i was unable to see it inside of sprite ( on the stage ) http://www.privatepaste.com/96WivclDAg Thanks --- In flexcoders@yahoogroups.com, flexawesome [EMAIL PROTECTED] wrote: Hi there, I have a very simple class

Re: [flexcoders] Re: layout question

2008-05-14 Thread Maciek Sakrejda
Actually, it looks like that didn't solve this either: the button is now flush against the lower-right corner, instead of offset by 10px... -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: valdhor [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To:

Re: [flexcoders] Re: layout question

2008-05-14 Thread Alberto Brealey-Guzmán
On Wed, May 14, 2008 at 11:12 AM, Maciek Sakrejda [EMAIL PROTECTED] wrote: Thanks, that seems reasonable. Is the issue then that constraint-based layout is intended for containers, and not all components? Panel is a container, but its default value for the layout property is vertical (i.e. it

Re: [flexcoders] Re: layout question

2008-05-14 Thread Maciek Sakrejda
Nevermind--I mistead your padding{Right,Bottom} as just the right and bottom attributes that I was using originally. This does work nicely. I'd still like to know why the Form is positioned correctly by setting constraints, but not this HBox. Thanks, Maciek -Original Message- From:

[flexcoders] Re: Datagrids in FlexMDI

2008-05-14 Thread steve.klee
Hi Julian- We are also using the MDI library for a large ERP-style application and experienced the same issue you are describing. The problem for us related to the updateStyles() method in the MDIWindow class in the library. It seems when the code was checking for hasFocus there was a lot

[flexcoders] Re: Pass Parameters to swf from url link

2008-05-14 Thread valdhor
I found a QueryString class somewhere (Don't remember where): package customclasses { import flash.external.*; import flash.utils.*; public class QueryString { private var _queryString:String; private var _all:String; private var _params:Object;

Re: [flexcoders] a bit of information about Iframes

2008-05-14 Thread Paul Andrews
- Original Message - From: Gustavo Duenas To: flexcoders@yahoogroups.com Sent: Wednesday, May 14, 2008 6:20 PM Subject: Re: [flexcoders] a bit of information about Iframes Thanks Paul, do you mean...putting the file on the internet with the source code set to view?

Re: [flexcoders] Re: Datagrids in FlexMDI

2008-05-14 Thread Ben Clinkinbeard
Hi Steve, That is great to hear! Not only that you got things working but that you did so on your own. :) I would love to see (and possibly incorporate) the enhancements you made so if you're willing/able to share them please send them my way. We give credit where credit is due and are always

[flexcoders] What do you use to print reports?

2008-05-14 Thread Guilherme Stiebler
I'm trying to print reports in my Flex+Rails project, but without success so far. The temporary solution is to generate the reports in HTML, but it´s far from good for printing. What do you use for showing and printing reports? Guilherme Stiebler

RE: [flexcoders] Getters/Setters VS Function:Void/Return

2008-05-14 Thread Gordon Smith
I actually don't know whether public function get foo():int { return _foo; } or public function getFoo():int { return _foo; } is faster to call. But I wouldn't expect them to different greatly, and which one is faster might change in a

RE: [flexcoders] Repeater Value

2008-05-14 Thread Gordon Smith
Instances of things created by a Repeater have a getRepeaterItem() method which gives you the data item for which that instance was created. They also have two properties -- instanceIndex and repeaterIndex -- which tell you the data item's index. Does that help? Gordon Smith Adobe Flex SDK

Re: [flexcoders] What do you use to print reports?

2008-05-14 Thread Richard Rodseth
Check out AlivePDF. I haven't used it personally (other than a quick proof of concept) but it looks promising. For a browser-based app, it makes use of a server-side piece (PHP, Java Servlet etc) to bounce back the bytes so the browser can download them. On Wed, May 14, 2008 at 10:33 AM,

RE: [flexcoders] Re: Calling static function on Class instance

2008-05-14 Thread Gordon Smith
Alex meant c.Roadnight() or c[Roadnight]() if you want to call the static function. Without the () you get a reference to the function, rather than the result produced by calling the function. Here is a complete and tested ActionScript app which illustrates four ways to call a static function

Re: [flexcoders] Re: calling different methods through XML and Flash Proxy class?

2008-05-14 Thread Derek Vadneau
As long as you know the property you are GETTING is really a function. There's a bug in the Flash player/compiler - or at least some see it as a bug, but Adobe is convinced it's not. This statement: this[myFunction](); will NOT call callProperty. It will instead call getProperty, for which you

[flexcoders] Re: Datagrids in FlexMDI

2008-05-14 Thread julian.leach
Hi Steve Wow! It looks as though you have cracked it! Fantastic... There is definitely a beer waiting for you in London Bridge should you ever be there!!! Like Ben, I would be very keen to see the detailed changes you made, if that were at all possible. Incidentally, were you bothered by

  1   2   >