RE: [flexcoders] Re: Determining textHeight and textWidth when htmlText contains images...

2007-11-20 Thread Alex Harui
Never actually tried it with images. It might take several callLaters depending on when the image arrives. I usually test this out by adding a button that prints out the textWidth/Height after I can see the final appearance. If it works then, then I know it is a matter of figuring out how long t

[flexcoders] Authentication with pin codes and weird behaviour with SecurityException

2007-11-20 Thread Mika Kiljunen
Hi! I'm really __struggling__ to get this to work and I'm trying to modify the user authentication so that this scenario would be supported: * The app shows login window with input fields for username and password * User enters his username and password and presses Login-button * Flex ends up to my

RE: [flexcoders] Need Help with DataServices pushing data to nested collections

2007-11-20 Thread Jeff Vroom
First off, did you know about resources/config/data-management-config.xml? It is sort of like our "asdoc" for configuration. The below scenario should work without associations in data-mangement-config if the data structure forms a "tree" but won't work if it is a more general graph. If you

[flexcoders] Re: Multi Validation

2007-11-20 Thread Rafael Faria
The MaxChars i could use it to restrict it with the textinput properties. all of these rules come from the xml so i loop through the rules and add the validation. what about if i need to set min lenght for zipcode and validate just numbers. These aren't the real deal anyway just examples. I k

RE: [flexcoders] DataGrid.itemToItemRenderer()- what about columns besides the first?

2007-11-20 Thread Alex Harui
No public API. There are mx_internal ways, but is there no way for you to work from events and the renderers? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Tuesday, November 20, 2007 8:19 PM To: flexcoders@yahoo

RE: [flexcoders] How to dynamically create the ArrayCollection attribute names at run time?

2007-11-20 Thread Alex Harui
Var attrName1:String = "data"; Var attrName2:String = "label" var obj:Object = new Object(); obj[attrName1] = "hello"; obj[attrName2] = "hai"; myArr.addItem(obj) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Girish Sent: Tuesday,

RE: [flexcoders] XML

2007-11-20 Thread Alex Harui
I thought the following worked: try { var responseXML:XML = new XML(loader.data) } catch (e:Error) { trace("xml is bad"); } From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Tuesday, Novembe

[flexcoders] XML

2007-11-20 Thread Rafael Faria
There is anyway to handle malformed XML? for instance: var loader:URLLoader = URLLoader(event.target); var responseXML:XML = new XML(loader.data); var xmlDoc:XMLDocument = new XMLDocument(responseXML); var decoder:SimpleXMLDecoder = new SimpleXMLDecoder(true); if loader.data comes with mal

[flexcoders] How to dynamically create the ArrayCollection attribute names at run time?

2007-11-20 Thread Girish
Hi, I am also facing same problem, but in my cause i want to define ArrayCollection attribute names at run time. var myArr:ArrayCollection = new ArrayCollection(); myArr.addItem({ data: "hello", label: "hai" }); i wantto assign the 'data' and 'label' attribute name at runtime. how can i achiev

[flexcoders] Updating Properties of a Component's Root State

2007-11-20 Thread jandersen1978
I've got a component that moves to the center of the screen with a state transition. Normally when it leaves this centered state it should go back to it's original x/y location... However, based on other application conditions I sometimes want it to move to a different location when it leaves the

[flexcoders] DataGrid.itemToItemRenderer()- what about columns besides the first?

2007-11-20 Thread ben.clinkinbeard
Title pretty much sums it up, but what if I wanted to access an itemRenderer that is not in the first column? Is there any way to do that starting with nothing but the corresponding data item? Thanks, Ben

Re: [flexcoders] Need Help with DataServices pushing data to nested collections

2007-11-20 Thread Kevin
Thank you. I think I understand, but just in case here is a scenario of what we are doing. We get our list of companies from a fill operation so now we have a data managed collection companies. var departments : ArrayCollection = companies.departments; //to add an items departments.addItem

RE: [flexcoders] Repeater is not executing when changing the dataProvider

2007-11-20 Thread Tracy Spratt
Post your repeater declaration code and the code you use to update the dataProvider. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tina Scurlock Sent: Tuesday, November 20, 2007 3:00 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Multi Validation

