Re: [flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread Josh McDonald
Waiting on a server-side bugfix, so enjoy. Working example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var

[flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread stinasius
hi josh nice example but how about using one slider with two thumbs?

RE: [flexcoders] Where are the AIR resources?

2008-08-06 Thread Gregor Kiddie
Be aware that the post Alex has referenced also states that it doesn't work with modules, so you'll have to find a different solution if you want to use them. ((And slightly off topic, but commenting on a comment by Alex earlier, I still do not agree with that security restriction. If someone

Re: [flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread Josh McDonald
Don't know, I imagine the first step will be building or locating a dual-thumb slider :) On Wed, Aug 6, 2008 at 4:42 PM, stinasius [EMAIL PROTECTED] wrote: hi josh nice example but how about using one slider with two thumbs? -- Flexcoders Mailing List

[flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread stinasius
i managed to build a dual thumb slider that i pass on the filter function. here is the code. mx:HSlider x=0 y=240 id=priceSlider minimum=0 maximum=300 tickInterval=10 snapInterval=10 thumbCount=2 values=[0,300] tickColor=#ff labels=[$0k,$300M] liveDragging=true width=182

Re: [flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread Josh McDonald
Shows how often I use the sliders. I didn't know you could use multiple thumbs... This is not performant, you should be getting the max and min within updateFilter() and sticking them in private vars, not in the filter function itself... but you get the idea. private function

Re: [flexcoders] ADG editable cells dataprovider

2008-08-06 Thread Carlos Rovira
The only one approach to that problem is to fill the dataprovider with data. That's the way list components works. I found the same problem and I had to go that way 2008/8/5 Josh Millstein [EMAIL PROTECTED] I have a ADG with a dataprovider that is set dynamically. I would like to be able

[flexcoders] Remoting fails

2008-08-06 Thread Simon Bailey
Hi, I have an app making a simple flash remoting call to CF and it works fine of multiple servers, runs in the local environment and returns a query from ColdFusion as expected. Problem is as soon as my client deploys on their company network the remoting call fails, no error message

RE: [flexcoders] Remoting fails

2008-08-06 Thread Gregor Kiddie
Get some software that lets you see the responses like Charles or Service Capture, that will give some more information on what's going on. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered

Re: [flexcoders] Remoting fails

2008-08-06 Thread Simon Bailey
Nice one Gregor I will give it a go. I think the calls are leaving the swf just having trouble returning into the browser/swf! On 6 Aug 2008, at 11:08, Gregor Kiddie wrote: Get some software that lets you see the responses like Charles or Service Capture, that will give some more

Re: [flexcoders] Remoting fails

2008-08-06 Thread Simon Bailey
I take that back I do not think they are leaving the browser, gonna try Charles... On 6 Aug 2008, at 11:10, Simon Bailey wrote: Nice one Gregor I will give it a go. I think the calls are leaving the swf just having trouble returning into the browser/swf! On 6 Aug 2008, at 11:08, Gregor

[flexcoders] Who is using the Framework Caching?

2008-08-06 Thread thatstephen
Framework caching is potentially a useful way to reduce the download required for each flex application. It doesn't benefit the user if there are not many sites using it as the total download of the flex app + framework as a seperate file is greater. I am working on some integration for a public

[flexcoders] Can we record microphone input and save as mp3 in flex?

2008-08-06 Thread Jo Morano
Does flex allow recording microphone input and save it locally? I read a comment somewhere saying you need Java components to do all that. The Java comment might actually have been about a dynamic mike attached through an mbox but I'm interested in that as well. I can do so with Java, but I want

[flexcoders] Re: need help urgent - multiple images printing

2008-08-06 Thread cyber_runners
Yeah, I don't know what to do ... I think the image you added in your template is late to show than print job execution. May be flex need delay or doEvent command ... hehehe ... it's i think bro

[flexcoders] treeview samples

2008-08-06 Thread ganeshan_pa
Could anyone give me the links from where I can find various flex treeview samples? Thanks in advance. Gan

[flexcoders] Problem in Identfying Flash Objects in QTP 9.2

2008-08-06 Thread jp_bit2001
Hi, We have a project to automate a flash player 9 application. When we tried to record the actions performed on this application, it is showing as a MacromediaFlashplayerActiveX winobject. It is identifying the entire application as a single object, instead as individual objects. Could

[flexcoders] simple arraycollection question

2008-08-06 Thread Richard Baker
I have a .as class extending arraycollection. In the constructor I set up a webservice and listner to capture the result in resultHandler Ideally in resultHandler I'd do something like this=event.result; but it doesn't work, so I am looping over the event.result, adding it to the array

RE: [flexcoders] Who is using the Framework Caching?

2008-08-06 Thread Gregor Kiddie
that means the total download for a user without the framework cached is 949k Only the first time, the second time they visit, they get the benefits. I think what you've described is the hurdle that the majority of people are coming to. The initial download appears to be much bigger, so they

Re: [flexcoders] Remoting fails

2008-08-06 Thread Simon Bailey
Odd, Charles seems to state that the crossdomain is failing however its temporarily open to * and still not working. I have since also discovered that the company has previously had to add proxyserver and proxyport params to access http calls. So if remoting uses http then how the heck

[flexcoders] Flex with proxy server

2008-08-06 Thread walberleal
how can I establish a socket connection on a network using proxy server with flex 3???

[flexcoders] Re: simple arraycollection question

2008-08-06 Thread Michael VanDaniker
I haven't run this code, but I don't see why it wouldn't work: this.source = event.result.source; I personally prefer looping through the returned collection and translating the raw objects into instances of a class I've defined. This allows for compile-time checking on anything you want to do

[flexcoders] Re: Can we subclass Application yet?

2008-08-06 Thread Amy
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Interesting. So either the documentation is very old, or [DefaultProperty] simply isn't inherited? Either way the docs could use updating. I'll put testing this onto my todo list :) As you know, I'm not nearly the

Re: [flexcoders] Who is using the Framework Caching?

2008-08-06 Thread Tom Chiverton
On Wednesday 06 Aug 2008, thatstephen wrote: for a user without the framework cached is 949k. This is 230k more than if the framework cache is not enabled. Your users are already there, and if you've decided 673k can be sent quick enough, it's only a third or so more. And, the more people who

Re: [flexcoders] Cannot install latest Flex Builder 3.0 SDK Build 3.0.3.2490 from 7/15/08

2008-08-06 Thread Tom Chiverton
On Tuesday 05 Aug 2008, joseph_freemaker wrote: Any assistance would be appreciated. The charting classes are not open source, so probably aren't in your download. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP.

[flexcoders] Re: How do I show only part of an image?

2008-08-06 Thread nathanpdaniel
If you have a 64x64 image, you can set up a 16x16 mask: mx:Image width='64' height='64' mask='{imageMask}' / mx:Canvas id='imageMask' width='16' height='16' x='0' y='0' / Then all you'd need to do is animate the canvas to relocate when you need it to. Seems simple enough.. haha :D You could

[flexcoders] Returning value inside a nested functions event?

2008-08-06 Thread Berkay Unal
Hi Coders I want to return a value from a handler function that is nested inside a function. The scenario is to check the duplicate Does anybody know how to achieve it? public function checkDuplicate(email:String):Boolean { var checkStmt:SQLStatement = new SQLStatement();

Re: [flexcoders] Remoting fails

2008-08-06 Thread Scott
I write .cfm files to test my code to ensure its working. Perhaps writing a quick .cfm to validate you can hit the coldfusion server would help...? That way you have better error reporting from the remote components and can dump variables easily as well. Regards, Scott

[flexcoders] CRC

2008-08-06 Thread Scott
Does anyone know of a way to collect a CRC from a flex or air application file? I would like to verify that they are running the most current version and the code I wrote as they hit my remote components. Thanks Scott

Re: [flexcoders] Returning value inside a nested functions event?

2008-08-06 Thread Laurent Cozic
By definition an event handler shouldn't return a value, since no object can actually retrieve this value. You'll need to use some other way - perhaps you could save the result in a private variable inside you class, or have the event handler call another method. It depends on what you are

Re: [flexcoders] Remoting fails

2008-08-06 Thread Scott
I just thought of something else... Did you check the services-config.xml to ensure outside access? Regards, Scott From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sent: Wednesday, August 06, 2008 9:43 AM To:

[flexcoders] Re: Add a context menu to a menubar item

2008-08-06 Thread valdhor
Ok, I have created a custom itemRenderer which displays my context menu perfectly. Now, how do I get at the menu item data that the context menu came from. IOW, I left click on my menu bar which drops down a menu; I then right click on a menu item (Let's say it is Show some Cool Stuff) which

Re: [flexcoders] Remoting fails

2008-08-06 Thread Simon Bailey
Hi Scott and thanks for the replies, I can hit it fine from a few different servers cross domains ( BTW this is using the old flash remoting for AS2 ) and this only seems an issue on this one particular network whilst the swf is in a browser, hence me thinking this is a firewall issue?

Re: [flexcoders] CRC

2008-08-06 Thread Ryan Gravener
I just keep a string of the version they are using, then compare that with the server's version. If they don't match, make them run the updater (air). On Wed, Aug 6, 2008 at 10:45 AM, Scott [EMAIL PROTECTED] wrote: Does anyone know of a way to collect a CRC from a flex or air application

[flexcoders] Cairngorm goes Open Source

2008-08-06 Thread Rick Winscot
A friend of mine just forwarded me this... Which I think would be interesting to anyone who uses, has used, or may use Cairngorm. http://weblogs.macromedia.com/amcleod/archives/2008/08/cairngorm_moved.html Rick Winscot

[flexcoders] Application's height property problem

2008-08-06 Thread guillaumeracine
Hi, i want to set the height of my application dynamically. My app has a tree menu to the left and product thumbnails on the right. I want to increase the height of the application depending on the number of rows displayed in my product thumbnails. (The goal is to be able to scroll with the

[flexcoders] Event Phase clarification bubbling - please Diagram

2008-08-06 Thread djhatrick
Fellow FlexCoders... I am sitting here having a debate on how the event phases works in AS3. A couple of us have differing opinions of how events bubble, up or down, inside or out. Maybe I've always been a little confused exactly how bubbling works through the display object hierarchy, can you

[flexcoders] Error: Service was not found in the Cairngorm Services registry.

2008-08-06 Thread sk_acura
Hi All, I am using Cairngorm and UM Extensions and when i try get a RemoteObject using the ServiceLocator i am getting the following Error.. [ERROR] Here in LoginDelegate() and responder =[object Callbacks] Error: Service USER_INFORMATION_SERVICE was not found in the Cairngorm Services

Re: [flexcoders] Event Phase clarification bubbling - please Diagram

2008-08-06 Thread Scott Melby
Patrick - Events bubble up the parental chain from the dispatcher. So, your child will not ever catch an event that is dispatched by its parent (bubbling or non). Conversely, parents will always catch bubbling events dispatched by their children. This should also aid you in understanding

[flexcoders] Re: Selecting no color with ColorPicker

2008-08-06 Thread daddyo_buckeye
I see this thread is a bit dated, but I have the same question as well. I'm trying to display the typical red slash option available in most Adobe applications. I've scoured the docs and don't see any option for this. Sherm

[flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread Tim Hoff
Yeah shoot, my bad. Take the values property out of the tag. Should have said set the min to 0 and the max to 3,000,000 (like you have it. The values will lock the thumbs to those two positions (values) only. -TH --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

[flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread Tim Hoff
And go back to your original filterFunction: if ( (city_cb.selectedLabel == All || item.city == city_cb.selectedLabel) (lct_cb.selectedLabel == All || item.location == lct_cb.selectedLabel) (item.value priceSlider.values[0] item.value priceSlider.values[1]) ){ result=true; } return result;

[flexcoders] Re: Event Phase clarification bubbling - please Diagram

2008-08-06 Thread djhatrick
bubble up the parental chain from the dispatcher, I think this language makes it easier for me to visualize. Thanks, Patrick --- In flexcoders@yahoogroups.com, Scott Melby [EMAIL PROTECTED] wrote: Patrick - Events bubble up the parental chain from the dispatcher. So, your child will not

Re: [flexcoders] Event Phase clarification bubbling - please Diagram

2008-08-06 Thread Ralf Bokelberg
Here is a simple example, which demonstrates what the docs say ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute applicationComplete=main() mx:Script ![CDATA[

[flexcoders] Need Help with Modules

2008-08-06 Thread s20678
I have read couple of posts/presentations regarding Modules..But still I am not able to figure out the issue. I really appreciate if anyone can help me out here. I am getting ReferenceError: Error #1069: Property child not found on MyApp and there is no default value. at

Re: [flexcoders] Who is using the Framework Caching?

2008-08-06 Thread Matt Chotin
We're not sharing how many folks out there have the RSL yet according to our survey, but it is growing. I would definitely encourage turning the RSL on. Matt On 8/6/08 6:16 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 06 Aug 2008, thatstephen wrote: for a user without the

Re: [flexcoders] Event Phase clarification bubbling - please Diagram

2008-08-06 Thread Jon Bradley
On Aug 6, 2008, at 12:48 PM, Ralf Bokelberg wrote: for each( var component in [this, hb1, hb2, b1, hb3]) Hadn't seen that done before. nice. The only downside to the whole event bubbling hooplah is that all your components, and all your children need to extend EventDispatcher or some

[flexcoders] theme color on combobox; is there no themeAlpha

2008-08-06 Thread flexaustin
So I have a combobox that I have styled using the flex style explorer, but something is amiss. When you mouse over the combobox the border color flickers, well I guess the theme color makes it look like it is flickering on mouseover. The border color seems to be fade from top to bottom so

[flexcoders] Flex Module issue

2008-08-06 Thread Christopher DUPONT
Why child is null in the first case ? private function btnStatsClickHandler(event:Event):void { var module:IModuleInfo = ModuleManager.getModule(com/test/module/pictureviewer/PictureViewer.swf\ ); module.addEventListener(ModuleEvent.READY,

Re: [flexcoders] CRC

2008-08-06 Thread Scott
That's what I was doing, however I can't ensure that someone is attaching to my remote component with their own function then. I was hoping to catch a value off of a crc check and use that as verification to the remote object that it's really my code that's touching the CF side.

Re: [flexcoders] Remoting fails

2008-08-06 Thread Scott
I wouldn't think it would be a firewall issue unless its on the remote side and it has stateful packet inspection... It's all port 80 traffic, so if you can browse to other sites then you can flash remote. I had numerous issues with as2/flash remoting; so many that I dropped developing in it

[flexcoders] Re: simple arraycollection question

2008-08-06 Thread Richard Baker
Ahh, yes, that does work. I was looping as you suggest, but the collection change event was firing each time. Now that I think about it I suppose the best ting to do would be to hook up the event listener on the last addition to the ac? Or is there a better practice out there somewhere? --- In

[flexcoders] Snapping TextInput after Zoom Effect

2008-08-06 Thread Brandon Gamblin
I've got a combo box that, when altered, turns hides or unhides certain elements in the form. However, to keep those items from snapping in badly, I put a simple zoom effect on them. So now I watch VBoxes shrink out of view, as others bounce into view. It's a good effect, but I notice that the

[flexcoders] AMF Load Testing and open source

2008-08-06 Thread jbluedelta
Have a web based AMF flex app. Am looking for any open source tools that would help me capture traffic and also any user interactions.

[flexcoders] Custom Events

2008-08-06 Thread rss181919
I have a custom component that is basically just a panel wrapper around a webservice and a datagrid populated by the webservice. I want to be able to produce a bubbling effect where an itemSelect fires an internal handler and then and external handler on the parent of the custom component. I

Re: [flexcoders] Remoting fails

2008-08-06 Thread Sherif Abdou
You did restart the ColdFusion server right?- Original Message From: Scott [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Wednesday, August 6, 2008 12:56:18 PMSubject: Re: [flexcoders] Remoting failsI wouldn’t think it would be a firewallissue unless its on the remote side and it

[flexcoders] Re: Error: Service was not found in the Cairngorm Services registry.

2008-08-06 Thread sk_acura
Hi All, I did lot of testing and Still cannot figure out why the ServiceLocator is unable to get the RemoteObjects.. When i try to create a new Object using new RemoteObject(SERVICE_NAME) it works. How ever the same code returns null from my Delegate ! My Services.mxml looks like

[flexcoders] adding to default ContextMenu in flex app

2008-08-06 Thread Aaron Miller
Hello, I am trying to figure out how to add an item to the default context menu when someone right clicks inside the stage. I know I have to add a ContextMenuItem to the ContextMenu.customItems properties, but I'm not sure how to reference the default menu. Listening for a MouseEvent.RIGHT_CLICK

Re: [flexcoders] AMF Load Testing and open source

2008-08-06 Thread dnk
service capture (have used - works great) http://kevinlangdon.com/serviceCapture/ , or charles (have not used) http://www.charlesproxy.com/ On 6-Aug-08, at 11:23 AM, jbluedelta wrote: Have a web based AMF flex app. Am looking for any open source tools that would help me capture traffic

RE: [flexcoders] Custom Events

2008-08-06 Thread Tracy Spratt
...firing an handler off the itemSelect event and then in the handler creating a new event and dispatching that to an external handler That is how I do it. What didn't work? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Data caching dto's

2008-08-06 Thread flexaustin
I was wondering if anyone has done any caching of data in Flex? And if so how did you do this? I have an application that pulls in up to 500 items and converts them to DTO's. The app then runs a routine, which generates objects based on those dto's. The generation of objects is very memory

[flexcoders] Re: simple arraycollection question

2008-08-06 Thread Michael VanDaniker
As you loop over the objects you can save them in an array instead of in the collection. When the array is finished being populated you can set it to be the source on the collection. That would result in only one collection change event. --- In flexcoders@yahoogroups.com, Richard Baker [EMAIL

[flexcoders] Re: Custom Events

2008-08-06 Thread rss181919
I have listed my setup below. Results: I have confirmed that the initialize event on the parent object adds the event. Clicking the item on the grid, fires the internal handler and I have confirmed that it dispatches the custom event. However, the parent event handler for the custom event

[flexcoders] help with flex 3 sdk (how could I....)

2008-08-06 Thread gduenas
Ok, once I've downloaded the flex3sdk, then ? I was wondering if anyone of you guys know a tutorial about how to start creating application with the flex sdk, and installing so forth, any given help would be appreciated. I've tryied the adobe help, but it seems so obscure for me, any

[flexcoders] Testing Internet Connection in Flex

2008-08-06 Thread nagaofthesea
Howdy- Does anyone know of a way (AS3 or mx:CustomComponent) that tests if the user's internet connection is live? I have an application with error processing that needs to know if an RPC failed because the user's connection is down... Thanks! Naga

RE: [flexcoders] Re: Custom Events

2008-08-06 Thread Tracy Spratt
Looks ok to me. The event is bubbling, so try listening for the event at the Main app level: this.addEventListener('dgItemClick', CtgsPnlDGItemClick) Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rss181919 Sent:

RE: [flexcoders] AMF Load Testing and open source

2008-08-06 Thread Dimitrios Gianninas
Do you simply want to see the traffic? or you want to record gestures and play them back? Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jbluedelta Sent:

[flexcoders] List IconFunction with Button renderers

2008-08-06 Thread Amy
Hi all; I'm trying to use an iconFunction with a TileList that has just a plain Jane unextended Button as its itemRenderers. I'm trying to use the iconFunction to set the icon on the buttons, but it doesn't seem to me that the button is recieving the information from the ListBase. I have

RE: [flexcoders] Flex Module issue

2008-08-06 Thread Alex Harui
The more interesting question is why the second one isn't. Because all of your references to the module are in temporary local variables, as soon as you exit the click handler, the module is available for garbage collection, and in the first case it got collected and the second it didn't, but

RE: [flexcoders] Need Help with Modules

2008-08-06 Thread Alex Harui
Modules are not applications. Application.application is the application in MyApp.mxml From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of s20678 Sent: Wednesday, August 06, 2008 9:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Event Phase clarification bubbling - please Diagram

2008-08-06 Thread Alex Harui
FWIW, we didn't make up the event model. It is based on the W3C spec http://www.w3.org/TR/DOM-Level-3-Events/events.html which has a pretty picture in it From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jon Bradley Sent: Wednesday, August

RE: [flexcoders] Application's height property problem

2008-08-06 Thread Alex Harui
App height is bound by the stage size. It sounds like you actually want to change the player's object size in the browser which requires javascript and ExternalInterface From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of guillaumeracine

RE: [flexcoders] help with flex 3 sdk (how could I....)

2008-08-06 Thread Stephen Gilson
Hi, Have you tried the Flex Getting Started site here: http://learn.adobe.com/wiki/display/Flex/Getting+Started Or the quick starts under the Getting Started tab on the Flex Dev Center: http://www.adobe.com/devnet/flex/ Stephen From:

RE: [flexcoders] Re: Add a context menu to a menubar item

2008-08-06 Thread Alex Harui
Keep track of rollover events? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Wednesday, August 06, 2008 8:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Add a context menu to a menubar item Ok, I have

RE: [flexcoders] Re: Can we subclass Application yet?

2008-08-06 Thread Alex Harui
We're discussing whether you can have an app template. Suppose you wanted every app you build to have a menubar at the top and controlbar at the bottom. If you just do AmyAppTemplate.mxml mx:Application mx:MenuBar/ mx:ControlBar / /mx:Application You can't just use that in your next

RE: [flexcoders] Re: need help urgent - multiple images printing

2008-08-06 Thread Alex Harui
Printing is synchronous, and image loading isn't. Normally you have to pre-load all images before starting a print job. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cyber_runners Sent: Tuesday, August 05, 2008 7:59 PM To:

RE: [flexcoders] List IconFunction with Button renderers

2008-08-06 Thread Alex Harui
Button doesn't pick up icons for free when it is a renderer. Good subclassing challenge though! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Wednesday, August 06, 2008 1:39 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] help with flex 3 sdk (how could I....)

2008-08-06 Thread gduenas
anyone knows a good tutorial ( not the adobe one) to start developing with the flex sdk, what do I need and also how could I install that? Regards, Gustavo P.s: my system is a mac g4 osx jaguar.

[flexcoders] Re: adding to default ContextMenu in flex app

2008-08-06 Thread Aaron Miller
Never mind, I figured it out. I am supposed to create a ContextMenu with the options I want and assign it to the Application.contectMenu property. Thanks anyways! ~Aaron On Wed, Aug 6, 2008 at 12:01 PM, Aaron Miller [EMAIL PROTECTED] wrote: Hello, I am trying to figure out how to add an

[flexcoders] Re: DataServiceException

2008-08-06 Thread Geoffrey
I pass false to my begin() method and that stops the DataServiceException from happening, but now nothing seems to happen after I commit(). Here's a current code snippet: DataServiceTransaction dst = DataServiceTransaction.begin(false); dst.refreshFill(myTasks, null); dst.commit(); The

[flexcoders] Re: List IconFunction with Button renderers

2008-08-06 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Button doesn't pick up icons for free when it is a renderer. Good subclassing challenge though! Hah! This project has been a baptism by fire in Flex. I'll barely break a sweat :-p. Thanks :-)

Re: [flexcoders] Cannot install latest Flex Builder 3.0 SDK Build 3.0.3.2490 from 7/15/08

2008-08-06 Thread Joseph Freemaker
Hi Tom, Thanks. Where do licensed users get the latest fixes or build for Flex3 + charting? Joe - Original Message From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, August 6, 2008 6:38:26 AM Subject: Re: [flexcoders] Cannot install latest Flex

[flexcoders] Re: Custom Events

2008-08-06 Thread rss181919
I modified the call as follows: pdb:CategoriesPnl id=CategoriesPnl initialize=CtgsPnlInit (event);/pdb:CategoriesPnl private function CtgsPnlInit(event:Event): void { this.addEventListener('dgItemClick', CtgsPnlDGItemClick) Alert.show(this.hasEventListener(dgItemClick).toString()); }

RE: [flexcoders] CRC

2008-08-06 Thread Tim Rowe
Hardly secure considering they can just determine what the value should be and pass you that. If they're going to the trouble to do manual calls like that, I wouldn't put them also being far off grabbing that correct CRC. Hasn't anyone learnt from how much the q3cdkey and ea-f1c checks failed

RE: [flexcoders] Flex with proxy server

2008-08-06 Thread Tim Rowe
Oh, this will be fun :/ Tried establishing your connection to the proxy server yet, not the destination endpoint? Tim Rowe Software Engineer carsales.com Ltd From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of walberleal Sent: Wednesday, 6

Re: [flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread Josh McDonald
Complete example with 2 thumbs (from the earlier example): ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var

Re: [flexcoders] Re: Can we subclass Application yet?

2008-08-06 Thread Josh McDonald
I still stand by my original rant saying just use a component :) mx:Application funk:FunkAppTemplate !-- App controls -- /funk:FunkAppTemplate /mx:Application I'm a big fan of using composition over inheritance when possible. Don't treat mx:Application as your application, think of it

[flexcoders] Multiple Builder instances / windows?

2008-08-06 Thread Josh McDonald
Hey guys, Is there an easy way I can have multiple copies of Builder running at the same time (with different workspaces)? This would really make my life easier! -Josh -- Therefore, send not to know For whom the bell tolls. It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 ::

Re: [flexcoders] Where are the AIR resources?

2008-08-06 Thread Steve Mathews
Ok, so after all this discussion (thank you by the way) I came to the realization that what I needed to do is be running my Flex swf as trusted. So I moved it and all my in-house created support swf to the app directory so they are installed with the app. So far so good, as I already had support

[flexcoders] Must call super.commitProperties at END of overrided commitProperties when extending TitleWindow?

2008-08-06 Thread Daniel Gold
I don't think I've seen anything like this before and maybe I'm just going crazy. I've got a class that extends TitleWindow, it has a few setters and some of these can affect what the displayed title should be. These all use invalidation flags and don't get fully committed until commitProperties.

[flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread Tim Hoff
Hey Josh, What's up with: return item.value = Math.min(priceSlider.values[0],priceSlider.values[1]) item.value =Math.max(priceSlider.values[0],priceSlider.values[1]); You can avoid this by setting allowThumbOverlap=false. Then just use: return item.value = priceSlider.values[0] item.value

Re: [flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread Josh McDonald
Coz it's a quick and nasty (but working) example, and I have zero knowledge about the finer details of the slider controls :) On Thu, Aug 7, 2008 at 9:28 AM, Tim Hoff [EMAIL PROTECTED] wrote: Hey Josh, What's up with: return item.value =

Re: [flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread Josh McDonald
FWIW, If I were building this for users, I'd still allow sliders to overlap for ease-of-use purposes, but I'd fetch max and min on change rather than every loop of the filter function ;-) -Josh On Thu, Aug 7, 2008 at 9:31 AM, Josh McDonald [EMAIL PROTECTED] wrote: Coz it's a quick and nasty

[flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread Tim Hoff
No worries. Actually, allowThumbOverlap=false is the default. For me, allowing thumb overlap would purly depend on the use case. My opinin is that it makes more sense to the user to not allow the right thumb to go past the left thumb and vice versa. but, IMHO. Good example. -TH --- In

Re: [flexcoders] Must call super.commitProperties at END of overrided commitProperties when extending TitleWindow?

2008-08-06 Thread Josh McDonald
The title property is simply a property that gets passed to the title UIComponent in commitproperties. Timeline: 1. You call super.commitProperties() 2. super.commitProperties() sees that this._title hasn't changed since the last commitProperties(). so doesn't set _myTitleComponent.title (or

Re: [flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-06 Thread Josh McDonald
It's probably just a personal preference. You're thinking max and min thumbs, I'm thinking between foo and bar :) I was just thinking about the use case where the user has min = 1000, max = 2000 and wants to set min=0, max=800 - without thumb overlapping, you've gotta move the min thumb first,

Re: [flexcoders] Must call super.commitProperties at END of overrided commitProperties when extending TitleWindow?

2008-08-06 Thread Daniel Gold
it should have still updated on the next invalidation pass because in Panel.as my call to set title sets _titleChanged = true, which should cause that logic block to execute in the next commitProperties. Maybe I was off in debugging and never hit another invalidation pass. This does bring up a

Re: [flexcoders] Must call super.commitProperties at END of overrided commitProperties when extending TitleWindow?

2008-08-06 Thread Josh McDonald
After a quick poke around in Panel.as, it seems that what I described isn't *exactly* what's going on, you might want to do some single-stepping to see where it's going wrong. But the root probelm is the same, and the solution isn't to put super.commitProperties() at the end of your method. You

RE: [flexcoders] Where are the AIR resources?

2008-08-06 Thread Alex Harui
Where's the HTML page loaded from? Domain security rules apply to that too. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Mathews Sent: Wednesday, August 06, 2008 4:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

RE: [flexcoders] Must call super.commitProperties at END of overrided commitProperties when extending TitleWindow?

2008-08-06 Thread Alex Harui
Man, you are strict! There is no reason you can't do work in your override before calling super.whatever() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Wednesday, August 06, 2008 5:25 PM To:

RE: [flexcoders] Must call super.commitProperties at END of overrided commitProperties when extending TitleWindow?

2008-08-06 Thread Alex Harui
Invalidation of the same phase while processing that phase is ignored From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Gold Sent: Wednesday, August 06, 2008 5:07 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Must call

  1   2   >