[flexcoders] AIR Bug SDK-11134 fixed or not?

2010-05-20 Thread reflexactions
If showFlexChrome=false for a WindowedApplication and you have a title set, the titlebar shows up briefly before disappearing (on Windows) This is very noticeable when you change the title after initially loading. I have run into the same problem as this bug, I am using FB4, SDK3.2. According

[flexcoders] var myVar : Function = new Function ? examples?

2010-05-20 Thread Nick Middleweek
Hello, I can't find any examples on how to create Functon variables? Does anyone have any to hand please? Thanks, Nick -- Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, blog: http://blog.middleweek.co.uk } );

RE: [flexcoders] flash 4 and flex 3

2010-05-20 Thread Gregor Kiddie
I think everyone’s having a little fun with you ;) Try this article to start with if you actually mean the IDEs http://www.adobe.com/devnet/flex/articles/flashbuilder4_whatsnew.html If you mean the SDK versions try this http://www.adobe.com/devnet/flex/articles/flex4sdk_whatsnew.html

[flexcoders] Re: Generic Function To Set ComboBox Item

2010-05-20 Thread bhaq1972
Generic form var item:String = xmlLC.getItemAt(i).collectionID; ?? Try this var item:String = xmlLC.getItemAt(i)[collectionID]; --- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote: Actually, the dpID is different for each xmllistcollection being passed. For

[flexcoders] Issue with setting borderAlpha of Panel

2010-05-20 Thread sony antony
Hi friends, Here I am trying to set the border Alpha of my panel component but when I alert the value, I get undefined for the borderAlpha value. The panel I have, is added as a child inside canvas. myPanel.setStyle(borderAlpha, 1); This is what I 'm trying in my code. Also I can set other

Re: [flexcoders] var myVar : Function = new Function ? examples?

2010-05-20 Thread Oleg Sivokon
You cannot construct a function like that. What you can do is more like this: var f : Function = function (arguments) : Type { function body }

[flexcoders] Re: Generic Function To Set ComboBox Item

2010-05-20 Thread bhaq1972
sorry, i meant var item:String = xmlLC.getItemAt(i)[collectionID]; --- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote: Generic form var item:String = xmlLC.getItemAt(i).collectionID; ?? Try this var item:String = xmlLC.getItemAt(i)[collectionID]; --- In

[flexcoders] Attach Google search with text box

2010-05-20 Thread Shabir Gilkar
Hi All! I am beginner and using Flash Builder 4. I am creating an AIR App as MiniBrowser, i have put a text input , button and HTML controles on stage. When i am putting Url inside text input contol and then onclick of Go button it populates the website on HTML control. Every thing is fine this

Re: [flexcoders] var myVar : Function = new Function ? examples?

2010-05-20 Thread Nick Middleweek
ok, thanks Oleg... I was going to use the approach for my URLLoader complete event handler function, I was hoping to keep things a bit neater and just pass the .data through to my Cairngorm Command. What are your thoughts on the idea? something like this... private funtion

Re: [flexcoders] init, creationcomplete and other events

2010-05-20 Thread Angelo Anolin
Hi Gordon, Thanks a lot. This explains a lot. Angelo From: Gordon Smith gosm...@adobe.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Wed, 19 May, 2010 21:58:54 Subject: RE: [flexcoders] init, creationcomplete and other events From the

[flexcoders] creating a magnetic grid

