[flexcoders] Flash Player Security Bug

2009-11-13 Thread Simon
I am pretty sure I have found a bug in the Flash Player regarding socket security. According to the Adobe site I should be able to serve a socket master policy file on port 843 from my server. http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html Since that post things have

Re: [flexcoders] Flash Player Security Bug

2009-11-13 Thread Tom Chiverton
On Friday 13 Nov 2009, Simon wrote: My reluctant conclusion is that this must be a bug. Does anyone have experience using binary sockets in Flex? Has anyone successfully created a persistent binary socket and sent more than one message through it? Have you filed this test case on

[flexcoders] Re: Problem with SWFLoader content height and width

2009-11-13 Thread rob
Hi, The SWFs are actually AS2 and created in Flash, not flex. They are out of our control so we can't assume they are anything specific. I tried adding a listener for applicationComplete but didn't get offered that option from flex builder (swfloader.content.addEventListener(...)) I did get

[flexcoders] Problem sorting advancedDataGrid after dataprovider updated

2009-11-13 Thread InvertedSpear
Anyone know about this? My data comes in, and I can sort just fine, I refresh my dataProvider (pulls a different query) and then I can't sort anymore, even if I go back and pull the original data again. I have been searching and searching for a post on correcting this issue but can't find one.

[flexcoders] Pure MVC

