[flexcoders] Help needed -- Reloading SWFLoader leads to Unexpected Behaviour

2008-09-22 Thread sudha_bsb
Hi, I have an application with multiple states. Each state changes the source of a SWFLoader present in the base state. Switching between states forces the SWFLoafer to reload the source file. Such reload results in some unexpected behaviour such as the contents of the individual SWF files are d

RE: [flexcoders] e4x problem - filtering elements based on multiple child conditions

2008-09-22 Thread Mark Carter
Oops - missed out a check on the match: // assuming filters are lower case and distinct... private function nameElementsContainAll(nameElements:XMLList, filters:Array):Boolean { var matchedFilters:Array = new Array(); for each (var nameElement:XML in nameElements) { var matchInde

[flexcoders] Tree Component openItems and refresh dataProvider issue

2008-09-22 Thread flashalisious
Ok I have working with the Tree to display a list of files for to users. There are two branches. Each labeled with the user name. Any files they have uploaded are listed under there branch. I will have an upload file button as part of the view. When the users uploads a file I fire off an AMFPHP ca

Re: [flexcoders] Re: GC Issues

2008-09-22 Thread Shahid Faiz
reflexactions: Are you able to nail down any other issue which caused this GC problem? Or that textarea issue was the only problem in your application. In my case ChangeWatcher was causing problem which I have fixed, but List control holds references to some ItemRenderers (instances of item rendere

[flexcoders] dynamically create split datagrid coloumn in flex 2

2008-09-22 Thread Trilokchand R. Modi
I saw the alex and aruhi blog for splitdatagridcoloumn. I am also trying to split columns into more than 2(left and right). But I was wondering how you would do it dynamically with a value determined by user or at run time? I am still very new to flex and any sort of coding example would be muc

Re: [flexcoders] Overriding the UI Graphics Update?

2008-09-22 Thread Josh McDonald
I like this: addEventListener(Event.ADDED_TO_STAGE, bindEvents); addEventListener(Event.UNLOAD, unbindEvents); It's a nice pattern, I might steal it, although weak listeners will probably suffice in most cases. -Josh On Tue, Sep 23, 2008 at 2:31 PM, Samuel Colak <[EMAIL PROTECTED]>wrote: > Ra

Re: [flexcoders] Overriding the UI Graphics Update?

2008-09-22 Thread Samuel Colak
Exactly - Event-Model - ENTER_FRAME is just an event as we all know - its just attached to a timer that's running on the stage. On Sep 23, 2008, at 6:25 AM, Josh McDonald wrote: Quoth Alex: "Player is pretty simple, at least in Windows. I haven't seen many threads if any. Input is bas

Re: [flexcoders] Overriding the UI Graphics Update?

2008-09-22 Thread Samuel Colak
Ralf, By the way - there is a statement at the end that got me a bit surprised relating to the calling of events or how things take place... He got it wrong... In effect from what i have witnessed. ADDED_TO_STAGE occurs at the beginni

Re: [flexcoders] Overriding the UI Graphics Update?

2008-09-22 Thread Josh McDonald
Quoth Alex: "Player is pretty simple, at least in Windows. I haven't seen many threads if any. Input is based on Windows messages, I/O uses non-blocking, etc." Player most likely won't do anything while your code is busy chewing up CPU time. Once you go back to waiting for an event however, it

[flexcoders] E4X - explicit namespace definitions?

2008-09-22 Thread Josh McDonald
Hey guys, I'm building some XML structures, and no matter which node upon which I call XML.addNamespace(), the namespace references don't get included into the output XML String until they're actually needed, which leads to a lot of duplication, and XML files that are way bigger than they should b

RE: [flexcoders] e4x problem - filtering elements based on multiple child conditions

2008-09-22 Thread Mark Carter
Thanks - thats very useful - hadn't thought of that. Assumed it would not be possible. Whats the best way to get a handle on the item element from within the itemContains function? I would probably go with this approach: xlFilteredItems = _xmlData..group.(nameElementsContainAll(name,filters));

[flexcoders] Questions on AIR and Flex Builder

2008-09-22 Thread Amy
I know that there's an Apollo list, but I don't want to subscribe for a couple of questions. I'm having problems using Flex Builder to build an AIR application. For one thing, it seems like after a couple of builds of my AIR app, AIR will stop building applications and I have to reboot my comp

[flexcoders] invalidateList or itemUpdated?

2008-09-22 Thread david.marr
Hi, I have an item renderer which checks an application scoped variable to determine whether to show a display object. When that variable changes, I need to make sure all the item renderers for the listbase object (datagrid) i am using are refreshed. What is the best way to do this? the pseudocode

[flexcoders] Bad quality for JPEG encoded images ,,<***(sample images INSIDE)***>

2008-09-22 Thread semelak1
I have noticed that the quality of the images produced by the JPEGEncoder does not match that of other encoders available (i.e. php's built in image compression functions from the gd library) Any explanation ? or hints/workarounds for improving the quality of compressed images by JPEGEncoder ??

[flexcoders] Bad quality for JPEG encoded images ,,<***(sample images INSIDE)***>

2008-09-22 Thread semelak1
I have noticed that the quality of the images produced by the JPEGEncoder does not match that of other encoders available (i.e. php's built in image compression functions from the gd library) Any explanation ? or hints/workarounds for improving the quality of compressed images by JPEGEncoder ??

Re: [flexcoders] Re: New to FLEX

2008-09-22 Thread Sherif Abdou
After reading books ( I suggest no more than 2), download the flexlib at http://flexlib.googlecode.com and try to pick components that you like and rewriting them without looking at the source, use it as more of a guide. At least that is what I did. -- Sherif Abdou http://VadexFX.com http:/

[flexcoders] Creating XML from scratch - XML.setQName()?

2008-09-22 Thread Josh McDonald
Hey guys, Is it just me, or is this functionality missing? Why on earth do I have to basically build a string in order to build an XML object? If I try "new XML(myQname)" I just get a text node containing myQname.toString() :( The best I can think up so far is this: var node : XML = new XML();

Re: [flexcoders] Re: New to FLEX

2008-09-22 Thread Josh McDonald
That'll teach me to strip my list from bloglines' export with regexes :D On Tue, Sep 23, 2008 at 9:39 AM, Doug McCune <[EMAIL PROTECTED]> wrote: > dang, I didn't know about http:///blog > that's where all the secrets are! > > On Mon, Sep 22, 2008 at 4:34 PM, Josh McDonald <[EMAIL PROTECTED]> wrot

[flexcoders] Re: New to FLEX

2008-09-22 Thread Boon Chew
O'reilly's "Learning Flex" is really good.  The book is printed in full color too, so yummy. http://www.amazon.com/Learning-Flex-Internet-Applications-Developer/dp/0596517327

Re: [flexcoders] Re: New to FLEX

2008-09-22 Thread Doug McCune
dang, I didn't know about http:///blog that's where all the secrets are! On Mon, Sep 22, 2008 at 4:34 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > And read a boatload of blogs! I use bloglines myself, but google reader (or > a browser bookmark) will do the trick. Here's the URLs of the Flex / RI

Re: [flexcoders] Re: New to FLEX

2008-09-22 Thread Josh McDonald
And read a boatload of blogs! I use bloglines myself, but google reader (or a browser bookmark) will do the trick. Here's the URLs of the Flex / RIA blogs I subscribe to: **I hope this msg doesn't get flagged as spam for all the URLs :) http://blogs.adobe.com/acom/ http://adamflater.blogspot.com/

Re: [flexcoders] Mixing AIR and Flex?

2008-09-22 Thread Brendan Meutzner
Eh... I only just figured that out a few weeks ago when I went to do something similar to what you're doing now :-) And it took a bit of figuring to make sure the source root was right... didn't work the first time I tried hooking it up and I scratched my head for a bit. Brendan On Mon, Sep 22

[flexcoders] Re: New to FLEX

2008-09-22 Thread radwhite81
the best book I would recommend is "Flex 3 cookbook" and "Adobe flex 3 training from the source". Great books they teach the basics and then gets into what you really want to know.

Re: [flexcoders] Mixing AIR and Flex?

2008-09-22 Thread Josh McDonald
Ah, of course! I never even thought of that, now I feel like a right twat :D Cheers Brendan :) -Josh On Tue, Sep 23, 2008 at 9:11 AM, Brendan Meutzner <[EMAIL PROTECTED]>wrote: > Josh, > Under your AIR project properties -> Flex Build Path -> Source path tab you > can add a link to an external

Re: [flexcoders] Mixing AIR and Flex?

2008-09-22 Thread Brendan Meutzner
Josh, Under your AIR project properties -> Flex Build Path -> Source path tab you can add a link to an external "source" directory... once added, you can reference classes via namespace path just as you would with local source folders within the project. Brendan On Mon, Sep 22, 2008 at 5:57 PM

[flexcoders] Mixing AIR and Flex?

2008-09-22 Thread Josh McDonald
Hey guys, Often I'd like to whip up a little AIR app to generate some code (XML, Java, whatever) based on VOs and mock-generation stuff I've got in a Flex Application, but I can't see a nice way to do it without moving stuff out into a separate Library project which I'd really rather not do :) Is

Re: [flexcoders] Re: Flex Maintenance Agreements

2008-09-22 Thread Matt Chotin
You didn't hear this from me, but if you're just buying a small quantity of Flex Builder right now a maintenance agreement probably isn't necessary. It mostly would just provide a guarantee on the upgrade price. Matt On 9/22/08 12:19 PM, "Rick Winscot" <[EMAIL PROTECTED]> wrote: So, I'm j

[flexcoders] Re: Problem with line chart - (show data tips)

2008-09-22 Thread mubasherhaneef
I just thought to update this post. Just in case, if someone else is looking for the same thing then he can get the answer on message # 65440 Best! --- In flexcoders@yahoogroups.com, "mubasherhaneef" <[EMAIL PROTECTED]> wrote: > > Hi, > > I am having problem with lineSeries. I am working on l

RE: [flexcoders] Creating TextArea height from String;

2008-09-22 Thread Ryan Graham
In the past I have personally found Text controls easier to deal with, but you should still be able to do this. It may be that the textHeight property is only exactly what it says it is -- the height of the rendered htmlText in your case. You may need to account for the control's other propertie

[flexcoders] force SeriesInterpolate on BubbleSeries to preserve bubble order?

2008-09-22 Thread Pan Troglodytes
Following is a simplified example of what I'm running into. Basically, BubbleSeries doesn't preserve the order of the bubbles when you switch the dataprovider. Run the following program and click the left and right buttons. http://www.adobe.com/2006/mxml"; layout="vertical">

flexcoders@yahoogroups.com

2008-09-22 Thread Adrian Williams
Hi y'all, Yet another interesting one in ADG land I have a dataset being returned from my db which includes a groupName (string) and a displayOrder (int). My db query is setup to sort the data based on the displayOrder. So for example, I have 10 groups...named "Group 1, Group 2, e

RE: [flexcoders] New to FLEX

2008-09-22 Thread Dimitrios Gianninas
I learned Flex 1 and all subsequent releases by reading the Livedocs, so take a look here: http://livedocs.adobe.com/flex/3/html/help.html?content=Part5_AIR_1.html Or you might find some articles on the Flex Dev Center

Re: [flexcoders] New to FLEX

2008-09-22 Thread Nancy Gill
gt; >> >> regards >> Natarajan >> >> >> Be the first one to try the new Messenger 9 Beta! Click here. >> >> > > > __ Information from ESET NOD32 Antivirus, version of virus signat

Re: [flexcoders] New to FLEX

2008-09-22 Thread Doug McCune
September 22, 2008 11:51 AM >> Subject: [flexcoders] New to FLEX >> >> Hi friends >> am new to FLEX . can u send what are the flex sites to learn and PDF books >> and sample codings which u worked >> >> >> regards >> Natarajan >> &g

[flexcoders] Creating TextArea height from String;

2008-09-22 Thread Sajid Hussain
Gurus, I want to create or set textarea's height from string(message from other user) I did folwoing code   messageBox.htmlText=msg; messageBox.validateNow(); messageBox.height=messageBox.textHeight;   but height got chance but stiill it dont work exactly it shows scrollbar to textarea about som

RE: [flexcoders] Re: removeChild or delete item in repeater

2008-09-22 Thread Tracy Spratt
Yes, manipulate the dataProvider first. You will have much better performance for one thing. Rendering a bunch of unwanted elements is not a good approach. Also, if you DO still want to do complex work with a repeater, put it in a component, and repeat that. Encapsulate the behaviors within

[flexcoders] Is it possible to change showDelay for only errorTips?

2008-09-22 Thread Todd
Hello All, I know about ToolTipmanager.showDelay. But I want to only affect the showDelay for errorTips, while leaving the rest of the tooltips to display with a proper delay. I'd like to have our errorTips immediately display. Or, if you have any other suggestions on getting the errorTip tool

RE: [flexcoders] Re: problem with the flex application in MAC

2008-09-22 Thread Battershall, Jeff
Please ignore - not at my most alert today. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Monday, September 22, 2008 3:25 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: problem with the flex application i

RE: [flexcoders] e4x problem - filtering elements based on multiple child conditions

2008-09-22 Thread Tracy Spratt
This is not a direct answer to your immediate question , but rather a general tip: If you need complex calculations within an e4x expression, you can call out to a function of your own. The () just requires a boolean value, so you can do something like below, where I wanted to a bit of string man

RE: [flexcoders] Re: problem with the flex application in MAC

2008-09-22 Thread Battershall, Jeff
Something to look into, but in your page source, the requested player version is 9.0.28 - and that's not released yet, AFAIK. Possibly that produces unwanted behavior on the Mac Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sudha_bsb

Re: [flexcoders] Placing cursor inside UITextField

2008-09-22 Thread Brandon Krakowsky
Got this to work: textField.addEventListener(Event.ADDED_TO_STAGE, function(evt:Event):void { var textField:UITextField = evt.currentTarget as UITextField; textField.setFocus(); }); Thanks for everyone's help, Brandon - Original Message From: Andriy Panas <[EMAIL PROTECTED]> To

[flexcoders] Re: Flex Maintenance Agreements

2008-09-22 Thread Rick Winscot
So, I¹m just trying to save a buck or two. Does anyone have any Œfeelings¹ on Flex Maintenance Agreements? I¹m thinking that... If Flex 4 isn¹t going to appear for 12-18 months ­ one might as well wait and just pay upgrade prices. Anyone have any success stories to share? (ahem) Release date sched

Re: [flexcoders] New to FLEX

2008-09-22 Thread Nancy Gill
__ > Be the first one to try the new Messenger 9 Beta! Click here. > > __ Information from ESET NOD32 Antivirus, version of virus signature database 3460 (20080922) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

[flexcoders] Re: Flex2/FP9 Final Bug : cannot play MP3 files encoded with iTunes

2008-09-22 Thread horizens
Was this issue ever resolved? I'm seeing similar behavior with the following mp3 in the code listed in the original post: http://www.fileden.com/files/2008/6/22/1970328/02%20Act%20One%20Scene%20One.mp3 I can load the file fine in the browser, but not with flex and the sound class. Thanks, Dave

Re: [flexcoders] New to FLEX

2008-09-22 Thread Doug McCune
[Shameless Plug] Flex for Dummies! http://dougmccune.com/blog/flex-for-dummies/ http://www.amazon.com/Adobe-Flex-Dummies-Computer-Tech/dp/0470277920 On Mon, Sep 22, 2008 at 11:28 AM, Sherif Abdou <[EMAIL PROTECTED]> wrote: >  > > Http://feeds.adobe.com > http://adobe.com/flex > > -- > Sherif

Re: [flexcoders] New to FLEX

2008-09-22 Thread Sherif Abdou
Http://feeds.adobe.com http://adobe.com/flex -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: NATA RAJAN To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 11:51 AM Subject: [flexcoders] New to FLEX Hi friends

[flexcoders] Printjob

2008-09-22 Thread flexaustin
I was wondering if any has had any experience with Printjob or AlivePDF? I am trying to print items items that are half on the screen and half off the screen. I was wondering if you are able to print items that are not on screen? So say someone dragged an item so only 1/4 of it showing in the brow

Re: [flexcoders] Does localconnection Class works with different Port numbers ?

2008-09-22 Thread Brandon Krakowsky
Sorry for the delay on this. I'm using LocalConnection to talk to proxy, which loads Flash 8 movie and talks to it using Standard AS2. I also send message from the proxy back to the main app using LocalConnection. The proxy is an adapted version of Jesse Warden's: http://jessewarden.com/2007/

[flexcoders] Re: Getting multiple addedToStage events

2008-09-22 Thread ozziegt
I am using the event so the MXML component knows when it has been added to the stage, and also removed so it can set up and tear down some event listeners appropriately. Perhaps this isn't the best way to do it. If another way is better, I'm open to hear it. :) Yes the currentTarget is the same as

