Re: [flexcoders] Auto block comment in Flexbuilder 2?

2008-02-20 Thread Derrick Anderson
i only have FB3 but i believe CTRL + SHIFT + C works on both. On Wed, Feb 20, 2008 at 11:12 AM, Merrill, Jason [EMAIL PROTECTED] wrote: Is there a key combination in Flexbuilder 2 to auto-comment out a selected region of code? I hate having to type !-- -- manually in MXML... or /* */

Re: [flexcoders] Re: bitmap hitTest method

2008-02-20 Thread Troy Gilbert
http://troygilbert.com/category/game-dev/ Wow, first time I've ever seen someone else link to my blog on this list! ;-) Sweet, thanks... guess I am helping! And he's right. Here's the direct link: http://troygilbert.com/2007/06/25/pixel-perfect-collision-detection-in-actionscript3/ Also, it

[flexcoders] Re: Flex Ant Task for F3b3 genereates ALWAYS debug version, how to fix that?

2008-02-20 Thread Gaurav Jain
These numbers are after only switching debug (true|false) using flex tasks. --- In flexcoders@yahoogroups.com, lytvynyuk [EMAIL PROTECTED] wrote: Did you get 241kb and 149kb only switching debug option in ant task or one of results is after FB another after ANT? --- In

Re: [flexcoders] Re: Best Practices:HTTPService, E4X, XML and dataProvider

2008-02-20 Thread Chris Hunter
On Feb 20, 2008 10:43 AM, Tracy Spratt [EMAIL PROTECTED] wrote: Performance caveat: It has become clear that accessing data an xml node is significantly slower than accessing data in a strongly typed object. This can be noticable if you have, say, a large datagrid that displays hundreds of

Re: [flexcoders] how to de-serialize objects

2008-02-20 Thread [p e r c e p t i c o n]
Hi Again, Ok...so by instantiating my class the Serialization took place and there are 99 elements of that type in the result...however the members of the class are all null, but i'm printing them to a file on the Java side so I know that there are values in each object...any ideas on why this is

[flexcoders] Re: Power point in FLEX

2008-02-20 Thread Anthony DeBonis
sliderocket creates presentation not in ppt format thought http://www.sliderocket.com I have code we use to import a ppt file and export .swf files for each slide in a ppt file - if you need it. Can be used with ColdFusion or Java. - one is using FlashSpring - one uses DreamSoft PPT import

[flexcoders] Re: Flex Ant Task for F3b3 genereates ALWAYS debug version, how to fix that?

2008-02-20 Thread lytvynyuk
In that case no point to report bug, everything works for me too. Problem for me is different actually it is about RSL. I try to build everytinh with RSL which suppose to decrease size of my application. WQhich is not happening. AS you see I included RSL into my flex build task but it doesnt

[flexcoders] Free Image Cropping Component

2008-02-20 Thread Paul Whitelock
Greetings! I've just completed developing a component for Flex that enables an image to be cropped. A cropping rectangle is used to select the portion of the image to retain. The cropping rectangle may be resized using four corner handles and the rectangle may be repositioned by clicking inside

Re: [flexcoders] Free Image Cropping Component

2008-02-20 Thread Jon Bradley
On Feb 20, 2008, at 1:06 PM, Paul Whitelock wrote: Greetings! I've just completed developing a component for Flex that enables an image to be cropped. A cropping rectangle is used to select the portion of the image to retain. The cropping rectangle may be resized using four corner handles

RE: [flexcoders] Auto block comment in Flexbuilder 2?

2008-02-20 Thread Merrill, Jason
Perfect, that's exactly what I was looking for. Thanks. Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community Interested in innovative ideas in Learning? Check out the GTO Innovative Learning Blog

[flexcoders] Re: Flex Ant Task for F3b3 genereates ALWAYS debug version, how to fix that?

2008-02-20 Thread Gaurav Jain
I think you should modify your ant task to following: mxmlc file=${BUILD_SPACE}ActiveUpdate.mxml output=${DEPLOY_DIR}/ActiveUpdate.swf actionscript-file-encoding=UTF-8 services=${BUILD_SPACE}res/services-config.xml

