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 back
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
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 &
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
> Scott wrote:
> > I'm working on a project that requires multiple languages. I'm thinking
> > I have two choices...
>
> resource bundles (sort of) just lik
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 pr
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 b
Does "result = (uint(number) & uint(comparison))" work?
-Josh
2009/1/20 Rafael Faria
>
> 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
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 $compar
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 do
I have Alert box in a fault handler.
Never seen it's popping.
--- In flexcoders@yahoogroups.com, "Tracy Spratt"
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
>
> _
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 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, does it wo
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
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 wrote:
> Hi,
>
> Has anyone had experience implementing Facebook connect with Flex/Air Apps?
> If so, can someone point to an example?
>
> Thanks,
> -Da
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 inst
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,
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 row
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 the
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
> reso
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 down
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
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 LanguageManag
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 e
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?
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
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 t
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?
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 [mailto:flexcod...@yahoog
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
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()
H
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 click
hmm.. i have a blank app like this:
http://www.adobe.com/2006/mxml";
layout="absolute">
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 loads.. but when i try to close
this browser now.. IE freeze.. and wi
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 functiona
Hi,
I'd like to create a ContextMenuItem with a checkbox that toggles some behavior.
Is this possible?
Thanks!
- Michael
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 20
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)
Hi,
Has anyone had experience implementing Facebook connect with Flex/Air Apps?
If so, can someone point to an example?
Thanks,
-Daniel
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. And
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
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?
___
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 ;-)
http://www.adobe.com/2006/mxml";
width="160"
height="75"
borderStyle="solid"
borderThickness="1"
cornerRadius="10"
backgroundColor="#00"
backg
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 PM,
--- In flexcoders@yahoogroups.com, "Chris" 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:
http://flexdiary.blogspot.com/2007/08/as3-basi
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 nu
Does anyone else have any thoughts on this problem?
--- In flexcoders@yahoogroups.com, "specdout" wrote:
>
> Thanks for your reply, Paul.
>
> --- In flexcoders@yahoogroups.com, "Paul Andrews" wrote:
> >
> > Does anything get added to the display list?
> When the example code executes I do see t
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 Dat
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 :
> late night... thanks
>
> On Sun, Jan 18, 200
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.
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 provi
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:
http://www.adobe.com/2006/mxml";>
thnx..
--- On Mon, 1/19/09, valdhor wrote:
> From: valdhor
> 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 flexcoders@yahoogroups.com,
> "ajith_manmadhan
--- In flexcoders@yahoogroups.com, Josh McDonald 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 better o
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 flexcoders@yahoogrou
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 fixe
Are there any known problems with HTTPService, resultFormat = "e4x"
when the service would not go into "result" listener?
Thanks
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 wrote:
From: valdhor
Subject: [flexcod
"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 hav
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
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 w
I would start with http://flexcf.com/
--- In flexcoders@yahoogroups.com, "ajith_manmadhan"
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 chat applicatin
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 datagri
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 b
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 c
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" wrote:
>
> It's not the case that the database in /src/assets is getting copied
to /bin-debug/src/assets and the changes made to t
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 pa
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 exce
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 wrote:
> Hello all,
> I was wondering if anyone could share some tut
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 use
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 DOWNLOA
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.
The
No custom event just the usual DragDrop events dispatched by the tree e.g.
dragStart, dragOver, dragDrop, dragComplete...
Claudiu...
From: Sefi Ninio
To: flexcoders@yahoogroups.com
Sent: Monday, January 19, 2009 11:25:35 AM
Subject: Re: [flexcoders] Drag And
Are you using a custom event?
And if so, did you implement the clone method?
2009/1/19 claudiu ursica
> 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) th
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]
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 ""
under "Inbox" folder. I cannot do that unless the "sent" is under some fol
76 matches
Mail list logo