[flexcoders] Re: problem with the flex application in MAC

2008-09-22 Thread sudha_bsb
Yeah, the same link works in Windows machine. Any idea why this can happen Thanks, Sudha. --- In flexcoders@yahoogroups.com, "Sherif Abdou" <[EMAIL PROTECTED]> wrote: > > I am using a PC and getting a blank screen too and nothing happens, just wanted to let you know. > -- > Sherif A

Re: [flexcoders] Re: Preventing cut&paste in Flex3 application

2008-09-22 Thread Ralf Bokelberg
Is this a technical or a grandmas-complaining-about-managers forum ? :) You can probably add capturing phase listeners to the SystemManager and filter out the events your managers dont like ;) Cheers Ralf.

[flexcoders] Error accessing property using Live Cycle with fluorineFX

2008-09-22 Thread brunormoura
Good Evening First, I apologize for my bad english. Could you help me about this error? I have a problem with this configuration below: (in DataManagement.xml) DataManagement.CategoriaAssembler application 20 The log of error: Error: Caught error accessing property 'products'

Re: [flexcoders] problem with the flex application in MAC

2008-09-22 Thread Sherif Abdou
I am using a PC and getting a blank screen too and nothing happens, just wanted to let you know. -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: sudha_bsb To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 12:46 PM Subject

