Hello All,
Check out another Adobe AIR app at
http://blogs.adobe.com/air/2008/12/adobe_air_powered_cynin_deskto.html
Regards,
Abhi
I think I need more help on this one :-( I found getElementAt(),
getElementIndex() etc in the GraphicElement-ContentElement class, but
not sure how to relate any of this to the loaded .fxg object:
If I go to
this.contentGroup
__mxmlContent
[0] VGroup (button group)
[1] displayGroup
Jon:
Thanks for taking the time to answer this so extensively. Your Method 2 is
what I've come up with so far, only using descent instead of ascent, as you
pointed out. And yeah, you're right - it doesn't always work since Flash
does not seem to return accurate values for ascent/descent/etc. for
I've tested using SDK 3.1.0 and the following XML is obtained from
ServerConfig.serverConfigData
services
service id=remoting-service/
service id=proxy-service
destination id=DefaultHTTP
channels
channel ref=my-amf/
/channels
/destination
/service
service
ActionScript's Number follows the IEEE 754 floating point standard
( http://en.wikipedia.org/wiki/IEEE_754 ). It's essentially lossy by
design.
It's not the really the right thing to use for financial calculations,
but ActionScript doesn't really have alternatives. It has essentially
two numeric
Valdhor already gave you all the info you need, but I like the sound of my
own fingers typing. I also like to procrastinate, so I'm in heaven right now
:p
- Some numbers that are easy to represent in decimal are hard to
represent in binary, just as some numbers that are easy to represent in
If you load a class at run-time, and a class already exists in the
same application domain, with the same qualified name, then the class
will be skipped and the first one that was loaded will be used. So the
implications should relate to unecessary filesize.
Peter
On Wed, Dec 17, 2008 at 10:15
This depends on what you really mean.
XML is a data format. AMF and HTTPService and SOAP are transport
protocols. You can send XML formatted data via any protocol. One of
the benefits of xml is it is a self-describing structure and you do not
need design and build your own DTOs or be
You need to define a custom sort function.
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Kenneth Sutherland
Sent: Wednesday, December 17, 2008 9:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] sort
You can also put a mx:TraceTarget / at the top of your MXML document to
see all the data going back and forth. That's how I troubleshoot when I'm
dealing with SOAP.
Cheers,
Nate
On Wed, Dec 17, 2008 at 9:21 AM, Tracy Spratt tspr...@lariatinc.com wrote:
Have you set resultFormat=e4x? If
In theory, if your base class implements IUIComponent, then your visual
components will work in Flex
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Jules Suggate
Sent: Wednesday, December 17, 2008 8:56 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
I have a flex project using BlazeDS where I am trying to create a
message destination dynamically and then subscribe to it in Flex.
I've been using the sample from Blaze as a reference.
Java method returns the string of the new destination:
...
ms = (MessageService)
Wondering if anyone else has seen this issue.
In IE7 our application, which has a swf file (via Flex) in it is
showing an extra white box or div at the botoom of the page, which is
roughly 200 pixels wide and 15 pixels tall, that has the name IFRAME
id=ie_historyFrame.
Also on this same page,
I'm getting data back from a wsdl call that looks like this:
?xml version=1.0 encoding=windows-1252? ns0:ROOT
xmlns:ns0=urn:AMAT_Asset_KeyGen xmlns:xsd=
http://www.w3.org/2001/XMLSchema; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
ns0:getListValues
I cannot find documentation on the List Controls member elements folder and
pfolder. I see them everywhere in the examples but noplace can I find the
explanation of the difference, where would I use folder vs. pfolder and why?
--
View this message in context:
Folks,
I have an Oracle application which is updating tables.
I want to display these tables in a Flex data grid and update them in
real time as the Oracle tables get updated.
So the question is, how do I get Oracle to pass real time updates to
Java/Tomcat/BlazeDS application to interface to
When I place the mouse in just the right spot between 2 menu items I
can get a flicker. Does anyone know how to stop this?
I'm looking to do a simple flip effect via the new rotationY
attribute. I'm building my example in Flex 3.2 on AIR 1.5 using Flash
player 10. My example is comprised of a viewstack with two children
(canvases). The stylenames on each of the children just apply a
background image. I'm also wrapping
I wanted to get some input on this. I'm writing a DateTime object using
Proxy, (for all of the timezone stuff I'm working on) and I'm a little
annoyed trying to make the DateTime constructor work exactly like the Date
constructor.
Here's my code... commented out code was other attempts:
public
I'm drawing a horizontal timeline graph, my own component, not Flex
charting. The horizontal bars are blocking the mouse down event from
reaching a component in a lower depth. I'm confused because I've set the
parent, the children, and everything near there's mouseChildren and
mouseEnabled to
Hello Seth!
We either get the SSLHandshake exception like below or the following:
javax.net.ssl.SSLException: Inbound closed before receiving peer's
close_notify: possible truncation attack?
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException
(Alerts.java:166)
at
Have you set resultFormat=e4x? If not, you are not working with xml.
Flex has generated a tree of dynamic objects. Though it allows you to
go straight to an arrayCollection, this format is rarely desirable.
Set the resultFormat, then in your result handler do:
var xmlResult = event.result
I am using an embedded PNG as the background for my app:
mx:Application
backgroundImage=@Embed('c:/we/assets/skins/design-empty1.png')
..
I have my Flash Global Security Setting set to:
Always trust files from these locations: 'c:\'
When I run the app it tells me 'SecurityError:
Hi, how can I expand the Console Window buffer in the debugger so that
my 1000 messages don't scroll off the screen and never to be seen again?
thanks,
I worked on something similar not too long ago and my approach for #1 was to
load top-level folders only and only drill inward with a server call as the
user clicks on the expand arrow on individual folders. It made it appear more
responsive for huge structures.
For #2 you can have each of
--- In flexcoders@yahoogroups.com, djhatrick djhatr...@... wrote:
I have an itemRenderer that copies bitmapdata into my uiComponent
inside my itemRenderer. the problem comes up when I try to run a
filter on my list and then the bitmapData changes, I am clearing out
the bitmapData and the
same kind of performance really. Never noticed anything, i mean its
faster because you have more ram, not because you have a 64 bit.
On 15-Dec-08, at 3:01 AM, Ralf Bokelberg wrote:
Hi guys
I'm in the process of choosing a new machine to be placed under my
christmas tree :). I wonder, if
I'm trying to apply a sort to an XMLListcollection that is assigned to a
dataprovider.
Each element of the collection has the following format and I've no
control over the format to change it.
f
rablah/ra
roblah/ro
fs
dithe name to filter
Thanks for the helpful comments and suggestions. Here is what I have already
looked at.
We looked at PureMVC for the project that I am on but stayed with Cairngorm
because of the applications already written in Cairngorm that are also part
of the project. However, we have written a version of
Hi Everyone -
Given the following code:
var num1:Number = 0.72;
var num2:Number = 0.198;
var num3:Number;
num3 = num1;
num3 += num2;
I would expect num3 to equal 0.918.
Instead, it equals 0.9179.
And when I apply a
Hey, a fellow Kiwi? Cool :) I am based out of Christchurch...
Having used Cairngorm plenty in the past, I always found it pretty
excellent, just a little out of date these days perhaps -- your changes
sound (IMHO) sane and reasonable, as does your decision to go with Cairngorm
if you are
If you rename the *.swc file to a *.zip file you can open it with
Windows Vista (and XP?) or with 7-zip (etc.) without renaming it, so it
must be a derivation of the pkzip format. There are some zip functions
in the nochump branch of papervision3D so that might help.
John
aaron smith wrote:
Has anyone really developed a true business application using Flex +
Papervision? I have been researching integration of the two but so far have
found very little. I've found a couple good links on getting started but
the solutions aren't optimal and no one seems to have brought it out of the
I have noticed this as well but only on IE6. My solution was to move the
background into a stylesheet, ex:
.applicationStyle{
background-image: Embed('c:/we/assets/ skins/design- empty1.png');
}
...
mx:Application
styleName=applicationStyle
..
- Ivo
Use getDisplayObjectsUnderPoint() or break on SystemManager.mouseDownHandler
and see what the target is.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Jesse Warden
Sent: Tuesday, December 16, 2008 3:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
I've tested now the button validate location from Flex Server - yes
it seems broken, I think you should fill a bug.
I have two recommendations for you:
1. Use the debugger. Put a breakpoint in your resultEvent handler and
check the event.result variable.
2. Get a copy of Charles (http://www.charlesproxy.com). This should
show the actual objects returned.
HTH.
Steve
--- In flexcoders@yahoogroups.com,
No, you're not doing anything wrong. It's just a fact of life that
computers use binary and we humans use decimal. You will get a
rounding error when converting between the two radix's. There are a
number of posts on the net explaining this better than me:
Why would you want to do this? I would adjust the graph to take an
array collection or object as a datasource.
I think you could hack it in your C# code to pass a xml object or
array with xml in it. But To me it defeats the purpose of weborb. I
would take the approach of changing the
Hi All,
I am Bonny working as Flex Developer. I want to know about paging in
LCDS. So please if you have any example for LCDS paging for server to
datasource. Then please let me know about that. It is very helpful to
me.
Right now we are using client-server paging and want to move on server
AFAIK Weborb sends and receives only via AMF.
Of course, why would you want to use Weborb to receive XML? Just use a
standard HTTPService call.
--- In flexcoders@yahoogroups.com, timgerr tgallag...@... wrote:
I have been working with weborb and I think it is great. I am working
on a graph
i think its gnu zip
On Wed, Dec 17, 2008 at 5:13 PM, John McCormack j...@easypeasy.co.ukwrote:
If you rename the *.swc file to a *.zip file you can open it with
Windows Vista (and XP?) or with 7-zip (etc.) without renaming it, so it
must be a derivation of the pkzip format. There are some
Is it possible to get the progress (or at least bytes sent) for a POST
operation in any way, I'm currently using HTTPService but will happily
change to something else if it will give me the ability to track the
progress of the POST.
What you could do is look into fixed point maths.
This is how you do maths when you don't want to (can't) use floating
point numbers. That way you control the precision, it's used in games
as its generally quicker than using decimals and as it uses integers
there isn't any rounding, but you have
Hi Bonny,
Here's a reply from Ed Solovey, one of our engineers in the LCDS team:
The first thing you want to do is enable Server-to-data-source paging,
also referred to as paged-fill, by implementing the useFillPage method
in your extension of AbstractAssembler:
@Override
public boolean
Jules,
For financial applications, it's far more problematic than testing for equality.
For example, if you are applying a discount to a price the resulting price must
have exact two digit decimal accuracy, otherwise by the time you have
discounted a few items you have an invoice whose total
Try this link
http://coenraets.org/blog/category/lcds/
On Wed, Dec 17, 2008 at 12:35 PM, meteatamel meteata...@yahoo.com wrote:
Hi Bonny,
Here's a reply from Ed Solovey, one of our engineers in the LCDS team:
The first thing you want to do is enable Server-to-data-source paging,
export the framework as an external RSL for both your main app and the
runtime loaded class swf, that way your external swf won't have the bytes in
it and the main app will mount all the needed classes from the rsl as is
necesary.
of course you are also helping all the rest of us who then export
displayGroup.getItemAt(0) should return the FXG object and then you should
be able to use the content management functions, i.e. to get the number of
items:
displayGroup.getItemAt(0).numItems
to get the second item:
displayGroup.getItemAt(0).getItemAt(1)
Haykel Ben Jemia
Allmas
Web RIA
Does anyone have any idea what format a swc is compressed with? I'm
trying to figure out how to take the ouput of a swc (with the
-directory switch from compc), run the optimize command line tool on
the library.swf, and then zip it back up as a swc. any ideas?
thanks
Hi list, anyone know if it's possible to have all our components inherit
from a common base component of our own making?
There are some things in our app that every View component will have to do
at loadtime, and it'd be nice to just write that code once and have all the
other components inherit
Thanks a lot Nate.
--- In flexcoders@yahoogroups.com, Nate Beck n...@... wrote:
That's a tough problem that I've had to deal with before. Here is
what I
figured out.
- You widget MUST be 216 x 140 (some people will argue you can do 215
wide, but in my testing sometimes that causes
I may be missing something from your explanation. Are you seeing erroneous
calculations? Are there bugs? What exactly is the problem we are trying to
solve.
AFAIK, 2 digit accuracy is a given. In fact, it goes many digits higher than
that (I forgete exactly how many -- too long since my
I am building a full featured file explorer and I am stuck on one part of
the application. On the left hand side I will have a base root directory
(root) and a listing of all directories that fall under it (no end). When
you click on a folder they will show up in the datagrid to the right. My
Hello :)
I have started exploring BlazeDS (Turnkey) and after I followed and
understood this hello world example,
http://blog.ashier.com/2008/02/22/bl...world-example/,
it became very confusing to me :|
Locally everything runs fine in IE, but remotely its a living hell...
it simply does not
Google: Flex WebService document literal xml
Also, you will find it much easier to debug problems if you build the
webservice request object in AS rather than in declarative mxml;.
Tracy
From: flexcoders@yahoogroups.com
I don't believe the Flex WebService allows you to send plain XML. I
think you need to create objects which Flex will parse to create
SoapObjects.
I have put together a demo application that you can use as a starting
point:
?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
I am loading in a external SWF at runtime using loadBytes, so I am able to
retrieve library items / class names created via the designers in the SWF. I
need to use loadBytes so I can use timeline AS3 code etc.
I was wondering what the implications are of this, since the exported SWFs
filesize
I have an itemRenderer that copies bitmapdata into my uiComponent
inside my itemRenderer. the problem comes up when I try to run a
filter on my list and then the bitmapData changes, I am clearing out
the bitmapData and the bitmap Container, on my commitProperties.
Any suggestion on this? the
thanks guys, I think this should work.
On Wed, Dec 17, 2008 at 7:49 AM, Johannes Nel johannes@gmail.com wrote:
i think its gnu zip
On Wed, Dec 17, 2008 at 5:13 PM, John McCormack j...@easypeasy.co.uk
wrote:
If you rename the *.swc file to a *.zip file you can open it with
Windows Vista
Has anyone read through the SWF file format, and been able to decipher
how exactly AS3 classes are compiled into the SWF? From reading
through all of the control tags it seems it would be the SymbolClass
tag. So, it would seem, I could rip out SymbolClass tags from the
bytecode (for a specific
Hi,
I have a component file.
BasicWindow.mxml
?xml version=1.0 encoding=utf-8?
mx:Window xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute width=300 height=200
mx:Script
![CDATA[
[Bindable]
public var showText:String;
Hi,
I have multiple tabs, My users requirement is to save the data of one
of his tab form if he move from that tab to another tab with out
pressing save button.
I was trying with focusOut event. It was not working properly. If i
click some where in the current tab also it is invoking every time i
hello monkeyden,
On Wed, Dec 17, 2008 at 2:06 PM, monkeyden monk...@monkeyden.com wrote:
The main question seems to be transitioning a 3D object (bitmap) back to a
UIComponent.
I'd done a UIComponent viewer for displaying and using with bindings, states,
etc., papervision DisplayObject3D
Hi,
did you try show / hide events?
You could also use the containers change event:
change=navigatorClicked() for example and in there check for unsaved data
On Wed, Dec 17, 2008 at 11:55 PM, b.kotireddy koti_reddy...@yahoo.comwrote:
Hi,
I have multiple tabs, My users requirement is to
I am trying to get a Flex App to access a Cold Fusion CFC on my CF 7.0.2
server.
I get the following error:
MessagingError message='Destination 'ColdFusion' either does not exist
or the destination has no channels defined (and the application does
not define any default channels
Using:
If I am going to be updating this collection (deleting / adding /
renaming directories) that I should be using an ArrayCollection Don't
believe everything that you hear. Demand an explanation why.
I advise staying with XML. Like the filesystem structure, XML is
inherently hierarchical. The
Thank you so much! After screwing around with this for awhile I am finding
that to be the real problem. When you get into unlimited numbers of sub
directories the array collection becomes very hard to manage. I think to
return my list of files an arrayCollection will work just fine but for the
--- In flexcoders@yahoogroups.com, ivo cervantes_v...@... wrote:
I worked on something similar not too long ago and my approach for #1
was to load top-level folders only and only drill inward with a server
call as the user clicks on the expand arrow on individual folders. It
made it appear
Depends on your style / preferences... XML might be easier to handle but
arrays are much faster to wire and compute..
I use the following array based structure , where parent helps upward tree
traversal (children contains CategoryTree instances):
public class CategoryTree
{
Amy, I have never worked with HierarchicalCollectionView. What are
its advantages over e4x XML? Is it mainly integration with
AdvancedDataGrid?
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Amy
Sent: Wednesday,
...talking about directories, I might as well go build them all out
now... Try it. But if the server is large, there may still be
thousands of directories. But maybe not. Did I say try it?
Tracy
From: flexcoders@yahoogroups.com
Thanks, that's the ticket. mx:WebService doesn't have a
resultFormat attribute, but mx:operation does. Setting the
operations' resultFormat to e4x gave me XML back. I also had to
play around with the result to get past the outer layers. It involved
the following:
var xmlResultList:XMLList =
One issue with dynamic objects is the speed of access compared to
strongly typed value objects. It is usually only an issue if you have
large numbers of item renderers on screen. In that case, accessing
values from dynamic objects or even XML nodes (which are essentially
dynamic) is
danielrkrueger wrote:
When I place the mouse in just the right spot between 2 menu items I
can get a flicker. Does anyone know how to stop this?
I also experience this. But its not just between two menu items. It happens
whenever you hover the mouse over any part of the border of a
On Dec 16, 2008, at 9:36 PM, devenhariyani wrote:
Thanks for the advice so far. If I follow the advice not to use the
Application tag, *and* if I also remove all the MXML and re- write the app
to use only ActionScript do you think I can get the size down to under
200KB? I think Flex is a
So I am working with the file explorer and I came across another problem.
Server side I am writing out the following xml
root
node label=Root Directory
node label=bin path=H:\JRun4\bin isBranch=false/
node label=docs path=H:\JRun4\docs isBranch=true/
node label=jnbridge
I definitely agree with you Gabriel, you wouldn't catch me doing a non-Flex
Flash project at all- I was under the impression the OP was *very* concerned
about size, although that could just've been my (often lax) comprehension
skills :)
-Josh
On Thu, Dec 18, 2008 at 2:38 PM, gabriel montagné
Anyone done this?
This is how I try to do it:
fileReference.upload( new URLRequest(
http://localhost:3000/files/upload; ) );
however, I get
Error #2038 File I/O error
Anyone know why I am getting this error? can you not post to the
localhost?
Is there something else I have to do?
Hi all,
I am going to create a AIR Desktop application. Am i able to connect to the
database such as SQL Server or MYSQL from AIR to retrieve data. Can anyone give
me an idea how can i do this task or send me any websites regarding the same.
Thanks in Advance,
Poornima
On Thu, Dec 18, 2008 at 7:59 AM, kotha poornima poorni_ag...@yahoo.com wrote:
Hi all,
I am going to create a AIR Desktop application. Am i able to connect to the
database such as SQL Server or MYSQL from AIR to retrieve data. Can anyone
give me an idea how can i do this task or send me any
If you go for size, i'd use Flash. There is nothing wrong with it, as
you are not developing a enterprise application with a big team.
Cheers
Ralf.
On Thu, Dec 18, 2008 at 5:50 AM, Josh McDonald dzn...@gmail.com wrote:
I definitely agree with you Gabriel, you wouldn't catch me doing a non-Flex
Waht server are you using ? Java ?
if so I can dig up an old project form flex2
--- In flexcoders@yahoogroups.com, Dan Vega danv...@... wrote:
I am building a full featured file explorer and I am stuck on one
part of
the application. On the left hand side I will have a base root
directory
I have emailed you the project, I see that you are using JRun4
--- In flexcoders@yahoogroups.com, Dan Vega danv...@... wrote:
I am building a full featured file explorer and I am stuck on one
part of
the application. On the left hand side I will have a base root
directory
(root) and a
Josh McDonald wrote:
I definitely agree with you Gabriel, you wouldn't catch me doing a
non-Flex Flash project at all- I was under the impression the OP was
*very* concerned about size, although that could just've been my (often
lax) comprehension skills :)
Strictly my opinion, but I'd do
85 matches
Mail list logo