So if you have a sprite, say a circle in shape, and assign a doubleclick event
handler to it. Then you add a child to the circle sprite, thus covering up the
circle sprite. How do you get the the top sprite to allow the underneath
(circle sprite) to hear the doubleclick?
I have set
Hi , Thanks alot for the help,
I have made some modification and it is working now , i ll post the full mxml
file later for the sharing
Thanking all of you ..
Does Flex have both a 32bit and a 64 bit compiler?
Oh... That's interesting. I could use attributes instead of nodes.
Thanks.
JC
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:
Flex will find the attributes but not the child nodes.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog:
On Mon, Mar 9, 2009 at 7:09 AM, James Riffe jtri...@24x7-systems.com wrote:
Does Flex have both a 32bit and a 64 bit compiler?
Hi James,
The Flex compiler is implemented in Java. So, if you want to take
advantage of 64-bit architecture, you will need a 64-bit JVM.
Fidel.
Please try the following.
mx:Repeater id=upcomingRepeater dataProvider={this.myXML.stat}
mx:Text id=upcomingText
text={upcomingRepeater.currentItem.empResults}
color={(upcomingRepeater.currentItem.empStatus ==
'VALID') ?
0xFF:0x00}/
/mx:Repeater
Hi,
I have got the REST POST working thru simple HTML Form submit.
This REST Service takes an XML and returns back an XML.
But, when I tried it with FLEX, I am getting Couldn't establish a
connection errors:
FLEX CODE:
?xml version=1.0 encoding=utf-8?
mx:Application
Can you post some code ...
Usually you have to bind on AC item if not using list or repeaters or grids ...
Or listen to the collection change event manually ...
However for Boolean and other primitive types the bindings should fire right
away...
Claudiu
There was a topic like this a few moths ago, check the archives .. you'll find
some nice stuff in there ...
Claudiu
From: Shyam Prasad khtsh...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Sunday, March 8, 2009 5:47:27 PM
Subject: [flexcoders] Flex
Hi all guru,
I have a question about ArrayCollection.
[Backend: MySQL,PHP]
MySQL return result in Array.
[Frontend: Flex]
dp = new ArrayCollection( ArrayUtil.toArray(event.result));
I want to convert ArrayCollection (dp) to XML, and show XML result in TextArea.
Help me please !
They could ask you about the followings:
Advanced Datagrid functionalities
Basic Operators like is, typeof, instanceof, , ===, !==
Basic function and constants like random(), Nan, indexOf()
Datatypes: Array, Number
Architecture: Cairngorm, PureMVC,
Event Delegation Model: bubble, traget and
In theory you should be able to child.addEventListener(MouseEvent.click,
handler) after doing
sprite.addChild(child), so you use the child for listening instead of the
parent sprite...
He child should be able to handle the clicks ...
HTH,
Claudiu
From:
Hi Bart,
Exactly what I needed.
Thanks a lot
--- In flexcoders@yahoogroups.com, bartman279 bartman...@... wrote:
Dispatch the DataGrid's itemRollOver event.
That event contains a rowIndex of the rolled over item.
Your listener could then be something like:
private function
http://nsdevaraj.wordpress.com/2008/08/20/arraycollection-xml/
- Alex C
--- In flexcoders@yahoogroups.com, tiend...@... tienda...@... wrote:
Hi all guru,
I have a question about ArrayCollection.
[Backend: MySQL,PHP]
MySQL return result in Array.
[Frontend: Flex]
dp = new
Could you please write a part of our code using flash.events.Event.ADDED on
this purpose ?
Josh McDonald-4 wrote:
I'd attach an event listener to systemManager which listens for bubbling
flash.events.Event.ADDED and flash.events.Event.REMOVED events and keeps a
list. You will of course
Hi All,
Is it possible to extend the LinkBar and have close buttons on each of the
LinkButtons of the LinkBar?
I don't find an itemRenderer property with the LinkBar control so that I can
use a custom item renderer to render the LinkButtons on the bar.
Is anyone aware of any such component?
It turned out that I've had 3.0. After recompiling main application with 3.2
(but child apps was still compiled with sdk 3.0) there was a difference, but
not as I expected - none of the children was scaled at all. After recompiling
child applications with sdk 3.2 they were scaled quite
ActionJack isn't mentioned:
http://www.beamjive.com/weblog/?p=38
--- In flexcoders@yahoogroups.com, Alex Ninan fle...@... wrote:
Take a look at the attached link
http://www.summa-tech.com/blog/2009/01/14/selecting-the-right-flex-application-framework/
On Tue, Mar 3, 2009 at 11:38 AM,
Why would you want to ask about specific components which can be easily
learned after you have hired the guy? Better to ask question about
programming principles and maybe Flash specific questions. But asking
about specific components is a bit odd in my opinion.
Anyways, Sidney had some nice
Hi.
I have to implement a virtual keyboard (for touch screen kiosk). All the
materials i've found on web was like adding text to some control, for example:
textInput1.text += 'a', but it would be killer-task to implement all the
functionality of keyboard like putting chars somewhere in the
I am trying to make a AIR app that is a test. I have radiobuttons with a value
of either 0 or 1 depending on if its correct or not. I want to pass the value
to a function that keeps score. I am running into a problem on determining the
value of the passed question to see if the app should add a
I need to automatically turn all keyboard input in all TextInput and TextArea
components in my flex application into upper-case.
It needs to function like if the user had actually typed it in upper-case. So,
the events with the lower-case input needs to be stopped and new events with
the
I am working on an application which purpose is to track a task time. Users are
checking in and out of tasks by scanning their badges. Scanning stations are
installed around a shop. Currently I have 5 stations. I would want to have all
these stations showing identical data. For that I have a
Is this anything of help?
capsLock property
capsLock:Boolean [read-only]
Specifies whether the Caps Lock key is activated (true) or not (false).
--- In flexcoders@yahoogroups.com, per.olesen per.ole...@... wrote:
I need to automatically turn all keyboard input in all TextInput and
Hello,
For a gallery, I want to rescale the original image to have a thumbnail image.
What instuctions to use ?
Thank you,
Christophe,
We use include files in Flex in a lot of places with no ASDoc issues. Is the
error because ASDoc is trying to process the include file as if it were a class
definition? If so, you should exclude the file from the build.
Or, are you getting a different error?
Stephen
From:
5) How do you add event listeners in mxml components. Now AS3 components?
I was actually asked this once (someone was actually asking me at work) - but -
I didn't really know how to answer the mxml portion - other than to give a code
sample...
custom:MyComponent eventType=eventHandler() /
Please keep in mind that a lot of the virtual keyboard designs are
patented in the U.S. As long you don't have to deal in the U.S. you can
ignore my comment.
ok, duh!!! mouseChildren = false did the trick.
--- In flexcoders@yahoogroups.com, claudiu ursica the_bran...@... wrote:
In theory you should be able to child.addEventListener(MouseEvent.click,
handler) after doing
sprite.addChild(child), so you use the child for listening instead of
Unfortunately, the text controls don't use events as input events, but dispatch
them as notifications instead, so you can't fake events to them.
Most brute force way is to set text to toUpperCase on the change event. Could
be slow on large strings and you may have to track and restore
I think I am finding that the problem is in the nextQuestionPlease() method.
The reference to questionsVS is null and I can't figure out why.
Here is the function:
public function nextQuestionPlease():void {
questionsVS.selectedIndex=currentQuestion;
}
Here is the
It is my strong preference that anyone asking a question about an error post
the entire stacktrace. It is like a fingerprint and makes it much faster for
me and others to identify problems.
In the original post, you are using selectedValue as the parameter which will
be 0 or 1, not the
Thanks Tracy and Jim.
Jim fixed that but no joy. Ended up re-broadcasting the event up the chain
which isn't terrible but wish i could take advantage of bubbling straight from
my DAO class instead of having to re-broadcast in my timeline class.
Thanks again for the help
--- In
Try switching destination to url
destinations need to be preset in services-config.xml
url=http://10.176.95.32:8889/SunRestTest/sunTest/testRest;
Also add a fault handler would help so you can place a break point and look at
fault event object for details.
--- In flexcoders@yahoogroups.com,
I'm trying to get to grips with some of the new 3D features in flash
player 10 and I'm having limited success. So I'm looking for some
helpful tutorials/examples. I've seen a few that are to do with gumbo,
but I'm not looking at that yet. Just flex 3.2/3.3 examples.
Some of the sites I've
[image: http://www.bindaaspoll.com/festivals/images/holi-greeting5.jpg]
[image: http://www.bindaaspoll.com/festivals/images/holi-greeting1.jpg]
[image: http://www.bindaaspoll.com/festivals/images/holi-greeting2.jpg]
[image: http://www.bindaaspoll.com/festivals/images/holi-greeting3.jpg]
That part seems to work fine no that I went through the
debugging values. Its a null reference which ties to the questionsVS
viewstack.
Here is the error for that.
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at
Post some code and we'll take it from there...
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of stinasius
Sent: Friday, March 06, 2009 10:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: how to close a titlewindow that was not
created as a popup
It is my humble opinion that you would need to initiate some type of
locking mechanism. The process locks until the one process is done. If
you have an application level backend then that could have a lock
variable with a unique ID to the specific process. when it is complete
you push your
That's kinda what I suspected. Thank you!
- Todd
--- In flexcoders@yahoogroups.com, jim.abbott45 jim.abbot...@... wrote:
No, according to the documentation (probably because it would be a privacy
violation):
The FileReference and FileReferenceList classes . . . do not allow the SWF
I have a test that I want to walk through the questions using a function. How
can I set the inital value of the ViewStack (questionsVS) to 0 and then
increment it by one each time someone clicks a button?
mx:ViewStack id=questionsVS width=98% height=100% paddingLeft=10
Hey there Wally,
You can get access to the currently selected viewstack, and also set it,
through selectedIndex. So your initial declaration would be like
mx:ViewStack id=questionVS etc... selectedIndex=0
click=nextQuestion()
and in your function nextQuestion you can increment the
I m also facing similar issue,Please see my code below:-
Custom Header Renderer:
[Bindable]
private var theImage:Class;
override public function set data(value:Object):void
{
dgColumn = value as DataGridColumn;
Yes, locking mechanism is what I am after. But my question what is a
technically correct way of implementing one.
--- In flexcoders@yahoogroups.com, Gregory Kelley gkel...@... wrote:
It is my humble opinion that you would need to initiate some type of
locking mechanism. The process locks
Hi did any one try this plug in for MS
Excel?
http://code.google.com/p/as3xls/
Is there any other out there?
Regards,
It depends on what you mean by flickering. It would be unusual for a label to
flicker. Images often do, and SuperImage from quietlyscheming.com can help,
but if the label if flickering, something else might be the issue.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
This can be done with the client in Flex with Flash 10 but most more
commonly is done server side. Here is a rough prototype I put
together a few weeks back. It required Flash 10 and so far is only
working in Windows:
http://blog.kukiel.net/2009/02/file-manipulation-client-side-with.html
Paul.
1. Are there any known issues with extending Label for item renderers?
No, but it's rare. 2. Assuming that the item renderer only needs to
manipulate the text of the renderer, is example 1 - extending
DataItemGrid - (below) a good way to do it? (I've never written one
before, so I'm just
When I added the click=nextQuestion() it was triggered off the selecting of a
radio button and not the button. Here all the code I have. It is telling me
that the viewStack doesn't exist when I believe it should.
test1.mxml
?xml version=1.0 encoding=utf-8?
mx:Module
Why are you converting the e4x XML into the legacy XMLDocument? And if you
really are satisfied working with dynamic Object instead of XML, then use
resultFormat=object and skip all that decdoing stuff. Flex will do that
for you. But that is the worst of both worlds; you lose the power of e4x
Also, you may see binding warnings, like Unable to bind to. XML is not an
IEventDispatcher.' This is kind of a bogus warning, the description anyway.
Fix it like this:
text={XML(upcomingRepeater.currentItem).empResults}
_
From: flexcoders@yahoogroups.com
If I am understanding your code correctly, you actually want to call
test1(parent).checkSingle instead of testMod. The reason is because you
are instantiating a brand new, and unrelated, test1 component with
public var testMod:test1 = new test1();
You might be able to do
public var
--- In flexcoders@yahoogroups.com, Ashish Verma verma.lu...@... wrote:
They could ask you about the followings:
Advanced Datagrid functionalities
Basic Operators like is, typeof, instanceof, , ===, !==
Basic function and constants like random(), Nan, indexOf()
Datatypes: Array, Number
Wow...its a 'simple' one time create app.
All I want to do is when the user selects an answer on the question1.mxml
component, they can click a button, pass the value of the radio button to the
test1 module's checkSingle() method and then move to the next question in the
Hey All,
I am trying to build a Flex based tree for our content management system
here at work. It needs to represent all of the pages on a given site. I
already have a good working prototype using XML as the dataprovider and i
have a good chunk of the drag and drop functions working well. The
Really odd problem.
A variable is set to true in code, but when I step through the code and watch
the variable by the next line it has become false again even thought it wasn't
set.
I even have tried turning it into a set/get property and put a break on the
setter, and still it changes from
I'm not sure if I should ask that question here, but maybe somebody can help me
anyway. Is there any roadmap for Flex? I have found a bug in the Flex bug
management system (Jira) that shows that it is already fixed in I11 - which
mean Iteration 11 for Gumbo. But what does that exactly mean? Is
It's a class property array. That line is simply showing a way to fall back to
other compare field properties if none are provided via the 'fields' parameter.
--- In flexcoders@yahoogroups.com, geeky developer geekydevelo...@... wrote:
Hi foobone9I am trying to implement your sent/recommended
I have a strange issue with data binding not updating when an item in
an ArrayCollection is changed. I'm using Cairngorm and have the
following setup. In my ModelLocator I have a 'users' ArrayCollection
that contains 'UserVO' objects. I have a two views that binds their
dataProvider to the
I just implemented the same thing. What I did was have data in the XML
elements that differentiated what kind of node they were (topic and article
in my case) and that told me the parent topic of the selected node (using
parent topic id of 0 for a top level topic). This way you can compare data
Yeah,
I tried something similar, but since all of my nodes are essentially the
same (all pages) and can all be a parent or a child (leaf or branch as it
were) but the problem I'm running into is how do I discriminate between
intent, in other words how do I know if the user wanted to move the page
If it's marked as fixed and the history shows it as not having been the same
day as you looking at the bug, then it's likely in the nightly build. This is
for the SDK obviously.
Matt
On 3/9/09 12:58 PM, kramus0 kram...@yahoo.de wrote:
I'm not sure if I should ask that question here, but
Flex: 2.0.1
In our app, we experience a significant delay when the user tabs from the
first form field to the second. After that, tabs work as expected. Is there a
reason for this? Is there a way to eliminate this delay? I'm not sure whether
this is a factor, but many (not all) of the forms
Thanks for the suggestion.
The problem is that when wmode=transparent on FF, if mouse button is already
down (dragging scrollbar), and I exit the stage, MOUSE_LEAVE is not fired (or
was eaten by a framework handler somewhere). But if mouse button is UP, then I
do see a MOUSE_LEAVE event, but
I have a situation in which I am currently using a very ugly set up to get the
job done, but I want to change this (will explain) and I am looking for some
insight.
The process is this.
A user gets to a piece of our app and they are presented with some options.
The options are very
Hi what are the differences between
Adobe Flex SDK Open Source Flex SDK?
As you can see here?
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
You can run the profiler to see why it is taking so long. We do compute a
sorted list of all objects that can receive focus, but you'd need an awful lot
of them to cause a noticeable delay, and if you've created that many, I'd
expect you'd be having startup time delays that would be even more
Quite frankly, I'm not sure there is a solution to these kinds of problems with
wmode. I'll bet there's already a bug filed, but if not, please file one.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com
Sometimes folks override a setter and don't call super so the backing variable
returned by the getter doesn't change. What really matters is what the getter
computes.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From:
There might be a way to use a custom ITreeDataDescriptor to turn every child
into a branch. Open but empty folders have a middle drop zone for dropping
into.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From:
Good to know Alex,
I'm still a little (ok, a lot) green can you point me at a good tutorial /
example to start from?
=]
On Mon, Mar 9, 2009 at 2:48 PM, Alex Harui aha...@adobe.com wrote:
There might be a way to use a custom ITreeDataDescriptor to turn every
child into a “branch”. Open but
If you want to keep all of the options in one component/class, consider
using view states for the various versions. This can get messy really
quick though; if you have many different states. As the number of
states increases, it often becomes benefitial to use seperate view
components, in a
(20090309) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
--
Dr Martyn Bowis (PhD Engineering)
Director Net Design Ltd
New Zealand
www.netdesign.co.nz
Mob: +64 21 932626
Skype: mbowis
MSN: mbowis @ msn.com
Truth brings
User Group, AZCFUG.org
__ Information from ESET NOD32 Antivirus, version of virus
signature database 3922 (20090309) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
--
Dr Martyn Bowis (PhD Engineering
Hi Wally, sorry I missed the hierarchy there. You have checkSingle on
the module and not the Viewstack. In that case, you should be able to do
parent.parent.checkSingle and leave out the cast as test1. So
public var testMod:Object = parent.parent;
The last one failed because it was trying to
Explanations are here:
http://opensource.adobe.com/wiki/display/flexsdk/Downloads
On 3/9/09 2:23 PM, hworke kanps...@gmail.com wrote:
Hi what are the differences between
Adobe Flex SDK Open Source Flex SDK?
As you can see here?
This may be of interest :
http://flexibleexperiments.wordpress.com/2007/02/26/flex-201-tree-with-s
pring-loaded-folders-update-2/
-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Alan Rother
Sent: 09 March 2009 21:54
To:
Thanks Jim,
Thats not exactly what I was looking for, but it's a great example of how to
use some of the Tree components, which I've been struggling with...
=]
--
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org
, I'd learn about dispatching custom events. It's not that complicated
but it takes some time to understand.
Raising some events from the question components strikes me as being a
whole lot easier than dealing with addressing all the different objects
through the heirarchy!
But then when I
Wow yeah that would depend on a lot of things. Some thoughts that help
me narrow down prospects like that:
Am I doing all of the subcomponents in MXML? If so I could manage it
with States perhaps using addChild. Pass the state in on
instantiation/show/creationComplete, etc.
Am I doing all of
Greetings -
My data grid has the notion of a column of data being selectable. When selected
the column displays a light background color indicating it's selected state.
Luckily
AdvancedDataGridColumn has a backgroundColor attribute. Unfortunately it does
not have a backgroundAlpha attribute
Greetings-
A client has uneven data. One of the series they'd like to chart contains 80
categories but in most cases there are only values in 4 or 5 of the 80
categories, which 4 or 5 change over time. Looks kind of like this (supposing
a series with categories A - Z):
Group 1
Series Item
I had thought that I'd used the code there to allow users to drag/drop
reorder and move tree nodes, but it was quite a long while ago so I may
well be wrong.
It wasn't perfect, but not bad at all.
Also I may have misunderstood what you are looking for.
Still, glad it wasn't entirely wasted!
Hi all,
I had a question regarding an AIR utility class that I am trying to finish.
The class is pretty simple, it is basically an AIR implementation of the Mac
Growl UI (notification windows that pop open on the right edge of the
display). Most AIR applications seem to use some implementation of
Having one component with different states or a viewstack with all of the
options may be attractive for a few variants, but I'd probably go for
instantiating a specific UI interface once it's known which is required. You
could either base the UI variants off a common ancestor, or use a common
Thanks,
I was read it, but can not apply in my app.
I think , can not convert ArrayCollection to XML. You must convert XML in PHP
code.
Anyway thank you.
--- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote:
http://nsdevaraj.wordpress.com/2008/08/20/arraycollection-xml/
-
This has been a problem with Tree for as long as I can remember, that is,
especially with empty nodes, how do you select it to drop into? Alex said,
Open but empty folders have a middle drop zone for dropping into. I
wonder how to recognize that zone when you are over it?
The drag indicators
You could do what MindManager does and make the left half of the node
dropzone for reordering, and the right half for making the node a
child of the drop node.
Not sure how easy it would be to implement that though in Flex.
On 3/10/09, Jim Hayes j...@primalpictures.com wrote:
I had thought that
I'd suggest using XML all the way through, instead of converting XML to
ArrayCollection first, then trying to convert it back. What RPC protocol
are you using for server communication? What is your resultFormat?
Tracy Spratt,
Lariat Services, development services available
_
From:
Often when you programmatically assign a dataProvider to a control, you
need to wait for the control to render before operating on its visual
elements. So save the desired index from the loop, then use callLater() to
actually set the selectedIndex.
Tracy Spratt,
Lariat Services, development
2. Assuming that the item renderer only needs to manipulate the text of the
renderer, is example 1 - extending DataItemGrid - (below) a good way to do
it? (I've never written one before, so I'm just checking)
No, for text only, use a labelFunction; instead of a custom itemRenderer.
Thanks! Did
I have things up and running now (mostly; I was thrown off a bit by
fetchObjectProperties being moved out of the assembler and into the
destinations).
The problem was a Hibernate version issue. I was using 3.2.0ga and when I
popped in the 2.5.4 from the lcds install I was able to get things
Correction, the Hibernate version bundled with lcds - 3.2.5, not 2.5.4 (that is
my Spring version) that I mentioned below.
--- In flexcoders@yahoogroups.com, foobone9 foobo...@... wrote:
I have things up and running now (mostly; I was thrown off a bit by
fetchObjectProperties being moved
I am using a flex application to communicate with Salesforce.com. It was able
to retrieve the Crossdomain.xml from Salesforce.com. But after that when the
application tries to retrieve data from Salesforce it flash player is throwing
security sandbox vioalation error.. with error code 2048.
The Open Source Flex SDK contains everything needed to create a functional Flex
application including the ActionScript™ and MXML compilers and the Flex
framework. The Free Adobe Flex 3 SDK contains everything in the Open Source
Flex SDK plus additional components that enhance the Flex
I think giving an example is perfectly fine answer. But in words it would be
something like this:
You put an event attribute on the component tag. The name of the attribute is
the event type the component should listen for. The value of the attribute is
the body of the event handler to be
If you are running in a debug player, you should have gotten an RTE when the VM
tried to execute ClassRef[getter](), unless your getter returns a Function
expecting no arguments. If you didn't, that seems like a serious VM bug.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com
I understand that arrays can hold references to components
so I've recoded to push and pop the images from ImageArray
to set the properties on the individual Images.
You shouldn't have to push and pop anything. If the ith element of the array is
a reference to an Image instance, then setting
I have created an extension of the DateField() (ValidatedDateField())
component. The main purpose of this extension is to call an extension to
the TextInput component.
Everything seems to work swimmingly. I have found that in some cases
however, the tab key (tab index order) handling gets
this is my code
import mx.containers.TitleWindow;
private function closeWindow(event:Event):void{
removeChild( event.target as TitleWindow);
currentState='';
}
100 matches
Mail list logo