Thanks for that Seth, its definately a step in the right direction.
I have now removed the fds.swc from the module project's build path
but i am getting a few compilation errors on VO classes i have
defined to be used in the managed collection of objects...
1045: Interface IManaged was not
We're pleased to announce PyAMF 0.3.1, a lightweight library that
allows Flash and Python applications to communicate via Adobe's
ActionScript Message Format.
AMF3 and RemoteObject are supported in all the implemented Remoting
gateways, compatible with Django, Twisted, TurboGears2, Google
Definitely a shared code problem. Check Alex's blog for more details.
http://blogs.adobe.com/aharui/
Gk.
Gregor Kiddie
Senior Developer
INPS
Tel: 01382 564343
Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ
Registered Number: 1788577
Registered in the UK
--- In flexcoders@yahoogroups.com, Aaron Miller [EMAIL PROTECTED] wrote:
Hello,
I've been playing around with the Flex charting components, and I
seem to be
running into an issue when I try to plot (draw) a line on the graph.
I am
using the CartesianDataCanvas.moveTo and lineTo functions
Hi,
I had some tests need to be done with flex 2 and somehow we manage to
damage the original machine that installed with flex 2.
My question is: where can i get the installer for flex 2? The Adobe
site changed everything to Flex 3 and i could not locate Flex 2 archive.
Thank you.
B.
I'm working with the Flash/Flex component kit and I have created some
swc and swf files with a base class of UIMovieClip.
All of the tutorials I've seen/read describe using the swc file to
instantiate the Flash component in a Flex component.
I have an application that requires these components
Hi,
I use as3 + sdk + FlashDevelop to do swf:s, currently trying Flexbuilder
as I eventually would like to start using mxml.
I am not completely sure how coordinates and sizes work. Say that I have
a root Sprite 100x100 large; a child Sprite at x:50,y:50 of size 50x50.
It seems that flash
Hello, everybody!
How to use addEventListener for File.createDirectory() on Adobe AIR?
I write code:
var dir:File = new File(e:\\).resolvePath(myDir);
dir.createDirectory();
dir.addEventListener(Event.COMPLETE, someFunc); // Tooltip show me that this
event i can use for my parameter and I want
I'm not saying it's a major problem that we come across often, but
when taking on other people's work, or working as a team it's
something we have come across. We would expect all vars, methods,
class, events to be named well, but we find it more efficient to
error the project through
i want to use rendered items in a datagrid .. now i want to have
interaction so that if i have a delete button or checkbox i can really
begin to put code behind them.
I've got all my code to handle showing my button and checkbox but no
code too handle how i can remove an item and pass to a php
I am getting this error with reference to FlexLib when I try to
compile my project.
Does anyone know what causes this error and how to get rid of it?
Thanks,
G-Man
Hi All,
I have a datagrid which has customItemRenderer. In the itemRenderer I have a
button which onClick adds a child label to the itemRenderer.
Now,in the application, when I click on an item's button a label is added to
it. Then I scoll down and (don't know why?) find this label added at
Ok i managed to get the problem sorted.
All i had to do was create a dummy instance of the
mx.data.messages.SequencedMessage class in the main application.
Previously, I had to do this will alot of my own AS classes (and a
few from the Flex framework), but now i am using an RSL (where most
Try searching the Adobe site for the Flex 2 SDK with Google (or another
search engine). Google can use the term site:http://www.example.com; to
limit the search to a single site. I found
http://labs.adobe.com/technologies/flex/sdk/flex2sdk.html
which seems to be what you want (and also offers
Hello!
I am currently a bit clueless regarding using Flex components. I am
currently trying to port a .NET component to Flex. Only I have some
problems. In a simplified form the problem is that I am trying to add
childs to the component. The idea is to use public method to add nodes
to the
The best way is to have the change or click of your checkbox or
button(toggle?) update the associated dataProvider item. Easy with XML,
just set an attribute, like [EMAIL PROTECTED]delete.
When you are ready to update the server, get the modified rows (again
easy with e4x), and build your
Item renderers are recycled, and must be entirely data-driven. When you
add your child, you must update some property of the dataProvider item,
say, [EMAIL PROTECTED] = true.
Then in your set data() override, use the value of that property to
decide whether to either add or remove the text
I put together a short tutorial on how to use AMFPHP with ADOdb as
database abstraction layer. The focus is on beginners with AMFPHP. I
hope you find it useful.
http://blog.log2e.com/2008/05/05/using-amfphp-with-adodb/
Hello,
I have a bubblechart where I use button as itemrenderer.
Once the chart is created the same rendered items are shown
even though the [Bindable] dataprovider is changed but the
number of item that are shown in the chart reflects the
change. I guess I need to remove all the
Hey all,
I've got a combo box with a dataprovider set to an array of value
objects. Inside this value object are fields like name, and id. I've
got the name as my label field but i'm not sure how to tell Flex
that i want the value object with an id of 3 to be my selectedIndex
value.
thoughts?
Oops, maybe misread your question. You are not asking about accessing
deeply nested values, but rather how to set the combobox selectedItem to
match its current value?
Or maybe you are just asking about declaring dataField?
Tracy
From:
I have a bindable data model implemented as a singleton, several
properties of which are implemented as XML. My app uses binding and
ChangeWatchers to respond to changes in this XML data.
If I assign an entire xml to one of these properties, the property
change is dispatched and my bindings
labelFunction()
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jonese
Sent: Monday, May 05, 2008 12:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Combo Box trying to get a deep data...
Hey all,
I've got a combo
Nobody know how create eventListener for File.createDirectory() ???
- Original Message
From: Carlo Gulliani [EMAIL PROTECTED]
To: Flexcoders flexcoders@yahoogroups.com
Sent: Monday, May 5, 2008 4:53:11 PM
Subject: [flexcoders] addEventListener() for File.createDirectory(). How to use?
in case you wanted to see my current code
mx:DataGrid x=10 y=37 width=697 height=241 editable=false
id=staffgrid dataProvider={staff_array} textAlign=center
mx:columns
mx:DataGridColumn
headerText=Inspector ID
im not sure im following you?
cant i just send off the entire grid as it is to PHP and then let my
php worry about it?
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
The best way is to have the change or click of your checkbox or
button(toggle?) update the
What is your PHP code expecting? How does it know if a row is to be
inserved, deleted, or updated?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jason B
Sent: Monday, May 05, 2008 1:41 PM
To: flexcoders@yahoogroups.com
umm? well i wasn't sure as ive not seen any examples of interaction
with php with a datagrid yet? im new to handling this datagrid except
being able to populate it which works now how can i handle php saving
options when the grid changes?
I guess i was thinking i could just pass php the old grid
When typing in a datagrid cell, I am capturing the datagrid's change
event and then making calculations on other cells in that row.
I've used both invalidateList and invalidateDisplayList after I make
my calcs but it doesn't seem to update the text in the grid until I've
tabbed out of that cell
I do not do PHP, but it sounds like you are going to need to learn it.
Perhaps you should find a PHP forum/list, since that work does not
involve Flex.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jason B
Sent: Monday, May 05,
If your dataProvider is a Collection, you can call
collection.itemUpdated(...)
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of securenetfreedom
Sent: Monday, May 05, 2008 1:55 PM
To: flexcoders@yahoogroups.com
Subject:
lol your funny.
im not asking php questions im asking specifically how does flex
handle passing information from the grid to any script ASP, php,
coldfusion etc...
when i say pass i mean to post the new changes to it?
i can handle the rest once i understand flex's interaction with scripts
--- In
Hi,
I did a AdvancedDataGrid without group,it works fine.
mx:AdvancedDataGrid x=8 y=72 width=558 height=247
rowCount=4 dataProvider={modelLocator.QModel}
mx:columns
mx:AdvancedDataGridColumn headerText=Name dataField=Name/
Flex 2.01
This seems so dumb, but I can not figure this out.
I am using Modules with layout=absolute.
In a MXML file I have a TextArea where I have set the
width=300 and height=35.
mx:TextArea top=10 left=30 width=300 height=35/
I can add text beyond 2 lines, but no scroll bar is displayed.
Hi there,
Is it possible to add a header or an additional post parameter to a
remoting request (using RemoteObject)?
I need to include a unique token to every remoting request, but have
not found a way to do it.
I also tried to use the RemoteObject.setRemoteCredentials(), reading
that it
http://livedocs.adobe.com/flex/3/html/help.html?content=controls_12.html
while flex example shows how to assign a date into a text field
what if someone wanted to reuse the date function routine with 20 text
box's ...?
Could i pass a variable containing the name of the object to now use in
like
Ignoring LCDS and Blaze DS (which perhaps you should look into), Flex
can pass data to the server via the same protocols that it gets it,
namely WebService, HTTPService or RemoteObject. Since you used the word
POST, presumably you are using HTTPService.
What you pass over that protocol is up
I was wondering the same ,if it possible to change the color of each
individual map polygon.
Like for example in the current example of USA , when the mouse hovers
over some state it will change the color of the state ?
--- In flexcoders@yahoogroups.com, neilernst77 [EMAIL PROTECTED] wrote:
I
Hello All-
I am prototyping an online application that will require users pay-to-
play. That is, users can purchase chunks of time to gain access to the
application's functionality.
My application is being developed using Flex3 on the front, ColdFusion8
in the middle and SQL Server 2005 on
Just send an object as the parameter that you send:
var myService:RemoteObject = new RemoteObject();
myService.source = myServices.MyService;
myService.destination = amfphp;
myService.requestTimeout = 30;
myService.addEventListener(ResultEvent.RESULT, myResult);
Trying to match up selected items.
IF i use the labelFunction attribute this runs ALL the time. basically
i need to change the selected item when the combo box loads up and
whenever the data changes.
jonese
On Mon, May 5, 2008 at 1:34 PM, Tracy Spratt [EMAIL PROTECTED] wrote:
Oops,
I've got a sequence of images loaded in Flex - for this example let's
say I've populated an array (imageArray) with new Image objects.
I've got an Image control (myImage) whose source is set on
applicationComplete.
During the application run, I'd like to be able to set the source of the
image
I am implementing a checkbox as a headerRenderer:
public class CheckBoxHeaderRenderer extends CheckBox
{
public function CheckBoxHeaderRenderer()
{
super();
addEventListener(click, clickHandler);
}
override protected function
Setting a ComboBox to show a selectedItem is not built-in. You will
need to loop over the dataProvider for the CBO droplist, compare the
current value to the value in the appropriate dp item property, then use
the loop index to set the selectedIndex.
This is not difficult. If you need to do
I want to rephrase this once more
How can i remove an item from the data grid using action script?
Use the dataProvider API, to remove the item from the dataProvider.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jason B
Sent: Monday, May 05, 2008 4:29 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: datagrid
Try yourTextArea.validateNow() after adding the extra text.
I seem to remember that works, though I can't swear to it I'm afraid (and can't
check just now).
-Original Message-
From: flexcoders@yahoogroups.com on behalf of Jack @ Zingit
Sent: Mon 05/05/2008 19:29
To:
does anyone have a good example of using JSon, combobox and
arraycollection?
Thanks,
timgerr
--- In flexcoders@yahoogroups.com, timgerr [EMAIL PROTECTED] wrote:
Can I get an example on how to do that with my code, I am unable to
figure it out?
Thanks,
timgerr
--- In
I know that some time ago there was discussion on how to wrap the text
on a button, and the workarounds were rather convoluted . any
advances on this one? TIA,
Mic.
Thanks! I actually tried the LinearAxis to begin with, but gave up on it
after my first attempt since it didn't seem to work right. Since the
CategoryAxis worked right away, I didn't explore the issue any further.
After playing around with the LinearAxis some more, I got it working the way
it
Sorry, to bug, but does anyone happen to have any ide?
Weyert
Hello!
I am currently a bit clueless regarding using Flex components. I am
currently trying to port a .NET component to Flex. Only I have some
problems. In a simplified form the problem is that I am trying to add
childs to the
There are rules for what children can be added to what parents. Is it
possible you are not following those rules? sprite is a much lowe
level class than I have ever used, are you sure it can accept the child
you are adding?
Alex has posted these rules multiple times. Something like:
I found one of Alex's posts. Here is the text:
Once a month this issue comes up. Because there is no function
olverloading in AS3, we can't change the parameter list of addChild, but
basically, frameworks have rules and the rules for Flex are:
Navigator children must be Containers
Answering myself: just found Alex Harui's MultiLineRadioButton class.
--- In flexcoders@yahoogroups.com, chigwell23 [EMAIL PROTECTED] wrote:
I know that some time ago there was discussion on how to wrap the text
on a button, and the workarounds were rather convoluted . any
advances on
Jim:
I am not sure what you mean with the TextArea.validateNow().
Are you saying I have to call some function to get the scroll
bar to display?
I guess the question is why is it not showing up?
I only happens when I set the height to a number instead of
a percent %.
Is this bug?
I have found
layout=absolute has no bearing.
I tried the following code and the scroll bar does not show up
when I type in text beyond the 2nd line.
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*
creationPolicy=auto width=100% height=100%
Thanks! I will give it a shot tomorrow. Sounds, logical somehow. I
suppose it should work.
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
Use the dataProvider API, to remove the item from the dataProvider.
It might be better to mark the item as removed in the dataProvider,
since that will probably make it easier to do the delete operation on
the server.
Indeed, the TextArea is not behaving as I would expect. Slap it in a
Canvas, and it will work ok.
mx:Canvas width=200 height=60
mx:TextArea id=ta width=100% height=100% /
/mx:Canvas
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL
Yes, this is the way to do it in a real app, and is the way I do it, by
building an update message that I send to the server.
Jason and I have been through all of that in this thread, but he was not
receptive to that level of advice, and his last question was simply:
How can i remove an item
I thought you were setting the text programatically, rather than typing,
apologies for that.
I just checked it (in flex 3), if the height of the textArea is greater than 40
pixels then scrollbars do appear when you type, but not if = 40.
If you look at the source for textArea it appears that
Tracy:
Yes that will work, but I only wanted the height to be 35, which
allows for 2 lines. The reason is screen real estate.
If I set it the Canvas height to 35, then I get horizontal and vertical
scroll bars showing up before I even type anything.
The lowest number I can go is 44.
Jim's
I have created a tool to access fcsh.exe from ant:
http://fcshwrapper.blogspot.com/ http://fcshwrapper.blogspot.com/
OK here's what i did to keep my nodes open.
un my update function i call preventDefault() to stop the expected operations.
then i manually build using updated data my object instances
then search the original objects till i find my matching object
overwrite the orginial object with the new
You can override it by extending TextArea if you really want to, it sort of
works for me :
in ShortArsedTextArea.as
package
{
import mx.controls.TextArea;
public class ShortArsedTextArea extends TextArea
{
public function ShortArsedTextArea()
Well, Here is the report after I've traced the errors down.
I've noticed that when my custom java message adapter halts BlazeDS'
messaging still runs. Several diagnostic applications indicate the
durability of BlazeDS messaging.
I have however tracked down the source the halting of my java
The point I was making as that just because events are used on the
view instead of it accessing controller methods directly it doesn't
necessarily de-couple them
Agreed.
Also, I don't like being restricted to only being able to register
events types to command classes to a Front
Jim:
I'll check it out.
Thanks,
Jack
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jim Hayes
Sent: Monday, May 05, 2008 6:45 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] TextArea but no scroll bars showing up
You can override
Hi Roger,
Roger Howard wrote:
I've got a sequence of images loaded in Flex - for this example let's
say I've populated an array (imageArray) with new Image objects.
I've got an Image control (myImage) whose source is set on
applicationComplete.
During the application run, I'd like to
Hey guys,
Im actually working on an application that controls several Flex made
apps. It's like a desktop manager application that manages several
widgets. The applications running in the desktop manager are modules
set on the server, that are loaded and unloaded per user request, but
when a user
Hi,
I have created a SWC file of various components. Adding the
SWC to Flex Builder project makes the components visible in the Components
Window (in Flex Builder) under the folder named Custom. Instead I would like to
display it under a different category in the Components Window. Also some of
A module is as big as you make it. I'd be checking to make sure it is
small and releases unused resources.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel
Sent: Monday, May 05, 2008 8:19 PM
To: flexcoders@yahoogroups.com
I would subclass.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jason B
Sent: Monday, May 05, 2008 11:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] reusing code.. action script etc
Have your classfactory only return one instance.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Monday, May 05, 2008 1:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Checkbox as a headerRenderer
I
74 matches
Mail list logo