Re: [flexcoders] Re: New Adobe forums coming!

2009-04-03 Thread Radley
I just took a look @ adobeforums.com tonight (thurs night). Is that what the new forums will be like? -radley On Apr 2, 2009, at 10:00 PM, Matt Chotin wrote: I think that will be up to folks who use flexcoders. I’m hoping that we’ll consolidate and therefore be able to not rely on a

[flexcoders] database question

2009-04-03 Thread johndoematrix
hi i know this is not a flex question but is related to flex anyway. i have an access database with two tables A and B. the two are related in that the primary key of A(which is autonumber) is related to the foreign key in B. not i would like that when i insert data in the two tables A and B

Re: [flexcoders] Re: New Adobe forums coming!

2009-04-03 Thread Sam Lai
Nope - I believe it will look like this: http://adobeforums.adobe.com/index.jspa 2009/4/3 Radley che...@eoptica.com: I just took a look @ adobeforums.com tonight (thurs night). Is that what the new forums will be like? -radley On Apr 2, 2009, at 10:00 PM, Matt Chotin wrote: I think that

[flexcoders] Need Help For Designing Modular Application

2009-04-03 Thread R. S. Patil
Hello Friends, We are in process of evaluating Flex for a Multi-Form database application. The Target application will have almost 100+ forms for data-entry, query, report generation. it is migration of a delphi-firebird lan based client-server desktop application to web. The typical interface is

[flexcoders] Re: Why does percentWidth / percentHeight not work with popups?

2009-04-03 Thread skuteboarding
Thanks Alex --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Basically yes. Parents size their children in Flex and popups don't have a parent. (actually they do because they are parented by SystemManager, but SystemManager doesn't layout its children. Alex Harui Flex

[flexcoders] Re: Why does percentWidth / percentHeight not work with popups?

2009-04-03 Thread skuteboarding
Hi Tracy, I originally tried that, but if you are using a transition (say, to resize over 500ms) it breaks the transition (it just instantly resizes). Mark --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Suppose on resize you call PopUpmanager.centerPopUp()/ Tracy

RE: [flexcoders] Need Help For Designing Modular Application

2009-04-03 Thread Gregor Kiddie
You want to read up on the following articles http://livedocs.adobe.com/flex/3/html/help.html?content=modular_2.html http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_1.htm l http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_2.htm l

[flexcoders] ComboBox SelectedItem why not inspectable.

2009-04-03 Thread Wesley Acheson
Hi, Why isn't the ComboBox.selectedItem available in MXML? It would be better then selectedIndex in many cases. Regards, Wesley Acheson

[flexcoders] Flex Builder Actionscript Projects ...

2009-04-03 Thread SJF
Does anyone have a link to reference material or information about Flex Builder Actionscript Projects? Specifically the config file with default filename of .actionScriptProperties ? I can't find any information about this on the web, and my Flex Builder application doesn't allow me to edit these

[flexcoders] Custom Item Renderer

2009-04-03 Thread v.ponvino
Hi, I am using AdvancedDataGrid control it is getting data from xml. I want show image nearby depending upon the data in the DataGrid. If any know please reply... Regards, Pon

[flexcoders] Best approach for Dynamic UI generation from XML...

2009-04-03 Thread Ilam Mougy
I have a task of dynamically generating Flex UI forms from XML. I am free to design the look of the XML to be whatever I like. Is there a best approach to this problem, other than iterating over the XML and one by one creating objects that maps to Flex UI elements? Thanks,

Re: [flexcoders] ComboBox SelectedItem why not inspectable.

2009-04-03 Thread Jeffry Houser
Looking at the ComboBox code, it looks like the inspectable metadata is set to none. I assume that hides it from code hinting. However, despite that you should be able to use it w/ no problems in MXML just as you would w/ ActionScript. Wesley Acheson wrote: Hi, Why isn't the

[flexcoders] Re: Creating RemoteObject in ActionScript as dataProvider for ComboBox

