RE: [flexcoders] Error thrown in application is being 'swallowed'

2008-04-16 Thread Alex Harui
Binding swallows all errors. Also note that on the release players (you are running a debugger player) no dialogs are shown for uncaught errors. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of twcrone70 Sent: Tuesday, April 15, 2008

RE: [flexcoders] SelectedIndex In A Datagrid

2008-04-16 Thread Alex Harui
selectedIndex should work after the dataprovider has been updated. To see the selected row if it is offscreen, call scrollToIndex() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bloodylag Sent: Tuesday, April 15, 2008 6:15 PM To:

Re: [flexcoders] Re: Flex 3 purchased version, still displays Trial water mark...

2008-04-16 Thread Josh McDonald
Checked license.properties in: /Applications/Adobe\ Flex\ Builder\ 3/sdks/3.0.0/frameworks/ -J On Wed, Apr 16, 2008 at 3:49 PM, Ilam Mougy [EMAIL PROTECTED] wrote: I tried that. I tried changing the install location, the workspace, nothing works. I use Mac and I bought the FB Pro. ---

[flexcoders] Re: graphics object seems to degrade performance

2008-04-16 Thread Eric Cooper
Is there a way to clock exactly how long the actual drawing to the screen was taking? I know that profiling tools will show time spent within [pre-render] and [render], but I wonder if there is some thing that could be done inside my own code. In particular, I am trying to figure out where

[flexcoders] Re: Do modules break tabbing???

2008-04-16 Thread Bjorn Schultheiss
All IFocusManagerComponents(containers).tabChildren == true; Could there be something stealing the focus related to modules? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Did you verify that tabChildren=true on all containers of the IFocusManagerComponents in the

[flexcoders] Re: Custom Cursors causing slowdown

2008-04-16 Thread dave_defusion
Thanks for that great explanation. Your issues about not supporting the native OS cursors and thus having to track down your own (which then don't match the native OS) also bothered me I'd like to see support of at least the minimum set of cursors defined in CSS2 via the flash player. On that

[flexcoders] Re: Flex 3 purchased version, still displays Trial water mark...

2008-04-16 Thread Ilam Mougy
Thank you s much, (bow). I realized my issue, my project is using 2.0.1 SDK, so I put my old serial (in that file) and that made the watermark. btw, there is no such file under the 3.0, but I had no issue with 3.0 SDK and watermark. Thank you thank you thank you, I wasted the whole day

Re: [flexcoders] Re: Flex 3 purchased version, still displays Trial water mark...

2008-04-16 Thread Josh McDonald
No worries. If only I could get that to work for me in 2.01 HF1 ;-) But it's all good, my wheel squeaking has been heard and I'm getting a 3.0 license tomorrow morning! :D On Wed, Apr 16, 2008 at 7:06 PM, Ilam Mougy [EMAIL PROTECTED] wrote: Thank you s much, (bow). I realized my issue,

[flexcoders] Configure LCDS+Hibernate on Tomcat

2008-04-16 Thread jim_nastiq
Hi, i'm trying to foolow the Adobe Tutorial to communicate with a MySQL DataBase through Hibernate but wan't make the example works... i've followed each step but no result. each time i've got the error : (mx.messaging.messages::ErrorMessage)#0 body = (null) clientId = (null)

Re: [flexcoders] Re: Converting App to Flex 3

2008-04-16 Thread Tom Chiverton
On Tuesday 15 Apr 2008, greggiec wrote: It is a flex 2 swc.. Is there anything I can do? Recompile it. -- Tom Chiverton Helping to completely improve intuitive content on: http://thefalken.livejournal.com This email is sent for and on

RE: [flexcoders] How to close current windows?

2008-04-16 Thread Gregor Kiddie
You can use navigateToURL( new URLRequest( 'javascript:window.close()' ), _self ); to execute the javascript. Alternatively, write the javascript in your HTML wrapper and call it through ExternalInterface. http://livedocs.adobe.com/flex/201/langref/flash/external/ExternalInterf ace.html

[flexcoders] Re: Error thrown in application is being 'swallowed'

