RE: [flexcoders] Flex Component still active, even know TitleWindow it resides in, is deleted -

2007-06-04 Thread Alex Harui
You can't really blow things away in AS3 (or Java). You kill all references to them and they go away when garbage collected. If you are listening to the app model, it means the app model has a reference to the event listener and thus it won't go away. Use weak references or clean up when

Re: [flexcoders] click event handler of datagrid, make it fire on rows only

2007-06-04 Thread Harish Sivaramakrishnan
Listen to itemClick on datagrid, It fires only when an item of the datagrid is clicked. On 6/4/07, Swaroop C H [EMAIL PROTECTED] wrote: You can monitor MouseEvent.DOUBLE_CLICK event and then use mouseEventToItemRenderer to fetch the item renderer at the mouse position. If the item renderer

Re: [flexcoders] Sleep / Blink Image

2007-06-04 Thread Harish Sivaramakrishnan
use flash.utils.Timer / setInterval() to call a method on timer. On 6/4/07, Christopher Olsen [EMAIL PROTECTED] wrote: Is there a way to make flex sleep for a specified amount of miliseconds? I'm trying to make an icon flash or does anyone have any alternate solutions for this

RE: [flexcoders] Sleep / Blink Image

2007-06-04 Thread Alex Harui
Sorry, AS doesn't sleep. To blink something, listen for enterFrame events and change the visuals.. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Olsen Sent: Sunday, June 03, 2007 6:51 PM To: flexcoders@yahoogroups.com

Re: [flexcoders] Regular expression

2007-06-04 Thread keith
Maybe you are coming from another type of language, but you can use the match method. It will return an Array of Strings your regular expression matched. So you could see if the output is what you intended. Maybe my answer is obvious, if not, the Flex docs on Regular Expressions is good to

RE: [flexcoders] Flex Component still active, even know TitleWindow it resides in, is deleted -

