[flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).

2007-12-12 Thread Manu Dhanda
Hii, Is that possible to use RemoteObject with Java in Flex using Cairngorm. As I tried to search for a working sample app. And with heaps of post around, none pointed me to the actual working example. So, before doing anything else, I am stuck with this question itself that whether it is

RE: [flexcoders] Re: Scale 9 not being picked up

2007-12-12 Thread Mark Ingram
We have one main assets swf which contains multiple symbols. We reference several of these references and the designer has applied scale-9 to each of the symbols - but when it comes to viewing them in Flex, the scale-9 doesn't work (it just stretches normally). Mark

[flexcoders] Flex Data Management and container's UserTransaction

2007-12-12 Thread den.orlov
As I understand Flex Data Management Services require that application container provide UserTransaction for it. But I can't find any guide about how FDMS uses it. I was completely confused when I checked several tutorials that used FDMS+HibernateAssempler+Spring or FDMS+hand written

[flexcoders] Flex Data Management and container's UserTransaction

2007-12-12 Thread den.orlov
As I understand Flex Data Management Services require that application container provide UserTransaction for it. But I can't find any guide about how FDMS uses it. I was completely confused when I checked several tutorials that used FDMS+HibernateAssempler+Spring or FDMS+hand written

Re: [flexcoders] I need some help with custom labels in a BarChart