2008-04-16 Thread twcrone70
Ok...how do I make sure I see the error in the release player? Some of the interactions for our application are dependent on resources I cannot access from my dev environment, so most testing must happen on a VM and I can't even attach the debugger since my Mac does not have the stuff it needs

RE: [flexcoders] Flexbuilder 2 wont' rebuild my project

2008-04-16 Thread Gregor Kiddie
Anyone else seen this problem? Sounds daft, but do you have any compilation errors? Check the problems screen first. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577

Re: [flexcoders] Re: Platform independent paths in AIR

2008-04-16 Thread Tom Chiverton
On Tuesday 15 Apr 2008, zdenekmikan wrote: The file names are not unique, there can be files with the same names in different folders. so parent folder+name is unique ? -- Tom Chiverton Helping to challengingly introduce value-added e-commerce on: http://thefalken.livejournal.com

[flexcoders] Air installation issue

2008-04-16 Thread new Buddy
I'm facing this issue on Windows/MAC if i have an existing versioninstalled and try to upgrade it. If you uninstall the old version, thenew one installs cleanly otherwise throws an error: sorry, an error has occurred Theapplication could not be installed because an application with thatname

[Flexcoders] How to calculate a buy out sum?

2008-04-16 Thread Webdevotion
Hello, Upon popular request from our clients: How does one calculate the buy-out ( all rights: re-using, re-distributing, ... ) on a project? Is there a difference between easy and complex projects? Can someone point me to some nice links on the subject? Tnx! Bram

[flexcoders] Flex Compenents, how to make them talk

2008-04-16 Thread timgerr
I was wondering if I create a Flex Application and have 5 Flex components that integrate within my Flex App, how can they all talk to each other Since they do not know about each other till the swf file is compiled, I am unable to have one component event trigger something on another

[flexcoders] combobox

2008-04-16 Thread Marwan
How can I bind my day combobox using for operator ?? thanks

[flexcoders] Firefox exposes https rpc-data in plugtmp

2008-04-16 Thread rickarddahlstrand
I use HTTPService quite extensively and when I run my flex-app in Firefox I suffer from slowdown after a couple of hours. I have tracked this down to Firefox storing all XML-request I do as files in the \Users\myname\AppData\Local\Temp\plugtmp-*\ directory. Even data transfered over https. First

[flexcoders] Re: Get Key Value Pair from an Object

2008-04-16 Thread gjessup1
I actually found the answer almost immediately after I posted. Here is the code in case anyone else has this issue. for (key in vars) { detailArray.addItem({key:key, value:vars[key]}) }

[flexcoders] Bind to Dynamic Component or Panel

2008-04-16 Thread gjessup1
I am creating a UI that gets configured from a database. For each DB entry it creates a panel dynamically. Then I have my app receiving messages. Based on the values in the message I decide which panel I want to display the message on. My question is when a panel is dynamically generated. How do

[flexcoders] Re: Embed Resources in Image Control