Re: [flexcoders] finding all textareas

2008-02-20 Thread yiğit boyar
you can trace all children with; var obj:Object; for each(obj in this){ if(obj is TextArea){ //than do sth } } but i dont know it has anything to do with the currentState or not On Feb 20, 2008 1:15 PM, Nikolas Hagelstein [EMAIL PROTECTED] wrote: Hi there, is there a way

[flexcoders] Drag and Drop issues

2008-02-20 Thread Nick Collins
I've got an application I'm working on where I need to be able to drag things onto a Canvas, and sometimes into containers that are children of the canvas. The problem I'm having is that when I have another container inside the canvas, it doesn't register the dragEnter event, even though I have

RE: [flexcoders] Horizontal Menu?

2008-02-20 Thread Joan Lafferty
Do you have an image of what you are wanting to do? Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aasim Sent: Tuesday, February 19, 2008 11:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Horizontal Menu? Hi,

RE: [flexcoders] Re: Best Practices:HTTPService, E4X, XML and dataProvider

2008-02-20 Thread Brad Bueche
Thank you very much for taking the time to give that answer. Its helping a lot I guess for turning this into a XMLListCollection and hooking it up to my dataProvider I'd do the following? //*** [Bindable] public var dpCollection:XMLListCollection = new

Re: [flexcoders] Re: bitmap hitTest method

2008-02-20 Thread Daniel Freiman
Yeah, it's like we have a community here or something. Who new? :) - Dan On Wed, Feb 20, 2008 at 12:51 PM, Troy Gilbert [EMAIL PROTECTED] wrote: http://troygilbert.com/category/game-dev/ Wow, first time I've ever seen someone else link to my blog on this list! ;-) Sweet, thanks...

[flexcoders] how does mx:DataGrid state work?

2008-02-20 Thread coder3
Hi All, I am trying to use state to change to column fields of mx:DataGrid. for example, if it's state1, i show column1, column3 only. if it's state2, i show column2, column3 only. so i made it this way: mx:states mx:State name=state1 basedOn= mx:SetProperty target={column2}

[flexcoders] Supporting both double and single click events for TileList

2008-02-20 Thread Greg
Hi All, I have a photo gallery on my site (TileList of thumbnails) and I am having problems with double click events when employing click event. I would like to support the events as follows: - ItemClick, open image popup window with image slightly larger than thumbnail -

RE: [flexcoders] Re: Best Practices:HTTPService, E4X, XML and dataProvider

2008-02-20 Thread Tracy Spratt
For the XMLList collection, do this: public var dpCollection:XMLListCollection; dpList = event.result.month; dpCollection = new XMLListCollection(dpList); One suggestion for flexibility: Keep a reference to the root of the XML. My advised code below: private var _xmlResult:XML;

Re: [flexcoders] Supporting both double and single click events for TileList

2008-02-20 Thread Maciek Sakrejda
Right. If a double-click occurs, you'll get the single-click behavior as well. What you want to do is add a listener for the single click that starts a timer for a function that will execute the single-click behavior in n milliseconds. If a second click occurs, cancel the timer. The double-click

Re: [flexcoders] Re: Transparent=true on BitmapData not working

2008-02-20 Thread Josh McDonald
So the colour value is a 32 bi argb instead of just 24 bit rgb then? Well that makes sense :) Where else in flex is a colour value 32 bit instead of 24 bit? Is it all over the place and I've just never noticed? What about in styles? -J On Thu, Feb 21, 2008 at 3:39 AM, Troy Gilbert [EMAIL

[flexcoders] What could make a deleted modal popup redraw the whole screen?

2008-02-20 Thread cmalartre
Dear good fellow coders, Simple problem with modal popups: 1) Right-click Show redraw region 2) Only part of the app are bordered red 3) Create popup with modal=true 4) Delete popup with PopupManager.removePopup(this) 5) Right-click Show redraw region 6) Whole app is always redrawn. The stage's

Re: [flexcoders] how to de-serialize objects

