Re: [flexcoders] Xframe option in flex

2015-12-09 Thread Dave Glasser dglas...@pobox.com [flexcoders]
X-Frame-Options is an HTTP response header. It is set on the server. You can't set it from your Flex code. From: "Ranadeep ghosh rnd...@yahoo.in [flexcoders]" To: "flexcoders@yahoogroups.com" Sent: Wednesday, December 9, 2015

Re: [flexcoders] Re: flex multiple filter function using text input, combobox and date range

2015-12-03 Thread Dave Glasser dglas...@pobox.com [flexcoders]
Help with what? From: "stinas...@yahoo.com [flexcoders]" To: flexcoders@yahoogroups.com Sent: Thursday, December 3, 2015 9:31 AM Subject: [flexcoders] Re: flex multiple filter function using text input, combobox and date range any help?

Re: [flexcoders] Re: uploading files in flex using coldfusion 11

2015-09-23 Thread Dave Glasser dglas...@pobox.com [flexcoders]
You must live in a different world than I do, because my world did not "hold its breath for Apple putting the Flash Player in iOS." And Flash/Flex-based apps run fine on both iOS and Android, with little or no changes. From: "Julian Tenney julian.ten...@nottingham.ac.uk [flexcoders]"

Re: [flexcoders] Re: uploading files in flex using coldfusion 11

2015-09-23 Thread Dave Glasser dglas...@pobox.com [flexcoders]
That's news to me, that Apple "won the battle of the Flash Player." I have an iOS Flex app in the Apple App Store. And the Flash player is probably still installed in about 97% of desktop browsers. From: "Julian Tenney julian.ten...@nottingham.ac.uk [flexcoders]"

Re: [flexcoders] Re: uploading files in flex using coldfusion 11

2015-09-23 Thread Dave Glasser dglas...@pobox.com [flexcoders]
lution of choice" for my needs.  Yeah, obviously the lists died and we are never going to see Flash adopted on mobile devices or tablets through the player, but there is still definitely a niche for Flex and native applications developed in it. On Sep 23, 2015 9:41 AM, "Dave Glasser dgla

Re: [flexcoders] CSSStyleDeclaration in AIR app Windows

2015-07-29 Thread Dave Glasser dglas...@pobox.com [flexcoders]
Thanks again, Alex. I wasn't even aware of that list. I'll subscribe. From: Alex Harui aha...@adobe.com [flexcoders] flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Wednesday, July 29, 2015 12:30 PM Subject: Re: [flexcoders]

Re: [flexcoders] CSSStyleDeclaration in AIR app Windows

2015-07-29 Thread Dave Glasser dglas...@pobox.com [flexcoders]
Interesting idea, I'll look into it. I'm using Flex 4.13 currently. From: Alex Harui aha...@adobe.com [flexcoders] flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Wednesday, July 29, 2015 9:40 AM Subject: Re: [flexcoders]

[flexcoders] CSSStyleDeclaration in AIR app Windows

2015-07-24 Thread Dave Glasser dglas...@pobox.com [flexcoders]
I'm developing a multi-window Flex/AIR desktop app. I would very much like to be able to change CSSStyleDeclarations on a per-window basis. It seems that if I do: var decl:CSSStyleDeclaration = window.styleManager.getCSSStyleDeclaration(fully.qualified.WidgetClassName);decl.setStyle(widgetColor,

[flexcoders] Seeking Flex Contractors

2015-02-24 Thread Dave Glasser dglas...@pobox.com [flexcoders]
I'm looking for 1 or 2 Flex contractors, located in the US or Canada, for remote work. Please contact me at dglas...@pobox.com if interested.

