[flexcoders] Re: Iframe in RichTextEditor(flex 3)

2009-04-06 Thread jim.abbott45
Hmm . . . IFRAME is an HTML element, not a Flex (MXML) one. Please clarify what you are trying to accomplish--are you trying to display HTML content? Regards, Jim --- In flexcoders@yahoogroups.com, senthilkumarirtt senthilkumari...@... wrote: hi i need to implement iframe in

[flexcoders] Re: FlexMDI controlling Tab navigation

2009-03-31 Thread jim.abbott45
Unfortunately, this sounds like a known issue. [Sigh] Please view the following bug and, if so inclined, vote for it to be fixed. See: https://bugs.adobe.com/jira/browse/SDK-16897 https://bugs.adobe.com/jira/browse/SDK-16897%20 (The inability to create Tab Loop domains.) --Jim --- In

[flexcoders] Re: Fortify Scan on my Application.

2009-03-31 Thread jim.abbott45
If you've modified the HTML wrapper file (or the template file which it is generated from), then be SURE to BACK UP those files BEFORE you modify the project (as Tracy discusses). When you modify that aspect of a Flex project, your HTML wrapper changes are all over-written! You do get a warning

[flexcoders] Re: Strongly typed responses from RESTful web services

2009-03-27 Thread jim.abbott45
--- In flexcoders@yahoogroups.com, djepyon i...@... wrote: Hey flexiverse, is there a way to generate dto's and have strongly typed result objects from REST services in flex? Short answer: POX (Google it...) Long answer: 1) Have each REST service serialize its result as XML (or possibly

[flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-13 Thread jim.abbott45
Feeling less than ecstatic? Then please VOTE for fixing of bug #16897. See: https://bugs.adobe.com/jira/browse/SDK-16897 https://bugs.adobe.com/jira/browse/SDK-16897 --Jim --- In flexcoders@yahoogroups.com, aceoohay pa...@... wrote: Alex: Neither of these options are practical in the

[flexcoders] Re: Flash 10 File Chooser

2009-03-06 Thread jim.abbott45
No, according to the documentation (probably because it would be a privacy violation): The FileReference and FileReferenceList classes . . . do not allow the SWF file that initiated the upload or download to access the uploaded or downloaded file or the file's location on the user's disk.

[flexcoders] Re: re-initialize component in viewstack

2009-02-25 Thread jim.abbott45
Try hooking the Show event of your UI component and add your 'init()' code to your new event handler (for the Show event). --- In flexcoders@yahoogroups.com, _estatica_ ibo...@... wrote: Is it possible to call a method (say init(void)) within UI component that is within viewstack every time it

[flexcoders] Re: open new browser in maximized state

2009-02-16 Thread jim.abbott45
If all your users are running very old versions of Internet Explorer then you can use the ExternalInterface API to call a JavaScript function which calls the Browser/DOM window.open() function. The third argument to window.open() should have fullscreen in the features list (i.e., ...,

[flexcoders] Re: [Req] What do you (love|hate|wish for) about (mx.*|Cairngorm|PureMVC|Mate|Prana|BlazeDS)?

2009-02-13 Thread jim.abbott45
Just as a suggestion, Why not take Maté and add Java/BlazeDS support to it? (OK, I admit it, I really like what I've seen of Maté so far--IMHO a Developer could do a lot worse using another framework.) --Jim --- In flexcoders@yahoogroups.com, Josh McDonald j...@... wrote: Hey guys, I have a

[flexcoders] Re: Flex End-User Documentation Tools

2009-02-12 Thread jim.abbott45
This topic has come up more than once on FlexCoders. Please do a search for this. That said, the last time it came up, I don't believe that anyone had any brilliant solutions for this challenge. Some people were using various forms of HTML-based documentation; *** but displaying it in a separate

[flexcoders] Re: Newbie Help

2009-02-12 Thread jim.abbott45
(See responses below...) --- In flexcoders@yahoogroups.com, Wally Kolcz wko...@... wrote: 1.) Flex is just an SWF file. You can set the application to any size and embed it as a SWF. 3.) Flex has a really good printing solution allowing you to add elements to a print job and control the order

[flexcoders] Re: sizing dinamically the screen

2009-02-02 Thread jim.abbott45
Gustavo: Sorry, but I don't think the approach you are taking is necessarily advisable, or even technically correct (in one regard). Specifically: 1) screen.width (and screen.height, and screen.availableWidth, etc.) allow JavaScript (DOM) code to discover the size of the user's monitor (screen

[flexcoders] Re: sizing dinamically the screen

2009-02-02 Thread jim.abbott45
a window.open() but problem is the windows browsers, so instead of that I've been trying to apporach the windows, not much of success right now. On Feb 2, 2009, at 1:13 PM, jim.abbott45 wrote: Gustavo: Sorry, but I don't think the approach you are taking is necessarily advisable

[flexcoders] Re: sizing dinamically the screen

2009-02-02 Thread jim.abbott45
is the windows browsers, so instead of that I've been trying to apporach the windows, not much of success right now. On Feb 2, 2009, at 1:13 PM, jim.abbott45 wrote: Gustavo: Sorry, but I don't think the approach you are taking is necessarily advisable, or even technically

[flexcoders] Re: HTML and Flex

2009-01-21 Thread jim.abbott45
OK, I'll bite . . . The only solution that I can think of, off the top of my head, is to pop up a new browser window and embed just the TinyMCE instance in that window. When the user has committed their changes in the editor window, use JavaScript and Flex's ExternalInterface API to get the

[flexcoders] Re: Navigational Design Patterns?

2009-01-21 Thread jim.abbott45
FWIW, I have to concur with the advice that Tracy gave you and I can also recommend--HIGHLY--the content at the link that Haykel gave you. In short, use Wizard-style navigation for infrequent/complex/inherently multi-step tasks. For the rest of (usually, most of) your tasks, use a more fluid

[flexcoders] Re: copyright notices in code

2009-01-21 Thread jim.abbott45
For your compiled code: If you are compiling an application, then the first screen that a user sees (splash screen, login form, etc.) should have a copyright notice. If you are compiling a library or resource file of some sort, you may want to include a string which contains a copyright notice.

[flexcoders] Re: Overriding margins using FlexPrintJob

2009-01-16 Thread jim.abbott45
Jeff: We're a little confused as to what problem you're really trying to solve here . . . I just tried the printing wizard (in XP's Windows Picture and Fax Viewer) application--I assume that's what you're referring to. When I tried the 'Wallet Prints' option, it scaled and rotated the image. It

[flexcoders] Re: warning on 'back' button before closing application?

2009-01-14 Thread jim.abbott45
Your other choice is to have your entire application opened in a new, separate browser window, but with the browser 'chrome' history turned off. In that case, users cannot accidentally navigate away from the application, because there _is no_ navigation history to begin with. Of course not

[flexcoders] Re: Using ActiveXObject with Adobe AIR and Flex

2009-01-09 Thread jim.abbott45
Pratik: I've gotten this to work on my own projects (for example, to load data into Excel). But ONLY with Internet Explorer (on Windows, of course). I doubt it would ever work cross-browser (or with AIR), because the browser needs to implement support for instantiating ActiveX objects and to call

[flexcoders] Re: WANTED: Online help integration, authoring, best practices (for Flex or Ajax)

2009-01-06 Thread jim.abbott45
satisfactorily. The help authors needed only the module and view ids, which were descriptive strings. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jim.abbott45 Sent: Monday, January 05, 2009 12:27 PM

[flexcoders] WANTED: Online help integration, authoring, best practices (for Flex or Ajax)

2009-01-05 Thread jim.abbott45
Does anyone have any recommendations about good ways to add online help to Flex (and maybe Ajax) applications? In particular . . . 1) Is your help system integrated into the application or is it in a separate (browser) window? 2) How do you achieve _context-sensitive_ linkage? 3) What tooling

[flexcoders] Re: clearing out mx:DateField

2008-12-09 Thread jim.abbott45
Hmm . . . I would think that should work, I've used the foo.selectedDate = null technique before. Here's how my technique for clearing out a DateField looks (in this example: it is filtering a data provider, and 'tomorrowOn' is an instance of an Object which has a rangeStart property):

[flexcoders] Re: Unformatting currency values - best practice?

2008-12-04 Thread jim.abbott45
It sounds like you're taking the 'high road' approach to this (i.e., letting users enter arbitrary currency strings and then trying to figure out the currency type after the fact and then checking the thousands separators and decimal point characters to see if they match that). That's a best

[flexcoders] Re: JSP taglib FLEX 3

2008-12-02 Thread jim.abbott45
virchete: I don't have a lot of expertise with the Flex web-tier compiler. However, If you are trying to compile a Flex application using the web-tier compiler, then you should normally be loading a .mxml (and not .jsp) file to the server, and then having your browser request that file. For more

[flexcoders] Re: Using XSL in Flex?