2008-04-16 Thread valdhor
This is what I do (Who knows if it's right - all I know is that it works): [Bindable] [Embed(source=assets/images/mylogo.gif)] private var myLogo:Class; mx:Image source={myLogo}/ or img.source = myLogo; HTH Steve --- In flexcoders@yahoogroups.com, maliksmile [EMAIL PROTECTED] wrote: Hi,

[flexcoders] Stack Chart ItemClick detail?

2008-04-16 Thread securenetfreedom
Is there a way to click on a stacked ColumnChart and receive data about the specific segment of ColumnChart stack that was clicked? I am using mx.charts.events.ChartItemEvent but I can't find anything in the event object that identifies the exact slice that was clicked. Thanks. Jeff

[flexcoders] Has anybody used PrintAdvancedDataGrid?

2008-04-16 Thread nehavyas13
Has anybody used PrintAdvancedDataGrid? Does it print the data that is just available on screen or would it print all the data. i.e would it print a Multipage output or I have to programatially loop through the data validNextPage and nextPage()? Does any body have any example. Getting confused

[flexcoders] Re: Flex 3 purchased version, still displays Trial water mark...

2008-04-16 Thread nehavyas13
You also need to add your license serial no. in one of the files. or you could do it in Flex Builder- Help - Manage Flex Licenses add the serial no. Then do a clean build. Close Flex Builder and then open Flex builder again. --- In flexcoders@yahoogroups.com, Ilam Mougy [EMAIL PROTECTED]

Re: [flexcoders] Firefox exposes https rpc-data in plugtmp

2008-04-16 Thread Tom Chiverton
On Wednesday 16 Apr 2008, rickarddahlstrand wrote: I use HTTPService quite extensively and when I run my flex-app in Firefox I suffer from slowdown after a couple of hours. I have tracked this down to Firefox storing all XML-request I do as files in the

[flexcoders] Re: mx:List with itemRenderer

2008-04-16 Thread tchredeemed
any ideas? --- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote: I have a list that has an itemRenderer. The footer of the itemRenderer can be dragged up or down in order to show/hide data. I want to be able to drag that without triggering the dragHandler for the

Re: [flexcoders] Re: mx:List with itemRenderer

2008-04-16 Thread Douglas Knudsen
try capturing whether a drag can occur based on a mouseOver maybe. eg, onMouserOver set canDrag = true if NOT over the footer. Then in your drag handler check this to see if drag is allowed or not. This technique I use usually to make sure the user clicks on the actual object to be dragged, but

Re: [flexcoders] any flex image editor control?

2008-04-16 Thread Derrick Anderson
i found this one after some short googling http://www.geocities.com/j_c_desai/ImageEditing/ImageEditing.html d. On Tue, Apr 15, 2008 at 10:40 PM, slee_usa [EMAIL PROTECTED] wrote: I am looking for a flex control which allows photo or image editing. It should be very light, and I need to

[flexcoders] AIR: Forcing a file to be opened By OS Default Application

2008-04-16 Thread Battershall, Jeff
Pardon the cross post, but I'm trying to find out if AIR supports triggering a file to be opened by the OS's default application for that file extension. Like having MS Excel open a .xls file. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484)

[flexcoders] Flex SDK2 with Flex Builer 3 ???

2008-04-16 Thread janbhanijai
I have one question that can we use Flex SDK 2.0.3 with Flex Builder 3,if it is possible and any one has done this plz reply. Regards, Jai Kumar

[flexcoders] svg image not load through xml ???

2008-04-16 Thread Swamy Nathan
Hi Folks, I am using some drag and drop function. so i import the images to the tilelist control. and am using the gallery.xml. like *gallery image title=Flash name=Flash thumbnailImage=assets/image1.svg / /gallery* the tilelist control have a image item renderer. so that am see the images at

Re: [flexcoders] RegExp searching for [ and ], are they reserved?

2008-04-16 Thread Derrick Anderson
hey i'm not a regex pro by far which is why i asked if my regex was wrong- but taking your suggestion it still does not work- not sure why. i've used the RegExr air app to test this and the simplest i can get it is new RegExp(\[[^]*\],igm); this works when {} are used but not when [] is used,

RE: [flexcoders] Re: Error thrown in application is being 'swallowed'

2008-04-16 Thread Alex Harui
You would have to catch the error and display your own dialog box. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of twcrone70 Sent: Wednesday, April 16, 2008 4:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Error thrown

Re: [flexcoders] AIR: Forcing a file to be opened By OS Default Application

2008-04-16 Thread Cutter (Flex Related)
According to a talk that Ben Forta gave here in Nashville, not long before product launch, the AIR sandbox strictly prohibits access to other programs on a system. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _

RE: [flexcoders] AIR: Forcing a file to be opened By OS Default Application

2008-04-16 Thread Battershall, Jeff
Steve, In the scenario I'm envisioning, I am not thinking that AIR would be starting the program itself but the OS would, as it would in response to a double click on a file name in Windows Explorer. But if it can't be done, it can't be done. Jeff -Original Message- From:

Re: [flexcoders] AIR: Forcing a file to be opened By OS Default Application

2008-04-16 Thread Jeffry Houser
True, but I thought you could link to a file and then let the OS handle it. I haven't tested this, though... Cutter (Flex Related) wrote: According to a talk that Ben Forta gave here in Nashville, not long before product launch, the AIR sandbox strictly prohibits access to other

[flexcoders] Re: Intelligent ViewStack Children