2008-02-20 Thread [p e r c e p t i c o n]
just noticed that the namespaces are different...would this matter? on the POJO it com.xxx.remoting, but on the AS3Object it just package... percy On Wed, Feb 20, 2008 at 10:12 AM, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: Hi Again, Ok...so by instantiating my class the Serialization

RE: [flexcoders] Re: Best Practices:HTTPService, E4X, XML and dataProvider

2008-02-20 Thread Brad Bueche
Ok, I understand!!! (Finally!) thanks!!! brad -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, February 20, 2008 2:47 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Best Practices:HTTPService, E4X,

[flexcoders] Re: Flex Ant Task for F3b3 genereates ALWAYS debug version, how to fix that?

2008-02-20 Thread lytvynyuk
with runtime-shared-library-path path-element${FLEX_HOME}/frameworks/libs/framework.swc/path-element rsl-url${FLEX_HOME}/frameworks/rsls/framework_3.0.189825.swf/rsl-url /runtime-shared-library-path in my ant build file I getting:

[flexcoders] Re: Supporting both double and single click events for TileList

2008-02-20 Thread jmfillman
A timer option may be what you decide, but keep in mind that you can still control the popup from the application. So, the first click will always create the popup, but if you don't prevent use of the parent application while the popup is open (the only way to ever get a double click without a

[flexcoders] How do I navigate to an mxml file from a login file?

2008-02-20 Thread sirickhoop
I've created a login that will send users in 1 of 3 direction (i.e. administrator, teacher, or student). I want each type of user to link to a separate mxml file because, if I use States, my file will become quite large and I don't want to have to navigate through long files when I'm coding.

RE: [flexcoders] How do I navigate to an mxml file from a login file?

2008-02-20 Thread Tracy Spratt
I advise using SWFLoader in a main mxml file. Or, use modules, with which I am not yet familiar, but which are intended for this purpose. One reason to use a main app is to maintain the login/credential information for use with any data service calls the app may need to make. If you are

[flexcoders] How to print ViewStack children as multipage document?

2008-02-20 Thread Sergey Kovalyov
Hi All! Imagine, I have multipage document represented as ViewStack in application. Each child is document page. Since default creationPolicy is AUTO, ViewStack grandchildren (page elements) are created only when the page is selected. Another problem that it seems FlexPrintJob class can print

[flexcoders] measure(), measuredMinWidth and unscaledWidth

2008-02-20 Thread Giles Roadnight
Hi All I have a renderer that is showing an image and a textInput in a tileList. The measure function adds the height of the textField to the height of the image and the margin to get a value of around 200 pixels. The minMeasuredHeight and measuredHeight are both set to 200. When the

RE: [flexcoders] Drawing in Panel Insanity

2008-02-20 Thread Merrill, Jason
Thanks Jim! I'll check it out. Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community Interested in innovative ideas in Learning? Check out the GTO Innovative Learning Blog

RE: [flexcoders] How do I navigate to an mxml file from a login file?

2008-02-20 Thread Alger Werft
You should look into Custom MXML Components (see the LiveDocs). Create a component for each outcome. Then, you can put these three components in a ViewStack. Depending on the outcome of the login process you can then set the selectedIndex of the viewstack. This results in your main.mxml

RE: [flexcoders] Accessing Multi Dimensional Array Collection Data in a DataGrid

2008-02-20 Thread Tracy Spratt
dataField will only accept strings, not expressions like practice.name These count as strings: @attrName, *. labelFunction is the correct solution. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Stewart Sent: Sunday,

RE: [flexcoders] dynamic function Names

2008-02-20 Thread Tracy Spratt
As long a this is a dynamic object. In 1.x, mx:Application was dynamic, in 2+ it is not. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joshua gatcke Sent: Monday, February 18, 2008 4:51 PM To: flexcoders@yahoogroups.com

Re: [flexcoders]Flex Charting - Export to PDF and Images

2008-02-20 Thread Eduardo Dias
We're using java On Feb 20, 2008 5:41 PM, Derrick Anderson [EMAIL PROTECTED] wrote: what do you have available server side? i use CF and what i would do is setup a CF scheduled task to query the data, generate the reports in coldfusion and mail them as attachments. i wouldn't even

