I have some view components with are used in a heirarchy:
Application
Store
Department
Product
Each component only knows about itself, so the data passed to the
product view only contains product data, and does not contain the
department or store that the product is within.
When a
I think it would be a better solution to stop the event bubbling and issue a
new event - 'StoreProductEvent' or something.
Then there's no question about how the event should be handled and the
intent/purpose of the event is clearly understood, nether would you have to
change your final event
Another reason to move to remote objects is data size.
In my particular situation the data I was returning was all numbers.
Wrapping each number in a critical1/critical XML tag pair meant
that the returned data size was 80KB+. Changing to remote objects
dropped the size to 8KB.
Also, an
Thanks for the links.
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, Anthony DeBonis anthony@
wrote:
Go to:
http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html
Right Click View Source on the app
Dirrect link is
Chack out the Merapi Project (http://www.merapiproject.net/)
--- In flexcoders@yahoogroups.com, mugsisme [EMAIL PROTECTED] wrote:
Hi, I have an interface I wrote in Flex/AIR and I want to be able to
call or use an external program. My Flex/AIR program will accept
inputs from the user,
You might want to take a look at Merapi or FluorineFX Aperture.
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
Visit our Internet Web site at
Just an aside. My name is Steve - Valdhor was my alter-ego back in the
days I was at university and playing ADD every day.
I am a kiwi, now living in North Carolina.
But, valdhor is correct
I already have working code that uses HttpService to send various requests
to the backend from my Flex client
and process the responses.
I also have a customized implementation of the flex DataGrid which
implements paging such that the flex client
only shows one page of data at a time. The
Hello all,
Is there a way to implement an interface within an MXML file?
Thanks for any info!
I am trying to send a flex Object to a cfc but getting a error
message.
So if I define my object:
var objectName:Object = new Object();
objectName.field1 = 'someData';
objectName.field2 = 'someData';
objectName.field3 = 'someData';
Then in the cfc I am looking for a struct, but I get this
We need more code to see what happens there.
You have events that might have not set a var? There is something to
dig into your event order, or item initialization.
Cheers,
G
Le 7 nov. 08 à 12:19, fotis.chatzinikos a écrit :
Hello all,
can anybody throw any pointer on this?
I have a
Just just the implements Attribute in the root node and specify ypur interface,
which will be
implement.
Best regards.
--- In flexcoders@yahoogroups.com, geniium [EMAIL PROTECTED] wrote:
Hello,
Do you know any way to implement an interface in a MXML file?
Thanks for any info,
G
Have you tried creating an Actionscript class for objectName (in your code)
instead of a generic object and then use a RemoteAlias directive to
associate that .as class to a CFC?
I know this works from CF to Flex, I'm not certain about the other way. What
I'd love to do is to send an
Thanks a lot! I was looking for this to architecture my project in a
best way!
Regards,
Romain DW
Le 7 nov. 08 à 16:34, florian.salihovic a écrit :
Just just the implements Attribute in the root node and specify ypur
interface, which will be
implement.
Best regards.
--- In
Hello everyone,
How can I add the % symbol on my vertical axis after my value?
mx:LinearAxis id=percent interval=10/
mx:LineSeries verticalAxis={percent} yField=test
showDataEffect=interpolate/
Thanks
-David
On Fri, Nov 7, 2008 at 9:34 AM, florian.salihovic
[EMAIL PROTECTED] wrote:
Just just the implements Attribute in the root node and specify ypur
interface, which will be
implement.
Like this:
mx:Canvas
implements=mx.controls.listClasses.IListItemRenderer,
dsw.mmi.view.IGestureClient
Basically, I created a custom component that extends TextArea, and I
created a getter that returns the super.textField.
Right now, I am doing this:
private var savedText:String;
private var limitHit:Boolean = false;
keyDown(){
savedText = textArea.text;
var tf:TextField = TextField(
I found this great post out there on how to remove the highlight
from a LinkButton. This post shows how to put the underline under
the text on rollOver which is what I need. But I'm using a LinkBar,
can someone help with this on the LinkBar?
Thanks,
Mark
package
{
import
You can keep the Javascript and use an ExternalInterface to communicate
with it.
Alternatively, use navigateToURL to call the required URL and pass it
the correct window so the browser handles it.
Gk.
Gregor Kiddie
Senior Developer
INPS
Tel: 01382 564343
Registered address: The Bread
Hello Romain,
that is not so easy... Its inside a custom component with a couple hundrends
lines of code...
Any ideas on how to debug something like this? Can i somehow tell the
debugger to catch any exceptions and step throught the code?
Will i need to provide the flex sources for something
Sure... you can use the implements property on the root tag of your
component:
mx:Canvas implements=someInterface
...
HTH,
Ryan
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Romain de Wolff
Sent: Friday, November 07, 2008 2:30 AM
Will that work with the stand-alone Flash player?
On Fri, Nov 7, 2008 at 10:59 AM, Gregor Kiddie [EMAIL PROTECTED] wrote:
You can keep the Javascript and use an ExternalInterface to communicate
with it.
Alternatively, use navigateToURL to call the required URL and pass it the
correct
if your swf opens a NEW / POPUP browser window it will.
On Fri, Nov 7, 2008 at 6:15 PM, Howard Fore [EMAIL PROTECTED] wrote:
Will that work with the stand-alone Flash player?
On Fri, Nov 7, 2008 at 10:59 AM, Gregor Kiddie [EMAIL PROTECTED]wrote:
You can keep the Javascript and use an
Hello Andrew, your solution sounds correct.
Another way would possibly be to check the parent component (and its parent)
and manually set all 3 params in one go.
On Fri, Nov 7, 2008 at 1:00 PM, greenfishinwater
[EMAIL PROTECTED] wrote:
I have some view components with are used in a
I have spent some time trying to understand why removeEventListener
would not remove an event listener. I have a Vbox that at run time I
am adding a form to. In init of that form parent.addEventListener adds
a listener to VBox. Then I am adding another form. That form is based
on same class as
Yeah I can create a VO.cfc but since there is no need to keep what is sent.
Think of it as a search option, (from date, to date, state and so forth) so
they are 8 simple values. Is there another way to create the object in
Flex, another data type I should use?
_
From:
I'm beginning to wonder if the best solution is for the component to know all
of the required information - it can be set up when it is instantiated. It
seems to me that while in most scenarios extending the event payload may work
it means that the order in which events are handled will be
- Original Message -
From: markgoldin_2000 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, November 07, 2008 4:26 PM
Subject: [flexcoders] removeEventListener
I have spent some time trying to understand why removeEventListener
would not remove an event listener. I have a
Hi all,
I have a very special problem:
By selecting an item in my navigation I start rendering my view with
several display objects (container, components, ...).
Everytime I select an other item, I remove all stuff from display list
(destroying all bindings, remove all listeners, setting
Hello all,
can anybody throw any pointer on this?
I have a tilelist (vertical/single column) with custom item renderer,
when i use a state to shrink its height (minimize like functionality)
sometimes i get the following error (note: SOMETIMES once every ... do
not know 5 times):
TypeError:
Hi
Andrew, what I think is that u want here, is to pass some
parameter(s) along with the custom-event. If thats the case, then the
sample below should help:
1. Create a custom package, eg:
package com.joy9977.events
{
import flash.events.Event;
/**
*
On my search forms I just send plain strings back to the CFC.
In Actionscript:
publicationsRO.searchPublicationArticles(
pubId,
fromDate,
You don't have to attach individual fields as the payload of the event or as
the information attached to the inside component. There's no problem having the
internal component created using a class that contains whatever the info is
available.
For example:
Class info could have attributes
Yeah but in cairngorm, I have to pass the N number of variables from the
view, to the event, to the command, to the delegate, then to the cfc. So if
I can do it in a Object, I only have to pass one thing around and then in
the cfc ref by objectName.Fieldname
I have seen other people
Ok, I will try to show some code.
Form's Init
private function init():void
{
parent.removeEventListener(remoteDateEvent, remoteClickHandler)
parent.addEventListener(remoteDateEvent, remoteClickHandler)
}
Hello,
Do you know any way to implement an interface in a MXML file?
Thanks for any info,
G
--- In flexcoders@yahoogroups.com, Fotis Chatzinikos
[EMAIL PROTECTED] wrote:
Hello Romain,
that is not so easy... Its inside a custom component with a couple
hundrends
lines of code...
Any ideas on how to debug something like this? Can i somehow tell the
debugger to catch any
--- In flexcoders@yahoogroups.com, Fotis Chatzinikos
[EMAIL PROTECTED] wrote:
Hello Romain,
that is not so easy... Its inside a custom component with a couple
hundrends
lines of code...
Any ideas on how to debug something like this? Can i somehow tell the
debugger to catch any
Thanks for the replies, Ive been out and so was not able to respond to
the replies earlier.
I tend to think like Paul, and raise a second event DepartmentProduct
then a third event StoreDepartmentProduct. This will keep the
components more seperated. But its a pain in the A* to have to create
--- In flexcoders@yahoogroups.com, christian.menzinger
[EMAIL PROTECTED] wrote:
Hi all,
I have a very special problem:
By selecting an item in my navigation I start rendering my view
with
several display objects (container, components, ...).
Everytime I select an other item, I
Paul that is what i am doing with my components :-) but problems appear if
you want to reuse your 'inside' components elsewhere
and this elsewhere 'forgets' (because its not really needed) to initialize
the component...
Maybe a solution would be to check if parentComp is set or not and if not
set
So, Steve, sign your posts!
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of valdhor
Sent: Friday, November 07, 2008 9:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Using XML Object passed from ASP.NET web
service
Hi, I have an interface I wrote in Flex/AIR and I want to be able to
call or use an external program. My Flex/AIR program will accept
inputs from the user, create a file from those inputs and then I want
to pass that file to a folder where a program resides, execute the
program and return the
Hello Amy,
What kind of processing do you mean?
The only solution i have found - so far- is to empty the datasource of the
tilelist until the effect is finished
and then reassign it, but this makes the tilelist look empty while
schrinking...
Is it a problem in general to change the height of a
Agreed, your solution (and Paul's) is more generic and clean but some times
using parent is ok...
you can test what kind of class the parent is and avoid any possible casting
problems:
if (parent is MyCustomComp)
{
do a
}
else
{
//we do not know this, so do nothing, throw an alert... etc
}
- Original Message -
From: markgoldin_2000 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, November 07, 2008 4:58 PM
Subject: [flexcoders] Re: removeEventListener
Ok, I will try to show some code.
Form's Init
private function init():void
{
Coding in reusability is bad if it is not likely that the component will
be reused. Unless you have the time and just want the practice.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Fotis Chatzinikos
Sent: Friday, November
Why is it failing?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of anuj sharma
Sent: Thursday, November 06, 2008 8:38 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Casting Problem Dragging from one list and
Dropping
I will try to get a sample.
But what exactly are you asking for?
I am showing how I am adding a custom event listener to a form's
parent. And how the form then processes remote event.
--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote:
- Original Message -
Hi,
can you give me a idea how to do it.
I am new for this .thanks
mark
I think Paul is saying that your example didn't do what you said it would do.
It seems to leave a listener on the parent, and because your custom event has
bubbling=true, the parent listener will get it
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
markgoldin_2000
The removeChild handling does not unregister the component from the validation
scheme, so it will get validated if it got invalidated before or during its
removal.
Usually, cleaning up everything is unnecessary; nulling out a few high level
pieces should be good enough, and will avoid such
You might save the length of text and if it is getting smaller, allow the change
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
tchredeemed
Sent: Friday, November 07, 2008 7:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] textArea's that are limited by the
Yes, parent listener will get it, and that is my understanding of
working with custom events. A child adds a custom event to its parent,
and then when custom event is dispatched the parent pushes it back to
this child for processing. Am I totally wrong about custom events? :(
--- In
Please post an example using Alert
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joy
Sent: Thursday, November 06, 2008 9:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Alert Auto-Resize
Hi
I have a situation, where I have a long texts in the
Try subclassing DateChooser to add your close button, then make it the
dropdownFactory for the DateField
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joy
Sent: Thursday, November 06, 2008 10:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Customize Flex-3
Looks ok. Add an interactive control and see if that helps
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo
Bucchi
Sent: Thursday, November 06, 2008 5:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] NATIVE_DRAG_ENTER not working on AIR
Hello,
I can't
Hi everyone, is it possible to display all my series in my chart but
not in my legend?
Thanks.
I am currently passing the 'localeChain' into a SWF as a flash var and
using it to explicitly set the locale on the resourceManager. This is
working for the application but is there anyway to the Initializing
message in the beginning openning swf to be localized?
Thanks,
- Todd
That's interesting because I am using the same code for both the lists, for
both the lists I am enabling dragmove enabled property true. In short they
all have the same property defined, so technically they should work but
that's my surprise that they work one way and i cannot drop back.
I have no
Hi,
I want to build a AIR app the browser local image file and show them.
can you give me a idea to do this? I am new for AIR.
Thanks
Mark
- Original Message -
From: markgoldin_2000 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, November 07, 2008 6:17 PM
Subject: [flexcoders] Re: removeEventListener
Yes, parent listener will get it, and that is my understanding of
working with custom events. A child adds
Hey Guys
How smart I am , I have given the same name to the both source and
destination . So i figured that out and its working .
Sorry for the stupid question and thanks fro ur help
Anuj
On Fri, Nov 7, 2008 at 10:32 AM, anuj sharma [EMAIL PROTECTED] wrote:
That's interesting because I am using
Any help on this?
Thanks
--- In flexcoders@yahoogroups.com, vkc_nair [EMAIL PROTECTED] wrote:
Hi All,
Is it possible to tear off tabs into standalone windows in Air
application with TabNavigator ad bring the tab back to original Air
App?
Like the feature in google chrome.
Thanks
I wouldn't use mx.controls.Text as a headerrenderer. If you need
wordwrap, just set wordwrap=true on the DataGridListItemRenderer
--- In flexcoders@yahoogroups.com, sinacapho [EMAIL PROTECTED] wrote:
Hi,
I have writing a datagrid using the headerrenderer to make
some
controls , and
I try this but I can not get bitmap.why?Thanks for help.
?xml version=1.0 encoding=utf-8?
mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:Script
![CDATA[
import flash.filesystem.File;
import
Hi
We are having a number of issues with our Flex project (using
LiveCycle Data Services 2.5) and are trying to address them one by one
from the beginning to iron them out. There may be something
fundamental about our approach that we need to change.
The first issue is that the initial fills
Is it possible to hijack events? I want my events to bubble up but
when they get to a certain parent say two up from the object that
dispatched the event I want that parent (two levels) up to stop it
before it bubbles any more?
TIA
event.stopPropagation or stopImediatePropagation ... check the docs for the
differences
On Fri, Nov 7, 2008 at 10:06 PM, flexaustin [EMAIL PROTECTED] wrote:
Is it possible to hijack events? I want my events to bubble up but
when they get to a certain parent say two up from the object that
Sorry.
The sdk folder is 3.1.0
On Fri, Nov 7, 2008 at 5:25 PM, Aldo Bucchi [EMAIL PROTECTED] wrote:
Alex,
Thanks. But no luck so far.
I am using the SDK bundled with FlexBuilder Plugin 3.0.1 ( that's what
I meant ).
I can get other examples to run when coding on different machines, but
--- In flexcoders@yahoogroups.com, Fotis Chatzinikos
[EMAIL PROTECTED] wrote:
Hello Amy,
What kind of processing do you mean?
The only solution i have found - so far- is to empty the datasource
of the
tilelist until the effect is finished
and then reassign it, but this makes the
Alex,
Thanks. But no luck so far.
I am using the SDK bundled with FlexBuilder Plugin 3.0.1 ( that's what
I meant ).
I can get other examples to run when coding on different machines, but
not in this one.
¿What info would you need to identify each part ( os, air, etc )?
As I said. The weird
thanks,
i will have a look
On Fri, Nov 7, 2008 at 10:29 PM, Amy [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Fotis
Chatzinikos
[EMAIL PROTECTED] wrote:
Hello Amy,
What kind of processing do you mean?
The only solution i have found -
--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote:
I'm beginning to wonder if the best solution is for the component
to know all of the required information - it can be set up when it is
instantiated. It seems to me that while in most scenarios extending
the event
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
Coding in reusability is bad if it is not likely that the component
will
be reused. Unless you have the time and just want the practice.
Certainly if you want to make extra $$$ reimplementing when it turns
out that the
Maintainability and reusability are not necessarily solved the same way.
My real point is, don't implement loose coupling just because it is
best practice. Write the code to meet the business requirements of
the project.
Tracy
From:
Jeff,
You mentioned that there is a tool that will automatically generate
data-management-config.xml from a hibernate configuration. Is this
tool available yet and if so where can I get it?
Thanks!
Andrew
The University of Iowa
--- In flexcoders@yahoogroups.com, Jeff Vroom [EMAIL
Hi. I have a button in an itemRenderer that references a function like
this,
mx:Button id=btnBrowse label=Browse
click=outerDocument.doBrowse( event )/
Everything worked fine until I moved this itemRenderer into its own
MXML file as a VBox component. It gives an error: Access of undefined
You can use parentDocument or Application.application, depending on your
precise document model.
A bubbling event is another solution to consider. With such an event,
your precise document model is irrelevant, and you can listen for and
handle the event anywhere in the parent chain that is
I am calling a webservice with Flex3.0, the result format is
specified as e4x.
the event.result shows up as a XMLList when I try and debugg the app.
Beyond this I am having a hell of a time parsing this thing. Anyone
have some insite?
How would I set the dataprovider to these results for a
Send me the swf.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo
Bucchi
Sent: Friday, November 07, 2008 12:25 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] NATIVE_DRAG_ENTER not working on AIR
Alex,
Thanks. But no luck so far.
I am using the SDK
//In my script block
var comboProvider:XMLList = incomingXML..MGGenre;
Where in your script block? This looks like it is executing in your
result handler function, but since you are instantiating the
comboProvider inside this function, it only has a local scope to the
function. In order for the
Thanks, Tracy. Got an example of this bubbling event?
Alex
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
You can use parentDocument or Application.application, depending on your
precise document model.
A bubbling event is another solution to consider. With
Hi,
I want to save image to database as binary data and read the binary
data out and show it in Flex application.
I can handle back end codes and database.
My question what need to do in Flex side for this?
Thanks for help.
Mark
Click=dispatchEvent(new Event(doBrowseEvent,true)); //the true in
the second param makes the event bubble.
You can listen for that event anywhere above the button:
This.addEventListener(doBrowseEvent, doBrowse);
In doBrowse(), event.target, returns a reference to the Button and
Not necessarily public. Just in instance scope, that is, not declared
in a function.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ryan Graham
Sent: Friday, November 07, 2008 4:38 PM
To: flexcoders@yahoogroups.com
Subject: RE:
Thanks, Tracy :)
Alex
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
Click=dispatchEvent(new Event(doBrowseEvent,true)); //the true in
the second param makes the event bubble.
You can listen for that event anywhere above the button:
You won't get anything from _loader.content *until* it's COMPLETE event fires,
so add a listener for that and get it's content in the function you define in
that listener.
-Original Message-
From: flexcoders@yahoogroups.com on behalf of markflex2007
Sent: Fri 07/11/2008 19:57
To:
I have seen quite a few posts on implementing this functionality, and
while I have not done it, it did not sound too difficult.
Try searching the archives.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markflex2007
Sent:
I rely on undocumented Flash Player API - flash.text.TextRun
http://nondocs.blogspot.com/2007/05/flashtexttextrun.html -
is it OK to rely on undocumented Flash Player API in our projects?
I very much doubt that the Player team will remove this API, although I can't
promise that. In any case,
I think you should be using the textInput event, which lets you intercept the
text before it goes in.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
tchredeemed
Sent: Friday, November 07, 2008 7:57 AM
To: flexcoders@yahoogroups.com
Hi
I am trying to load module as show below. I am using
panel.addChild(mod2.child);
but i never see module loaded in the panel.
It is very simple app.I do not know why the module is not being
loaded .
Any pointer is highly appreciated.
I have been putting my head for last 4 hours.
Thanks
It is not so much a tool as just part of the HibernateAssembler in LCDS 2.6.
In 2.5.1 you used to have to specify something like:
destination id=support5.Account
properties
sourceflex.data.assemblers.HibernateAssembler/source
scopeapplication/scope
As the fill response is being read from the server, data management is
populating your value objects by calling the set methods. Most likely one
of those is doing something that sends a property change event for some object
which is already managed.
The client debug log would probably
tchredeemed,
The custom component extending TextArea is a great idea.
Just get rid of the Boolean and the key events.
Use the change event with the function I posted in the original thread and
handle everything within the custom component.
Regards,
-Keith
95 matches
Mail list logo