I have an app that works perfectly when all of the FDS-related code
resides in the main application MXML file. However, when I place the
FDS code in a separate component and import / embed that component in
the main application file, the Flash player throws security sandbox
errors as follows:
Vito:
Sorry for the slow response. I haven't been able to spend much time in
the group lately.
Here is a sample header that works. The key is the value of the
Expires attribute. If it is set to 0, IE breaks:
HTTP/1.x 200 OK
Server: Apache-Coyote/1.1
Expires: -1
Pragma: no-cache
Cache-Control:
Daniel Tobias:
I'm having the same issue. Did either of you file a bug report with
Adobe?
Jim
--- In flexcoders@yahoogroups.com, Daniel Wabyick [EMAIL PROTECTED] wrote:
I had this exact same issue. I solved it by using the local(Arial
Unicode MS) and specifying a subset of unicode
Daniel:
How did you get Flex to embed a subset of the characters? I can't get
it to embed any part of Arial Unicode. The following code, for
example, throws the same error as embedding the entire font. What
method did you use?
@font-face {
src:url(fonts/ARIALUNI.TTF);
After my initial post, I noticed something that makes me think that
this isn't Adobe's issue: Arial Unicode MS is a 22 MB font!
While all of the other fonts installed on my laptop are around 350k or
less, this one is 22 megs. I suspect that's the problem. And we
probably don't want to embed a 22
Daniel:
That did the trick! Since I'm compiling locally, I had to set the
compiler argument in Flex Builder, like so:
-language-range specialCharacters
U+0020-U+007E,U+00B2-U+00B9,U+2070-U+2089
Then I was able to use the following in my CSS:
@font-face {
src: local(Arial Unicode MS);
Hey Harris!
I take it you want to do more than alternatingItemColor ?
Jim
--- In flexcoders@yahoogroups.com, Harris Reynolds [EMAIL PROTECTED]
wrote:
Is it possible to style individual rows within a DataGrid differently?
Or is styling only available for the DataGrid as a whole?
~harris
Hi Bruce,
Try this:
private function test():void{
HttpRequest.addEventListener(result, testResponse);
HttpRequest.url = http://IIS_Server/AJAX/test.asp;;
HttpRequest.resultFormat = text;
HttpRequest.method = POST;
HttpRequest.contentType = application/x-www-form-
urlencoded;
var params:Object =
Try writing a custom Item Renderer? That way, you can set the style of
each row (or even each cell) based on the data.
Jim
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
I'm having a similar problem, but in my case the path to
services-config.xml is set. The app works fine with the web-tier
compiler, but when I pre-compile it, I get the error pasted below.
There is one line in the error message (below) that caught my eye.
It's the message broker URI:
path_to_services-config.xml during compilation.
-Mete
dadrobson [EMAIL PROTECTED] wrote:
I'm having a similar problem, but in my case the path to
services-config.xml is set. The app works fine with the web-tier
compiler, but when I pre-compile it, I get the error
Peter and Mete:
Thank you! You were right -the context root was the problem.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
* To visit your group
In Project - Properties - Flex Compiler, de-select Copy
non-embedded files to output directory.
We had a problem where Flex was copying our entire common-lib
directory into the bin folder with every build. Needless to say, this
was very costly, so I was very happy to find the above setting!
HTH
Did you set the value of URL? I see where you declared the variable,
and made it Bindable, but I don't see where you set the value.
In other words, I see this:
[Bindable]
public var URL:String;
But I don't see anything like this:
URL = http://www.myWebSite.com;;
--- In
I keep getting the following compiler message:
exception during transcoding:
That is the entire message. It's interesting that there is no
explanation as to what caused the exception; the colon at the end
makes me think that something should follow, but nothing does. I'm
left without a clue as
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dadrobson
Sent: Monday, August 14, 2006 11:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] exception during transcoding:
I keep getting the following compiler message
That is very cool. Thank you!
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
* To visit your group on the web, go to:
Thanks guys!
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
Instead of using an inline itemRenderer, you could build a custom
component and drop it in. Inside your component, you could use
conditional logic to determine what the value of the source property
should be. Something like this:
?xml version=1.0 encoding=utf-8?
mx:Canvas
If you don't set the minimum maximum values, the default behavior is
to auto-scale the y-axis. If you set the minimum maximum values to
anything other than NaN, you effectively disable the auto-scale feature.
--
Flexcoders Mailing List
FAQ:
Sprite doesn't extend mx.core.IUIComponent, and so you can't use it as
a parameter in the addChild() method of the Panel class. Instead of
using Sprite, try Canvas instead.
HTH
Jim
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search
I'm building a Flex 2.0 UI for an app that continually generates data
to be plotted on a line graph; new data keeps coming in, and when
there is too much data to fit in the chart, the older data drops off
and the horizontal axis shifts. (To visualize what I mean, picture the
Performance tab in
I stand corrected:
I wrote extend instead of implement.
Thanks Mike!
-Jim
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
* To visit your group
You should be able to use Canvas.addChild(Sprite), because it takes a
DisplayObject, and Sprite does exted DisplayObject.
I don't have time to test it right now, but based on the inheritance
outlined in the docs, it looks like it should work. I'll try to run a
test later; meanwhile, if you have a
I wrote a component in ActionScript that is designed to be used as a
pop-up, and it needs to center itself. I tried invoking
PopUpManager.centerPopUp(this) from the constructor, and then I tried
it in the createChildren method, but the Flash player seemed to ignore
it both times. The pop-up kept
Eric Anderson's intro to F2B3 indicates that Flex's Charting
components provide advanced charting capabilities including multi-axis
charts. Does this mean that a chart can have more than one Y-axis?
I'm building an app with a LineChart where the ideal situation would
be to have a separate Y-axis
Here's something you can try:
Instead of this...
requestSolicitante.lastResult.solicitante.nome;
Try this...
private function onResult(oEvent:ResultEvent):void
{
var r:XML = XML(oEvent.result);
txSolicitante.text = r.solicitante.nome;
}
--- In flexcoders@yahoogroups.com, falecomozig [EMAIL
Hi Matt,
That's possible, but doubtful. I had only made a few changes before
this error appeared. I reversed my changes, and executed a Project -
Clean in Flex Builder, but the error messages persisted. I finally
resorted to a backup copy of my app and started over.
The changes I had made
Tom:
I am experiencing the same issue. Did you find a workaround for it?
Also, did you file the bug report with Adobe?
Thanks
Jim
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Hi Tom,
It seems (so far) that ArrayCollection doesn't have the same issues
that XMLListCollection has. For my current application, I was able to
replace the XMLListCollection instances with ArrayCollections. Once I
did that, things started working correctly.
I will keep your method on hand for
I'm getting syntax errors in the code generated by the compiler (i.e.
the compiler is breaking the app on me - see messages below). Does
anyone know of a good workaround for this? I reported this to Adobe as
a bug, but meanwhile I need to continue development, and the compiler
won't let me move
I am trying to integrate Flex 2 with FMS 2. The Flex app connects with
FMS; I am sure of this because I monitor the log in the FMS console.
However, it keeps throwing the following error (note that
FMSFlexTest is the name of my Flex app):
Error #2044: Unhandled NetStatusEvent:. level=error,
RESOLVED:
The value of the NetConnection's ObjectEncoding property needed to be
set to AMF0 because Flash Media Server 2 was released prior to
ActionScript 3.0.
Since all of my NetConnection calls are to FMS 2, I am able to set the
default value once for all connections (this must be done
Tobias,
I'm not sure if this was just a typo in your post, but I don't think
you want SecurityPolicy.loadPolicyFile(). I think the correct method is:
flash.system.Security.loadPolicyFile(url);
Jim
--
Flexcoders Mailing List
FAQ:
RESOLVED: With help from the folks at Adobe, I learned that Tomcat had
not fully expanded the flex.war file; there were some files missing in
the expanded folder flex/WEB-INF folder.
So, I deleted all of the Flex stuff from the Tomcat/webapps directory,
re-copied the .war files from the FDS
I'm not sure how to interpret what IE does with these headers. The
Spring form controller was setting the expiry date to the Unix epoch.
Could it be that IE was correct in rejecting this?
--- In flexcoders@yahoogroups.com, Dave Wolf [EMAIL PROTECTED] wrote:
Sounds like the same issues we used
I understand that the Validator.validateAll() method returns an array
of ValidationResultEvent objects.
My question is, how do I access the name of the field that failed
validation? According to the docs, the field property of the
ValidationResultEvent object supplies this. But when I reference
I installed FDS, following the instructions for Tomcat (copied the WAR
files into the webapps folder and restarted Tomcat, then confirmed
that the directories were created).
I restarted my box, restarted Tomcat again, opened Flex Builder 2.0, then:
1. File - New - Flex Project
2. Selected Flex
() to generate headers that
the browsers would accept.
-Jim
--- In flexcoders@yahoogroups.com, dadrobson [EMAIL PROTECTED] wrote:
I have a complete app that is currently working fine when loaded in
Firefox. However, in IE, some (but not all) HTTPService requests
return the following error:
Error
I have a complete app that is currently working fine when loaded in
Firefox. However, in IE, some (but not all) HTTPService requests
return the following error:
Error: [IOErrorEvent type=ioError bubbles=false cancelable=false
evenPhase=2 text=Error #2032: Stream Error. URL:
We have the boxed version of FlexBuilder 2 on back-order; Adobe tells
us they're out of stock. Adobe's website won't take our corporate
credit cards, so we can't order the download version.
Meanwhile, I've completed an entire app in Flex Builder 2 Beta 3. It
works beautifully in the Beta debug
I've searched the docs and the list, but I can't for the life of me
find out how to submit the value of a multiple-select list to an
action page.
The best way I know to explain the problem is to put it in terms of
plain old HTML. Suppose you have a multiple select list on an HTML form:
select
Sukhminder:
Did you ever get an answer to this question? I've been searching the
docs and the Flexcoders posts, but so far, no luck.
Jim
--- In flexcoders@yahoogroups.com, Sukhminder Singh
[EMAIL PROTECTED] wrote:
Hi there...
I have 2 lists. First list contains all the items, from which a
Cynergy Systems, Inc.
http://www.CynergySystems.com
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dadrobson
Sent: Tuesday, July 18, 2006 7:56 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Need help to select
The XML that I am being sent is in the following format:
root
nodes
node id=1
childnodes
childnode id=100/childnode
childnode id=101
grandchildnodes
grandchildnodes id=1000 /
grandchildnodes id=1001 /
/grandhildnodes
/childnode
/childnodes
/node
node id=2
!-- and so on ---
/nodes
/root
When I
with plural identifiers are simply collectors;
they have no attributes, and are of no significance to the end user.
Sorry for the double post, but I'm afraid the first one would just
confuse people.
Jim
--- In flexcoders@yahoogroups.com, dadrobson [EMAIL PROTECTED] wrote:
The XML that I am being sent
Chaitu:
What version of Flex are you using? 1.5 had a Link control, but it
appears to have been replaced by the LinkButton control in Flex 2.0.
-Jim
--- In flexcoders@yahoogroups.com, Chaitu Vadlapatla
[EMAIL PROTECTED] wrote:
Hey All,
I know Flex was supposed to have a Link control but
47 matches
Mail list logo