2010-05-20 Thread ouaqa
Hello, As part of my project, I need to create a magnetic grid, locking moving objects to the grid as they are moved (it's a drawing api). The Graphic Objects (i.e pictures, text, ... ) are Canvas objects that are display on a Canvas (more or less the background of the drawing api). Over this

[flexcoders] Which layout/container being used in Tour de flex

2010-05-20 Thread bhaq1972
Just wondering, Can someone tell me which layout/container is being used for Featured Projects section in Tour De Flex (Under Introduction to Flex What's Possible). thanks

[flexcoders] How to Control the state of external window browser from FLEX/Javascript

2010-05-20 Thread athota
I am trying to open a new browser window from flex using navigateToURL(...) method. Now my requirement is I do have 3 link buttons in flex where all are the external URLs. If I click on those link buttons all will be opened in 3 different windows, since I use _blank as one of the parameter to

[flexcoders] Embed source path issue

2010-05-20 Thread method_air
I'm trying to 'embed source' a .png located in an graphics rsl from a flex project (the rsl is in the project build path). Flex is throwing an error 'unable to resolve 'image path' for transcoding. The package structure of the graphics rsl is: src/com/domain/assets/images/image.png This

Re: [flexcoders] creating a magnetic grid

2010-05-20 Thread Alex Harui
You might be able to use this: http://blogs.adobe.com/aharui/2010/01/constrained_drag_and_drop.html On 5/20/10 5:50 AM, ouaqa abenef...@gmail.com wrote: Hello, As part of my project, I need to create a magnetic grid, locking moving objects to the grid as they are moved (it's a drawing

Re: [flexcoders] AIR Bug SDK-11134 fixed or not?

2010-05-20 Thread Alex Harui
Someday, adobe wll have one public bug base. Bug #1509350 is in the internal bug base. I looked it up and they have no plans to fix. I would try AIR 2.0 and see if it accidentally got fixed. On 5/20/10 1:18 AM, reflexactions reflexacti...@yahoo.com wrote: If showFlexChrome=false for a

Re: [flexcoders] var myVar : Function = new Function ? examples?

2010-05-20 Thread Oleg Sivokon
Neva! :D Just never use anonymous functions in AS3, they are badly implemented and, they aren't truly anonymous. You cannot design a first order functions in ECMAScript languages, nada!, whatever anyone is going to say about that :) Simply give it a normal method, this is the simplest and the

Re: [flexcoders] Embed source path issue

2010-05-20 Thread Oleg Sivokon
You are trying to use absolute path (in Unix notation, if the path is preceded be slash it's rooted). Once the compiler used to resolve these sorts of paths relative to the project root rather than file system root, however, that was a wrong behavior, and, I hope it was eliminated. Even if some

[flexcoders] Set Width of An Item Renderer Component Based on Visible Property of the Control

2010-05-20 Thread Angelo Anolin
Hi FlexCoders, I have declared an in-line item renderer in my datagrid: mx:DataGridColumn headerText=Test textAlign=center sortable=false mx:itemRenderer mx:Component mx:HBox horizontalAlign=center mx:LinkButton id=lnk1 label=Link 1 visible={outerDocument.fncVisible()}

Re: [flexcoders] Set Width of An Item Renderer Component Based on Visible Property of the Control - RESOLVED

2010-05-20 Thread Angelo Anolin
Was able to figure it out. I set the width to a public function: public function linkbutton_Width(isVisible:Boolean) :int { if(isVisible) { return 100; } else { return 0; } } and in my MXML declaration: width={outerDocument. linkbutton_Width(this.visible)} Thanks. angeLo

RE: [flexcoders] Set Width of An Item Renderer Component Based on Visible Property of the Control

2010-05-20 Thread Christopher McArthur
the includeInLayout property may also be helpful to you in this case, try: includeInLayout={outerDocument.fncVisible()} From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo Anolin Sent: Thursday, May 20, 2010 2:46 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Which layout/container being used in Tour de flex

2010-05-20 Thread Angelo Anolin
On top of this, would Adobe / Flex team release the actual source codes for this application? This would be a great place to learn a lot more on Flex. angeLo From: bhaq1972 mbha...@hotmail.com To: flexcoders@yahoogroups.com Sent: Thu, 20 May, 2010 8:21:06

[flexcoders] Flex in Visual Studio

2010-05-20 Thread guy
Anyone here using any of the Flex plugins for Visual Studio? Anyone got advice/recommendations about a good Visual Studio based setup? TIA Guy This message was sent using IMP, the Internet Messaging Program.

Re: [flexcoders] Anybody has worked with flex-plugin and MAVEN ..???

2010-05-20 Thread Daniel Thompson
On Tue, May 18, 2010 at 6:21 AM, Nini7016 Nini7016 nahloulaha...@hotmail.com wrote: I am working with Maven in order to automatise Unit tests, I have use the plugin *flex-plugin* : I recommend strongly that you check out the flexmojos project instead: http://flexmojos.sonatype.org

[flexcoders] embed images dynamically

2010-05-20 Thread sony antony
Hi friends, Is there any way that we can embed an image dynamically through action script?? If I do, it as given below, [Embed (source='../assets/image/icon.jpg')] public var myImage:Class; myButton.setStyle(backgroundImage,myImage); It works fine.. But this button is created