2007-12-12 Thread Igor Costa
Mark if you´re using embeded fonts, why just dont you use the font-Size on it: the auto-metrics of text is to fill the gap between itens witch is useful when you have to create more stabl charts. Regards Igor Costa www.igorcosta.org www.igorcosta.com On Dec 12, 2007 12:57 AM, Mark [EMAIL

Re: [flexcoders] Flex Data Management and container's UserTransaction

2007-12-12 Thread Igor Costa
Den Here´s explanation A Flex Data Management Service change for assemblers that return references to lazy associations: In beta 3 your assembler had to return the complete state of all referenced items. Now, if your association tag is marked with lazy=true, you only need to return instances of

[flexcoders] Re: AsDoc and libraries problem

2007-12-12 Thread Benoit Thiebault
Hi again ! I am going on my investigations, and found out another partial solution : ASDOC only generated documentation for public methods... As my MXML classes declare most of the time private methods, nothing appears in the documentation. Is there a way to force ASDOC documenting private

Re: [flexcoders] Flex Beta 3 [Managed] tag not working.

2007-12-12 Thread Igor Costa
Kevin witch build do you have? Im with last flex 3 beta 2 and doesnt approach that error. Regards Igor Costa www.igorcosta.org www.igorcosta.com On Dec 11, 2007 7:00 PM, Kevin [EMAIL PROTECTED] wrote: Has something changed with the Managed tag? We removed it in order to get our app to

Re: [flexcoders] Canvas with individual rounded corners

2007-12-12 Thread Igor Costa
Mark to gain more time on your work, i suggest you to use flex component kit to skin your normal canvas with flash and import those to flex. More pratical and more time save. Regards Igor Costa www.igorcosta.org www.igorcosta.com On Dec 12, 2007 8:06 AM, Mark Ingram [EMAIL PROTECTED] wrote:

[flexcoders] Canvas with individual rounded corners

2007-12-12 Thread Mark Ingram
Hi, I'm trying to create a canvas where I can style the corner radius for each individual corner. I've had a look at the Panel class to try to understand how the roundedBottomCorners style works - but I can't see any code that actually uses it for drawing / filling / masking purposes?! The only

[flexcoders] Re: Jetty with JOTM causes ClassCastException in FDS

2007-12-12 Thread den.orlov
Most probably that this is class loading issue. UserTransaction that comes from either different jars or from different classloaders (system's and web app context's). If you are still interested in this please provide more details about your JOTM+Jetty configuration (web.xml, jetty.xml, jars you

Re: [flexcoders] Error 1009 when running on different server

2007-12-12 Thread Igor Costa
the problem isnt in your server machine. When you call from remoteObject to collect data from your cfc you´re trying to fill out the form detail without the response back complete from the collection you invoked. Suggestion is. try to fill the detail page with a way to when the result of

Re: [flexcoders] Creating a game in Flex

2007-12-12 Thread Igor Costa
I believe that if you use flash you will have more sucess. Regards Igor Costa www.igorcosta.org www.igorcosta.com On Dec 8, 2007 5:28 PM, pirzadaz_ali [EMAIL PROTECTED] wrote: Hi, I have Chess board and pieces images in png format separately. Now I want to use those images and create a

Re: [flexcoders] Re: PopupManager causes RangeError: Error #2006: adding a popup window

2007-12-12 Thread Igor Costa
The problem in your code friend is because you´re trying to add itens to an datagrid without existing first. you can only add that if you have already created the container for it. so addChild or initiate the popup before you do that. and will works. regards Igor Costa www.igorcosta.org

Re: [flexcoders] A way to Timer

2007-12-12 Thread Igor Costa
Try to use this code. i used that to create a cutdown timer for flash cs3 , so will give you an idea on how to do that. this.onEnterFrame = function() { var hoje:Date = new Date(); var anoAtual:Number = hoje.getFullYear(); var horaAtual:Number = hoje.getTime(); var

Re: [flexcoders] Flex with Lds in apache Geronimo

2007-12-12 Thread Igor Costa
Before you deploy the flex.war into geronimo you have to read the instructions of installation file, you need some .jars to get it done. This problem s caused because lcds depends on some libraries that is missing on geronimo. a way back 3 months ago i created an appliation with lcds and geronimo

Re: [flexcoders] How To Hide Tab Of Tabnavigator

2007-12-12 Thread Igor Costa
set the id to the container and then put visible='false simple and functional. regards. On Dec 10, 2007 9:34 AM, Scott Melby [EMAIL PROTECTED] wrote: tabNav.removeChildAt(index) works for me. hth Scott Scott Melby Founder, Fast Lane Software LLChttp://www.fastlanesw.com yourName

[flexcoders] Hide data tips on one series only

2007-12-12 Thread Sreejith Unnikrishnan
Hi, If I use 2 series on one chart - say a line series with a plot series, how can I prevent the datatips from showing when I set *showAllDataTips *to *true *in the LineChart control? mx:LineChart dataProvider={d} *showAllDataTips=true*dataTipFunction=setdp .. mx:series

[flexcoders] Loading Image dynamically

2007-12-12 Thread srikanth_reddy_007
I have an Item renderer which has an image and it displays the images depending on the type of the item What i want is to load the images dynamically from the server at run time and keep them in a Dictionary Type,Class at the begining of the app and the item renderer takes the images from the

RE: [flexcoders] Bubble chart BUG??

2007-12-12 Thread Sunil Bannur
What is the version you are using Flex 2.0.1, Flex 3 Beta 1, Flex 3 Beta 2? Also, could you post a little code snippet, which causes this. -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hworke Sent: Wednesday, December 12,

RE: [flexcoders] Hide data tips on one series only

2007-12-12 Thread Sunil Bannur
showAllDataTips is to show the datatips at all times, if you do not want that, just unset it and datatips would show when the user hovers the mouse on that item. -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sreejith

[flexcoders] Re: AsDoc and libraries problem

2007-12-12 Thread Benoit Thiebault
Hi, I finally have an answer to my problems : - ASDOC for Flex 2 doesn't support documenting private elements. A feature request has been transmitted to Adobe about this and may be implemented in Flex 3 - ASDOC for Flex 2 doesn't support class level comments in MXML files Too bad... --- In

[flexcoders] Ho to check an item has focus or how to find the currently focused item

2007-12-12 Thread Anzer
How can I check whether an item has focus from ActionScript? Or how to find which is the currently focused item? Thanks Anz http://www.FlickrMailer.com http://www.flickrmailer.com/

[flexcoders] Re: Ho to check an item has focus or how to find the currently focused item

2007-12-12 Thread m.ar80
If your UIComponent implements IFocusManagerComponent interface, you can call FocusManager.getFocus() to get the component that currently has focus. Otherwise, you can get the currently focused interactive object from Stage.focus. For details look into the documentation on FocusManager.

Re: [flexcoders] How to do equivalent of makeObjectsBindable=false on mx:Consumer

2007-12-12 Thread Robin Hilliard
For everyone's information here's a quick recursive function I wrote as a hack to strip out collections for now: private function stripCollections(o : *) : * { var k : String; if (o is Array) {

[flexcoders] Re: I need some help with custom labels in a BarChart

2007-12-12 Thread Mark
Thanks, I just tried that and that didn't work either. I'm trying to size the charts depending on the amount of data being passed, I'm thinking that could be causing the problem. Any ideas on how to do this better? public function getAreaChartSize(evt:Event):void { if

[flexcoders] [Job] San Mateo, CA start-up looking for QA Engineer for Flex GUI

2007-12-12 Thread Mitch Haile
Hi, I posted this to the flex-jobs group last week, but didn't get any bites. SnapLogic is an early stage start-up looking for a QA Engineer who can build a complete automated test system for our Flex GUI application. This job is for our first full-time QA position, so this person needs to be

[flexcoders] Refresh[update the parameters] in the component data dynamically

2007-12-12 Thread bhaskar M
Hi .. I have a component ServiceSelector which will render services based on the it's servicedata parameter, which is of ArrayCollection type. So My requirement is I will be calling serviceselector in multiple time with updated service data. First time it works fine..since

[flexcoders] Re: Use a Popup as itemEditor in Datagrids

2007-12-12 Thread mcaplan_labnet
Hi Alex, That would be super appreciated! Best, Mike --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I might have time to look at this over the weekend. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

[flexcoders] Creating Dynamic (Generalized) DataTipFormater function

2007-12-12 Thread Manjith
I am new to Flex Coding and need to create a generalized DataTipFormater function. What I meant is generalized following code so that any parameterized values can be passed to this functiion Function == private function

RE: [flexcoders] Cairngorm ServiceLocator Issue

2007-12-12 Thread Dimitrios Gianninas
ok do you have a log inside your java method, I assume u do, make sure it is the first line of code fo the method. make sure the method names in Flex and Java match in case. I dont know what server u are running, but check your server's log, maybe there is an exception in there. Dimitrios

RE: [flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).

2007-12-12 Thread Dimitrios Gianninas
yes it is, there are options: Granite Data Services: http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378 Red5: http://osflash.org/red5 Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc. From:

RE: [flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).

2007-12-12 Thread Dimitrios Gianninas
The answer is YES and I gave the other possibilities. If you are asking can I call Java classes from Flex without a some server component, then the answer is NO. You have to have something on the server-side to listen for the message coming over the wire and do the translation for you.

Re: [flexcoders] TextInput for percentage

2007-12-12 Thread Richard Rodseth
I'll take a look at flexlib, but just to clarify, I don't just want % in the field - when the value in the model is 100, I want 100%, and I want the user to be able to type 100 or 100%. Thanks. On Dec 11, 2007 7:01 PM, Adnan Doric [EMAIL PROTECTED] wrote: Hello, I would go for : Flexlib:

[flexcoders] complex xml parsing

2007-12-12 Thread y.mauron
Dear all, Here is a fragment of xml. When I try to parse it like that : import mx.rpc.http.HTTPService; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; public function addMzXMLSpectrum(path:String):void{ var service:HTTPService =

[flexcoders] Ignore this, just testing

2007-12-12 Thread tnajaryan
hi, board.

RE: [flexcoders] How to do equivalent of makeObjectsBindable=false on mx:Consumer

2007-12-12 Thread Peter Farland
Hey Robin, Tried that out but it didn't seem to have any effect - the collections were still wrapped. Isn't that setting more to do with AMF 1/2/3 - wouldn't the array collection wrapping take place inside the mx.messaging client code? What client Channel and server Endpoint are you

RE: [flexcoders] TextInput for percentage

2007-12-12 Thread Randy Martin
Check out the TextInputMask.as and the MaskFormatter.as components generated by the FB Coldfusion Application Wizard. These might do what you want. Also, there's a masked text input component on the Adobe Flex exchange that would probably do what you want, too. ~randy _ From:

Re: [flexcoders] How To Hide Tab Of Tabnavigator

2007-12-12 Thread Scott Melby
Not sure I am entirely clear on the solution. Can you post a code snippet? I'd love to use visible flag of the tab if it works... Thanks Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Igor Costa wrote: set the id to the container and then put visible='false

[flexcoders] HTTPService - datagridcolumn returning object Object when there is a null value

2007-12-12 Thread its_llpj
Hello, I'm using a HTTPService to call an XML file and when I render an empty field the result is [object Object]. I've tried checking the length of the field inside the row as it comes in, but no luck. I also tried checking for whitespace, but the same result. I would like to display an empty

[flexcoders] Datagrid context menu question

2007-12-12 Thread letterpigeon
Hi, I have a datagrid with a context menu. when user right click on the grid, is there a way to tell which row that just get right clicked (not the current selected item and right clicking on the grid doesn't change the selected item). Just want to make the UI a bit more intuitive (instead of

[flexcoders] Re: How do YOU do functional testing and automation package questions

2007-12-12 Thread tnajaryan
AFAIK, there are two tools that you can currently use for Flex GUI testing: Mercury QTP and TestComplete (which is not using mx.automation and thus is of limited use). You might also want to have a look at the upcoming GUI testing tool specifically designed for Flex at http://riatest.com

[flexcoders] conflict between 2 HTTPService objects

2007-12-12 Thread yannick_legarff
Hi, I'm using 2 HTTPService objects in parallel and the flash player seems to be confused with that in a particular situation. I'm using the first HTTPService to retrieve asynchronous events from an http api server. To use this api, I have first to register. Then I send an http POST request

[flexcoders] Event meta data in Interfaces

2007-12-12 Thread Tom Chiverton
If I declare an event in the meta data of an Interface: package as3.interfaces { [Event(name=storableEvent, type=flash.events.Event)] public interface IBrowserManagerAware { function get searchFragment():Object

Re: [flexcoders] Re: Loading Image dynamically

2007-12-12 Thread Tom Chiverton
On Wednesday 12 Dec 2007, srikanth_reddy_007 wrote: the item renderer they can place the custom images at server. so i need to bring the new images and replace the old image class variables, so that the item renderer takes the new images classes. Sounds like you might be better of doing this

[flexcoders] Re: complex xml parsing

2007-12-12 Thread Alan Gruskoff
Some clues: While you imported the Fault event, you never used it. You will get either a fault or result, check for both: service.addEventListener(fault, httpFault); Also, you arent sending anything with service.send();. Put the contents in the paren, ex: service.send(xmlObject);. Last, get rid

RE: [flexcoders] conflict between 2 HTTPService objects

2007-12-12 Thread Peter Farland
There is a browser dependent limit on the number of concurrent HTTP connections that can be made to a given domain. For HTTP 1.1 this is typically set to 2 connections for a given domain. Can you try making your second HTTPService call to another domain to see if it has any effect? Pete

[flexcoders] Re: Loading Image dynamically

2007-12-12 Thread srikanth_reddy_007
I can,t give the URL direcltly as source because. In the item renderer i have some images in the image map at the client side binded into swf and if some body doesnt want the default images for the item renderer they can place the custom images at server. so i need to bring the new images and

Re: [flexcoders] Event meta data in Interfaces

2007-12-12 Thread Tom Chiverton
On Wednesday 12 Dec 2007, Tom Chiverton wrote: What's the correct way to say that all the objects in a set will dispatch a common event ? No, I don't really want to convert my Interface into a Class an user extends rather than implement, because Search.mxml already extends VBox, and I don't

[flexcoders] [AIR] Flex Framework inside extra NativeWindow?

2007-12-12 Thread khair
Can anyone post an example or post a link to information using Flex Components in a NativeWindow? I'm using Flex to open a NativeWindow but I would like to use Flex components inside of that newly opened NativeWindow. So far I've only been able to add non-Flex UIComponents by adding them to

[flexcoders] Re: complex xml parsing

2007-12-12 Thread y.mauron
Thank you for your answer. I transforme my code a little bit to //Add a spectrum from mzXML url import mx.rpc.http.HTTPService; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; public function addMzXMLSpectrum(path:String):void{

[flexcoders] Meeting Tonight :: LCDS :: Adobe Boston User Group

2007-12-12 Thread Douglas McCarroll
Topic: LiveCycle Data Services Presenter: Ben Elmore (on video) Date:Wednesday, December 12, 2007 Time:7:00 PM Cost:Free Where: MIT's Stata Center, Room 124 Map: http://tinyurl.com/2u36bt Note: The Stata Center's doors are generally

[flexcoders] Re: How to disble double click in ComboBo?

2007-12-12 Thread flexawesome
sorry to pull the post up again, can anybody help me on this? Thanks --- In flexcoders@yahoogroups.com, flexawesome [EMAIL PROTECTED] wrote: Hey Alex, thanks for trying to help me out of this :) You may see the events of doubleClickEvents here:

[flexcoders] Re: this,border exists in debug but not in my class ? How do I access my prog sk

2007-12-12 Thread helihobby
anyone can help ? --- In flexcoders@yahoogroups.com, helihobby [EMAIL PROTECTED] wrote: Subject: this,border exists in debug but not in my class ? How do I access my prog skin ? Hello, I need to get the instance of my programmatic skin. I see my instance in the debugger when I break

Re: [flexcoders] Event meta data in Interfaces

2007-12-12 Thread Tom Chiverton
What's the correct way to say that all the objects in a set will dispatch a common event ? No, I don't really want to convert my Interface into a Class an user extends rather than implement, because Search.mxml already extends VBox, and I don't want to have to make a sub class of almost

[flexcoders] Re: filedownload from internet to local disc

2007-12-12 Thread Anthony DeBonis
You can not in Flex because of the Flash/Browser security. The FileReferance obj will allow you to browse/pick a file and post it back to the server but you do not have access to the bits in Flash. You need to use AIR if this is a requirement. --- In flexcoders@yahoogroups.com, Enrico Hofmann

Re: [flexcoders] Event meta data in Interfaces

2007-12-12 Thread Tom Chiverton
On Wednesday 12 Dec 2007, Tom Chiverton wrote: Eww. In case that wasn't clear - 'eww' because I've now got a 'default' concreate impl. of the methods from the Interface, and will have to type 'override' in all the implementing classes, wont get a warning if I forget to do a proper impl. etc.

[flexcoders] Global Security Settings panel - set with in flex

2007-12-12 Thread essuark
I understand that one can't set this stuff in flex but is there way to get the info. Basically I want to warn my users if they dont have a path added for local access. thanks Ralph

RE: [flexcoders] Re: How to disble double click in ComboBo?

2007-12-12 Thread Alex Harui
I'm sorry, I was under the assumption you had it working. I'll take a look, but probably not until next week. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexawesome Sent: Wednesday, December 12, 2007 9:25 AM To:

RE: [flexcoders] Re: Scale 9 not being picked up

2007-12-12 Thread Alex Harui
Are you sizing the assets directly or are they wrapped by Image or something like that? I don't think scale9 is recursive. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: Wednesday, December 12, 2007 1:40 AM To:

[flexcoders] Re: Error 1009 when running on different server

2007-12-12 Thread bobklhr
Thanks Igor, I'm already doing as you suggested, so that can't be the cause. When the master list completes loading it then tries to load the detail record matching the first row in the master list which causes the error (on production only). I get the same error when I select a different

[flexcoders] Re: Use a Popup as itemEditor in Datagrids

2007-12-12 Thread mcaplan_labnet
For those following this thread, I was able to get around one of my noted issues with a small hack. As noted previously, the FlexEvent.DATA_CHANGE event is not being fired reliably, resulting in my item renderer not being updated. To remidy this, in my dataGrid itemEditEnd event handler I call

[flexcoders] Re: A way to Timer

2007-12-12 Thread jer_ela
var timeLeft:int = 300 - minuteTimer.currentCount; this method turns seconds into minutes + fractional minutes or hours plus fractional hours, but doing hours minutes seconds will be the same idea. private function formatTime(seconds:int):String { var timeLabel:String = seconds.toString()

RE: [flexcoders] Re: How to send Arrays in WebService request???

2007-12-12 Thread Peter Farland
Did you get a chance to try out the latest SDK nightly build from Flex 3 on Adobe Labs? http://labs.adobe.com/technologies/flex/sdk/flex3sdk.html Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Connolly Sent: Wednesday, December 12,

[flexcoders] Re: How to disble double click in ComboBo?

2007-12-12 Thread flexawesome
Thank you so much Alex, I tried different ways to figure out the problem, but it still doesn't work for me. hummm... Have a nice day :) --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I'm sorry, I was under the assumption you had it working. I'll take a look, but

[flexcoders] dynamically creating a class from a className string

2007-12-12 Thread blc187
im trying to dynamically create a new instance of a class from a string holding the class name in the following way: var cls:String = ((isMock == true) ? MockImplementation : RealImplementation); var clsToCreate:Object = ApplicationDomain.currentDomain.getDefinition (cls); serviceLocator = new

RE: [flexcoders] Datagrid context menu question

2007-12-12 Thread Alex Harui
Search the archives for right-click. I think it has been done before. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of letterpigeon Sent: Wednesday, December 12, 2007 7:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid

RE: [flexcoders] HTTPService - datagridcolumn returning object Object when there is a null value

2007-12-12 Thread Alex Harui
Which resultFormat are you using? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of its_llpj Sent: Wednesday, December 12, 2007 7:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTTPService - datagridcolumn returning object

[flexcoders] Re: Event meta data in Interfaces

2007-12-12 Thread ben.clinkinbeard
Hey Tom, Don't have any solutions for you (sorry) but wanted to let you know I feel your pain. I've been struggling with the same thing lately as I wanted to create an interface, but want any implementors to also be containers. There is really no good way to enforce that because creating a base

[flexcoders] NameSpace problem in ViewStack

2007-12-12 Thread danielvlopes
Hello, i had some problem in viewstack. We had admin area made in flex, and in this place i had viewstack that control views of my app, like this: mx:Module xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute percentWidth=100 percentHeight=100

RE: [flexcoders] this,border exists in debug but not in my class ? How do I access my prog skin ?

2007-12-12 Thread Alex Harui
Can you post some code? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of helihobby Sent: Tuesday, December 11, 2007 11:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] this,border exists in debug but not in my class ? How do I

Re: [flexcoders] Datagrid context menu question

2007-12-12 Thread Scott Melby
I did it by listening for the MENU_SELECT event on my context menu... works great. _myContextMenu.addEventListener(ContextMenuEvent.MENU_SELECT, handleMenuSelectEvent, false, 0, true); hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Alex Harui wrote:

[flexcoders] Loading a flex app in a flex app

2007-12-12 Thread Vincent Rempp
Hi evryone, I'm writing an flex2 app (app1) wich needs to load another flex app (app2) with a mx:swfloader / app1 and app2 are on different domain and a crossdomain.xml file is placed on both domain allowing all ip. I get an security error (2047, sandbox violation) telling me that app2 cannot

[flexcoders] Re: [Solved] PopupManager causes RangeError: Error #2006: adding a popup window

2007-12-12 Thread wpbarto
I appreciate the response, but that is not the problem. The code is adding the items to an ArrayCollection, not the datagrid directly. It is up to the datagrid (once instantiated) to retrieve the data from the arraycollection which was set as a data provider. The problem was (as I mentioned

[flexcoders] Re: this,border exists in debug but not in my class ? How do I access my prog sk

2007-12-12 Thread helihobby
Sure. I have a programmable skin which I enable using actionscript as in: this.setStyle(borderSkin,com.classes.TileBackground); Later on I want to access the instance of my newly created skin getStyle does not do the trick as it return null. this.border in the same class I executed the above

Re: [flexcoders] Menubar Render

2007-12-12 Thread Andriy Panas
Hi Alex, Your suggestion had helped to solve this RTE issue with MenuBarRenderer that contains at least one mx:Label instance. But for this particular case of the renderer that contains only text information, I would encourage to use labelFunction instead together with MenuBar. Here is the link

[flexcoders] [FAST FORWARD WITH STREAMING VIDEO]

2007-12-12 Thread Joao Kreuzberg
does anyone tried to do fast forwarding with streaming video (VideoDisplay) on flex? I used flash too but did not find a way to make it work if I try to seek() or playheadTime the video it never gets on the right frame and it takes a few seconds to restart playing the video I'll need to create

[flexcoders] Re: HTTPService - datagridcolumn returning object Object when there is a null va

2007-12-12 Thread Corey Smaller
if using E4x resultFormat you have to call the parent node in the assignment like this: private function blah(event:ResultEvent) : void { //dataXML is an XMLList dataXML = (event.result.parentnode); //alert should show your nodes

[flexcoders] converting XML element to IList error

2007-12-12 Thread Corey Smaller
does anyone know what is wrong with this one: my HTTP request returns fine into the function (e4x resultFormat) and Adobe says IList supports XMLList but I keep getting this error. it appears the Ilist is trying to convert XML elements and throws an error. I get no errors when compiling, only at

Re: [flexcoders] Re: filedownload from internet to local disc

2007-12-12 Thread Daniel Freiman
You can download a file from the internet. You won't have access to the file or the file system, but the file will save. See FileReference.download () http://livedocs.adobe.com/flex/201/langref/flash/net/FileReference.html - Dan Freiman On Dec 12, 2007 12:08 PM, Anthony DeBonis [EMAIL

Re: [flexcoders] Re: Flex MouseEvent and loaded SWF with mouse handlers problem

2007-12-12 Thread Andriy Panas
Here is a good write-up how to solve this issues with handling onRollOver events specified in ActionScript2 inside loaded SWF files: http://www.jabbypanda.com/blog/?p=17 ;) Sorry for such a late answer. I have not checked flexcoders for a while. We have decided to add listener on timer and to

RE: [flexcoders] converting XML element to IList error

2007-12-12 Thread Alex Harui
It would help to see the full stack trace and the code around where it blew up. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Corey Smaller Sent: Wednesday, December 12, 2007 11:57 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: this,border exists in debug but not in my class ? How do I access my prog sk

2007-12-12 Thread Alex Harui
C'mon, that was only one line of code. What method do you setStyle, what method do you call getStyle and how do you call it, and when do you check for border? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of helihobby Sent: Wednesday,

RE: [flexcoders] dynamically creating a class from a className string

2007-12-12 Thread Alex Harui
getDefinition From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of blc187 Sent: Wednesday, December 12, 2007 9:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dynamically creating a class from a className string im trying to

[flexcoders] How to use DragManager.acceptDragDrop() when target is a MovieClip?

2007-12-12 Thread quiet.mountain
Evening all, Simple one here I hope.. I have a bunch of Movieclips that I want to color in using drag and drop of little colored tiles from a TileList. The MovieClips obviously do not implement IUIcomponent, so how do I use DragManager.acceptDragDrop(target:IUIComponent) to accept the drag

RE: [flexcoders] Re: complex xml parsing

2007-12-12 Thread Tracy Spratt
It is not necessary to have a request object: service.send(); is fine in your handler, trace the xml: trace(xml.toXMLString()); Do you have what you expect? Then approach your desired data one step at a time, tracing the content as you go. trace(xml.msRun[0].toXMLString()); Aso,

RE: [flexcoders] Re: complex xml parsing

2007-12-12 Thread Tracy Spratt
I don't think you want to remove the listeners until the result handler. And the request object is an OBJECT not XML and the default contentType expects name=value pairs (object.property=value). Take that out, it is notnecessary and is not helping. Tracy

RE: [flexcoders] Re: complex xml parsing

2007-12-12 Thread Tracy Spratt
Note, the result is already at the root of the xml. Trace it as I suggested. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, December 12, 2007 5:19 PM To: flexcoders@yahoogroups.com Subject: RE:

RE: [flexcoders] Re: HTTPService - datagridcolumn returning object Object when there is a null va

2007-12-12 Thread Tracy Spratt
Alert.show(dataXML.toString()); But always use toXMLString() to show xml. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Corey Smaller Sent: Wednesday, December 12, 2007 3:01 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Re: Actionscript: Copy an Object or Dictionary

2007-12-12 Thread slangeberg
You want a for..in loop, NOT for...each: var newDict:Dictionary = new Dictionary(); var item:Object; //don't think you want Class type, here.. for (item in myDictionary) { //now perform the deep copy... //for which you may need to have the class def... newDict[item] =

Re: [flexcoders] Simple game question with Flex

2007-12-12 Thread slangeberg
You can embed either an entire swf, or linked assets from its library: [Embed( '/assets/icon_lib_f9.swf#arrow_rt_wt' )] public static var arrow_rt_wt : Class; Where '#arrow...' is a linked asset with the file.swf. -Scott On Dec 8, 2007 4:23 AM, pirzadaz_ali [EMAIL PROTECTED]

Re: [flexcoders] How to do equivalent of makeObjectsBindable=false on mx:Consumer

2007-12-12 Thread Robin Hilliard
Ok, thanks for that - here's the relevant bit from log entry where the message is being serialised: aTest = (Externalizable Object #4 'flex.messaging.io.ArrayCollection') (Array #5) [0] = Hello from an array So according to the ActionMessageInput docco

[flexcoders] Tracking down stack overflow - tips? (in a hurry unfortunately)

2007-12-12 Thread Josh McDonald
Hi Guys, I'm getting a stack overflow somewhere in my code, and it seems that there's not one specific trigger for it as far as I can tell. It happens when I've not looked at the app for a while because I've been coding, and when I go back and click on the app it keels over and takes the browser

Re: [flexcoders] How to do equivalent of makeObjectsBindable=false on mx:Consumer

2007-12-12 Thread Robin Hilliard
FYI using toArray() on the ColdFusion array worked perfectly (thanks Mr Mandel): aTest = (Array #4) [0] = Hello from an array Cheers, Robin On 13/12/2007, at 10:06 AM, Robin Hilliard wrote: Ok, thanks for that - here's the relevant bit from log entry where the message is

[flexcoders] Re: How to send Arrays in WebService request???

2007-12-12 Thread Peter Connolly
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Did you get a chance to try out the latest SDK nightly build from Flex 3 on Adobe Labs? http://labs.adobe.com/technologies/flex/sdk/flex3sdk.html Pete I downloaded Flex 3 Beta 2 Builder (stand-alone), rebuilt the

[flexcoders] Re: DataServiceTransaction auto-refresh issue

2007-12-12 Thread chris_alme
Hmmm...In my scenario, the item is created server-side and pushed via DataServiceTransaction as currently my Managed objects are read-only. To get this to work, I never exposed the setId() on the client-side, only the server-side Java object. So it seems the copying is occurring server-side as

Re: [flexcoders] dynamically creating a class from a className string

2007-12-12 Thread Steve Mathews
You can use hasDefinition to check for it. I have also run into a situation where classes aren't available for a few seconds (but after loading a swf). On 12/12/07, Alex Harui [EMAIL PROTECTED] wrote: getDefinition -- *From:* flexcoders@yahoogroups.com

RE: [flexcoders] Tracking down stack overflow - tips? (in a hurry unfortunately)

2007-12-12 Thread Alex Harui
I add trace statements at the beginning of functions. Usually you'll see a pattern in the log. I would also monitor memory usage. Maybe memory is being eaten while idle. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh

[flexcoders] Flex server Subversion

2007-12-12 Thread DannyT
I've seen a couple of threads on this but not enough for a definitive conclusion. I'm trying to define a standard practice for source controlling a flex and back-end project (namely flex - remoting - .net ( - sql?) Do people tend to treat their server-side projects as a separate project in a

[flexcoders] Multiple LocalConnection

2007-12-12 Thread Guillermo Villasana
Hello everyone I have been trying to solve the problem that LocalConnection can only use one Identifier and must not be used again. I tried doing this: In flex (myFlex.swf): mx:SwfLoader source=myflash.swf?IDConector={RandomID}/ In flash (myflash.swf): lc:LocalConnection = new

  1   2   >