[flexcoders] using dataservice with air and lcds

2007-09-30 Thread Joe
Hello all, I want to convert my Apollo application to AIR version. And I am using dataservice in apollo. It works fine. However, when I cannot compile the application under AIR. The flex builder always told me that, unable to resolve a class for ResourceBundle:data. How can I solve this problem?

Re: [Flexcoders]: Flex site not loading in Internet Explorer 6 (IE6)

2007-09-30 Thread Arpit Mathur
Do you have real player installed? Real Player sometimes ends up breaking Flex applications. On 9/28/07, devenhariyani <[EMAIL PROTECTED]> wrote: > > Hi guys, > > thanks for the feedback so far, I've been trying to debug this issue > for the last 4 days but I still haven't had any luck. I'm ne

Re: [flexcoders] radiobutton label and wordwrap

2007-09-30 Thread [EMAIL PROTECTED]
I tried this example and the Multiline RadioButton.as is giving me 1020: Method marked override must override another method. 3 times, one for each of the over rides. Method marked override must override another method. What does that mean ? Alex Harui wrote: > > Word wrapping cannot be easily c

Re: [flexcoders] actionscript class in Flex project

2007-09-30 Thread [EMAIL PROTECTED]
Your suggestion worked fine, thanks. I double checked my version and there are no errors. Here is my version which has AnimatedBall , an extention of sprite being used as a child of the Application, but has no errors, with the source code, if anyone's interested http://www.geotonics.com/examples/

[flexcoders] Passing a property of repeater item

2007-09-30 Thread Paul Steven
I can't figure out how to pass a property of a repeater item to a function This is what I am trying but it is not working Basically I want to pass the value linkrep.currentItem.title but what I have tried above does not work. Anyone suggest how I can do this. The label i

Re: [flexcoders] Passing a property of repeater item

2007-09-30 Thread Ralf Bokelberg
That is because the click is executed long after the repeater has done its work. You need to pass in a property of the button itself to displayHelpTopic, eg. the label. Cheers Ralf. On 9/30/07, Paul Steven <[EMAIL PROTECTED]> wrote: > > I can't figure out how to pass a property of a repeater it

[flexcoders] Observe Tag Problem

2007-09-30 Thread Kevin
I am trying to use the Observe tag to update the 'enabled' status of individual buttons in a button bar. The problem I am having is that the "Observe" functionality gets called before the ButtonBar is created. I am guessing the way around this is to check to make sure the ButtonBar is prese

Re: [flexcoders] Form in Dynamic State

2007-09-30 Thread [EMAIL PROTECTED]
This application basically now works. It creates forms with labels and any kind of input fields based on the given XML file. When you submit one form, the nex form is given untill the last form, which then POSTS the collected date to results.php. Each form eases off to the right while the next f

Re: [flexcoders] Runtime CSS problem with SWFLoader

