Yes thanks that was it
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
getQualifiedClassName?
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of reflexactions
Sent: Monday, November 05, 2007 11:44 PM
Paul,
apologies however languages such as C# include such a directive
already - its not reducing readability at all - in reality I'm
wondering if this is remotely possible in Flex. The issue I'm
wondering about is that if you wrote the code below
var object:Object = new Object();
You could use the top level operator provided by Flex. The 'is' operator.
Say I have a object of class ArrayCollection like below:
var tmp:ArrayCollection = new ArrayCollection();
Now I can use the 'tmp' variable in following way:
if (tmp is ArrayCollection)
the result of the above if statement
Nope, not for Object
is returns true for every parent class type
Button is UIComponent == true
Button is Object == true
and in your example you will actually find tmp is Object == true
So no that wont work when its Object were talking about..
but getQualifiedClassName works just
Thnks for the correction. Will be a lot of help. thnx again.
Amol.
- Original Message
From: reflexactions [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, November 6, 2007 2:12:57 PM
Subject: [flexcoders] Re: Quickest way to test whether something is an Object
not a
On Monday 05 Nov 2007, Alex Harui wrote:
I didn't run your code yet.
Well, I'll try and explain...
Are you saying that if you don't have classConstruct you don't get
styles?
No, I'm saying that I get the default style (as hard coded into
classConstruct) even though I have a style sheet
I need to be able to tell when a dataGrid has finished loading data so
my next operation does not give a 'null object' error due to incompletion.
How can I do this in AS3 please?
Couldn't find any events in the docs (yet).
On Monday 05 Nov 2007, shivani nayar wrote:
i need to validate a URL as a textInput in flex...
In what way validate ? Just check it starts with 'http://' ?
--
Tom Chiverton
Helping to biannually expedite high-yield data
on: http://thefalken.livejournal.com
Thanks, Adam. I should have added more details to my post.
The 'complexity' is introduced by the fact that I am having to find
all Validator components, which are not DisplayObjectContainers.
Using Object (implemented by each validator subclass) in the
recursive function does not work
Tree defenition:
mx:Tree id=accountTree height=100% width=100%
dataProvider={accountsData} labelField=@name
iconFunction=treeIcon itemClick=onItemClicked(event);
/mx:Tree
After the user logs in the following function is being called with
success:
private function
Hi ,I am new to flex..and seek help..
We have a mouseevent for clicking on an image, and another mousevent
for clicking on some another image. now we want that once we trigger
the first event by clicking on the first image.the event should be
dispatched and once it is completed the
The tree defenition:
mx:Tree id=accountTree height=100% width=100%
dataProvider={accountsData} labelField=@name
iconFunction=treeIcon itemClick=onItemClicked(event);
/mx:Tree
Upon loading I'm calling this fuction that works great:
private function handleGetAccounts(result:XML): Boolean
{
Hi ,
we have an image ,clicking on this image an event is triggered
say event 1, now this event results in display of another image.
clciking on this image dispatches an event say event 2.
What we want is..when we click on first image..event 1 will be
dispatched and this event in turn must
What ScrollControlBase methods should be overridden to implement
scrolling for a custom component? For example, if I have a custom
component that has fixed dimensions of 500x500 and a variable viewable
area of let's say 200x200, which properties would need to be set?
Also, is extending
I have a flex application which is controlled by a html page. the html page
has a list of input data, after submitting a POST request, the flex
application needs to get the form data and send a httpSerice.
so my question is, how can the flex get the submitted data?
thanks!!!
--
View this
Hi All,
I'm trying to integrate a remote web service with an hierarchical structure
with a flex User Interface, but I'm facing problems regarding working with
TypedCollection objects.
The master-detail data I'm trying to invoke, populate in my flex-screens:
The client-side
Isn't possible to mimic setCredentials somehow with .headers ?
Looks like setCredentials only works with a proxy, and it'll be cool to
have it as a direct connection... especially on my apollo app... xD
Its a simple apache/lighttpd mod_auth name, pass
I tryed to tcpdump , but got a lil
Seems like you could do one of the following:
1) in the code that currently handles event1, add code to dispatche event2.
2) add another event listener for event1 and add code in there that
dispatches event2.
3) dispatch event1 and event2 when the first image is clicked.
hth
Scott
Scott
Sorry for the cross-post, but I'm trying to get some more exposure for
this issue in hopes of a resolution/workaround.
My desired deployment model for my AIR app is a shell app that loads
Modules dynamically. What I'm running into is that the only location
that AIR will let me load a module from
Hello All,
I have an app that allows the user to add rows to a datagrid. The
rows contain components that have separate item editors and renderers.
What is happening is that after a new row is added to the datagrid
and the user clicks on a cell that is not the first cell in the first
row, the
You can save SWFs for sure, and while it might be possible to pull
down an FLV into a ByteArray you would have no way of viewing it,
afaik. Loader has a method called loadBytes, which expects a
ByteArray, to display SWFs or images. NetStream and any other
video/audio-related classes do not have
I have a bar chart that is displaying data that can be filtered and
sorted in any number of ways (it's Binded to an ArrayCollection). My
client now wants to add other data to that chart that I have stored
in a second ArrayCollection. This data should be persistent at the
top. I'm looking
You just illustrated why it's reducing readability. You have to read
a lot more code to understand what is happening in the with
statement. In your example you show x = 20, but where is x? is it
on the object or is it in the function scope or is it in the parent
object scope?
This is
I'm still rather new to flex.. so forgive me if I'm not going about this
the right way.
I want to simply change the value of data within datagrid, based on some
criteria.
In this case, I have records coming back athat are either active or
inactive.
In the database these values are 0' and 1's, but
There are many ways to do what you want... here are a couple:
1) Probably the simplest: use labelFunction on the column
http://livedocs.adobe.com/labs/flex/3/langref/mx/controls/dataGridClasses/DataGridColumn.html#labelFunction.
2) My preferred approach for code that has any complexity: Parse
Use can use labelFunction to format values.
http://livedocs.adobe.com/flex/201/langref/mx/controls/dataGridClasses/DataGridColumn.html#labelFunction
HTH,
Ben
--- In flexcoders@yahoogroups.com, captnjay_mobile [EMAIL PROTECTED] wrote:
I'm still rather new to flex.. so forgive me if I'm not
hi Iain,
From my experience, i giving u a suggestion
if you set the y- axis with min and max value, then there is no option
to rearrange the y-axis range automatically. you need to write some
action script to set the max value while scrolling
if not it will
Are the renderers also editors? rendererIsEditor=true. If so, is the
renderer an IFocusManagerComponent?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of j_lentzz
Sent: Tuesday, November 06, 2007 6:06 AM
To: flexcoders@yahoogroups.com
Hi,
I'm wondering if there is a way to render PDF inside a Flex component. I'm
familiar with AIR
and its ability to open PDF files using the platform's Acrobat Reader plugin,
but what I'm
looking for is a more light-weight approach where the PDF would be rendered by
Flex itself.
I've also
setChildren() takes an XMLList, not an XMLListCollection. Fix that
first.
Then, in handleGetChildren(), after the above call,
trace(accountsData.toXMLString()) to make sure you are building the xml
you expect.
Tracy
From: flexcoders@yahoogroups.com
On Tuesday 06 Nov 2007, guna samba wrote:
if you set the y- axis with min and max value, then there is no
option to rearrange the y-axis range automatically.
Setting them back to NaN works, doesn't it ?
--
Tom Chiverton
Helping to professionally target holistic customers
on:
On Tuesday 06 Nov 2007, Alex Birch wrote:
1) retrieve the users login/domain name from their computer. It's similar
to GetUserName from the Microsoft Languages.
You can't. Do you really want Joe Random web site reading stuff like that off
your machine ?
If you have IIS (or Apache, apparently),
On initializing the Flex app, you can pass values in via flashvars, and
access them through the Application.parameters object.
For ongoing updates, you can use javascript and ExternalInterface.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL
Has anyone been able to reproduce this problem with my sample code? I
can send my TTF file if that would help.
Thanks!
--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:
Here is a simple app that shows this problem. I'd be glad to send you
my TTF file if you need it in
Hi,
I have components that I'm using as drag targets and drop targets.
The drag/drop is working fine until I scroll the screen down. Now,
the drop target seems to be offset by the amount of the scroll.
Here is a simple example showing the effect:
No, I have separate renderers and editors. So when I click on a field
in the datagrid, the first cell's editor pops up briefly, then the
renderer appears. When I make a change so that the renderer is the
editor (so the editor is always visible), I don't get the focus
problem.
John
--- In
I have a pushlet on the server which keeps sending streaming data. I'm
able to receive the data through JSP but I was wondering how to receive
and display that data using Flex.
I tried using HTTPService with POST method, but it didn't work.
Please help.
Regards,
Amit
You can create your own MouseEvent and call dispatchEvent to send it
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pareek.manish
Sent: Tuesday, November 06, 2007 12:14 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Event call
Is it possible to create a splash screen in Flex so that it doesnt
have the max/min/close buttons, title bar status bar?
I've been playing with Application, with NativeWindow, with
WindowedApplication setting the showFlexChrome='false'but no luck.
I see in the docs that specifiying
Interested in attending Flex Camp?
This December 7, Flex Camp Boston is being hosted at Bentley College in
Waltham (just outside downtown Boston)
For more information on registration, the agenda and list of speakers,
visit: www.flexcampboston.com
I have some xml text that was saved to the server and then reloaded
back into the application.
Some text nodes represent text entered previosuly in a TextArea
control and includes a number of trailing returns entered by the
users that I need to keep.
This saved fine to the server and also
Anyone knows that?
VELO
On Jul 19, 2007 1:30 PM, andrewwestberg [EMAIL PROTECTED] wrote:
Does anybody have an idea of how to do snap to grid during a drag
operation? I have a canvas and I'm dragging some components around on
it to change their location, but I'd like them to want to stick
I have an XML file with nodes with name attributes.
I'm trying to get the list of nodes that match a particular name=...
Using ...
trace(xmlConfig.descendants(Constants.fieldField).(attribute(name)
== ccy) );
Returns the expected nodes ... but some other names don't work (even
Anyone know if it would be possible to produce controls using 2
simulataneous mouseDown events, such as touching the screen with 2
finger and pinching to zoom-in, given a touchscreen device running
Flashplayer ?
There ARE eserved names that cause problems, but I would not have
expected of those you found.
The general solution is to use bracket notation to resolve the object.
But before you try that, trace the xml using toXMLString(). Neither
trace() nor toString() handle simple nodes like you
Thanks for the idea Alex. I just finished looking through my code and can't
find anything to indicate something should be available for GC before all
listeners are cleaned up.
The really confusing thing is that all the pieces of this system worked just
fine before I started my overhaul of it. The
I would see if you can use the app with as little interaction as
possible. If you've made your app accessible then you can use the
keyboard and skip using the mouse to execute the sequence in question
(loading some page several times then using forceGC()).
If that succeeds in reproducing the
Which version of Flex?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of j_lentzz
Sent: Tuesday, November 06, 2007 9:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Bouncing Focus in DataGrid
No, I have separate
ScrollControlBase or Container. Container is better for containing a
random set of children.
What is going to go in the remaining 300 pixels? Do you want the
scrollbar to be 500 pixels tall or 200? You might be able to leverage
viewMetrics depending on what you want. The key is the call to
If you change the dataProvider, the DG should be done after the
following updateComplete event.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of candysmate
Sent: Tuesday, November 06, 2007 2:01 AM
To: flexcoders@yahoogroups.com
Subject:
Hi, I am trying to add phpeclipse and subclipse to my flexbuilder,
though I am getting an error...
Eclipse Modeling Framework (EMF) - org.eclipse.emf.codegen.ecore.ui
(2.3.0.v200706262000) requires plug-in org.eclipse.jdt.core
Any suggestions, by the way which version of eclipse is flex built
perhaps if you had a library on the backend that could convert that PDF into
a series of PNGs that you could then load into Ely Greenfield's flexbook
component?
On 11/6/07, frank_sommers [EMAIL PROTECTED] wrote:
Hi,
I'm wondering if there is a way to render PDF inside a Flex component. I'm
I've marked this thread for further investigation someday (probably not
this week), but I wouldn't be surprised if the classConstruct runs
before the Style block is installed, and I think the Style block code
won't replace one that is already there.
-Original Message-
From:
I think that is probably your best bet at this point. It is possible
to read a PDF in flex, but rendering it is a bit tricky. First if
it's compressed you'll have to unzip parts of it. Once you have it
decoded you could execute the drawing commands on a UIComponent and
display the text
Did you look at the Adobe Share APIs:
http://labs.adobe.com/wiki/index.php/Share:API . You should be able to
upload a PDF and get a SWF preview back.
-David
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Decoursey
It would have to be a multi-touch screen/surface. Doug McCune would be
better suited to answer this question, as I'm pretty sure he's working
on this.
See the comments section over at:
http://dougmccune.com/blog/2007/09/16/my-new-toy/
-- William
--- In flexcoders@yahoogroups.com, Ben Marchbanks
Patrick,
take a look here
http://www.onflexwithcf.org/index.cfm/2007/10/5/Where-did-the-orgeclipsejdtcore-go-in-Flex-Builder-3-Beta-2-standalone
--
João Fernandes
http://www.onflexwithcf.org
http://www.riapt.org
I figured this out using the replies above. I looked deeper and deeper
into the display list until i found child components that were
expected to scroll, and set their parent containers to have
minHeight=0. This allowed the Application to fit the browser window
and not scroll past.
Thanks for the
The issue is that I don't have access to the HTML wrapper. This swf is
not going to be hosted on our servers. So everything has to be done
internally within Flash.
Hey there,
I would like to show the compiled SWF date and time in the Label( the
label inside the Flex application )
so every time, I can be notified the version when I launch it.
Is that possiblly?
The Share suggestion is an interesting one, but I think lots of us are
looking forward to the day when there is client-side rendering from
ActionScript baked into the run-time, or an Adobe-supported extension.
Ironically, I think the client-side PDF rendering options are greater
in the .NET world.
a) getURL doesn't have this problem. And it's within Flash. But getURL
seldom has a problem so long as you click.
b) Browsers could so easily handle this quite easily. The simple
algorithm is this:
record recent mouse clicks
if pop-up window launched
check last mouse click and see if it
Not a solution, but alas a work around. I modified the SWFOjbect 1.5
expressinstall.swf.
Instead of it popping an alert I have it remove the movie clip that
the auto updater swf is loaded into. I manually put some Flash content
to link to updating. Including a template on our site that is Flash
Just a thought...
Can you pass the values to Flash/Flex encrypted. Then write a web
service for the Flash/Flex to pass those values to that returns them
decrypted.
If you are using ColdFusion, I'd go with a Flash remoting connection
to the CFC since this passes data as binary. Not quite
Tell me about it...
Had subversion pretty much get hosed twice now. Currently trying to
get everything re-established.
You'll likely want to use LCDS (LiveCycle Data Services) from Adobe,
and write a J2EE app to serve up the data to Flex.
-- William
--- In flexcoders@yahoogroups.com, Amit Gupta [EMAIL PROTECTED] wrote:
I have a pushlet on the server which keeps sending streaming data. I'm
able to receive the
Hi Tom,
I've not thoroughly examined your code but a few things you might want
to investigate. I went around in circles for a long time getting style
hierarchies to work correctly in flexmdi.
The first thing is that rather than using
newStyleDeclaration.setStyle() to set defaults, I would
Hello Ivo,
To add only single image to the stage, you need to play with more low level
stuff that mx..Image. Have a look at things like BitmapAssets, TextField, stage
align, stage scaling etc.
P.S.: Out of curiosity, do you have already something working similar to my
next example with
A bit more information:
I am attempting to initialize a series of bindings in an Abstract
class. For the sake of argument, lets say that we have the class
Abstract, the class Child, are extending Canvas, and are attempting to
bind to a singleton data model. During childrenCreated I'm calling a
Hi all,
I'm running into a strange problem while sending objects from flex to
java using openamf.
A brief version of my object model is as follows:
A FileDataTable contains a FileStatus (and a list of FileStatus, not
sure if this matters) and I'm trying to send a FileDataTable from flex
to
I've discovered you can't use this to refer to the current instance
from the parent class. Is there another way I can reference the
currently instantiated child?
Michael Krotscheck
Senior Developer
RESOURCE INTERACTIVE
http://www.resource.com/ www.resource.com http://www.resource.com
I'm not in front of flexbuilder now ... but that could be the issue
... cases where more than one returned showed up, but single instances
didn't (now that I think about it).
However, I'm curious what you mean by bracket notation.
Could you clarify?
Thanks for the tip,
Paul
On Nov 6, 2007
An annoying workaround is to enclose the text in parenthesis. So:
node
Some Text
\r\n
\r\n
/node
becomes
node
(Some Text
\r\n
\r\n)
/node
Then you just need to pre/post process the xml/queries. It's annoying, I
hope there's a better way, but it works perfectly.
- Dan Freiman
On 11/6/07,
hey guys,
it works, i took of myData = .
uses this ONLY!
myData.removeItemAt(0)?
Thanks all and have a nice day
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
Show us the code that produces that error.
Tracy
From:
When you add a new row, dataProvider changed so DG will be refreshed
totally, your item editing process will be eliminated at that time.
You need a callLater() to reselect .selectedIndex to the new row, it
will be highlighted. Then try to move focus back to the renderer.
George
Alex Harui
I am trying to extend a TextInput component to resize itself as the
user types. I have overridden the measure function to calculate
the size correctly, and then I created a handleChange function
which calls invalidateSize() and recalculates the size as the user
types.
Here is the
The security folks have deemed that all modules must be installed in the
same AIR package as the application. SWFs from outside the package are
considered cross-domain and you can't import load them.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Sometimes I feel like I am talking to myself, answering my own
questions. :)
This time I don't have any answers yet.
There seems to be a BUG in flex with the way that it handles European
characters in embedded fonts. Can anyone confirm this? I wonder if I
need to write up a bug.
Anyway, you
Hello Ivo,
Does it help, (AIR Beta 2)?
?xml version=1.0 encoding=utf-8?
mx:WindowedApplication
xmlns:mx=http://www.adobe.com/2006/mxml;
layout=vertical
width=400
height=300
click=exit()
showStatusBar=false
showTitleBar=false
showGripper=false
verticalAlign=middle
Hi Vadim,
Your example is kind of what I have, I have trouble adding items to it
tho,
snip...
var img:Image = new Image();
img.source = SPLASH_IMG;
wnd.stage.addChild(img);
...
the items added to the wnd stage do not display. I imagine its
something simple I am missing, cant tell what tho.
-
Alex,
I can see their viewpoint. What would be handy instead, I suppose,
would be the ability to update an application without having to pull
over the entire AIR file - just update a certain resource in the
package. This would IMO provide a better user experience.
Jeff
I think they are available at bugs.adobe.com/jira so please file a bug
suggesting that.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Battershall, Jeff
Sent: Tuesday, November 06, 2007 1:33 PM
To: flexcoders@yahoogroups.com
I've looked around the Flex documentation web page:
http://www.adobe.com/support/documentation/en/flex/
but only see the ProgrammingAS3_Examples.zip. Those are good
examples, but I was hoping to find the code that is referenced in the
Getting Started guide and the Developer's Guide. Any idea
This is most definitely an area where Adobe needs to apply some resources.
(I've had my local subversion repository hosed twice by Flex Builder.
They don't like to get along. In part because the default behavior of
FB is to import tons of stuff to the bin folder. Which causes chaos as
it also
Hi Mike
It would be helpful, if you could provide a link to the source of a minmal
running example of this problem
Cheers
Ralf.
On 11/6/07, Mike Krotscheck [EMAIL PROTECTED] wrote:
A bit more information:
I am attempting to initialize a series of bindings in an Abstract class.
For the
Check out the Cafe Townsend example
On 04/11/2007, at 3:10 AM, tomeuchre wrote:
I have a Flex app that interacts perfectly with my java app, when
using
the mx:remoteOject definition and the getters and setters are in mxml
components.
However, I want to migrate to pureMVC and use
2.01 with hotfix 2
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
Which version of Flex?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of j_lentzz
Sent: Tuesday, November 06, 2007 9:34 AM
To:
It happens also when I first populate the datagrid or add a row. In
either case, nothing is selected in the datagrid. When I select
something, the top most left cell briefly gets the focus and switches
the component to an editor then back to a renderer and then the
selected item becomes an
Hi,
Adding a single image was just an example, I want to add more than
just an image to the borderless Window.
I recently noticed that the AIR sample PixelPerfect accomplishes what
I am trying to do. I'll be looking at it more closely next.
Regards,
Ivo
--- In flexcoders@yahoogroups.com,
I have a TileList in my application where each element is rendered by
a custom ItemRenderer. Each element of the above TileList
has another TileList in it which is rendered for the first time by
initialize event.
The outer TileList's dataprovider is an ArrayList of VO's which are
returned from
I've got a custom item renderer on a DataGrid which implements the
IDropInListItemRenderer interface. It uses this to figure out the
dataField the column is set to and then renders the item as appropriate.
That all works OK, but then I want a ComboBox to change the dataField
on the DataGridColumn
I logged the following bug: https://bugs.adobe.com/jira/browse/SDK-13352
I guess we'll see what happens to it. It has some screenshots
attached to it so that you can see what I am talking about.
--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:
Sometimes I feel like I am
I've got a component called ItemContainer that extends UIComponent.
Inside it has a TextArea. I want ItemContainer's height and width to
update to match the height and width of the TextArea when the
TextArea's are changed (I've got a resizer class that lets you drag a
widget to change the
I started a flex project and added a button to the main.mxml. I want
it to go to the aboutus mxml but i don't know how could someone help me.
Actually I don't have any mouse interaction going on currently. I do have a
keyboard listener to handle navigating forward.
As far as loading goes, I have a ComponentManager and a ComponentLoader
class. The manager creates a ComponentLoader which uses a Loader to load the
actual swf. Once it is
Hello People,
Any one know when or where I can get the Saffron AIR UML Tool?
I have been experiencing a problem with using the JSP tag statement
under OC4J and Live data Services (2.5) on a linux box.
JSP --
%@ taglib uri=FlexTagLib prefix=mm %
mm:mxml source=filetoload.mxml /mm:mxml
Stack trace ---
You probably want to use a view stack or states. Those should get you
where you want to go.
hth
Scott
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
marlin wrote:
I started a flex project and added a button to the main.mxml. I want
it to go to the aboutus mxml
It's not available yet.
On Nov 6, 2007 6:40 PM, [EMAIL PROTECTED] wrote:
Hello People,
Any one know when or where I can get the Saffron AIR UML Tool?
I would like to bind a non-boolean value to a CheckBox? I can't
figure out the right way to do this.
I would like to create a custom CheckBox that can accept a string
value as a property. For example, if my model returns the string
apple then
util:MyCustomCheckBox value=apple
1 - 100 of 104 matches
Mail list logo