Hi Alex,
I can move simple leafs from the root under a folder with no custom handlers,
if the folder is open. However the thing is that I need to just put (maybe just
copy not move) the item let's say for argument sake node label=Sent/
under Inbox folder. I cannot do that unless the sent is
the stack trace error from the code i posted
ArgumentError: Error #2004: One of the parameters is invalid
at flash.display::Graphics/drawRoundRect()
at
mx.skins::ProgrammaticSkin/drawRoundRect()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\skins\ProgrammaticSkin.as:745]
Are you using a custom event?
And if so, did you implement the clone method?
2009/1/19 claudiu ursica the_bran...@yahoo.com
Hi Alex,
I can move simple leafs from the root under a folder with no custom
handlers, if the folder is open. However the thing is that I need to just
put (maybe just
No custom event just the usual DragDrop events dispatched by the tree e.g.
dragStart, dragOver, dragDrop, dragComplete...
Claudiu...
From: Sefi Ninio sefi.ni...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Monday, January 19, 2009 11:25:35 AM
Subject: Re:
I had the same problem and I ended with the following solution:
Add an event listener on your collection like this:
groups.addEventListener(CollectionEvent.COLLECTION_CHANGE,
onDataChanged);
In the onDataChanged function, look if the 'kind' property of the
event is CollectionEventKind.UPDATE.
I don't know if this is related, but there is one problem with the name of
the event. The event is downloadresizeevent, while in the meta declaration
and the event handler you are calling it DownloadResizeEvent.
You will have either to change the event's name with:
public static const
how do i create an Array Collection of Objects that have a label
property and an icon property. after reading something abt the
tilelist on bruce philips blog, someone had the same problem and was
asked to create an Array Collection of Objects that have a label
property and an icon property and
Take a look at the MenuBar control:
http://livedocs.adobe.com/flex/3/langref/mx/controls/MenuBar.html
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Mon, Jan 19, 2009 at 12:06 AM, brucewhealton br...@futurewavedesigns.com
wrote:
Hello all,
I was wondering if
Hi
I am reopening this thread. I am unable to get around this NPE issue. I
tried to do the following
Set the visibility of ToolTipManager.currentTooltip to false (instead of
destroying it)
Disable the tooltip when I make a service call and enable it on response.
However, I still get the
In my flex application, when I click refresh button on the browser,
the deep linking doesn't work for some items. I tried to debug the
issue, but debug doesn't work for refresh button.
Any comments?
Thanks
Karen
Hi,
I'm a Flash developer migrating to Flex and Cairngorm. I want to
have my Cairngorm ServiceLocator use AMF Remoting as the first option
but then fall back to a SOAP webservice if that fails. Both services
have the same methods/operations as they are implemented in ASP.Net
with WebOrb.
I
You were right on the money, the db in the bin-debug has the lastest
changes.
Thanx for your help.
Regards,
Tristan
--- In flexcoders@yahoogroups.com, Jim Hayes j...@... wrote:
It's not the case that the database in /src/assets is getting copied
to /bin-debug/src/assets and the changes made
Anyone has a working pom example of compiling a css file into a swf with
Flex-mojos?
I keep seeing code samples using package.
Can someone clarify what this is? I'm not sure what it is and how
it's used and how I/when I should use one.
Thanks in advance :)
--Chris--
I am new to flex and RIA in general. I have been working with .net
and java for a while now, and I am just starting to try to create a
new interface for some projects of mine, and thought flex might be the
answer, but I am having trouble wrapping my head around the idea that
its less like a web
Hi all,
i am a coldfusion developer and a flex aspirant. i want to know how we
can integrate flex with blazeds and coldfusion. i dont know much abt
blazeds. Can i make a chat applicatin in coldfusion with blazeds
support and integrate in a flex site? is that possible? any tutorial
links would
Hi,
I'm working on datagrid columns adjustment based on the content of
cells. Basically columns widths are adjusted based on maximum cell
width in the column. I extended the DataGrid class and added
adjustment on setting of dataprovider. The problem is that columns are
not adjusted if the
I would start with http://flexcf.com/
--- In flexcoders@yahoogroups.com, ajith_manmadhan
ajith_manmad...@... wrote:
Hi all,
i am a coldfusion developer and a flex aspirant. i want to know how we
can integrate flex with blazeds and coldfusion. i dont know much abt
blazeds. Can i make a
It's essentially/simply used for your folder structure and then used to
import in your various classes.
So inside your src folder if you had a folder structure of
src-com-mywebname - view, then any classes inside the folder 'view'
would have a package name of com.mywebname.view and the import
Mike
I don't know that I would agree with that idea. In my case I have had
to build smaller applications because each part of our intranet is
owned by different departments and they all want separate control over
Their piece.
Now that I have it up and running, I don't know that I would now make
package refers to the directory that the class is in. If the class
file is in the root (src) directory, then there is no package name. If
the class is in a directory called (For example) MyEvents then the
package statement would be package MyEvents. Each class file in that
directory would have the
Thanks for these tutorials (the last one using Hibernate seems exactly what I
had in mind while asking in the first place)
Now I have to study and configure my application in accordance.
Great help from this forum,
George
--- On Thu, 1/15/09, valdhor valdhorli...@embarqmail.com wrote:
Are there any known problems with HTTPService, resultFormat = e4x
when the service would not go into result listener?
Thanks
It used to be the case that Internet Explorer would refuse to do
anything with GET requests sending data over a certain length, which
mystified me for a while a couple of years ago since everything worked
fine with firefox. It just failed very quietly, no errors raised at all.
Changing to POST
I had a couple of problems like this before. For one changing to POST
helped, but not for this one. I am returning a string with 1000
chars. back to POST call, still does not work. It is simply not
getting into the result listener. I tried with Chrome, same problem.
--- In
--- In flexcoders@yahoogroups.com, Josh McDonald dzn...@... wrote:
Ah, I forgot about outerDocument, as I'm one of those loose-coupling
nazi
types and don't use it :)
Of course, being a louse-coupling nazi has it's upside, in
Smartypants-IOC
I tend to agree with Josh that we'd all be
thnx..
--- On Mon, 1/19/09, valdhor valdhorli...@embarqmail.com wrote:
From: valdhor valdhorli...@embarqmail.com
Subject: [flexcoders] Re: Flex , Blaze DS and coldfusion
To: flexcoders@yahoogroups.com
Date: Monday, January 19, 2009, 2:11 PM
I would start with http://flexcf.com/
--- In
I have a component which can appear initially in one of two states, and
can subsequently be switched between them. When this switch takes place,
I want a transition to occur. Here's a tiny model of my component:
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml;
mx:states
mx:State
Hi,
My application has an AdvancedDataGrid that shows a list of data. I
would like that the user could edit data on the DataGrid itself just
by clicking on a row/cell. After the click, that cell shows a ComboBox
filled with data that comes from other data source different from the
datasource
I have a datagrid that displays a list of files on a server. What I have
done is created a button for you to switch back and forth between the
datagrid and a tile list view.
mx:ViewStack id=vs selectedIndex=0 width=100% height=100%
mx:Canvas width=100% height=100%
The hasOwnProperty method available in all objects does exactly this.
http://livedocs.adobe.com/flex/3/langref/Object.html#hasOwnProperty()
Why it is called hasOwnProperty rather than hasProperty I have no idea.
2009/1/19 dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com:
late
One set of answers:
1- Assuming the ComboBox dataProvider is the same for all rows, you couild bind
it to a data model on the main application.
2- If I recall correctly, using an itemEditor and editable column makes flex
display the editor when you click in a cell. You would use the normal
Does anyone else have any thoughts on this problem?
--- In flexcoders@yahoogroups.com, specdout ratu...@... wrote:
Thanks for your reply, Paul.
--- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote:
Does anything get added to the display list?
When the example code executes I do
If the mx:Canvas component you posted is to be an item renderer, then
you have some work to do. Item renderers myst be data driven. You
cannot use the initialize or creationComplete events for any row-level
work, because renderer instances are re-cycled. Thus there is no useful
meaning in the
--- In flexcoders@yahoogroups.com, Chris loony...@... wrote:
I keep seeing code samples using package.
Can someone clarify what this is? I'm not sure what it is and how
it's used and how I/when I should use one.
Thanks in advance :)
Try this:
Thanks Tracy, I will dig around some more and see if I can find anything.
As far as the images go, they can be anywhere on the server, if they are
outside of the web root that approach will not work.
Thank You
Dan Vega
danv...@gmail.com
http://www.danvega.org
On Mon, Jan 19, 2009 at 12:38
Here is a simple Canvas based item render with a pic, some text and a remove
button (in case you want to delete a file ;-)
?xml version=1.0 encoding=utf-8?
mx:Canvas
xmlns:mx=http://www.adobe.com/2006/mxml;
width=160
height=75
borderStyle=solid
borderThickness=1
Interestingly enough, setting the resultFormat to e4x does indeed properly
populate the event.result. I'm guessing this has got to be some sort of
parsing error in the WebService classes attempts to marshal the results as
objects. Has anyone else run across this issue?
So you have a browser hosting the Flash Player, running a Flex app that
contains a SWFLoader that loads a Flash SWF. In that Flash SWF, you
implemented a UIComponent and inside of that you want to display a Flex
application that you are going to build dynamically. Is that correct?
If so, why
Not specifically. But the default object conversion is the source of
*many* problems. It is a quick way to display data, but that is about
all. I don't see how, even theoretically, that a single algorithm could
handle any arbitrary XML input and produce a reliable, predicatable
object tree.
Hi,
Has anyone had experience implementing Facebook connect with Flex/Air Apps?
If so, can someone point to an example?
Thanks,
-Daniel
Bart, during the sync method, when you create your bean, are you setting
the new generated Id back again into the bean?
--
João Fernandes
Adobe Certified Expert
Adobe Community Expert
http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)
In the case of gutterLeft, the increased gap is on the left of the axis
title, which looks
a little odd, unless I can compute it based on the size of the numbers on
the axis, or at least as a percentage of the container size. It might be
more fruitful to do a custom renderer to display 20 as
Hi,
I'd like to create a ContextMenuItem with a checkbox that toggles some behavior.
Is this possible?
Thanks!
- Michael
Hi Sanjay,
Thanks lot for you reply. Please share that piece of code where in
you are storing the index of selected row at the respective index of
array.
How did you u get the row which need to be selected, are you also
calling a method on mouseOver function.
I desperately need this
hmm.. i have a blank app like this:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
/mx:Application
when i run it, it opens ie without problem.. if i close the browser,
it closes without problems...
but if i open a new window.. the app
Some things are better debugged using trace statements.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of yk96290
Sent: Sunday, January 18, 2009 6:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] debug deep linking
In my flex application, when I
I would call dispatchMouseEvent(new MouseEvent()) on the tooltip
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of rviswanathan
Sent: Monday, January 19, 2009 4:21 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] NPE on ToolTipManagerImpl/reset()
Put a combobox in the main app. If the problem goes away, then it is a shared
code problem.
Otherwise, debug into it. The stack trace indicates that
getStyle(cornerRadius) for some button is returning an invalid number. Maybe
some style object is missing.
From: flexcoders@yahoogroups.com
If I remove your handlers, I can move Sent just fine. In your handler the
following line is suspicious:
var xml : XML = new XML(items);
because items is an array. Use XML.toXMLString() to make sure you're trying to
put in valid data.
From: flexcoders@yahoogroups.com
I have a datagrid with a renderer in each of 2 columns. The first
column displays a combobox. When the combobox is changed on one row I
want to update the data in the second column on the same row. Is there
a way to do this?
Thanks for the tip. Can this be used to display a menu for website
navigation? I guess I'd need a NavigateToUrl tag to allow menu item
links to navigate the xhtml web page. In other words, I'm wanting the
Flex application to only be for the menu not a part of a complete site
done in Flex. Can
It can be moved around but cannot be dropped into a folder (branch) unless the
folder is open. I was adding those handlers, so that i can drop item/items
inside a closed node... And it works for branches but not for leaf nodes ...
Setting breakpoints in drag/drop
generally doesn’t work because
Are you POST'ing to a host on a domain that is not the same as the domain
hosting the SWF?
Are you using HTTPS? If so, does it work when using HTTP?
Does it happen in all browsers, or just a particular one?
On 16-Jan-09, at 3:46 PM, dnk wrote:
Curious
Is there a way to force once cell of a datagrid to resize itself to
hug the contents?
I have an item renderer in a cell that changes size, and i wanted the
datagrid cell to always resize with the contents.
Thanks!
d
In an effort to
Hi guys,
I want to store all my messages in a language class, common things like
login fail messages etc, so I can easily change them later or perhaps add
another language. I was talking with a friend about how best to do this, and
we couldn't decide. At first we thought of making a
Take a look at ResourceManager, and the resource module examples in the
Developer Guide. We use this method, and it's been working pretty
smoothly. We compile with locale= (the empty string), so that
resources are *always* loaded at runtime (we found that this simplified
things a little). You can
As long as your assembler's createItem method populates identity property of
the item passed in, it should be returned to the client and updated there when
the commit response is received by the client. To help diagnose why this is
not happening, first upgrade to 2.6.1 (on the product
Thanks very much for your reply, I will look into this!
Maciek Sakrejda wrote:
Take a look at ResourceManager, and the resource module examples in the
Developer Guide. We use this method, and it's been working pretty
smoothly. We compile with locale= (the empty string), so that
resources
Hi Kevin,
Thank you very much for such detailed instructions.
First, I looked into the log - the exception I can see there is the
following:
!MESSAGE Error creating actionscript project for ui_login
!STACK 1
org.eclipse.core.runtime.CoreException: Error Loading Project
Then, I just recreated
Yes. The core concept here is that itemRenderers must be data driven to
work correctly. If your first renderer updates the dataProvider item,
then the second one, which should be driven by the dataProvider, will
update automatically.
Remember, all itemRenderers have access to the entire
Also, do you have a fault handler? Have you checked to see if it is
being called?
Tracy Spratt
Lariat Services
Flex development bandwidth available
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Peter Farland
Sent: Monday,
On Vista, I would search for other copies of that file in weird places.
A synchronization folder for example. I have no experience running
FlexBuilder(FB) on Vista as I prefer to avoid painful challenges where I
can.
Here is an idea for you (although a little off topic).
We don't
http://code.google.com/p/facebook-actionscript-api/
A library of facebook api, and you would try.
On Tue, Jan 20, 2009 at 2:13 AM, Daniel Tse danpr...@gmail.com wrote:
Hi,
Has anyone had experience implementing Facebook connect with Flex/Air Apps?
If so, can someone point to an example?
i use hasOwnProperty in the function i posted but i can only use it to check
immediate properties. it doesn't support nested properties, for example
var obj:Object = new Object();
obj.apple = new Object();
obj.apple.color = red;
// hasOwnProperty doesn't support nested properties
var b1:Boolean
Yes, I am posting to the same domain.
No, I am not using HTTPS.
It's happening in different browsers.
--- In flexcoders@yahoogroups.com, Peter Farland pfarl...@... wrote:
Are you POST'ing to a host on a domain that is not the same as the
domain hosting the SWF?
Are you using HTTPS? If so,
I have Alert box in a fault handler.
Never seen it's popping.
--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@...
wrote:
Also, do you have a fault handler? Have you checked to see if
it is
being called?
Tracy Spratt
Lariat Services
Flex development bandwidth available
Oh. My bad - should read the entire thread first before posting.
I had a similar need, and ended up doing it in a loop like you did,
mainly because from the languages I've used before, exceptions tend to
be 'expensive' in terms of computation time. Not sure what the case is
with AS3.
2009/1/20
Please,
anyone with skills to convert the following php function to flex? i'm
killing myself trying...
please... anyone?
thanks
rafael
-
/**
* Perform a float-safe bitwise AND comparison
*
* @param int/float $number The number to which to perform a bitwise AND
* @param int/float
Does result = (uint(number) uint(comparison)) work?
-Josh
2009/1/20 Rafael Faria rafaelfaria.gru...@gmail.com
Please,
anyone with skills to convert the following php function to flex? i'm
killing myself trying...
please... anyone?
thanks
rafael
-
/**
* Perform a float-safe
I'm working on a project that requires multiple languages. I'm thinking
I have two choices...
1) Use an XML file to change the text to different languages
2) Create a query/remote object through coldfusion to pull the different
language.
Are those my only options? Or should I say, what is the
Scott wrote:
I'm working on a project that requires multiple languages. I'm thinking
I have two choices...
resource bundles (sort of) just like in cf.
find it kind of funny that flex has resource bundles but lacks the other i18n
bits while cf is just the opposite ;-)
in any case, you'll
That's a hella useful link Paul. I'm not doing any I18N *now*, but that's
going into del.icio.us :)
Cheers,
-Josh
2009/1/20 Paul Hastings paul.hasti...@gmail.com
Scott wrote:
I'm working on a project that requires multiple languages. I'm thinking
I have two choices...
resource bundles
Thanks Josh.
I kinda managed to get it working.
so for the records if someone else need it, it seems to work fine.
private function
safeBitCheck(num:Number,comparison:Number):Boolean
{
if(num 2147483647 ) {
return (num
This method is 10x faster, and more accurate (although the word is
meaningless at such scale due to the nature of IEEE floats):
private function safeBitCheck2(l : Number, r : Number) : Boolean
{
if (r l)
return false;
if
Yes you can use it as a menu for a website. A pure flash menu would be
perhaps lighter, but I don't know by how much. For the navigation you have
to use flash.net.navigateToURL().
The Flax app must have the height of the highest opened menu otherwise it
will be truncated. But you can make the
76 matches
Mail list logo