2007-09-30 Thread Jason Y. Kwong
Yes, I had originally thought that you meant to load the CSS swf into the the current domain. However, StyleManager.loadStyleDeclarations() does not give the option of specifying a LoaderContext. It has a trustContent argument, but setting that to true fails when loading a local SWF (I've not tri

[flexcoders] Bind 'enabled' properties of ButtonBar to model

2007-09-30 Thread Kevin
To expand on a previous post, I am trying to find a elegant way to do this: (I am thinking there must be a simple solution to this.) I have a Button bar who's DataProvider is bound to an ArrayCollection of objects on the model: ({label:button1,enabled:false},{label:button2,enabled:true}) Sin

Re: [flexcoders] Bind 'enabled' properties of ButtonBar to model

2007-09-30 Thread Sheriff
if u do this instead that works ({label:button1, data:false} ,{label:button2, data:true} ) and then u can scan the data to see if u need to enable or not - Original Message From: Kevin <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Sunday, September 30, 2007 11:15:41 AM Subjec

Re: [flexcoders] Bind 'enabled' properties of ButtonBar to model

2007-09-30 Thread Kevin
I think I am missing something... not sure why this helps me to pass it as 'data' instead of 'enabled'. I still can't find a what to bind it automatically so that the change in the model with update the ButtonBar. Here is a sample app. Possibly you can show me what I am doing wrong. Tha

Re: [flexcoders] Bind 'enabled' properties of ButtonBar to model

2007-09-30 Thread Sheriff
all right, i am not an expert but i think you are going to need to extend the ButtonBar, override the createNav and create it so it looks for that variable and acts accordingly. the labels in the button bars are objects so u can disable them. sorry - Original Message From: Kevin <[EMAI

[flexcoders] Dynamically convert a String to a Class?

2007-09-30 Thread keith
I want to convert something like the String "mx.controls.ComboBox" to a Class. I would use this to declare components or other classes at runtime. *Please don't laugh at me* //== //In areas where I CAN do this... //- var test

Re: [flexcoders] Bind 'enabled' properties of ButtonBar to model

2007-09-30 Thread Kevin
thanks. Yes, that is an option... I guess I was looking (hoping) for a simpler approach... I'll keep exploring. - Kevin On Sep 30, 2007, at 1:08 PM, Sheriff wrote: all right, i am not an expert but i think you are going to need to extend the ButtonBar, override the createNav and create

Re: [flexcoders] Image manipulation tutorials

2007-09-30 Thread Jon Bradley
On Sep 29, 2007, at 12:53 AM, mailtoanzer wrote: Hi, I want to do some image manipulations like crop, resize, blur etc in my current Flex project. Can some one please point me to some open source project or tutorials for this. Thanks and Best Regards, Anz All of this is just actionscript prog

Re: [flexcoders] Dynamically convert a String to a Class?

2007-09-30 Thread Dave Carabetta
Check out the LiveDocs for getDefinitionByName(): http://livedocs.adobe.com/flex/201/langref/flash/utils/package.html Regards, Dave. Cynergy Systems On 9/30/07, keith <[EMAIL PROTECTED]> wrote: > > I want to convert something like the String "mx.controls.ComboBox" to a > Class. > I would use t

[flexcoders] HTTPService Error event

2007-09-30 Thread George Georgiou
Hi, I have this code. It works perfect but I would like to get alerted only when I have some kind of error in my test.cfm file. Instead, the 'errorAlert()' function always is triggered :( Any idea's on how to make this work only when I have problems in my test.cfmfile? http://www.adobe.com/200

Re: [flexcoders] HTTPService Error event

2007-09-30 Thread Scott - FastLane
George - I have not seen this syntax for passing request params to an HTTPService. Of course that doesn't mean it is wrong :) But, here is how I would do it. Change button definition to then public function callServer():void { var params:Object = new Object(); params.firstName = fi

Re: [flexcoders] HTTPService Error event

2007-09-30 Thread Sheriff
why not just use a webService, and then only show an error if something is wrong.? - Original Message From: George Georgiou <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Sunday, September 30, 2007 3:43:55 PM Subject: Re: [flexcoders] HTTPService Error event

Re: [flexcoders] HTTPService Error event

2007-09-30 Thread Scott - FastLane
George - I figured maybe the way you were passing params was incorrect and thus causing the fault event that you are catching. I don't use ColdFusion, I use Java Servlets on the back end. But, should be very similar. I get the fault event only when the servlet cannot be called at all. I u

[flexcoders] Freeze Flex Application

2007-09-30 Thread Kevin
Is there a way to freeze a flex application so that nothing can be executed both from a UI perspective and behind the scenes? I can create a modal Alert or PopUp to block user input, but I notice that code still get's executed behind the scenes and thus anything already initiated will get

Re: [flexcoders] HTTPService Error event

2007-09-30 Thread George Georgiou
Hi Scott, I have been through many Flex Tutorials but unfortunately our world lacks of tutorials for connectivity with ColdFusion. I am an experianced CF developer but unfortunately I cannot figure out how to proceed with data through Flex and CF. Indeed - your way is much easier to write and bet

Re: [flexcoders] Dynamically convert a String to a Class?

2007-09-30 Thread keith
Thanks Dave, For this code to work, a ComboBox must have already existed or been declared as a variable somewhere on the stage. Does this mean I have declare instances of all the components I might ever use dynamically ahead of time for this to work? //== //So far

Re: [flexcoders] Re: Automated UI Testing for FLEX (Help!)

2007-09-30 Thread Marvin Froeder
May be you can publish it on sf or google code? VELO On 9/29/07, twcrone70 <[EMAIL PROTECTED]> wrote: > > This sounds pretty much what I am currently doing with my extension to > Selenium for QA testing our Flex code. Where did you guys end up on > this? I've made pretty decent progress this m

Re: [flexcoders] Re: Flex code generator for webservice

2007-09-30 Thread Daniel Freiman
http://nondocs.blogspot.com/2007/05/mxrpcsoapwebserviceactionscriptexample.html On 9/29/07, muratt_cim <[EMAIL PROTECTED]> wrote: > > thank you for your answer we will take into consideration your > suggestions > > --- In flexcoders@yahoogroups.com , " > ben.clinkinbeard" > > <[EMAIL PROTECTED]

Re: [flexcoders] Dynamically convert a String to a Class?

2007-09-30 Thread Daniel Freiman
check the bottom of this post: http://nondocs.blogspot.com/2007/04/flexhowtoinstantiate-class-from-class.html - Dan Freiman On 9/30/07, keith <[EMAIL PROTECTED]> wrote: > > Thanks Dave, > For this code to work, a ComboBox must have already existed or been > declared as a variable somewhere on

RE: [flexcoders] Dynamically convert a String to a Class?

2007-09-30 Thread Alex Harui
You need to declare variables, you don't have to create instances. There is also the unofficial [Mixin} From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of keith Sent: Sunday, September 30, 2007 3:13 PM To: flexcoders@yahoogroups.com Sub

RE: [flexcoders] Freeze Flex Application

2007-09-30 Thread Alex Harui
Therer is no one api. What do you want to prevent? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: Sunday, September 30, 2007 2:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Freeze Flex Application Is there

RE: [flexcoders] radiobutton label and wordwrap

2007-09-30 Thread Alex Harui
Weird. Shou;d work. Are you using 2.0.1 hotfix 2? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Sunday, September 30, 2007 1:04 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] radiobutton label and wordwrap

RE: [flexcoders] Runtime CSS problem with SWFLoader

2007-09-30 Thread Alex Harui
My bad, I was looking at the 3.0 api. There is a separate issue that a subswf won't see the style changes after it has created its components. Both are fixed in 3.0 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Y. Kwong Sent: Su

[flexcoders] need ideas on what to do

2007-09-30 Thread Sheriff
so basically i want to learn more flex but there isnt any advanced stuff out there so i can understand more and i have no idea what type of projects to do, i read the flex manual and i get everything but i lack just knowing what is needed. For example, i am trying to duplicate the superTabNaviga

Re: [flexcoders] Freeze Flex Application

2007-09-30 Thread Kevin
the main problem I am having right now is that I have some popups that get created using the ObserveValue tags. I would like to be able to prevent these popups, but the problem is that once the values come back from DataServices in the background, they are being called via the ObserveValue

Re: [flexcoders] Freeze Flex Application

2007-09-30 Thread Sheriff
why dont u just add Listernes then for a popUpevent and just stop them or cancel them or u can just remove the listener - Original Message From: Kevin <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Sunday, September 30, 2007 10:06:48 PM Subject: Re: [flexcoders] Freeze Flex App

[flexcoders] compiler arguments to save action script code

2007-09-30 Thread essuark
Hello all, I remember back in the day when I started using Flex, I read there was an argument available to the compiler that would save the temp actionscript code. I can't seem to find that anymore. Anyone? thanks Ralph

[flexcoders] LCDS Samples on a CF8 instalation

2007-09-30 Thread Adrian Preoteasa
Hello everybody, I have CF8 installed with integrated LCDS but sadly this installation doesn't have the Samples installed like the stand alone LCDS. I tried merging web.xml / remoting-config.xml / services-config.xml (from both LCDS versions: CF8 integrated / stand-alone) to enable the CF8 integ

[flexcoders] Flash CS3 Components - Tweens in Flex

2007-09-30 Thread byte.sensei
I have some Flash CS3 animations (characters walking/running) that I have exported as Flex 2 components (SWC files) using the Flex Component Kit for Flash CS3. I create an instance of the component in Flex, then need to be able to have the character move to the mouse position when a user clicks

[flexcoders] Re: MultiPurpose ItemRenderer

2007-09-30 Thread droponrcll
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > I'm going to try to combine your other response as well. > > > > Yes, the repeater lets you dictate what the data items are and the same > is true for item renderers. Normally, you plug a collection or array or >

[flexcoders] Motion/Zoom Tweens on Flash CS3 Components

2007-09-30 Thread byte.sensei
I have a Flex app with some animated characters that (are supposed to) move around the screen when you click the mouse. The animations are done in Flash CS3, then exported as Flex SWC Components using the Flex Component Kit for Flash CS3. Initially, I used static JPG/PNG images for characters,

RE: [flexcoders] Use two DataBase tables values in a Datagrid

2007-09-30 Thread Terri J.
I did this by combining my tables, joined via SQL query and then passed the results back to the datagrid. -Terri J. > -Original Message- > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of jack4sol > Sent: Wednesday, September 19, 2007 5:18 AM > To: flexcoders@ya

[flexcoders] Resource help for beginner

2007-09-30 Thread Terri J.
Hi, I am new to Flex and am approaching it as a ColdFusion user. I have minimal programming knowledge but am willing to learn, I just need to know where to start. In reading through the postings, I see I am in way over my head at the moment and would like to know what would be best for me to learn

[flexcoders] Re: Dynamically convert a String to a Class?

2007-09-30 Thread Justin Winter
You would want to do something like this: getDefinitionByName("flash.display::Sprite") the "getDefinitionByName" function is in the "flash.utils" Package. Here are few good resources to check out too: http://livedocs.adobe.com/flex/2/langref/flash/utils/package.html http://www.kirupa.com/foru

[flexcoders] New Conference Annoucement - WEBMANIACS 2008

2007-09-30 Thread Steve Drucker
http://www.webmaniacsconference.com Call for papers is now online. Check it out! Regards, Steve Drucker CEO Fig Leaf Software Adobe / Google / WebSense / Paperthin Premier Consulting and Training Partners http://www.figleaf.com

[flexcoders] How to dynamically set editable cells in a datagrid?

2007-09-30 Thread jacobvoneyben
I would like to dynamically set the editable property for a cells in a datagrid depending on data in my dataprovider, but I don't see any easy way to accomplish this with the DataGrid as it is. Example: My databinded xml dataprovider structure looks like this: persons person @editableFirst

RE: [flexcoders] HTTPService Error event

2007-09-30 Thread Randy Martin
Just out of curiosity, why aren't you using flash remoting? ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sheriff Sent: Sunday, September 30, 2007 3:52 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTTPService Error event why not j

[flexcoders] Re: Dynamically convert a String to a Class?

2007-09-30 Thread hannes.stockner
var ClassReference : Class = getDefinitionByName("mx.controls.ComboBox") as Class; var displayObject : DisplayObject = new ClassReference(); addChild(displayObject); --- In flexcoders@yahoogroups.com, keith <[EMAIL PROTECTED]> wrote: > > I want to convert something like the String "mx.controls

[flexcoders] Chicago

2007-09-30 Thread grimmwerks
Geez just got into town and the whole place is asleep, can't even find a place to eat... This used to be the home of Wax Trax and Ministry? Where's everyone hiding?

[flexcoders] Flex Beta2 is up

2007-09-30 Thread Sheriff
just incase no one visits adobe site Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz

[flexcoders] Problem occur in flex client when using Axis 2...

2007-09-30 Thread chiew_yea
Hi all, I had one question to ask regarding web services in flex 2.Actually i trying to switch from XFire to Axis2.However, my flex client's codes work well when using XFire and it will hit an error when i trying to use Axis2.The error is as shown in the following:- TypeError: Error #1009: Cannot

Re: [flexcoders] Passing a property of repeater item

2007-09-30 Thread Paul Steven
Thanks Ralf Can you elaborate a bit more please How can I set a property of the button called "topicId". My I tried the following but it doesn't work topicId is a property of my arrayCollection that is th

[flexcoders] File Upload Error in mozilla

2007-09-30 Thread nsmmilind2002
Hi All, I am facing issue with Mozilla Firefox browser on https. We have Flex application hosted in tomcat secured mode (https) in which we provide the functionality of upload .csv file. Which works fine in IE but the same is not working in Mozilla it giving me the following error? Error #

Re: [flexcoders] radiobutton label and wordwrap

2007-09-30 Thread [EMAIL PROTECTED]
Sorry, I meant to mention, I'm using Flex Builder 3. Also, I noticed that the "extends button" was missing in the class name and that was the problem. I had some trouble setting up the files and in the process I must have deleted that. So ,in hindsite, "Method marked override must override anot

[flexcoders] Re: Freeze Flex Application

2007-09-30 Thread Sandeep Malik
While I believe stopping/halting system for some processing might not be a good solution, nevertheless, there's a 'mysterious' method in System class of Flex 3. System.pause() and System.resume(). (There're others like System.gc() etc). These methods, I think, have been newly added however, there'

RE: [flexcoders] compiler arguments to save action script code

2007-09-30 Thread Alex Harui
-keep From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of essuark Sent: Sunday, September 30, 2007 7:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] compiler arguments to save action script code Hello all, I remember back in

RE: [flexcoders] Re: MultiPurpose ItemRenderer

2007-09-30 Thread Alex Harui
Like I said, I'm trying to minimize my time per message and generally give short answers and leave out detail. Sounds like you're on your way and that's great. Normally, though I don't override data getter/setters in my renderers. I map the data to a type in commitProperties. But there are ex

RE: [flexcoders] Freeze Flex Application

2007-09-30 Thread Alex Harui
Because Flash is a single-threaded runtime, freezing is a bad thing, you can't interact with the app at all, and eventually you'll get an timeout error. Your users will be frustrated that they can't cancel or navigate elsewhere in your app. When will it be ok to show those popups? You want to

RE: [flexcoders] Flash CS3 Components - Tweens in Flex

2007-09-30 Thread Alex Harui
Please compile a debug version and show the whole stack trace. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of byte.sensei Sent: Saturday, September 29, 2007 5:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flash CS3 Componen