2007-06-04 Thread Mike Anderson
Okay, that helps explain things a tad - If this was yourself in this predicament, how would you go about handling this problem? I am just curious how I can force a Garbage Collection to take place, in order to remove this component from memory (and more important, to make it stop responding to

[flexcoders] Loading images and CSS from SWF file

2007-06-04 Thread Mark Ingram
Hi, I know it is possible to load images from an SWF file, and I know it's possible to compile a CSS file into an SWF to load the styles in - but - is it possible to combine both images and CSS into one file? E.g. So I could have a complete skin and styles for the application in one file (making

Re: [flexcoders] click event handler of datagrid, make it fire on rows only

2007-06-04 Thread EECOLOR
it would be best if i could fire an event on dbl click of a row only, how can i do this? I would advise you to start reading the documentation. At the DataGrid page at the events section, you could have found: ListEvent.ITEM_DOUBLE_CLICK In the documentation it sais: itemDoubleClick -

Re: [flexcoders] Flex Component still active, even know TitleWindow it resides in, is deleted -

2007-06-04 Thread Carlos Rovira
Hi Alex, I'm interested as well in the solution. My application have multiple window and I notice the problem with the observer tag, so I changed to ChangeWatcher that works better, but still notice the window is not removed from memory. Maybe the problem are the bindings to the model,

[flexcoders] Re: Really complex buttons (aka what WPF got right)

2007-06-04 Thread pk_wasp
I've been learning/doing a bit of WPF, Silverlight and Flex. Agree with alot of points discussed so far. I think Adobe (IMHO) should take some ideas from XAML like data templates, templates, style triggers etc. They should make some sort of a native XML dialect in the Flash Player (like

[flexcoders] Re: Flex XML parsing E4X question

2007-06-04 Thread alexander.marktl
Hey Brendon. Now it's working! Thanks for the help --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Hey Alex, Given an XML structure like so: [Bindable] private var myXML:XML = contacts contact

RE: [flexcoders] Loading images and CSS from SWF file

2007-06-04 Thread Kenneth Sutherland
I seem to remember that session 4 from silvafug discussed what you are asking about. Check out http://www.silvafug.org/ Or more specifically http://adobechats.adobe.acrobat.com/p69494882/ That should give you all to info you need. From:

[flexcoders] HttpFlexSession Register in web.xml

2007-06-04 Thread Dharmendran A
Hi, Iam trying to access a RemoteObject (java class) thru Flex and iam getting this error while calling thru Flex UI. (I have a datagrid dataprovider bound to event.result.) [Flex] [WARN] HttpFlexSession has not been registered as a listener in web.xml f or this application so no events will

Re: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread Harish Sivaramakrishnan
are you looking at something like this? http://flexgeek.wordpress.com/2007/06/04/tips-tricks-itemeditors-iii/ On 6/3/07, Alex Harui [EMAIL PROTECTED] wrote: Tried it in hotfix2, tooltip came up and editor did not lose focus. Which player, browser, os? --

RE: [flexcoders] Loading images and CSS from SWF file

2007-06-04 Thread Mark Ingram
Thanks Kenneth, so to summarise, our graphics artists must create a SWF file and then a developer must embed symbols from the SWF in to the CSS, which must then be compiled back into SWF? It's a shame that CSS and images can't be compiled together straight away (rather than extracting, then

Re: [flexcoders] PopUpManager.createPopUp

2007-06-04 Thread robert was
PopUpManager.createPopUp(this,main,true); Just open modable window On 31/05/07, Rohan Pinto [EMAIL PROTECTED] wrote: how to i prevent a popup if the popup TileWindow is already Open.. ie: in my conrtol i have click=PopUpManager.createPopUp(this,main,false); if the user clicks this several

RE: [flexcoders] Re: Disable Clicks while on busyCursor

2007-06-04 Thread Alex Harui
It will have impact on rendering, but I wouldn't expect significant impact. You can set alpha to 0 and see if it gets better. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Friday, June 01, 2007 5:06 AM To:

RE: [flexcoders] Image click handler

2007-06-04 Thread Alex Harui
You might have to set mouseEnabled and/or mouseChildren on the Image From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cesare Rocchi Sent: Saturday, June 02, 2007 6:13 PM To: flexcoders Subject: [flexcoders] Image click handler Hello

RE: [flexcoders] Checkbox needs to have the same behavior like 'ctrlkey+mouse click' in datagrid

2007-06-04 Thread Alex Harui
You could just keep setting selectedIndices From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of handitan Sent: Friday, June 01, 2007 3:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Checkbox needs to have the same behavior like

Re: [flexcoders] Re: OPENTUBE

2007-06-04 Thread Peter Hall
why - what is it? On 6/2/07, Rohan Pinto [EMAIL PROTECTED] wrote: all volunteers: please join my project called opentube hosted on google : http://code.google.com/p/opentube Rohan --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Rohan Pinto [EMAIL PROTECTED] wrote: Hi, i

Re: [flexcoders] Re: YouTube style video (Video vs VideoDisplay)

2007-06-04 Thread yiğit boyar
you may want to take a look at this article; streaming video with php http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-take-two On 6/1/07, Rohan Pinto [EMAIL PROTECTED] wrote: Are you looking at displaying a thumbnail in the VideoPlayer itself ? look at Jeron

[flexcoders] Fill never completes over RTMP ..

2007-06-04 Thread vitopn
I am having an odd issue that seems to be specific to the RTMP (or RTMPS) channel. Certain fills do complete when they are run on an RTMP channel. if I switch the channel to HTTP everything works well. One other thing I noticed is that when the client and server where on the same machine the

[flexcoders] How to get a shadow around all four sides

2007-06-04 Thread mhaskinsny
Hello, I would like to have a shadow around all four sides of a TitleWindow. Mostly left side, right and bottom but a little on the top too-- just like the shadows around Mac windows. I have a design background and I tried to revise the shadow of the panel graphic in the Flash skins file.

[flexcoders] Online poker

2007-06-04 Thread genphp
Hello! I am a php programmer wanting to try my hand with a little flash-php php-flash stuff... I thought a good example would be to make a small online poker app just like the big sites have... so i started reading up on flash and eventually got shown this site and FLEX My questions for you

Re: [flexcoders] Image click handler

2007-06-04 Thread Cesare Rocchi
Ok. I quickly discovered, during debugging, that in case the action is fired by the image the event is null. That's why it is not working, though I would expect 'same attribute name same interface and same behaviour'...anyway...thanks. -c. - Original Message From: Cesare Rocchi

[flexcoders] Counting value occurances inside E4X XML File

2007-06-04 Thread thomas.vachon
Hi all, New to the group, Flex, and AS. I was wondering how i can iterate through a XML file imported via HTTPService and count the occurances of countries, in thie case. So how many times USA shows up verus Canada. However, I need to knwo people register this month, so it would need

[flexcoders] Re: Dynamic context menu item

2007-06-04 Thread Greg Groves
OK, Looks like no one else can see a problem here either. Does anyone have a working example of a Tree with dynamic context menus I can compare with? thanks, Greg --- In flexcoders@yahoogroups.com, Greg Groves [EMAIL PROTECTED] wrote: I'm trying to create a dynamic item in a context menu,

[flexcoders] Legend: spacing between marker label

2007-06-04 Thread Anton Raath
Hi all! Would anyone know how to reduce the horizontal spacing between a marker and its label in a Legend? Perhaps I'm just being dense, but after re-reading the Flex documentation twice and trying every style element that appeared appropriate, it's starting to look impossible. I have a fairly

[flexcoders] Re: removeItemAt combined with getItemAt - Manipulating an arrayCollection

2007-06-04 Thread michaelmatynka
Some more info, and I am getting closer. I am using the following function, but it returns a value of -1, out of bounds, regardless of what value I try to get the index of: public function remItem():void{ fields.removeItemAt(fields.getItemIndex({fieldTag: small, value:t}));

[flexcoders] AS2XML, SimpleXMLEncoder

2007-06-04 Thread driverdude
AS2XML is broken in Flex 2.0.1? What happened to the createElement function? What's the easiest way to take a hierarchial object tree and convert it back into XML for sending to an HTTP service? I'm exploring SimpleXMLEncoder, but there isn't much documentation on it.

Re: [flexcoders] YouTube style video (Video vs VideoDisplay)

2007-06-04 Thread Johannes Nel
for progressive and simple streaming videoDisplay is fine. i find it too limiting to build a robust streaming system (something that needs to try different ports switch to rtmpt etc) and we ended up writing our own wrappers for netstream and netconnection and extending UIComponent and attching

[flexcoders] Bug in databinding with repeater in a URLrequest?

2007-06-04 Thread hoytlee2000
Hello, Has anybody come across this problem? I am using a repeater to create a simple list of link buttons from an xml file. The repeater the databinding is working for all elements in the repeater except the URLRequest function. (I have even wrapped the xml databinding expression with the

Re: [flexcoders] YouTube style video (Video vs VideoDisplay)

2007-06-04 Thread Jeffry Houser
VideoDisplay is set up to try 4 different ports. Open up the SDK source code to verify this. There may be other reasons not to use it, though. I've had significant problems with the VideoDisplay component for streaming media. It doesn't always properly open / close connections and in

RE: [flexcoders] Making an individual Bar on a BarGraph stand out?

2007-06-04 Thread Sunil Bannur
The upcoming release of Flex, has capabilities to specify fill colors for individual chart items, but till then There are 2 ways to achieve this a. Have a custom renderer, which specifically checks for the particular item during rendering and highlights that b. This is a round

[flexcoders] Tree leafnodeicon

2007-06-04 Thread Christopher Olsen
Hello, What's the best way to dynamically control a leafnodeicon? I have my tree bound to xml variable inside the xml i have an property @online and i want if online = 1 the leafnode is one icon and if online = 0 the leafnode is a different icon -Christopher

[flexcoders] My component always returns width = 0

2007-06-04 Thread Webdevotion
Hello, I'm having a problem with my component. It has the same sort of functionality as a tabbar, but more visual requirements ( hover fx etc. ). My tabs ( = Canvas component ) always returns width=0; What am I doing wrong ? This is my code for the main class: package

RE: [flexcoders] Tree leafnodeicon

2007-06-04 Thread Jason Hawryluk
Have a look at the iconFunction jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de Christopher Olsen Envoyé : lundi 4 juin 2007 15:14 À : flexcoders@yahoogroups.com Objet : [flexcoders] Tree leafnodeicon Hello, What's the best

Re: [flexcoders] My component always returns width = 0

2007-06-04 Thread Tom Chiverton
On Monday 04 Jun 2007, Webdevotion wrote: tab = new Tab(); children.push( tab ); tab.label = _items[i]; tab.x = remw; remw = tab.width; Unless you wait for Tab to be drawn, it will have zero width. -- Tom Chiverton Helping to greatly entrench 24/365 platforms on:

RE: [flexcoders] HttpFlexSession Register in web.xml

2007-06-04 Thread Peter Farland
I need more info to help you out. Are you using FDS? What J2EE application server are you using? Have you confirmed that you have flex-messaging.jar in /WEB-INF/lib? How did you install FDS? Did you start with a clean war file or did you try to merge a new one over an older one?

Re: [flexcoders] My component always returns width = 0

2007-06-04 Thread Harish Sivaramakrishnan
override the method createChildren() and then create the tab in that method, after updateDisplayList is called you will be able to get the correct width of the tab. On 6/4/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 04 Jun 2007, Webdevotion wrote: tab = new Tab(); children.push( tab

[flexcoders] Re: Counting value occurances inside E4X XML File

2007-06-04 Thread ben.clinkinbeard
Your description is fairly vague, but I think something along these lines is what you're asking for: var numUSA:int = xmlData..country.(@name == USA).length; and/or var numUSACurrentMonth:int = xmlData..country.(@name == USA @month == August).length; The @ implies that the values to filter on

Re: [flexcoders] My component always returns width = 0

2007-06-04 Thread Webdevotion
Thanks guys! Finally got the way it works. Was a bit lost for a moment.

Re: [flexcoders] My component always returns width = 0

2007-06-04 Thread Webdevotion
How could I solve this then ? This doesn't work either ... .. for(i=0;in;i++) { tab = new Tab(); children.push( tab ); tab.label = _items[i]; tab.x = remw; remw = tab.width; tabs.addChild( tab ); } this.callLater(measure); On 6/4/07, Tom Chiverton [EMAIL

[flexcoders] Re: removeItemAt combined with getItemAt - Manipulating an arrayCollection

2007-06-04 Thread ben.clinkinbeard
I believe its because you're passing in and looking for a new object. Even though it has the same properties as an object in the collection its not the same object. Try this: var smObj:Object = {fieldTag: small, value:t}; var bigObj:Object = {fieldTag: big, value:t}; public function

Re: [flexcoders] click event handler of datagrid, make it fire on rows only

2007-06-04 Thread Derrick Anderson
yeah thanks for the tip but i tried that- my fault was assuming that the ITEM_DOUBLE_CLICK event would suffer the same faults as ITEM_CLICK in that it worked on the header and blank rows(sometimes, have not figured it out) too... luckily it does not. - Original Message From:

[flexcoders] Re: Cairngorm 2.2 incompatible with AS-based ServiceLocator?

2007-06-04 Thread ben.clinkinbeard
Hi Ali, Sorry its taken me so long to respond- had to finish up a project. Anyhow, I was able to solve the mystery pretty quickly once I revisited things this morning. I followed your advice and examined the output of describeType(), which led me to discover that the web services properties were

Re: [flexcoders] My component always returns width = 0

2007-06-04 Thread Tom Chiverton
On Monday 04 Jun 2007, Webdevotion wrote: this.callLater(measure); There are several good articles about the purpose and ordering of createChildren(), measure() etc. -- Tom Chiverton Helping to quickly mesh magnetic design-patterns on: http://thefalken.livejournal.com

[flexcoders] Using the Flex Builder search to navigate through my asdoc docs

2007-06-04 Thread Nuno Morgadinho
I've developed a small framework for which I have generated documentation with ASDoc. I would now like to have this documentation integrated with the Flex documentation so I can use the Flex Builder search to navigate through my docs. I've seen a commercial product at myflex.org (Fx2Doc) that

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
My sample is working on your computer ? I dont have hotfix2 (download in progress). I try with player 9,0,28,0 and 9,0,45,0 on firefox and internet explorer on Windows. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Tried it in hotfix2, tooltip came up and editor did

Re: [flexcoders] Using the Flex Builder search to navigate through my asdoc docs

2007-06-04 Thread Tom Chiverton
On Monday 04 Jun 2007, Nuno Morgadinho wrote: I would now like to have this documentation integrated with the Flex documentation so I can use the Flex Builder search to navigate through my docs. Just run ASDoc over the SDK source as well as your source. -- Tom Chiverton Helping to seamlessly

[flexcoders] Re: Is anyone using WebORB with a Java back end?

2007-06-04 Thread kyle.vanvranken
I haven't had much experience with WebORB, but I believe it was meant to be used with langs other then Java. I remember reading something about not planing to have a Java version as FDS already does that well. One product you might want to check out as a Java alternative:

[flexcoders] Buttons with dynamic loaded images

2007-06-04 Thread flashcrow2000
Hello everybody, I have the next problem: I'm trying to build a field containing a Button/SimpleButton and a LinkButton. I also have an XML file which points, for each entry, to a text, an URL, and three pictures, one for each button state: up, over, down. I'm having trouble displaying a button

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
Not working with the hotfix 2. Doea anyone have try my sample? --- In flexcoders@yahoogroups.com, nxzone [EMAIL PROTECTED] wrote: My sample is working on your computer ? I dont have hotfix2 (download in progress). I try with player 9,0,28,0 and 9,0,45,0 on firefox and internet explorer on

[flexcoders] Style Manager

2007-06-04 Thread pateyog
I am trying to use the run-time CSS using StyleManager and am getting bizzare behavior when loading multiple css files. My code looks something like StyleManager.loadStyleDeclarations(styles/core.swf); //Add the service specific styles from the argument passed

Re: [flexcoders] Style Manager

2007-06-04 Thread Tom Chiverton
On Monday 04 Jun 2007, pateyog wrote: Thanks in advance for suggesting an appropriate solution. Try setting the 'update' parameter to 'false' in all but the last loadStyleDeclarations() -- Tom Chiverton Helping to dynamically engineer viral products on: http://thefalken.livejournal.com

[flexcoders] Re: Using the Flex Builder search to navigate through my asdoc docs

2007-06-04 Thread nunomorgadinho
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 04 Jun 2007, Nuno Morgadinho wrote: I would now like to have this documentation integrated with the Flex documentation so I can use the Flex Builder search to navigate through my docs. Just run ASDoc

Re: [flexcoders] Re: Using the Flex Builder search to navigate through my asdoc docs

2007-06-04 Thread Tom Chiverton
On Monday 04 Jun 2007, nunomorgadinho wrote: Error: could not find source for class mx.validators:ZipCodeValidator in namespace http://framework. If only there was a way to --exclude-dependencies and then give a list of --doc-classe eh ? -- Tom Chiverton Helping to enthusiastically

Re: [flexcoders] Re: Conditional formatting of tree node labels

2007-06-04 Thread ivo
Thanks for the response Barry. I was away just now catching up on email. Turns out I did not have to do: var treeListData:TreeListData = TreeListData(super.listData); if(treeListData.isDirty){ this.label.setStyle('fontStyle', 'italic'); } but just: var treeListData:TreeListData =

[flexcoders] Convert htmlText to plain text

2007-06-04 Thread pdflibpilot
I saw a couple of post about removing all the formatting tags from htmlText and came up with this solution that uses RegExp. I am not completely satisfied with the form though it works. If anyone has any suggestions for improvement or if there is an easier way that I am missing let me know.

RE: [flexcoders] Buttons with dynamic loaded images

2007-06-04 Thread Alex Harui
Button doesn't carry the extra code to load external images. You can write a subclass that does. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flashcrow2000 Sent: Monday, June 04, 2007 7:44 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: removeItemAt combined with getItemAt - Manipulating an arrayCollection

2007-06-04 Thread Alex Harui
Each time you use {}, you instantiate a unique new object which of course is not findable in the collection. You can use find() for that though. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of michaelmatynka Sent: Monday, June 04, 2007

RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread Alex Harui
I ran a test with your code on SAFlashPlayer. There's too many browser/player configs for me to try them all so I asked for a few configs. I'll try to run those configs today, but it may be a while before I get to it. Do you have a custom wrapper? From:

[flexcoders] Adding a menubar to a cell in a datagrid

2007-06-04 Thread bill.fogarty17
Hi folks, I need to add a flyout menu to a cell in my datagrid. I customised a Menubar so that it has the style and menu options that I need. But I'm having problems adding it to my datagrid. mx:DataGridColumn dataField=actions headerText=Actions width=60 mx:itemRenderer mx:Component

Re: [flexcoders] Convert htmlText to plain text

2007-06-04 Thread Daniel Freiman
I doubt it's the most efficient way, but a really easy way should be this: function removeHTMLTags(str:String):String { var tf:TextField = new TextField(); tf.htmlText = str; return tf.text; } Dan Freiman nondocs http://nondocs.blogspot.com On 6/4/07, pdflibpilot [EMAIL PROTECTED] wrote: I

[flexcoders] Problems installing HotFix 2...Please choose an existing Eclipse 3.1 (or greate

2007-06-04 Thread gary_mangum
We have been unable to successfully install HotFix 2 on Windows - I downloaded FB2_Hotfix2_Installer_Win.exe - When I run it, I point to the default FB2 directory where I have FB2 installed, C:\Program Files\Adobe\Flex Builder 2 - I get the following error: Please choose an existing Eclipse 3.1

[flexcoders] Re: Custom Attributes

2007-06-04 Thread gary_mangum
I just tried this with hotfix 2 and it did not work any differently for me. Can you point me to the example that you saw working so that I can try it? Also, how can I verify that I have hotfix 2 installed? The windows installer was not working (see my other post) so I ended up unzipping the zip

RE: [flexcoders] Re: Custom Attributes

2007-06-04 Thread Alex Harui
SomeClass id=sc selectedIndex={SomeClass.ID2} dataProvider mx:StringAlpha/mx:String mx:StringBeta/mx:String mx:StringGamma/mx:String /dataProvider /SomeClass Where: package {

[flexcoders] Tab Navigator Confirm on tab change

2007-06-04 Thread cbs1918
I have a tab navigator with a form on each of the tabs. I am looking for a solution where if data has changed on the form and not been saved, when the user tries to change tabs show a confirmation message 'Any unsaved data will be lost', and if the user selects yes, go ahead and change tabs, else

[flexcoders] Re: Checkbox needs to have the same behavior like 'ctrlkey+mouse click' in datagrid

2007-06-04 Thread handitan
Hi Alex, Thank you for the reply. After I dig further the forum, I found a thread that actually already tackle this problem. Here's the thread: http://tech.groups.yahoo.com/group/flexcoders/message/69360 Find the reply by Doug McCune. He got the solution in his blog. Doug, you are the man!

[flexcoders] Automatically Cast CF Arrays to Flex ArrayCollections?

2007-06-04 Thread jamckinn2001
Is there an automatic way to cast a variable in a custom object as ArrayCollection from a CFC service call? How about nested ArrayCollections also? Something like how cfquery automatically casts. Below is an example of custom objects where the AS classes are mapped via RemoteClass to the CFCs

RE: [flexcoders] Re: Really complex buttons (aka what WPF got right)

2007-06-04 Thread Ely Greenfield
Hi Borek. Thanks for your thoughts. They are very much appreciated. And for what it's worth, on a purely technical level, I agree with you, Microsoft has done a very nice job in the architecture of their framework. Let me respond to a few comments. 1) Actually, no, I think you

[flexcoders] Re: Style Manager

2007-06-04 Thread pateyog
Tom I tried as per your suggestion but did not work, I also Tried calling the different styles sheet mentioned in my original message from preinitialize to creation complete and each of these places the result was the same. Probably the one that loads last takes the precedence and is not

Re: [flexcoders] Convert htmlText to plain text

2007-06-04 Thread Ben Marchbanks
Thanks Daniel - your solution is really much cleaner - works for me ! Daniel Freiman wrote: I doubt it's the most efficient way, but a really easy way should be this: function removeHTMLTags(str:String):String { var tf:TextField = new TextField(); tf.htmlText = str; return tf.text; }

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
No custom html wrapper --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I ran a test with your code on SAFlashPlayer. There's too many browser/player configs for me to try them all so I asked for a few configs. I'll try to run those configs today, but it may be

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
This is working but is not exacly what i'm doing... I want to find why my code is not working... --- In flexcoders@yahoogroups.com, Harish Sivaramakrishnan [EMAIL PROTECTED] wrote: are you looking at something like this? http://flexgeek.wordpress.com/2007/06/04/tips-tricks-itemeditors-iii/

[flexcoders] Flex 2 Webservices - load wsdl failed

2007-06-04 Thread thuvu03
I have ported my Flex 1.5 application to Flex 2. I have Flex Builder 2.0.1 installed with Hot Fix 2. I use Apache Axis 1.2 for our webservices, which works fine with my Flex 1.5 application. Now when I moved our codes to Flex 2, I got errors when it tries to load my wsdl. Here is a snippet of

RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread Alex Harui
Tried FireFox and IE on WinXP. I don't lose focus when the tooltip pops up. Can you post this on a server? Then others can quickly see if they can repro your situation. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Re: Using the Flex Builder search to navigate through my asdoc docs

2007-06-04 Thread nunomorgadinho
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 04 Jun 2007, nunomorgadinho wrote: Error: could not find source for class mx.validators:ZipCodeValidator in namespace http://framework. If only there was a way to --exclude-dependencies and then give a

[flexcoders] HorizontalList shows image place holder instead of image

2007-06-04 Thread Nathan Arizona
The code below shows that there are two image tags and one horizontal list. The image tags show the images but the the horizontalList does not. Can anyone see what I am doing wrong. Just an FYI. I am using an example from the flex documenatation. Prior to this the HorizontalList was using the

[flexcoders] Not able to use Colortransform on a Sprite in my Component

2007-06-04 Thread Webdevotion
Hello, I'm not able to use Colortransform on a sprite in my AS only component. I read a post from a while ago in the archives. It stated that you could run into problems when you use graphics.beginstyle(0xFF). I changed my color to 0xEFEFEF, but am still not able to use the colortransform.

[flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread nxzone
Humm, i don't know what to say but now is working. I changed nothing in my code and is working after reinstalling 2 time the hotfix the and all the flash player with the debuger past SDK in my Flex builder folder. :( Strange... I hope i was alone on the planet to have this problem... --- In

[flexcoders] keeping a drawn line attached to 2 objects

2007-06-04 Thread Clint Tredway
Can anyone point me in the direction in drawing a line between to objects and then keeping that line attached to each object even during being dragged around the screen? Thanks -- I am not a diabetic, I have diabetes my blog - http://grumpee.instantspot.com/blog

[flexcoders] Dynamic text flow - multicolumn page

2007-06-04 Thread pdflibpilot
I am working on a multicolumn page layout. The goal is to be able to populate 1-4 columns of page content in a newspaper / magazine article type format. I have be successful with 2 column layout and want to do 3 and 4 column as well but before moving forward I want to make sure I am approaching

[flexcoders] Setting soundTransform on VideoDisplay

2007-06-04 Thread aicfan4
I have a component that uses the VideoDisplay class to play a video. It is added to my component in it's constructor as follows: /* --- VideoContent.as --- */ import mx.containers.HBox; import mx.controls.VideoDisplay; public class VideoContent extends HBox { private var vid:VideoDisplay;

RE: [flexcoders] HorizontalList shows image place holder instead of image

2007-06-04 Thread Alex Harui
It looks like you made a custom renderer that just has an Image. Image doesn't know how to look for an icon property in the dataprovider. You might try customizing the .data setter. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Re: Defining a dynamic UI

2007-06-04 Thread phall121
A very similar issue is now raised in a new thread: Selecting which Child Components to add at runtime ...how to define dynamic children. --- In flexcoders@yahoogroups.com, gary_mangum [EMAIL PROTECTED] wrote: Thanks for the great responses! I see 2 great options here: - Place my array

[flexcoders] Landscape printing in Flex

2007-06-04 Thread archtechcomputers
Is there anyway to define landscape to the printer? I am working on a project that I need to print a single page that is in landscape. I've created a component that is 800 x 600, the print job adds that component as an print object and sends. If under the system printer dialog box, I don't

[flexcoders] Selecting which Child Components to add at runtime

2007-06-04 Thread phall121
I want to add views to a ViewStack at runtime by selecting from an expanding table of Custom Components. As the simplified code below shows, I can figure out how to add any one and hard code it. But the addChild method of the ViewStack seems to require that you know ahead of time which

[flexcoders] AS3 decorator pattern examples

2007-06-04 Thread duncmcm
I've been reading Advanced AS3 with design patterns and wish to get my hands on an example of a decorator pattern in AS3. The one in this book I have tried but doesn't seem to work. Without initially posting my code has anyone out there got a tried and tested AS3 decorator pattern example I

Re: [flexcoders] Landscape printing in Flex

2007-06-04 Thread Jurgen Beck
Look at the PrintJobOrientation class and see if that helps: http://livedocs.adobe.com/flex/2/langref/flash/printing/PrintJobOrientation.html Jurgen archtechcomputers wrote: Is there anyway to define landscape to the printer? I am working on a project that I need to print a single page that

[flexcoders] Re: Custom Attributes

2007-06-04 Thread gary_mangum
This is very similar to what I want to do...so now I need to get the hotfix installed...did you see my other post...any idea why the hotfix installer will not work for me or any of my team? I also tried unzipping the zip version of the hotfix. This did not update anything of my version numbers

Re: [flexcoders] Automatically Cast CF Arrays to Flex ArrayCollections?

2007-06-04 Thread Douglas Knudsen
Check out this http://www.cubicleman.com/2007/02/13/coldfusion-and-flex-composite-cfcs-and-arrays/ I wrote a blog post about this a bit back. DK On 6/4/07, jamckinn2001 [EMAIL PROTECTED] wrote: Is there an automatic way to cast a variable in a custom object as ArrayCollection from a CFC

[flexcoders] CDATA and E4X

2007-06-04 Thread Jesse Warden
How do I use CDATA with E4X? Reading CDATA nodes is easy. Sending, however, is hampered by the fact that I cannot use binding within CDATA nodes, and all text is URL encoded. So, if I do this: username = Jesse; lastname = Warden; nodes node{username}/node node![CDATA[{lastname}]]/node

[flexcoders] Custom Easing Function Explorer

2007-06-04 Thread ddanone2
You can make your custom easing function to apply on effects at http://www.madeinflex.com/2007/06/03/custom-easing-function-explorer/ simple but usefull. Cheers

Re: [flexcoders] CGRM :: ServiceLocator :: Modules - how to share

2007-06-04 Thread Frode
Hi I had the same problem and solved it my creating a ModuleServiceLocator which extends the ServiceLocator. Probably not the best coding, but it works (and for simplicity I user external apps, not modules). There are one main ModuleServiceLocator, and each other module has their own

RE: [flexcoders] Landscape printing in Flex

2007-06-04 Thread Mike Weiland
Unfortunelty there is no way to set the orientation, it is read only. What I do for http://www.CertificateCreator.com/ is when someone prints is to tell them to set their printer to landscape. Once the print job is processed I check the orientation and if it was not set to landscape I alert

RE: [flexcoders] Style Manager

2007-06-04 Thread Gordon Smith
Each call to laodStyleDeclarations() starts an asynchronous loading process which completes at some time in the future. Could the problem be that they aren't completing in the order they start? - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

[flexcoders] Re: DataGrid edits with XMLListCollection dataprovider

2007-06-04 Thread arieljake
Thank you very much for the help! Here is what I wrote to solve this problem: private function handleItemEdit(event:DataGridEvent):void { event.preventDefault(); var

[flexcoders] Remoting - Authentication and authorization with Acegi

2007-06-04 Thread Collin Peters
Does anyone have any remoting (i.e. RemoteObject) examples of how to do authentication and authorization with Acegi? I have been reading the LiveDocs on securing destinations at

[flexcoders] Convert project to Data Services

2007-06-04 Thread Scott Hoff
If you set up a project as basic, can you change it so that it can use flex data services? I'm hitting a brick wall with the Web Service tutorial in the training from the source book. I'm using it in basic mode and am wondering if I'm getting my error b/c I'm not using the FDS proxy.

  1   2   >