RIA doesn't mean no pages. There are situations where you have simply
different pages. How you implement them, as different apps, modules or as a
viewstack depends. But among other things, a RIA reduces page loading in
many cases. In your example, the login can be a page and the calendar
another
Use resource bundles. If you only have 2 or 3 languages and the resources
are not heavy in size, you can simply compile them in the application,
otherwise load them at runtime.
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Tue, Jan 20, 2009 at 6:46 AM, Scott
I don't know why it's behaving like that, but it seems to work if you set
the state after the form item has been created, like this:
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Form
mx:FormItem label=Type creationComplete=st.currentState='taskQueue'
view:SectionTypeControl id=st /
I don't know why it's behaving like that, but it seems to work if you set
the state after the form item has been created, like this:
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Form
mx:FormItem label=Type creationComplete=st.currentState='taskQueue'
view:SectionTypeControl id=st /
I don't know why it's behaving like that, but it seems to work if you set
the state after the form item has been created, like this:
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Form
mx:FormItem label=Type creationComplete=st.currentState='taskQueue'
view:SectionTypeControl id=st /
http://livedocs.adobe.com/flex/3/html/menucontrols_3.html#410684
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Mon, Jan 19, 2009 at 8:15 PM, Michael Pelz-Sherman
mpelzsher...@gmail.com wrote:
Hi,
I'd like to create a ContextMenuItem with a checkbox that
Thanks Tracy and Clumpywheel (it's good to know I'm not alone..)
Is this causing you any problems?
Only in so much as I have gone from a situation where my flashlog is
100% useful trace statements and critical errors to a situation where
it is now 90% noise (and flash tracer's Display warnings
Q1
I saw that there is support for inline graphics but is there support for
wrapping text around an image?
Q2
Is there support for an inline swf?
Does anyone know of a library of stock swf animations that are free for
commercial use?(compiled or src)
I need an animation that is 'hour-glass-esque', e.g. something like balls
chasing each other round in a circle, to display to the user to indicate
that something is going on and that they have
Haykel, out of curiosity, when you load them dynamically at run-time, do
you pass them to the resource bundle manager? That's what we did but I'm
curious to see what other did and if there are a open source libraries
that do just that. We didn't find any at the time so we had to do it all
hi guys how can i achieve the flex store effect when someone clicks on
a thumbnail and the thumbnails move beautifully to the right and the
details show up on the left. how can i do this with mxml and states. i
have the flexstore example but the code is so complicated.
Thanks very much! It looks as though the transition will work - or not -
depending on when it's invoked in the component creation process.
And invoking it at the wrong time (ie as part of initialisation, as I
did) prevents it from working later, as in your solution.
Transitions seem to have a
Hi again,
I thought I'd try extending the ContextMenuItem class to provide this behavior,
but according to the compiler, the ContextMenuItem class is declared final in
the Gumbo Flex SDK.
I found a post from 2006 that shows ContextMenuItem being extended:
--- In flexcoders@yahoogroups.com, dorkie dork from dorktown
dorkiedorkfromdorkt...@... wrote:
Q1
I saw that there is support for inline graphics but is there support for
wrapping text around an image?
Q2
Is there support for an inline swf?
Check this out
http://polygeek.com/liquid-text
I'm trying to get the FadeIn effect to work on my List control, but
I'm having no luck. The custom renderer stays white for the
FadeInDuration and then appears instantly. If I switch back to using
the default renderer, all is well. Also, if I have both a list with a
custom renderer and the default
Hi Tracey,
Thanks for your response.
So you have a browser hosting the Flash Player, running a Flex app
that contains a SWFLoader that loads a Flash SWF.
Sorry, I should have been more specific: I'm developing an AIR
application. The SWFLoader is used to hold Flash content that's used
as an
Why do you need the one state? Is it only to make the transition when the
component is created or do you have other states? What do you want to
achieve exactly? Perhaps there is a better solution!
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Tue, Jan 20, 2009 at
Pretty simple:
1) Once you app is loaded, call your server to load the user info
2) Assuming you have a User class with a method isUserInRole( role:String );
... then use this on various Buttons/fields/views to show/hide based on if the
user has a particuliar role or not
Dimitrios Gianninas
As someone who is currently re-working their Role Based Access Control
mechanism, point 2 is the wrong way around.
It leaks the roles into the rest of the client and stops all your business
logic being in one place. Incidentally, this is how we currently do it, and I
can show how it's a pain
Hi
This is one of the way to implement Role Based UI but in this we need
to have the
mx:Button id=btnSubmit visible={User.isUserInRole()} /
every where. Is there any better way?
I mean to say that if we have method somewhere in UI custom
class which derives from Flex framework class which
Well there's got to be some tie-in between the user's role and the GUI -
there's got to be some conditional logic at some level of granularity. If there
are simply too many items to show/hide, you could have two different versions
of a view which would be role-dependent. Modules could be a way
Hi All,
I have designed a custom dataGrid which allows user to select
column which he wants to be visiable.Here is the issue which I have
been facing:
When user select two column to be visiable,
Lets assumeCol1.with = 25 ,
Col2.with = 20 ,
Expected Result:
Hello,
I have and AdvancedDataGrid, where one of the columns have a custom
styleFunction. That function is currently something like:
private function styleValueLabel(item:Statement,
column:AdvancedDataGridColumn):Object
{
if (item.isIncome)
return { color:
Hello!
We are using AIR and LCDS 2.6.1 and have a problem with conflict
handling. If we trigger a conflict on the server by calling:
throw new DataSyncException(co, serverObject, changedProps);
the following exception occurs on the client when calling
conflict.acceptClient():
TypeError: Error
Ah, great... Thanks for confirming!
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of steve.klee
Sent: Friday, January 16, 2009 3:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Speex codec
I was reading the docs and they seem to suggest
I believe all the column widths in a data grid must equal 100% of the
grid's total client area and if they don't the grid stretches the
right-most column to fit the remainder.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of
Hi, Kevin!
To answer your earlier question, yes, the error was coming from the
Send side. The error only occurs if the listening ( Connected )
application is not running and connection or if the Send( name )
specifies an incorrect name.
The problem was the difficulty of the PublisherId not being
Ok, I can get the CSSStyleDeclaration using:
var s2:CSSStyleDeclaration =
StyleManager.getStyleDeclaration(.incomeValue);
The problem is that I need to return a simple object. Inspecting the
content of the CSSStyleDeclaration class, I saw that the overrides
property has the object I need, but
Hi
Do you mean to say that i should do something like this
mx:Button id=btndelete visiblieUser.hasAccess(btndelete)/
In the above i am passing the id of the component.
Then this means that i have to make some mapping between the
component and Role.
I think this will be more difficult to
Humm... Ok, I have a custom style called .incomeValue defined on my
CSS file. I need to return that style as an Object on a styleFunction.
I can access that style as an instance of CSSStyleDeclaration by making
var s2:CSSStyleDeclaration =
StyleManager.getStyleDeclaration(.incomeValue)
But I
Hi,
Is there a way to force the start and end points of the date time
axis? I need to show exactly one month on a chart though I may not
have a full month's worth of data to display.
Thanks in advance,
Jamie.
In our case, we use a similar scheme except that we have roles and permissions.
It is the permission that defines the access to the component. If the user, in
his role, has the permission set to true, then the user gain access to the
component. It is very flexible as you can create many roles
Hi
It make sense the way you have implemented.
Then you need to store the mapping between the permissions and role.
correct and what do you do when a new role is added.
Thanks
ilikeflex
--- In flexcoders@yahoogroups.com, Yves Riel r...@... wrote:
In our case, we use a similar scheme
UIs implement features and Roles encapsulate features pertinent to a role.
Implement the UI in terms of permitted features and assign feature sets to a
given role.
Paul
- Original Message -
From: ilikeflex ilikef...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 20,
hello all.. thx for all the help so far, but since im a noob at flex
and such i ll be making lots of posts lol..
anyway, on my app, in the module i make a some requests to the .net
via remoteobject using the fluorine components..
it works without problems.. i have the class User both in flex
I don't have time to look into it more right now. There is drop-in-a-folder
logic for empty folders in Tree. Maybe you can leverage that logic.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of claudiu ursica
Sent: Monday, January 19, 2009 1:28 PM
To:
When horizontalScrollPolicy=off (default), all columns are scaled to fit
within the width of the DG. It makes it kind of hard to insert one column and
get the sizing you want because existing columns get an extra attempt their
sizes honored. One solution is to totally reset the columns array.
There may well be...
It's part of a dialog for creating or editing Foos. A Foo can be
either red or green; green Foos also have a pressure and a temperature,
which red Foos don't have. When you're creating a Foo, you can select
one of two radio buttons labelled Red/Green. You can't edit the
What would be the best way to remove the itemIcons from the
AdvancedDataGrid?
Not sure I understand. variableRowHeight will allow a row to adjust to
measuredHeight of a renderer.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of dnk
Sent: Monday, January 19, 2009 1:54 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] hug cell
Look at setting the following parameters null on AdvancedDataGrid
object:
folderOpenIcon={null}
folderClosedIcon={null}
defaultLeafIcon={null}
~Chris
--- In flexcoders@yahoogroups.com, Bill bill.frank...@... wrote:
What would be the best way to remove the itemIcons from the
Flash Player 9.0.124 doesn't write Warning: CheckVisibility is not a
function in to the flashlog.txt, so it seems this is related to FP 10
(tested with 10.0.12.36).
--- In flexcoders@yahoogroups.com, tonyjobrien ya...@... wrote:
I'm trying to get the FadeIn effect to work on my List control, but
I'm having no luck. The custom renderer stays white for the
FadeInDuration and then appears instantly. If I switch back to using
the default renderer, all is
--- In flexcoders@yahoogroups.com, João joao.sale...@... wrote:
Ok, I can get the CSSStyleDeclaration using:
var s2:CSSStyleDeclaration =
StyleManager.getStyleDeclaration(.incomeValue);
The problem is that I need to return a simple object. Inspecting the
content of the
I got your example to work by removing the Canvas tags from this snippet:
mx:itemRenderer
mx:Component
mx:Canvas
mx:Label text={data.label} blendMode=layer/
/mx:Canvas
/mx:Component
/mx:itemRenderer
Sunil
If you set resultFormat=text does it work? Is it just not working for
resultFormat=e4x?
Have you confirmed that the request is actually making it to the server, and
have you confirmed the nature of the response that comes back (using an HTTP
sniffer tool, like Charles or Paros Proxy)?
Also,
--- In flexcoders@yahoogroups.com, jamiebadman jamie.bad...@... wrote:
Hi,
Is there a way to force the start and end points of the date time
axis? I need to show exactly one month on a chart though I may not
have a full month's worth of data to display.
Thanks in advance,
Jamie.
The
--- In flexcoders@yahoogroups.com, c_higgon
higdonchristoph...@... wrote:
Look at setting the following parameters null on AdvancedDataGrid
object:
folderOpenIcon={null}
folderClosedIcon={null}
defaultLeafIcon={null}
~Chris
--- In flexcoders@yahoogroups.com, Bill
I do use binding, just forgot to mention that.
Example:
mx:Button enabled={ModelLocator.getInstance().user.userInRole(
Constants.SAVEACCT )}/
Dimitrios Gianninas
RIA Developer Team Lead
Optimal Payments Inc.
From: flexcoders@yahoogroups.com
It worked like a charm!! Thank you Amy :)
Lushen, thanks for the response.
Are you saying that you are able to receive MOUSE_UP events from your
application when the user lets go of the mouse button as they finish
resizing the application's window? I don't. On my application, I have:
addEventListener(MouseEvent.MOUSE_UP, test);
While
I've run into an interesting situation with Flex: I've got a Java
servlet that will generate a Zip file when the user clicks a button in
Flex. But the file download dialog after the server action requires
the user to click a button. It throws this error:
Error: Error #2176: Certain actions, such
Haykel is probably talking about loading a resource module. The resource
bundles in a resource module automatically get added to the ResourceManager.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Yves Riel
Sent: Tuesday,
is there any way to apply a styleFunction to a Grouping Field, so that,
for instance, the row is a different color based on which level of
grouping it is?
For Example
Level 0 - Red
=Level 1- Green
==Level 2 - Blue
==-Item 1 - default style
==-Item 2 - default style
=Level 1-
A1: This is under investigation, but may not make it into TLF 1.0 / Flex 4.0.
If it gets in, what will be supported will probably be a 'float' attribute on
the img tag, allowing a graphic within the text to be pinned to the left or
right of the container -- but vertically positioned based on
Is there a way to add mouseDown and mouseUp effects to a button that's
being added dynamically via ActionScript?
For example, if the button were created via MXML, it would look like this,
mx:Button label=Help
mouseDownEffect={glowImage} mouseUpEffect={unglowImage}
click=showHelp() /
- Alex
Forgive me for asking, Gordon, but could you give an idea of the status of
support for tables and lists (li, ol, ul sort of thing) ?
I appreciate you may not be able to comment, but if you are then any
information would be most welcome.
I had a good look at the pre release on labs and came to
There are actually two tokens for that operation - one returned from the
createItem call itself. It is actually a subclass of AsyncToken called
ItemReference. It has a bindable result value which gets set when the result
comes in.First we'll deliver the result event for the createItem's
Well my problem is that the itemrenderer is rendered out, and the
renderer changes size (state, etc), and when it does so, the cell just
adds scroll bars to it. I was hoping that the cell could not add
scroll bars, but rather readjust it's size for the new state.
d
On 20-Jan-09, at 11:19
All of a sudden a few days ago, launching a debug session in FB3, results in
FB (or maybe debug player) logging constantly to the console. I get about 2
of these messages a second, and it doesnt stop till I terminate the debug
session. This does not output to flashlog.txt. It makes reading traces
You're probably loading images or something along those lines using a
SWFLoader or one of its subclasses such as Image. This is simply Player
telling you about it decoding the results and adding them to the VM.
-Josh
2009/1/21 John Van Horn jmvanh...@gmail.com
All of a sudden a few days ago,
Hi All,
Can anyone point me to some resources showing how to attach custom
metadata properties to streams that are recorded via FMS? I've been
wrestling with it for a while and think I am just missing something
obvious somewhere.
I was trying the following sequence of events with no luck:
Sorry for the delay on this one... The closest I could find in JIRA was
FP-5, which is related mostly to the video portion of netstreams. Does
anyone know the issue number for this one? I'd like to vote it up too.
http://bugs.adobe.com/jira/browse/FP-5
Thanks,
Ryan
-Original Message-
Yep, that was it...a bug in our code. Thanks Josh.
FlexBuilder, I take back every bad thing I said about you.well, at least
in the last hour.
On Tue, Jan 20, 2009 at 5:53 PM, Josh McDonald dzn...@gmail.com wrote:
You're probably loading images or something along those lines using a
Haven't tested this, but this might be a way to accomplish it:
var btn:Button = new Button();
btn.setStyle(mouseDownEffect, glowImage);
btn.setStyle(mouseUpEffect, unglowEffect);
Will try it in the morning. Didn't realize effects were set using styles.
- Alex
--- In flexcoders@yahoogroups.com,
Ahh... nevermind this one. I accidentally had the onMetaData handler set
as private instead of public. Everything is working as expected now.
-Ryan
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ryan Graham
Sent: Tuesday, January 20, 2009 4:57 PM
To:
You can use Strings, but they might need to be fully qualified when doing it
from ActionScript instead of CSS. You can also use
obj.setStyle(moveEffect, Move);
and
obj.setStyle(moveEffect, myMoveInstance);
Note that myMoveInstance would be an instance of mx.effects.Move, *not* an
instance of
I am just simply trying to set a simple date
var longdate:Date = new Date(2030,12,30);
this suppose to set longdate to 2030-12-30 but insead it creates
Thu Jan 30 00:00:00 GMT-500 2031
Why can't I just create a simple date based on what values I give it?wtf
thanks Link
What you are looking for is the DateFormatter.
var df:DateFormatter = new DateFormatter();
df.formatString = -DD-MM;
trace(df.format(longdate));
HTH,
Nate
On Tue, Jan 20, 2009 at 6:00 PM, Link Mckinney lmckin...@tygate.com wrote:
I am just simply trying to set a simple date
var
--- In flexcoders@yahoogroups.com, Link Mckinney lmckin...@...
wrote:
I am just simply trying to set a simple date
var longdate:Date = new Date(2030,12,30);
this suppose to set longdate to 2030-12-30 but insead it creates
Thu Jan 30 00:00:00 GMT-500 2031
Why can't I just create a
Thank you Kevin!
I will try to do this during the next FB update. I had a gut feeling
that having just an Eclipse FB plugin is much better due to wider
support (Java freaks :)
PS I have submitted a bug re. FlexBuilder.ini.
https://bugs.adobe.com/jira/browse/FB-16668
Seems like it ignores
I need a simpler and more intuitive way of managing my view and
component states. I presently use cairngorm but it doesn't have a
built in state management. I use the old fashioned custom events and
model bindings.
Is it possible to make the whiteboard transparent so I can overlay it
over an image or a pdf?
I tried reading docs on the new text layout framework but I found it
really confusing. I'd love to get some quick tips on getting started
with rendering text from right to left.
I have noticed that when I embed my fonts they load fine in Mac -
Safari
Firefox
However, on a Windows machine -
IE 6/7
Google Chrome
Firefox
The fonts do not load correctly.
Anyone know why this happens? Even in some places, the fonts look
fine, however in a lot of places they won't seem to
Hi, has anyone integrated the UPS online tools with FLEX??
Or is there any other easy solution to figure out
shipping charges for an online store?
thanks,
If you are using Coldfusion as he backend there is this project
available: http://cfups.riaforge.org/
Paul.
On 20/01/2009, at 10:34 PM, luvfotography wrote:
Hi, has anyone integrated the UPS online tools with FLEX??
Or is there any other easy solution to figure out
shipping charges for an
How do people add copyright notices to their code? When they create a
new file?
What if the notice changes? Do they use ant to add it before
compilation to each file?
Does compiling Flex remove the copyright notice? If so, should one
worry about having a copyright notice in the code for
--- In flexcoders@yahoogroups.com, Bill bill.frank...@... wrote:
is there any way to apply a styleFunction to a Grouping Field, so
that,
for instance, the row is a different color based on which level of
grouping it is?
For Example
Level 0 - Red
=Level 1- Green
==Level 2 -
hi all,
currently I m using Flekristal skin flex sdk 2.0 hotfix 3. When I switch
my project to flex sdk 3.0 the Flekristal skin is not behaving properly.Is
there any workout to handle the skin in flex sdk 3.0
thanks
Rahul Kandari
How do people add copyright notices to their code? When they create a
new file?
I've only ever done manual copy/paste at the top of each file.
What if the notice changes? Do they use ant to add it before
compilation to each file?
There's no point in adding copright notices before
81 matches
Mail list logo