2009-11-13 Thread flex.pankaj
Hi, I have added couples of notification in listNotificationInterests method. is there to remove any array element at run time ? For e.g override public function listNotificationInterests():Array{ return

[flexcoders] Calling actionscript functions from mxml component without events

2009-11-13 Thread Tino Dai
Hi All, I am wondering about calling actionscript functions from a mxml component without the user having to do anything. Something like this: function foo():void { var l:Label = new Label(); l.data=Hi there hbox1.addChild(l1) } mx:Application .. mx:Hbox

Re: [flexcoders] The Alert box is at the Top Left.

2009-11-13 Thread James Finnigan
You can always just move the Alert yourself... private function popUpAlert():void{ var myMenu:Menu = new Menu(); var popUpButton:PopUpButton = new PopUpButton(); addChild(popUpButton); popUpButton.x = this.width / 2;

[flexcoders] sdk 3.4 with flex builder 3

2009-11-13 Thread flexdev
After I switched to sdk 3.4 from 3.2 with flex builder 3, I am getting an error on AdvancedDataGrid. Is there any way to resolve this error?

Re: [flexcoders] overloading styleFunction for ADG..How?

2009-11-13 Thread DevSachin
I have achived my work through overriding applyUserStylesForItemRenderer() of ADG. DevSachin wrote: Hi All I want to create a logic to overload features of stylefunction of ADG. currently stylefunction has limited set of styles to apply on a cell like color,fontweight etc. I want to

Re: [flexcoders] Flash Player Security Bug

2009-11-13 Thread Mike McAulay
I have used binary sockets successfully in Flex and have created persistent connections through which multiple messages pass. The work was done under NDA so I can't disclose any details but it certainly does work. I suggest you strip your code down to the absolute bare minimum. And if

[flexcoders] Re: The Alert box is at the Top Left.

2009-11-13 Thread jamesfin
You can always just move the Alert yourself... private function popUpAlert():void{ var myMenu:Menu = new Menu(); var popUpButton:PopUpButton = new PopUpButton(); addChild(popUpButton); popUpButton.x = this.width / 2;

Re: [flexcoders] sdk 3.4 with flex builder 3

2009-11-13 Thread Pete
Hi there, I assume you can't use the ADG since you upgraded your SDK? If so, look here: - http://old.nabble.com/Flex-3.3-SDK-and-AdvancedDataGrid-td22321220.html It's for 3.3, but the principal is the same. I copied the libs from my old sdk for ages, rather than downloading new. Sorry I

Re: [flexcoders] sdk 3.4 with flex builder 3

2009-11-13 Thread Tom Chiverton
On Friday 13 Nov 2009, flexdev wrote: After I switched to sdk 3.4 from 3.2 with flex builder 3, I am getting an error on AdvancedDataGrid. Is there any way to resolve this error? You need to download and re-install the ADG classes. -- Helping to ambassadorially revolutionize

RE: [SPAM] [flexcoders] Calling actionscript functions from mxml component without events

2009-11-13 Thread Tracy Spratt
mx:Hbox id=hbox1 creationComplete=foo() / Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tino Dai Sent: Thursday, November 12, 2009 4:55 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Re: Calling actionscript functions from mxml component without events

2009-11-13 Thread valdhor
You could use the creationCoplete or initialize event of the component. mx:Hbox id=hbox1 creationComplete=foo() / --- In flexcoders@yahoogroups.com, Tino Dai obe...@... wrote: Hi All, I am wondering about calling actionscript functions from a mxml component without the user having

Re: [flexcoders] Re: Calling actionscript functions from mxml component without events

2009-11-13 Thread Tino Dai
Thanks, I though that the creationComplete was a method reserved for only the Application tag at the initialiization of the swf. Thanks again, Tino On Fri, Nov 13, 2009 at 11:06 AM, valdhor valdhorli...@embarqmail.comwrote: You could use the creationCoplete or initialize event of the

[flexcoders] Garbage collection issues with mx:Image DataGrid custom item renderers!

2009-11-13 Thread emc_rcsiki
Hello, I am trying for days to figure out why the GC does not do it's work when my plain mx:DataGrid uses a custom item renderer in one of it's columns (plain mx:DataGridColumn object) that represents a plain mx:Image image. When the DataGrid is removed from the display list, Flex Profiler

Re: [flexcoders] Flashbuilder and SnowLeopard ok?

2009-11-13 Thread Cole Joplin
My Fb works on SL without problems. We've got a few guys with Fb on SL, and we haven't had an issue yet. Go for it! -- Cole - Original Message From: djhatrick djhatr...@yahoo.com To: flexcoders@yahoogroups.com Sent: Thu, November 12, 2009 6:58:29 PM Subject: [flexcoders] Flashbuilder

[flexcoders] AIR on a flash drive possible?

2009-11-13 Thread Rick Schmitty
Is it possible to pre-install air onto a flash drive that contains both windows and mac executables? Goal being, the user plugs in the flash drive, and can simply click MyAirProgram and they are up and running. Something like these apps http://portableapps.com/ Thanks -Rick

Re: [flexcoders] Flashbuilder and SnowLeopard ok?

2009-11-13 Thread meaglith
it's very slowly when I run fb4 beta 2 on the Snow Leopard, and no other problems. --- Blog: http://douhua.im Twitter: http://twitter.com/genedna Website: http://douhua.im --- On Sat, Nov 14,

RE: [SPAM] Re: [flexcoders] Re: Calling actionscript functions from mxml component without events

2009-11-13 Thread Tracy Spratt
creationComplete is an event (not a method) that is dispatched by all UIComponents (which means all flex components). Google “flex component life cycle”. You usually use it when you need to do something to a component or one of its children. When it is dispatched, you can rely on the component

RE: [SPAM] [flexcoders] Garbage collection issues with mx:Image DataGrid custom item renderers!

2009-11-13 Thread Tracy Spratt
Does your renderer use any event listeners? This is often a source of unsuspected references. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of emc_rcsiki Sent: Friday, November 13, 2009

[flexcoders] mx:Text and htmlText attribute

2009-11-13 Thread jarottman
I am having a small issue with the htmltext attribute on a Text component. If I use the following text statically I get the the result that I am looking for. A red Text component that has the text Some Text in bold. lt;font color=#ffgt;lt;bgt;Some Textlt;/bgt;lt;/fontgt; Now when I pull

Re: [SPAM] [flexcoders] Garbage collection issues with mx:Image DataGrid custom item renderers!

2009-11-13 Thread emc_rcsiki
All the event listeners explicitly set through ActionScript in my application use a weak reference, so i'd rule out that being a cause. My Image source is an URL (http protocol) to the same domain with the SWF. I tried a simpler experiment playing with just the mx:Image and the display list

[flexcoders] UnicodeFFFE not working in web

2009-11-13 Thread tom.pijsel
Hello, I have a strange problem running the following code: var byteArray:ByteArray = new ByteArray(); byteArray.writeMultiByte(1234, unicodeFFFE); Alert.show( + byteArray.length); If I run the following code in Air the length of the bytearray is 8. This is correct. If

[flexcoders] Why do Flex charts axis values/labels not show up when using RSLs?

2009-11-13 Thread kthanrahan
I have developed a flex application using the data visualization components. I am now trying to optimize the application and one of approaches I am trying is to use Runtime Shared Libraries. I have configured Flex Builder to deploy with Runtime Shared Libraries and have added the .swz file for

RE: [flexcoders] UnicodeFFFE not working in web

2009-11-13 Thread Gordon Smith
Please file a bug against Flash Player. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of tom.pijsel Sent: Friday, November 13, 2009 6:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] UnicodeFFFE not working in web

[flexcoders] TileList custom ItemRenderer - commitProperties not called when selection changes

2009-11-13 Thread Greg Hess
Hi All, I have a custom item renderer in one of my TileList's. I need to set a style of one of the children to indicate selection, I am doing this by overriding commitProperties. However, when debugging the IR's commitProperties does not get called after the selection changes. Is this normal?

[flexcoders] Re: TileList custom ItemRenderer - commitProperties not called when selection ch

2009-11-13 Thread turbo_vb
UpdateDisplayList() will get called when the selection changes. You can change your style there. If needed, you can inspect the IR's owner (TileList) using something like: var isSelected:Boolean = TileList( owner ).isItemSelected( data ); -TH --- In flexcoders@yahoogroups.com, Greg Hess

[flexcoders] how to display the page information

2009-11-13 Thread Satish Chowdary
Hi FlexCoders, i want to display the current page information like programfiles-- Adobe--Flex   help me out Thannks inAdvanceసతీష్ Connect more, do more and share more with Yahoo! India Mail. Learn more. http://in.overview.mail.yahoo.com/

[flexcoders] dynamically show multiple containers?

2009-11-13 Thread coder3
HI All, There are ways to show different Flex containers, for examples, states or viewstacks. my problems, i have multiple combinations, for example, i need to show a list of cities based on a list of check boxes of states, say i have a list of AZ, CA, WA, if i select all, it shows major

[flexcoders] Re: The Alert box is at the Top Left.

2009-11-13 Thread steveb805
Thanks, good solution. I need to make life easier and just go the path of least work when it comes to trivial stuff like where the alerts show up. --- In flexcoders@yahoogroups.com, James Finnigan james.alan.finni...@... wrote: You can always just move the Alert yourself... private

[flexcoders] Embedding SWF or images in CSS

2009-11-13 Thread toofah_gm
How can I load an image from a CSS file at runtime? I can see how this is done for the background image of the Application, but what if I have an image on a canvas and just want to set the source differently based on which CSS I load. Example: Image sits on a canvas. For CSS1, image should be

[flexcoders] flexbuilder 3 won't compile modules

2009-11-13 Thread Derrick Anderson
hello everyone, i have a large flex app that i have recently split into modules. All of a sudden today, the modules won't compile when I build the project- the only ways to get them to build are to do a 'clean/recompile' or export a release build. either of those options forces them to compile,

[flexcoders] set module's stylesheet?

2009-11-13 Thread coder3
Hi All, I have a module that can be used by 2 applications. each application has its own css file as Style, how do i make the module to use the associated stylesheet? thanks! C -- View this message in context: http://old.nabble.com/set-module%27s-stylesheet--tp26346204p26346204.html Sent

RE: [flexcoders] dynamically show multiple containers?

2009-11-13 Thread Christopher McArthur
Ive done something like this before. Here is how I might try to do it: -First I would create a class called CityData, it would have a stateName:String, and an cityNames:ArrayColleciton of strings. -I would then create an ArrayCollection of cityData and fill it will all of my data. -I

[flexcoders] Getting the Prev ious Index of a List (and Combo later)

2009-11-13 Thread steveb805
Hey all, It looks like my original plan to detect a user trying to change the List selection, and then stopping them from doing so isn't possible from what I can see. ( The most hopeful sign that this is possible is the itemFocusOut event, but I can't use this, anyway, due to the editable

[flexcoders] my first Custom Component is not working

2009-11-13 Thread tex_learning_flex
I created a menubar in my main.mxml file and it works just fine. I next created a custom mxml component file where I moved the code, and this is where I am having trouble. My original code (while in my main.mxml) looked like this: mx:MenuBarlabelField=@labelitemClick=menuHandler(event);

Re: [flexcoders] AIR on a flash drive possible?

2009-11-13 Thread Jeffry Houser
You can license AIR for OEM distribution and create your own installers. If you google around, you should find that info on the Adobe site. Rick Schmitty wrote: Is it possible to pre-install air onto a flash drive that contains both windows and mac executables? Goal being, the user

[flexcoders] Re: TileList custom ItemRenderer - commitProperties not called when selection changes

2009-11-13 Thread droponrcll
--- In flexcoders@yahoogroups.com, Greg Hess flexeff...@... wrote: Hi All, I have a custom item renderer in one of my TileList's. I need to set a style of one of the children to indicate selection, I am doing this by overriding commitProperties. However, when debugging the IR's

RE: [flexcoders] Re: TileList custom ItemRenderer - commitProperties not called when selection changes

2009-11-13 Thread Alex Harui
BTW, updateDisplayList should get called Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of droponrcll Sent: Friday, November 13, 2009 9:44 PM To:

RE: [flexcoders] my first Custom Component is not working

2009-11-13 Thread Alex Harui
Please explain what errors you are getting or what isn't working. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of tex_learning_flex Sent: Friday, November

RE: [flexcoders] Getting the Prev ious Index of a List (and Combo later)

2009-11-13 Thread Alex Harui
Store the last selectedIndex somewhere and compare when you get the next CHANGE event? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of steveb805 Sent:

RE: [flexcoders] set module's stylesheet?

2009-11-13 Thread Alex Harui
In Flex 3, it should just pick up those styles. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of coder3 Sent: Friday, November 13, 2009 5:30 PM To:

RE: [flexcoders] flexbuilder 3 won't compile modules

2009-11-13 Thread Alex Harui
What kind of errors are you getting? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Derrick Anderson Sent: Friday, November 13, 2009 4:23 PM To:

RE: [flexcoders] Re: Problem with SWFLoader content height and width

2009-11-13 Thread Alex Harui
You can't easily talk to AS2 SWFs from AS3. There are some third party solutions. Google for as3interface or as2interface (I can't remember the name right now). Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From:

RE: [flexcoders] Embedding SWF or images in CSS

2009-11-13 Thread Alex Harui
I'd use an initialize event. Put the image under some style like Image { logoStyle : Embed(someSWF) } and then mx:Image id=foo initialize=foo.source = getStyle('logoStyle') / Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: