RE: [flexcoders] Can I access HTTP session variables in Flex without using Flashvars?

2007-03-06 Thread Piotrowski, John
The short answer is Yes you can use session variables instead or url variables. It depends on what scripting language you are using. For example, I use coldfusion and can pass url variables through FlashVars by accessing the variables using URL.VARIABL_NAME. I can easily replace this syntax to

[flexcoders] File Exploer and Java + JRun4

2007-03-06 Thread Cato Paus
Hi All :) I'm creating a File Explorer that grabs the files on your Java server, I have made it so far that I can get dirs and files and uploading and deliting files, and a viewer for img files and can run swf files inside the main app. I started out with Kevin Hoyt's FileExplorer in Flex 1.5

Re: [flexcoders] Php Sessions and Flex?

2007-03-06 Thread Tom Chiverton
On Sunday 04 Mar 2007, eyual wrote: Also If I wanted to save the position of all objects in a flex document so that when it reloads they look exact same how would I do that? You'll need to loop over the child list (and maybe any child lists of children in the list (etc)), and save the class

Re: [flexcoders] httpservice; ie and 2032 error

2007-03-06 Thread Tom Chiverton
On Monday 05 Mar 2007, dantmcgowan wrote: Hi, I am getting a 2032 (stream error )what I first hit my httpservice using internet explorer. This does not happen with firefox. Are you running over SSL/TLS ? -- Tom Chiverton Helping to evangelistically consolidate bleeding-edge clusters On:

Re: [flexcoders] [OT]Bugs of flash player 9 when rendering filtered and scrollRected object?

2007-03-06 Thread Tom Chiverton
On Monday 05 Mar 2007, iiley wrote: Sorry about this off topic post, i'v post this to adobe flex support forum, but no one replies, I think maybe some one else here have focused this problem before, so maybe there's suggestions of this problem: Don't use a Sprite, use something further up the

Re: [flexcoders] [OT]Bugs of flash player 9 when rendering filtered and scrollRected object?

2007-03-06 Thread iiley
Thanks Tom. Panel?? I just want to use flash player classes, not flex frameworks. Yes updateAfterEvent() is no need here, but comment it or not are same effects, nothing changes. -- iiley AsWing http://www.aswing.org Personal http://www.iiley.com

[flexcoders] Re: any interest in an alternative to QTP to automate Flex apps?

2007-03-06 Thread pmotzfeldt
Hi, since my message I have been able to create a simple adapter with the use of the ExternalInterface and Automation API to be able to perform actions on objects in a Flex application. My plan is to create the framework using Ruby, and maybe provide a recording GUI with Flex on top of it. This

[flexcoders] Re: crossdomain? image dragging

2007-03-06 Thread Paul Hastings
--- In flexcoders@yahoogroups.com, Troy Gilbert troy.gilbert@ image to use for dragging. Since the image was loaded from a different domain (that probably doesn't have a crossdomain.xml policy) you can only have the player display the image, you can't read from it or copy it. As a

Re: [flexcoders] [OT]Bugs of flash player 9 when rendering filtered and scrollRected object?

2007-03-06 Thread Ralf Bokelberg
Hi illey It seems like the screen doesn't get updated properly. I'm not sure, if it helps, but if you change your mouseHandler to the following, it works: container.visible = false; removeChild( container ); addChild( container ); Cheers Ralf On 06 Mar 2007 02:01:33 -0800,

Re: [flexcoders] [OT]Bugs of flash player 9 when rendering filtered and scrollRected object?

2007-03-06 Thread iiley
Thanks Ralf, haven't seen you for a long time. :) Well, your trick do works, in fact, if i set container.cacheAsBitmap = true, it will works too. I guess this is really a flash player bug, so, well, hope adobe can fix this. But before that, we should find a good trick to avoid it, right? Hmmm,

Re: [flexcoders] [OT]Bugs of flash player 9 when rendering filtered and scrollRected object?

2007-03-06 Thread Ralf Bokelberg
Yes, i got totally soaked into Flex. Not much time left for osflash. Setting container.alpha to 0 and back to 100 also works btw. I wouldn't expect that it is fixed anytime soon, because it is a really exotic problem. I'll try to forward it to the player team though. Maybe somebody is interested.

RE: [flexcoders] I want to write a tutorial

2007-03-06 Thread Shibli Zaman
I second Arun's suggestion. There needs to be more examples of consuming Web Services in Flex. Thanks --Shibli From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Arun Sadasivan Sent: Monday, March 05, 2007 12:28 AM To:

Re: [flexcoders] File Exploer and Java + JRun4

2007-03-06 Thread Michael Schmalle
Hi as a moderator, could you please only post questions pertaining to component development on flexcomponents, the question belongs on flexcoders. Also, please do not cross post on the two lists. Thanks, Mike On 06 Mar 2007 00:48:59 -0800, Cato Paus [EMAIL PROTECTED] wrote: Hi All :) I'm

