Re: [flexcoders] Re: Changing the speed of sound?

2010-02-25 Thread Nick Middleweek
Thanks James, I'll have a read of that link. Where did you get the java code from? Cheers, nick On 25 February 2010 00:27, jamesfin james.alan.finni...@gmail.com wrote: Hi Nick, This will get ugly quickly as this isn't as easy as it sounds, pardon the pun. ;) You need to do some

[flexcoders] Using embedded fonts in modules

2010-02-25 Thread Hanpan
Hey, I'm having loads of trouble getting my embedded font to display in modules. I am embedding the font in a style tag in my parent application, and I'd like to use this font inside my modules. Is there a way in which I can share this embedded font throughout my application (including modules)

[flexcoders] Searching in FlexBuilder

2010-02-25 Thread reflexactions
A while back I switched from FB Standalone to the FB Plugin primarily becuase I found that when searching using FB Standalone the results window only show the number of matches in a file: UIComponent.as - .. (5 matches) whereas the plugin showed each line that matched: UIComponent.as -

Re: [flexcoders] Strategies for switching between testing and deployment addresses

2010-02-25 Thread Nick Middleweek
Hey David, If you have a local DNS you could setup a subdomain for the production IP and edit your windows hosts file to override it to point locally... Tracy mentioned FlashVars, that's a real easy way. You've help me enough in the world of 4D so I'll ping something over if you need it...

Re: [flexcoders] Strategies for switching between testing and deployment addresses

2010-02-25 Thread claudiu ursica
We keep out URL's in an external XML file which is deployed on different environments. When app loads make a call to the Servlet and gets the URL's. The Servlet returns the configuration according to the environment that it is deployed on. HTH, C From: Nick

[flexcoders] advanced datagrid in popped up titlewindow issue

2010-02-25 Thread Paul Hastings
i have a flex (3.5 SDK) advanced datagird that works fine in the app's main layout but when moved into a popup titlewindow it won't fill with data. a normal datagrid in the same titlewindow component using the same datasource works fine. component creation data passed in:

[flexcoders] Do I need a crossdomain policy file?

2010-02-25 Thread dogra_daman
I am hosting a Flex based application on Amazon Cloud. The swf file for this app would be served from a url which looks something like https://ec-sfdkmds-sifdhsu.pilot-1.amazonaws.com. This swf would be needed to make http calls to url https://ec2.amazonaws.com...which is essentially the same

Re: [flexcoders] advanced datagrid in popped up titlewindow issue

2010-02-25 Thread Nick Middleweek
It's a bit hard without seeing the full code: http://pastebin.com/ But... It might be worth changing your attributesData.initialize to a function call and perform the layerGroup.refresh() inside that function. But just before that call drop in a break point and debug what the grouping.source

Re: [flexcoders] using a class once throughout the all app

2010-02-25 Thread Nick Middleweek
I'm interested in this... So you're findings are that if you have say 5 MXML components and each component uses and imports the popupManager class/ package it is bloating the SWF file 5 times what it should be rather than just importing it once? On 25 February 2010 06:35, ZIONIST

RE: [flexcoders] Do I need a crossdomain policy file?

2010-02-25 Thread Tracy Spratt
I think you will. Flash Player is very strict about what it considers the same domain. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dogra_daman Sent: Thursday, February 25, 2010

RE: [flexcoders] advanced datagrid in popped up titlewindow issue

2010-02-25 Thread Tracy Spratt
Probably a timing issue. Binding is difficult to debug. Make sure your dataSource var is bindable. Initialize might be too early. Test the content in a handler function and also check it in a creationComplete handler. I rarely use initialize for any data oriented work. Tracy Spratt, Lariat

[flexcoders] Re: using a class once throughout the all app

2010-02-25 Thread stinasius
that's what i understood from the research though am not sure if am right, which is why am asking. i have an app and i complied as rsl and used modules too which brought down the size to 172 kb for the main app and 140 kb for one of the modules and 80 kb for the other. i kinda loads fast but am

[flexcoders] Embedded Flash in ASP.Net Page

2010-02-25 Thread Angelo Anolin
Hi FlexCoders, I am using ASP.Net as my server technology in development of Flex apps. When I embed the Flash (swf file) into my ASP.Net page and set the height to percentage (say 100% or 80%), the flash object is like cut off at the middle.  Setting it to a numeric value, say 1000, the flash