RE: [flexcoders] Re: Transparent=true on BitmapData not working

2008-02-20 Thread Alex Harui
Only in bitmapdata From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Wednesday, February 20, 2008 11:46 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Transparent=true on BitmapData not working So

RE: [flexcoders] What could make a deleted modal popup redraw the whole screen?

2008-02-20 Thread Alex Harui
Modality is emulated by putting a semi-transparent shield over the entire screen below the popup. When it goes away, everything is re-rendered, but your drawing code won't get called unless something resized so it shouldn't be slow. From:

Re: [flexcoders]Flex Charting - Export to PDF and Images

2008-02-20 Thread Derrick Anderson
what do you have available server side? i use CF and what i would do is setup a CF scheduled task to query the data, generate the reports in coldfusion and mail them as attachments. i wouldn't even involve flex in this matter... On Wed, Feb 20, 2008 at 3:27 PM, Eduardo Dias [EMAIL PROTECTED]

RE: [flexcoders] measure(), measuredMinWidth and unscaledWidth

2008-02-20 Thread Alex Harui
Can you post a mini-example? Are you sure the measure() sets measuredHeight to 200 every time? Sometimes on the first call, the image or TextField can have the wrong height. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giles

[flexcoders]FlexCharting - Schedule PDF

2008-02-20 Thread Eduardo Dias
Hi, Ok, We know that we can generate a PDF with alivePDF in the client and also send the data to the server to be process. However we also will need schedule a job that will generate an email with a pdf from charts. In this case we'll also need to create the services to receive and proccess the

RE: [flexcoders] how does mx:DataGrid state work?

2008-02-20 Thread Alex Harui
If you refresh, are you resetting the set of columns? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of coder3 Sent: Wednesday, February 20, 2008 11:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how does mx:DataGrid state

Re: [flexcoders]Flex Charting - Export to PDF and Images

2008-02-20 Thread Eduardo Dias
Ok, We know that we can generate a PDF with alivePDF in the client and also send the data to the server to be process. However we also will need schedule a job that will generate an email with a pdf from charts. In this case we'll also need to create the services to receive and proccess the data

RE: [flexcoders] Re: getCharBounds not working on AIR?

2008-02-20 Thread Gordon Smith
1. If the same code produces different character bounds in AIR than in the Flash Player, that's a bug and you should file it. 2. A constructor should not call createChildren(). The framework automatically calls createChildren() at the appropriate time, which is when the component is added to the

[flexcoders] Reset State in Flex

2008-02-20 Thread ghus32
Is there a way to reset a state in Flex? Thanks steve

RE: [flexcoders] Datagrid item on rollOver

2008-02-20 Thread Alex Harui
What did you try? itemRollOver=myCode() should work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of linko27 Sent: Wednesday, February 20, 2008 2:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid item on rollOver

Re: [flexcoders] Reset State in Flex

2008-02-20 Thread Mark Lapasa
set currentState to null. -mL ghus32 wrote: Is there a way to reset a state in Flex? Thanks steve Notice of confidentiality: The information contained in this e-mail is intended only for the use of the individual or entity named above and may be confidential. Should the reader of

RE: [flexcoders] Drag and Drop issues

2008-02-20 Thread Alex Harui
Maybe you shouldn't register the canvas. Put another child in the canvas with alpha=0 that goes behind all the other children and register that. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nick Collins Sent: Wednesday, February 20,

RE: [flexcoders] embedded swf doe not run

2008-02-20 Thread Alex Harui
You're not embedding it. You're loading it from an external source. I would add trace output to myflash.swf so you can see how far it got. If it assumes it can use layers or get to the stage, it may not run properly. From: flexcoders@yahoogroups.com

RE: [flexcoders] Reset State in Flex

2008-02-20 Thread steven pollard
that brings me back to the original state. I need to reset the current state I am in. Thanks Steve To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Wed, 20 Feb 2008 16:21:20 -0500Subject: Re: [flexcoders] Reset State in Flex set currentState to null. -mLghus32 wrote: Is there a way to reset

