RE: [flexcoders] A persistent logon system in flex?

2008-03-24 Thread Rick Winscot
Just remember that the shared object is a plain-text storage device and by default its contents are not encrypted. Hashing would help - but will only deter the casual/inexperienced hacker. A hardened approach will require more design time. Since the shared object is essentially cookies for Flash. I

Re: [flexcoders] Re: AMFPHP MySQL Results Object

2008-03-24 Thread Daniel Tse
Thanks Aaron, I'll see what I can look up on the RemoteObject as well. CaffeineWabbit, Thanks for the pointers. I saw that Mike Potter's AMFPHP example also created a php array instead of using the mysql results object but... I noticed on the AMFPHP browser page it can actually create a table ba

[flexcoders] Help -- ArgumentError on SharedObject.getLocal call

2008-03-24 Thread rkbeach
Hi All, I have 3 web applications...in 2 of them, in an init method ("creationComplete=init()")of the application mxml file, I invoke the SharedObject as follows var appSO:SharedObject = SharedObject.getLocal("roleObjectFile","/"); Now, I am modifying the init method in the 3rd web application.

[flexcoders] creating MXML components with new-operator in ActionScript

2008-03-24 Thread mavdzee
Hi, I have noticed that when I create an MXML component in ActionScript, that the children of the MXML component are not created until I add it as a child of another component. Is there any way to force creation of children before it is added? I tried playing with creationPolicy and createComponen

[flexcoders] arraycollection and tree

2008-03-24 Thread Luke Vanderfluit
Hi. I am using remoteobject to get stuff from a database (java/mysql). I want to represent the List, generated on the server side and sent to the client as an arraycollection, as a tree. Does anyone have examples of how to do this. I have been reading the online docs but Im making very slow pro

RE: [flexcoders] Mouseover Underline on Text

2008-03-24 Thread Alex Harui
You can use a:hover in a flash.text.StyleSheet. http://www.adobe.com/2006/mxml"; layout="vertical" > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Anuj Gakhar Sen

RE: [flexcoders] Re: Unable to view the TreeNode after adding the ArrayCollection Elements..

2008-03-24 Thread Alex Harui
Other folks have complained about the XML to object conversion. Start adding trace statements to see if your data is coming over correctly. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sk_acura Sent: Monday, March 24, 2008 3:44 PM To

Re: [flexcoders] What's this Called?

2008-03-24 Thread Muzak
square bracket notation http://www.google.com/search?hl=en&q=square+bracket+notation&meta= array access operator http://www.google.com/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=array+access+operator&spell=1 regards, Muzak From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Dealing with Lists and Complex ArrayCollection

2008-03-24 Thread Alex Harui
1. labelField="title" 2. You might be able to use a variant of the HTML renderer on my blog. Remember that Flex can't handle every HTML tag. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djhatrick Sent: Monday, March 24, 2008 4:15

RE: [flexcoders] dataGrid - Column width

2008-03-24 Thread Alex Harui
Sure, but you'll have to visit every dataprovider item and call measureText() on its text. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Monday, March 24, 2008 5:38 PM To: flexcoders@yahoogroups.com Subject: [flex

[flexcoders] Any tutorial about getting started with Flex, BlazeDS and Spring... FROM SCRATCH?

2008-03-24 Thread Sebastien ARBOGAST
I've just read both tutorials from Christophe Coenraets: http://www.adobe.com/devnet/livecycle/articles/blazeds_gettingstarted.html http://www.adobe.com/devnet/livecycle/articles/blazeds_spring.html And the big issue is that none of those tutorials explain how to start up a real Flex/BlazeDS/Sp

[flexcoders] How do I remove an effect?