[flexcoders] Datagrid with vertical text direction in headers

2007-03-06 Thread Mikhail Shevchuk
Hello, flexcoders. We tried to create an itemRenderer for that headers based on Label and TextField components applying rotation property. In this case, we got ugly offset effect and don't see any text at all. It just lifts up away. Using Rotate object we get better result - text showed in that

Re: [flexcoders] [OT]Bugs of flash player 9 when rendering filtered and scrollRected object?

2007-03-06 Thread iiley
Hi Ralf, Cool, Setting container.alpha to 0 and back to 100 really works, great, but the flex docs says that the alpha value is [0, 1], haha, this is a really trick or another bug? But it works, cool.~~ I'll try to forward it to the player team though. Maybe somebody is interested. Cheers

Re: [flexcoders] [OT]Bugs of flash player 9 when rendering filtered and scrollRected object?

2007-03-06 Thread Ralf Bokelberg
Oh no, what i ment is 1. But it doesn't work with 1 - hehe, really strange. Cheers Ralf. On 06 Mar 2007 03:36:31 -0800, iiley [EMAIL PROTECTED] wrote: Hi Ralf, Cool, Setting container.alpha to 0 and back to 100 really works, great, but the flex docs says that the alpha value is [0, 1],

[flexcoders] Scroll bar question

2007-03-06 Thread durnelln
Hi all, I am trying to tie a scroll bar to one of my components but it is not behaving as I would expect. For example, say I have the following scroll bar: mx:HScrollBar id=scrollChart width=100% minScrollPosition=0 maxScrollPosition=100 pageSize=100/ As the range is 0-100 and the pageSize

[flexcoders] Barcode component for Flex2

2007-03-06 Thread fritzdimmel
Hi! I got the Barcode component from Antonio I. Aguilar J. and ported it to Flex2. The component is able to draw type 128C barcodes. I add three files here, for Barcode generation (Barcode.as -- the drawing component itself, BarcodeGenerator.as -- the generator component which invokes Barcode.as

[flexcoders] I'm Confused about packages and class declaration

2007-03-06 Thread jairokan
Hi, Reading the Manual Programming Actionscript 3.0 in sction: Overview of Actionscript Programming Actionscript Language and Syntax Packages and Namespaces Packages: It says: ActionScript 3.0 allows you to include multiple classes in one source file, but only one class in each file can be

[flexcoders] Add an actionscript class as a library and initialize automatic?

2007-03-06 Thread pmotzfeldt
Hi, maybe it is not possible what im asking, but I will try anyway.. I have a class, which contains some methods that I make available through ExternalInterface. The problem is that I want to be able to provide this class as a library or something like that, to a bunch of Flex applications. And

[flexcoders] Sending form

2007-03-06 Thread RadicalByte
Hi All, This is my first post to the group, and is probably a stupid question.. I'm building my first flex application. It consists of the main application area and several forms. The main application area calls some web services via HTTPService and stores the resulting data in

[flexcoders] Question about Flex WebService

2007-03-06 Thread snowedice
Hi, Experts, please help me to see what is wrong here, thanks a lot!! I've created a simple programe to test the flex WebService. But it always pop out [RPC Fault faultString=[MessagingError message='Unknown destination 'defaultWSDL'.'] faultCode=InvokeFailed faultDetail=Unable to load

Re: [flexcoders] CF flex2gateway vs JavaAdapter

2007-03-06 Thread Rich Tretola
I wasn't really talking about the power of CF as I have been developing CF for almost 10 years now. It was more a question about the different gateways and their speed. I know they are both AMF but is there any internal differences between accessing local java class files running on the same

[flexcoders] Re: Flex 2/AS3 Garbage Collection - Looking for additional information

2007-03-06 Thread dkhvost
i have all of the same issues and still haven't found a solution. --- In flexcoders@yahoogroups.com, John Crosby [EMAIL PROTECTED] wrote: We have had issues with garbage collection in the past and have read and re-read the Grant Skinner articles but was wondering if anyone else had some

Re: [flexcoders] Embedded fonts in dynamic text

2007-03-06 Thread Chris Backiel
This seems like a pretty straightforward problem. Maybe the subject looked too much like spam before, so I've fixed that ;-) When I embed the font I can use it in components, but it doesn't show up within text entered into a textarea component (or any component that accepts htmlText). It

[flexcoders] Re: Not able to generate GUID

2007-03-06 Thread scott_flex
Shaun, Thanks for the reply, good to hear some strong objections. First, i'm 99.9% sure this is the only app that will be generating ids for this database, but i do agree with that point. I have full control over all apps that would ever generate PKs for my db, i can make sure they won't

RE: [flexcoders] Sending form

2007-03-06 Thread Dimitrios Gianninas
Some answers: 1) Once u created the pop-up, just pass it the data it needs: var win:MyPopUp = PopUpManager.create( ... ); win.myData = someArrayCollection; 2) Once the OK button is pressed, set the data to some global modal that will then be used by the main app (see Cairngorm for this as

[flexcoders] Re: Not able to generate GUID

2007-03-06 Thread Paul DeCoursey
--- In flexcoders@yahoogroups.com, scott_flex [EMAIL PROTECTED] wrote: Shaun, Thanks for the reply, good to hear some strong objections. First, i'm 99.9% sure this is the only app that will be generating ids for this database, but i do agree with that point. I have full control over

[flexcoders] Re: Flex builder stability?

2007-03-06 Thread pgp.coppens
Thanks Tom. It does help. I now have -vmargs -Xms128m -Xmx1024m and it keeps running longer. I still get out of memory errors but only when combining what I think are memory intensive actions like debugging a servlet and working in the flex design view (although I only have extremely simple

Re: [flexcoders] CF flex2gateway vs JavaAdapter

2007-03-06 Thread João Fernandes
Rich, unfortunately if you work with Arrays of VO's you'll see that CF is lacking of performance comparing with Java. This is related with the overhead of creating CFCs. Adobe is aware of the current low performance of CF when dealing with thousands of VO records. João Fernandes

[flexcoders] Re: Special characters after end tag of XML document (HTTPService issue)

2007-03-06 Thread klumikaze
Thanks Peter I have implemented the URLLoader method as suggested, and unfortunately I am still experiencing the same issues. I'm really starting to think this could be on the Java end of things -- anybody have any insight there? We have set the character encoding of the servlet to UTF-8

RE: [flexcoders] Drag Drop Compiler Bug/Problem

2007-03-06 Thread Stephen Gilson
One thought is that the doc specifies to use a container as a drop target, you must use the backgroundColor property of the container to set a color. Otherwise, the background color of the container is transparent, and the Drag and Drop Manager is unable to detect that the mouse pointer is on a

[flexcoders] Re: Can I access HTTP session variables in Flex without using Flashvars?

2007-03-06 Thread thegators_2002
Thanks, John, it helped me to ask better questions. The main application is an ASP.NET app, and there is a link on a page to the HTML page that is holding my Flex SWF. I was opening the HTML page with a query string built in the aspx page. What I was wondering is if I could put some syntax in

Re: [flexcoders] Flex Player 9's (Flex 2) Memory Usage - What's Normal?

2007-03-06 Thread Fabio Terracini
Speaking on Modules, I might suggest you an hybrid approach. If you load ModuleA, then load ModuleB and load ModuleA again (either by ModuleLoader or by SWFLoader), you'll end with two ModuleA loaded up into memory - you can confirm this by placing a Timer to output a trace (it's really hard to

[flexcoders] Authentication - Kerberos

2007-03-06 Thread mindmillmedia
Has anyone had any experience authenticating via a Kerberos server in a Flex application (with a Coldfusion MX7 Enterprise Backend)? It is hard for me to even find examples of Coldfusion + Kerberos. I am on a machine that is Kerberized and I also have mod_auth_kerb. I have one inefficient way

[flexcoders] Re: Authentication - Kerberos

2007-03-06 Thread craig.drabik
Java has a class for dealing with Kerberos - http://java.sun.com/j2se/1.4.2/docs/api/javax/security/auth/kerberos/package-summary.html Have a look at that, as it should be pretty straightforward to use it from CF. --- In flexcoders@yahoogroups.com, mindmillmedia [EMAIL PROTECTED] wrote: Has

[flexcoders] RTMP stops working

2007-03-06 Thread graysonpierce
Hello, I was wondering if anyone else has encountered a problem where managed relationships with the Hibernate Assembler stop working all of a sudden through RTMP but still work through AMF? We're unable to debug since no error messages are produced by FDS or the client application. The symptom

[flexcoders] Re: httpservice; ie and 2032 error

2007-03-06 Thread dantmcgowan
Tom, Yes I am running under ssl. I did get a response back suggesting I take a look at the response headers, particularly for pragma: no cache or expires. I was also given this link for reference: http://support.microsoft.com/kb/323308 Would appreciate any additional insight. I will post my

Re: [flexcoders] Authentication - Kerberos

2007-03-06 Thread Tom Chiverton
On Tuesday 06 Mar 2007, mindmillmedia wrote: Has anyone had any experience authenticating via a Kerberos Kerb. is often backed by LDAP - could you use that directly, if so ? -- Tom Chiverton Helping to advantageously incentivize fourth-generation designs On: http://thefalken.livejournal.com

RE: [flexcoders] image hotspots

2007-03-06 Thread Matt Horn
I think what you'll want to do is use the local x and y properties of the mouse in the mouse's click event handler. let's say you have a box with coordinates 0,0 to 10,10 doing one thing and 10,0 to 20,10 doing something else; you would do something like: image click=onClickHandler(event)/

[flexcoders] Difficulties setting up custom Tab Order

2007-03-06 Thread lokesh.dhakar
Example form in which the tab order by default flows as such: topTextInput to cancelBtn to saveBtn to bottomTextInput mx:Form mx:FormItem mx:TextInput id=topTextInput/ /mx:FormItem mx:FormItem direction=horizontal mx:LinkButton id=cancelBtn

RE: [flexcoders] Re: Special characters after end tag of XML document (HTTPService issue)

2007-03-06 Thread Peter Farland
You could use an HTTP sniffer to prove that the content is coming from your servlet. As for a cause, I would look at the code writing to the response stream, whether you're flushing the buffer when you're finished, whether you're writing to the stream using a different encoding, whether you're

Re: [flexcoders] image hotspots

2007-03-06 Thread Doug McCune
I was just talking to someone here at 360Flex last night about this. Basically he wanted a component that was the same as an image map in HTML, so you could specify different areas with points, and a specific URL for each one. I'm going to work on trying to build this component, hopefully it

Re: [flexcoders] Re: Not able to generate GUID

2007-03-06 Thread Troy Gilbert
Oh... I should offer one last piece of advice. I went through all of the hoops of generating the UUIDs because I wanted to avoid having a central 'id' authority in either my application or on the server (this was for persisting references between objects)... in the end, I took a critical look at

Re: [flexcoders] Re: Not able to generate GUID

2007-03-06 Thread Troy Gilbert
Yeah, I'd recommend that your tables always have an independent primary 'id' key that has no significance or ties to your business logic (other than to uniquely identify a row in your table). The Ruby on Rails guys really promote this as well and use the universal convention of the first field in

[flexcoders] Flex Data Services on Amazon EC2

2007-03-06 Thread Mark Lapasa
For those familiar with Amazon's Web Services (the side of the company that doesn't sell books), do you know if it is possible to have Flex Data Services Express Edition running under an instance of Amazon Elastic Compute Cloud (EC2)? The idea of having the server-side operations handled for

[flexcoders] Overlaping tabs - is it possible ?

2007-03-06 Thread pitziilu
Hello. I am trying to make some tabs that are overlaping.. I extended the TabBar flex's default component, put a horizontalGap of -10. The problem is that the tabs overlap in a different order. I want the first tab on the last level of the display list, so it's not overlaped by the the second

Re: [flexcoders] Flex Data Services on Amazon EC2

2007-03-06 Thread hank williams
Sure, that is what EC2 is for. The only thing to be aware of is that EC2 only runs linux instances. Of course this is not a problem for FDS of course but just an FYI. However, the big benefit of EC2 is inifinte scalability, and FDS express edition will not allow you to run multiple instances. In

[flexcoders] Re: Special characters after end tag of XML document (HTTPService issue)

2007-03-06 Thread klumikaze
Peter, We've installed TamperData for Firefox and we've done some extensive testing with it to see if the special characters exist in the HTTP responses. We have been unable to reproduce the problem there. We have tried setting the content length header accurately based on the data the

[flexcoders] Cross-domain loading module to local application

2007-03-06 Thread patatlondon
Crying for help! I've spend loads of time trying to solve the problem. Googling doesn't give any solutions, so it's time for the experts :) I need application running on local machine (swf file on Desktop) to download a module from server and display it. So far I can download it, set the

Re: [flexcoders] How to highlight a bar serie from a bar chart when the mouse is over the chart ?

2007-03-06 Thread Brendan Meutzner
Hi Claude, Look into itemRenderers for you series objects. Ely Greenfield has examples on quietlyscheming.com of using itemrenderers in series, you'd just need to hookup the mouseover functionality to change their colors. Let me know if you need further clarification. Brendan On 05 Mar 2007

RE: [flexcoders] Re: Special characters after end tag of XML document (HTTPService issue)

2007-03-06 Thread Peter Farland
I don't believe there is a maximum length (or at least the length you describe is surely not a problem in itself), however if you are using chunked encoding then the length of the document will change the way the data is sent (i.e. chunked or not). On reading that you were dealing with chunked

[flexcoders] Re: cairngorm strategy question

2007-03-06 Thread JWOpitz
Oooh good call. I forgot about these little helpful tools. But Hank, I think you nailed it on the head. There are no wrong answers. Given the fact that you have thought about this as thoroughly as you have, I am sure that you will find the best solution for you and your app no matter what

RE: [flexcoders] Another data binding question - on class 'XML' (class is not an IEventDispatcher)

2007-03-06 Thread Tracy Spratt
Hey, Julien, did you figure this out yet? I just noticed it in my trace log. And oddly, I do not get the warnings in FlexBuilder. Perhaps it is a spurious warning? The archives don't show any definitive solution. I'm still looking. Tracy From:

RE: [flexcoders] Not able to generate GUID

2007-03-06 Thread Gordon Smith
What are your concerns regarding createUID()? - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of scott_flex Sent: Monday, March 05, 2007 4:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Not able to generate GUID Is

[flexcoders] DataGridColumn headerText Runtime Exception , a Flex bug ?

2007-03-06 Thread jmorpher03
Hi, I am getting a runtime error stating : TypeError: Error #1010: A term is undefined and has no properties. This happens when I try to set the headerText for a dynamically created DataGridColumn which contains spaces and special characters. For ex: var myDGCol:DataGridColumn = new

[flexcoders] Re: Authentication - Kerberos

2007-03-06 Thread mindmillmedia
In this case LDAP is not an option (I wish it was). However, from my reading the Java Object method seems to be valid. I must admit, I am almost totally ignorant of Java - so I guess I will hit the books. If anyone has any good input on where to start with Developing the Java object to use to

Re: [flexcoders] DB access in Apollo

2007-03-06 Thread Abdul Qabiz
Great. eLearning applications and occasionally connected clients would benefit from it. Some projects in India, for rural-internet-connectivity, can be done faster. Where some computers in different villages get connected to Internet (via WIFI access-point setup on moving school bus) for an

Re: [flexcoders] Re: Populate ComboBox from database - NOT using Flex Data Services

2007-03-06 Thread rottmanList
Whenever you use a remote object you don't set the event type of the function to an Object you set it to ResultEvent so your result function needs to look like this private function getJobResult(event:ResultEvent):void{ Secondly I think the first thing you should do is see if you are actually

[flexcoders] Re: any interest in an alternative to QTP to automate Flex apps?

2007-03-06 Thread brian.knorr
Right now we are using as3 as the scripting language to automate flex apps. Since your scripts deploy with the app in the Flash Player you have direct access to all the components on the ui which you can control through normal actionscript calls. We are also providing an api that will allow you

Re: [flexcoders] Flex Data Services on Amazon EC2

2007-03-06 Thread Mark Lapasa
Thx Hank! I'm looking forward to using EC2 as a public testing ground. -mL http://knowledge.lapasa.net hank williams wrote: Sure, that is what EC2 is for. The only thing to be aware of is that EC2 only runs linux instances. Of course this is not a problem for FDS of course but just an FYI.

Re: [flexcoders] Re: cairngorm strategy question

2007-03-06 Thread hank williams
jwopitz, Thanks for the feedback. I definitely would not use cairngorm just for this feature, but my app is already fairly large and is based around cairngorm. Thats why I have been trying to think about the best way I might implement this with it. Regards, Hank On 3/6/07, JWOpitz [EMAIL

RE: [flexcoders] Another data binding question - on class 'XML' (class is not an IEventDispatcher)

2007-03-06 Thread Tracy Spratt
Correction, the warnings do show up in FB after all. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Tuesday, March 06, 2007 1:11 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Another data binding

[flexcoders] FDS and single items

2007-03-06 Thread Darren Houle
I am developing my first FDS application. It's small, and basically just a big form comprised of about 75 fields; radio groups, comboboxes, text inputs, etc. Each time a new form is submitted it creates one row in a large table. The form can be retreived and edited later, which just updates

[flexcoders] ExternalInterface Bug

2007-03-06 Thread gtuhl
I hope this isn't a bug and I am just doing something wrong. The situation is we have an object that looks like this (JSON notation): pre mainObject = { id: 1234, name: mainObject Name, control: mainObject Control, subObject: { id: abcd, name: subObject Name,

[flexcoders] Drag Drop Question

2007-03-06 Thread jmfillman
I'm using a Canvas as a Drag/Drop target for multiple items. I drop the first item, from a List, between (0,0) and (50,100). My logic moves the item to (0,0) and sets width=100 and height=50. Now, I drop another item between (0,0) and (50,100), with the same width and a height=300. However,

[flexcoders] cacheAsBitmap - does anyone know?

2007-03-06 Thread Guy Morton
I've created an mxml component that uses a canvas object and writes a graphic on it based on some input parameters. This graphic is then animated over a bitmap background. If I set cacheAsBitmap on the graphic's canvas to true, then rotate the canvas, am I improving performance? Or does the

[flexcoders] Re: ExternalInterface Bug

2007-03-06 Thread gtuhl
There is a typo in my post. The control property for subObject should be named subObjectControl. The purpose of it was to have a differently named property to demonstrate that the issue is specific to same-named properties. Sorry about that, Joe --- In flexcoders@yahoogroups.com, gtuhl [EMAIL

[flexcoders] Re: Not able to generate GUID

2007-03-06 Thread scott_flex
My initial concerns was that it would give a true GUID. This statement from the Flex Live docs on adobe.com states: This UID will not be truly globally unique; but it is the best we can do without player support for UID generation. Maybe i'm reading that wrong... but i'm not getting the

Re: [flexcoders] Re: Announcing FlexLib - open source flex component library

2007-03-06 Thread Guillermo Villasana
I undertand about having a lot of work :). I have used the wiki to generate the flexlib project, I also installed subclipse and I was able to download all the files, but now I get the following error 1045:Type was not found or was not a compile-time constat:IMenuBarItemRenderer is there

Re: [flexcoders] Re: Not able to generate GUID

2007-03-06 Thread Troy Gilbert
According to the docs, UID uses timestamps and the built-in random number generator. These two alone do not officially qualify the UID as *globally* unique as it is possible, however unlikely, that two users could generate UIDs at the same time and happen to generate similar random numbers

RE: [flexcoders] Re: Not able to generate GUID

2007-03-06 Thread Gordon Smith
createUID() uses ActionScript's Math.random() to generate 24 of the 32 bytes of the UID; the other 8 are determined from the current date-time. The chance that these UIDs wouldn't be good enough for database keys is very small. But just in case, couldn't you simply call createUID() again if the

Re: [flexcoders] DB access in Apollo

2007-03-06 Thread Impudent1
Russell Sprague wrote: I vote for MySQL. Agreed Impudent1 LeapFrog Productions

Re: [flexcoders] Re: Announcing FlexLib - open source flex component library

2007-03-06 Thread Doug McCune
I think this is from the 2.0.1 update to the Flex framework. You need to upgrade to Flex 2.0.1 for the flexlib library to work. Go get the update and try to recompile. Doug On 06 Mar 2007 13:57:40 -0800, Guillermo Villasana [EMAIL PROTECTED] wrote: I undertand about having a lot of work

RE: [flexcoders] FDS and single items

2007-03-06 Thread Peter Farland
I think you want to look for FDS documentation about a Single Managed Object. I believe instead of using the DataService.fill() API, you use DataService.getItem()/DataService.createItem() APIs. http://livedocs.adobe.com/flex/2/langref/mx/data/DataService.html Also, Lin Lin mentioned SMOs on

Re: [flexcoders] DB access in Apollo

2007-03-06 Thread Muzak
SQLite ;-) http://www.sqlite.org/ - Original Message - From: Russell Sprague [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, March 05, 2007 5:09 PM Subject: Re: [flexcoders] DB access in Apollo I vote for MySQL.

[flexcoders] Re: Not able to generate GUID

2007-03-06 Thread scott_flex
Well.. i appreciate all the clarification on how the UID is generated. That certainly builds my confidence that it will stay unqiue... and even at that these ids will be split between different tables in my database so that further decreases the chances of collision. And the UID's can be

RE: [flexcoders] Datefield inconsistencies? Or is it just me!

2007-03-06 Thread Peter Farland
Correct Gordon and Shannon, the cause is that when ColdFusion serializes a Date (or whatever the Java type ends up in the result of the CFQUERY) it converts the value into SOAP using the XML Schema dateTime as it would be in the UTC timezone (you can tell as it appends a Z suffix to tell the

RE: [flexcoders] Re: Not able to generate GUID

2007-03-06 Thread Gordon Smith
Any reason why Flex/Actionscript can't use the MAC address or the CPU's information to get a true GUID? The Flash Player doesn't currently give access to this information. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Detach webcam

2007-03-06 Thread Evan Bellinger
How do I detach a webcam? If I use this snippet (from http://newmovieclip.wordpress.com/2006/05/26/take-a-webcam-snapshot-in-flex-20-beta-3/) public function insertWebcamVideo():void{ ... var camera:Camera = Camera.getCamera(); video = new Video(camera.width*2, camera.height*2);

[flexcoders] exposing CFC's as web services

2007-03-06 Thread jaroot
I'm new to flex development and I'm just trying to do a simple data pull from a cfc using a web service. Query Result Function.. public function handleQueryResult(event:ResultEvent):void{ qResult=event.result as ArrayCollection; } Web Service.. mx:WebService id=myService

[flexcoders] Custom itemRenderer inherit font styles

2007-03-06 Thread tobydeh
Hi Guys, I have a custom itemRenderer that I am using with an MX:List component. I need the itemRenderer to inherit the color style from the list's parent. Is there a special trick to tell the itemRenderer to inherit styles? I cant seem to find any information on the subjcet. Thanks in

Re: [flexcoders] exposing CFC's as web services

2007-03-06 Thread Muzak
Do a trace in the result handler, using mx.utils.ObjectUtil public function handleQueryResult(event:ResultEvent):void{ trace(mx.utils.ObjectUtil.toString(event.result)); } run in debug mode. If I had to guess: You're probably returning a cfquery from a DB. If so, when accessing a cfc as

[flexcoders] Slideshow problem: Preloading a hidden image resets its visible property

2007-03-06 Thread Tony Wu
Hi I am creating a slideshow that display images from a RSS feed. It has two images overlapping each other. The logic is simple: When one image is shown, I preload the next image in the hidden second image, then I flip them on a timer with fade in/out effects. The problem I have is: For the

[flexcoders] AMFPHP Question -- Flex 2

2007-03-06 Thread Mike and Stephie
Hi People ! Just following through Mike Potter's example of integrating AMFPHP with Flex2, notice that with the following code http://www.adobe.com/devnet/flex/articles/flex2_amfphp_03.html Flex cannot recognize the gateway = new RemotingConnection( http://localhost/flex/php/gateway.php; );

[flexcoders] Re: Invoking RemoteObject method - Type Coercion error

2007-03-06 Thread moonusamy
The problem turned out to be (as you and one other person pointed out as one of the possible reasons) that the returned object was not really of type Expr. Expr was defined as an interface and the remote object method was returning an instance of ExprImpl with ExprImpl type implementing Expr.

RE: [flexcoders] Re: Can I access HTTP session variables in Flex without using Flashvars?

2007-03-06 Thread Piotrowski, John
Someone else may correct me but I think you have part of the solution. I don't think that you need the GUID but I do think you need to have an ASPX page that houses the SWF. I haven't done much .NET programming except a little in C# and this might not be the exact way to do it. So I

[flexcoders] Dynamically created DataGrid - not showing data

2007-03-06 Thread moonusamy
My app is as follows: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=initApp() mx:Panel id=panel1/ /mx:Application In the initApp() function I add a DataGrid child to panel1 as shown below. When I run this I can see the column headers but not the column

[flexcoders] Drawing in Flex

2007-03-06 Thread schmaltsyman
I need to replicate the image mapping functionality of Dreamweaver inside a Flex app. Everything in regard to doing this is pretty simple with the exception of drawing shapes. While I know how I might do this in Flash, how might you allow a user to draw a shape in Flex past addChild()?

RE: [flexcoders] FDS and single items

2007-03-06 Thread Dimitrios Gianninas
And then use the DataService.dataStore.mergeRequired property to know when another client has had changes to the current data entity and then call DataService.dataStore.merge() to take in the changes if u want. Dimitrios Gianninas Optimal Payments Inc. -Original Message- From:

[flexcoders] Re: Another data binding question - on class 'XML' (class is not an IEventDispa

2007-03-06 Thread coderjun
All, I was troubleshooting this binding warning the other day myself and ran across this blog - that at least in my case - addressed the issue, complete with a detailed explanation and code examples. The key is using an ObjectProxy. http://blog.wheelerstreet.com/?p=16

[flexcoders] Re: cairngorm strategy question

2007-03-06 Thread Russell Munro
I ran into this similar problem with a mapping application I am creating. There was allot of calculations require to render the map image that were: - nothing to with services - were too small to pass through the cairngorm micro-architecture - were definitely not part of the view I umm

[flexcoders] Re: [OT]Bugs of flash player 9 when rendering filtered and scrollRected object?

2007-03-06 Thread iiley
OhNo, seems no one care about this big killer issue, sadly. This issue killed my big design of my frameworks, i'v send this to adobe too, no one replie either .. ... 2007/3/5, iiley [EMAIL PROTECTED]: Hi list, Sorry about this off topic post, i'v post this to

Re: [flexcoders] image hotspots

2007-03-06 Thread Mrinmoyee Sanyal
Ok, will try out Matt's workaround while waiting for Doug's component :) Thank you -MS On 06 Mar 2007 08:35:01 -0800, Doug McCune [EMAIL PROTECTED] wrote: I was just talking to someone here at 360Flex last night about this. Basically he wanted a component that was the same as an image map

Re: [flexcoders] cacheAsBitmap - does anyone know?

2007-03-06 Thread Patrick Mineault
You should only use cacheAsBitmap if you plan on modifying x, y, and alpha properties of a sprite. Changing rotation or scale means that the cache will be reset, so you will have worse performance. Adding a filter to anything sets cacheAsBitmap to true on it, but not on any of its children.

[flexcoders] Re: DB access in Apollo

2007-03-06 Thread steve_benfield
So if we install our own DB with Apollo, how does Apollo communicate with that DB? From what I've heard there is no native DLL access in Apollo, so how is this going to work? Will I also have to install an app server as well to recieve web service calls? Our app requires a complex data set and

Re: [flexcoders] cacheAsBitmap - does anyone know?

2007-03-06 Thread Guy Morton
Thanks Patrick. That's pretty much what I suspected would be the case. Guy

[flexcoders] Re: DB access in Apollo

2007-03-06 Thread jason_williams_mm
--- In flexcoders@yahoogroups.com, Impudent1 [EMAIL PROTECTED] wrote: Russell Sprague wrote: I vote for MySQL. Agreed Impudent1 LeapFrog Productions Are there specific reasons why you want or need MySQL?

Re: [flexcoders] Re: DB access in Apollo

2007-03-06 Thread Jason King
Having a stand-alone environment that can connect to a database is handy for lots of kinds of applications. If we're having a wish list here, how about the ability to use jdbc drivers and include some local db + drivers, maybe derby or sqllite. Maybe I'm having flashbacks (pardon the pun) to my

[flexcoders] Re: RTMP stops working

2007-03-06 Thread graysonpierce
Further to this issue. Is there any reason why the app would initially start on RTMP and after the initial load revert to AMF if the RTMP port (2038) is open? --- In flexcoders@yahoogroups.com, graysonpierce [EMAIL PROTECTED] wrote: Hello, I was wondering if anyone else has encountered a

  1   2   >