2009-04-03 Thread valdhor
I have posted a number of examples here. To start, follow this thread... http://tech.groups.yahoo.com/group/flexcoders/message/126783 --- In flexcoders@yahoogroups.com, brad.bueche b...@... wrote: I cant find a good example of how to create a remoteObject in ActionScript. All the examples

RE: [flexcoders] database question

2009-04-03 Thread shaun mccran
You can simply do a select on the first 'id' if your query is ordered correctly, like: Select top1 id from table order by id desc Or there may be a function in access to return the latest ID. In MS SQL and MySql there are similar functions such as: SELECT LAST_INSERT_ID() AS

[flexcoders] Re: database question

2009-04-03 Thread johndoematrix
i would like to do it with a coldfusion query. i dont want the database to do it automatically. the thing is this, i want to insert data in the two tables at once and i would like that the primary key(auto number) in table A be reflected in table B as soon as the data is inserted. thanks

[flexcoders] Re: Creating RemoteObject in ActionScript as dataProvider for ComboBox

2009-04-03 Thread brad.bueche
ok, read that. I DID search via Nabble first but I searched on RemoteObject in ActionoScript. I'm going to do webOrb after I get a few things with CF figured out. (CF setup just seems to have a lot fewer moving partswhich is the level I need right now). Here is where I am now. I

Re: [flexcoders] ComboBox SelectedItem why not inspectable.

2009-04-03 Thread Wesley Acheson
rant Yes thats the conclusion that I had reached this morning when working with it. I was just wondering if there was a reason to hide it from codeHinting. I mean they must have put that in there for a reason? I can't fathom it. Not on this work iteration but on one serveral weeks back I lost a

[flexcoders] Re: Enumeration???

2009-04-03 Thread flexaustin
thx, flexaustin --- In flexcoders@yahoogroups.com, Wesley Acheson wesley.ache...@... wrote: Assuming its a dynamic object you can iterate through the members using a for each in and or a for each in Imagine you have the following object typing from memory so forgive any typos. var

[flexcoders] Re: TextArea Border?

2009-04-03 Thread flexaustin
I feel stupid. THX! flexaustin --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: editable=false -TH --- In flexcoders@yahoogroups.com, flexaustin flexaustin@ wrote: I am using the textArea and finally got the border to turn off, but when you click it, the theme color

[flexcoders] Flex to Air comminication via LocalConnection - Error #2044

2009-04-03 Thread ericbichara
Hej Guy and Gals, I need some help getting localConnection to work. I have a Flex app running in the browser and an air app running on my desktop. Im trying to call a method on the air app from the flex app. I keep getting the dratted Error #2044: Unhandled StatusEvent:. level=error, code=

RE: [flexcoders] ComboBox SelectedItem why not inspectable.

2009-04-03 Thread Tracy Spratt
Be aware that there are only two cases where you can successfully set a ComboBox using selectedItem. One is that the dataProvider items must be simple text or numerical values. If the dataProvider items are objects (or xml), then the item you assign must be a *reference to an item in the

Re: [flexcoders] ComboBox SelectedItem why not inspectable.

2009-04-03 Thread Jeffry Houser
I spend a *LOT* of time looking through the language reference for classes that I use. Especially when trying to solve an issue. Wesley Acheson wrote: rant Yes thats the conclusion that I had reached this morning when working with it. I was just wondering if there was a reason to hide it

RE: [flexcoders] Re: Creating RemoteObject in ActionScript as dataProvider for ComboBox

2009-04-03 Thread Tracy Spratt
creationComplete only fires once, as soon as the component is created. You want to get the data returned from the call, so you need to use the result event instead. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

[flexcoders] Re: Creating RemoteObject in ActionScript as dataProvider for ComboBox