2008-03-24 Thread Josh McDonald
Hey guys, How do I remove an effect? stop() and end() both just stop the effect, rather than getting rid of it. Do I have to go and remove the filter by hand (it's a glow Effect)? -J -- "Therefore, send not to know For whom the bell tolls, It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437

[flexcoders] Re: lcds / fds release collection problem

2008-03-24 Thread foobone9
Unfortunately I already tried releaseCollection(.., true); and the results were the same. In my test scenarios there are no other references to the data outside the collection passed to releaseCollection. Beyond my test scenarios it would be possible to have multiple references in which case I wou

RE: [flexcoders] Re: Flex 3: Cloning WebService instance

2008-03-24 Thread Randy Martin
You really need to take a look at the webservice introspection wizard in FB 3. The code it generates handles asynchronous calls to the webservice automatically. Click on the Data menu and select Import Web Service (WSDL)... Follow the directions in the wizard. Only SOAP 1.1 is supported by the wiza

RE: [flexcoders] lcds / fds release collection problem

2008-03-24 Thread Jeff Vroom
Try calling releaseCollection(.., true); If you are releasing a collection which has an object which is still referenced on that client, DMS makes a copy of the instance. This is so that your collection does not have any managed objects after the release call If you pass in the true as t

Re: [flexcoders] What's this Called?

2008-03-24 Thread Aaron Miller
> Kevin, why do you allege "bad practice"? What are you referring to for that matter? I 2nd bad practice. It's unreadable and less efficient. I would hate to read code where ids were named myComponent1, myComponent2, etc... It would be so much better to just reference readable names in an indexed

Re: [flexcoders] What's this Called?

2008-03-24 Thread Josh McDonald
Looking things up in that method foo["bar"] rather than foo.bar, is slow and can cause runtime exceptions if you don't check foo.hasOwnProperty("bar"). You're better off having a foo.bar = Array(), and doing foo.bar[n] rather than foo["bar" + n] whenever possible. The only time you really want to

RE: [flexcoders] What's this Called?

2008-03-24 Thread Tracy Spratt
I have seen and used the term "bracket notation". Don't know how common it is. Kevin, why do you allege "bad practice"? What are you referring to for that matter? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Aebi

[flexcoders] lcds / fds release collection problem

2008-03-24 Thread foobone9
I have a flex 2 application where you can open tabs (of canvases) that display and edit managed data using lcds 2.5.1. The retrieved data is somewhat encapsulated to the UI tab so when the tab is closed I want to release the data to minimize the client memory footprint and data management overhead.

Re: [flexcoders] Re: AMFPHP MySQL Results Object

2008-03-24 Thread Aaron Miller
Hello again. I did some more reading on this and I think the problem is with using NetConnection instead of RemoteObject. Apperently, using NetConnection does not always send the right headers to tell AMFPHP to use AMF3 encoding, thus it tries to return a ResultSet instead of an ArrayCollection. Yo

Re: [flexcoders] Re: AMFPHP MySQL Results Object

2008-03-24 Thread Aaron Miller
Just as a follow up. I verified that using RemoteObject does in fact return an ArrayCollection as the result, while NetConnection does not (returns an outdated ResultSet object). Hopefully someone at Adobe could explain the difference in remoting procedure between the two methods. Regards, ~Aaron

RE: [flexcoders] What's this Called?

2008-03-24 Thread Kevin Aebig
That's called bad practice. The lookup method you're referring to is called an associative array or dictionary. !k _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Monday, March 24, 2008 6:18 PM To: flexcoders@yahoogroups.com Subject: [fl

[flexcoders] Re: BlazeDS License Error

2008-03-24 Thread Dominic Pazula
Deleted the old version of BlazeDS (including the Tomcat install). Downloaded the new BlazeDS from the website (Turnkey download). Expanded the folder in the location of my old install. Started Tomcat. The error persists: MessageBrokerServlet failed to initialize due to runtime exception: fl

[flexcoders] Calculate a width of a column

2008-03-24 Thread markgoldin_2000
I am inserting a dataGrid into a cell of another dataGrid. How do I properly calculate the width of a column of the outer grid? Thanks

[flexcoders] Re: horizontal list x,y-coordinate for data objects

2008-03-24 Thread callistachan
hi, anyone? ^^; please, it's ok to tell me if it can't be done... this was done as a recode in relation to a question i had a few months back that i couldn't solve the easy way... and i really need a solution by today, if possible ^^; if not, the only solution i can think of is to manually comput

[flexcoders] dataGrid - Column width

2008-03-24 Thread markgoldin_2000
Is there a way to set columns width in such way that it would be just a bit wider then the largest string in a column? Thanks

RE: [flexcoders] What's this Called?

2008-03-24 Thread Gordon Smith
You shouldn't be doing that... it's bad practice. You should be using an Array and looking items up by integer index - rather than using an Object and looking items up by an index-containing name string -- because it's considerably more efficient. The only time you should look up properties by

Re: [flexcoders] BlazeDS License Error

2008-03-24 Thread João Fernandes
Dominic, it's BlazeDS that has expired, not Flex Builder. BlazeDS does have a new version available at http://opensource.adobe.com/wiki/display/blazeds/BlazeDS -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org

[flexcoders] BlazeDS License Error

2008-03-24 Thread Dominic Pazula
I recently upgraded from the Beta to the full version of Flex Builder. I've been having some problems with BlazeDS and I'm seeing this error in the Tomcat log: MessageBrokerServlet failed to initialize due to runtime exception: flex.messaging.license.InvalidLicenseException: Beta expired.

[flexcoders] What's this Called?

2008-03-24 Thread Nate Pearson
When I do this["idOfsomethingImLookingfor"] I usually do this if I have to loop something. So: for (i=0; i<10; i++){ var example:Object = this["myComponent" + i] //do some more stuff } I'm trying to do the same thing in .NET. I don't know what it's called though so I'm having a hard time

RE: [flexcoders] Re: create looping component programmatically

2008-03-24 Thread Ary
Thanks jer_ela & Tracy i will give it a try :) --- Tracy Spratt <[EMAIL PROTECTED]> wrote: > Yes, that is what you must do when instantiating > components manually. > > > > An option to the Array is an "associative array". An > associative array > is essentially just an Object, and you cho

[flexcoders] Re: AMFPHP MySQL Results Object

2008-03-24 Thread caffeinewabbit
Hi Daniel, In the PHP code you provided, you can't pass back the raw $results variable because its not a normal PHP variable - its a resource, which holds external data and can only be used by special PHP functions (in this case, the mysql library.) To pass back the results from your query, you'l

[flexcoders] Dealing with Lists and Complex ArrayCollection

2008-03-24 Thread djhatrick
I have an array collection with about 10 objects in one set. How do I populate a list display with a specific object paramter from my AC? For instance, I want title to display for my list? Also, what if have htmlText as the source, do i have to customize an itemRenderer? Thanks, Patrick

RE: [flexcoders] Drawing on top of charts

2008-03-24 Thread Mark Rausch
Ely has a blog post on this: http://www.quietlyscheming.com/blog/charts/easy-custom-charts/ I think the short answer in Flex 3 is that you should be able to create an annotationElement that's a CartesianDataCanvas and draw directly on that. Mark From: f

Re: [flexcoders] Re: flex builder 3 on os x very very slow in debug mode

2008-03-24 Thread Josh McDonald
There's definitely some problems with the debug flash player on OS X. I get hard lockups (nothing but the mouse working, not a kpanic) several times a week, in Safari and Firefox. -J On Mon, Mar 24, 2008 at 11:43 PM, Willy Ci <[EMAIL PROTECTED]> wrote: > thank, just tried with Safari, much fas

Re: [flexcoders] Any ideas for a Flex strip chart emulator?

2008-03-24 Thread Josh McDonald
Have you considered using some sort of proxy IList that hooks into your datastream but only shows the last n rows? That would allow you to use the various existing chart components. -J On Fri, Mar 21, 2008 at 10:30 AM, Jim Boone <[EMAIL PROTECTED]> wrote: > I am attempting to write a dashboard

Re: [flexcoders] AMFPHP MySQL Results Object

2008-03-24 Thread Daniel Tse
Thanks Aaron! I'm still a bit unsure about referencing the individual items then. after I have collection... how do I actually access each row/column? I tried to find out the length or number of rows by going collection.length... it didn't seem to like that at all. -Daniel On Mon, Mar 24, 2008

[flexcoders] Drawing on top of charts

2008-03-24 Thread Sean
Hi All, I have a Flex application which uses Line charts from the Flex chart package. I'd like to be able to draw a vertical line on the whole chart when the user clicks down on the mouse and draw another vertical line at the X location when he releases the mouse. I can't yet work out how to do

[flexcoders] Tree nodes created from XML comments not selectable

2008-03-24 Thread nikolajselvik
Hi all, There seems to be a problem with selecting tree nodes created by XML comment elements in an XMLListCollection. The actual selection is made but the visual cue or highlight is not set.. See example below. Why is this happening? What would be the cleanest workaround? Cheers, Nick http:/

Re: [flexcoders] AMFPHP MySQL Results Object

2008-03-24 Thread Aaron Miller
I always set the return result as Object in my handler then type it as the specific class later in the function. I'm not sure if I do this out of habit or necessity. # private function handleResult( result:Object ): void { # var collection:ArrayCollection = result as ArrayCollection; # } Also n

[flexcoders] Re: Unable to view the TreeNode after adding the ArrayCollection Elements..

2008-03-24 Thread sk_acura
Hi All, When i run this as a Standalone application the tree is getting displayed.. The same code worked in Flex 2 , Flex 3 Beta versions and now i switched the Flex SDK to (flex_sdk_3.0.0.477) and all of a sudden the Tree won't show up and no errors in any of the logs !! Regards Mars --- I

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread dougco2000
My advice is to make the itemrenderer a separate component and use the dataChange event in that component. I have an example at http://blog.dougco.com/coding/flex/datagrid-with-multiple-pulldowns/ Hope that helps, -doug --- In flexcoders@yahoogroups.com, "quantum_ohm" <[EMAIL PROTECTED]> wrote: >

RE: [flexcoders] Localization issue: Using resourceManager.getString in an ActionScript class

2008-03-24 Thread Gordon Smith
Override the resourcesChanged(() method and reassign the new localized values. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of paulbohnenkamp Sent: Friday, March 21, 2008 10:42 PM To: flexcoders@yaho

[flexcoders] AMFPHP MySQL Results Object

2008-03-24 Thread Daniel Tse
Hi All, I have setup AMFPHP and it returns back the recordset object from a MySQL query. I was wondering how I access that array/recordset from the flex side. e.g. I have the following: In Flex.. public function getPeople():void { myService.connect(REMOTESERVERURL);

[flexcoders] how to make opaque panel border?

2008-03-24 Thread coder3
the default panel border is semi-transparent, that's why if I add 2 panels at the same position, the title of the panel will look messy. I know I can use borderStyle="solid" to make it opaque, but then i will lose the border color, which I really need. what's the solution of this? -- View this

[flexcoders] Unable to view the TreeNode after adding the ArrayCollection Elements..

2008-03-24 Thread sk_acura
Hi All, I have a simple code where the Tree Elements are being added using the ArrayCollection as the dataProvider. I don't see any Errors but i don't see the Tree as well !! I am using BlazeDS and Java Code on the sever side.. Here is my Code..(init() is being called in createComplete)

RE: [flexcoders] same code works for flex 2 but not for flex 3 web service call

2008-03-24 Thread Seth Hodgson
Hi Wayne, Lots of work was done between Flex 2 and 3 on web service handling by some folks on the team that resolved many issues. Unfortunately, the XML Schema, WSDL and SOAP specs across their various versions along with the number of server-side web service stacks makes exhaustive regression

RE: [flexcoders] How do I set a TitleWindow closeButton to disabled?

2008-03-24 Thread Peter DeHaan
How about something like: titleWindow.mx_internal::closeButton.enabled = false; Peter From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of myasandy2 Sent: Monday, March 24, 2008 12:57 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Animated MaskEffect

2008-03-24 Thread ben gomez farrell
Hi everyone, I'm using a few different effects to mask content (Wipes, Iris, Fade, etc, all from the mx.efffects package). I need to create a few additional ones which would be a bit more fun. The idea is to take a black and white SWF with a timeline from Flash and use that as my mask. I'm a

[flexcoders] Component intercepting an event, preventing another control to receive it...

2008-03-24 Thread Mike Anderson
Hello All, I have a floating control, which contains a TextArea. This floating control, is a Child of my main Custom Control - which serves as the root interface for the entire application. On my main Custom Control, I have a "MouseWheel" event listener/function setup, which handles the scaling

[flexcoders] Mouseover Underline on Text

2008-03-24 Thread Anuj Gakhar
I have tried all text controls, TextField, Text, Label etc... The only way to achieve an text underline on mouseover is by adding Rollover and RollOut Event listeners and then changing the styles on the fly...and its more of a pain if the stylesheet happens to be an external stylesheet Sound

RE: [flexcoders] Re: Multiple Headers

2008-03-24 Thread Alex Harui
Examples on my blog are as-is and un-supported unless I happen to have a few spare hours. You have the source so jump in, fix it and share how you did it. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: M

[flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread Dominic Pazula
Ok getting closer. I'm now seeing a new error message in the Tomcat log. MessageBrokerServlet failed to initialize due to runtime exception: flex.messaging.license.InvalidLicenseException: Beta expired. I uninstalled my Beta and reinstalled the full version I bought. BlazeDS seems to b

[flexcoders] XML comment nodes in

2008-03-24 Thread nikolajselvik
Hi all, How come that XML comment nodes are not selectable when used in a XMLListCollection that acts dataprovider to a Tree control? How would you work around this the best way? Thanks! Nick Example: http://www.adobe.com/2006/mxml"; initialize="onInitialize()">

[flexcoders] Re: How to genrate XML from CSV???

2008-03-24 Thread ucabb4u
--- In flexcoders@yahoogroups.com, "qau_yasir" <[EMAIL PROTECTED]> wrote: > > Hi All! > I have to read a CSV file and transform it into XML file. Is there any > API in flex that can help in this respect? > I tried Flare http://flare.prefuse.org/doc/tutorial/ . In the example > shown in this tutori

[flexcoders] Re: scrolling question

2008-03-24 Thread Body Works Studio
Joan, thanks for the info. That worked like a charm. =) Jeff --- In flexcoders@yahoogroups.com, "joan_lynn" <[EMAIL PROTECTED]> wrote: > > When you advance to the next page, set the verticalScrollPosition > property of your List to 0. > > Joan > > --- In flexcoders@yahoogroups.com, "Body Work

[flexcoders] Re: Creating strongly typed objects from HTTPService results

2008-03-24 Thread Brett Adam
Jeff, Yup. for WebService calls, that's the right thing to do. However, for HTTPService calls, the machinery doesn't use the SchemaRegistry. The earlier suggestion of taking a look at the code generated by the FlexBuilder 3 WebService "wizard" was a good one - although the sheer volume of code ge

[flexcoders] Accessing XML attribute through ArrayCollection

2008-03-24 Thread Tony Armstrong
Hello all, I am using an ArrayCollection, outputted from an HTTPService. I wish to access the 'id' attribute from an XML file. I've tried using the e4x methods to no avail. I get an error: "TypeError: Error #1010: A term is undefined and has no properties." If I add the resultFormat="e4x" to the

[flexcoders] How do I set a TitleWindow closeButton to disabled?

2008-03-24 Thread myasandy2
I figured out how to change the skin on the button, but I don't understand how to keep it visable and set it to disabled. My goal is that the user can see there is a close button on the window but it appears disabled until they do a task and I enable it. Any help would be appreciated. Sandy

[flexcoders] Re: Multiple Headers

2008-03-24 Thread markgoldin_2000
Yes, Alex, you are right. I was able to run it that way. What I have noticed is that vertical lines that are separating second header do not align with column lines. I can SnagIt and mail to you. Do you think that can be fixed? --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]>

RE: [flexcoders] Re: Using the hovered index of a List to define a ToolTip

2008-03-24 Thread Alex Harui
dataTipFunction From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Monday, March 24, 2008 12:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using the hovered index of a List to define a ToolTip So how ca

RE: [flexcoders] Re: Multiple Headers

2008-03-24 Thread Alex Harui
Yeah, some folks can't run the SWFs directly in IE7. Try FF or download the source. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Monday, March 24, 2008 6:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders

RE: [flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread Alex Harui
The blink item renderer changes its visuals as the data changes. Similarly, you combobox would change its enabled state based on data provider fields. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of quantum_ohm Sent: Monday, March 24, 20

RE: [flexcoders] Dynamic Context Menu

2008-03-24 Thread Alex Harui
You can different item renderers in the column each with their own customized context menu. Or you can catch the menuSelect event and customize then. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cyrill.zadra Sent: Monday, March 24, 2

RE: [flexcoders] Re: popUp property null on creationComplete

2008-03-24 Thread Alex Harui
There are no functional restrictions on the trial. You might have affected timing. However, the popup property will be null until after the OPEN event. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of geraldshastri Sent: Monday, March 2

Re: [flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread João Fernandes
Dominic check the BlazeDS context-root is running from. If you deployed it under a blazeds folder, you should try to to set that as the context-root for your application. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org

RE: [flexcoders] Re: FIY - WeakMethodClosure - memory leaking example.

2008-03-24 Thread Alex Harui
Then you need to go back to the profiler and prove that nothing else changes between memory snapshots other then WMCs. How much did memory grow over the course of an hour on the release player? How did you track the growth? From: flexcoders@yahoogroups.com [m

RE: [flexcoders] Checking the type of an object

2008-03-24 Thread Alex Harui
getQualifiedClassName From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of supermalern Sent: Monday, March 24, 2008 8:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Checking the type of an object I want to check if an object h

RE: [flexcoders] Release Build same Size and how to have SWF Cached

2008-03-24 Thread Alex Harui
Make sure the -debug or -verbose-stacktraces flags are not explicitly set as compile options. Also make sure you're looking in the bin-release folder. The instructions for using shared framework RSLs are in the doc or on Adobe Labs. From: flexcoders@yahoog

RE: [flexcoders] How to add labelfunction dynamically

2008-03-24 Thread Alex Harui
1. You have to make sure the class you want actually got linked into the SWF. It may not be there unless explicitly declared in the SWF. Use -link-report to find out. 2. The function you want must also be in the SWF and defined on some object. If it is a static method, then getDefiniti

RE: [flexcoders] how to get all method names of class

2008-03-24 Thread Alex Harui
ObjectUtil.getClassInfo or flash.utils.describeType From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ilikeflex Sent: Monday, March 24, 2008 10:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to get all method names of class

RE: [flexcoders] Re: applying effect/transition to module whilst loading.

2008-03-24 Thread Alex Harui
I don't have any examples, but I'm also not sure what you want. While a module is loading, it cannot display anything. Once it is loaded, you'll get a READY event and can muck with it. It should be same as doing so for any non-module display object. From:

[flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread Dominic Pazula
Thanks Joao (I can't get the 'a' + '~'). Unfortunately that didn't work either. Here is the error that is now returned. Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost:8400/messagebroker/amfpolling' Thanks Dominic --- In flexcoders@yahoogroups

[flexcoders] Strange Find/Replace issue

2008-03-24 Thread Amy
Normally, when I have text selected and I do a Find/Replace, the "Selected Lines" radio button is selected by default, so it only replaces within my selection. Today, the "All" button is selected by default, which is really putting a major crimp in my workflow. Is there a preference somewhere

[flexcoders] Re: Flex Component Kit - trouble with FlexContentHolder

2008-03-24 Thread ben.clinkinbeard
Bueller? --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > I have converted my symbol to Flex Conatiner via the commands and then > added the FlexContentHolder to the symbol and gave it an instance name > of contentHolder. I get this error: > > Cannot create pr

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
ok, thx, I send you a mail. (hope so, not sure how that works) --- In flexcoders@yahoogroups.com, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > Files? Hmm, not sure I can get something in short period of time. > Why dont you send me a sample you are working with > and will take a look?

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread markgoldin_2000
Files? Hmm, not sure I can get something in short period of time. Why dont you send me a sample you are working with and will take a look? --- In flexcoders@yahoogroups.com, "quantum_ohm" <[EMAIL PROTECTED]> wrote: > > I tried with ADG and I got the same result...doesn't work... > I must have some

[flexcoders] Why are my events dispatched from repeaters not caught?

2008-03-24 Thread dbronk
I have extended repeater and have added code that will dispatch an event. This code is executed, but nothing listening is executed. I have a canvas where it is listening to a customer event. I have extended several controls to do things I need them to do. One of which is to dispatch a "controlL

[flexcoders] Re: Date object and daylight saving - need help

2008-03-24 Thread reflexactions
I would except.. your right.. and I found out there was a problem elsewhere. Well its late here, regardless of timezones lol --- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote: > > Can you provide the code that shows how you are creating and printing > the Date objec

Re: [flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread João Fernandes
is BlazeDS installed under 'Components' folder??? I guess it's your context-root that's wrong. Try to set it as '/' and do a clean on your project then your calls should try to connect to http://localhost:8400/messagebroker/amfpolling -- João Fernandes http://www.onflexwithcf.org http://www.r

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
I tried with ADG and I got the same result...doesn't work... I must have something wrong somewhere ! Is there a way for you to send me the files of your test so that I can compare ? --- In flexcoders@yahoogroups.com, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > Try with ADG and see if it work

[flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread Dominic Pazula
I realize I posted this on a holiday and it probably didn't get a lot of attention. I'm hoping bumping it up will bring it to the attention of someone that has seen this before. Thanks Dom --- In flexcoders@yahoogroups.com, "Dominic Pazula" <[EMAIL PROTECTED]> wrote: > > I recently took the p

RE: [flexcoders] filter with e4x

2008-03-24 Thread Tracy Spratt
Remember, you do not have to write the entire expression in line. You can do: Var xlList:XMLList = xmlData.someNode.(checkNode(*))[0]; Private var checkNode(xml:XML):Boolean { trace(xml.toXMLString); var bReturn:Boolean = false; //do the logic to compare this node with the nodes i

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread markgoldin_2000
Try with ADG and see if it works. I dont see why it wouldn't work with DG as well. --- In flexcoders@yahoogroups.com, "quantum_ohm" <[EMAIL PROTECTED]> wrote: > > I guess you're using an AdvancedDataGrid. Why ? > I think I could try this way but isn't it possible with a normal DG ? > > > > --

[flexcoders] Re: applying effect/transition to module whilst loading.

2008-03-24 Thread aceoohay
Any ideas? Paul --- In flexcoders@yahoogroups.com, "aceoohay" <[EMAIL PROTECTED]> wrote: > > I have created a generic module loader routine in my app, and it woeks > great. I am feeling a little adventurous and would like to apply an > effect/transition to all my modules so that while they ar

RE: [flexcoders] e4x 101 -- Help get it through my thick skull

2008-03-24 Thread Tracy Spratt
To get XML from an expression, do: var theNodeIWant : XML = myDataSet.myElement.(@someAttr == "foo")[0]; Expressions always return an XMLList. If no records are found, then the list has zero length, so using length() is the way to do this. Tracy From: fl

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
I guess you're using an AdvancedDataGrid. Why ? I think I could try this way but isn't it possible with a normal DG ? --- In flexcoders@yahoogroups.com, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > var mainColumn:AdvancedDataGridColumn = new AdvancedDataGridColumn; > mainColumn = AdvancedDat

[flexcoders] Re: Date object and daylight saving - need help

2008-03-24 Thread Doug Lowder
Can you provide the code that shows how you are creating and printing the Date objects? A lot of times, I've discovered the mistake is somewhere other than the Date classes (no offense!) --- In flexcoders@yahoogroups.com, "reflexactions" <[EMAIL PROTECTED]> wrote: > > Need a quick fix for thi

[flexcoders] Re: JAXB POJO to Action Script VO

2008-03-24 Thread sk_acura
Hi Jhonny, Are you using the DAOFlex ?? If not could u pls post the code here.. Thanks Mars --- In flexcoders@yahoogroups.com, "Jhonny Everson" <[EMAIL PROTECTED]> wrote: > > Just correcting myself. "I DON'T think we can bind internal classes in > actionscript." > > On Feb 4, 2008 5:36 PM,

[flexcoders] Flex 2 to Flex 3 migration

2008-03-24 Thread toofah_gm
We are finally migrating from Flex 2 to Flex 3. Most of our code migrated without issue, but there are a few UI issues that I am chasing: - Some of my skinned buttons are stretched. I have the following button skin defined: .nextPageBtn { up-skin: Embed(source='assets/images/nextPageBtn

[flexcoders] how to get all method names of class

2008-03-24 Thread ilikeflex
Hi I have class for example class Test { public function Test(){} public function Test2(){} public function Test3(){} public function Test4(){} } Is their any way can i find the method names of the class using any flex API?? Thanks ilikeflex

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread markgoldin_2000
var mainColumn:AdvancedDataGridColumn = new AdvancedDataGridColumn; mainColumn = AdvancedDataGrid(listData.owner).columns[2]; ClassFactory(mainColumn.itemRenderer).properties = {enabled:false}; This works for me. --- In flexcoders@yahoogroups.com, "quantum_ohm" <[EMAIL PROTECTED]> wrote: > > I s

[flexcoders] BlazeDS and Alfresco?

2008-03-24 Thread Jon Bradley
Has anyone gone down this road before? I understand that Adobe Share is based on FDS and Alfresco (just recently found this out) and am embarking on a project where I'd like to integrate Flex data services (preferably BlazeDS) with Alfresco 2.9. Any life experiences much appreciated. Matter o

[flexcoders] Re: Date object and daylight saving - need help

2008-03-24 Thread reflexactions
Not to worry I figured a way to calculate the real offset. I do think it is really a big flaw in the Date object that Adobe dont provide access to this figure even though they know what it is. tks --- In flexcoders@yahoogroups.com, "reflexactions" <[EMAIL PROTECTED]> wrote: > > Need a quick fi

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
yes, I put a simple trace, and it returns my simple string --- In flexcoders@yahoogroups.com, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > Does handleDataChanged actually fire? > > --- In flexcoders@yahoogroups.com, "quantum_ohm" > wrote: > > > > ok, now I have this, which doesn't throw any

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
I spoke too fast... this way the first combo replace the second in the DG ! I'm getting a big headache ! --- In flexcoders@yahoogroups.com, "quantum_ohm" <[EMAIL PROTECTED]> wrote: > > Finally I did it like this: > > public function handleDataChanged( event:ListEvent ):void{ > var _renderer:Class

[flexcoders] same code works for flex 2 but not for flex 3 web service call

2008-03-24 Thread yoyo ma
Hi, We got a serious problem when upgrading our application to flex 3. The same code works for flex 2 web service call but not for flex 3. The return object is not correctly deserilized when using flex 3 web service call. For example, the return object only returns one field intead of al

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread markgoldin_2000
Does handleDataChanged actually fire? --- In flexcoders@yahoogroups.com, "quantum_ohm" <[EMAIL PROTECTED]> wrote: > > ok, now I have this, which doesn't throw any errors, but nothing > happens...? Do I forget something ? > > private function init():void{ > addEventListener( "change", handleDataC

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
Finally I did it like this: public function handleDataChanged( event:ListEvent ):void{ var _renderer:ClassFactory = new ClassFactory( GraviteRenderer ); _renderer.properties = {enabled: true}; this.parentApplication.dgSpec.columns[2].itemRenderer = _renderer; } *GraviteRenderer = myFirstComboBoxI

[flexcoders] Re: Share layout, not just skins

2008-03-24 Thread thinkloop
GK, That's exactly what I'm looking for - thank you. I'm relatively new to the field, so sometimes structural questions like this evade me. Cheers, Baz --- In flexcoders@yahoogroups.com, "Gregor Kiddie" <[EMAIL PROTECTED]> wrote: > > Sure, we do something similar with our applications. > > Cre

  1   2   >