The flex2gateway is defined in the services-config.xml file found in
your_cf_install_path/wwwroot/WEB_INF/flex/
Depending on how you set up your flex project, this file will be used
during compilation so your remote objects will know what
'destination=ColdFusion' actually means.
After you edit
Why not have two Image components, one on top of the other? As the
user brings up on image you can fade one out and fade the other in.
--- In flexcoders@yahoogroups.com, dorkie dork from dorktown
dorkiedorkfromdorkt...@... wrote:
I'm trying to create an image gallery component and I need some
Check out the Flash Switcher Firefox extension.
--- In flexcoders@yahoogroups.com, tom s tcs2...@... wrote:
Hi All,
I have the flash debug player installed for FireFox and IE.
What is the best way to test flash apps in the normal (non-debug)
player on
the *same machine*?
(I don't have
Frankly, using the ServiceLocator in the first place is far from a
best practice. In the past, I've done this to initialize my remote
objects:
var ro:RemoteObject =
RemoteObject(ServiceLocator.getInstance().getRemoteObject(ro));
ro.endpoint = myEndpoint;
ro.source = mySource;
You can do
I've run into this before. It appears to be a bug with leading. If you
set it to zero, this won't happen, but the lines of text will be a
little too close together. You can probably monkey patch it.
--- In flexcoders@yahoogroups.com, Michael Prescott
michael.r.presc...@... wrote:
If you have a
When a UIComponent is set to visible for the first time by the
LayoutManager, the SHOW event is suppressed. The CREATION_COMPLETE
event fired immediately after that call to setVisible, so you should
be able to achieve whatever effect you're going for by registering the
same function to listen for
The stack trace trick works well. I've written a little class that
automates the check.
http://michaelvandaniker.com/blog/2008/11/25/how-to-check-debug-swf/
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
If the app has debug info in it, the text in an
Just create the package structure for mx.core in your source folder
and copy UIComponent to that directory. The compiler will use that
UIComponent instead of the one in the SDK, so if you change the base
class there everything should work as you expect. You'll need to grab
Version.as as well
--- In flexcoders@yahoogroups.com, Michael VanDaniker michael@
wrote:
Your question is a bit vague, but I'll try and be of some help.
You can use the ImageSnapshot class to get the ByteArray the backs
your image. Then you can store those bytes in a database and pull them
up later. If you're
Your question is a bit vague, but I'll try and be of some help.
You can use the ImageSnapshot class to get the ByteArray the backs
your image. Then you can store those bytes in a database and pull them
up later. If you're building an AIR application and saving the image
to a local database
Image, like all UIComponents, has a zero argument constructor. Unless
your imageWithData knows what its username is going to be without any
outside info, it wouldn't make sense to do much of anything with the
username in the constructor. If you're going to be instantiating your
images in
displayObjectA can by masked by displayObjectB with the assignment
displayObjectA.mask = displayObjectB;
This will cause only the portions of displayObjectA that are under
displayObjectB to show through. Also, you won't actually see any of
displayObjectB.
There is an example in the docs that
Use this as the sortCompareFunction on your column:
public function compareValues(a:Object, b:Object):int
{
if(a == null b == null)
return 0;
if(a == null)
return 1;
if(b == null)
return -1;
if(a b)
All you have to do is extend the right classes :)
Your event class should extend UMEvent. UMEvent has a callbacks
property, and within that Callbacks object you'll specify the
functions you want called when your delegate finishes (successfully or
otherwise). Like so:
private function
very much for your response.But i am not aware of this
dataFunction.Can you provide me with an example.The link you sent is
just showing the signature of the method.
Thanks in Advance,
Poornima
From: Michael VanDaniker [EMAIL PROTECTED]
To: flexcoders
I would guess that something is wrong with the line of code where you
actually make the call to the RemoteObject. Maybe you're doing
something like
var token:AsyncToken = remoteObject.call;
instead of
var token:AsyncToken = remoteObject.call();
Can you post some of the code around your call?
Since you're plotting dates you'll want to use a DateTimeAxis, but you
need to make sure that your chart is actually getting Dates. In your
current setup DateTimeAxis is trying to create Dates using the
Date.parse method, but the format isn't one that the method can
handle. That's why you're
You can access your top-level application anywhere in your code via
Application.application. To call the method named myMethod, you
would use the statement Application.application.myMethod().
You can easily add event listeners on sub-components if you give the
components id's. Taking your
You could create separate sprites for each rectangle and apply the
smaller one as a mask to whatever content is meant to show through the
window.
--- In flexcoders@yahoogroups.com, Christoph Leva
[EMAIL PROTECTED] wrote:
Hi all,
I am trying to cut a smaller rectangle (name: cutout) out of a
You'll want to check out the WindowShade component in flexlib
--- In flexcoders@yahoogroups.com, burttram [EMAIL PROTECTED] wrote:
Is there any way to prevent and accordion control item from opening,
so that the header will just act as a button?
I'm currently trying to use an accordion
If 45 degree fill doesn't work out, you can implement bilinear
interpolation.
http://en.wikipedia.org/wiki/Bilinear_interpolation
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:
s/45 degree radient fill/45 degree gradient fill/
-Josh
On Wed, Sep 24, 2008 at 9:46
You're going to have to be a bit more specific before we can help you.
What things aren't looking good? How does sizing things with
percentage values play into your problem? Anything that subclasses
UIComponent can be sized with percentages.
Flash Player is designed to display things
If your collection is sorted by timestamp a binary search would be faster.
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
You'll have to loop through yourself and keep track of the minimum
difference
From:
the closest value to
the timestamp i am searching for.
--- In flexcoders@yahoogroups.com, Michael VanDaniker michael@
wrote:
If your collection is sorted by timestamp a binary search would be
faster.
--- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
You'll have
/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8460]
at
mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8403]
Michael VanDaniker wrote:
Certainly!
mx:ColumnChart
You have to tell your AxisRenderer which axis it should render by
setting the axis property.
--- In flexcoders@yahoogroups.com, coder3 [EMAIL PROTECTED] wrote:
Hi All, i have flex2 code, and now shows warnings in flex 3
for example,
mx:CartesianChart
:::
in the documentation for AxisRenderer:
http://livedocs.adobe.com/flex/3/langref/mx/charts/AxisRenderer.html#includeExamplesSummary
--- In flexcoders@yahoogroups.com, coder3 [EMAIL PROTECTED] wrote:
not sure how to do it.
is there an example?
thanks
Michael VanDaniker wrote
I haven't run this code, but I don't see why it wouldn't work:
this.source = event.result.source;
I personally prefer looping through the returned collection and
translating the raw objects into instances of a class I've defined.
This allows for compile-time checking on anything you want to do
there somewhere?
--- In flexcoders@yahoogroups.com, Michael VanDaniker michael@
wrote:
I haven't run this code, but I don't see why it wouldn't work:
this.source = event.result.source;
I personally prefer looping through the returned collection and
translating the raw objects
My guess is that you have something like this...
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Canvas id=canvas
mx:LinkButton id=aboutMeLink
/mx:Canvas
/mx:Application
If that's the case, the aboutMeLink is a child of canvas and you'll
need to call
You'll want to listen for the change event on the slider. In the
event handler you can do something like this...
collection.filterFunction = filterByPriceRange;
collection.refresh();
Then you'll want your filterByPriceRange function to return true if
the price of the given object is between the
flexexamples is a great site for fully functioning code snippets.
In the example here
http://blog.flexexamples.com/2008/03/12/using-a-combobox-to-filter-items-in-a-datagrid-in-flex/
you'll want to swap out the CheckBox for a HSlider, obviously. Then
you can call toggleFilter() when the slider
Are these the same instance or unique instances with in each of the
class instances themselves (mainclass/class3)?
MainClass.mxml:
mx:script
![CDATA{
Import com.myapp.models.LoginClass;
...
..
And
Class3.mxml
mx:script
![CDATA{
] wrote:
The import class; is what creates the instance? So in other
words, if I use the import thisfile.mxml in each of my other files,
each one is creating another instance of the thisfile.mxml?
From: flexcoders@yahoogroups.com on behalf of Michael
You can use Capabilities.language to get the local language.
You don't have to bundle your resources directly into the application.
You can use resource modules to externalize the bundles into separate
swfs and load the required one at runtime based on the user's language.
The documentation on
For full applications, the showcase on Flex.org
http://flex.org/showcase http://flex.org/showcase is worth a look.
On a lower level, the custom components in the flexbox
http://flexbox.mrinalwadhwa.com/ could serve for some inspiration as
well.
Happy coding,
-Michael
--- In
Have you tried using setTimeout instead of listening on Timer events?
--- In flexcoders@yahoogroups.com, steve.baney [EMAIL PROTECTED] wrote:
Howdy all!
I've got a memory leak issue with my problem. I just added a third
party countdown timer component to my project. I've narrowed down the
I recently worked on a project for an info viz course, and one of my
group mates built a parallel coordinates plot. I've been blogging
about the different visualizations we developed, and I was about to
write up the pcp. It'll be a while until I get around to it though.
One word of warning:
, brian.staats [EMAIL PROTECTED]
wrote:
Thanks Michael, Can you share your info viz blog? Id be interested in
the other visualizations.
--- In flexcoders@yahoogroups.com, Michael VanDaniker michael@
wrote:
I recently worked on a project for an info viz course, and one of my
group mates built
You want to look at the event's currentTarget instead of target.
From the documentation for MouseEvent:
target = The InteractiveObject instance under the pointing device. The
target is not always the object in the display list that registered
the event listener. Use the currentTarget property to
You want to set includeInLayout to false
--- In flexcoders@yahoogroups.com, whatabrain [EMAIL PROTECTED] wrote:
When I hide an object using the visibility attribute, it still takes
up space in the document. I know that in css, you can use the display
style to fix this. How do you do it in
This feels like comparing apple and oranges. Can you provide a bit
more information about the complexity of your graphics calls and how
you're able to consider them as replacements to move operations?
The little test I just ran seems to show that graphics operations are
faster than calls to
You can tween the value property between your start and end values.
For a tweening engine I recommend Tweener or TweenLite.
--- In flexcoders@yahoogroups.com, Andreas Santoro
[EMAIL PROTECTED] wrote:
Hi,
i try to animate a mx:HSlider. I wannt the slider to move smoothly
to his new value.
You've declared that the instance obj should be bindable, but that
doesn't make the properties on the class Object bindable. What you
can do is create a class for the object you want to pass your custom
component and add the bindable metadata tag to the properties you want
to bind on.
You can
I realize this is a fairly old thread, but it ended without much
resolution. If there is anyone out there still interested in drawing
heat maps, I have an implementation that might be worth checking out.
http://michaelvandaniker.com/blog/2008/07/06/how-to-make-heat-maps-in-flex/
--- In
PopUpMenuButton forwards event from it's internal Menu object. Menu
only dispatches an itemClick event when the user clicks on a leaf
node. You can monkey patch Menu to fire off events when an internal
node is clicked by changing the mouseUpHander. By removing the check
on isBranch from the line
You're on the right track. Remoting calls are done asynchronously, so
code that depends on the result of an HTTPService can't be placed
immediately after the remoting call. The data will not have loaded
before those lines are executed.
The HTTPService's result attribute defines an event handler
47 matches
Mail list logo