2009-04-03 Thread valdhor
OK, pretty close. You need to put the data that you get back into an ArrayCollection and give the ComboBox DataProvider this ArrayCollection... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[

RE: [flexcoders] Re: database question

2009-04-03 Thread Tracy Spratt
If you do not want to do it in the db, you will need two queries. The first does the primary table insert and returns the auto generated key value. Then you can use that in the second insert query. Tracy Spratt, Lariat Services, development services available _ From:

[flexcoders] Re: database question

2009-04-03 Thread johndoematrix
can that be done in one process and if possible how?

RE: [flexcoders] Best approach for Dynamic UI generation from XML...

2009-04-03 Thread Tracy Spratt
mx:Repeater is very useful for this, saving a lot of effort over manually looping and using addChild() / removeChild(). It provides several other pieces of functionality, like automatic id generation, and recycling. Tracy Spratt, Lariat Services, development services available _

Re: [flexcoders] Best approach for Dynamic UI generation from XML...

2009-04-03 Thread Maciek Sakrejda
We do quite a bit of this at Truviso to dynamically generate Flex-based reports and live dashboards based on XML definitions. I think the details of how we do this could be improved, but the core structure is reasonably straightforward, through the magic of recursion. Basically, we have two types

[flexcoders] Re: database question

2009-04-03 Thread markgoldin_2000
How would it be possible if you need to get a new key first? In the SQL World we use cascading updates or triggers and we use transactions to ensure all updates are processed. If you can generate a primary key manually then you could run both updates not worrying to have orphan records. Is this

[flexcoders] Re: database question

2009-04-03 Thread johndoematrix
Here is a thought(i know am grasping at straws but will try).is there a way to set the foreign key field in table B to equal the primary Key field of table A so that when an entry is made it reflects. more like binding the two fields together.

[flexcoders] [ANN] Flexmojos 3.1 Released

2009-04-03 Thread Marvin Froeder
Hi, I have been working hard over the last couple months in the Sonatype Forge on the next version of Flexmojos and it's now available. http://flexmojos.sonatype.org/ We did all the work for a client and they were happy to release it back to community under an Apache license. We have also

RE: [flexcoders] Re: database question

2009-04-03 Thread Tracy Spratt
If I recall correctly, SELECT @@IDENTITY will return a newly generated key. I can't help with the CF. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Friday, April

RE: [flexcoders] Re: database question

2009-04-03 Thread shaun mccran
You can do that in MS SQL with a trigger. Think of it as an event that fires when a condition is met. IE when table A gets a new entry, the trigger on the ID field will perform a specified script. (your insert into Table 2) Not sure if its possible in Access tho. These guys seem

[flexcoders] Re: database question

2009-04-03 Thread johndoematrix
how can i perform this kind of trigger event in ms sql? may be i can give it a try in access.

[flexcoders] Re: Creating RemoteObject in ActionScript as dataProvider for ComboBox

2009-04-03 Thread brad.bueche
Hey! It works! Thanks! And with your posts I should be able to do the same thing pretty quickly with webOrb/php, then it will be on to webOrb/.Net (which is our official in house server platform). It did not like the arrayCollection, btw, it threw an exception. But I did have a method in my

[flexcoders] Re: database question

2009-04-03 Thread Tim Hoff
A trigger in MS SQL-Server is a stored procedure that is executed when a defined condition is met; ie a new record is inserted into a specific table. Access doesn't use stored procedures or triggers. -TH --- In flexcoders@yahoogroups.com, johndoematrix johndoemat...@... wrote: how can i

[flexcoders] Re: TextArea Border?

2009-04-03 Thread Tim Hoff
Don't, this one stumped me for a few minutes a while back as well. :) -TH --- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: I feel stupid. THX! flexaustin --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: editable=false -TH --- In

[flexcoders] Even Better Scrollable Menus for Flex Problem

2009-04-03 Thread valdhor
This question is probably just for Doug McCune if he is watching ;-} I really like the idea behind the Scrollable Menus component (http://dougmccune.com/blog/2007/01/26/even-better-scrollable-menus-for-flex/). Unfortunately, there seems to be a bug in the ScrollableMenuBar getMenuAt() code. If

[flexcoders] Firefox: Multi-select not working. Anyone have a work-around?

2009-04-03 Thread whatabrain
It's a well-known issue that you can't multi-select in AdvancedDataGrid in Firefox, if you have wmode=transparent. This site: http://www.johanvanmol.org/content/view/47/41/ gives a nice general work-around for Flash, but after spending hours wading through the AdvancedDataGrid code, I haven't

[flexcoders] Embed image from flex library (SWC)

2009-04-03 Thread Charles Galpin
I have built a common flex library which I use from other projects. If I put images under src/assets/images and add those images under Assets in the Flex Library Build Path I get mixed results. It appears that if the image was embeded in the common library, then it can be used in the

Re: [flexcoders] Embed image from flex library (SWC)

2009-04-03 Thread Pedro Sena
Have you tried /assets/something ? Regards, PS On Fri, Apr 3, 2009 at 3:07 PM, Charles Galpin yahoogro...@lhsw.com wrote: I have built a common flex library which I use from other projects. If I put images under src/assets/images and add those images under Assets in the Flex Library Build

[flexcoders] Re: Complex Charting in Flex

2009-04-03 Thread Amy
--- In flexcoders@yahoogroups.com, webbymary webbym...@... wrote: This may not be the most elegant solution but, assuming you have only 2 pairs of high/low as your example shows, rename your second close to close2 and use 5 ColumnSeries where the yFields are: close1.High, close1.Low,

Re: [flexcoders] ComboBox SelectedItem why not inspectable.

2009-04-03 Thread Wesley Acheson
On Fri, Apr 3, 2009 at 5:16 PM, Jeffry Houser j...@farcryfly.com wrote: I spend a *LOT* of time looking through the language reference for classes that I use. Especially when trying to solve an issue. Looks like I'm going to have to spend more time. Going through the docs. I already

Re: [flexcoders] Custom Item Renderer

2009-04-03 Thread Wesley Acheson
I assume you've seen something like this http://www.adobe.com/devnet/flex/quickstart/using_item_renderers/ Is there anything specifically that you have a problem with? Regards, Wes On Fri, Apr 3, 2009 at 8:11 AM, v.ponvino pon_v...@yahoo.com wrote: Hi, I am using AdvancedDataGrid control

[flexcoders] SDK 3.3 and flash.* imports

2009-04-03 Thread shanedosch
I am having a problem with the Eclipse IDE since upgrading to SDK 3.3. Not only does code complete no longer work for any flash.* packages, but when I compile, it periodically removes all flash.* import statements in my .as files, meaning I have to go back and manually add those to get the

[flexcoders] Newbie SOA question

2009-04-03 Thread variableop
I would like to provide a solution to maintaining login state over multiple calls to my .NET web service layer. So basically, the user logs in, then stores a login token internally on the Flex side so that each web service call can be authenticated as being made by someone who has already

RE: [flexcoders] Newbie SOA question

2009-04-03 Thread Tracy Spratt
I have a lot to learn about security, and had difficulty wading through all of the levels and options, so I devised my own programmatic solution. When a user logs in from the Flex app (md5 hash on the password), I create a sessionId, store it in a hashtable in the .net app, and pass it back to

[flexcoders] BlazeDS or JSON

2009-04-03 Thread oneworld95
Which tech do you recommend for simply reading data from the database via Java? BlazeDS or JSON? I'm thinking of keeping things simple and efficient. Thanks. - Alex C

[flexcoders] parent MenuItem in hierarchical menus?

2009-04-03 Thread Maciek Sakrejda
Is there an easy way to get a reference to the parent MenuItem from an itemClick MenuEvent? I know I can use parentMenu and then dig around in the data descriptor, but it seems like there should be a cleaner way to do this... Specifically, I want to change my parent MenuItem's label when a certain

Re: [flexcoders] Finding the stage xy of a nested object

2009-04-03 Thread Guy Morton
Hi Tracy Thanks. Yes, I tried localToGlobal, however it's not really as helpful as I hoped it might be. It doesn't seem to work within an embedded module, for instance (it gives you the coordinates relative to the module container by the look). I thought Flash would know the stage.x and

[flexcoders] Re: Print existing documents in Flex

2009-04-03 Thread Amy
--- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote: PrintJob won't print external files. The only way to do it with Flex would be to read each file and add it's contents to a container to be rendered using Printjob. Unfortunately Flex isn't a printspooler! You might have

RE: [flexcoders] parent MenuItem in hierarchical menus?

2009-04-03 Thread Tracy Spratt
Menu dataProviders are typically xml, and xml provides the parent() method to return the parent node. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Maciek Sakrejda Sent: Friday, April

Re: [flexcoders] Need Help For Designing Modular Application

2009-04-03 Thread R. S. Patil
Thanks Gregor Kiddie, You want to read up on the following articles http://livedocs.adobe.com/flex/3/html/help.html?content=modular_2.html http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_1.html http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_2.html

Re: [flexcoders] SDK 3.3 and flash.* imports

2009-04-03 Thread Nick Collins
I had something similar happen where I could no longer access the Graphics class. I couldn't use code completion with it, and in fact I couldn't even compile anything that was using it. Reinstalling Flex Builder then adding in the newer SDK did fix the problem though. On Fri, Apr 3, 2009 at 2:13

[flexcoders] Flash Player or IE bug

2009-04-03 Thread Steve Mathews
I ran into an issue and I think it is being caused by the Flash Player. The basics of the issue is that if you close a browser window while the player is downloading a file, sometimes it causes IE to completely quit working. Once this happens you have to close IE entirely to get it to work again.

Re: [flexcoders] Flex to Air comminication via LocalConnection - Error #2044

2009-04-03 Thread Mondain
Maybe my old post will help.. http://gregoire.org/2009/01/23/the-dreaded-2044-error/ On Fri, Apr 3, 2009 at 8:06 AM, ericbichara ericbich...@yahoo.com wrote: Hej Guy and Gals, I need some help getting localConnection to work. I have a Flex app running in the browser and an air app running

Re: [flexcoders] Re: Print existing documents in Flex

2009-04-03 Thread Paul Andrews
- Original Message - From: Amy amyblankens...@bellsouth.net To: flexcoders@yahoogroups.com Sent: Friday, April 03, 2009 10:57 PM Subject: [flexcoders] Re: Print existing documents in Flex --- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote: PrintJob won't print external

[flexcoders] Using later SDKs with Flex 3

2009-04-03 Thread Tony Obermeit
Hi I have a flex 3 licence but I see there is a flex 3.2 (and possibly later sdk). Will that work with my flex 3 flex builder? Do I need to download a whole new flexbuilder or just the sdk or do i have to pay more money to the good folks at Adobe?

Re: [flexcoders] Using later SDKs with Flex 3

2009-04-03 Thread Matt Chotin
You should be able to update your Flex Builder to 3.0.2, and then download the Flex 3.3 SDK from adobe.com (since there is no corresponding Flex Builder update). No need to pay anything, but you will need 3.0.2 for your 3.3 SDK to work. On 4/3/09 4:24 PM, Tony Obermeit t...@tamborine.to

[flexcoders] click search in other web

2009-04-03 Thread btc132
Hi all I want to send a request to other web to search auto. But i can't auto clock to its search button. You can advise me thanks

[flexcoders] sent request to other web

2009-04-03 Thread btc132
Hi all I want to send a request to other web to search automatically. But i can't automatic click to its search button. You can advise me thanks

RE: [flexcoders] sent request to other web

2009-04-03 Thread Tracy Spratt
We need more information. Are you trying to call an url? Are you submitting a POST? Or a GET? How are you communicating with the search website? Does it have an API? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

[flexcoders] LCDS -Transaction Error - Unable to access User Transaction in DataService

2009-04-03 Thread jitendra jain
Hi Guys,       I am getting this error . I looked at this following link   http://kb.adobe.com/selfservice/viewContent.do?externalId=6b82874fsliceId=2   But i don't know which configuration file they are talking about. Please help. Thanks, with Regards, Jitendra Jain Software Engineer