2008-04-16 Thread joshuagatcke
Rick, Thanks for the awesome advice! Gonna hash this out. When we get this working I will definitely post the solution on here so other people can look it up :D Thanks again for taking the time to give me some direction on this.

Re: [flexcoders] Intelligent ViewStack Children

2008-04-16 Thread Bruce Hopkins
Joshua, I *just* solved this problem yesterday. All you need to do is add a listener for the FlexEvent.SHOW event. Your callback method will always be called when the ViewStack shows your child container. Regards, Bruce On Mon, Apr 14, 2008 at 2:38 PM, joshua gatcke [EMAIL PROTECTED] wrote:

[flexcoders] SWF generated by ant does not work

2008-04-16 Thread CĂ©sar P .
Hi I am trying to build my Flex/Java project with ant because it is the way we build all the projects but for some reason the SWF file that is generated by the ant script is not working but the one generated by Flex Builder works. Also I noticed that the one created by ANT is smaller than the

[flexcoders] Re: Bind to Dynamic Component or Panel

2008-04-16 Thread Oscar Cortes
It sounds like getChildByName is what you need: yourContainer.getChildByName(panel1) Regards, Oscar http://www.holaflex.com http://www.holaflex.com --- In flexcoders@yahoogroups.com, gjessup1 [EMAIL PROTECTED] wrote: I am creating a UI that gets configured from a

[flexcoders] Re: Stack Chart ItemClick detail?

2008-04-16 Thread EddieBerman
I couldn't find that info either. The solution I'm using, until I learn of a more direct way, is to assign a number to the ColumnSeries Name property when I create each ColumnSeries (I happen to use Series0, Series1, Series2, etc). Here's the relevant code fragmants for creating, and then

[flexcoders] Re: Flex SDK2 with Flex Builer 3 ???

2008-04-16 Thread Oscar Cortes
FB 3 has multiple SDK support, so you can add your specific version under Flex/Installed Flex SDK in Preferences. Click Add and browse for the SDK's location. Then you can set this SDK as your default SDK or select it when you create a new Flex project. Regards, Oscar

RE: [flexcoders] Re: Do modules break tabbing???

2008-04-16 Thread Alex Harui
Generally, all IFocusManagerComponents should be tabEnabled=true, and all parents of them should be tabChildren=true. I'd check the upper level module tag and whatever parents it first. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [flexcoders] svg image not load through xml ???

2008-04-16 Thread gabriel montagné
On Wed, Apr 16, 2008 at 8:28 AM, Swamy Nathan [EMAIL PROTECTED] wrote: but am using the Scalable Vector Graphics (SVG) the image not loaded at run time. how can i get the image. and also i change the xml to Flex cannot load and display SVGs at runtime. You can only embed them (that is, you

[flexcoders] Resizing the canvas

2008-04-16 Thread gnr_raghu
Hi All, I am new to Flex and desperately in need of help. I have to design a Canvas or UIComponent which can be resized from both the ends (Horizontally). I have done the resizing the from the right side of the canvas by adjusting the width:) I am stuck with the left side resizing. Please help

RE: [flexcoders] AIR: Forcing a file to be opened By OS Default Application

2008-04-16 Thread Jim Hayes
I don't think that's the case. (would love to be proven wrong mind you) If so, then surely one could just write a text file, give it a .bat extention and it would be run by default by command.exe? (OK, windows example but there must be a mac equivalent). It would be very useful though! :-) By

[flexcoders] Building XML out of an Array Collection

2008-04-16 Thread Nate Pearson
I'm trying to change an array collection of typed objects from a .NET webservice into XML. My array collection is like this: myNode{ label:String id:int children:ArrayCollection } The items in the children array collection are more of myNode. I want to put it into xml so it looks like this:

[flexcoders] AIR: Take a screenshot

2008-04-16 Thread [EMAIL PROTECTED]
Hi All, i have a window and with a button i want to make a screenshot from that window How can i make that, or have someone a example Thanks in advance, Peter

Re: [flexcoders] Re: Custom Cursors causing slowdown