2008-12-02 Thread jim.abbott45
Or you could just use the ExternalInterface API to call the XSL(T) engine that most mainstream browsers include these days. That said, there is (in my opinion) still the question of whether that approach leads to a robust solution, particularly w.r.t. cross-browser differences . . . If you want

[flexcoders] Re: Flex 3 - Export to Microsoft Excel?

2008-12-02 Thread jim.abbott45
I've successfully implemented two different approaches. The first approach just puts the data for Excel _on the clipboard_. It also uses Microsoft's uber-funky XML schemas to control the formatting of the resulting spread-sheet. This approach works nicely for both FF and IE, in my experience

[flexcoders] Re: Creating a Chart With 50,000 Data Points

2008-11-18 Thread jim.abbott45
50,000? LOL. ;-) On a more serious note, I have to agree with Fotis and Ricky that 50K data points is too many, both from a (Flash 9 VM at least) performance perspective and probably also from an Information Visualization perspective (unless, maybe, your users have 300 dpi monitors). There are

[flexcoders] Re: Communicating with Component

2008-11-12 Thread jim.abbott45
It should be quite straight-forward . . . 1) Import the component's class. For example: import com.myOrg.folderName.WidgetClass; 2) Instantiate the component: protected var aWidget:WidgetClass = new WidgetClass(); 3) Access its properties and invoke its methods: aWidget.name = 'foo';

[flexcoders] Re: Setting cursor to particular text box on the application load

2008-11-12 Thread jim.abbott45
In order for this to work, your application _as a whole_ needs to do two things. One of them is (in Flex) to use the setFocus() method to specify where (in the Flex applications) focus should go. From your posting it appears that you have already done this. The other thing is that the _entire

[flexcoders] Is Astro (version 10) of the Flash VM on the auto-updateder now?

2008-11-10 Thread jim.abbott45
Can anyone (Matt, Alex, ...others?) confirm that version 10 is what the auto-updater is pushing out now? FYI: on at least one of my Development machines, I just got an update recommendation (to v10), even though I wasn't looking for an update. TIA, Jim

[flexcoders] Re: my first flex website

2008-11-05 Thread jim.abbott45
Gustavo, here are a few things I noticed: -- The sculpture/building image (and maybe some other content) did not load at the same time as the rest of the design; it was somewhat jarring when it/they did finally appear (a few seconds later). You might want to consider embedding all the content (if

[flexcoders] Re: textArea.setFocus();

2008-10-30 Thread jim.abbott45
For IE7 (at least), the following line of code works . . . body scroll=no onLoad=window.document.${application}.focus(); Just to be clear, it needs to be put in the html-template/index.template.html file of your project, and replacing the body tag that is already there. Good luck, Jim --- In

[flexcoders] Re: WANTED: code examples (or explanations) of *NON-PopUp* Tab loops

2008-10-27 Thread jim.abbott45
classes can intercept KEY_FOCUS_CHANGE and override the FocusManager's default behavior. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jim.abbott45 Sent: Friday, October 24, 2008 9:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WANTED: code examples

[flexcoders] Re: WANTED: code examples (or explanations) of *NON-PopUp* Tab loops

2008-10-24 Thread jim.abbott45
Bump. The silence is deafening. I'm still hoping someone has some best practices or ideas to share, if not necessarily and actual code examples. TIA, Jim --- In flexcoders@yahoogroups.com, jim.abbott45 [EMAIL PROTECTED] wrote: Hello fellow Flexers: I'm having a hard time finding reliable

[flexcoders] WANTED: code examples (or explanations) of *NON-PopUp* Tab loops

2008-10-23 Thread jim.abbott45
Hello fellow Flexers: I'm having a hard time finding reliable information on how Tab loops work. I'm hoping that someone has some good code samples they could share that would show how to implement/use tab loops in Flex. Or, failing that, clearer explanations than I've been able to glean from the

[flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread jim.abbott45
Has ANYONE got a code sample (of the Decoder, especially) they'd like to share? I'm using the Decoder right now and can't get it to work. Of course I don't know yet if its in my AS3 code; the server guy's Base-64 code (in Java); or--dare I say it--in the Flex library.

[flexcoders] Re: Flex Enhancement, TabIndex

2008-09-20 Thread jim.abbott45
Please VOTE for SDK-16016 (https://bugs.adobe.com/jira/browse/SDK-16016), in addition to SDK-16897 (https://bugs.adobe.com/jira/browse/SDK-16897), if you want tab key support to be fixed, including usage in item renderers.