RE: [flexcoders] Re: Reset State in Flex

2008-02-20 Thread steven pollard
Thaks for your answers. how would you force a page refresh? Thanks Steve To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Wed, 20 Feb 2008 21:32:40 +Subject: [flexcoders] Re: Reset State in Flex I am not aware of any quick way to clear all the text inputs and reset the application to

[flexcoders] Question reg. flex + webservices

2008-02-20 Thread cool buddy
HI All, For webservices to work with flex..do we need to an event listener. Because i am writing an action script where i am calling the webservice method it does n't work..so wondering whether we need to write the event listener. If any knows please post it. Thanks,

Re: [flexcoders] do you need CS Degree to get a job?

2008-02-20 Thread Sherif Abdou
wow lots of opinions in here. Thanks it gives me a better idea. - Original Message From: Daniel Freiman [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 20, 2008 10:53:06 AM Subject: Re: [flexcoders] do you need CS Degree to get a job? Well I said it, so I

[flexcoders] Error in StyleManager

2008-02-20 Thread Christoph Atteneder
Hi, Just for the case someone else runs into this error: During the usage of the StyleManager I´ve found a bug which I can reproduce all the time. It throws an Error, if it is not able to load a runtime-style.swf even if you implement the StyleEvent.ERROR handler. Steps to reproduce: 1.

[flexcoders] Re: Reset State in Flex

2008-02-20 Thread Anthony DeBonis
This will do it navigateToURL(new URLRequest(http://.;, _self);

[flexcoders] Re: Reset State in Flex

2008-02-20 Thread jmfillman
I was afraid you'd ask that :-) It's been years since I really dealt with HTML, but something like this should work: private function reloadPage():void{ var url:URLRequest = new URLRequest(http://www.mysite.com;); navigateToURL(url, _parent); } You are just pointing the browser back

Re: [flexcoders] do you need CS Degree to get a job?

2008-02-20 Thread Nick Collins
I'm going to throw my 2p in, for what it's worth. In my experience, it depends largely on the type of employer you're applying to. If you're trying to get into a smaller boutique shop (think Universal Mind, Cynergy, EffectiveUI, etc.) which in my opinion are some of the coolest places to work, a

Re: [flexcoders] Re: Reset State in Flex

2008-02-20 Thread Derrick Anderson
could you not just have an empty state with no instructions, switch to that state and back to reset the original one? never tried it, just seemed easier than resetting the entire app d. On Wed, Feb 20, 2008 at 4:47 PM, jmfillman [EMAIL PROTECTED] wrote: I was afraid you'd ask that :-) It's

RE: [flexcoders] dynamic function Names

2008-02-20 Thread Gordon Smith
You can look up properties and methods by name with o[p] syntax even if o isn't an instance of a dynamic class. And I'm pretty sure that mx:Application wasn't a dynamic class in 1.x. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com

[flexcoders] Re: Reset State in Flex

2008-02-20 Thread jmfillman
I am not aware of any quick way to clear all the text inputs and reset the application to how it was when it first loaded. The only way I know to do this is to programatically set everything back to how you want them. myTextArea.text=; myPanel.visible=false; myArray.source = [One, Two, Three];

RE: [flexcoders] finding all textareas

2008-02-20 Thread Gordon Smith
No, you can't. This can only be used for looping over dynamic properties of dynamic classes. To loop over the children of a DisplayObjectContainer, you have to do var n:int = numChildren; for (var i:int = 0; i n; i++) { var child:DisplayObject = getChildAt(i); ... } Gordon Smith Adobe

[flexcoders] Only DragEvent.DRAG_ENTER fires in Custom Component

2008-02-20 Thread Mark Forsberg
I have the following custom component that allows a user to drag an item from a datagrid into an image of a trashcan located in the titleBar of the panel housing the datagrid for deletion from the grid. The custom component renders fine, but the only DragEvent that is captured is the

[flexcoders] Web conferencing with Flex

2008-02-20 Thread zynahcall
Hi Any one can help to develop a web conferencing application with Flex Support multiusers, sharing board, sharing desktop and also using rtmp Thank you

RE: [flexcoders] Only DragEvent.DRAG_ENTER fires in Custom Component

2008-02-20 Thread Joan Lafferty
If you do not call DragManager.acceptDragDrop(), the other drag events like dragDrop won't fire. Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Forsberg Sent: Wednesday, February 20, 2008 1:58 PM To:

Re: [flexcoders] Web conferencing with Flex

2008-02-20 Thread Alan Rother
Can I ask why you want to re-invent the wheel? Are you not familiar with Adobe Acrobat Connect? It is exactly that and yes, based on all those technologies you mentioned. http://www.adobe.com/products/acrobatconnectpro/?ogn=EN_US-gntray_prod_acrobat_connect_pro_home There is also Brio, which

[flexcoders] Re: Tree descendants

2008-02-20 Thread Rafael Faria
Not really. Got an error as well. someone else can help me out?? raf --- In flexcoders@yahoogroups.com, Jim Hayes [EMAIL PROTECTED] wrote: I think it's XML(dataProvider).descendants().(attributes(enabled) == true) that you want ? Not checked it but I think it's pretty close at least.

[flexcoders] No right mouse button functionality? Really?

2008-02-20 Thread Brad Bueche
I've been googling trying to find out how to turn off the player menu and enable right mouse button clicks. So far it looks like you cant do it. Am I missing something here? brad

Re: [flexcoders] Download physical file with URLLoader

2008-02-20 Thread Fidel Viegas
Have a look at flash.net.FileReference that has a download method. That is what you should use to download or upload files. Fidel. On Wed, Feb 20, 2008 at 5:23 PM, Eric Cobb [EMAIL PROTECTED] wrote: I'm trying to figure out a way to connect to a remote URL, and download a file from

Re: [flexcoders] Question reg. flex + webservices

2008-02-20 Thread Maciek Sakrejda
Yes, you'll need an event listener to handle the result of the web service call (unless, of course, the web service call does not return any data but merely has some effect on the server). If you can post the code you're having trouble with, perhaps we can help. -- Maciek Sakrejda Truviso, Inc.

[flexcoders] Re: Only DragEvent.DRAG_ENTER fires in Custom Component

2008-02-20 Thread Mark Forsberg
Joan, You're spot on. I modified my two DragEvent handlers to the following and it works like a charm: private function dragEnterEvent(event:DragEvent):void{ var dropTarget:Box = event.currentTarget as Box; DragManager.acceptDragDrop(dropTarget); }

[flexcoders] Help with Skins with different sizes

2008-02-20 Thread Fidel Viegas
Hi everyone, I have created a button skin for up, down and over. Each one has a different size. They were all created in Flash. When I import them over in Flex, they seem to be fixed to one single size. The size of the button was supposed to increase when the mouse is over the button, and

[flexcoders] Re: Problem with focus in secondary popups

2008-02-20 Thread Dmitri Girski
Hi Alex, I have created a simple test case: http://mitek.id.au/TestPopUpSimple.html Source: http://mitek.id.au/PopupFocus.zip http://mitek.id.au/CMyPanel.as - is the base class for the popup window - it performs all the focusing stuff. Actually this class can focusing without any problem BUT

[flexcoders] Re: BlazeDS - Unknown destination error - SOLVED

2008-02-20 Thread Geoffrey
I honestly don't know how I fixed it. I reinstalled Apache, and the Flex 3 Eclipse plugin. Then ripped out every instance of Flex 2 I could find except for the flex-bootstrap-2.0.1.jar file (if I did that, nothing worked). Now I can receive a message published from our J2EE server. Thanks

[flexcoders] Re: Tree descendants

2008-02-20 Thread Rafael Faria
Ok you got it almost right like you said. instead of attributes use attribute. var list:XMLList = XML(dataProvider).descendants().(attribute(editing) == true) the thing now is how do i change the element. i tried go through the list and change the attribute to

[flexcoders] Re: Tree descendants

2008-02-20 Thread Rafael Faria
As usual, i sent the message and solve my problem. The problem was casting the dataProvider as XML. if i use var list:XMLList = dataProvider.descendants().(attribute(editing) == true) i can parse through the list and change it attributes for (var i:* in list){ [EMAIL PROTECTED] = false;

[flexcoders] BlazeDS Subtopics from Java

2008-02-20 Thread Geoffrey
I see plenty of examples of how to do subtopics all from MXML/AS code, but how to you create a message in Java that has a subtopic? Here are some code snippets: :::messaging-config.xml::: destination id=siteMessages properties server max-cache-size1000/max-cache-size

Re: [flexcoders] No right mouse button functionality? Really?

2008-02-20 Thread Max Frigge
There are some workarounds, but it is not natively supported.. Maybe this might help you... http://www.flex-flex.net/blog/article.asp?id=27 - Original Message From: Brad Bueche [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, February 21, 2008 9:30:45 AM Subject:

RE: [flexcoders] Re: Tree descendants

2008-02-20 Thread Jim Hayes
Close but no cigar then :-( the thing now is how do i change the element. var list:XMLList = XML(dataProvider).descendants().(attribute(editing) == true) for each ( var editingNode:XML in list) { [EMAIL PROTECTED]false; // or whatever you want to do to that node } (that probably won't

RE: [flexcoders] dynamic function Names

2008-02-20 Thread Tracy Spratt
Yes, bracket notation will almost always resolve an object reference. Very powerful. Regarding mx:Application, perhaps my terminology is incorrect. I seem recall that the change to tight typing happened in AS3/FP8/Flex2. And do remember that in a 1x app we coud do: this[myvar] = myvalue;

RE: [flexcoders] Re: Problem with focus in secondary popups

2008-02-20 Thread Alex Harui
The Flex Framework has some built-in functionality around popups. In general, you should not need to call FocusManager.activate() or SystemManager.activate() unless you are in some unexpected scenario. I modified your example and it seemed to work correctly for me. Here are the changes I

RE: [flexcoders] dynamic function Names

2008-02-20 Thread Gordon Smith
Sorry, it seems like such ancient history that I forgot... ALL classes in AS2 / Flex 1.x were what we now call dynamic. The distinction between a dynamic class and a non-dynamic (sealed) one -- as determined by the 'dynamic' keyword on a class declaration -- was introduced in AS3 / Flex 2. -

[flexcoders] Redirect flash player from localhost to PC client when access flex app

2008-02-20 Thread Harry Saputra
How to make a express installation from localhost when PC client doesn't have a flash player 9.0 before ? When client access my flex app, and doesn't have installed flash player, the app give a option to install it from my localhost server.. thanks

[flexcoders] Re: Using module from Flex library project

2008-02-20 Thread Gaurav Jain
I looked at the project file you sent. If you follow the instructions I sent you earlier, you should be all set. 1. Delete MainApp.mxml from ModulesHome project. 2. Modify ModulesHome project by setting do not optimize for any project 3. remove the source path entry (for module home) from the

[flexcoders] Re: Problem with focus in secondary popups

2008-02-20 Thread Dmitri Girski
Alex, thank you very much for the help. You just saved me from madness after 4 days I spent with this problem. Only one thing I want to mention: if I use a mixture of automatic manual popups generation, I still have to call manually fSetFocus() in the parent. PS I've updated the code in

[flexcoders] Re: Flex Ant Task for F3b3 genereates ALWAYS debug version, how to fix that?

2008-02-20 Thread Gaurav Jain
My bad. The syntax I sent was incorrect. It was meant to be runtime-shared-library-path path-element=${FLEX_HOME}/frameworks/libs/framework.swc The warning you get is because you have specified the signed version of the framework rsl (.swz) in the arguments. It would go away if you either use

Re: [flexcoders] how to de-serialize objects

2008-02-20 Thread Sujit Reddy
If you are mapping the AS object to the Java class using the RemoteClass metatag, that will do the work. just make sure the name of the Java class in the RemoteClass metatag has the fully qualified name i.e. com.xxx.remoting .classname You need not de-serialize the arraylist, if the mapped

[flexcoders] Re: Tree descendants

2008-02-20 Thread Rafael Faria
Hey mate... who said you are an idiot? no worries mate... you put me on the right path :P thanks a lot!!! raf --- In flexcoders@yahoogroups.com, Jim Hayes [EMAIL PROTECTED] wrote: Close but no cigar then :-( the thing now is how do i change the element. var list:XMLList =

[flexcoders] Selecting a Item on a Tree Control

2008-02-20 Thread Rafael Faria
I was reading blog.flexexamples and i saw an example of what i need. But it was quite exactly. The following example is Opening nodes on a tree control. http://blog.flexexamples.com/2007/11/29/opening-nodes-in-a-flex-tree-control-using-the-expanditem-method/ What i need is basically the same

[flexcoders] Re: Web conferencing with Flex

2008-02-20 Thread b_alen
Are you not familiar with Adobe Acrobat Connect? It is exactly that and yes, based on all those technologies you mentioned. A. It's expensive B. It sucks

[flexcoders] Re: getCharBounds not working on AIR?

2008-02-20 Thread b_alen
1. If the same code produces different character bounds in AIR than in the Flash Player, that's a bug and you should file it. It produces the same bounds, you just can't access the function at the same time, that is upon setting the text property. You have to do it later at some point in time.

[flexcoders] Re: Alternate row color of DataGridColumn

2008-02-20 Thread sreeni_r
I have posted a sample here http://flexpearls.blogspot.com/2008/02/alternate-row-color-in- datagrid-per.html -Sreenivas --- In flexcoders@yahoogroups.com, Danish Tehseen [EMAIL PROTECTED] wrote: DataGrid alternate item's color can be set by datagrid's alternatingItemColors property, but

[flexcoders] Re: AdvancedDataGrid - Changing the background color on a row.

2008-02-20 Thread sreeni_r
I have posted a working sample here which I think you can tweak it work your scenario. http://flexpearls.blogspot.com/2008/02/row-background-color-in.html -Sreenivas --- In flexcoders@yahoogroups.com, Dominic Pazula [EMAIL PROTECTED] wrote: I thought this would be easy to do, but I have

[flexcoders] Creating a constantly pressed button - reptative firing of Mouse_Down event?

2008-02-20 Thread polestar11
Hi there How would one set up events on a button so that a function can be called while it is in the pressed state? For example, I want an item on the stage to scale while I hold down the Scale button. Mouse_Down is only called once. I tried setting up Mouse_Over events in the mouseDownHandler,

RE: [flexcoders] Creating a constantly pressed button - reptative firing of Mouse_Down event?

2008-02-20 Thread Alex Harui
autoRepeat=true, and listen for buttonDown, not mouseDown From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of polestar11 Sent: Wednesday, February 20, 2008 10:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Creating a constantly

[flexcoders] Circle Canvas

2008-02-20 Thread Swamy Nathan
Hi Folks, I am swaminathan, and am new to flex env... i want to create the Circle Shape Canvas. How can i ? Please help me... -- Thanks Regards Swaminathan. M

RE: [flexcoders] Circle Canvas

2008-02-20 Thread Gordon Smith
Can you explain more what you mean by the Circle Shape Canvas? - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Swamy Nathan Sent: Wednesday, February 20, 2008 11:01 PM To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com Subject:

[flexcoders] Re: Creating a constantly pressed button - reptative firing of Mouse_Down event?

2008-02-20 Thread polestar11
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: autoRepeat=true, and listen for buttonDown, not mouseDown THANKS!

RE: [flexcoders] Re: getCharBounds not working on AIR?

2008-02-20 Thread Gordon Smith
1. I don't think AIR and Flash Player should have different timing. If the Flash Player knows the correct bounds immediately after setting the text, AIR should too. Please file a bug. 2. You get a null object exception because you're expecting children to exist after newing a component, and

[flexcoders] mozilla linux vs mozilla mac os x - different results in processing xml files

2008-02-20 Thread hoytlee2000
I've noticed a difference between the results my flex application between the flash player on linux and on mac osx. I am processing an xml file and creating a CDATA element, I then print it out to check it before I send it to a php script to save it out I use this to add the CDATA element:

<    1   2