2008-04-16 Thread Troy Gilbert
On that thought I was just wondering if it was possible to use the ExternalInterface to do this? By maybe setting a classname on the Flash object via JavaScript... hm Already tried that (there's another thread where I raise this issue). The Flash Player dictates it's own cursor and CSS

[flexcoders] Re: How to download a BLOB from database....using Java

2008-04-16 Thread Cato Paus
Send your object using this //flex package server { import flash.utils.ByteArray; [RemoteClass(alias=server.Tag)] public class Tag { public function Tag(){ picture = new ByteArray(); } public var info:String;

Re: [flexcoders] Letting parents handle drag events

2008-04-16 Thread Troy Gilbert
Is there a reason you can't use capture phase listeners? I definitely can, and that's the solution I'm going to use. It just didn't occur to me because: a) I was working in MXML and was just attaching listeners using attributes. b) DragEvent inherits from MouseEvent, which to me at least,

RE: [flexcoders] Building XML out of an Array Collection

2008-04-16 Thread Jim Hayes
You can write the values straight into the xml notation using curly brackets : something like var newNode:XML = myNode label={yourCollection[n][label]} id={ yourCollection[n][id]}/ not sure I have the arrayCollection syntax correct, but hopefully you can see what I mean? -Original

[flexcoders] Re: Building XML out of an Array Collection

2008-04-16 Thread Nate Pearson
I gotcha! So what about adding children to that xml node? Do you treat it just like a string or something? so If I wanted to add a child to that node would it be something like this: var newNode:XML = myNode label={yourCollection[n][label]} id={ yourCollection[n][id]} newNode = newNode +

RE: [flexcoders] Re: Building XML out of an Array Collection

2008-04-16 Thread Jim Hayes
I think it's yourNode.appendChild(newNode), off the top of my head. Personally I'd prefer that to concatinating (love that word!) strings. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: 16 April 2008 17:17 To:

RE: [flexcoders] Pass Variables and then run a command

2008-04-16 Thread Gordon Smith
Timgerr, your code is assigning the value vsTop.selectedChild = register to the String _runStackChild, but the expression statement _runStackChild; doesn't cause this string to execute... it simply causes the Player to evaluate this (trivial) expression, which doesn't accomplish

Re: [flexcoders] Re: graphics object seems to degrade performance

