[flexcoders] Re: auto close popups

2010-02-05 Thread markdemich
I'm not sure that you need to worry about the FocusManager given you want it to go away on a click. One way I would handle it would be to add an event listener to the stage and listen for MouseEvent.MOUSE_DOWN. Check the target and if the target is not anything in your popup, then close the

[flexcoders] Re: FileReference.save optional

2009-10-01 Thread markdemich
--- In flexcoders@yahoogroups.com, droponrcll amyblankens...@... wrote: --- In flexcoders@yahoogroups.com, markdemich demi@ wrote: A lot of my customer base still uses Flash 9. Was trying to determine that if Flash 10 was loaded I would conditionally provide a feature in my app

[flexcoders] FileReference.save optional

2009-09-28 Thread markdemich
A lot of my customer base still uses Flash 9. Was trying to determine that if Flash 10 was loaded I would conditionally provide a feature in my app to save something to a file. I tried faking out the compiler by doing something like this. if (isFlash10) { var f:Object = new FileReference();

[flexcoders] XML Entity won't parse inside MXML

2009-03-16 Thread markdemich
I have some embbeded XML inside an MXML file that I'm feeding to an outline. Some of my attributes need to have a quote character. It looks something like this mx:XMLList id=testXml sample badattribute=quot;ABCquot; test name=1/ test name=2/ /sample mx:XMLList This refuses to compile. I even

[flexcoders] QuickTime Movies

2009-01-30 Thread markdemich
Is it possible to display QuickTime Movies from an Air app? It seem that VideoDisplay only does FLVs.

[flexcoders] NaN in CSS

2009-01-05 Thread markdemich
Is it possible to specify NaN or maybe null inside a CSS file. I have a selector that needs to undefine a width set in another selector for the class.

[flexcoders] Foreign Keyboard Mappings

2008-12-08 Thread markdemich
I have a flash application that's being used in other countries. I'm having reports that certain keys from certain keyboards are not getting translated properly. My application uses a custom equation editor that I wrote. I'm using key up and key down handlers to capture key strokes. I can't

[flexcoders] Foreign Keyboard Mappings

2008-11-15 Thread markdemich
I have a flash application that's being used in other countries. I'm having reports that certain keys from certain keyboards are not getting translated properly. My application uses a custom equation editor that I wrote. I'm using key up and key down handlers to capture key strokes. I can't

[flexcoders] Bad TextMetrics being returned on some machines

2008-09-24 Thread markdemich
I have an application that pieces together text. To do this, I need to get the textWidths of Flash TextField objects. I also use the getLineMetrics method as well. I have a particular scenario that's not working. This is happening on some Windows XP machines. It repeats in AIR as well as

[flexcoders] Profile external SWF

2008-09-03 Thread markdemich
I need to profile my swf in the context of my site. Debugging works fine, but I can't figure out how to start the profiler and be able to navigate a few pages on my site before getting to my SWF. Does anyone know how to do this?

[flexcoders] printJob and callLater

2008-09-03 Thread markdemich
I have an application that produces a very large printout. The documentation in the printJob says that you have a 15 second time limit in between calls to PrintJob.addPage (this is what FlexPrintJob.addObject is calling). However, based on my tests it seems you have 60 seconds for the whole