RE: [flexcoders] Width of a label when setting font size

2005-07-03 Thread Markus Ansamaa
Title: Message Thanks. Simple answer for a simple question.   Markus -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Philippe MaegermanSent: 30. kesäkuuta 2005 10:33To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Width of

RE: [flexcoders] Sort arrows in DataGrid

2005-07-03 Thread Abdul Qabiz
Hi, > Maybe these things belong in the documentation? Maybe in the FAQ? > Note: a search for "sortArrow" at the site you provided yielded no results (then again if I knew there was a property called sortArrow, > I wouldn't have needed to ask the question). A search in my own (unfortunately inco

RE: [flexcoders] Binding to Model in Application

2005-07-03 Thread Matt Chotin
The warning is because we don’t know what the type of myModel is (because application is typed as Object).  You can avoid the warning by casting MyApp(mx.core.Application.application).myModel.someProperty where MyApp is the type of your Application file.   Matt   From: flexcod

[flexcoders] Re: Introducing your own Asset in Skins (SWC)

2005-07-03 Thread Scott Barnes
Nevermind, figured out how: FYI: On how If you use: [Embed(symbol="YourPanelAssets")] // YourPanelAssets is inside your SWC file var CustomPanelAssetsSymbol:String; inside your class {} it will bring in all assets you require. I had tried this on singular assets in that: [Embed(symbol="MBCo

[flexcoders] Re: Loader + swf doesn't scaleContent

2005-07-03 Thread Andrew Spaulding
Tough call. Would be nice if it was another flex app you were loading so that you could jump in and add the appropriate AS code :p umm well, im really not too sure ... but you'll definately have to tell the loader to resize the app somehow. Try taking a look at this FlashPaperLoader (found this i

Re: [flexcoders] Re: Loader + swf doesn't scaleContent

2005-07-03 Thread Clint Modien
I should add that i don't have access to the swf that i load. So i can't go into the .fla and change things. On 7/3/05, Clint Modien <[EMAIL PROTECTED]> wrote: ok... i tried setting up the newly loaded swf (after it loads) with the function and it didn't work loader.content.getPreferredHeight

Re: [flexcoders] Re: Loader + swf doesn't scaleContent

2005-07-03 Thread Clint Modien
ok... i tried setting up the newly loaded swf (after it loads) with the function and it didn't work loader.content.getPreferredHeight = function() {     trace("getting called");   // this never gets called     return 22; } i also tried... loader.content.preferredHeight = 22; when i trace ou

[flexcoders] Re: Loader + swf doesn't scaleContent

2005-07-03 Thread Andrew Spaulding
In the swf you are loading try placing the following in a script block and see if it makes a difference. function getPreferredHeight() : Number { return 22; } Refer to this post for more information on sizing swf's in the loader control. http://www.flexdaddy.info/2005/02/21/sizing-apps-within

Re: [flexcoders] Binding to Model in Application

2005-07-03 Thread Clint Modien
I'm pretty sure the bindings don't get created for anything past 2nd level nested properties... obj.var   <--- binding to this would work obj.var.nestedVar < binding to this wouldn't work as a workaround.. try creating a variable in your popup window and set your bindings to that the

[flexcoders] Introducing your own Asset in Skins (SWC)

2005-07-03 Thread Scott Barnes
I'm trying to figure out how i can add in my own Symbol into the skinning process. I've basically extended the mx:Panel container to suite my own specific "style", majority of it works if i utilise "known" symbol identifiers (ie TitleBackground) but if I try and attachMovie() a custom one inside t

[flexcoders] Loader + swf doesn't scaleContent

2005-07-03 Thread Clint Modien
I'm creating a Loader like so: var initObj = {x:0, height:22, scaleContent:true} createClassObject(Loader, "iconLoader", 301, initObj); then i set the source of iconLoader like so: iconLoader.source = "http://the source of the attached swf" i need the height to be 22 px when it loads... it'

[flexcoders] Re: Binding to Model in Application

2005-07-03 Thread Andrew Spaulding
Hi Jesse, Try passing a reference to your application to the popup window, as an initialization parameter. This should hopefully eliminate the warning. //code in your popup window public var app; //your popup window method import mx.managers.PopIpManager; function showPopUp():Void { var

Re: [flexcoders] parseDateString bug ???

2005-07-03 Thread Jeff Tapper
parseDateString is a static method. Try this instead: Dumper.info("PARSING DATE-" + mx.formatters.DateFormatter.parseDateString("07/05/2005 11:00 AM")); At 01:32 PM 7/3/2005, Shlomi Cohen wrote: > >Hi > >i have the following code , > > > >Dumper.info("PARSING DATE-" + df.parseDateString("07/

Re: [flexcoders] Sort arrows in DataGrid

2005-07-03 Thread Sean McKibben
All these things have been discussed in past. Please search the archiveswith appropriate keywords to find those threads.Maybe these things belong in the documentation? Maybe in the FAQ?Note: a search for "sortArrow" at the site you provided yielded no results (then again if I knew there was a pro

[flexcoders] Re: Set/Get labelWidth in mx:Form

2005-07-03 Thread r_woess
Hi, I tried this: But I get a MessageBox without the labelWith. Reini --- In flexcoders@yahoogroups.com, "Abdul Qabiz" <[EMAIL PROTECTED]> wrote: > Hi, > > Use: > > formID.getStyle("labelWidth") > > > -abdul > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAI

[flexcoders] Binding to Model in Application

2005-07-03 Thread JesterXL
I'm binding some CheckBox's to a Model in my Application. The CheckBox' reside in a PopUp. They reference the original model like so: mx.core.Application.application.myModel.someProperty. It works great, but I'm getting warnings saying that changes to all of my "unknown" properties won't trig

[flexcoders] parseDateString bug ???

2005-07-03 Thread Shlomi Cohen
Title: Mercury Email Signature   Hi   i have the following code ,   Dumper.info("PARSING DATE-" + df.parseDateString("07/05/2005 11:00 AM"));     the result on Dumper screen is [INFO]: PARSING DATE-undefined instead of a valid date object. it seems like what ever i do i always get t

[flexcoders] File - flexcodersFAQ.txt

2005-07-03 Thread flexcoders
Flexcoders Frequently Asked Questions Last Updated: 30th May 2005 Contributors: Matt Chotin, Steven Webster, Alistair McLeod, Tariq Ahmed, Jeff Tapper,

Re: [flexcoders] XML, PHP and Flex

2005-07-03 Thread Manu Juyal
hi Thanks a lot.. its working perfect now... --Manu On 7/2/05, Abdul Qabiz <[EMAIL PROTECTED]> wrote: > Hi, > > You are calling popCustomer(..) function just after invoke > HTTPService.send(). This wouldn't work. > > HTTPService calls are asynchronous, that means you won't get result > immediat

Re: [flexcoders] indicating drop target on mx:list

2005-07-03 Thread JesterXL
You drop things "between" list items, not "on"... unless of course you've implemented it that way (like setting the selectedIndex of the list control during an onMouseWithin or whatever that event is called). Regardless, 2 methods that are cool: - showDropFeedback - hideDropFeedback They are pa