[flexcoders] Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-09 Thread Michael Ritchie
In a recent project, I wanted to load the Unicode values for special characters from an external XML file. I wanted these values to show up in a label or text box using something like label.htmlText = \ul00A9, which would produce the copyright symbol. However, when I loaded the values from a

[flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-09 Thread Michael Ritchie
Gordon, That makes sense but its still strange that when I created an XML var in side application, it worked: var localXML:XML = character data\u00A9/data labelInverted Exclamation Mark/label /character; I was able to see the copyright symbol as HTML on my label. What threw me was that I

[flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-09 Thread Michael Ritchie
#x00A9;/data. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Wednesday, August 09, 2006 1:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Loading Unicode values from XML and viewing

[flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML

2006-08-09 Thread Michael Ritchie
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Wednesday, August 09, 2006 3:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Loading Unicode values from XML and viewing in Flex components as HTML Gordon, That makes

[flexcoders] Re: How to bring a combo box component inside the dataGrid Component

2006-08-23 Thread Michael Ritchie
I just finished a sample application because I needed to do the same exact thing for a recent project. I posted my sample files and source on my blog, hope it helps: http://thanksmister.com/?p=24 - mr --- In flexcoders@yahoogroups.com, richinternetapps [EMAIL PROTECTED] wrote: Hi Folks,

[flexcoders] Re: add additional data to list-based drag and drop?

2006-08-25 Thread Michael Ritchie
I had a similar need using two datagrid components. I wanted to drag from datagrid one to datagrid two, and also drag/drop within datagrid two. I had to determine the names of each datagrid to allow/deny drag and drop targets. You can check out my example and source code here:

[flexcoders] Flex abruptly closes on startup with error

2006-08-29 Thread Michael Ritchie
. - michael ritchie -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders

[flexcoders] Re: Cairngorm createPopUp in a command

2006-12-14 Thread Michael Ritchie
advantage of using my method, you could create a queue of the alert messages and do clean up with by firing the collectionChange event when you removeItemAt from the ArrayCollection. This could produce and handle multiple alert messages layered on top of each other. Michael Ritchie Xdrive.com

[flexcoders] Right-click menu while dragging

2006-12-20 Thread Michael Ritchie
. This also happens when you create Menu and right-click. Michael Ritchie Xdrive.com

[flexcoders] Re: Custom TileWindow Close Button

2007-01-03 Thread Michael Ritchie
=close_over); closeButtonDownSkin: Embed(source =../flash/CloseAssets.swf, symbol=close_down); closeButtonDisabledSkin: Embed(source =../flash/CloseAssets.swf, symbol=close_up); } It could be that the SWF is scaling, but my close button size in the FLA is actually 18 x 18. Michael

[flexcoders] Re: Cairngorm Architecture Question - How to Implement a Workflow

2007-01-03 Thread Michael Ritchie
at this post by Alex Uhlmann for full example: http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for_1.cfm Michael Ritchie AOL Xdrive --- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: I've got an app consisting of several discrete views (MXML

[flexcoders] Re: Cairngorm FMS

2007-01-04 Thread Michael Ritchie
a good solution. Remember, Cairngorm is a meant to be modified to fit your needs, it is not engraved in stone that everything must fit in the current architecture. Have a look and see if it helps at all. You can find the sample zip file here: http://thanksmister.com/?p=26 Michael Ritchie

[flexcoders] Re: Module Interface Problems

2007-04-03 Thread Michael Ritchie
From my experience there is a definite timing issue when loading modules. The ModuleLoader ready event is fired before the Module is fully loaded and you have the ability to talk to it through a common interface (hence the error reporting access to a null value). I would term this one as a bug

[flexcoders] Re: Module Interface Problems

2007-04-03 Thread Michael Ritchie
Well scratch those ideas. NO matter what I do the loaded module reports that the ModuleLoader.child is Null. Back to the lab for more experiments. -mr --- In flexcoders@yahoogroups.com, Michael Ritchie [EMAIL PROTECTED] wrote: From my experience there is a definite timing issue when loading

[flexcoders] Re: Module Interface Problems

2007-04-03 Thread Michael Ritchie
Using ModuleManager to load the modules allows me to access the Interface methods(in this case 'selectedMedia'). It seems that casting the child within ModuleLoader as an ISoundPlayer interface (in my example) always reports the child as NULL when loaded. However, casting the loaded module as a

[flexcoders] Re: Module Interface Problems

2007-04-03 Thread Michael Ritchie
); } _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: den 3 april 2007 11:24 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Module Interface Problems From my experience there is a definite timing issue when loading modules

[flexcoders] Re: Module Interface Problems

2007-04-04 Thread Michael Ritchie
had a chance to see it and create the child. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Tuesday, April 03, 2007 1:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Module Interface

[flexcoders] Re: Module Interface Problems