Re: [flexcoders] Re: Preventing cut&paste in Flex3 application

2008-09-22 Thread Paul Andrews
- Original Message - From: "Dmitri Girski" <[EMAIL PROTECTED]> To: Sent: Monday, September 22, 2008 6:44 PM Subject: [flexcoders] Re: Preventing cut&paste in Flex3 application > Weeping Jesus on the cross! Password & email fields should be disabled > from Copy-pasting just for the sake

[flexcoders] Re: Flex 2.01 - TabBar

2008-09-22 Thread jwc_wensan
Michael: MXML Code . . . . wrote: > > Hi, > You know what, I eat my words. > > I quickly looked at that class but missed the fact in the over skin they do > use 2 and 3 index. > > if (fillColors.length > 2) > overFillColors = [ fillColors[2], fillColors[3] ]; > else > overFillColors = [ fillC

[flexcoders] problem with the flex application in MAC

2008-09-22 Thread sudha_bsb
Hi, We have a strange problem with the flex application. We have a website developed in flex and it simply doesn't work in MAC. http://www.sportzhubmedia.com/arc2008/ The application makes extensive use of flex states. When viewed via a Mac Osx any verion firefox or safari...gives a blank scree

[flexcoders] Re: Preventing cut&paste in Flex3 application

2008-09-22 Thread Dmitri Girski
Weeping Jesus on the cross! Password & email fields should be disabled from Copy-pasting just for the sake of minimising the number of support calls from users who forgot which particular email or password they copied & pasted). Over & out. Cheers, Dmitri. --- In flexcoders@yahoogroups.c