2008-04-16 Thread Daniel Freiman
You could use the getTimer() function. (It's a function of the flash.utils package: http://livedocs.adobe.com/flex/201/langref/flash/utils/package.html). However, that will only tell you the execution time of the code. I've had issues with the graphics object where the time it takes to run the

RE: [flexcoders] Flex Compenents, how to make them talk

2008-04-16 Thread Gordon Smith
If you have Application MyContainer id=myContainer MyControl id=myControl/ /myContainer /Application then in the Application's Script you can simply refer to the MyContainer instance as myContainer and to the MyControl instance as myControl (NOT

[flexcoders] Calling http services in separate file

2008-04-16 Thread ghus32
Hello Everyone, I want to clean up my code and put all of my http services in a separate mxml file.. how would I call these at runtime?? Thanks

[flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application

2008-04-16 Thread aphexyuri
Jeff, We've been looking into it as well. Maybe the following links could give you some more help: http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integration-proof-of-concept/ and http://www.mikechambers.com/blog/2008/01/22/commandproxy-its-cool-but-is-it-a-good-idea/ It's a

[flexcoders] Re: Invalidation problem with popups

2008-04-16 Thread bw71
Here's some sample code. Notice how if you click updatePopup while the popup is showing you'll see the contents of the popup update. If you close the popup, and click on update popup, the next time you click on showPopup, the popup will not display correctly. ?xml version=1.0 encoding=utf-8?

[flexcoders] Re: Bind to Dynamic Component or Panel

2008-04-16 Thread gjessup1
Oscar, Thanks for that. That is basically exactly what I needed. The one problem I am running into is that I want my panels to be only 3 wide on the page and I have 12 entries in the DB. So I am creating a page 3 panels wide and 4 panels down. To do this I create a new HBOX every 3rd Panel. so

[flexcoders] Problem with Bind and Repeater

2008-04-16 Thread Paulo Azevedo
I have a small portion of code that crashes all the time. Here's the code: Application: BindProblem.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=begin() xmlns:local=* mx:Script ![CDATA[

[flexcoders] Re: mx:List with itemRenderer

2008-04-16 Thread tchredeemed
problem is that im not implementing the drag, the List is --- In flexcoders@yahoogroups.com, Douglas Knudsen [EMAIL PROTECTED] wrote: try capturing whether a drag can occur based on a mouseOver maybe. eg, onMouserOver set canDrag = true if NOT over the footer. Then in your drag handler

[flexcoders] Passing query vars to debug url?

2008-04-16 Thread thirtyfivemph
Is there a way to specify some query-vars to be passed into the URL I'm debugging inside of Flex Builder? Right now, I click debug and get this URL in the browser: http://localhost/app.swfdebug=true I'd like it to be this: http://localhost/app.swfdebug=trueid=35 If I just type that in, the

[flexcoders] Collections with common source

2008-04-16 Thread Richard Rodseth
Hi I'm working on a dashboard where several charts share common data. I was thinking that each chart series could have a data provider which is a collection with a filter function, and I could set the source array of these collections to the same array. Sound reasonable? Thanks

[flexcoders] Re: Building XML out of an Array Collection

2008-04-16 Thread Tracy Spratt
Depending on the dot net webservice, you might only need to change your resultFormat=e4x. Try that before you start doing this manually. I am consuming dot net webservices this way. The WS code response.writes a DataTable, and .net serializes it into XML automatically. What you get in flex

[flexcoders] Re: Bind to Dynamic Component or Panel

2008-04-16 Thread Tracy Spratt
I would instead advise that when you create the child, you place a reference to it in some kind of dictionary structure, like an array, an associative array(object), or dictionary. Use that reference to access public members, add event listeners, etc. You will not need to worry about where it

[flexcoders] Re: combobox

2008-04-16 Thread Tracy Spratt
Huh? Use a few more words, please. Tracy --- In flexcoders@yahoogroups.com, Marwan [EMAIL PROTECTED] wrote: How can I bind my day combobox using for operator ?? thanks

Re: [flexcoders] Collections with common source

2008-04-16 Thread Daniel Gold
I've used that approach many times. Store the data in a central model, views each have a local ArrayCollection with a filterFunction and the source set to the data in the model. On Wed, Apr 16, 2008 at 12:37 PM, Richard Rodseth [EMAIL PROTECTED] wrote: Hi I'm working on a dashboard where

[flexcoders] Re: Flex Compenents, how to make them talk

2008-04-16 Thread Tracy Spratt
Below is a discussion of inter-component communication. I never polished it up, but it will be some value anyway. Tracy Communicating between Components: Note: for loose coupling use events. But that is another topic. A non-trivial flex application is component based. While all of the

Re: [flexcoders] A Question about Cairngorm?

2008-04-16 Thread Rich Rodecker
It's really just a few steps: 1. Have your commands implement mx.rpc.IResponder, and define result and fault methods in the command. 2. Call the service directly from the execute() method of the command. 3. When you call the service, it returns an ASyncToken, and you can set the

Re: [flexcoders] Re: mx:List with itemRenderer

2008-04-16 Thread Derrick Anderson
check out this post http://blog.flexmonkeypatches.com/2008/03/24/nested-item-renderers-with-scrollbars-and-drag-and-drop-enabled-scroll-dont-drag-please/ it describes a similar problem and i think it might help with what you are trying to do. the idea is to use stopImmediatePropogation() to not

[flexcoders] Dynamically Resizing

2008-04-16 Thread meltonianweb
Greetings, I'm new to flex coding and what I'm trying to do with my current project is automatically resize panes (canvases?) by mouse actions like mouseover. I need to use percentages because I want the total width to be 100% regardless of the browser size. I've written an actionscript module and

[flexcoders] Re: mx:List with itemRenderer

2008-04-16 Thread Tracy Spratt
If you use the default code, you are stuck with the default behavior. But go on and implement the handlers yourself. It is really pretty easy once you get the hang of it, and you have complete control over what happens and when, and how it looks. I just did this a few days ago. There are

Re: [flexcoders] Dynamically Resizing

2008-04-16 Thread Clint Tredway
use percentWidth and percentHieght On Wed, Apr 16, 2008 at 12:46 PM, meltonianweb [EMAIL PROTECTED] wrote: Greetings, I'm new to flex coding and what I'm trying to do with my current project is automatically resize panes (canvases?) by mouse actions like mouseover. I need to use

[flexcoders] Re: PopUpButton issue

2008-04-16 Thread handitan
Doing it on addedToStage event somehow doesn't work well for my app. My app kept on crashing due to a null popUp. Instead of doing it on addedToStage, I did in removedFromStage event. This prevents the crashing problem completely. Waiting for Flex3 HotFix. --- In flexcoders@yahoogroups.com,

[flexcoders] A Question about Cairngorm?

2008-04-16 Thread markflex2007
Hi, I work with Cairngorm for couple months. I use delegate to connect with Server and use command to get the data from delegate. Now the delegate file and command file are separate files. Somebody told me I can combine delegate with command so I do not need to build so many file. Do you know

Re: [flexcoders] Collections with common source

2008-04-16 Thread Richard Rodseth
Thanks. I also have a couple of cases involving stacked column series, where I wonder if I should build a custom implementation of IList or ICollectionView. eg. the raw data has an integer (representing an enum). There is a column series for each enum value. I can either use the filter

[flexcoders] Re: Custom Cursors causing slowdown

2008-04-16 Thread dave_defusion
Yeah it'd be nice if we could get hold of them and then maybe we could put together a cross browser/cross OS facade for using the default custom cursors that are defined in CSS 2 - at least that way they wouldn't stand out too much. --- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL

RE: [flexcoders] Calling http services in separate file

2008-04-16 Thread Tracy Spratt
Implement this as data model, using a bindable singleton. Keep the result data in that object. Implement public properties and methods to control the functionality. Bind the UI to the model's properties. I just used this technique for the first time myself, and it rocks. Tracy

RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application

2008-04-16 Thread Battershall, Jeff
Understandably Adobe is feeling rather conservative about this sort of thing. The last thing we as developers would want is an abuse of the AIR runtime which sullies its reputation. So we're getting a certain sandbox to play in. However, opening a document file such as a word doc, pdf or

[flexcoders] other ways to read html content inside flex

2008-04-16 Thread Gustavo Duenas
Hi Coders. There is other proven method to read html content rather than i-frames? I couldn't find my way there something in the code that I 've just don't get it, so I know there should be other way to do this. any ideas? Regards Gustavo

RE: [flexcoders] Passing query vars to debug url?

2008-04-16 Thread Tracy Spratt
Go menu, Run, Run, Other. Select the app you want to work with. Uncheck UseDefault, and add your parameters to the Debug line. Apply, then debug. I would like a way to have multiple startup configurations for the same app, but have not found how to do that. Maybe creating a wrapper for each

Re: [flexcoders] RegExp searching for [ and ], are they reserved?

2008-04-16 Thread Derrick Anderson
just bumping this one up there, it is critical for my app to do this and I see no way past it. anybody ever needed to find content with regex that contained [] characters? thanks, d. On Wed, Apr 16, 2008 at 10:01 AM, Derrick Anderson [EMAIL PROTECTED] wrote: hey i'm not a regex pro by far

Re: [flexcoders] RegExp searching for [ and ], are they reserved? SOLVED

2008-04-16 Thread Derrick Anderson
i think i figured it out, the [ and ] characters have to be double-escaped like so new RegExp(\\[[^]*\\],igm); d. On Wed, Apr 16, 2008 at 2:17 PM, Derrick Anderson [EMAIL PROTECTED] wrote: just bumping this one up there, it is critical for my app to do this and I see no way past it.

[flexcoders] Re: addEventListener and additional arguments?

2008-04-16 Thread Jason The Saj
Okay then How do I do the simple act of click event call function and pass a parameter value? This was easy in AS1/AS2/JS I could essentially just say... btnFoo.release = function (parameters){...} Now, it looks like i need to add an event listener. Then create a custom event. All so I

[flexcoders] Well, that does me absolutely no good....unless you can show me how to do this!

2008-04-16 Thread Jason The Saj
?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ private var foo:int = 7; private function clickHandler(event:MouseEvent,arg1):void { trace(foo); foo.width = foo.width *

[flexcoders] Click Lite: The right click now. But not now?

2008-04-16 Thread Jason The Saj
Why does click work here? mx:Button id=btnFoo label=Foo x 2 click=Foo(2)/ But not here? btnFoo.addEventListener(MouseEvent.CLICK,Foo(2)); Now, it's obviously Adobe has coded the button component to allow for arguments to be passed via the click parameter. But we're not given that same

Re: [flexcoders] Passing query vars to debug url?

2008-04-16 Thread Troy Gilbert
Go menu, Run, Run, Other. Select the app you want to work with. Uncheck UseDefault, and add your parameters to the Debug line. Apply, then debug. I remembered that dialog right after I posted... and made the changes exactly as you described. Thanks. I would like a way to have multiple

[flexcoders] Redirects and popup blockers

2008-04-16 Thread thirtyfivemph
I've been wrestling with this and can't find a solution that seems to work as consistently as what others have found... I've got an embeddable version of my app (think YouTube video) and want the user to be able to click on a button in the app and be sent to our site (just like they clicked on a

[flexcoders] BlazeDS/LCDS on Glassfish (TomcatLoginCommand issue)

2008-04-16 Thread cyberscriptnet
Hi, I've been using BlazeDS/LCDS on Glassfish without issues until now. I'm attempting to enable custom authentication using TomcatLoginCommand In order for Tomcat valves to work with Glassfish I had to make modifications to TomcatValve4150 described here:

[flexcoders] Hide calendar for DateField

2008-04-16 Thread jack_freud
Is it possible to hide the datefield's calendar? I couldn't find a property. I tried hiding it with a little canvas but the halo to show the control has focus extends off to the right where the icon for the calendar is. Thanks!

[flexcoders] Hi there,

2008-04-16 Thread Jason The Saj
I dealt with this issue on my blog pretty extensively.. http://thesaj.wordpress.com/2008/02/12/the-nightmare-that-is-_blank-part-ii-help/ Here is an example of what I implemented for the browsers I was testing for (IE, Firefox, Safari, Opera on PC/Mac)

[flexcoders] question about working with SessionIDs and FDS

2008-04-16 Thread Body Works Studio
Hello all. we are still using fds.swc in our with current customer installs. One customer needs us to use sessionIDs on server calls. We have updated all the remoteObject calls, but I am having issues with the DataServices.fill command. is there a way to dynamically insert the server's sessionID

[flexcoders] Re: Custom Cursors causing slowdown

2008-04-16 Thread dave_defusion
Here's a gallery of the default cursors for Windows (IE Firefox) for the various CSS properties: http://webdesign.about.com/od/styleproperties/ig/CSS-Cursors-Gallery/ --- In flexcoders@yahoogroups.com, dave_defusion [EMAIL PROTECTED] wrote: Yeah it'd be nice if we could get hold of them and

RE: [flexcoders] Hide calendar for DateField

2008-04-16 Thread Alex Harui
I would subclass, grab the buttonDown event at a high priority and call stopImmediatePropagation From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jack_freud Sent: Wednesday, April 16, 2008 12:52 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Re: BlazeDS/LCDS on Glassfish (TomcatLoginCommand issue)

2008-04-16 Thread meteatamel
Instead of server=Glassfish, can you try server=all and let us know if there's anything different? thanks, Mete --- In flexcoders@yahoogroups.com, cyberscriptnet [EMAIL PROTECTED] wrote: Hi, I've been using BlazeDS/LCDS on Glassfish without issues until now. I'm attempting to enable

RE: [flexcoders] Click Lite: The right click now. But not now?

2008-04-16 Thread Alex Harui
In MXML, click=Foo(2) really generates the following code: private function btnFoo_clickHandler(event:MouseEvent):void { Foo(2); } btnFoo.addEventListener(MouseEvent.CLICK, btnFoo_clickHandler); What you tried to do in AS was set the listener to be the result of a call to

[flexcoders] Re: Hide calendar for DateField

2008-04-16 Thread jack_freud
I'm hoping to hide the icon as well, and reduce the size of the halo to just the size of the textbox area. Thanks --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I would subclass, grab the buttonDown event at a high priority and call stopImmediatePropagation

  1   2   >