2007-11-20 Thread Douglas Knudsen
I'm guessing you are using a TextInput. Check the API http://livedocs.adobe.com/flex/2/langref/mx/controls/TextInput.html in particular, look at restrict property to restrict a field to whatever you want. DK On Nov 20, 2007 9:25 PM, Rafael Faria <[EMAIL PROTECTED]> wrote: > There is any way t

[flexcoders] Re: How can I compare two XMLs by reference and not by value ?

2007-11-20 Thread helihobby
In my case its a client only type of an XML and used to play a series of actions so having exact copies of XMLList inside my XMLListCollection is valid. Regards, Sean - HeliHobby.com --- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: > > Glad you have a solution, but

RE: [flexcoders] LiveCycle with multiple data services failing...

2007-11-20 Thread Jeff Vroom
I am not sure why this is failing, but you might check to see what configuration if any is getting compiled into your SWF. Check the static variable: mx.messaging.config.ServerConfig.xml. If you trace that out, it should contain a subset of the configuration found on your server. It gets it thr

RE: [flexcoders] Need Help with DataServices pushing data to nested collections

2007-11-20 Thread Jeff Vroom
It sounds like you do not have association tags in data-management-config.xml for each of these relationships and so are using the "hierarchical values" approach for managing the hierarchical data. This approach can save hierarchical stuff to hibernate fine if your hibernate associations have the

[flexcoders] Multi Validation

2007-11-20 Thread Rafael Faria
There is any way to validate one field with 2 or more types of validation? like i want a field that needs to be with max length of 30 char and all needs to be a number or i need to validate an email that needs to be maxlenght of 30 (just to give an example) how i would do that... because i ha

[flexcoders] Re: Determining textHeight and textWidth when htmlText contains images...

2007-11-20 Thread jandersen1978
Alex, I appreciate the guidance! I've tried using callLater and it does seem to help for text-only values of htmltext in a textarea. However, it still seems to ignore the size of any images regardless of when I validate and check the textHeight value... Do you know of an example I can refer t

Re: [flexcoders] The best java backend

2007-11-20 Thread Paul Decoursey
We use XFire with Spring... we haven't moved to CXF, which is what Xfire has become, but I'd imagine that it is just as easy to use as xfire was with Spring. With that setup we can support both WS and REST at the same time using the same codebase. On Nov 20, 2007, at 5:47 PM, rydellfinn wr

[flexcoders] Need Help with DataServices pushing data to nested collections

2007-11-20 Thread Kevin
We are trying to use a hierarchical approach with DataServices but are having trouble with our nested VO collections. The data is getting properly saved to the database (via Hibernate) but the data pushing is not happening once we get more than one level deep in the collections. Here is a

[flexcoders] Multiline Text using FishEye Component

2007-11-20 Thread mlharrisn
Hi everyone, I'm a Flex/OOP newbie and I've been trying to work with the wonderful FishEye component by Ely Greenfield and add the ability to display multiline text fields (really all I need is two lines instead of one). Has anyone been able to get this implemented? I assume I need to make some mo

[flexcoders] Re: Fisheye controller

2007-11-20 Thread mlharrisn
--- In flexcoders@yahoogroups.com, "robin bakkerus" <[EMAIL PROTECTED]> wrote: > > Here is an example of the fantastic fisheye component from Ely > Greenfield: www.bakkerus.nl > If you don't mind me asking, how were you able to get the text to flow to two lines? I've been going crazy trying to fi

[flexcoders] The best java backend

2007-11-20 Thread rydellfinn
Everyone - I've been working with Flex for a few months now, and as a Java developer, I want make it work with a java backend. At this point, I'm not interested in FDS/LCDS. Not to say it isn't a great product, but I'm not there yet. The two basic options that I see are working with Httpservic

RE: [flexcoders] Flash Component Kit and external SWF

2007-11-20 Thread Alex Harui
Call getQualifiedClassName on loader.content. It should be MovieClip. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guillermo Villasana Sent: Tuesday, November 20, 2007 3:54 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

