[flexcoders] Implement Multiple Interfaces in a MXML component

2009-09-08 Thread Michael Ridland
Hi I want to be able to implement multiple interfaces in a MXML Component. But I get this error, 'Attribute implements was already specified for element mx:Canvas.'. Thanks in Advance. Michael

Re: [flexcoders] Implement Multiple Interfaces in a MXML component

2009-09-08 Thread Michael Ridland
Thanks.. I didnt think this question needed sample code. Here is a sample... mx:Canvas xmlns=* xmlns:mx=http://www.adobe.com/2006/mxml; implements=lib.ISurfaceObject implements=lib.ISurfaceObject2 verticalScrollPolicy=off /mx:Canvas On Tue, Sep 8, 2009 at 8:04 PM, Fidel Viegas

[flexcoders] Dynamically Created Components Added to Custom Components

2009-09-08 Thread Michael Ridland
Hi I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating

Re: [flexcoders] Implement Multiple Interfaces in a MXML component

2009-09-08 Thread Michael Ridland
Thanks, I should of thought about that. On Tue, Sep 8, 2009 at 7:54 PM, Johannes Nel johannes@gmail.com wrote: only one attribute, but comma deliminated interface paths in that attributes text On Tue, Sep 8, 2009 at 11:48 AM, Michael Ridland rid...@gmail.com wrote: Hi I want

[flexcoders] Adobe Air Screenshot

2009-09-04 Thread Michael Ridland
Hi I have looked around the internet for how I can do a screen grab with Adobe Air. I have found this. http://blog.everythingflex.com/2008/04/24/do-a-screen-capture-with-adobe-air/ Has anyone used this method in a commercial app? Is it stable? Does it work? Across all platforms? Can anyone

[flexcoders] Flex Builder 3 - Conditional Debugging

2009-08-27 Thread Michael Ridland
Hi Is is possible to have conditional breakpoints in Flex Builder 3? Either via the editor or action script. It would be cool if I could go if(ShouldBreak()) Debugger.Break(); Is there anything like this? or hacks? Thanks in Advance.