Waiting on a server-side bugfix, so enjoy. Working example:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
mx:Script
![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
private var
hi josh nice example but how about using one slider with two thumbs?
Be aware that the post Alex has referenced also states that it doesn't
work with modules, so you'll have to find a different solution if you
want to use them.
((And slightly off topic, but commenting on a comment by Alex earlier, I
still do not agree with that security restriction. If someone
Don't know, I imagine the first step will be building or locating a
dual-thumb slider :)
On Wed, Aug 6, 2008 at 4:42 PM, stinasius [EMAIL PROTECTED] wrote:
hi josh nice example but how about using one slider with two thumbs?
--
Flexcoders Mailing List
i managed to build a dual thumb slider that i pass on the filter
function. here is the code.
mx:HSlider x=0 y=240 id=priceSlider minimum=0
maximum=300 tickInterval=10 snapInterval=10
thumbCount=2 values=[0,300] tickColor=#ff
labels=[$0k,$300M] liveDragging=true width=182
Shows how often I use the sliders. I didn't know you could use multiple
thumbs... This is not performant, you should be getting the max and min
within updateFilter() and sticking them in private vars, not in the filter
function itself... but you get the idea.
private function
The only one approach to that problem is to fill the dataprovider with data.
That's the way list components works. I found the same problem and I had to
go that way
2008/8/5 Josh Millstein [EMAIL PROTECTED]
I have a ADG with a dataprovider that is set dynamically. I would like
to
be able
Hi,
I have an app making a simple flash remoting call to CF and it works
fine of multiple servers, runs in the local environment and returns a
query from ColdFusion as expected.
Problem is as soon as my client deploys on their company network the
remoting call fails, no error message
Get some software that lets you see the responses like Charles or
Service Capture, that will give some more information on what's going
on.
Gk.
Gregor Kiddie
Senior Developer
INPS
Tel: 01382 564343
Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ
Registered
Nice one Gregor I will give it a go. I think the calls are leaving
the swf just having trouble returning into the browser/swf!
On 6 Aug 2008, at 11:08, Gregor Kiddie wrote:
Get some software that lets you see the responses like Charles or
Service Capture, that will give some more
I take that back I do not think they are leaving the browser, gonna
try Charles...
On 6 Aug 2008, at 11:10, Simon Bailey wrote:
Nice one Gregor I will give it a go. I think the calls are leaving
the swf just having trouble returning into the browser/swf!
On 6 Aug 2008, at 11:08, Gregor
Framework caching is potentially a useful way to reduce the download
required for each flex application. It doesn't benefit the user if
there are not many sites using it as the total download of the flex
app + framework as a seperate file is greater.
I am working on some integration for a public
Does flex allow recording microphone input and save it locally? I read a
comment somewhere saying you need Java components to do all that. The Java
comment might actually have been about a dynamic mike attached through an
mbox but I'm interested in that as well.
I can do so with Java, but I want
Yeah, I don't know what to do ...
I think the image you added in your template is late to show than print
job execution.
May be flex need delay or doEvent command ...
hehehe ... it's i think bro
Could anyone give me the links from where I can find various flex
treeview samples?
Thanks in advance.
Gan
Hi,
We have a project to automate a flash player 9 application.
When we tried to record the actions performed on this application, it
is showing as a MacromediaFlashplayerActiveX winobject.
It is identifying the entire application as a single object, instead
as individual objects.
Could
I have a .as class extending arraycollection.
In the constructor I set up a webservice and listner to capture the
result in resultHandler
Ideally in resultHandler I'd do something like
this=event.result;
but it doesn't work, so I am looping over the event.result, adding it
to the array
that means the total download
for a user without the framework cached is 949k
Only the first time, the second time they visit, they get the benefits.
I think what you've described is the hurdle that the majority of people
are coming to. The initial download appears to be much bigger, so they
Odd, Charles seems to state that the crossdomain is failing however
its temporarily open to * and still not working. I have since also
discovered that the company has previously had to add proxyserver and
proxyport params to access http calls. So if remoting uses http then
how the heck
how can I establish a socket connection on a network using proxy server
with flex 3???
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
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:
Interesting. So either the documentation is very old, or
[DefaultProperty]
simply isn't inherited? Either way the docs could use updating. I'll
put
testing this onto my todo list :)
As you know, I'm not nearly the
On Wednesday 06 Aug 2008, thatstephen wrote:
for a user without the framework cached is 949k. This is 230k more
than if the framework cache is not enabled.
Your users are already there, and if you've decided 673k can be sent quick
enough, it's only a third or so more.
And, the more people who
On Tuesday 05 Aug 2008, joseph_freemaker wrote:
Any assistance would be appreciated.
The charting classes are not open source, so probably aren't in your download.
--
Tom Chiverton
This email is sent for and on behalf of Halliwells LLP.
If you have a 64x64 image, you can set up a 16x16 mask:
mx:Image width='64' height='64' mask='{imageMask}' /
mx:Canvas id='imageMask' width='16' height='16' x='0' y='0' /
Then all you'd need to do is animate the canvas to relocate when you
need it to. Seems simple enough.. haha :D You could
Hi Coders
I want to return a value from a handler function that is nested inside a
function. The scenario is to check the duplicate
Does anybody know how to achieve it?
public function checkDuplicate(email:String):Boolean {
var checkStmt:SQLStatement = new SQLStatement();
I write .cfm files to test my code to ensure its working. Perhaps
writing a quick .cfm to validate you can hit the coldfusion server would
help...? That way you have better error reporting from the remote
components and can dump variables easily as well.
Regards,
Scott
Does anyone know of a way to collect a CRC from a flex or air
application file? I would like to verify that they are running the most
current version and the code I wrote as they hit my remote components.
Thanks
Scott
By definition an event handler shouldn't return a value, since no object can
actually retrieve this value. You'll need to use some other way - perhaps you
could save the result in a private variable inside you class, or have the event
handler call another method. It depends on what you are
I just thought of something else... Did you check the
services-config.xml to ensure outside access?
Regards,
Scott
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Scott
Sent: Wednesday, August 06, 2008 9:43 AM
To:
Ok, I have created a custom itemRenderer which displays my context
menu perfectly.
Now, how do I get at the menu item data that the context menu came from.
IOW, I left click on my menu bar which drops down a menu; I then right
click on a menu item (Let's say it is Show some Cool Stuff) which
Hi Scott and thanks for the replies, I can hit it fine from a few
different servers cross domains ( BTW this is using the old flash
remoting for AS2 ) and this only seems an issue on this one particular
network whilst the swf is in a browser, hence me thinking this is a
firewall issue?
I just keep a string of the version they are using, then compare that with
the server's version. If they don't match, make them run the updater (air).
On Wed, Aug 6, 2008 at 10:45 AM, Scott [EMAIL PROTECTED] wrote:
Does anyone know of a way to collect a CRC from a flex or air
application
A friend of mine just forwarded me this... Which I think would be
interesting to anyone who uses, has used, or may use Cairngorm.
http://weblogs.macromedia.com/amcleod/archives/2008/08/cairngorm_moved.html
Rick Winscot
Hi, i want to set the height of my application dynamically.
My app has a tree menu to the left and product thumbnails on the right.
I want to increase the height of the application depending on the
number of rows displayed in my product thumbnails. (The goal is to be
able to scroll with the
Fellow FlexCoders...
I am sitting here having a debate on how the event phases works in
AS3. A couple of us have differing opinions of how events bubble, up
or down, inside or out. Maybe I've always been a little confused
exactly how bubbling works through the display object hierarchy, can
you
Hi All,
I am using Cairngorm and UM Extensions and when i try get a
RemoteObject using the ServiceLocator i am getting the following Error..
[ERROR]
Here in LoginDelegate() and responder =[object Callbacks]
Error: Service USER_INFORMATION_SERVICE was not found in the Cairngorm
Services
Patrick -
Events bubble up the parental chain from the dispatcher. So, your child
will not ever catch an event that is dispatched by its parent (bubbling
or non). Conversely, parents will always catch bubbling events
dispatched by their children. This should also aid you in understanding
I see this thread is a bit dated, but I have the same question as
well. I'm trying to display the typical red slash option available in
most Adobe applications. I've scoured the docs and don't see any
option for this.
Sherm
Yeah shoot, my bad. Take the values property out of the tag. Should
have said set the min to 0 and the max to 3,000,000 (like you have it.
The values will lock the thumbs to those two positions (values) only.
-TH
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:
And go back to your original filterFunction:
if ( (city_cb.selectedLabel == All || item.city ==
city_cb.selectedLabel) (lct_cb.selectedLabel == All ||
item.location == lct_cb.selectedLabel) (item.value
priceSlider.values[0] item.value priceSlider.values[1])
){
result=true;
}
return result;
bubble up the parental chain from the dispatcher, I think this
language makes it easier for me to visualize.
Thanks,
Patrick
--- In flexcoders@yahoogroups.com, Scott Melby [EMAIL PROTECTED] wrote:
Patrick -
Events bubble up the parental chain from the dispatcher. So, your
child
will not
Here is a simple example, which demonstrates what the docs say
?xml version=1.0 encoding=utf-8?
mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
applicationComplete=main()
mx:Script
![CDATA[
I have read couple of posts/presentations regarding Modules..But
still I am not able to figure out the issue. I really appreciate if
anyone can help me out here.
I am getting ReferenceError: Error #1069: Property child not found on
MyApp and there is no default value.
at
We're not sharing how many folks out there have the RSL yet according to our
survey, but it is growing. I would definitely encourage turning the RSL on.
Matt
On 8/6/08 6:16 AM, Tom Chiverton [EMAIL PROTECTED] wrote:
On Wednesday 06 Aug 2008, thatstephen wrote:
for a user without the
On Aug 6, 2008, at 12:48 PM, Ralf Bokelberg wrote:
for each( var component in [this, hb1, hb2, b1, hb3])
Hadn't seen that done before.
nice.
The only downside to the whole event bubbling hooplah is that all
your components, and all your children need to extend EventDispatcher
or some
So I have a combobox that I have styled using the flex style explorer,
but something is amiss.
When you mouse over the combobox the border color flickers, well I
guess the theme color makes it look like it is flickering on mouseover.
The border color seems to be fade from top to bottom so
Why child is null in the first case ?
private function btnStatsClickHandler(event:Event):void
{
var module:IModuleInfo =
ModuleManager.getModule(com/test/module/pictureviewer/PictureViewer.swf\
);
module.addEventListener(ModuleEvent.READY,
That's what I was doing, however I can't ensure that someone is
attaching to my remote component with their own function then. I was
hoping to catch a value off of a crc check and use that as verification
to the remote object that it's really my code that's touching the CF
side.
I wouldn't think it would be a firewall issue unless its on the remote
side and it has stateful packet inspection... It's all port 80 traffic,
so if you can browse to other sites then you can flash remote.
I had numerous issues with as2/flash remoting; so many that I dropped
developing in it
Ahh, yes, that does work. I was looping as you suggest, but the
collection change event was firing each time. Now that I think about
it I suppose the best ting to do would be to hook up the event
listener on the last addition to the ac? Or is there a better practice
out there somewhere?
--- In
I've got a combo box that, when altered, turns hides or unhides
certain elements in the form. However, to keep those items from
snapping in badly, I put a simple zoom effect on them.
So now I watch VBoxes shrink out of view, as others bounce into view.
It's a good effect, but I notice that the
Have a web based AMF flex app.
Am looking for any open source tools that would help me capture
traffic and also any user interactions.
I have a custom component that is basically just a panel wrapper around
a webservice and a datagrid populated by the webservice. I want to be
able to produce a bubbling effect where an itemSelect fires an internal
handler and then and external handler on the parent of the custom
component. I
You did restart the ColdFusion server right?- Original Message From: Scott [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Wednesday, August 6, 2008 12:56:18 PMSubject: Re: [flexcoders] Remoting failsI wouldn’t think it would be a
firewallissue unless its on the remote side and it
Hi All,
I did lot of testing and Still cannot figure out why the
ServiceLocator is unable to get the RemoteObjects..
When i try to create a new Object using new
RemoteObject(SERVICE_NAME) it works. How ever the same code returns
null from my Delegate !
My Services.mxml looks like
Hello,
I am trying to figure out how to add an item to the default context menu
when someone right clicks inside the stage. I know I have to add a
ContextMenuItem to the ContextMenu.customItems properties, but I'm not sure
how to reference the default menu. Listening for a MouseEvent.RIGHT_CLICK
service capture (have used - works great) http://kevinlangdon.com/serviceCapture/
, or charles (have not used) http://www.charlesproxy.com/
On 6-Aug-08, at 11:23 AM, jbluedelta wrote:
Have a web based AMF flex app.
Am looking for any open source tools that would help me capture
traffic
...firing an handler off the itemSelect event and then in the handler
creating a new event and dispatching that to an external handler
That is how I do it. What didn't work?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
I was wondering if anyone has done any caching of data in Flex? And if
so how did you do this?
I have an application that pulls in up to 500 items and converts them
to DTO's. The app then runs a routine, which generates objects based
on those dto's. The generation of objects is very memory
As you loop over the objects you can save them in an array instead of
in the collection. When the array is finished being populated you can
set it to be the source on the collection. That would result in only
one collection change event.
--- In flexcoders@yahoogroups.com, Richard Baker [EMAIL
I have listed my setup below.
Results:
I have confirmed that the initialize event on the parent object adds
the event.
Clicking the item on the grid, fires the internal handler and I have
confirmed that it dispatches the custom event. However, the parent
event handler for the custom event
Ok, once I've downloaded the flex3sdk, then ?
I was wondering if anyone of you guys know a tutorial about how to
start creating
application with the flex sdk, and installing so forth, any given help
would be
appreciated. I've tryied the adobe help, but it seems so obscure for
me, any
Howdy-
Does anyone know of a way (AS3 or mx:CustomComponent) that tests if
the user's internet connection is live?
I have an application with error processing that needs to know if an
RPC failed because the user's connection is down...
Thanks!
Naga
Looks ok to me.
The event is bubbling, so try listening for the event at the Main app
level:
this.addEventListener('dgItemClick', CtgsPnlDGItemClick)
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rss181919
Sent:
Do you simply want to see the traffic? or you want to record gestures and play
them back?
Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
jbluedelta
Sent:
Hi all;
I'm trying to use an iconFunction with a TileList that has just a plain
Jane unextended Button as its itemRenderers. I'm trying to use the
iconFunction to set the icon on the buttons, but it doesn't seem to me
that the button is recieving the information from the ListBase. I have
The more interesting question is why the second one isn't. Because all
of your references to the module are in temporary local variables, as
soon as you exit the click handler, the module is available for garbage
collection, and in the first case it got collected and the second it
didn't, but
Modules are not applications.
Application.application is the application in MyApp.mxml
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of s20678
Sent: Wednesday, August 06, 2008 9:35 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
FWIW, we didn't make up the event model. It is based on the W3C spec
http://www.w3.org/TR/DOM-Level-3-Events/events.html which has a pretty
picture in it
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jon Bradley
Sent: Wednesday, August
App height is bound by the stage size. It sounds like you actually want
to change the player's object size in the browser which requires
javascript and ExternalInterface
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of guillaumeracine
Hi,
Have you tried the Flex Getting Started site here:
http://learn.adobe.com/wiki/display/Flex/Getting+Started
Or the quick starts under the Getting Started tab on the Flex Dev
Center: http://www.adobe.com/devnet/flex/
Stephen
From:
Keep track of rollover events?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of valdhor
Sent: Wednesday, August 06, 2008 8:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Add a context menu to a menubar item
Ok, I have
We're discussing whether you can have an app template. Suppose you
wanted every app you build to have a menubar at the top and controlbar
at the bottom. If you just do
AmyAppTemplate.mxml
mx:Application
mx:MenuBar/
mx:ControlBar /
/mx:Application
You can't just use that in your next
Printing is synchronous, and image loading isn't. Normally you have to
pre-load all images before starting a print job.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cyber_runners
Sent: Tuesday, August 05, 2008 7:59 PM
To:
Button doesn't pick up icons for free when it is a renderer. Good
subclassing challenge though!
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Amy
Sent: Wednesday, August 06, 2008 1:39 PM
To: flexcoders@yahoogroups.com
Subject:
anyone knows a good tutorial ( not the adobe one) to start developing
with the flex sdk, what do I need and also how could I install that?
Regards,
Gustavo
P.s: my system is a mac g4 osx jaguar.
Never mind, I figured it out. I am supposed to create a ContextMenu with the
options I want and assign it to the Application.contectMenu property.
Thanks anyways!
~Aaron
On Wed, Aug 6, 2008 at 12:01 PM, Aaron Miller
[EMAIL PROTECTED] wrote:
Hello,
I am trying to figure out how to add an
I pass false to my begin() method and that stops the
DataServiceException from happening, but now nothing seems to happen
after I commit(). Here's a current code snippet:
DataServiceTransaction dst = DataServiceTransaction.begin(false);
dst.refreshFill(myTasks, null);
dst.commit();
The
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
Button doesn't pick up icons for free when it is a renderer. Good
subclassing challenge though!
Hah! This project has been a baptism by fire in Flex. I'll barely
break a sweat :-p.
Thanks :-)
Hi Tom,
Thanks.
Where do licensed users get the latest fixes or build for Flex3 + charting?
Joe
- Original Message
From: Tom Chiverton [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, August 6, 2008 6:38:26 AM
Subject: Re: [flexcoders] Cannot install latest Flex
I modified the call as follows:
pdb:CategoriesPnl id=CategoriesPnl initialize=CtgsPnlInit
(event);/pdb:CategoriesPnl
private function CtgsPnlInit(event:Event): void
{
this.addEventListener('dgItemClick', CtgsPnlDGItemClick)
Alert.show(this.hasEventListener(dgItemClick).toString());
}
Hardly secure considering they can just determine what the value should
be and pass you that. If they're going to the trouble to do manual
calls like that, I wouldn't put them also being far off grabbing that
correct CRC.
Hasn't anyone learnt from how much the q3cdkey and ea-f1c checks failed
Oh, this will be fun :/
Tried establishing your connection to the proxy server yet, not the
destination endpoint?
Tim Rowe
Software Engineer
carsales.com Ltd
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of walberleal
Sent: Wednesday, 6
Complete example with 2 thumbs (from the earlier example):
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
mx:Script
![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
private var
I still stand by my original rant saying just use a component :)
mx:Application
funk:FunkAppTemplate
!-- App controls --
/funk:FunkAppTemplate
/mx:Application
I'm a big fan of using composition over inheritance when possible. Don't
treat mx:Application as your application, think of it
Hey guys,
Is there an easy way I can have multiple copies of Builder running at the
same time (with different workspaces)? This would really make my life
easier!
-Josh
--
Therefore, send not to know For whom the bell tolls. It tolls for thee.
:: Josh 'G-Funk' McDonald
:: 0437 221 380 ::
Ok, so after all this discussion (thank you by the way) I came to the
realization that what I needed to do is be running my Flex swf as trusted.
So I moved it and all my in-house created support swf to the app directory
so they are installed with the app. So far so good, as I already had support
I don't think I've seen anything like this before and maybe I'm just going
crazy.
I've got a class that extends TitleWindow, it has a few setters and some of
these can affect what the displayed title should be. These all use
invalidation flags and don't get fully committed until commitProperties.
Hey Josh,
What's up with:
return item.value =
Math.min(priceSlider.values[0],priceSlider.values[1])
item.value =Math.max(priceSlider.values[0],priceSlider.values[1]);
You can avoid this by setting allowThumbOverlap=false. Then just use:
return item.value = priceSlider.values[0] item.value
Coz it's a quick and nasty (but working) example, and I have zero knowledge
about the finer details of the slider controls :)
On Thu, Aug 7, 2008 at 9:28 AM, Tim Hoff [EMAIL PROTECTED] wrote:
Hey Josh,
What's up with:
return item.value =
FWIW, If I were building this for users, I'd still allow sliders to overlap
for ease-of-use purposes, but I'd fetch max and min on change rather than
every loop of the filter function ;-)
-Josh
On Thu, Aug 7, 2008 at 9:31 AM, Josh McDonald [EMAIL PROTECTED] wrote:
Coz it's a quick and nasty
No worries. Actually, allowThumbOverlap=false is the default. For
me, allowing thumb overlap would purly depend on the use case. My
opinin is that it makes more sense to the user to not allow the right
thumb to go past the left thumb and vice versa. but, IMHO. Good
example.
-TH
--- In
The title property is simply a property that gets passed to the title
UIComponent in commitproperties. Timeline:
1. You call super.commitProperties()
2. super.commitProperties() sees that this._title hasn't changed since the
last commitProperties(). so doesn't set _myTitleComponent.title (or
It's probably just a personal preference. You're thinking max and min
thumbs, I'm thinking between foo and bar :)
I was just thinking about the use case where the user has min = 1000, max =
2000 and wants to set min=0, max=800 - without thumb overlapping, you've
gotta move the min thumb first,
it should have still updated on the next invalidation pass because in
Panel.as my call to set title sets _titleChanged = true, which should cause
that logic block to execute in the next commitProperties. Maybe I was off in
debugging and never hit another invalidation pass.
This does bring up a
After a quick poke around in Panel.as, it seems that what I described isn't
*exactly* what's going on, you might want to do some single-stepping to see
where it's going wrong. But the root probelm is the same, and the solution
isn't to put super.commitProperties() at the end of your method. You
Where's the HTML page loaded from? Domain security rules apply to that
too.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Steve Mathews
Sent: Wednesday, August 06, 2008 4:20 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Man, you are strict! There is no reason you can't do work in your
override before calling super.whatever()
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Wednesday, August 06, 2008 5:25 PM
To:
Invalidation of the same phase while processing that phase is ignored
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel Gold
Sent: Wednesday, August 06, 2008 5:07 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Must call
1 - 100 of 123 matches
Mail list logo