Re: [flexcoders] systemManager & PopUpManager & Alert window

2008-09-22 Thread Michael Schmalle
Hi, This is because the popup manager puts the POPUP instances at a different space in the systemManager IChildList (above all parent popups). When you create your popups, can't you create a map of them and store it in some central model class, then just loop through them and call removePopUp()?

Re: [flexcoders] Overriding the UI Graphics Update?

2008-09-22 Thread Ralf Bokelberg
You might want to have a look at this excerpt from Colin Mook's AS3 book: http://www.moock.org/blog/archives/000235.html It should give you a good understanding of how rendering works in Flash/Flex. Cheers Ralf. On Mon, Sep 22, 2008 at 7:15 PM, Ralf Bokelberg <[EMAIL PROTECTED]> wrote: > Afaik th

Re: [flexcoders] Re: Flex 2.01 - TabBar

2008-09-22 Thread Michael Schmalle
Hi, You know what, I eat my words. I quickly looked at that class but missed the fact in the over skin they do use 2 and 3 index. if (fillColors.length > 2) overFillColors = [ fillColors[2], fillColors[3] ]; else overFillColors = [ fillColors[0], fillColors[1] ]; What does this mean? based on th

[flexcoders] Re: Flex 2.01 - TabBar

2008-09-22 Thread jwc_wensan
Michael: I guess I expected the second set to work like the second set does for a ComboBox. May I ask then why is there a second set of colors if you have to go in and create your own skin/component? Seems a little confusing. I don't really understand all the AS code for these components, but

