I try to send an AsyncMessage from a server side class to a specific
client. What I came up with so far is to use the routeMessageToService()
method of the MessageBroker class and set the
DESTINATION_CLIENT_ID_HEADER header of the AsyncMessage to the clientId
of the connected Consumer.
This
Nevermind, the MessageService pushMessageToClients(Set subscriberIds,
Message message, boolean evalSelector) method does the job.
Dirk.
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann
Sent: Thursday, February 08, 2007 9:17 AM
Hello there,
How to set the values to right/left/top/bottom properties programmatically
using AS3 ?
Thanks
--
A vivid and creative mind characterizes you.
Dimitrios,
Thanks for your response. I'm coming from a C# and Java background,
primarily larger apps. So naturally I would split *everything* into classes
and util objects. However I wonder if in terms of scope I can do anything I
could do as opposed to doing it inline? I don't want to end up
OK, this is driving me nuts. I'm using Flex Builder 2.01 on a PC.
I have a very simple component (say test.mxml), code below, where I set a
label value on a button using actionscript.
I can get this to compile very simply and we're all happy.
As soon as I edit the main application(main.mxml)
The 1st problem is that you can not name your button id x as it is a
reserved word.
Not sure what you are trying to accomplish. If your goal is to be able to
set the label from the main application, you should do something like this:
?xml version=1.0 encoding=utf-8?
mx:Canvas
Hi,
I've got the solution now. I'll post it, if someone needs it in the
future:
In general: I've a ArrayCollection validators where I put all my
validators in (when I create them (dynamically)).
On creation of my FormItems (i.e. a TextInput called editor), I add
the following two
Hi Rich,
This is just a test case of mine. I want to set the label of the button using
script, inside the component. Forget trying to set it in the main application.
There are no compile errors in the component code (make the id of the button
whatever you wish), until the component is included
Hi There
To use kind of request you also have to take advantage of theses things that
left,right,top,buttom are wellformated into the CSS, that makes part of
constraint Layout.
To do that with no error, you could use the width and height of your
container like width, height and then compare
In Addition of Rich Tretola solution
here's anothe one.
yours:Component creationComplete=setLabel id=labelfill/
script
public function setLabel():void
{
labelfill.label = my Label;
}
/script
Best
On 2/8/07, Rich Tretola [EMAIL PROTECTED] wrote:
The 1st problem is that you can
Private Romeo
I suggest you the Actionscript 3.0 Design Patterns, (
http://www.amazon.com/Advanced-ActionScript-3-Design-Patterns/dp/0321426568?tag2=gp04-20)
usually it's a very clever way to learn much more as patterns against only
how to's.
I've read that book and can give you a eye
Carl.
Take a look at the Help using the new way to set and get databind, then you
could combine both to use to solve this problem mashing up with the hitArea
of PlotChart.
If I'm not wrong Ely had an example of that into his blog.
Best.
On 2/8/07, carl_steinhilber [EMAIL PROTECTED] wrote:
Raju
Check this out, could get you point into your problem
http://www.darronschall.com/weblog/archives/000249.cfm
Best.
On 2/8/07, raju_bb [EMAIL PROTECTED] wrote:
Hello everybody,
I am facing difficulties in using FlashPaper into Flex.
I am creating a separate textbox other than
OK, thanks guys, I guess I do need that coffee. The problem goes away
if the code is wrapped in a function (to be called on initialisation
or creation complete_ - I guess thats the only way to safely access
the properties since otherwise they may not exist. The thing that
really threw me was that
Place the line ' x.label=jim ' in a function call that on the
creationComplete event of the component. The fault is in directly writing
the statement.
Regards,
Robi.
Kaleb
Use Number as usual was in Flash.
public var myNumber:Number = reachs 32k digits positive or negative
public var myotherNumbre:int = reachs only integer numbers more than 0
public var ler:uint;
Etc.
Best.
On 2/7/07, kaleb_pederson [EMAIL PROTECTED] wrote:
Hello all,
Does anybody
Hi Valy
That's perfect scense of use, the selectedItem claims to use to select some
values into the array of binded component and in other hands selectedIndex
it's to select the first item of this component. You don't have to do much
more if you can do this into a function then you will need to
--- In flexcoders@yahoogroups.com, Robi Ray [EMAIL PROTECTED] wrote:
Place the line ' x.label=jim ' in a function call that on the
creationComplete event of the component. The fault is in directly
writing
the statement.
Regards,
Robi.
LOL, yes - I said I needed that coffee.
Hey Paul,
Cool down men. See whenever we write a script in an mxml file you need write
that script in a function.
For example:
Your code was:
mx:Script
![CDATA[
x.label=jim ;
]]
/mx:Script
Put the same thing this way:
mx:Script
![CDATA[
function init() {
x.label=jim ;
}
]]
Hi,
I was having some problems with the commitRequired property in the
dataservice component when use 2 way binding.
All works well until you have nested items. If you have a UserVO and an
AddressVO inside the user. For example:
mx:TextInput id=name_address text={
Hi have done it by giving an id to the colum and sets its visible
property to hide/show that purticular column.
Thank,
Sanjay
--- In flexcoders@yahoogroups.com, Jeff Tapper [EMAIL PROTECTED] wrote:
something like this should work (note, this code is off the top of
my head
and not tested)
Hi,
I have embd a trash image in the image tag. I want to drop a datagrid
item over this trash image to delete it from the grid.
But I didnt find dropEnabled property of Image tag.
how can I do it? please suggest..
Thanks for support.
Sanjay
Hi,
I have a question regarding flex builder. Is there any to compile MXML
file using command prompt as we do to compile JAVA file??
Pls suggest.
regards,
sanjay
Sorry, I guess I should have read all of the followups before posting the
last code snippet. :)
On 2/8/07, Rich Tretola [EMAIL PROTECTED] wrote:
Well you can do that if you do it within a function like this:
?xml version=1.0 encoding=utf-8?
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml
Well you can do that if you do it within a function like this:
?xml version=1.0 encoding=utf-8?
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=400
height=300 creationComplete=setLabel()
mx:Script
![CDATA[
private function setLabel():void{
x1.label=jim;
}
]]
/mx:Script
use mxmlc to compile the app from command line.
It is part of Flex SDK
Refer to any build.bat inside Flex SDK/Samples directory for reference.
If you wish to create Ant based compilation scripts refer to
http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks
Thanks
On Feb 8, 2007, at 5:10 PM,
I am unable to get the FlashTracer of Firefox to work on Mac.
It just doesn't log anything either on the flash tracer frame or
flashlogs.txt
It works fine on windows.
Any suggestions on how to make it work on Mac ?
or any other easy (no Alert) alternative to debug flex apps.
Thanks
Bhuvan
Is there any way to get the programmatically created object if it's id is
known?
Or how can I get a property of such object?
Thanks in advance!
--
A vivid and creative mind characterizes you.
Is there someone who has a Flickr/Flex app online that can help us out here
?
What did you do to deploy your app online ?
I decided to extend this question a little bit: There are some objects of
DateField, TextInput, and others that are created using AS3 dynamically. I
have also an array of ids as String objects. How can I access these objects
using that array?
2007/2/8, Mikhail Shevchuk [EMAIL PROTECTED]:
Is
Hello,
I want to store an instance of a Singleton class User into a clientside
Shared Object.
Everything turns out allright, that is untill I try this in a class:
user = so.data.User;
This code works fine for me, but ...
If I call the User in another class, eg:
User.getInstance().name
Than
Heh, the solution was close enough to me.
I just have to assign a name property, not the id one. After that, I can
access to the text property of this object by:
Object(super.getChildByName(dateFrom)).text
2007/2/8, Mikhail Shevchuk [EMAIL PROTECTED]:
I decided to extend this question a
I'm not sure, if i understand you correctly. Are you setting the
instance of your singleton to the value from the SharedObject?
Cheers,
Ralf.
On 2/8/07, Webdevotion [EMAIL PROTECTED] wrote:
Hello,
I want to store an instance of a Singleton class User into a clientside
Shared Object.
Before I begin to create a PHP script from scratch I was wonder if
there is any open source PHP script available that will produce the
proper XML with appropriately nested children to populate a Flex Tree
in one fell swoop ?
and vice versa ...
I want to store user information ( name, email, ... ) from my User singleton
in my shared object and when the user returns, I want to read the data from
the shared object and put all the values in my User class.
I can do that by going thru al the public setters, but it'd
Has anyone done any work with printing the htmlText from a TextArea
component that has a scrollbar?
I have tried a few different avenues but none are getting me the results I
am looking for. The biggest hicup is that I can't seem to be able to get a
height calculation of the actual text within
Can you show the code of your User class?
Cheers,
Ralf.
On 2/8/07, Webdevotion [EMAIL PROTECTED] wrote:
and vice versa ...
I want to store user information ( name, email, ... ) from my User
singleton
in my shared object and when the user returns, I want to read the data
from
the shared
Thanks for the using a Constant tip - as I agree with you.
Using a constant, will automatically grab any new values, in case any
changes are made in future releases.
I was going to make all these changes eventually, but now I think I will
speed up that process, as I comb through my source code
hello all,
This is just a test mail.
Please ignore this.
Thanks
hello everyone .
i am try to put an image that is of gif . but doesnt animate it just
shows like image...
please help ...
Hello all
I have an Action Script object that has complex data types, here is the
sample:
package action_script_src
{
[Managed]
[RemoteClass (alias=cp.engine.datamodel.CounterPointUser)]
public class CounterPointUser extends CounterPointObject
{
public function CounterPointUser()
{}
hi,
I am using flashpaper API in flex
can anyone tell me how to use findnext() API
Thanking in advance
-
Heres a new way to find what you're looking for - Yahoo! Answers
sure:
package be.webdevotion.business
{
public class User
{
private static var _instance:User;
private var _email:String=;
private var _name:String=;
private var _transformations:Array;
Hi folks. I'm a novice at flex/as3. I ran into this scoping problem. I
want to find a way to store all the data I retrieve into a static class
member and access where ever and whenever I like. However, it seems as
if the static member is not in scope. Here are my codes
Hi,
I am having great difficulty in finding info about data and binding. I have
a xml document which I can connect to but I cannot use the data in more then
one component. I want to display a combo box and selectitem it to a
datagrid with its childnode. I could do this on flash with ease but
Jeff,
this is what i'm seeing, when i use the fdb debugger :
(i already uninstalled my firewall, disabled the windows fire wall,
so there should be no problem with any ports that are unusable).
He is sending to rtmp://localhost:2038, and is receiving
channel got status. (Object)#0
That's the
I found the solution.
I had to override the ListBase class in my List compnent extention,
not the List class itself as it was just overriding the ListBase
class drawHighlightIndicator() function.
//
// Override drawHighlightIndicator()
Hi,
I want to be able to get the duration of any flv file using the
videoDisplay object. This works fine most of the time (just
myVideoDisplay.totalTime)... However, for older flv files (before
1.1) this metadata is not included.
Looking at the code in VideoDisplay.as:
/**
Hm, how can you set the instance, if its private?
Cheers,
Ralf.
On 2/8/07, Webdevotion [EMAIL PROTECTED] wrote:
sure:
package be.webdevotion.business
{
public class User
{
private static var _instance:User;
private var _email:String=;
private var _name:String=;
private var
Yes that's possible, but semantically it is slightly different.
Inside the binding tag, the sequence of function calls is given by the
sequence in your code.
If you use mulitple addEventListener calls the sequence is not guaranteed.
Another possibility, which maintains the sequence, would be to
How do you have the path to flashlog.txt set up? It's a bit different
for the Mac. You've got to use colons, and the full path. The path
is also now static (you can't set it to whatever you want) due to
Vista compatibility changes. Here's my working config:
Macintosh
hello.
is there some way I could load pdf files in flex? (I've searched a
bit.. and I could convert the pdf file into a swf file.. and then load
the swf into flex)
can you tell me such a command line convertor? so I can use it on the
server side?
thank you!
I dont use code-behind so someone else is probably best suited to reply to you.
But from what I know, you have to re-declare all your components in the
write-behind class so I consider that overhead and I dont think there is a way
around it.
Dimitrios Gianninas
RIA Developer
Optimal Payments
Hi,
Do us a favor and try not to cross post with flexcoders and flexcomponents.
All the people that can answer your question, read both lists.
Don't waste Alex's valuable time. He is an asset.
I found the solution.
Alex gave you an answer yesterday on the flexcomponentst list. This just
Actually I think that is correct behaviour, once a user starts to change any
data a commit is required. Flex can't start looking at the original object and
doing comparisons all the time, that would not be very efficient, especially if
your object graph is big.
Dimitrios Gianninas
RIA
Same issue here,
As a moderator of the flexcomponent mailing list, PLEASE do not cross post
on flexcoders and flexcomponents.
I guarantee you half your questions will not be answered when you do this.
If it is a component question dealing with the framework ask on flex
components, if it is
Only drop targets that are subclasses of ListBase (such as List, Tree,
DataGrid) have a dropEnabled property. For all other components, you
have to handle the dragEnter and dragDrop drag events.
For more information, see the doc here:
removing this listener would be tricky however.
On 2/8/07, Ralf Bokelberg [EMAIL PROTECTED] wrote:
Yes that's possible, but semantically it is slightly different.
Inside the binding tag, the sequence of function calls is given by the
sequence in your code.
If you use mulitple
var user:User = User.getInstance();
Can't find the words to describe my problem.
It's not easy, it's difficult to grasp.
1. Is it possible to for me to use my own custom preloader as soon as
my Flex app loads. If so how is this done? 2. As soon as my Flex app
loads the default Flex background colour appears before the background
image I set appears. How can it be set that as soon as my Flex app loads
that
http://dougmccune.com/blog/2007/01/17/animatedgifloader/
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of dooms
Sent: Thursday, February 08, 2007 2:25 AM
To: flexcoders@yahoogroups.com
Subject:
Hi All,
just looking for help on something with the tree control : its
default behaviour is to open a leaf when the user click on the arrow
- I want to make it behave in the same way when the user clicks on he
actual text (ie the FOLDERopenIcon or the text text to it ...
any suggestions ?
Ralf,
That is an interesting approach.
I just have never had the need for something like that.. yet.
Didn't I read somewhere that the order you add listeners is the order they
get dispatched in as3 now? Plus you can use priorities.
PS From an OOP standpoint, I wouldn't do it , I would just
You need to set the _instance of your User singleton
to the value you get from the SharedObject.
Cheers,
Ralf.
On 2/8/07, Webdevotion [EMAIL PROTECTED] wrote:
var user:User = User.getInstance();
Can't find the words to describe my problem.
It's not easy, it's difficult to grasp.
--
Tried that by setting _instance to public earlier today.
I will check it out again.
On Wednesday 07 Feb 2007, Piotrowski, John wrote:
So at this point I am thinking there must be something on the Server
that needs to be changed but I am not sure what to tell the admins to do
They need to add a matching channel end point (change to 'https' and
two 'Secure' added), then bounce
http://blog.everythingflex.com/2006/07/22/custom-preloader/
I have used this method at:
https://www.ringdesignonline.com/HJRingSales/Index.jsp
Rich
On 2/8/07, mariusphipps [EMAIL PROTECTED] wrote:
1. Is it possible to for me to use my own custom preloader as soon
as my Flex app loads.
Is it possible to for me to use my own custom preloader as soon as my Flex app
loads. If so how is this done?
As soon as my Flex app loads the default Flex background colour appears before
the background image I set appears. How can it be set that as soon as my Flex
app loads that my custom
Yes Johannes Michael
I'm not using it either.
I just wanted to show what is possible.
Since i don't use code behind, i don't have this kind of problems anyways ;)
Cheers,
Ralf.
On 2/8/07, Michael Schmalle [EMAIL PROTECTED] wrote:
Ralf,
That is an interesting approach.
I just have
Here we go.
Could help you in some straight
http://www.darronschall.com/weblog/archives/000249.cfm
Best.
On 2/8/07, Vinay Pillay [EMAIL PROTECTED] wrote:
hi,
I am using flashpaper API in flex
can anyone tell me how to use findnext() API
Thanking in advance
--
A Sorry about that
--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:
Same issue here,
As a moderator of the flexcomponent mailing list, PLEASE do not
cross post
on flexcoders and flexcomponents.
I guarantee you half your questions will not be answered
On Tuesday 06 Feb 2007, arcencie1978 wrote:
Any ideas???
Use
less
white
space
and
try
including
some
code
to
show
us
what
you
are
doing
then
we
can
suggest
what
may
be
up
.
--
Tom Chiverton
Helping to appropriately target edge-of-your-seat models
I give up for now. Six hours is long enough : )
I will use
User.getInstance().name = so.data.user.name;
Brian,
I am very interested in in a testing library like you speak of, and was
wondering what you thought of Matt's reply? Does your current system utilize
mx.automation and/or are you considering leveraging this?
Thanks,
-Scott
On 2/7/07, Matt Chotin [EMAIL PROTECTED] wrote:
I am not
I have a Label or Text component.
If I do not set AccessibilityProperties on it, JAWS just reads the
text property. When I set AccessibilityProperties and give it a name
and set forceSimple to true, to override the text property, JAWS reads
'Graphic' and then the AccessibilityProperties.name. Is
Is there any documentation on building an adapter to use the
automation packages? I browsed through the source of the classes in
the automation package and it appears to support the record and
playback model of testing, which in my opinion what you want to avoid.
Can the automation package be
just do:
User u = User.getInstance();
u = so.data.user;
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Webdevotion
Sent: Thursday, February 08, 2007 10:25 AM
To:
Thanks for the answer, it's clear now, the API is very clear in this regard,
but haven't checked before posting the question... my bad.
Valy
- Original Message
From: Igor Costa [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, February 8, 2007 5:23:01 AM
Subject: Re:
Hello...
Here is my idea. I'm working on a query tool for a simple data
repository. I have 3 operators, AND, OR and NOT. What I would like to
do is use a tree control to form the queries.
Example in rudimentary text drawing:
AND
|
- query term
|
- query term
+
(the plus sign is to open
Hi,
I'm using a column chart with my application. Works fine when
displaying two or more columns, but if the dataProvider contains data
for only one column, the column is not displayed.
The only way I found to display it is to use a CategoryAxis, but that
won't work for me because it skips
I allready use
registerClassAlias(be.webdevotion.business.User,User);
to register the User class in the so.data.
This way the shared object knows about the data type ; )
Yes - we are very interested in leveraging the existing automation
packages...we need some questions answered first...please see my
response here:
http://tech.groups.yahoo.com/group/flexcoders/message/64177
Two most important things for us to consider using the automation
packages:
1) They
ok forget it got it when I turned my brain on -
On 8 Feb 2007, at 14:33, Matt Wicks wrote:
Hi All,
just looking for help on something with the tree control : its
default behaviour is to open a leaf when the user click on the arrow
- I want to make it behave in the same way when the user
actually, a second try; I never saw the first post make it to the list
I really hope someone can tell me what I am missing here.
Many thanks
Jack
In an earlier thread, I got engaged in the issue of history.js and a
history.html iframe. There is a template that doesn't use history.
That's as
I'm trying to get a node when dropped to demote and to become a child.
I've looked and tried everything. If anyone could help or give me a
quick example I would appreciate it... very much so.
So far I have a simple tree structure as such.
var temp:String = root label=\Default Policy\+
why is FDS such a problem. there are free license options availible
On 2/8/07, brian.knorr [EMAIL PROTECTED] wrote:
Yes - we are very interested in leveraging the existing automation
packages...we need some questions answered first...please see my
response here:
And I just posted my latest version of an extended TabNavigator with
the source.
http://dougmccune.com/blog/2007/02/07/quest-for-the-perfect-tabnavigator-part-3-with-source/
Doug
--- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote:
Bump...
My version is now up with
Yes,
Look at the itemRenderer property of the Tree. It's exactly what you want.
You might also check out dataDescriptiors if your model is complicated and
you want to extend the tree using your custom component
children(itemRenderer) and model.
Peace, Mike
On 2/8/07, tinkiknit [EMAIL
Thanks! I shall give it a try...
christine
--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:
Yes,
Look at the itemRenderer property of the Tree. It's exactly what
you want.
You might also check out dataDescriptiors if your model is
complicated and
you want
Yes, it knows about the type, so the shared object knows
which class to use when recreating the instance. It's just -
if you don't assign the user object from the SharedObject to the
static _instance your User class simply returns a different user object.
There is no implicit connection between
No, it's exactly the following:
mx:Application layout=vertical height=100% width=100%
creationComplete=App.shell.onApplicationStart(this)
xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Style source=assets/css/GlobalStyle.css /
.some components.
Yes you are correct...we could get a free FDS Express license for each
of our developers and have them install FDS locally. We decided a
while back to stay away from FDS because of the cost of using it in
production. But for testing purposes we could use the free licenses,
which begs my other
Hi all -
how the heck do you customize the rollover of a tree ? I don't mean
the colour I mean the shape - at the moment the tree looks great and
then you rollover (or select) and this horrible rectangle appears ::
appreciated as ever any help
Matt
Thanks Ralf,
Finally got it :)
I think this has solved my issue.
How do you guys/gals plan out large projects? Something you can the
client can both see and get a feel for the working/flow without
actually programming the whole big thing but still being able to show
how requirements will be met
If this is a trade secret type thing, could you at least point
I already think I know the answer, but I will ask anyway. We buy medical
knowledge from a company in HTML page format. Question is, using Flex, is their
any way I can read these HTML pages into Flex and display. I know I can do
this in Java, but it would take forever and my boss wants to get
I would like to set a specific tab loop for each state of the
application I'm working on.
I thought that I would just set the tabIndex of the components and
that the default tab index order would be overridden. This did not
work. Tabbing behaves as if no tab index has been set.
I have made sure
Have you simplified things by removing jetty (of which I am ignorant)
from the equation? Put the swf in the same folder as the wrapper.
From a browser on the server hosting the wrapper, can you hit the jetty
/ swf url?
Tracy
From:
Number isn't suitable for my needs; it allows for very large
numbers, but its precision is limited to 53-bits. I need between
1024 and 4096 bit precision. Specifically, I will need to generate
prime numbers that are between 128 and 512 decimal digits in length,
determine if numbers are
From what I've read so far, html support is not planned for the Flash
player (and therefore Flex) anytime soon.
What people are doing is combining Flex/Flash with AJAX/HTML on the
same browser page and using something like
http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge
to pass
1 - 100 of 176 matches
Mail list logo