[flexcoders] Re: Help needed working with backgroundImage
--- In flexcoders@yahoogroups.com, paulwelling [EMAIL PROTECTED] wrote: Hello, I need a little help from the Flexperts on this list... This seems like it should be easy, so I'm feeling that I've missed something... I have a .jpg that I want to use as our backgroundImage, 600x800, for the Application. I do NOT want it to be stretched to fill up larger browser areas, so backgroundSize=auto (default.) I also want this backgroundImage to be positioned at x=0 y=0, all the time, no matter how big or small the browser becomes... The problem is that the backgroundImage for the Application gets centered, for the browser's' current size, no matter what I do. A weak work-around is to create a Canvas x=0 y=0 backgroundImage=image.jpg/ and use absolute positioning for the Application. But I wanted to avoid absolute positioning and keep the image at the Application level... Is this a limitation with FLEX, or more likely my thinking..? Thanks for the help, Paul Any luck w/ this? I am going back and cleaning up a beta app and this is one of the things that I would like to fix. My beta app used the same work-around of making a child canvas w/ a image background.
[flexcoders] Re: Binding to Microphone
Any ideas? Is there anything that would restrict me from binding to the components in the flash.media package? I am also unable to bind to the NetConnection.connected property. I would like to avoid setting up a timer function that repeatedly checks the activity level on the mic. --- In flexcoders@yahoogroups.com, alanmorehead79 [EMAIL PROTECTED] wrote: Is it possible to bind to the properties on a Microphone object? The following code is not working for me: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ [Bindable] public var mic:Microphone = Microphone.getMicrophone(); ]] /mx:Script mx:Label text={mic.activityLevel}/ /mx:Application
[flexcoders] Binding to Microphone
Is it possible to bind to the properties on a Microphone object? The following code is not working for me: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ [Bindable] public var mic:Microphone = Microphone.getMicrophone(); ]] /mx:Script mx:Label text={mic.activityLevel}/ /mx:Application
[flexcoders] RemoteObject - request timeout
Does anyone have an example of how to handle a request timeout for a remote data service? I have a RemoteObject in my app and it has a requestTimeout property. Does this dispatch an event when the timeout occurs? mx:RemoteObject id=myService requestTimeout=10 endpoint=http://localhost; destination=TestService fault=onFault(event); showBusyCursor=true I could create a timer that is started when the invoke event is fired, but what would the point of the requestTimeout property be then?
[flexcoders] State changes w/ unloaded viewstack content
I am having trouble with trying to change the state of a panel that is inside of one of my viewstack pages. I have a details page that changes when the user logs in. If the user does not visit that details page before logging in, then I get errors. I know it is because the components that I am trying to change the state on has not been rendered or created yet. I need to have this component exist so that I can make my state changes. Is there a way to preload a content page for a viewstack or another way around this?
[flexcoders] Re: State changes w/ unloaded viewstack content
That's exactly what I was looking for. Thank you --- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: creationPolicy, sorry for the typo On 2/19/07, Ralf Bokelberg [EMAIL PROTECTED] wrote: Take a look at the creatioPolicy property of your viewStack Cheers Ralf. On 2/19/07, alanmorehead79 [EMAIL PROTECTED] wrote: I am having trouble with trying to change the state of a panel that is inside of one of my viewstack pages. I have a details page that changes when the user logs in. If the user does not visit that details page before logging in, then I get errors. I know it is because the components that I am trying to change the state on has not been rendered or created yet. I need to have this component exist so that I can make my state changes. Is there a way to preload a content page for a viewstack or another way around this? -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany Phone +49 (0) 221 530 15 35 -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany Phone +49 (0) 221 530 15 35