Re: [flexcoders] Overriding the UI Graphics Update?

2008-09-22 Thread Ralf Bokelberg
Afaik the Flashplayer does this for you. Nothing is rendered as long as you are in a script. You can try to draw a line and then do a simple while loop for 5 seconds. You will not see any updates of the screen. Cheers Ralf. On Mon, Sep 22, 2008 at 5:05 PM, Samuel Colak <[EMAIL PROTECTED]> wrote:

[flexcoders] systemManager & PopUpManager & Alert windows

2008-09-22 Thread male_designer
I recently needed to be able to close all popup windows at once, so I began implementing the "PopUpManagerChildList.POPUP" technique to catalog these windows using systemManager: PopUpManager.createPopUp(this, UserDetailsWin, true, PopUpManagerChildList.POPUP)); Problem is - all my Alert window

[flexcoders] New to FLEX

2008-09-22 Thread NATA RAJAN
Hi friends am new to FLEX . can u send what are the flex sites to learn and PDF books and sample codings which u worked regards Natarajan Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/

Re: [flexcoders] Flex 2.01 - TabBar

2008-09-22 Thread Michael Schmalle
Hi Jack, Take a look at mx.skins.halo.TabSkin This class is not like the ButtonSkin, you can see in this line exactly what the skin is doing. case "upSkin": { var upFillColors:Array = [ falseFillColors[0], falseFillColors[1] ]; You will need to implement your own skin for that functionality.

Re: [flexcoders] Re: deep linking problems

2008-09-22 Thread Maciek Sakrejda
Thanks for posting the answer. People often follow up with just "Never mind--figured it out", which is not very useful to someone with the exact same problem reading the question in the archives a few weeks later. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message-

[flexcoders] Flex 2.01 - TabBar

2008-09-22 Thread jwc_wensan
Good morning: I have set the the 3rd and 4th colors for my TabBar as such in the CSS file. Example: fillColors: #DDE7F4, #DDE7F4, #FA075D, #FA075D; However, it does not use the second set of values. I set the second set to red in the example just to get a contrast. The Language Reference i

[flexcoders] Re: Java from Flex

2008-09-22 Thread Anthony DeBonis
You can call these libs from LCDS or BlazeDS (or WebOrb too) using the RemoteObject tag and alittle server side config - check out the example apps deployed. I would suggest creating a service facade layer of POJO, plan old Java objects, that abstract all your backend Java code/libs. Wrap any

Re: [flexcoders] dialog box

2008-09-22 Thread Haykel BEN JEMIA
The documentation is your best friend! http://help.adobe.com/en_US/AIR/1.1/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7e4a.html On Mon, Sep 22, 2008 at 5:44 PM, dialogtmp <[EMAIL PROTECTED]> wrote: > > Hi,all > > I want to implement a function that will show a dialog box let user to > choos

RE: [flexcoders] second time image is not appearing

2008-09-22 Thread Chet Haase
I don’t think your reset function does what you want it to – it sets the source path to the Image to null. That will make the image invisible … but you’ll never see it again without setting the source path back to something reasonable. Try toggling the visible flag instead… Chet. From: flexco

Re: [flexcoders] Re: Help with error #1119

2008-09-22 Thread Haykel BEN JEMIA
All that you're using in the ArrayCollection are the length property and [] to access its items. Both are also available for the Array, so no special handling here. Could you post the whole error messages or better an example that we can compile and having the same problem? Anyway, you have to use

[flexcoders] second time image is not appearing

2008-09-22 Thread NATA RAJAN
Hi http://www.adobe.com/2006/mxml"; layout="absolute">                                                           scooby.jpeg                when click first time image button the image will appear then i click reset button means the image button will disappear . if am clicking again the image

Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions

2008-09-22 Thread Mark Carter
It seems to work it out for you when it can. name.text()[0].toLowerCase() works name.text().toLowerCase() also works if there is exactly one name child of each group element. Daniel Freiman wrote: > > name.text()[0] will give you a single XML node of Kind string. If you > want > to operate on

Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions

2008-09-22 Thread Daniel Freiman
name.text()[0] will give you a single XML node of Kind string. If you want to operate on it as a string simply do: name.text()[0].toString() On Mon, Sep 22, 2008 at 11:35 AM, Mark Carter <[EMAIL PROTECTED]> wrote: > > I get "value is not a function" - I guess because toLowerCase() cannot work >

Re: RES: [flexcoders] DateFormatter Bug?

2008-09-22 Thread kramus0
Don't think so. But how can you set a decimalSeparator and a thousandSeparator for a DateFormatter? --- In flexcoders@yahoogroups.com, "Luciano Manerich Junior" <[EMAIL PROTECTED]> wrote: > > Hi, > > i've found that, if you set a decimalSeparator for the DateFormatter, > you MUST define a thousa

[flexcoders] dialog box

2008-09-22 Thread dialogtmp
Hi,all I want to implement a function that will show a dialog box let user to choose pictures they want to show on this program. But I don't know which API on the AIR can show the dialog box. Is any related information? thanks, dialogtmp

[flexcoders] Re: Passing URLVariables from 1 Flex App to another?

2008-09-22 Thread djohnson29
Thanks for your suggestions. The reason I want Login to be a separate application is because I am using Spring Security to secure the app. Therefore, Login.mxml I want to be accessible to everyone, but in order to access Main.mxml the user will have to have the required Spring Security ROLE to be

Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions

2008-09-22 Thread Mark Carter
I get "value is not a function" - I guess because toLowerCase() cannot work on an XMLList. You would have to do: rootXML.group.(name.text()[0].toLowerCase()=="fred"&&name.text()[0].toLowerCase()=="bob") which, like you say, would always return nothing. Or you have to specify group elements wit

Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions

2008-09-22 Thread Mark Carter
Nice. I see what you've done there (instead of "var result:XMLList = rootXML.group.name;" as the first line which would have been rather inefficient). I suppose this general approach doesnt work if I want to do things like lowercase or substring matching...? Daniel Freiman wrote: > > You're co

[flexcoders] AMF Serializer trough Jabber

2008-09-22 Thread luciano
Hi, I'm planning to adapt an AMF Serializer/Deserializer to use Jabber/XMPP as the transport protocol instead of HTTP. This responds to a very specific non functional requirement of our software platform. Is there anyone in the community working or thinking in this scenario? Any comments or sugges

Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions

2008-09-22 Thread Daniel Freiman
I think you'd actually be matching "fred" against the first item in the list, which would means that the entire expression would always return false because the first item can't be both "bob" and "fred". On Mon, Sep 22, 2008 at 11:05 AM, Mark Carter <[EMAIL PROTECTED]> wrote: > > That doesnt work

Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions

2008-09-22 Thread Mark Carter
That doesnt work for me. Arent you trying to match "fred" against the lowercased name.text() XMLList? xitij2000 wrote: > > i performed a similar operation by doing: > rootXML.group.(name.text().toLowerCase()=="fred"&&name.text().toLowerCase()=="bob") > > the toLowerCase is just because i neede

[flexcoders] Overriding the UI Graphics Update?

2008-09-22 Thread Samuel Colak
Alex, Adobe Guys, Community, Romans. Is there a way to halt the UI Graphics Renderer so that (in a way) you can achieve the ability to post UI changes (in effect double buffering) before the renderer performs any UI update ? An obvious although troublesome way of doing this is with bitma

[flexcoders] Re: e4x problem - filtering elements based on multiple child conditions

2008-09-22 Thread xitij2000
i performed a similar operation by doing: rootXML.group.(name.text().toLowerCase()=="fred"&&name.text().toLowerCase()=="bob") the toLowerCase is just because i needed case insensitivity... --- In flexcoders@yahoogroups.com, "Daniel Freiman" <[EMAIL PROTECTED]> wrote: > > try this: > > rootXML.g

RES: [flexcoders] DateFormatter Bug?

2008-09-22 Thread Luciano Manerich Junior
Hi, i've found that, if you set a decimalSeparator for the DateFormatter, you MUST define a thousandSeparator too, else, you'll get an empty string. Maybe, is that our bug? Is that you case? Hope thats usefull. -Mensagem original- De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED

Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions

2008-09-22 Thread Daniel Freiman
You're correct, but you can also do the filtering in a loop to be dynamic: var result:XMLList = rootXML.group.(name.text().contains("fred")); for each (filterName) { // psuedo-code result = result.(name.text().contains(filterName)); } return result; - Daniel Freiman On Mon, Sep 22, 2008 at 10

Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions

2008-09-22 Thread Mark Carter
Oh cool, that works, thanks very much Daniel. Am I right in thinking that "name.text()" is returning an XMLList of text nodes and "contains(fred)" is basically looking for a match of "fred" in that list? In real life, instead of having two names, I have an array of names. I suppose its not possi

Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions

2008-09-22 Thread Daniel Freiman
try this: rootXML.group.(name.text().contains("fred") && name.text().contains("bob")) - Daniel Freiman On Mon, Sep 22, 2008 at 5:20 AM, Mark Carter <[EMAIL PROTECTED]> wrote: > > Ok, that subject is a bit vague but here's an example of what I mean: > > > fred > bob > peter > > > Say we have l

Re: [flexcoders] DateFormatter Bug?

2008-09-22 Thread Tom Chiverton
On Friday 19 Sep 2008, kramus0 wrote: > trace(myDateFormatter.format(myDate)); // <-- returns an empty string!!! I would have expected 00:00 or 12:00. I suspect the timeOffeset is trying to subtract an hour from the start of time, and failing. -- Tom Chiverton Helping to professionally compete

[flexcoders] Re: accordion component

2008-09-22 Thread valdhor
I did something like this not so long ago. What I did was take the code from Flex 3 Style Explorer (http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl\ orer.html); The code for the collapsible panel on the left. And then created a component out of it (Modified so it was horizo

[flexcoders] Re: Help with error #1119

2008-09-22 Thread David Schenk
I thought that too but when I tried that, flex had a problem with var n:int = ciData.length; instead it gives me a 1069 error. let me mention that before I tried to break the code apart it did work. Perhaps a little more explaination I am trying to move the dp:Array() that was in the mx:Scr

[flexcoders] Re: Non-Blocking IO and BlazeDS Streaming

2008-09-22 Thread nkopcsek
Hi Anatole, thanks for the update :). Thanks alot, Norbert --- In flexcoders@yahoogroups.com, "Anatole Tartakovsky" <[EMAIL PROTECTED]> wrote: > > Norbert, I am finishing chapter on Flex Networking for new OReily book > this month. It should be available on "rough cuts" mid/end of next mont

[flexcoders] Re: Viewing massive data in charts

2008-09-22 Thread florian.salihovic
Running some tests i found out, that the DateTimeAxis doesn't refesh the minimum and maximum values for example. I tested with a dataset of objects which represented data for everyday in 2 years (~17900 instances). The recalculated min/max where displayed via trace one reset too late... it's

[flexcoders] Re: Cannot use keyboard to access FireFox 3.0.1 menubar

2008-09-22 Thread itdanny2002
All ALT-?? key, such as ALT-F to access file menu bar, ALT-D ...

Re: [flexcoders] DataTip won't go away issue

2008-09-22 Thread Tom Chiverton
On Friday 19 Sep 2008, scottyale2008 wrote: > right, or down...the datatip goes away as expected. If the mouse > moves over the top of the datatip (which is now in another pane and > not in the chart area), the datatip stays displayed. This doesn't sound like standard behaviour - could you post

Re: [flexcoders] Re: Flex Charting DateTimeAxis is not showing more than two months data in days

2008-09-22 Thread Tom Chiverton
On Thursday 18 Sep 2008, kumar_vytla wrote: > Can anyone suggest fix for this. Is this bug in flex charting for > dateTimeAxis? > > When I tried that, chart showing x-axis data point in months instead of > > days even though dataUnits mentioned in days. When I observed Chart show > > data correct

Re: [flexcoders] Cannot use keyboard to access FireFox 3.0.1 menubar

2008-09-22 Thread Tom Chiverton
On Thursday 18 Sep 2008, itdanny2002 wrote: > Then, I can't use keyboard to access FireFox menubar > though it can be access by mouse. You mean Flex (that has the keyboard Focus) is trapping the shortcut ? What key combo is that ? -- Tom Chiverton Helping to administratively implement ROI

Re: [flexcoders] Re: Vertical Scrollbars without Horizontal scrollbars (solution)

2008-09-22 Thread Josh McDonald
I think it's fixed :) But the online renderer I use only shows the top half of the page, so I can't know for sure. I *really* need to find a good source for HTML at a reasonable price. -Josh On Sun, Sep 21, 2008 at 12:05 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > Curses! I'll see if I can fi

Re: [flexcoders] Re: Preventing cut&paste in Flex3 application

2008-09-22 Thread Tom Chiverton
On Monday 22 Sep 2008, Dmitri Girski wrote: > and dumb error message boxes (20 errors - 20 popups) are bad, very > bad. So, the simplest and just working solution is to disable copy- > paste. No, you just set up a StringValidator for each, and use FlexLib's AdvancedForm to invoke them automatical

Re: [flexcoders] Framework RSLs -- Any Reason Not To Use? Any Problems Related to Their Use?

2008-09-22 Thread Tom Chiverton
On Friday 19 Sep 2008, Brendan Meutzner wrote: > app which is now getting served up on 3rd party websites. It just got > picked up by forbes.com and all of a sudden we saw a drastic increase in > bandwidth to serve up the swz file. Right, but it wouldn't be much more than the bandwidth to send t

  1   2   >