Re: [flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread Dave Glasser dglas...@pobox.com [flexcoders]
What do do you mean by not working? On Thursday, November 6, 2014 4:20 AM, stinas...@yahoo.com [flexcoders] flexcoders@yahoogroups.com wrote: !--#yiv9808785342 #yiv9808785342

Re: [flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread Dave Glasser dglas...@pobox.com [flexcoders]
I don't mean to be rude, but does it not occur to you that the actual text of the error message might be important in diagnosing your problem? In your initial request for help, you didn't even bother to mention the problem was concerning the path. Stinasius, I'd like to help you, but if it

Re: [flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread Dave Glasser dglas...@pobox.com [flexcoders]
Doing this:var url:String=documents/ + encodeURIComponent(docs.selectedItem.documentName); will handle cases where the document name contains special characters that would break the URL. On Thursday, November 6, 2014 9:14 AM, Jim Hayes j...@primalpictures.com [flexcoders]

Re: [flexcoders] Which AIR SDK to use with Flex?

2014-10-25 Thread Dave Glasser dglas...@pobox.com [flexcoders]
with Flex? [1 Attachment]   [Attachment(s) from Dave Glasser included below]  From the PDF I gather that you can't build Flex apps with the AIR SDK, which makes sense. But the notice on the page suggests that you should not package Flex Apps as AIR apps using the full AIR SDK, but rather

[flexcoders] Which AIR SDK to use with Flex?

2014-10-23 Thread Dave Glasser dglas...@pobox.com [flexcoders]
On the download page for the AIR SDK: http://www.adobe.com/devnet/air/air-sdk-download.html It says: Note: Flex users will need to download the original AIR SDK without the new compiler. and provides separate links to SDKs that are about 15% smaller. Does anyone know the reasoning behind this?

Re: [flexcoders] Which AIR SDK to use with Flex? [1 Attachment]

2014-10-23 Thread Dave Glasser dglas...@pobox.com [flexcoders]
16:26, Dave Glasser dglas...@pobox.com [flexcoders] wrote: #yiv2173584811 #yiv2173584811 -- #yiv2173584811 .yiv2173584811ygrp-photo-title{clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}#yiv2173584811 div.yiv2173584811ygrp-photo{background

[flexcoders] UIFTETextField - randomly disappearing lines

2013-06-13 Thread Dave Glasser
I have a UIFTETextField that is displaying a line of text 115 characters long. I set its width to 300 with wordwrap enabled, and it wraps the text into 3 lines. The weird thing is that any or all of the lines may be invisible when this object is displayed. Sometimes you'll see the first and

Re: [flexcoders] UIFTETextField - randomly disappearing lines

2013-06-13 Thread Dave Glasser
What version of Flex SDK?  This sounds like an old bug. From: Dave Glasser dglas...@pobox.com Reply-To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Date: Thursday, June 13, 2013 8:57 AM To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Subject: [flexcoders] UIFTETextField

Re: [flexcoders] UIFTETextField - randomly disappearing lines

2013-06-13 Thread Dave Glasser
lines Try turning off the recycler:  http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flashx/textLayout/compose/TextLineRecycler.html From: Dave Glasser dglas...@pobox.com Reply-To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Date: Thursday, June 13, 2013 9:16

Re: [flexcoders] UIFTETextField - randomly disappearing lines

2013-06-13 Thread Dave Glasser
cases (and I couldn't find the old bug report).  Not having the recycler might slow down your app a bit.  If you have a small test case, please file a bug at issues.apache.org/jira under the Flex project there. From: Dave Glasser dglas...@pobox.com Reply-To: flexcoders@yahoogroups.com flexcoders

[flexcoders] Array literals - odd behavior

2013-04-11 Thread Dave Glasser
In Java and other C-derived languages, an array literal can have a comma after the last element, for example: int[] numList = {1, 2, 3,}; In ActionScript, you can do the same thing: var numList:Array = [1, 2, 3,]; In both cases, the array has a length of 3. The trailing comma is basically

Re: [flexcoders] Array literals - odd behavior

2013-04-11 Thread Dave Glasser
Yes, I think it matters quite a bit. It would be very easy for someone, even in their right mind, to unintentionally have an extra comma somewhere in the middle of a long array literal and not notice it. And the compiler would not tell them, but instead would insert an empty element at that

Re: [flexcoders] Array literals - odd behavior

2013-04-11 Thread Dave Glasser
behavior On 11/04/2013 20:45, Dave Glasser wrote: Yes, I think it matters quite a bit. It would be very easy for someone, even in their right mind, to unintentionally have an extra comma somewhere in the middle of a long array literal and not notice it. And the compiler would not tell

Re: [flexcoders] What happened to the Flex Style Explorer?

2013-03-27 Thread Dave Glasser
://joeflash.ca Author, Professional Flex 3 :: http://tinyurl.com/proflex3book Dave Glasser wrote: The old Flex Style Explorer seems to be gone from the web. Does anyone know where any copies (or the source) might exist?

[flexcoders] Flex 4.6 - Problem loading Flex SWF inside Flex App

2013-03-06 Thread Dave Glasser
I'm using a SWFLoader to load a Flex app -- I'll call it the child app - inside my main Flex app. I've used tracing code on the server to prove that the child app is being requested and served by the SWFLoader. What's happening, however, is that a new instance of the main app is being created

Re: [flexcoders] Flex 4.6 - Problem loading Flex SWF inside Flex App

2013-03-06 Thread Dave Glasser
AM, Dave Glasser dglas...@pobox.com wrote:         I'm using a SWFLoader to load a Flex app -- I'll call it the child app - inside my main Flex app. I've used tracing code on the server to prove that the child app is being requested and served by the SWFLoader. What's happening, however

Re: [flexcoders] What happened to the Flex Style Explorer?

2013-02-14 Thread Dave Glasser
, February 14, 2013 12:32 AM Subject: Re: [flexcoders] What happened to the Flex Style Explorer? [1 Attachment] [Attachment(s) from Tandon, Rishi included below] PFA is the Flex 3 style explorer build for desktop. Cheers! Rishi From: Dave Glasser dglas

[flexcoders] What happened to the Flex Style Explorer?

2013-02-13 Thread Dave Glasser
The old Flex Style Explorer seems to be gone from the web. Does anyone know where any copies (or the source) might exist?

[flexcoders] updateDisplayList() called before commitProperties()

2012-09-26 Thread Dave Glasser
I have a custom component and the first time updateDisplayList() is called, it is called before commitProperties() has been called for the first time. It still happens even after I put: invalidateProperties(); in the constructor. The stacktrace looks like this:     at

Re: [flexcoders] updateDisplayList() called before commitProperties()

2012-09-26 Thread Dave Glasser
/26/12 12:35 PM, Dave Glasser dglas...@pobox.com wrote:         I have a custom component and the first time updateDisplayList() is called, it is called before commitProperties() has been called for the first time. It still happens even after I put: invalidateProperties(); in the constructor

[flexcoders] Styling MX button in Spark Theme application

2012-07-14 Thread Dave Glasser
I have an app that I'm porting from Flex 3.3 to Flex 4.6. I'm not using the Halo theme, and I don't want to. I have a lot of mx.controls.Button objects. They have a nice, 3-D look, with a gradient that goes from a light gray at the top to a slightly darker gray at the bottom. The CSS styles

[flexcoders] ControlBar not visible in Flex 4.6

2012-03-12 Thread Dave Glasser
I have an app originally developed in Flex 3.3, which I'm in the process of migrating to Flex 4.6. I don't want to have to rewrite everything using Spark components and containers. I have a mx.containers.TitleWindow with a mx.containers.ControlBar added as the last child. It shows up as

Re: [flexcoders] ControlBar not visible in Flex 4.6

2012-03-12 Thread Dave Glasser
Post a small test case. On 3/12/12 9:28 AM, Dave Glasser dglas...@pobox.com wrote:         I have an app originally developed in Flex 3.3, which I'm in the process of migrating to Flex 4.6. I don't want to have to rewrite everything using Spark components and containers. I have

Re: [flexcoders] ControlBar not visible in Flex 4.6

2012-03-12 Thread Dave Glasser
not visible in Flex 4.6 You need to put your stuff inside controlBarContent array. C From: Dave Glasser dglas...@pobox.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Monday, March 12, 2012 5:28 PM Subject: [flexcoders] ControlBar

Re: [flexcoders] Re: Flex alternatives

2012-01-19 Thread Dave Glasser
I'll use what I've always used. Visual SlickEdit and Apache ant. And from what I've heard, FlashDevelop (http://www.flashdevelop.org), which is mature, robust, free and open source, is also pretty good. From: Ron G rgri...@sinclairoil.com To:

Re: [flexcoders] You are the product

2011-12-17 Thread Dave Glasser
Can you do something comparable to this with HTML5/JS/CSS? http://examples2.idashboards.com/idashboards/?guestuser=wputil1dashID=260 If so, do you have any links to examples? From: Guy Morton g...@alchemy.com.au Using HTML/JS/CSS you CAN do apps that look

Re: [flexcoders] E-Mail from flex.

2011-12-14 Thread Dave Glasser
If you're only sending mail, it's fairly simple with the Javamail API: http://www.oracle.com/technetwork/java/javamail/index.html Your flex app would send the parts of the email message to the server and the server would construct the message and send it using the Javamail API, and smtp or

[flexcoders] fx:Object/ won't compile

2011-11-26 Thread Dave Glasser
The code below compiles fine with the Flex 4.5.1 SDK if I remove the line: fx:Object label=foo/ but with the line in there, I get the error: Error: Could not resolve fx:Object to a component implementation. In fact, I can't seem to get the fx:Object tag to work anywhere. Does anyone know what

[flexcoders] srikanth reddy

2011-11-22 Thread Dave Glasser
Would the owner of this list please remove srikanth reddy so we don't have to get any more of this spam? From: srikanth reddy srikanthli...@yahoo.co.in To: anjaneyare...@yahoo.com anjaneyare...@yahoo.com; bits_vi...@yahoo.co.in bits_vi...@yahoo.co.in;

[flexcoders] Embedded SVG scales like bitmap.

2011-10-16 Thread Dave Glasser
I drew a simple irregular polygon in Adobe Illustrator and saved it as an SVG. I embedded it in my Flex app as a SpriteAsset.  I then set it as the skin (all states) for a button. When I set the button size much larger than the original size of the SVG (approx 75X75 pixels), the sides of the

Re: [flexcoders] Embedded SVG scales like bitmap.

2011-10-16 Thread Dave Glasser
To: flexcoders@yahoogroups.com Sent: Sunday, October 16, 2011 2:39 PM Subject: Re: [flexcoders] Embedded SVG scales like bitmap. export it as a swf On Sun, Oct 16, 2011 at 6:46 PM, Dave Glasser dglas...@pobox.com wrote:   I drew a simple irregular polygon in Adobe Illustrator and saved

[flexcoders] SWFLoader - handling 401 response

2011-09-27 Thread Dave Glasser
I'm working with a SWFLoader to load images. If it tries to load an image from a URL that requires authorization, IE pops up a login dialog. This is particularly annoying when there are many SWFLoaders displayed. I'd like it to quietly fail. I'm calling unloadAndStop() when the 401 response

Re: [flexcoders] Re: DataGrid decides not to render on some occasions

2010-07-05 Thread Dave Glasser
FTR, here's the top of the stacktrace: ReferenceError: Error #1069: Property prepareForRemoval not found on Type2_v1 and there is no default value.     at controller_v4/swfAppComplete()[/Users/stevelux/Sites/builder5_FLEX4_3.5sdk/src/controller_v4.mxml:729]     at

Re: [flexcoders] Re: RadioButton as DataGrid item editor

2010-06-26 Thread Dave Glasser
Thanks! --- On Sat, 6/26/10, Amy amyblankens...@bellsouth.net wrote: From: Amy amyblankens...@bellsouth.net Subject: [flexcoders] Re: RadioButton as DataGrid item editor To: flexcoders@yahoogroups.com Date: Saturday, June 26, 2010, 9:25 AM --- In flexcoders@yahoogroups.com, Dave

Re: [flexcoders] Re: RadioButton as DataGrid item editor

2010-06-25 Thread Dave Glasser
--- On Fri, 6/25/10, Amy amyblankens...@bellsouth.net wrote: What is your itemRenderer code? I'm just using the RadioButton, out of the box. I'm setting the itemRenderer property on the DataGridColumn to new ClassFactory(RadioButton).

Re: [flexcoders] Re: RadioButton as DataGrid item editor

2010-06-24 Thread Dave Glasser
--- On Thu, 6/24/10, Amy amyblankens...@bellsouth.net wrote: What logic are you using to transfer the value of the RadioButtonGroup to the appropriate properties? None, actually. I would expect the DataGrid to handle that, since it is creating the RadioButtonGroup and my code would not have

[flexcoders] RadioButton as DataGrid item editor

2010-06-23 Thread Dave Glasser
It seems like it should be simple, but it's a nightmare. I'm using Flex 3.3. The items in my dataProvider have a Boolean property. I want only 1 item to have this property set to true, and all others set to false. So I use a RadioButton as the renderer and editor. Although the items initially

[flexcoders] Can't select null item in ComboBox

2009-12-15 Thread Dave Glasser
I have some code that was originally written under Flex 2, where a ComboBox's data provider is an array of objects, with the first element set to null. When this code is built under Flex 2, I can select the first item in the combo's dropdown list, and selectedItem returns null, which is what I

RE: [flexcoders] Can't select null item in ComboBox

2009-12-15 Thread Dave Glasser
string if the item is null.   Tracy Spratt, Lariat Services, development services available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dave Glasser Sent: Tuesday, December 15, 2009 9:47 AM To: flexcoders@yahoogroups.com Subject: [SPAM

Re: [flexcoders] *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Dave Glasser
stuff?  Did you get asked this on an interview?  Or are you testing responses to a question you want to ask while interviewing?    Dave Glasser wrote:   Consider this code snippet: var xml:XML = outerinner null/inner /outer; var xmlList:XMLList = xml.inner; trace(xmlList == null

RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Dave Glasser
ups.com [mailto:flexcod...@yahoogro ups.com] On Behalf Of Paul Andrews Sent: Wednesday, August 12, 2009 9:33 PM To: flexcod...@yahoogro ups.com Subject: Re: [flexcoders] *** So you think you know ActionScript? (Read original post first) *** Dave Glasser wrote: Consider

RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Dave Glasser
--- On Thu, 8/13/09, Tracy Spratt tr...@nts3rd.com wrote: Ok, if you say so. What is the result of your investigation? I just checked, and it does indeed convert null to null. So it's effectively the same with or without the curly braces. The element contains a String 4 characters long.

RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Dave Glasser
: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dave Glasser Sent: Thursday, August 13, 2009 5:22 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***     Actually

[flexcoders] *** So you think you know ActionScript? (THE ANSWER) ***

2009-08-13 Thread Dave Glasser
Consider this code snippet: var xml:XML = outerinnernull/inner/outer; var xmlList:XMLList = xml.inner; trace(xmlList == null); What does the trace statement output, true or false, and why? Well, first, let's stipulate that the innner element in the XML object contains the String null. It's not

[flexcoders] *** So you think you know ActionScript? (Read original post first) ***

2009-08-12 Thread Dave Glasser
Consider this code snippet: var xml:XML = outerinnernull/inner/outer; var xmlList:XMLList = xml.inner; trace(xmlList == null); What does the trace statement output, true or false, and why? Please provide an answer without running the code (of course) and, better yet, without consulting any

[flexcoders] *** UPDATED: So you think you know ActionScript? (Read original post first) ***

2009-08-12 Thread Dave Glasser
Glasser dglas...@pobox.com wrote: From: Dave Glasser dglas...@pobox.com Subject: [flexcoders] *** So you think you know ActionScript? (Read original post first) *** To: flexcoders@yahoogroups.com Date: Wednesday, August 12, 2009, 8:44 PM   Consider this code snippet

[flexcoders] fontFamily style: inconsistency between ASDocs and developers guide.

2009-07-22 Thread Dave Glasser
In every ASDoc description of the fontFamily style that I've read, it says, Unlike in a full CSS implementation, comma-separated lists are not supported. But in the Adobe Flex 3 Developer Guide, on the first page of chapter 19 (Using Fonts), it says, This property can take a list of fonts, as

Re: [flexcoders] HTML Formatting lost in TextArea

2009-06-01 Thread Dave Glasser
I'm encountering a strange problem which I can't reliably replicate. I have a TextArea. During its lifetime, I set the htmlText property one time with a string of HTML that includes an IMG tag. The text property never gets set. Sometimes, when the TextArea is first displayed, I'll see that

Re: [flexcoders] HTML Formatting lost in TextArea

2009-05-19 Thread Dave Glasser
**bump** I'm encountering a strange problem which I can't reliably replicate. I have a TextArea. During its lifetime, I set the htmlText property one time with a string of HTML that includes an IMG tag. The text property never gets set. Sometimes, when the TextArea is first displayed, I'll

[flexcoders] HTML Formatting lost in TextArea

2009-05-15 Thread Dave Glasser
I'm encountering a strange problem which I can't reliably replicate. I have a TextArea. During its lifetime, I set the htmlText property one time with a string of HTML that includes an IMG tag. The text property never gets set. Sometimes, when the TextArea is first displayed, I'll see that all

[flexcoders] RadioButtons appear as normal buttons -- WTF?

2008-07-01 Thread Dave Glasser
This is driving me nuts. I'm using two RadioButtons in a RadioButtonGroup, and they appear as two normal buttons. There is no CSS styling in effect. I'm not setting any properties other than label, group and labelPlacement and selected. Does anyone know what is going on here?

[flexcoders] Ruminations on the LayoutManager

2008-06-13 Thread Dave Glasser
I have some custom components that at the end of their lifecycle are removed from the display list and destruct themselves. By destruct themselves, I mean that they set various internal references to null. Anyway, this has caused problems when a component has been queued for layout by the

[flexcoders] Is String to Number conversion locale-specific?

2008-05-30 Thread Dave Glasser
I'd like to know what effect a computer's locale might have on String to Number conversion in AS3. Specifically, in locales that use a comma as a decimal separator rather than a period, do the various conversion methods (Number() function, parseNumber(), Number() class constructor) treat the

RE: [flexcoders] Is String to Number conversion locale-specific?

2008-05-30 Thread Dave Glasser
SDK Team - From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Glasser Sent: Friday, May 30, 2008 7:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is String to Number conversion locale-specific

[flexcoders] Positioning error tips when using Validators

2008-04-06 Thread Dave Glasser
I have some TextInputs along the right side of the stage, and the error tips popped up by the Validators are clipped off the right side. Is there any way to make them appear to the left of the TextInputs?

RE: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Glasser Sent: Wednesday, January 30, 2008 8:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] SWF is not a loadable module / crossdomain.xml woes I'm running a Flex app in my

Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
That didn't work either. As I mentioned, the crossdomain.xml file isn't even being requested by the Flash player. --- shrikant.patil [EMAIL PROTECTED] wrote: hi try to put the below crossdomain.xml u r missing something there; ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM

Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
Dave Glasser-2 wrote: That didn't work either. As I mentioned, the crossdomain.xml file isn't even being requested by the Flash player. --- shrikant.patil [EMAIL PROTECTED] wrote: hi try to put the below crossdomain.xml u r missing something there; ?xml version

Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
_url... so please test it and let me know the value of _url variable at runtime... or test with the static name like Dave Glasser-2 wrote: The code looks like: var moduleInfo:IModuleInfo = ModuleManager.getModule(your module name.swf); moduleInfo.addEventListener

Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
Thanks, shrikant. I already tried all of the various Security.allowDomain calls, in both the accessing and the accessed module, and it still doesn't work. I believe Alex Harui's answer is correct, that it's just not possible for a local SWF in the standalone Flash player to load a remote SWF

Re: [flexcoders] Re: SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
come up with the solution. I'll definitely do the same... Thanks, Chris --- In flexcoders@yahoogroups.com, Dave Glasser [EMAIL PROTECTED] wrote: I'm running a Flex app in my local Flash player (not in a browser) from my local disk, and I'm trying to load a module from a Tomcat

[flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-30 Thread Dave Glasser
I'm running a Flex app in my local Flash player (not in a browser) from my local disk, and I'm trying to load a module from a Tomcat server running on localhost. My Flex app is trusted and is already communicating with that server for other things, but when I try to load the module, I get the

[flexcoders] Preserving whitespace in XML nodes

2008-01-22 Thread Dave Glasser
I've tried using the static XML.ignoreWhitespace property to solve this problem. Not only does it not work, but I don't want the setting applied globally. When I run this code: var x:XML = myXML/; x.a =a; x.b =b; x.c =c; trace(x= + x.toXMLString()); The

Re: [flexcoders] Preserving whitespace in XML nodes

2008-01-22 Thread Dave Glasser
does it preserve the whitespace. --- Nils Millahn [EMAIL PROTECTED] wrote: Have you tried using a CDATA around them? - Nils. Dave Glasser wrote: I've tried using the static XML.ignoreWhitespace property to solve this problem. Not only does it not work, but I don't want the setting

Re: [flexcoders] Preserving whitespace in XML nodes

2008-01-22 Thread Dave Glasser
P.S., in the CDATA section below, the a character has four spaces on either side, but it might not appear that way in HTML-based mail readers. --- Dave Glasser [EMAIL PROTECTED] wrote: That doesn't seem to work either. Perhaps I'm not doing it right, but the output is identical with this code

Re: [flexcoders] Preserving whitespace in XML nodes

2008-01-22 Thread Dave Glasser
FTR, I found that setting XML.prettyPrinting = false fixes this, but this is not a workaround I can use. I'm pretty sure this behavior does not comply with ECMA-357, so I logged a bug: http://bugs.adobe.com/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10201 --- Dave Glasser [EMAIL

Re: [flexcoders] HitTest Problems with Button that includes white

2008-01-03 Thread Dave Glasser
The white is probably not the color of the button skin, but the color of the parent container showing through. The skin has probably not painted those pixels any color at all, so they're not generating mouseover events for the skin/button. I've solved this problem before by making sure

RE: [flexcoders] Icon for Button

2008-01-01 Thread Dave Glasser
“icon”, MyIconClass to work. - From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Glasser Sent: Monday, December 31, 2007 9:39 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Icon for Button Alex

Re: [flexcoders] Mutliple alert copies

2007-12-05 Thread Dave Glasser
Did you put some tracing code in to prove that that code isn't actually executed twice the second time around? Event-driven software can be a tricky business. Maybe you neglected to remove an old event listener from some object that is dispatching the event that ultimately executes that

RE: [flexcoders] Application without MXML: Is it possible?

2007-12-03 Thread Dave Glasser
://bugs.adobe.com/flex if you feel it is important for a future release. But I'm always interested in why some people avoid MXML. What's your reason? - Gordon - From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Glasser Sent

Re: [flexcoders] Application without MXML: Is it possible?

2007-12-02 Thread Dave Glasser
FarataSystems On 11/30/07, Dave Glasser [EMAIL PROTECTED] wrote: I'm trying to create an Application in pure Actionscript, by subclassing mx.core.Application, and when I run it I get: TypeError: Error #1009: Cannot access a property or method of a null object reference

RE: [flexcoders] Application without MXML: Is it possible?

2007-12-02 Thread Dave Glasser
an ActionScript project in Flex Builder. But then you can’t use most of the mx: components. - From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Glasser Sent: Saturday, December 01, 2007 2:06 PM To: flexcoders@yahoogroups.com

Re: [flexcoders] Application without MXML: Is it possible?

2007-12-01 Thread Dave Glasser
I looked at the generated actionscript and it does look like there's a lot going on, and it's not worth trying to make it work without MXML. Maybe I'll log a bug report requesting that they say in the API doc that the Application class can only (as a practical matter) be used via the

[flexcoders] Application without MXML: Is it possible?

2007-11-30 Thread Dave Glasser
I'm trying to create an Application in pure Actionscript, by subclassing mx.core.Application, and when I run it I get: TypeError: Error #1009: Cannot access a property or method of a null object reference. at

[flexcoders] Showing icons in ComboBox dropdowns

2007-11-26 Thread Dave Glasser
I need to show icons next to the items in a ComboBox dropdown. Unlike the List class, the ComboBox has no iconFunction property, and its default item renderer class, ListItemRender, has a *protected* icon property. I tried accessing the ComboBox's dropdown property directly, but that

RE: [flexcoders] Showing icons in ComboBox dropdowns

2007-11-26 Thread Dave Glasser
PROTECTED] On Behalf Of Dave Glasser Sent: Monday, November 26, 2007 11:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Showing icons in ComboBox dropdowns I need to show icons next to the items in a ComboBox dropdown. Unlike the List class, the ComboBox has no iconFunction