Hi,
i have need your help.
I'm using Drools for my business roles.
My problem is how to implement a flex ActionScript solution sync
with my business roles message.
How is possibile, about you, sync
Validators?
Alert.Show?
Disable end Enable textInput?
If you have some example i'll appreciate so
Hi All,
Can we some how get the time of the server on our client machine.
Kumar
Hello,
I use a renderer to include an image in a grid. But some of the images
don't exist, and then they keep flickering. Some stroboscopic
strange effect.
Any idea how I can detect if the image could load and prevent the
strange effect ?
This is the code of my renderer.
?xml version=1.0?
It took a while, but I finally discovered the cause of the problem:
the set data() function for each renderer in the DataGrid is called
every time one of the renderers is resized. Does anyone know why set
data() is called? Here is more detail:
1) I extended the Tile container to use it as an
Hey,
Do the images exist in your file system? In other words, is Flex
failing to find images that actually exist? If so, could the problem
be that LoadImage() is sometimes invoked before the data is loaded?
-Jim
--- In flexcoders@yahoogroups.com, amigo_fd [EMAIL PROTECTED] wrote:
Hello,
Kumar,
You could write a function to invoke whatever server-side technology
you're using (ColdFusion, PHP, JSP, ASP) in order to access the
server's system clock.
-Jim
--- In flexcoders@yahoogroups.com, KP [EMAIL PROTECTED] wrote:
Hi All,
Can we some how get the time of the server on
Or would it better to create the graph with data seperately and insert
it into a datagrid if that is possible?
Thanks, Jason
--- In flexcoders@yahoogroups.com, jnewport [EMAIL PROTECTED] wrote:
I was wondering if anyone has seen a tutorial on using a linechart or
any chart as an
Hi all,
I facing a lot of problem with datagrid, in my datagrid user can
change the fontsize of the text in the rows, and row height varies to
reflect that change.
example : if I change the font size from 8 to 12 then the rowheight will
increase by some amount.
Now when row height
Hello,
I can set the selectedIndex to the correct row, but if that row is not
in the visible area, the datagrid should scroll to that row. How can
this be done ?
Now I use this code to set the selected row to the desired one:
var SelectedProductIndex:int = 0;
private function
This overlap has happened to me also, but only when using certain CSS
files. I did not resize any text in the datagrid it just happens on
its own. When it happened to me it was when I was using the MAC OS
css file, which you can download from the web.
If you are using your own defined css try
I have a class that has a method called trace. I wanted to test that
method so I used trace ... I know, dumb. Anyhow, I tried using
flash.utils.trace(message) to specify the trace I wanted to execute.
That gives me a compile error: Call to a possibly undefined method
trace.
Perhaps this is
Why would it be dumb to use trace? It's a neat way of doing a quick debug.
The debugger is not always the best choice.
Not sure why the trace will not work when called with the whole package
name, probably because it's build in globally.
Why not just simply use trace()?
Sascha
_
Hi,
I have been reading the various drag and drop examples and tutorials that
I've found online and in the docs, but am having issues with a complex drag
and drop interface that I can't seem to figure out. I'm wondering if the way
I have structured my MXML will even allow me to do what I want to
Is it possible to remove all the labeling x y labels and data from
showing on a linechart? What I am trying to achieve is to just have
the line show and nothing else, until you mouse of the line thus
seeing a dataTip.
I don't want to see any numbers on the x or y axis or see the x or y
axis
Derek, during very early FP9/Flex 2 beta releases the trace() method was
in flash.utils, but it was promptly moved back to the Top Level or
global scope after user feedback showed that importing flash.utils to
use trace() wasn't desirable.
See:
When I use css to skin to flex components, I'm able to create a swf
file with each symbol exported to the first frame and reference those
symbols from the css file.
I would like to know how I would be able to access a loaded AVM1
MovieClip's exported symbols the way the native flex components do.
I'm having a problem with Flex Builder 2 when an unintended
never-ending loop occurs, FB2 never bails. When I do something like:
function go()
{
go();
}
in Flash, the SWF is stopped and a 256 level error message is
displayed. When I do this in FB2 I have to quit FB2, otherwise it runs
forever
Ok, good. Now, each item in the first combo box has an XML location
node in it. If the location node contains the child nodes necessary to
populate the second combo, then in the listChangeHandler do something
similar to what you did in the result handler. You can directly assign
the dataProvider
Rachel:
If I understand your dilemma correctly, the following ideas may help.
1) Declare a variable to represent the container that you'll need to
reference during the drag drop action, e.g.:
private var _myParentContainer:TileList;
2) In your item renderer's creationComplete event handler,
Hi,
Here is my problem.
I want to make a list with items that expand/collapse when they are
clicked. Everything works until the scrollbar appears.
If i have 5 items.
i click the first that expands. i scroll the list to the last item
that was hidden to see that it is expanded !!! when i scroll up
Hi Jason,
You can do this using AxisRenderers, as follows:
!-- Set look feel for y-axis --
mx:verticalAxisRenderer
mx:AxisRenderer showLabels=false showLine=false
tickPlacement=none /
/mx:verticalAxisRenderer
!-- Set look feel for x-axis --
mx:horizontalAxisRenderer
mx:AxisRenderer
To make itemRenderer states work correctly during scrolling, you must
update a dataProvider item property to record that state on user action,
then in the set data() function, ( or in the updateDisplayList()
function) you must read this state property and set the item renderer
state accordingly.
Peter,
Perhaps you saw flash.utils.trace() used in an out-dated example?
When I type flash.utils.t trace(rest:Array):void is displayed. So, I
assumed it was still defined there but just included/imported by default.
So, is there a way to specify that I want the global trace function rather
Perhaps you should look into using updateDisplayList() funtion to do
the resizing instead of set data()? I am not good enough with item
renderers to know for sure, or why, but I get the feeling that this is
the method to use for some visual manipulations. There has been some
discussion, search
Symbols don't exist in AS3, there are only classes.
If you exported the SWF from Flash as an AS3 SWF, you should be able to
use getDefinitionByName to find the class instance in the dynamically
loaded SWF.
The compiler knows how to reference old-style Flash symbols at compile
time (via
Tracy:
I think that your comments here address the question I was trying to
ask in my post. This would seem to explain why the set data() function
is called on resize: When the item renderer's contents are resized,
the DataGrid needs to re-draw itself (just as it does on scrolling);
your comments
Tracy,
Thanks for the suggestion, but I don't think that it addresses the
question. I'm not calling set data() when the objects are resized; the
Flex framework calls it internally.
My app is working correctly now, so I'm not looking for suggestions on
how to make it work. Rather, I'm trying to
I am using an HTTPservice request to get a set of records in basic
format like so
recordsrecordmergeFieldMyField/mergeField/records/record
I am using the default result format for this request:
mx:HTTPService id=annotationsInfoReq
url=http://myDomain.com/getRecords.php; useProxy=false
I did what I said before to accomplish what I wanted :
- BitmapData.draw to get a bitmap containing my Canvas snapshot
- UIComponent.scaleX/Y to zoom...
I commented my sources if anyone is interested in using it.
eaurizon.org/labs_maz/AdvancedCanvas/src.zip
The package contains :
- AdvancedCanvas
Hi,
FYI Check out: http://www.nyflex.org/
-David
Adobe
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin Merritt
Sent: Monday, January 01, 2007 11:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] NYC based FlexCoders?
Looks like you're going one level too deep in your source attribute for
your ArrayCollection. Also your XML example is malformed, you're closing
records before record but I'm guessing that's just a typo.
Jeff
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Hi Jason,
You could use a labelFunction for the Horizontal and Vertical Axis.
Just return an empty string.
-TH
--- In flexcoders@yahoogroups.com, jnewport [EMAIL PROTECTED]
wrote:
Is it possible to remove all the labeling x y labels and data
from
showing on a linechart? What I am
I wondered if there was a way in Flex debug or somewhere in Flex to
see how it sees the object returned from a web service call. I am
consuming a web service that I don't have control of and it is sending
back some structure. I can't tell what it looks like to Flex, so I
can't get the DataGrid's
Ah, yes, I'd read your post, but hadn't thought through the logic to see
that set data would need to be called on resize.
Did you look into updateDisplayList?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jim Robson
hie !
i'm beginner with flex2
i'd like to make application with a tabnavigator and canvas where i
change canvas contener with different custom component.
a script can change a canvas contenner with custom component ???
i'd like change a canvas with another defined in custom component !
regards
Sorry to hear that
Mona
--- In flexcoders@yahoogroups.com, John Mazzocchi
[EMAIL PROTECTED] wrote:
Please ignore my last post. I just lost my job, so I don't really
care what the answer my last query is anymore.
Regards
This email and any files transmitted with it may be
Is there a way to cleanly cancel a drag/drop operation. I want to
cancel it by hitting the escape key. I can capture the Escape key being
hit during the drag/drop I don't know how to make the Image proxy go
away and return to it's source.
Thanks in advance!
I have a couple Image controls in a Canvas that I dynamically load with
different images throughout the life of my application. When I need to
change more than one of the images, one shows up and then the next and
then the next. They happen quickly but not simultaneously. Is there a
way to
Can anyone, help me with creating a dynamic flowchart in flex, i mean
the flowchart will be generated dynamically, and will be based on the
values in the databse for it, can any one help me with it, how do i do
this? any ideas
Thanks
Mona
We have an immediate opening for a Flex 2 developer to join our team. We
are a fast growing company with an expanding set of Fortune 100 customers.
We are looking for an experienced Flex 2/ActionScript 3 developer with
strong problem-solving skills, an eye for design, and the ability to
Hi,
I have two questions, the first is if anyone can recommend a good book
or learning source. I've gone through a majority of the getting
started examples and also have lynda.com essential training and beyond
basics - i didn't find the videos that helpful. I'm a coldfusion
developer with a year
In one of my apps, I maintain a connection to a JMS topic. I have noticed that
when I refresh
the page, the app creates another connection to the topic but does not close
the first
connection. Multiple refreshes creating additional connections, until the
server's maximum is
reached. How is
Jim,
Thanks for your suggestions, I'll give it a try!
Rachel
On 1/2/07, Jim Robson [EMAIL PROTECTED] wrote:
Rachel:
If I understand your dilemma correctly, the following ideas may help.
1) Declare a variable to represent the container that you'll need to
reference during the drag drop
I am a newbie to Flex...Can someone share ideas as to whether we can
develop this in FlexClick the mouse and drag to zoom...Can we
implement the drag and zoom feature...Please help...Thanking you in
anticipation
Please reply to [EMAIL PROTECTED]
http://www.allthegoodness.com/projects/map/
Dear all,
I'm a Flex newbie. I have tried Flex Builder 2 Sample for embed
sounds. it should be like this :
?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Script
![CDATA[
import flash.media.*;
Hi all,
I´m looking for a good way to use NetStatus events SharedObjects
onSync-data inside the Cairngorm framework.
Right now, I´m treating these in the Command layer, which I feel is
not really making sense too much.
Can anybody provide me with some help, links to resources or similar?
Thx
Don't bind directly to lastResult. Instead, use a result handler
function, to which you have passed the event object. In that fuction,
you can examine event.result at will.
If you are using resultFormat=e4x, use toXMLString(). If you are using
the default object resultFormat, then you need
Yes, the framework also calls updateDisplayList(), but it has a
different behavior than set data(). I recall someone finding it as a
solution to to many set data calls.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jim
Hi theo,
Thanks for your answers. I already tested your first solution but i
don't be satisfied because, in my mxml code, i have to define exactly
how many canvas i want to display. is it possible to display canvas
(mxml component) into a canvas object of a mxml application whithout
define
This works for me:
//close all nodes
myTree.expandChildrenOf(myTree.dataProvider.getItemAt(0),false);
I am looking for a typeahead component where the data in the dataProvider is
returned
from a database query after each keystroke. The examples i have used so far
work fro an
existing set of data but I need to dynamically define that data given the text
that has been
typed. I am sure many of
Hi
Thankyou for your wishes and i wish you the same
Regards
Ranjith Kumar.B
Quoting Sajid Hussain [EMAIL PROTECTED]:
Hello
In life we celebrate many events and today we have two great
celebrations Eid and NEW YEAR together with such events we create
our new hopes,ideas and we see
Hey Tracy,
Can you elaborate more on exactly how you would do
this ? sample snippet.
You gave me the same advice in my attempt to count
the records returned from a request.
Thanks
Ben Marchbanks
Tracy Spratt wrote:
Don't bind directly to lastResult. Instead, use a result handler
The easiest way to change components is to use a ViewStack. Will this
work for you?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of wifi19
Sent: Monday, January 01, 2007 12:36 PM
To: flexcoders@yahoogroups.com
Subject:
Hello,
The following I have heard great things about. I'd also reccomend
bookmarking the Flex Cookbook:
http://www.adobe.com/cfusion/communityengine/index.cfm?event=homepagepr
oductId=2
http://tinyurl.com/yks7n5
http://tinyurl.com/ylf9mg
http://tinyurl.com/ycrqjv
-David
Hi Mona,
Not sure if it fits or even comes close, but might be a good starting point.
Check out the Flex scheduling Framework project on adobe labs:
http://labs.adobe.com/wiki/index.php/Flex_Scheduling_Framework
Good luck,
Mike Weiland
Original Message ---
Can anyone,
Thanks for the reply.
Unfortunately, your suggestion did not work. I think it did not work
because I am not using a root node.
To see an example of what I'm doing please go here:
Paul Andrews wrote:
Here are my questions:
1) If I do this, can I add a loader to each child of the ViewStack so
that the user does not have to wait for the entire app to load in
order to start the application?
This already happens with components instantiated on demand as you run
This is a post I was about to send to the list. I figured it out right
before sending but I am going to send it anyway in case someone else runs
into it.
I have a frameset that contains Flash/Flash/HTML/Flash. In the top Flash
banner the Flex scroll bars always appear. I have turned off
Jim, thanks for the tip. How do you get rid of the
horizontalGridLines? I was able to remove the x y axis but the
small grid lines in the chart are still there.
Any suggestions? horizontalGridLines=false' doesn't work as it is
datagrid property.
Thanks, Jason
--- In
Hi G!
Code seems to be fine, but it ain't seem to be working. I wrote the
following code withing Flex:
// call on creation complete
private function initApp():void{
myExternalUrl = Application.application.parameters.theUrl;
requestText.text = myExternalUrl;
}
and then, within the object
It's nice to have options, however, I am still continually confused
by which direction to go in terms of Data Services when designing my
applications. I have been an AMFPHP user for the past couple years
and have found it very useful and effective for what I need (the
newest beta looks
I assume this is just another of the bugs specific to the Mac beta, right?
mx:DateField id=date selectedDate={model.inventory_date}
change={inventoryDetailsViewHelper.getAvailabilityNote()}
formatString=DDMMM /
the format prints as, for example for Jan 2, 2007:
0102022007
when it should be
hi guille,
Just to double-check, are you calling initApp()?
For instance:
mx:Application ... creationComplete=initApp()
If that is ok, confirm which html wrapper is being called. (e.g. Flex
Builder uses separate wrappers for debug and non-debug).
Also, for increased visibility into what is
Sure. Are you using e4x? Post your WebService tag declaration.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ben Marchbanks
Sent: Tuesday, January 02, 2007 2:30 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
I've not worked with the wrpper in 2.0 yet, but I recall reading that
parameters get read from a AC_OETags.js file, and not from the object
tag itself.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of greg h
Sent: Tuesday, January
Hi all,
Still in the learning phase of Flex's subtleties, I'm currently facing
an issue that is definitely starting to make me crazy :)...After
searching for hours on the web and in archives of various groups with
no luck, I thought maybe someone over here would be able to help me
out on this
greg,
I'm effectively calling initApp() as
mx:Application ... creationComplete=initApp()
I also changed the HTML code for both the regular html and the debug
html (since I didn't know which was the right one, I changed both).
Really winder what's going on!
As for the checkpoint or a
I'm not sure what e4x is. Here is my webservice declaration. It
returns a query from a ColdFusion web service (Flex=ArrayCollection, I
think).
mx:WebService id=get_home_list
wsdl=http://imd9.state.or.us/ex/bcd/loisflex/lois.cfc?WSDL;
useProxy=false showBusyCursor=true
I have an application with multiple tabs. Inside one tab (via Canvas) I
have a SWFLoader to a chart component.
I want to have the option to either load the SWF via clicking on the
chart tab, or jump to a particular chart (under this tab) via another
component in another tab (via a button
percentHeight and percentWidth are for actionscript only
No. You can set them in MXML as well.
mx:Button width=50%/
is just a convenient alternative (and one familiar from HTML) to
mx:Button percentWidth=50/
- Gordon
From:
I am tryin to use a combo box as an item editor in a datagrid. I am not
quite sure how to remove the editor and correctly return the selected
value to the datagrid row. As of now I have to click on another row to
remove the editor and I get an undefined object. I have come acrros
examples on
Hi all,
I have placed a RichTextEditor into a tabNavigator, and I get the
following runtime error. See sample app. If you remove the
tabNavigator, then the RichTextEditor works fine.
Any ideas? Am I doing something dumb?
TypeError: Error #1009: Cannot access a property or method of a null
Hello,
I was wondering if there is a way of passing more than the default
item:Object argument to a dataTipFunction of a datagrid. In addition
to the item I'd like to pass a string variable.
GP
Hello,
I think I've come across a bug in the datagrid datatip function. When
using an array as the dataprovider for a datagrid, the tooltip works
fine and it displays a tooltip with the specified column of the data
provider.
However when I use an XML dataprovider and specify the following
Hi, I'm trying to put together an flv player with a progress bar and
videodisplay object. I am using the progress event and when the
player first loads the progress shows fine, but when i hit the play
button (calling videoDisplay.play()) it throws away the buffer and
starts over. This only
Hi all,
I have an app that will need to send some candidate responses back to
the server upon completion of a test. This functionality needs to be
as robust as possible, and handle such problems as timeouts if the
network comms can't access the server etc.
In the event of such things, I'd like
Hi folks,
I have a component which is a subclass of UIComponent. I would like it
to receive mouse events (MouseDown, MouseUp, and MouseMove,
specifically) even in areas where there are no children and I have not
drawn using this.graphics.
Is this possible? Do any of you have ideas on how to
I am having a hard time following your approach ref. to listChangehandler
(understanding the where and what to change) the binding approached worked on
the 2nd
ComboBox but not the third and so on... In mybox3 if I mirror the
dataprovider it does
return the same values as the second just not
Hi Everyone-
We are hosting a live Flex event in Dallas, Texas on January 18th.
For more information or to register, please visit:
http://www.eventsadobe.com/flex
Thanks,
Desiree
.simplebutton
{
upSkin: ClassReference(null);
}
works for me, but you have to spell the style name upSkin, not upskin.
- Gordon
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of graysonpierce
Sent: Wednesday, December 20, 2006
There's no need to pass additional arguments. If the dataTipFunction is
a method of a class, it can access any of the instance variables of that
class.
- Gordon
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of graysonpierce
Sent:
Check out this or use debug mode with Debug Flash Player:
https://addons.mozilla.org/firefox/3469/
On 03/01/07, g_vaccarezza [EMAIL PROTECTED] wrote:
As for the checkpoint or a trace() statement...
I'm having a hard time getting around flex debugging... I'm a Flash
user and I'm used to the
I guess you start and pause the flv so it can preload? You should
unpause the video instead of using play again because otherwise the
buffered netstream is replaced with a new one like you described.
stream = new NetStream(nc);
// start preloading
stream.play(flvname);
// pause the stream so
e4x is the acronym for ECMA Script 4 XML, or something like that. When
you specify it as the resultFormat for an RPC data service call, it
means that your result object will be an XML object and that you can use
the new, Actionscript 3 xml selection expressions with it. If you do
NOT specify it
I couldn't find it specifically stated in the docs, but I suspect that
the TabNavigator is going to require *container* children and won't
allow a naked control. It may be looking for label or something like
that.
Wrap the RTE in a canvas and it works ok.
Tracy
The benefit of the handler function over the binding is that you can
examine the structure of the current item to understand how to build the
expression to return the dataProvider.
Now, you are going to need separate handler functions for each combo
box, or else pass in a parameter and create
Ah, it is strongly implied in the docs that TabNavigator children must
be containers: ...for navigating between its child containers ..., and
similar language.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of parkerwhirlow
Sent:
I received the reply copied below regarding the problem that I had with
the beta for Flex 2 Mac expiring unexpectedly and thought I'd pass it
on.
Paul
---
Paul Whitelock
Denver, Colorado
Hi,
The commercial version of Flex Builder for the Mac will be available
within the next 7 days, so your
Where do you create the NetConnection? I want to use Cairngorm for a
Red5 test app [1] and was thinking of adding NetConnection support to
the ServiceLocator. Cairngorm's ServiceLocator supports http,
remoteobject, webservice and fds but i don't see FMS/netconnection
support.. Maybe
Guille,
fyi ... I too am a Flash user. Flex 2's debug capabilities are a phenomenal
advance for developers like us. I have some notes below regarding FREE
DEMOS OF DEBUGGER you might want to check out over at
Lynda.comhttp://movielibrary.lynda.com/html/modPage.asp?ID=290
.
Taking the queue
Hey, has anyone out there ever made text that follows a curve in flex2? Like
a besier curve or even a circle? I've searched but can't find any examples
of where to start. TIA.
-Andy
Thanks Tracy - I had actually hacked through to
arrive at the endpoint of your illustration -
which is very clear.
I understand now how this gives you full access to
the results.
Next questions: how would you bind this result to
a dataGrid or AC ?
Ben Marchbanks
::: alQemy :::
I understand your Windows license is transferable to Mac for the
upcoming commercial release? Is this still true? (Matt)
.j
Paul Whitelock said the following:
I received the reply copied below regarding the problem that I had
with the beta for Flex 2 Mac expiring unexpectedly and thought
It's nice to have options, however, I am still continually confused
by which direction to go in terms of Data Services when designing my
applications. I have been an AMFPHP user for the past couple years
and have found it very useful and effective for what I need (the
newest beta looks
Okay finally nailed it
myArrayCollection.source =
ArrayUtil.toArray(event.result.record);
Hopefully tomorrow's success will come much easier !
Ben Marchbanks
::: alQemy ::: transforming information into
intelligence
http://www.alQemy.com
::: magazooms ::: digital magazines
96 matches
Mail list logo