[flexcoders] Re: WebService in AS

2007-05-20 Thread hugocorept
Oh i get it, the error has in : public function readyHelloWorld():void{ // call web service function Is Ready webService.HelloWorld(myInput.text); } correct to :

[flexcoders] Re: WebService in AS

2007-05-20 Thread hugocorept
Here's the complete code if anyone is interest, if anyone disagree with anything reply me ;) [Bindable] public var webService:WebService; public function wsHelloWorld():void{

[flexcoders] multi-line text rows in a datagrid

2007-05-20 Thread simonjpalmer
Anyone tried to have more than one text line in a field in a row in a datagrid? I have a number of textual annotations provided by the user in multi-line TextArea controls at various points in my application and I want to show them all in a list. By default I just get the first line of text. I

[flexcoders] Re: Having really tough time with Data Services [EMAIL PROTECTED]!!

2007-05-20 Thread meteatamel
Another option is to set the binding yourself. So in this case, TextInput is binded to item.name but item.name is not binded back to the TextInput, so I'd create an explicit binding for that as follows: mx:Binding source=ti.text destination=item.name/ -Mete --- In flexcoders@yahoogroups.com,

[flexcoders] flexstore help

2007-05-20 Thread nikiokos
I have made a application based on flexstore,I would want some of the products which belong in more from one categories, but in 4 four columns view i want to see them just 1 time.if I register a product to xml data file for 2 times and i give to it different category,the product is presented

[flexcoders] Re: Technical Problems - Flex IDE Keeps Crashing, any ideas?

2007-05-20 Thread barry.beattie
I've just hit this also jvm terminated Error code = 1 - last 4 days FB2.01 been getting slower and more resource hungry - Mac 10.4, FB2.01 stand-alone - Eclipse is also falling over/won't start - same error - increasing the available memory (settings below) didn't help - only 2-3 projects

[flexcoders] Strange SWC behavior!

2007-05-20 Thread herklano
Hi, I have SWC component in Flex made in Flash, that has a this.stop(); command in the timeline of a MovieClip(MC). This command is working perfectly in Flash, but when i run Flex it doesn't work! I ended up adding an extra function in the class of the main MC that is called in the timeline and

[flexcoders] can i store a dynamically loaded image?

2007-05-20 Thread JClouz
I am grabbing images from an http service at runtime and displaying them in flex: myPic.load(url); Works great, the picture loads in. But after I load it in once, I'd like to store it so I don't need to query the http again if I need the image. (I'm making a buddy list type component that

[flexcoders] how to handle bindable XML data in Flex

2007-05-20 Thread mandalatv
I'm building a survey that's populated by remote XML, modifies the data, and sends the XML back out. I'm saving the XML into a custom AS3 class's [Bindable] survey:ListCollectionView (calling the class myModel below) and am setting it like this: myModel.survey = new

[flexcoders] display more data on a row from mysql

2007-05-20 Thread Ary
Hi All, i've succeded in displaying data from mysql (php) into datagrid, now i want to display more customize data in a single row and column, lets say like video playlist, u have title, short description duration, thumbnail, in a single cell (like youtube playlist), i try using mx:repeater it

[flexcoders] Re: can i store a dynamically loaded image? *SOLVED*

2007-05-20 Thread jpc14_99
This worked: var BuddyObject:object = new Object(); var loader:Loader = new Loader(); var u:URLRequest = new URLRequest(urlString); loader.load(u); BuddyOject.pic = loader; and then I reference it using BuddyPic.load(BuddyObject.pic.content); can't believe it works!

[flexcoders] Change the source of XML formatted data

2007-05-20 Thread portuguesedanny
Hi All, The following app displays and filters the data correctly, but I want to change the hardcoded XML data source to a HTTPservice source. I have a url that generates dynamic XML data, I just dont know how to change the hardcoded source to point to the dynamic source... Can anyone Help!

[flexcoders] Getting datagrid current data

2007-05-20 Thread Michel Scoz
Hi all... I have a datagrid that is populated with a XML... this datagrid has a drag and drop feature and it works fine. But I need to pass through all the datagrid items, get their respective IDs and save this order on a database. I just dont know how to pass through all the datagrid items to

[flexcoders] Advanced Flex Authentication - limiting a user to a sinlge logon of a gieven app

2007-05-20 Thread Amine Diab
Hi, I am trying to limit a user of a Flex application to a single logon with a Coldfusion back-end. I have used setRemoteCredentials and Cflogin/Cflogout successfully using roles, however I am at a loss of how I can limit a currently logged in user to a single flex session until he/she logs

Re: [flexcoders] Re: Skinning...

2007-05-20 Thread Scott Barnes
Woah that's a blast from the past :) and when I sent that it was for Flex 1.0 :) Scott. On 5/19/07, herklano [EMAIL PROTECTED] wrote: hi, i think these 2 sites that can give you some help on skining flex: http://www.scalenine.com/

[flexcoders] Smooth Preloader

2007-05-20 Thread herklano
Hi, Any tips on how to make a smooth preloader on Flex for an SWF, without the big jumps. Or instead is there a away to check if a SWF is already in cache? i'm trying to use this, but the problem is that when the ProgressEvent stops the animation is not complete: percent -=

Re: [flexcoders] Advanced Flex Authentication - limiting a user to a sinlge logon of a gieven app

2007-05-20 Thread Paul J DeCoursey
Might be able to accomplish that using Remoting, I don't think you'll be able to accomplish that on the web without some way of knowing for sure that the user has lost it's connection. Perhaps if you expire sessions after a very short time, like 30 seconds, and constantly ping the server from

[flexcoders] flexbuilder JVM questions (was :Technical Problems - Flex IDE Keeps Crashing)

2007-05-20 Thread barry.beattie
(pls note: this is on a Mac) I've at least got both Eclipse and Flexbuiler (stand-alone) to run up again by repointing the sym-link of [jre] Current to 1.6.0** but I got a word of caution from a friend while Eclipse will run on 1.6, but I don't think the compiler and some other parts work

[flexcoders] Proper setup of a Flex Data Services 2 application, with Java files

2007-05-20 Thread asherritt9
Hi everyone. I'm currently working on a project that uses Flex Data Service against a Java Hibernate-MySQL backend hosted on Tomcat 5.5. It's been a really long, hard road. Another develper is taking care of the backend in a mostly Java project. What is the best method to create the Flex

[flexcoders] Change hardcoded XML for dynamic XML source

2007-05-20 Thread portuguesedanny
Hi All, Can anyone help? It is probably something very simple :-s The following code works ok, but I need to change the source of the XML data... ### CODE # ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Re: Change hardcoded XML for dynamic XML source

2007-05-20 Thread barry.beattie
just checking: call the URL http://192.168.0.84/amfphp/stafflist.php just by itself in a browser (ignoring Flex). Does it come back as well-formed straight XML? Does it come back as SOAP (it shouldn;t)? just a thought... b PS: I've sent you code on how I do it [offlist], using the

[flexcoders] about including a code example in asDoc

2007-05-20 Thread arcencie1978
Hi guys, how can I include a code example into the asdoc? I've did something like /** * * @includeExample examples/Documenation_example.mxml **/ in one of my classes and put the actual sample file under the examples folder, which is in the same path with my source

[flexcoders] Secuity sandbox violation when SwfLoader is used to load swf file from a URL

2007-05-20 Thread ivansebastiansurya
Hi everyone, I wrote an application that has an SWFLoader to load another swf movie/application into the main application. The server where my sub application is served from already has the crossdomain.xml, letting any domain to access data from it. However, I got the following error message:

[flexcoders] Navigating away from a Tab

2007-05-20 Thread Flexing...
Hi All, I have a tab navigator each containing a form where user needs to fill some information. Now what I want to do is that if a user tries to move away from a Tab without completing or saving the information, I want to show an Alert (Changes will be lost if you navigate away from the

RE: [flexcoders] Secuity sandbox violation when SwfLoader is used to load swf file from a URL

2007-05-20 Thread Alex Harui
The sandbox rules when the main app is launched from the file system is different than when the main app is launched from a web server. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ivansebastiansurya Sent: Sunday, May 20,

RE: [flexcoders] Getting datagrid current data

2007-05-20 Thread Alex Harui
To scan all datagrid items, you take the dataprovider, call getCursor(), moveFirst(), and moveNext() (see IViewCursor). After each move the .current property points to another DG item. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] display more data on a row from mysql

2007-05-20 Thread Alex Harui
Read up on custom item renderers. You can use them to make any cell look like just about anything. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ary Sent: Sunday, May 20, 2007 10:17 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] can i store a dynamically loaded image?

2007-05-20 Thread Alex Harui
See SuperImage at www.quietlyscheming.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JClouz Sent: Sunday, May 20, 2007 11:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] can i store a dynamically loaded image? I am

RE: [flexcoders] Strange SWC behavior!

2007-05-20 Thread Alex Harui
Are you sure the stop() is in the SWC component and not outside it on the timeline? If it is in the component, how does it get called? Sounds like a scope problem. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of herklano Sent: Sunday,

RE: [flexcoders] multi-line text rows in a datagrid

2007-05-20 Thread Alex Harui
Set the wordWrap and variableRowHeight = true. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Sunday, May 20, 2007 3:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] multi-line text rows in a datagrid