2007-04-05 Thread Michael Ritchie
, that ModuleLoader won't load its module. Did you see it get loaded and dispatch READY? This is all within a single domain right? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Wednesday, April 04, 2007 12:40

[flexcoders] Re: Module Interface Problems

2007-04-06 Thread Michael Ritchie
? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Thursday, April 05, 2007 11:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Module Interface Problems Alex, Lol, you said tickling, haha. Yes, this is within

[flexcoders] Re: Module Interface Problems

2007-04-07 Thread Michael Ritchie
somehow. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Thursday, April 05, 2007 11:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Module Interface Problems Alex

[flexcoders] TextInput control and long text

2007-09-04 Thread Michael Ritchie
If you have text in a TextInput control that is longer than the control you get a undesirable behavior. When take the the cursor to the end of the TextInput control and leave it, only the last part of the file name is displayed when the control loses focus. I tried a few different ways to force

[flexcoders] Re: TextInput control and long text

2007-09-04 Thread Michael Ritchie
Thanks for the suggestion Alex, but that doesn't seem to help. I set it using AS and not MXML, thought it might be related to this bug: http://bugs.adobe.com/jira/browse/SDK-387 and this one seems to be match for my issue: http://bugs.adobe.com/jira/browse/SDK-1057 --- In

[flexcoders] Re: TextInput control and long text

2007-09-05 Thread Michael Ritchie
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Tuesday, September 04, 2007 3:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: TextInput control and long text Thanks for the suggestion Alex, but that doesn't seem to help. I set it using

[flexcoders] Re: TextInput control and long text

2007-09-05 Thread Michael Ritchie
@yahoogroups.com, Michael Ritchie [EMAIL PROTECTED] wrote: Thanks for the suggestion Alex, but that doesn't seem to help. I set it using AS and not MXML, thought it might be related to this bug: http://bugs.adobe.com/jira/browse/SDK-387 and this one seems to be match for my issue: http

[flexcoders] Re: Flex Library Project crashing Eclipse with a StackOverflow

2007-10-05 Thread Michael Ritchie
Try adding the entire library folder (where the library swc lives) to your project under Library Path as opposed to the individual SWC file, see if that does the trick. - michael --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Just encountered this one myself...

[flexcoders] Re: Flex Library Project crashing Eclipse with a StackOverflow

2007-10-05 Thread Michael Ritchie
This usually happens when adding multiple SWC files to your application, its a real bear to track down :\ - michael --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Just encountered this one myself... I deleted the project for now, and am about to try and recreate

[flexcoders] Re: Buffer progress bar for streaming FLV

2006-08-30 Thread Michael Ritchie
Abdul is correct, you need to get the netstream time, use the following code for your enterframe function: private function onEnterFrame(event:Event):void { if(stream == null) return; var loadpct:Number = stream.bytesLoaded /

[flexcoders] Re: Flex with FMS (something like Breeze...)

2006-09-12 Thread Michael Ritchie
I recently updated Adobe's FCS Text Chat example to work with Flex 2 and FMS, you can find my post and example here: http://thanksmister.com/?p=26 The problem with the Adobe examples are that they are outdated and some of the code to update them is not easy to find. I wanted an updated and

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
I have a similar issue, I have the arraycollection of VO's returned from the CFC. I assign those to a datagrid, then on datagrid change event, assign the selected item to a VO to pass between my tiers. I always get error trying to access a null object. I can't seem to convert my arraycollection

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
putting a small example together to demonstrate the issue, I will post it when I have it online. Thanks! - mr --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 28 September 2006 16:03, Michael Ritchie wrote: always get error trying to access a null object. I

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
, Michael Ritchie michael.ritchie@ wrote: I have tried marking the VO class a couple different ways. The first was following the PhoneExample application by Benoit Hediard (http://www.benorama.com): // path to my CFC ContactVO.cfc [RemoteClass(alias

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
to the quick development of Cairngorm ;). I could not get some parts of the Cairngorm example to work, mainly the part that TH fixed. Maybe someone has a better solution or can locate where I messed up. Michael Ritchie --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi

[flexcoders] Re: Can Flex play rtmp camera video?

2006-10-10 Thread Michael Ritchie
There are a few resources out there with Flex using FMS: http://thanksmister.com/?p=26 http://coenraets.com/viewarticle.jsp?articleId=98 http://flash-communications.net/technotes/fms2/flex2FMS/index.html http://www.adobe.com/devnet/flashmediaserver/articles/video_state_machine_as3_04.html Hope

[flexcoders] Re: Problem With type checking...

2008-07-23 Thread Michael Ritchie
Is the ArrayCollection FamilyMember and FriendMember located in the Cairngorm Model or are you passing these into the Module through an Interface? - Mr --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] Uttarwar [EMAIL PROTECTED] wrote: Hi Everybody, I am using cairngorm and modules in