RE: [flexcoders] Re: When are scrollbars added? question on timing of initial rendering

2007-11-20 Thread Alex Harui
Please read up on the component life cycle. It is too lengthy for me to present here. Scrollbars are added before updateComplete. ValidateNow just forces updateComplete to happen sooner. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [flexcoders] Flash Component Kit and external SWF

2007-11-20 Thread Guillermo Villasana
yes it is using AS3 and FP9. but I get an error that goToAndStop(0) call to a possible undefined method Thanks Alex Harui wrote: > > If external.swf is using AS3/FP9, then loader.content.goToAndStop/Play > should work. > > > >

[flexcoders] Dynamic DataGrid and complex data as dataprovider

2007-11-20 Thread Sebastian Zarzycki
I have some problems regarding dynamic datagrid. By dynamic I mean, that I don't know either the width or the amount of columns. What's more, sometimes the total width of columns (with static width) exceeds the container's width and I need to use horizontalScrollPolicy = auto on the grid. No matter

[flexcoders] run code when user unloads application?

2007-11-20 Thread Reid Priedhorsky
Folks, We have an application that keeps internal state that the user must manually save to the server (when they're happy with it). It would be nice if the application could intercept actions that would unload the app (e.g. hitting the back button, going to a new URL), and say "hey... you hav

[flexcoders] X and Y does not get updated after a zoom

2007-11-20 Thread dopenhagen
I am having a problem with implementing a Pan/Zoom functionality. When a decreasing zoom effect has completed it appears that the X and Y values of the zoom target are not updated as they seem still to be referencing the position as before the zoom despite the result ends up positioning the compone

[flexcoders] X and Ydoes not update after a zoom

2007-11-20 Thread dopenhagen
I am having a problem with implementing a Pan/Zoom functionality. When a decreasing zoom effect has completed it appears that the X and Y values of the zoom target are not updated as they seem still to be referencing the position as before the zoom despite the result ends up positioning the compone

Re: [flexcoders] Re: How can I compare two XMLs by reference and not by value ?

2007-11-20 Thread Paul Andrews
Glad you have a solution, but doesn't this really mean you have an attribute missing from your schema, that would enable you to differentiate between different XML instances? If you had some kind of mixed model with server processing and multiple client interaction, wouldn't you still have a p

[flexcoders] Re: How can I compare two XMLs by reference and not by value ?

2007-11-20 Thread helihobby
U R THE MAN Gordon. You saved me LOTS of work ... Regards, Sean - HeliHobby.com --- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > Try using === instead of ==. > > - Gordon > > > > From: flexcoders@yahoogroups.com [mailto:[EMAI

RE: [flexcoders] Get Data from Datagrid?

2007-11-20 Thread Alex Harui
The dataProvider of the dropper grid should contain the data items that were dropped. I believe you can use navigateToURL with mailto: start a mail session. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of t.horster Sent: Tuesday, Novemb

RE: [flexcoders] Re: Determining textHeight and textWidth when htmlText contains images...

2007-11-20 Thread Alex Harui
No, I let it finish the layout at its current shape, then ask for the dimensions in a callLater. Invalidating probably won't help. Then if you need to adjust, change the size and go through the whole sequence again. From: flexcoders@yahoogroups.com [mailto:[E

RE: [flexcoders] Flash Component Kit and external SWF

2007-11-20 Thread Alex Harui
If external.swf is using AS3/FP9, then loader.content.goToAndStop/Play should work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guillermo Villasana Sent: Tuesday, November 20, 2007 2:31 PM To: flexcoders@yahoogroups.com Subject: [fle

RE: [flexcoders] DataGrid rows too big with variableRowHeight and wordWrap turned on

2007-11-20 Thread Alex Harui
Even with default item renderers? Or is it a custom renderer. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel R. Neff Sent: Tuesday, November 20, 2007 2:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid rows too

[flexcoders] DataGrid rows too big with variableRowHeight and wordWrap turned on

2007-11-20 Thread Samuel R. Neff
We have a DataGrid with variableRowHeight and wordWrap turned on and when the grid is first displayed many of the rows on the first page are given much more height than they require (3-4 times as much). Typically each row only really needs one row worth of height, the variable row height and word

[flexcoders] how to change slider thumb to a vertical line

2007-11-20 Thread coder3
Hi, i am trying the change the slider thumb from that triangle to a vertical line. i know we can embed an image to thumb*skin, but is there a quick way to change it to a line only? like that slider thumb in google finance? or i have to create a image? Thanks c -- View this message in context:

[flexcoders] Flash Component Kit and external SWF

2007-11-20 Thread Guillermo Villasana
Hello, so I was able to Load an external SWF, in a state in flash like this: stop(); request = new URLRequest("external.swf"); loader = new Loader() loader.load(request); this.addChild(loader); This code is in the timeline but is there a way to reuse the external.swf and replay it without reload

[flexcoders] Re: When are scrollbars added? question on timing of initial rendering

2007-11-20 Thread Brian
So it sounds like updateComplete event is fired anyway, is that correct? Would the scrollbars be added during that event, or during the validateNow()? I'm often adding a bunch of small images at one time, I don't see any slowdown. Unless the updateComplete/validation isn't done until my method sta

RE: [flexcoders] How can I compare two XMLs by reference and not by value ?

2007-11-20 Thread Gordon Smith
Try using === instead of ==. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of helihobby Sent: Tuesday, November 20, 2007 1:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How can I compare two XMLs by reference and not

RE: [flexcoders] Animated PNG

2007-11-20 Thread Gordon Smith
> what about Animated PNG? > I am concerned that Adobe is withholding a great potential improvement in Flash to benefit FLV I spoke with a few folks on the Player team. There haven't been enough requests for Animated PNG support for it to be on the radar. Use Adobe's "Wish Form" at http://www.ado

[flexcoders] ExternalInterface race conditions problem. Please help!

2007-11-20 Thread williamkusumo
Can anyone shed a light on how code execution flows when you have JS calling AS function which calls another JS function? I seem to be getting a very unpredictable race conditions. So here's how my code kind of looks like: [JS] JSLine1(); swfMov.callASFuncA(); // this calls AS functions JSLine

[flexcoders] Get Data from Datagrid?

2007-11-20 Thread t.horster
Hi there, I have a dragger and a dropper grid. How can I fetch the data from the dropper to send it by mail? Regards, Tom

[flexcoders] Re: Determining textHeight and textWidth when htmlText contains images...

2007-11-20 Thread jandersen1978
So are you thinking of using callLater from within a creation complete handler that would then call invalidateSize which would kick off the measure method which would then have the appropriate textHeight available? --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > I

RE: [flexcoders] Re: Performance Impact when using custom item renderer

2007-11-20 Thread Alex Harui
If you set the headerRenderer, then it will be in the header. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of letterpigeon Sent: Tuesday, November 20, 2007 11:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Performance Imp

[flexcoders] How can I compare two XMLs by reference and not by value ?

2007-11-20 Thread helihobby
Hello All, I have the following code: public function timelineDurationOfAction(itemInTree:Object):int { for each ( var xmlValue:XML in _actionProviderTree) { if ( xmlValue == itemInTree) trace("Found"); } } and I need to be able to compare the xmlValue and itemInTree. However, I need to c

RE: [flexcoders] Problem with TileLIst RowCount

2007-11-20 Thread Alex Harui
After an addChild, a whole validation sequence must happen before the TL is layed out. There is an updateComplete event when finished, or you can force it with validateNow(), but that can be expensive. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] When are scrollbars added? question on timing of initial rendering

2007-11-20 Thread Alex Harui
There's a whole validation sequence after you call addChild. Theres an updateComplete event when done, and you can force it by calling validatenow(), but that can be expensive. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brian Sent:

Re: SPAM-LOW: [flexcoders] Re: Air/Flex App With Barcode Reader

2007-11-20 Thread Jeffry Houser
I've never tried that userCapture=true approach. I was trying to create a full screen app w/ AIR and tried a very similar approach to what you describe to prevent users from escaping out of the app. The keyboard events would never get caught until something got focus, making it very eas

[flexcoders] Re: flex + dll

2007-11-20 Thread Abyss Knight
What exactly do you want to use the DLL for? That might help us find you a solution that would work with Flex. :) I'm not sure what you are looking to do whether it is to use multi-touch (using your fingers to navigate) with Flex, or to access the UNIX command, finger. This question has come up a f

[flexcoders] When are scrollbars added? question on timing of initial rendering

2007-11-20 Thread Brian
I have a Canvas object that I am dynamically adding images to in a method that is called via Application.creationComplete(). Sometimes the addition of these images results in clipping and the creation of scrollbars, so I'm checking the position of a certain image to see if it's in the viewable area

SPAM-LOW: [flexcoders] Re: Air/Flex App With Barcode Reader

2007-11-20 Thread Josh VanderBerg
If you call addEventListener with useCapture=true, the listener will trap events that don't usually bubble. I've verified that it works even when the focus is on a tab bar. The one issue is that after the application starts *nothing* has focus - but once you click on anything, even a component th

Re: [flexcoders] Is Flex the right framework for an online dictionary?

2007-11-20 Thread Pat Buchanan
Dominic: As a side node, there is no reason you can't use both Flex and HTML. Write your application in Flex with all of the bells and whistles, but then display the HTML markup in an iFrame inside the Flex app. Here is an example of how to do it: http://www.deitte.com/IFrameDemo3/IFrameDemo.ht

[flexcoders] Re: Debugging with safari

2007-11-20 Thread cesarerocchi
ok. did that. it works. but now my current flash plugin is 9,0,28,0, not 9,0,47,0 as before. If I update it should work anyway? Thanks in advance, -c. --- In flexcoders@yahoogroups.com, "Mike Morearty" <[EMAIL PROTECTED]> wrote: > > That's very strange. I can't imagine why you would get that m

[flexcoders] Problem with TileLIst RowCount

2007-11-20 Thread oneproofdk
After adding a tilelist using addchild, I'm trying to resize it's container, a canvas, to fit the tilelist based on the rowcount * rowheight. Strangely it always return rowCount = 2 - even though there is 1 or 3 rows ? How can I "force" a recount ?? Or is there another way to get the actual size

[flexcoders] Repeater is not executing when changing the dataProvider

2007-11-20 Thread Tina Scurlock
*I am having the same problem. Was there ever a solution for this issue? * RE: [flexcoders] Error: Repeater is not executing. Tracy Spratt Tue, 27 Mar 2007 17:04:46 -0800 First you are not doing the repeater quite right. Try this: The currentItem propeerty already holds a reference to

[flexcoders] Re: Block entire application while in transaction

2007-11-20 Thread danielvlopes
Thanks, but i`m not using this to do uploads, upload i made especific component. I just want user can't click any place or made another transaction while something is stored on database o get from database. One way to block error comportament, i think application enabled is good idea. Enabled fals

[flexcoders] Re: Performance Impact when using custom item renderer

2007-11-20 Thread letterpigeon
Hi Scott, Somewhere in my code, I'm setting up the configuration of all the columns, and I'm doing something like this: var ignoreColumnConfig:ColumnConfig = new ColumnConfig; ignoreColumnConfig.dataField = "ignore"; ignoreColumnConfi

Re: [flexcoders] Is Flex the right framework for an online dictionary?

2007-11-20 Thread Ralf Bokelberg
- We must use fine-space, non breaking space, non breaking hyphen, etc. - Some group of words must have tooltip. I'm not sure, if these features can be implemented easily in Flex/Flash Cheers Ralf. On Nov 20, 2007 8:12 PM, Dominic Marcotte <[EMAIL PROTECTED]> wrote: > > > > > > > Hello, > > We

Re: SPAM-LOW: [flexcoders] Re: Air/Flex App With Barcode Reader

2007-11-20 Thread Jeffry Houser
In that case, I think you'll have a lot of success w/ Flex or AIR for this. Just have a textInput field to capture data. You can give it focus in code using creationComplete; and you can write code to throw focus back to the "input field" in case it loses focus. Josh's explanation of lis

[flexcoders] Is Flex the right framework for an online dictionary?

2007-11-20 Thread Dominic Marcotte
Hello, We are analyzing if Flex is the right framework for our web application (online dictionary). We are almost convinced but we want to have your advices on these particular points : This is what we need... - Essentially, we must display very complex and structured texts. - The text is organiz

[flexcoders] Re: how to create a save as feature

2007-11-20 Thread sree_ramvv
hi, Can you please point me to resources on how to do it using flex 3 and AIR. Thank You vvs --- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" <[EMAIL PROTECTED]> wrote: > > You want to save the file to the user's local PC? If the Flex app is running in the browser this is not possible d

[flexcoders] Re: Flex 2.0.1: Can shared objects be saved in any location that we want?

2007-11-20 Thread handitan
Thx Tom! That's what I thought too. I guess that I am going to try out Zinc because I need to write files into specific locations. --- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Sunday 18 Nov 2007, handitan wrote: > > I am trying to saved shared objects in m

[flexcoders] Flex+finger sensor+webcam+socket!!

2007-11-20 Thread Bit
Hi people, What you surgerem for this combination? Flex or not flex? thx Bit

RE: [flexcoders] Flex TabBar is sniffy about my XMLListCollection DataProvider.

2007-11-20 Thread Alex Harui
Please file a bug with your test case. I guess you are the first to use XML. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: Tuesday, November 20, 2007 1:17 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

RE: [flexcoders] Problem with ModuleLoader on Linux?

2007-11-20 Thread Alex Harui
Haven't seen this one before. If you test case is small, please file a bug. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bjorn - Sent: Tuesday, November 20, 2007 4:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem wi

RE: [flexcoders] Re: focus in part of editable combox string?

2007-11-20 Thread Alex Harui
I don't have the time right now. Maybe someone else can help you. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of luoxuanhuayelin Sent: Tuesday, November 20, 2007 5:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: focus in

RE: [flexcoders] Flex SDK Beta 2 - script timeout

2007-11-20 Thread Alex Harui
You'll only get into that code if a state is changing. It shouldn't time out though. Is it possible your also cranking lots of data in that same frame? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: Tuesday, November

RE: [flexcoders] how to create a save as feature

2007-11-20 Thread Dimitrios Gianninas
You want to save the file to the user's local PC? If the Flex app is running in the browser this is not possible due to security reasons. You can however use Flex 3 to write an app that will run in AIR and it will be able to save files to a local PC. Dimitrios Gianninas RIA Developer and Team

[flexcoders] Re: How to dynamically create the Object attribute names at run time?

2007-11-20 Thread ben.clinkinbeard
o["field1"] = "abc"; --- In flexcoders@yahoogroups.com, "joseph_freemaker" <[EMAIL PROTECTED]> wrote: > > Want to create a new Object() and dynamically define the object > attribute names at run time. > > This can be done statically using something such as the following: > var o : Object = new O

RE: [flexcoders] dataGrid cellRenderer and PropertyChangeEvent

2007-11-20 Thread Alex Harui
Is the combobox rendereIsEditor=true or is it a popup editor? Maybe you should post some of the relevant code. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Thierry V. Sent: Tuesday, November 20, 2007 1:13 AM To: flexcoders@yahoogroup

RE: [flexcoders] identify the selected itemrenderer from all the item renderes

2007-11-20 Thread Alex Harui
Check out the item renderer articles on my blog (blogs.adobe.com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ilikeflex Sent: Tuesday, November 20, 2007 2:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] identify the

RE: [flexcoders] Load remote module into local application domain

2007-11-20 Thread Alex Harui
Should be doable. You'll need the appropriate crossdomain.xml file From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Hrundik Sent: Tuesday, November 20, 2007 8:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Load remote module

[flexcoders] Re: How can i view the source of the playerglobal.swc,rpc.swc and so on~

2007-11-20 Thread miloncaric
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > We haven't distributed source for rpc.swc. > > There is no source for playerglobal.swc. It is actually implemented by > the player via C++ code which is available because the player is > open-source, but might be hard

[flexcoders] Flex & CSS

2007-11-20 Thread Alessio Grumiro
I've created this css file ___ /* CSS file */ #padre { background-color: red; width: 300px; } #figlio { background-color: green; width: 100%; } for my flex application, but the flex builder gives a syn

[flexcoders] how to create save as feature from a text area

2007-11-20 Thread sreeram Vadlamani
hi, I would like to save the contents of a text area into a file when a save as button is clicked. I should be able to save the file at any location . How can we do this. I was looking at the FileReference class. I appreciate your help. regards vvs _

[flexcoders] critical issue when I am using Date object in flex

2007-11-20 Thread surya.csk85
Hi, I have been facing one major issue with Date in flex.When I am displying the date and time in flex application , which is coming from DB is not displying properly. I mean, its displying the date and time according to the timesone i.e. if I change the timezone in my sys, its displaying

[flexcoders] how to create a save as feature

2007-11-20 Thread sree_ramvv
hi, I would like to create a save as file feature from the text of a TextArea in flex. so when i click the button save as it should let me save the contents of the text box as a file at any location. I was looking at FileReference . Is there some other class that i could use for this purpose. r

[flexcoders] How to dynamically create the Object attribute names at run time?

2007-11-20 Thread joseph_freemaker
Want to create a new Object() and dynamically define the object attribute names at run time. This can be done statically using something such as the following: var o : Object = new Object(); o.field1 = "abc"; In this case the input data fields are dynamic, so I want to assign the 'field1' attribu

[flexcoders] problems facing when using Date object

2007-11-20 Thread surya.csk85
Hi, I have been facing one major issue with Date in flex.When I am displying the date and time in flex application , which is coming from DB is not displying properly. I mean, its displying the date and time according to the timesone i.e. if I change the timezone in my sys, its displaying

[flexcoders] Re: Where is the Debugger or Profiler?

2007-11-20 Thread Mike Morearty
You must have told the installer not to install the Flash player, so you are still using the old debug player. Run the Flash player installer (which you can find in the "Player" subdirectory of your Flex Builder installation). - Mike Morearty, Flex Builder team --- In flexcoders@yahoogroups.com

[flexcoders] Column Chart with 2 Series (ColumnSeries, AreaSeries)

2007-11-20 Thread vic8427
I'm creating a single graph with a Column Series and an AreaSeries. The bars in the column chart appear to be in between the horizontal points which is what I want, but when I add the Area Series it also starts in between the horizontal points instead of at the very edge of the graph. I w

Re: [flexcoders] Re: Performance Impact when using custom item renderer

2007-11-20 Thread Scott Melby
Nope... I use it quite a bit. Must be a bug in the way you are specifying the renderer. Can you post a code snippet? Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com letterpigeon wrote: Hi Scott, Not sure why if I only use a checkbox (or CenteredCheckBox) as t

[flexcoders] Re: Performance Impact when using custom item renderer

2007-11-20 Thread letterpigeon
Hi Scott, Not sure why if I only use a checkbox (or CenteredCheckBox) as the item renderer, a checkbox also appears on the header of that column. Have you seen this problem before?? Thanks. Ban --- In flexcoders@yahoogroups.com, Scott Melby <[EMAIL PROTECTED]> wrote: > > Should have mentioned

RE: SPAM-LOW: [flexcoders] Re: Air/Flex App With Barcode Reader

2007-11-20 Thread Chad Gray
I guess I should not have used the term Section of the app. The app is standalone and it's only purpose is there to spit back data about the product entered via the barcode scanner. I don't want the user to have to click on anything. They scan and they get back data. The only focus I suppose

Re: Time to clear the Air Adobe -- Re: [flexcoders] Animated PNG

2007-11-20 Thread Robert Thompson
Thank you Jeff! Paul, thank you also, but I guess I've been wondering the best approach for multi-platforms. I've been heading in the Intel C++ and Mac XCode direction. I will look into the animated gif loader to see if it has support for synchronizing with a streamed file. -r Jeffry Houser

[flexcoders] Auto-Incremented Pkey (inserted in Custom Assembler), not returned in ItemRefere

2007-11-20 Thread Laurel Hall
Hi, If anyone could help me with this I'd appreciate it! 1) My custom service generates an id and inserts the record into my table successfully. From my Service.java: ... Statement s = c.createStatement(); ResultSet rs = s.executeQuery("SELECT LAST_INSERT_ID()"); // unique userid rs.next(

RE: [flexcoders] Re: Animated overSkin (how to use more than one frame of a symbol)

2007-11-20 Thread Mark Ingram
I think it's just the width / height that changes, but I was looking for a solution which could be incorporated into the actual skin for the button (as opposed to having a developer write a transition for any buttons that the designer decides will change size). I'm sure it's got to be possible, it'

Re: SPAM-LOW: [flexcoders] Re: Air/Flex App With Barcode Reader

2007-11-20 Thread Jeffry Houser
Conceptually this sounds good. However, I would expect this method would be non-intuitive to users. Containers will not broadcast keyboard events on their own, so the user must have have given focus to a component that will broadcast the keyboard events. I believe there are a lot of situ

Re: [flexcoders] Re: Animated overSkin (how to use more than one frame of a symbol)

2007-11-20 Thread Paul Decoursey
Does anything other than the size change with the state change? Because you could just animate the height and width property of the component on MouseOver event. Paul On Nov 20, 2007, at 10:44 AM, Mark Ingram wrote: Hi Juan, I’ve had a look at the example and I’ve got it working. But m

Re: [flexcoders] How to tell what type the object is

2007-11-20 Thread Tom Chiverton
On Tuesday 20 Nov 2007, dbronk wrote: > This returns false because beginDate is null. If I change the > declaration to var beginDate : Date = new Date(); it works fine, but 'null' has no type. If you need a 'no data here' Date, try Date(0). -- Tom Chiverton Helping to quickly create user-centri

Re: [flexcoders] Where is the Debugger or Profiler?

2007-11-20 Thread Tom Chiverton
On Tuesday 20 Nov 2007, Tim Ashworth wrote: > Not a major one this, but I keep getting the "Where is the Debugger or > profiler running?" alert when I run my app. Do you have an updated debug Flash player installed in that browser ? -- Tom Chiverton Helping to competently introduce next-genera

[flexcoders] Load remote module into local application domain

2007-11-20 Thread Hrundik
Hello Flexcoders! Is there a way to load (or maybe allow loading) remote Module into local application domain? It would be very helpful in debugging. Thanks! -- With kindest regards, Nikita Petrov aka Hrundikmailto:[EMAIL PROTECTED]

Re: [flexcoders] Real world usage of Flex

2007-11-20 Thread Tom Chiverton
On Tuesday 20 Nov 2007, Dimitrios Gianninas wrote: > one of the best in my opinion is buzzword : > http://preview.getbuzzword.com/?s=true Or Adobe's Share thing. -- Tom Chiverton Helping to quickly envisioneer viral technologies on: http://thefalken.livejournal.com *

RE: [flexcoders] Re: Animated overSkin (how to use more than one frame of a symbol)

2007-11-20 Thread Mark Ingram
Hi Juan, I've had a look at the example and I've got it working. But myself and my designer are struggling to get the over state working when the overstate is larger than the normal state. e.g. If you had a button that normally looks like this: |--| |--| I

[flexcoders] Re: Air/Flex App With Barcode Reader

2007-11-20 Thread Josh VanderBerg
Define a keyDown event handler at the application level. Because of the Flex 2.0 event model, all keydown events, from all controls, should bubble up to the Application. Here is a little application I made to test this. The bottom text area will show all keys typed, no matter the control that ha

Re: SPAM-LOW: [flexcoders] Air/Flex App With Barcode Reader

2007-11-20 Thread Jeffry Houser
I've done something similar, although not with a Flex Application. The bar code data will go to the element that has focus. I'm not sure how you are defining "sections of the application." But you'll either need to make sure that every focusable element will respond to the bar code input

[flexcoders] LiveCycle with multiple data services failing...

2007-11-20 Thread jamiebadman
Hi, I have a strange problem - hopefully someone might be able to figure out what's wrong... First, I'm using Flex 3 beta (Eclipse 3.2+WTP1.5), LiveCycle 2.5, JBoss 4.02. So here's what I do... I use the Flex 3 'create application from database' (if you've not used it yourself, don't give up on

  1   2   >