Re: [flexcoders] advanced datagrid in popped up titlewindow issue

2010-02-25 Thread Nick Middleweek
Ah yes... of course... creationComplete_handler. I had this problem when setting up form validation and the fields on the form weren't actually initialized themselves... something like that. On 25 February 2010 16:09, Tracy Spratt tr...@nts3rd.com wrote: Probably a timing issue. Binding

RE: [flexcoders] Re: Changing the speed of sound?

2010-02-25 Thread Keith Reinfeld
SampleDataEvent Here is an example: http://www.kelvinluck.com/tag/sourcecode/ HTH Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net/ http://keithreinfeld.home.comcast.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

[flexcoders] Vertical separator in MenuBar

2010-02-25 Thread creativepragmatic
Hello Everyone, My client has requested that a MenuBar be separated by vertical lines in the way that is enabled by default in the LinkBar. It does not look like this is possible using MenuBar styles. Does anyone know another way to do it? Thank you for any guidance, Orville

[flexcoders] Re: Accessing 'change' property in a dynamically-created TextInput.

2010-02-25 Thread Laurence
So simple - thanks. L. --- In flexcoders@yahoogroups.com, Peeyush Tuli peeyus...@... wrote: myTextInput.addEventListener( flash.events.Event.CHANGEfile:///C:/Documents%20and%20Settings/peeyushtuli/My%20Documents/flex3_documentation/langref/flash/events/Event.html#CHANGE,myChangeHandler);

Re: [flexcoders] Embedded Flash in ASP.Net Page

2010-02-25 Thread Nick Middleweek
Hi Angelo, Embedding a SWF file in an ASP.Net page is the same as embedding it in an .html page, the SWF is rendered on the client and the browser doesn't care about the server-side technology. If I were you, I'd create a blank html page on your web server and between the BODY tags put similar

[flexcoders] Re: Missing component in flexbuilder 3

2010-02-25 Thread aceoohay
OK, I won't argue whether it's a UIComponent or not. But I also believe that if it RadioButtonGroup shows up in the component list a component that extends RadioButtonGroup should show up in the custom components list. Any ideas on either; Why it doesn't? or How to fix it? Paul --- In

Re: [flexcoders] Using embedded fonts in modules

2010-02-25 Thread Alex Harui
It should just work if you are using Flex components. If you are rolling your own component you’ll need to copy how we derive the fontContext. On 2/25/10 2:32 AM, Hanpan j...@sceneshift.com wrote: Hey, I'm having loads of trouble getting my embedded font to display in modules. I am

Re: [flexcoders] Vertical separator in MenuBar

2010-02-25 Thread Alex Harui
Use Flex 4 and start with the MenuBar prototype on my blog. On 2/25/10 9:52 AM, creativepragmatic creativepragma...@gmail.com wrote: Hello Everyone, My client has requested that a MenuBar be separated by vertical lines in the way that is enabled by default in the LinkBar. It does not

[flexcoders] Re: Vertical separator in MenuBar

2010-02-25 Thread creativepragmatic
Thanks Alex. I am still on Flex 3 so I wound up splitting each MenuBar item into its own MenuBar, enclosed them in an HBox and placed a VRule between each item. Orville

[flexcoders] RadioButtonGroup does not appear as child of container.

2010-02-25 Thread aceoohay
When I execute the following code; for each (var field:Object in fieldsContainer.getChildren()) { trace('field[id]=' + field[id] + '|flash.utils.getQualifiedClassName(field)=' + flash.utils.getQualifiedClassName(field)) } I see all of my components except my RadioButtonGroup. I can address

[flexcoders] Re: Vertical separator in MenuBar

2010-02-25 Thread jamesfin
Here's a starting point for you. To get a leg up on this the next time around you need to do something special like this, dive into the base class source code (menubar.as in this case) and look around to get a feel for what is happening within the default component. For this question, I dove

Re: [flexcoders] Re: using a class once throughout the all app

2010-02-25 Thread Alex Harui
There is no way there will be five copies of TItleWIndow if you have five subclasses of TitleWindow. You can use –link-report to verify. You can also use the link-report to see what is in each SWF to see if you can identify what you don’t need right away. On 2/25/10 7:45 AM, stinasius

[flexcoders] addPopUp above application but below component

2010-02-25 Thread dorkie dork from dorktown
i have an application that has a header title bar running along the top. i have a window that slides in from the top of the screen. right now it slides in from above the screen over the header title bar. what would be the easiest way to make it so that it is below the header title bar but above

Re: [flexcoders] Embedded Flash in ASP.Net Page

2010-02-25 Thread Angelo Anolin
Hi Nick, I actually did this, but still the Flash does not render properly in IE8. I thought at first that it may be because I was only running the application in the Visual Studio web development server but then when I moved the application to be hosted on IIS, the embedded flash still does

Re: [flexcoders] Re: Missing component in flexbuilder 3

2010-02-25 Thread Tim Statler
I think that's a reasonable expectation. I would file a bug at http://bugs.adobe.com/flex . But I also believe that if it RadioButtonGroup shows up in the component list a component that extends RadioButtonGroup should show up in the custom components list. Tim

[flexcoders] Re: Vertical separator in MenuBar

2010-02-25 Thread creativepragmatic
Your solution was a nice, proper method in contrast to my quick and dirty shortcut. Thank you for your help James. Orville

[flexcoders] Re: RadioButtonGroup does not appear as child of container.

2010-02-25 Thread aceoohay
It would appear that one doesn't do this. I wrapped my custom RadioButtonGroup in a custom box, and it works. Paul --- In flexcoders@yahoogroups.com, aceoohay pa...@... wrote: When I execute the following code; for each (var field:Object in fieldsContainer.getChildren()) {

RE: [flexcoders] addPopUp above application but below component

2010-02-25 Thread Tracy Spratt
Don't use PopUp, but rather a normal component, so you can control the order in the display list, which determines the z-order. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dorkie

Re: [flexcoders] advanced datagrid in popped up titlewindow issue

2010-02-25 Thread Paul Hastings
On Thu, Feb 25, 2010 at 9:14 PM, Nick Middleweek n...@middleweek.co.ukwrote: It's a bit hard without seeing the full code: http://pastebin.com/ But... It might be worth changing your attributesData.initialize to a function call and perform the layerGroup.refresh() inside that function. But

Re: [flexcoders] advanced datagrid in popped up titlewindow issue

2010-02-25 Thread Paul Hastings
On Thu, Feb 25, 2010 at 10:09 PM, Tracy Spratt tr...@nts3rd.com wrote: Probably a timing issue. Binding is difficult to debug. Make sure your dataSource var is bindable. Initialize might be too early. Test the content in a handler function and also check it in a creationComplete handler.

[flexcoders] Comparing ArrayCollections and showing the matches

2010-02-25 Thread Wally Kolcz
Can someone point me to an example of how to compare 2 ArrayCollections and create a new one based on what matches? I am creating an application that has a friends list for chatting. When a user logs into the server and the server updates a user list (into an ArrayCollection) I need to compare

[flexcoders] Now that Flex 4 is out is it really worth learning Flex 3?? Your opinion please.

2010-02-25 Thread fred44455
I purchased all the Flex 3 learning material but was told last weeek that Flex 4 was totally different and that I was wasting my time learning Flex 3. Should I quit learning Flex 3 or stat with Flex 4? There are only 3 ebooks out about Flex 4. Thanks for your answers. Fred.

Re: [flexcoders] RadioButtonGroup does not appear as child of container.

2010-02-25 Thread Alex Harui
RadioButtonGroup is not a display object. Maybe scan all the children and if you find a RadioButton see what it’s group is? On 2/25/10 3:00 PM, aceoohay pa...@compuace.com wrote: When I execute the following code; for each (var field:Object in fieldsContainer.getChildren()) {

Re: [flexcoders] Now that Flex 4 is out is it really worth learning Flex 3?? Your opinion please.

2010-02-25 Thread Jochem van Dieten
On 2/26/10, fred44455 wrote: I purchased all the Flex 3 learning material but was told last weeek that Flex 4 was totally different and that I was wasting my time learning Flex 3. Some aspects of Flex are very different between 3 and 4. The most visible change is probably the new component

[flexcoders] Re: using a class once throughout the all app

2010-02-25 Thread ZIONIST
Hey i think i came across something very useful. first i have to say if your app is big, split it up into modules. and also use rsl. now i came across this in the flex help. have not tried it yet but it looks like it might help brind down the size of the modules. here it is Reducing module