I have a remote server from which my Flex app accesses data through a REST api.
I am unable to access the data without placing a crossdomain.xml file in the
root of my remote server. If I try really hard and fight with my IIS server
web.config file, I can sometimes get my server to serve up
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
Thanks for this post. This saved me. Looks like a nasty bug with the
DateField control. Has this been logged for Adobe to fix?
--- In flexcoders@yahoogroups.com, Josh McDonald dzn...@... wrote:
Figured this out for anybody who has the same problem in the future - if you
use a
If you are a competitor of mine, build a full flex site, otherwise HTML is the
way to go for SEO. ;)
--- In flexcoders@yahoogroups.com, christophe_jacquelin
christophe_jacque...@... wrote:
Hello,
Is it better to make a full flex site or is it better to add some html pages
with flex to
--- In flexcoders@yahoogroups.com, toofah_gm garym@ wrote:
Tim,
Thanks for your help on this. I feel like I am getting a little closer,
but would like to get full understanding so that I can make a good decision
on how to proceed.
The 2880 limit seems to be related to the problem, however
and hitting the size limit.
But, at this point, it's just a guess. Try cropping the image down to
see if you get to a point that it works.
-TH
--- In flexcoders@yahoogroups.com, toofah_gm garym@ wrote:
I tried this as well...I think that the original file is actually a
PNG and not a JPG
I am seeing cases when the image loader COMPLETE event will not fire. Does
anyone know why this is the case? I wonder if there is something wrong with
some of my images that causes a bug in FLEX.
Here is an example:
?xml version=1.0 encoding=utf-8?
mx:Application
. Your image is too wide.
-TH
--- In flexcoders@yahoogroups.com, toofah_gm garym@ wrote:
I am seeing cases when the image loader COMPLETE event will not fire.
Does anyone know why this is the case? I wonder if there is something
wrong with some of my images that causes a bug in FLEX
to remember a problem with the alphas for a jpg.
-TH
--- In flexcoders@yahoogroups.com, toofah_gm garym@ wrote:
TH,
Thanks for the quick response. If the image is too wide, why does
http://www.mangumfamily.org/bar3.jpg; work? It has the same dimensions,
just no transparency.
Gary
I have a method that accepts variable arguments like this:
public function doSomethingThenContinue(continueFunction:Function,
...args)
{
// execute some code that does important stuff
// call the continue function now that we are done passing the
original args to that function
declaration.
Gary
--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:
It seems to me and my co-workers that the Flex compiler is broken
when
it comes to local variable scoping within methods.
For example:
for (var i:int=0; icount; i++)
{
// do something
declarations to the top of the function.*
On Thu, Dec 4, 2008 at 5:31 PM, toofah_gm [EMAIL PROTECTED] wrote:
I came across another scoping issue today that scared me. I sure
wish
that the scoping in the ActionScript language worked the same way
C++,
C#, Java, and others work
Is there a simple way to create a button with rounded corners on only
the top left and bottom right? Or can this only be done with a skin?
I'm thinking some sort of style where you could set TL, BR, etc. or
something like that, similar to the focusRoundedCorners style on a
TextInput control.
It seems to me and my co-workers that the Flex compiler is broken when
it comes to local variable scoping within methods.
For example:
for (var i:int=0; icount; i++)
{
// do something
}
for (var i:int=0; icount; i++)
{
// do something else
}
This gives a compiler warning stating that 'i'
Is it possible to get an Image control to scale using scale 9 without
embedding the source bitmap?
If I embed the source bitmap and set scaleGridTop/scaleGridBottom/etc.
the Image control scales properly.
If I try to set scale9grid,
Is there really no support for sub menus in the customitems of the
ContextMenu? That's seems to be what I am finding and reading in the
forums. Can someone verify this?
In order to get around this one, we ended up taking the PopUpButton
class code and making our own version of it...too many parts of it
were private and extending it to get rid of the problem was impossible.
If I get a second, I will try to upload some sample code to reproduce
the problem. In my
OK, I figure this is easy, but just can't seem to get it right.
Anyone know how to take a loaded BitmapData object and make all of the
transparent areas in it black?
I figured out how to get what I wanted using BitmapData.threshold:
image.bitmapData.threshold(image.bitmapData,
image.getRect(image), new Point(), , 0xFF00, 0xFF00,
0xFF00);
--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote
why sometimes images
got printed and sometimes they didn't I've found that the issue was in
Flash Player (got to the same bug report you mention).
I believe the only solution is make users update Flash.
Kind Regards,
Frederico Garcia
toofah_gm escreveu:
It seems that I am seeing
Just an update. Some of my images are still not being printed, but
the text is no longer cutting off. I'll have to keep working on the
images, maybe they are not finished loading sometimes.
--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:
Thanks for your response!
I
OK, I've got most of my vector printing working and looking really
nice except for transparency.
I sure wish that I could print images with transparency while still
doing Vector printing, but understand that there is currently no way
to do this right now. Will this be offered in the future?
The
When I print using the vector option (printAsBitmap=false) I sometimes
see TextAreas with missing text at the bottom. I also see that
sometimes images are missing from the pages. Does anyone have any
ideas about what is happening or how to fix it? The components are
loaded and in tact on the
I am frustrated with the same problem!
--- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote:
Hello All, this is one of the most frustrating problems I think I ever
had to deal with...
Instead of creating an invisible container which properly lays out all
my printable
I am seeing the same problem...I am using embedded fonts and turning
anti-aliasing off...the last line of text is often cut off.
--- In flexcoders@yahoogroups.com, John Mark Hawley [EMAIL PROTECTED] wrote:
In order for Flash to know how much room it needs to print an
autosized text field, the
This is very frustrating. I need vector printing on some portions of
my print so that my text can look great. I need raster printing so
that my transparency works. Sure wish I could set some portions to
vector and other portions to raster withing the same page of a print job.
--- In
It seems that I am seeing the same problems described in this bug:
http://bugs.adobe.com/jira/browse/SDK-7698
I am using the latest FlashPlayer: 9,0,115.
--- In flexcoders@yahoogroups.com, Frederico Garcia [EMAIL PROTECTED]
wrote:
mitek17 escreveu:
Hi Frederico,
printAsBitmap is not
I am working on printing for my application. I noticed that when I
use vector printing (printAsBitmap=false) text is sometimes cut off
and not printing.
On one page if I have a text box too high on the page it will not
print, or only the bottom portion will print...if I move it down, the
text
= false.
So what? It does not answer the question.
--- In flexcoders@yahoogroups.com, nathanpdaniel ndaniel@ wrote:
Have you looked into FlexReport? http://code.google.com/p/flexreport
--- In flexcoders@yahoogroups.com, toofah_gm garym@ wrote:
I am working on printing
I am working on printing for my application. It seems that if I
choose raster printing by setting 'printAsBitmap=true' then my text
looks terrible, but my images with transparency print correctly.
If I choose vector printing by setting 'printAsBitmap=false' then my
text looks great...even with
ticket
to access. I highly recommend you read the April Flash Player Security
Update leaf. AIR adds many cool local features - but still has to
play nice
with Flash security.
Rick Winscot
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of toofah_gm
Sent
I totally understand the sandbox issues associated with Flex apps,
but wonder why Adobe doesn't provide a secure way to allow apps to get
outside this sandbox with a Flex app.
Obviously this can be accomplished in an AIR app, but what if I want
to keep things simple? It seems a lot simpler for
Does anyone know how to compile a CSS into a SWF using Ant? The Flex
Ant Tasks seem to indicate that it is possible with the mxmlc task,
but I am having trouble getting it to compile.
Thanks!
Of toofah_gm
Sent: Monday, March 31, 2008 11:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] compile CSS to SWF using Ant
Does anyone know how to compile a CSS into a SWF using Ant? The Flex
Ant Tasks seem to indicate that it is possible with the mxmlc task,
but I am having
Is anyone else using 'compc' and Ant? How are you including asset files?
--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:
I am creating an Ant script to compile my flex project.
In my compc task is there a way to give a directory for the
include-file tags instead
I am creating an Ant script to compile my flex project.
In my compc task is there a way to give a directory for the
include-file tags instead of listing out each individual asset and
css file that I want to include? I have used pathconvert to build
my 'include-classes' property dynamically.
Does anyone have an answer for this?
--- In flexcoders@yahoogroups.com, flexinator2 [EMAIL PROTECTED] wrote:
We have a very large Flex2 application with several hundred classes
and around a dozen RSL (swc files). We've been using the flex2 eclipse
IDE to do builds but would like to automate
How do you install the regular eclipse ant plugins into FB3 StandAlone
product?
I was able to get the Ant Plugins by installing the JDT from the
updates tool.
--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:
How do you install the regular eclipse ant plugins into FB3 StandAlone
product?
I am now trying to build using Ant and keep getting the following error:
[compc] Loading configuration file C:\Program Files\Adobe\Flex
Builder 3\sdks\3.0.0\frameworks\flex-config.xml
[compc] Error: Java heap space
[compc] java.lang.OutOfMemoryError: Java heap space
Does anyone know
Thanks venkat.
Where do I set ANT_OPTS? Can I set it within FlexBuilder? or in my
ant build.xml file anywhere?
Gary
--- In flexcoders@yahoogroups.com, rueter007 [EMAIL PROTECTED] wrote:
set the following environment variable before the build depending on
your platform.
set
We are finally migrating from Flex 2 to Flex 3.
Most of our code migrated without issue, but there are a few UI issues
that I am chasing:
- Some of my skinned buttons are stretched. I have the following
button skin defined:
.nextPageBtn
{
up-skin:
I have two objects on a canvas...both of which are Drag listeners and
can accept various Drops. These objects overlap one another.
If I drag an object over the two objects, only the one at the top of
the Z-order, (TextArea), gets the Drag events. It is blocking the
object underneath from
I just installed the release of FB3...I installed it side by side with
my old milestone version for not...and I noticed that the available
SDKs are still 2.01 Hotfix 3 and Flex 3 Beta 3.
Was there supposed to be a new SDK installed? Is this a separate install?
Thanks.
[EMAIL PROTECTED]
wrote:
On Monday 25 Feb 2008, toofah_gm wrote:
I just installed the release of FB3...I installed it side by side with
my old milestone version for not..
Plugin or standalone ?
Did you uninstall the old version first ?
--
Tom Chiverton
Helping to vitalistically
Uninstalling and re-installing fixed the problem!
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:
On Monday 25 Feb 2008, toofah_gm wrote:
If I uninstall and re-install will I still have a 2.01 Hotfix SDK
option available? I'm not ready to move to SDK 3 yet.
Yes
I am seeing a very strange problem that I am unable to track down.
I have a custom Event class called ControllerEvent. Essentially it
wraps Event and hangs onto some custom data for me.
I've been using it without issue for a long time...now today in one
case in my code when I call dispatchEvent
, toofah_gm [EMAIL PROTECTED] wrote:
I am seeing a very strange problem that I am unable to track down.
I have a custom Event class called ControllerEvent. Essentially it
wraps Event and hangs onto some custom data for me.
I've been using it without issue for a long time...now today in one
be hittable.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of toofah_gm
Sent: Friday, January 25, 2008 10:45 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: getRect returns rectangle that includes
children's bounds
I want to use getRect to get the bounds of my UIComponent.
I just noticed that if my UIComponent has children that extend beyond
the X/Y/Width/Height of my parent UIComponent, the rect returned
extends to the boundaries of the largest child.
Is there an alternate method that I could use? My
of the
UIComponent will be the size given by the parent while getRect will
return the bounding box of the children
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of toofah_gm
Sent: Friday, January 25, 2008 10:29 AM
To: flexcoders
The scroll event fires when scrolling occurs, but before the child
content has shifted. Here is the documentation:
'At the time when this event is dispatched, the scrollbar has been
updated to the new position, but the container's child objects have
not been shifted to reflect the new scroll
of getRect() do not line up yet, causing me
to draw at the incorrect position on the outer control.
--- In flexcoders@yahoogroups.com, rueter007 [EMAIL PROTECTED] wrote:
what exactly are you trying to do after the scroll event?
--- In flexcoders@yahoogroups.com, toofah_gm garym@ wrote
I am seeing some terrible problems when attempting to make my html
text look nice in a TextArea component that uses embedded fonts.
It seems that my br/ tags and my spaces are not being respected.
Here is some sample code that shows it all. I have embedded arial.ttf
font in this example since
Did anyone see this post? Is there really no trigger to use?
--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:
Is there an event that I can use to know that the ContextMenu is about
to pop up when the user Right Clicks? I would like to run some code
to enable/disable
@yahoogroups.com, toofah_gm garym@ wrote:
Did anyone see this post? Is there really no trigger to use?
--- In flexcoders@yahoogroups.com, toofah_gm garym@ wrote:
Is there an event that I can use to know that the ContextMenu is
about
to pop up when the user Right Clicks? I would
I just found my answer:
http://livedocs.adobe.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=1276.htm
The ContextMenu has an event: ContextMenuEvent.MENU_SELECT
--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:
Thanks
Is there a way for a Flex application to get outside the sandbox by
asking the user to trust it or something similar?
I would like my Flex application to be able to read from the system
Clipboard.
I understand the security issues at stake, but know that other
technologies like java applets can
[mailto:[EMAIL PROTECTED] On
Behalf Of toofah_gm
Sent: Friday, November 09, 2007 12:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Getting outside the sandbox
Is there a way for a Flex application to get outside the sandbox by
asking the user to trust it or something similar
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of toofah_gm
Sent: Friday, November 09, 2007 12:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Getting outside the sandbox
Is there a way for a Flex application to get outside the sandbox by
asking the user to trust
Is there an event that I can use to know that the ContextMenu is about
to pop up when the user Right Clicks? I would like to run some code
to enable/disable some of my custom context menu items.
Thanks!
Gary
PROTECTED] On
Behalf Of toofah_gm
Sent: Wednesday, November 07, 2007 2:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AFEFontManager
I logged the following bug about fonts rendering incorrectly:
http://bugs.adobe.com/jira/browse/SDK-13352
I got this response:
This problem only
I logged the following bug about fonts rendering incorrectly:
http://bugs.adobe.com/jira/browse/SDK-13352
I got this response:
This problem only happens with BatikFontManager. The fonts show up
correctly for both JREFontManager and AFEFontManager.
I have tried Googling AFEFontManager as well as
Has anyone been able to reproduce this problem with my sample code? I
can send my TTF file if that would help.
Thanks!
--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:
Here is a simple app that shows this problem. I'd be glad to send you
my TTF file if you need
font in MS Word
you will notice that this does not happen.
Am I going crazy, or is there a problem in Flex here?
Thanks!
Gary
--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:
Has anyone been able to reproduce this problem with my sample code? I
can send my TTF file
I logged the following bug: https://bugs.adobe.com/jira/browse/SDK-13352
I guess we'll see what happens to it. It has some screenshots
attached to it so that you can see what I am talking about.
--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:
Sometimes I feel like I am
I am embedding TTF fonts into my application. We have included most
of the European character sets in these fonts.
Now the problem. The fonts show up correctly in MS Office and other
windows applications. But when some of the European characters are
typed into my Flex application, the top
horizontalScrollPolicy=off/
/mx:Application
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
Can you create a simple test case?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of toofah_gm
Sent: Thursday
Subject: Re: [flexcoders] Custom Drag Cursors
Are you using the cursorManager or just when a drag happens? u cant just
use cursorManager.setCursor(...whatever u want) on mouse move
- Original Message
From: toofah_gm [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday
{
if (!DragManager.isDragging)
{
CursorManager.removeAllCursors();
}
}
]]
/mx:Script
/mx:Button
--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:
Alex
I am trying to use my own custom cursor for drag and drop
functionality and having a little trouble.
I have added my own cursor to mouseOver on the object that is
draggable...this is to indicate that the object is draggable.
I have setup css style for all of the DragManager cursors like this:
PROTECTED] On
Behalf Of toofah_gm
Sent: Tuesday, October 02, 2007 3:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Mouse Wheel over TextArea
I have a Canvas with a number of TextArea components, Images, Sprites,
etc, on top of it. The Canvas itself is a scrollable area. When I
use
I have a Canvas with a number of TextArea components, Images, Sprites,
etc, on top of it. The Canvas itself is a scrollable area. When I
use the Mouse Wheel over most parts of the Canvas, it scrolls up and
down. If my mouse is on top of one of my TextAreas, the Canvas does
not scroll when I use
73 matches
Mail list logo