Re: [flexcoders] Re: undefined in stack trace (Console), stack overflow (2nd try)

2009-07-15 Thread Erik de Bruin
Alex,

The local variables in methods on the stack, by which I presume you
mean have been called recently, are mostly counters and such, as
well as references to properties of other objects, to avoid too much
lookup (myVarRef instead of repeatedly calling
Controller.instance.myList.myVar).

2 questions:
- can I somehow increase the size of the stack for the AIR player on
MacOSX? (Google tells me probably not, but I have to ask);
- where can I learn more about the stack and how to debug it, so I
can stop bothering you with these questions?

Thanks,

EdB

On Wed, Jul 15, 2009 at 1:33 AM, Alex Haruiaha...@adobe.com wrote:


 I'm not sure you can try/catch a stack overflow, and adding try does
 change the stackframe. I think you're just running out of stack. The stacks
 have different sizes on different platforms. What kinds of local variables
 are in each method on the stack?

 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.
 Blog: http://blogs.adobe.com/aharui

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Erik de Bruin
 Sent: Tuesday, July 14, 2009 3:01 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: undefined in stack trace (Console), stack
 overflow (2nd try)

 Alex,

 Well, that's the thing. The code in that method doesn't seem to be the
 problem. If I put the seemingly offending line in a try...catch block,
 it runs without triggering the catch. And weirder still, the
 undefined exception happens somewhere a little further in the
 flow...

 This happens only when I play the piece in AIR on a Mac. AIR on
 windows doesn't show this problem and it also doesn't happen when the
 code runs in the Flash plugin in a browser (on both platforms). Are
 there any known issues that might relate to this?

 Thanks again,

 EdB

 On Fri, Jul 10, 2009 at 8:13 PM, Alex Haruiaha...@adobe.com wrote:


 Or show the code in that method.  If you blow up the stack, you can't
 guarantee you'll get correct information in the stacktrace.



 Alex Harui

 Flex SDK Developer

 Adobe Systems Inc.

 Blog: http://blogs.adobe.com/aharui



 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of valdhor
 Sent: Friday, July 10, 2009 9:03 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: undefined in stack trace (Console), stack
 overflow (2nd try)




 Possibly completely unrelated to the Stack Overflow error (Or maybe the
 change is now showing where the original error came from.

 I would try debugging at or around line 114 of SheetItem.as.

 --- In flexcoders@yahoogroups.com, erikdebruin_nl erikdebr...@...
 wrote:

 Steve,

 No luck :-(

 The stack trace look like this:

 Console output
 [SWF] Presenter_AIR.swf - 2,508,088 bytes after decompression
 undefined
 at
 nl.ixms.app.data::SheetItem/loadFromDbResultHandler()[/{removed}/SheetIt\
 em.as:114]
 at nl.ixms.db::Db/dbResultHandler()[/{removed}/Db.as:214]
 at flash.data::SQLStatement/internalExecute()
 at flash.data::SQLStatement/execute()
 /Console output

 Any ideas or suggestions as to what might cause the undefined?

 Regards,

 EdB

 --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
 
  A co-worker had the same error the other day (In the web application
 though, not in AIR): Stack Overflow.
 
  In his case it turned out to be rampant events. He made sure to use
 event.stopImmediatePropagation() when the event was no longer required
 to bubble and the error went away.
 
  This may not fix your problem but it is well worth doing.
 
 
  HTH.
 
 
  Steve
 
 
 
  --- In flexcoders@yahoogroups.com, erikdebruin_nl
 erikdebruin+flexcoders@ wrote:
  
   Hi,
  
   I've Googled me senseless, but I can't find a clue to my latest
 problem:
  
   When I run my application in the browser, all is fine. When the same
 app in AIR (we've build it so the same codebase is shared between on-
 and offline versions), I get an exception and the last line in the stack
 trace (as shown in the Console) reads undefined. The error dialog the
 player throws up (after clicking on the Resume (F8) button in the
 debug perspective) tells me a stack overflow happened.
  
   The funny thing is, when I disable the code that seems to be the
 cause (taking my clues from the stack trace), the problem remains, but
 the stack trace tells me another line is the problem... and so on and
 on.
  
   Google tells me that a stack overflow mostly has to do with rampant
 recursion, but my app doesn't use recursion anywhere. It does however
 use a lot of event chains. Do these count as recursion?
  
   What does it mean that the last line of the stack trace reads
 undefined?
  
   Any suggestions about further debugging my problem are very welcome!
  
   Thanks in advance,
  
   EdB
  
 




 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl

 

 --
 Flexcoders Mailing List
 FAQ: 

[flexcoders] Need Thousand Separation functionality in INR format

2009-07-15 Thread dhansekarank
Hi, I am working for indian client. So i need to format the amount with 
thousand separation in INR format. 

But flex default useThousandSeparation property formats the amount in US 
dollar. 

How to override the function to format it in indian rupees? 
Thanks in advance, by, Dhanasekaran



Re: [flexcoders] Need Thousand Separation functionality in INR format

2009-07-15 Thread thomas parquier
Hi,

You can use a NumberFormatter component with thousandSeparatorFrom and
thousandSeparatorTo attributes :

 mx:NumberFormatter
 id=numberFormatter
 precision=2
 thousandsSeparatorFrom=,
 thousandsSeparatorTo= 
 /

and then use numberFormatter.format( amount ). You can also use a locale
properties file and compile with -locale en_IN.

thomas
---
http://www.web-attitude.fr/
msn : thomas.parqu...@web-attitude.fr
softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net
téléphone portable : +33601 822 056


2009/7/15 dhansekarank dhansekar...@yahoo.co.in



 Hi, I am working for indian client. So i need to format the amount with
 thousand separation in INR format.

 But flex default useThousandSeparation property formats the amount in US
 dollar.

 How to override the function to format it in indian rupees?
 Thanks in advance, by, Dhanasekaran

  



[flexcoders] IFeelFree Website Test

2009-07-15 Thread Samuel Colak

Dear All,

I really appreciate all the help this group has provided in the past.  
As a request, id like some help in testing my new service  
(IFEELFREE.COM) for stability etc.


If you can take the time, to test the service, i would be very  
grateful. The service is being upgraded through the implementation of  
new components built
on my modular framework and all of it is written by myself in Flex 3.  
The back-end is SQL Server and a custom Flash Media Server  
implementation based

upon Red5 but written in C#.

If you'd like to sign-up as a user, there are a limited number of  
spaces initially (1000 actually) for the first round.


The URL is http://www.ifeelfree.com/?invite=1ffca813-d392-4e38-89c4-a9da28e95354

If you have any commentary, please send directly to me at sam.co...@im-at-home.com 


[flexcoders] Weborb serialzing issue

2009-07-15 Thread gordofeatherfoot
Hello all,

I don't know if it this is the right place to ask but i have had little (not to 
say no) feedback from the weborb forum, so i apologize if this is not 
appropriate.

I am sending a simple AS3 Object to my .net backend through weborb. This object 
has a property 'foo' with a decimal value. This object gets mapped to a 
dictionnary in .net but the value of 'foo' is serialized to an integer.

Anyone have an idea of why this is?

Thanks,
Tony.



[flexcoders] Charts - multiple data series (column/line) bar width issue

2009-07-15 Thread Shurup
Hi

I have an issue with column width in mixed chart:

on one chart I have 9 line series and 1 column series and visually that one
column takes 1/10 of the category width, which would be logical if other
series would also be columns (then each of them would take 1/10 of widths
and it would look perfect).

But line series don't spread into the rest 9/10 of the space, all together
they also take only 1/10 of the space (and all data points are on same X
coordinate at same exact X position and not spread horizontally to take free
Y space), so they only reserve horizontal space in category width, but don't
use it.

Here is a screenshot of what I'm talking about:

http://www.shurup.info/screenshot_chart.jpg

Is there any way to make a fixed width of the column chart at least to 1/2
of the category width and all line series would be in other 1/2 of the
space?

Thank you!!!


[flexcoders] Re: Remote AMF all in IE7 Fails NetConnection.Call.Failed: HTTP: Status 403

2009-07-15 Thread Anthony DeBonis
Very good idea - I tried the reset steps but still no joy.
You may be onto something because the certificate on this server is a internal 
generated cert - not a trusted cert so we do get a cert warning before 
page/application loads.

This is still a real problem for us and need to figure out why this is 
happening.


--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 403 is a Access Denied/Forbidden error. Seeing as you are making a secure 
 call, could it be a damaged certificate file in IE? You may want to try 
 repairing IE7 (http://support.microsoft.com/kb/318378) or perhaps some 
 registry error?
 
 
 --- In flexcoders@yahoogroups.com, Anthony DeBonis anthony@ wrote:
 
  Need a fix for this ASAP - any help would be great
  
  We have remote object calls to LCDS that work fine in Firefox and Chrome 
  but fail when we user IE 7 as the browser.
  
  FaultDetail: NetConnection.Call.Failed: HTTP: Status 403
  
  
  Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 403: 
  url: 
  'https://{servernamehere}/doh2/applinks/webserv/datavis/messagebroker/amf'
  
  IF I just hit the URL for the endpoint in IE7 it works fine - we get back a 
  blank white empty page so we know the endpoint us available.
  
  The Channel is using mx.messaging.channels.SecureAMFChannel 
  
  service-config.xml entries:
  
  channel-definition id=myAmf class=mx.messaging.channels.AMFChannel
  endpoint 
  url=http://{server.name}:{server.port}/{context.root}/messagebroker/amf; 
  class=flex.messaging.endpoints.AMFEndpoint/
  properties
 add-no-cache-headersfalse/add-no-cache-headers
  /properties
  /channel-definition
  
  channel-definition id=mySecureAmf 
  class=mx.messaging.channels.SecureAMFChannel
  endpoint 
  url=https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure;
   class=flex.messaging.endpoints.SecureAMFEndpoint/
  properties
  add-no-cache-headersfalse/add-no-cache-headers
  /properties
  /channel-definition
 





[flexcoders] Run Debug using ANT

2009-07-15 Thread Simon Bailey
Hi,

I have an ANT script that compiles a debug swf and launches it in its  
HTML wrapper in a browser window.  For some reason though if I run the  
ANT script I cannot seem to connect to the debugger to output to the  
console and hit breakpoints etc.  I can launch it by setting up  
external run configurations etc but I specifically want the process to  
run like this:

1) Run ANT script
2) ANT builds debug SWF
3) ANT builds html wrapper
4) ANT launches html/swf in browser in debug mode with traces  
outputting to Console.

Cheers,

Simon


Re: [flexcoders]

2009-07-15 Thread Tom Chiverton
On Tuesday 14 Jul 2009, Gustavo Duenas wrote:
 Hi coders, I have installed the flex 4 sdk (placed onto the sdk
 folder on flex builder 3)
 onto my flex builder 3
 let me know if I'm doing something possible or not.

Normally you'd unpack the new SDK to some other directory, then add it in 
Builders properties.

-- 
Helping to authoritatively embrace materials as part of the IT team of the 
year, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

[flexcoders] Re: Weborb serialzing issue

2009-07-15 Thread valdhor
I don't use .NET (I use PHP) but two things off the top of my head...

The property of the corresponding object on the .NET side is typed as an int.

You are actually sending what looks like an int so .NET is coercing it for you.

You could also try sending the property as a string and then coercing it to a 
float on the .NET side.


--- In flexcoders@yahoogroups.com, gordofeatherfoot anthony.janss...@... 
wrote:

 Hello all,
 
 I don't know if it this is the right place to ask but i have had little (not 
 to say no) feedback from the weborb forum, so i apologize if this is not 
 appropriate.
 
 I am sending a simple AS3 Object to my .net backend through weborb. This 
 object has a property 'foo' with a decimal value. This object gets mapped to 
 a dictionnary in .net but the value of 'foo' is serialized to an integer.
 
 Anyone have an idea of why this is?
 
 Thanks,
 Tony.





Re: [flexcoders] clearing the flex cache?

2009-07-15 Thread Tom Chiverton
On Wednesday 15 Jul 2009, jedierikb wrote:
 I would like to clear my cache of all the flex libraries used by my
 browsers.  I would like to do this to see the speed of my flex apps loading
 the flex rsls for the first time.

I've got these directories. Your O/S probably has something similar, just find 
them and remove the contents.

# ls ~/.adobe/Flash_Player/*
/home/chivertont/.adobe/Flash_Player/AssetCache:
K4SJA3WK
/home/chivertont/.adobe/Flash_Player/NativeCache:
VFGTHN6A

-- 
Helping to widespreadedly cluster next-generation unique next-generation 
models as part of the IT team of the year, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

Re: [flexcoders] Linux says corrupt file when clicking on an air app.

2009-07-15 Thread Tom Chiverton
On Wednesday 15 Jul 2009, Raymond Brown wrote:
 as root and general user on the linux system.  Any pointers is appreciated.

Could be lots of things, I am afraid.
Not enough disk space ?
Old runtimes didn't like some newer SDKs.


-- 
Helping to challengingly morph network infrastructures as part of the IT team 
of the year, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

Re: [flexcoders] Re: LCDS fallback and firewalls which inspect packets

2009-07-15 Thread Tom Chiverton
On Tuesday 14 Jul 2009, Johannes Nel wrote:
 the https idea is worth a try. Thanks for the input.

Or set up a site-to-site VPN.

-- 
Helping to biannually differentiate revolutionary vertical unique web-enabled 
environments as part of the IT team of the year, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

Re: [flexcoders] Eclipse and flex setup questions

2009-07-15 Thread Tom Chiverton
On Tuesday 14 Jul 2009, Howard Fore wrote:
 Tom, what does XSD4MXML do? The info on the Google Code page doesn't make
 it clear how it relates to code hinting.

It makes a file you can load into the Eclipse WTP XML editor to give insight 
on MXML files.

-- 
Helping to dynamically grow turn-key compelling networks as part of the IT 
team of the year, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

[flexcoders] Re: Weborb serialzing issue

2009-07-15 Thread gordofeatherfoot
First off thanks for your reply,

1. The corresonding object on the .NET side is a Dictionnary (which is the 
equivalent of the Object in AS3 I believe). So the properties are not typed.

2. I can't send a string and explicitly cast it to a float because the object i 
am sending is dynamic (this is why we use the generic Object in AS3). It will 
have an unknown numer of properties of various types. 

I could setup a mechanisme whereby i send the type of the property with the 
value and then parse the object on the .net side and cast each property to it's 
specific type. 
But that seems very heavy for this simple problem.

I would have excpected weborb to be able to make the difference between an 
intger and a float in a dynamic object comming from Flex.


--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 I don't use .NET (I use PHP) but two things off the top of my head...
 
 The property of the corresponding object on the .NET side is typed as an int.
 
 You are actually sending what looks like an int so .NET is coercing it for 
 you.
 
 You could also try sending the property as a string and then coercing it to a 
 float on the .NET side.
 
 
 --- In flexcoders@yahoogroups.com, gordofeatherfoot anthony.janssens@ 
 wrote:
 
  Hello all,
  
  I don't know if it this is the right place to ask but i have had little 
  (not to say no) feedback from the weborb forum, so i apologize if this is 
  not appropriate.
  
  I am sending a simple AS3 Object to my .net backend through weborb. This 
  object has a property 'foo' with a decimal value. This object gets mapped 
  to a dictionnary in .net but the value of 'foo' is serialized to an integer.
  
  Anyone have an idea of why this is?
  
  Thanks,
  Tony.
 





[flexcoders] Re: Weborb serialzing issue

2009-07-15 Thread valdhor
With no strong typing on either the Flex or .NET side, how is .NET supposed to 
figure out the data type for you?

WebORB is just a set of classes and methods built in a specific language (.NET 
in this case). If .NET passes WebORB a chunk of bytes, how is WebORB meant to 
figure out that it contains a string, int, float or whatever?

You will have to type these properties at some point in time.

If it were me, I would try to coerce a value to an int first. If there was an 
error, try a float. If there is still an error, try a string.


--- In flexcoders@yahoogroups.com, gordofeatherfoot anthony.janss...@... 
wrote:

 First off thanks for your reply,
 
 1. The corresonding object on the .NET side is a Dictionnary (which is the 
 equivalent of the Object in AS3 I believe). So the properties are not typed.
 
 2. I can't send a string and explicitly cast it to a float because the object 
 i am sending is dynamic (this is why we use the generic Object in AS3). It 
 will have an unknown numer of properties of various types. 
 
 I could setup a mechanisme whereby i send the type of the property with the 
 value and then parse the object on the .net side and cast each property to 
 it's specific type. 
 But that seems very heavy for this simple problem.
 
 I would have excpected weborb to be able to make the difference between an 
 intger and a float in a dynamic object comming from Flex.
 
 
 --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
 
  I don't use .NET (I use PHP) but two things off the top of my head...
  
  The property of the corresponding object on the .NET side is typed as an 
  int.
  
  You are actually sending what looks like an int so .NET is coercing it for 
  you.
  
  You could also try sending the property as a string and then coercing it to 
  a float on the .NET side.
  
  
  --- In flexcoders@yahoogroups.com, gordofeatherfoot anthony.janssens@ 
  wrote:
  
   Hello all,
   
   I don't know if it this is the right place to ask but i have had little 
   (not to say no) feedback from the weborb forum, so i apologize if this is 
   not appropriate.
   
   I am sending a simple AS3 Object to my .net backend through weborb. This 
   object has a property 'foo' with a decimal value. This object gets mapped 
   to a dictionnary in .net but the value of 'foo' is serialized to an 
   integer.
   
   Anyone have an idea of why this is?
   
   Thanks,
   Tony.
  
 





[flexcoders] Re: create class on the fly

2009-07-15 Thread postwick
I cannot predict at compile-time what the name (or properties) of the class 
will be.  I need to CREATE the class at runtime, AND add the properties to it.  
It seems, so far, that this is not possible.

However, what I'm doing sounds very similar to your project.  It's not so much 
the sheer number of tables (although a few dozen) but the fact that the 
application allows the creation of new tables (so I need a new class) and 
columns (so the properties might change).

I can easily have my app write new destinations to the config file for any new 
table created.  I can even write the necessary CFCs to disk based upon schema 
changes within the app.  But I cannot find a way to get the classes I need.

All tables share the same foreign key column name, which is helpful.  My idea 
is this...set up one class that has two properties - the foreign key and a 
second column.  I would have one destination for each table, but all 
destinations will point to the same class.  When my CFCs pull data, I will have 
them return the primary key along with all other data encoded (XML or 
something) into the second property.  Then on the client side I can manage it 
by filling an ArrayCollection, then having a function that parses the actual 
columns and rows (from the second property) into a second ArrayCollection that 
my datagrid is actually bound to.  Creates/updates would go in the reverse 
direction - placed into the second ArrayCollection and then processed up to the 
two-property format for the first one, at which point LCDS will take over.

As I think through it, this should work.  Thoughts?

--- In flexcoders@yahoogroups.com, wrhinfl wrhi...@... wrote:

 Ok, I think the way your question is worded can cause problems with the 
 answer you get.
 
 If your real question was Can a class be modified during runtime and how?  
 Would this be the same question you are asking?
 
 I searched the ASDocs and found Dynamic Class, which allows you to add 
 variables and functions to an instance of a class.  I created a simple 
 application and uses one AS class twice, creating different variables and 
 functions in the two instances.
 
 The project I am working on is trying to do something very similar where I 
 don't want hundreds of classes to match the hundreds of tables (and would 
 require hundreds of java classes on the server).  
 
 And your question made me do some searching, so let me know if this question 
 and answer are closer to what you are trying to accomplish in your project 
 and I can share my simple code (two files with 70 lines of code, no comments).
 
 --- In flexcoders@yahoogroups.com, postwick paul@ wrote:
 
  I want to store descriptions of classes in an external file (such as XML) 
  or database, and use them in my Flex application such that I can add, 
  remove, or change the classes in the external file with recompling the Flex 
  application.
  
  Is there any way to do this?  In a nutshell, is there a way to create a 
  class through an Actionscript function, with a for loop where the 
  information that is looped over contains the definitions of the classes 
  loaded from an external source?
 





[flexcoders] Re: Charts - multiple data series (column/line) bar width issue

2009-07-15 Thread EddieBerman
This is due to a Flex bug
(https://bugs.adobe.com/jira/browse/FLEXDMV-1957
https://bugs.adobe.com/jira/browse/FLEXDMV-1957  )
which I'd love to see fixed.

Until then, here's one solution that I found:
  http://flexxxed.wordpress.com/ 
http://flexxxed.wordpress.com/2009/05/20/using-right-chart-when-you-hav\
e-multiple-chart-series/ http://flexxxed.wordpress.com/
http://flexxxed.wordpress.com/

Good luck,
Eddie B.


--- In flexcoders@yahoogroups.com, Shurup shu...@... wrote:

 Hi

 I have an issue with column width in mixed chart:

 on one chart I have 9 line series and 1 column series and visually
that one
 column takes 1/10 of the category width, which would be logical if
other
 series would also be columns (then each of them would take 1/10 of
widths
 and it would look perfect).

 But line series don't spread into the rest 9/10 of the space, all
together
 they also take only 1/10 of the space (and all data points are on same
X
 coordinate at same exact X position and not spread horizontally to
take free
 Y space), so they only reserve horizontal space in category width, but
don't
 use it.

 Here is a screenshot of what I'm talking about:

 http://www.shurup.info/screenshot_chart.jpg

 Is there any way to make a fixed width of the column chart at least to
1/2
 of the category width and all line series would be in other 1/2 of the
 space?

 Thank you!!!




[flexcoders] TileList Item Spacing

2009-07-15 Thread wwwpl
I need to increase the spacing horizontally and vertically between the items in 
my TileList.  I don't see how to do it.  Please advise.



[flexcoders] Re: TileList Item Spacing

2009-07-15 Thread Tim Hoff

There isn't a horizontaGap or verticalGap between the tiles in a
TileList.  So, you'd have to  use an itemRenderer to fake it.  Add a
transparent container to the itemRenderer, that contains the
itemRenderer content; centered within the transparent container.  You
can then adjust the perceived gaps with padding, and/or by adjusting the
rowHeight/columnWidth of the TileList.

-TH

--- In flexcoders@yahoogroups.com, wwwpl ww...@... wrote:

 I need to increase the spacing horizontally and vertically between the
items in my TileList. I don't see how to do it. Please advise.






[flexcoders] Re: Programmaticly created Consumer does not find endpoint

2009-07-15 Thread Michael Slinn

No-one replied to my earlier post, is an Adobean available to look at
this?


The testdrive-datapush sample program uses AMF as the primary channel,so
AMFStreaming was probably never used. I should have previously mentioned
that I had changedmessaging-config.xml as follows so streaming is used
exclusively for messaging:
   default-channels
 channel ref=my-streaming-amf/
 /default-channels


I modified services-config.xml so my-streaming-amf is now defined as
follows:
channel-definition id=my-streaming-amf
class=mx.messaging.channels.StreamingAMFChannel
endpoint
url=http://{server.name}:{server.port}/{context.root}/messagebroker/str\
eamingamf class=flex.messaging.endpoints.StreamingAMFEndpoint
properties
idle-timeout-minutes0/idle-timeout-minutes
max-streaming-clients10/max-streaming-clients
server-to-client-heartbeat-millis5000/server-to-client-heartbeat-mill\
is
user-agent-settings
!-- MSIE 5, 6, 7 limit is 2. --
user-agent match-on=MSIE max-streaming-connections-per-session=1
kickstart-bytes=2048/
!-- MSIE 8 limit is 6. --
user-agent match-on=MSIE 8 max-streaming-connections-per-session=5
kickstart-bytes=2048/
!-- Firefox 1, 2 limit is 2. --
user-agent match-on=Firefox
max-streaming-connections-per-session=1/
!-- Firefox 3 limit is 6. --
user-agent match-on=Firefox/3
max-streaming-connections-per-session=5/
!-- Safari 3, 4 limit is 4. --
user-agent match-on=Safari
max-streaming-connections-per-session=3/
!-- Chrome 0, 1, 2 limit is 6. --
user-agent match-on=Chrome
max-streaming-connections-per-session=5/
!-- Opera 7, 9 limit is 4.--
user-agent match-on=Opera max-streaming-connections-per-session=3/
!-- Opera 8 limit is 8. --
user-agent match-on=Opera 8
max-streaming-connections-per-session=7/
!-- Opera 10 limit is 8. --
user-agent match-on=Opera 10
max-streaming-connections-per-session=7 /
/user-agent-settings
/properties
/endpoint
/channel-definitionThe log messages have now changed to: 
my-streaming-amf' channel endpoint set to
http://localhost:8400/samples/messagebroker/amfstreaming
'B48F00D0-58FC-D64F-8F15-7F561D53C000' consumer set destination to
'feed'.
'B48F00D0-58FC-D64F-8F15-7F561D53C000' consumer subscribe.
'my-streaming-amf' pinging endpoint.
'my-streaming-amf' channel got status. (Object)#0
code = NetConnection.Call.Failed
description = HTTP: Failed
details = http://localhost:8400/samples/messagebroker/amfstreaming;
level = error
'my-streaming-amf' channel polling stopped.
'my-streaming-amf' channel connect failed.
'B48F00D0-58FC-D64F-8F15-7F561D53C000' consumer channel faulted with
Channel.Connect.Failed NetConnection.Call.Failed: HTTP: Failed: url:
'http://localhost:8400/samples/messagebroker/amfstreaming'
Suggestions?

Mike
--- In flexcoders@yahoogroups.com, Michael Slinn msl...@... wrote:


 I am able to programmatically create a RemoteObject to call RPCs
 against, and now I am trying to programmatically create a messaging
 Consumer that listens on a streaming AMF channel.

 I have cranked up logging verbosity. I note the 404 (not found)
message:
 [SWF] /samples/testdrive-datapush/ProgMsg.swf - 883,736 bytes after
 decompression
 'my-streaming-amf' channel endpoint set to
 http://localhost:8400/samples/messagebroker/amfstreaming
 'A9D9B478-E4BB-6C26-196F-7B082707F804' consumer set destination to
 'feed'.
 'A9D9B478-E4BB-6C26-196F-7B082707F804' consumer subscribe.
 'my-streaming-amf' pinging endpoint.
 'my-streaming-amf' channel got status. (Object)#0
code = NetConnection.Call.Failed
description = HTTP: Status 404
details =
http://localhost:8400/samples/messagebroker/amfstreaming;
level = error
 'my-streaming-amf' channel polling stopped.
 'my-streaming-amf' channel connect failed.
 The streaming AMF endpoint looks right to me. What am I missing?

 Here is the (small) test project source code:
 http://www.mslinn.com/sites/flex/progMsg.zip

 For convenience, the SWF and HTML files built by this test project
drop
 into the {BlazeDsTurnkey}/tomcat/webapps/samples/testdrive-datapush
 directory and the project can be run from
 http://localhost:8400/samples/testdrive-datapush/ProgMsg.html




[flexcoders] Re: create class on the fly

2009-07-15 Thread wrhinfl
So you need a process that maps future (currently un)named column names into a 
class property name (which is also currently unnamed)?

I think you want to work with a dynamic class.  It will allow you to add new 
properties at run time.  It will also allow you to add new functions at run 
time (although with this one I am not able to assign the whole function into a 
string variable and then put that function into the class).

Have a quick look at the mxml and actionscript (dynamic class) I quickly 
created last night.  The actionscript class has almost nothing in it.  In the 
mxml code I create two instances of this class, add different properties to 
each instance, and add different functions to each instance.  Then on the 
button clicks I am executing the different functions that have been dynamically 
added (which print both properties defined in the class and properties that 
have been dynamically added).

You can see a few lines I have commented out since I could not get the function 
code assigned to a string variable and then added into the class as a function, 
at least not that quickly.  Ok, you would still have to figure out a way to get 
the property names to match your column names for things to flow smoothly 
between the database and swf file.

file:dynamic_text.mxml
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute 
applicationComplete=init();
mx:Script
![CDATA[
import mx.controls.Alert;
private var dClass1:DClass;
private var dClass2:DClass;
private function init():void
{
var sFunctionDef:String;
dClass1 = new DClass();
dClass2 = new DClass();
dClass1.var1 = one;
dClass1.oneFunction = function ():void
{
trace(Name: + dClass1.Name +  id: + 
dClass1.id +  var1: + dClass1.var1);
textId.text += \nFrom within function 
oneFunction - Name: + dClass1.Name +  id: + dClass1.id +  var1: + 
dClass1.var1;
};
dClass1.stringFunction = function ():void {};
//sFunctionDef = function():void {trace(\\nCompletely 
in a string function:\ + this.Name);};
//dClass1.stringFunction = sFunctionDef;
dClass2.var2 = 2;
dClass2.twoFunction = function ():void
{
trace(Name: + dClass2.Name +  id: + 
dClass2.id +  var2: + dClass2.var2);
textId.text += \nFrom within function 
twoFunction - Name: + dClass2.Name +  id: + dClass2.id +  var2: + 
dClass2.var2;
};
dClass2.stringFunction2 = sFunctionDef;
button1.addEventListener(MouseEvent.CLICK, 
clickHandler);
button2.addEventListener(MouseEvent.CLICK, 
clickHandler);
}
private function clickHandler(e:MouseEvent):void
{
//Alert.show(Event: + e.type +  with target: + 
e.target);
if(e.target.label == Button1)
{
dClass1.oneFunction();
//dClass1.twoFunction(); //causes error
dClass1.stringFunction();
}
else
{
//dClass2.oneFunction(); //Causes error
dClass2.twoFunction();
//dClass2.stringFunction2();
}
}
]]
/mx:Script
mx:TextArea x=29 y=34 width=656 height=235 id=textId/
mx:Button id=button1 x=29 y=290 label=Button1/
mx:Button id=button2 x=141 y=290 label=Button2/
/mx:Application

file:DClass.as
package
{
public dynamic class DClass
{
public const Name:String = DClass;
public var id:Date;
public function DClass()
{
id = new Date();
trace(id);
}
}
}




[flexcoders] Re: create class on the fly

2009-07-15 Thread jer_ela
Just have your cfc return the results as a query, or as an array of structs.  
The first will be converted into an ArrayCollection of generic objects in Flex, 
and the second into an Array of objects.  Each of these objects will have a 
property for each column in the record.  

Flex will be quite happy with these object and will let you do pretty much 
anything you want to do with them.

You can use 

for (var key:String in recordObject) 

to get the property names.  Since your queries are going to be dynamic you are 
going to have to process them dynamically and this is how you do it.

You could also have your cfc return metadata about the result set, to tell you 
which properties are the primary keys, and anything else you need to know about 
the result to process it correctly.

Having the server return objects that automatically get converted to typed flex 
objects is great when you know what type of objects are going to be returned.  
But if you don't Flex can handle untyped dynamic objects just fine, and you 
should use them when the results of a service can't be known at compile time.

--- In flexcoders@yahoogroups.com, postwick p...@... wrote:

 I cannot predict at compile-time what the name (or properties) of the class 
 will be.  I need to CREATE the class at runtime, AND add the properties to 
 it.  It seems, so far, that this is not possible.
 
 However, what I'm doing sounds very similar to your project.  It's not so 
 much the sheer number of tables (although a few dozen) but the fact that the 
 application allows the creation of new tables (so I need a new class) and 
 columns (so the properties might change).
 
 I can easily have my app write new destinations to the config file for any 
 new table created.  I can even write the necessary CFCs to disk based upon 
 schema changes within the app.  But I cannot find a way to get the classes I 
 need.
 
 All tables share the same foreign key column name, which is helpful.  My idea 
 is this...set up one class that has two properties - the foreign key and a 
 second column.  I would have one destination for each table, but all 
 destinations will point to the same class.  When my CFCs pull data, I will 
 have them return the primary key along with all other data encoded (XML or 
 something) into the second property.  Then on the client side I can manage it 
 by filling an ArrayCollection, then having a function that parses the actual 
 columns and rows (from the second property) into a second ArrayCollection 
 that my datagrid is actually bound to.  Creates/updates would go in the 
 reverse direction - placed into the second ArrayCollection and then processed 
 up to the two-property format for the first one, at which point LCDS will 
 take over.
 
 As I think through it, this should work.  Thoughts?
 
 --- In flexcoders@yahoogroups.com, wrhinfl wrhinfl@ wrote:
 
  Ok, I think the way your question is worded can cause problems with the 
  answer you get.
  
  If your real question was Can a class be modified during runtime and how? 
   Would this be the same question you are asking?
  
  I searched the ASDocs and found Dynamic Class, which allows you to add 
  variables and functions to an instance of a class.  I created a simple 
  application and uses one AS class twice, creating different variables and 
  functions in the two instances.
  
  The project I am working on is trying to do something very similar where I 
  don't want hundreds of classes to match the hundreds of tables (and would 
  require hundreds of java classes on the server).  
  
  And your question made me do some searching, so let me know if this 
  question and answer are closer to what you are trying to accomplish in your 
  project and I can share my simple code (two files with 70 lines of code, no 
  comments).
  
  --- In flexcoders@yahoogroups.com, postwick paul@ wrote:
  
   I want to store descriptions of classes in an external file (such as XML) 
   or database, and use them in my Flex application such that I can add, 
   remove, or change the classes in the external file with recompling the 
   Flex application.
   
   Is there any way to do this?  In a nutshell, is there a way to create a 
   class through an Actionscript function, with a for loop where the 
   information that is looped over contains the definitions of the classes 
   loaded from an external source?
  
 





[flexcoders] Re: create class on the fly

2009-07-15 Thread wrhinfl
Ok, I am sorry, I think there were still two bad lines of code in that example 
for trying to get a function into the class dynamically with a string variable.

But I am able to add properties to the class dynamically based on the value of 
a string variable:
var sNewProperty:String;
sNewProperty = specialVar;
dClass1[sNewProperty] = You can, you can see my dynamic variable!;
trace(dClass1[sNewProperty]);
trace(dClass1.specialVar); //will print the same thing as the previous line, so 
the actual property name is specialVar from the string variable.




[flexcoders] Eclipse WTP and FlexBuilder 3

2009-07-15 Thread simonjpalmer
Has anyone managed to get WTP working in FlexBuilder 3, or to get FlexBuilder 3 
working in Eclipse with WTP also in play?

Are there any good resources to say how this works, or why it doesn't?

I had this working fine in FlexBuilder 2.



[flexcoders] Re: create class on the fly

2009-07-15 Thread postwick
Thanks for pointing me in the right direction.  I had no idea how well passing 
Flex Objects and CF Structures back-and-forth works.  It's so simple, and CF 
Structures are fast.  At the moment it displays object [Object] in the grid :-) 
but I'm able to bind a form to the properties of the object in that grid 
column, which is pretty cool.

I'm a couple small steps away from having the complete solution I have been 
looking for: using LCDS with multiple tables but only ONE generic class.

Here's a bonus question.  Within a data service can you have subtopics like 
you can have for messaging services?  If so, then I'd be able to get away with 
having only one destination.  Otherwise, I'll need a destination for every 
table, but that's not such a big deal.

--- In flexcoders@yahoogroups.com, jer_ela g...@... wrote:

 Just have your cfc return the results as a query, or as an array of structs.  
 The first will be converted into an ArrayCollection of generic objects in 
 Flex, and the second into an Array of objects.  Each of these objects will 
 have a property for each column in the record.  
 
 Flex will be quite happy with these object and will let you do pretty much 
 anything you want to do with them.
 
 You can use 
 
 for (var key:String in recordObject) 
 
 to get the property names.  Since your queries are going to be dynamic you 
 are going to have to process them dynamically and this is how you do it.
 
 You could also have your cfc return metadata about the result set, to tell 
 you which properties are the primary keys, and anything else you need to know 
 about the result to process it correctly.
 
 Having the server return objects that automatically get converted to typed 
 flex objects is great when you know what type of objects are going to be 
 returned.  But if you don't Flex can handle untyped dynamic objects just 
 fine, and you should use them when the results of a service can't be known at 
 compile time.
 
 --- In flexcoders@yahoogroups.com, postwick paul@ wrote:
 
  I cannot predict at compile-time what the name (or properties) of the class 
  will be.  I need to CREATE the class at runtime, AND add the properties to 
  it.  It seems, so far, that this is not possible.
  
  However, what I'm doing sounds very similar to your project.  It's not so 
  much the sheer number of tables (although a few dozen) but the fact that 
  the application allows the creation of new tables (so I need a new class) 
  and columns (so the properties might change).
  
  I can easily have my app write new destinations to the config file for any 
  new table created.  I can even write the necessary CFCs to disk based upon 
  schema changes within the app.  But I cannot find a way to get the classes 
  I need.
  
  All tables share the same foreign key column name, which is helpful.  My 
  idea is this...set up one class that has two properties - the foreign key 
  and a second column.  I would have one destination for each table, but all 
  destinations will point to the same class.  When my CFCs pull data, I will 
  have them return the primary key along with all other data encoded (XML or 
  something) into the second property.  Then on the client side I can manage 
  it by filling an ArrayCollection, then having a function that parses the 
  actual columns and rows (from the second property) into a second 
  ArrayCollection that my datagrid is actually bound to.  Creates/updates 
  would go in the reverse direction - placed into the second ArrayCollection 
  and then processed up to the two-property format for the first one, at 
  which point LCDS will take over.
  
  As I think through it, this should work.  Thoughts?
  
  --- In flexcoders@yahoogroups.com, wrhinfl wrhinfl@ wrote:
  
   Ok, I think the way your question is worded can cause problems with the 
   answer you get.
   
   If your real question was Can a class be modified during runtime and 
   how?  Would this be the same question you are asking?
   
   I searched the ASDocs and found Dynamic Class, which allows you to add 
   variables and functions to an instance of a class.  I created a simple 
   application and uses one AS class twice, creating different variables and 
   functions in the two instances.
   
   The project I am working on is trying to do something very similar where 
   I don't want hundreds of classes to match the hundreds of tables (and 
   would require hundreds of java classes on the server).  
   
   And your question made me do some searching, so let me know if this 
   question and answer are closer to what you are trying to accomplish in 
   your project and I can share my simple code (two files with 70 lines of 
   code, no comments).
   
   --- In flexcoders@yahoogroups.com, postwick paul@ wrote:
   
I want to store descriptions of classes in an external file (such as 
XML) or database, and use them in my Flex application such that I can 
add, remove, or change the classes in the external file 

Re: [flexcoders] Eclipse WTP and FlexBuilder 3

2009-07-15 Thread Julien Nicoulaud
We use WTP with Flex Builder 3 for our Flex projects.
What kind of issue do you encounter ?

2009/7/15 simonjpalmer simonjpal...@yahoo.com



 Has anyone managed to get WTP working in FlexBuilder 3, or to get
 FlexBuilder 3 working in Eclipse with WTP also in play?

 Are there any good resources to say how this works, or why it doesn't?

 I had this working fine in FlexBuilder 2.

  



Re: [flexcoders] clearing the flex cache?

2009-07-15 Thread Steve Mathews
If you are talking about the flex framework swz files then just go to
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.html
and
uncheck Store common Flash components to reduce download times.

On Tue, Jul 14, 2009 at 9:32 PM, jedierikb jedier...@gmail.com wrote:

 I would like to clear my cache of all the flex libraries used by my
 browsers.  I would like to do this to see the speed of my flex apps loading
 the flex rsls for the first time.

 Are there instructions for how to do clear my flex cache?  I tried deleting
 the files listed at the paths listed here
 http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_09.html, but
 even when they are trashed (on windows vista), my flex app still seems to
 find the libraries somewhere  locally(I do not see the framework and rsl
 libraries download).  (side note: i am not linking the flex libraries into
 my own code... I am linking to them as rsls.)



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders]

2009-07-15 Thread Gustavo Duenas

Thanks man, but I did something wrong ?

Gustavo
On Jul 15, 2009, at 8:48 AM, Tom Chiverton wrote:




On Tuesday 14 Jul 2009, Gustavo Duenas wrote:
 Hi coders, I have installed the flex 4 sdk (placed onto the sdk
 folder on flex builder 3)
 onto my flex builder 3
 let me know if I'm doing something possible or not.

Normally you'd unpack the new SDK to some other directory, then add  
it in

Builders properties.

--
Helping to authoritatively embrace materials as part of the IT team  
of the

year, '09 and '08


This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in  
England and Wales under registered number OC307980 whose registered  
office address is at Halliwells LLP, 3 Hardman Square,  
Spinningfields, Manchester, M3 3EB. A list of members is available  
for inspection at the registered office together with a list of  
those non members who are referred to as partners. We use the word ? 
partner? to refer to a member of the LLP, or an employee or  
consultant with equivalent standing and qualifications. Regulated  
by the Solicitors Regulation Authority.


CONFIDENTIALITY

This email is intended only for the use of the addressee named  
above and may be confidential or legally privileged. If you are not  
the addressee you must not read it and must not use any information  
contained in nor copy it nor inform any person other than  
Halliwells LLP or the addressee of its existence or contents. If  
you have received this email in error please delete it and notify  
Halliwells LLP IT Department on 0870 365 2500.


For more information about Halliwells LLP visit www.Halliwells.com.








[flexcoders] Re: Eclipse WTP and FlexBuilder 3

2009-07-15 Thread simonjpalmer
I added WTP via the download manager in Flexbuilder according to 

http://download.eclipse.org/webtools/updates/

however when it finishes I do not get any additional perspectives and I had an 
Eclipse error box with Java Null Pointer Exception messages in them.  The 
install log says everything installed fine but basically I have none of the 
additional tools showing up.

What version of WTP did you use?  I am suspecting that the version under the 
link above may be too recent for the FlexBuilder I have.

--- In flexcoders@yahoogroups.com, Julien Nicoulaud primo...@... wrote:

 We use WTP with Flex Builder 3 for our Flex projects.
 What kind of issue do you encounter ?
 
 2009/7/15 simonjpalmer simonjpal...@...
 
 
 
  Has anyone managed to get WTP working in FlexBuilder 3, or to get
  FlexBuilder 3 working in Eclipse with WTP also in play?
 
  Are there any good resources to say how this works, or why it doesn't?
 
  I had this working fine in FlexBuilder 2.
 
   
 





Re: [flexcoders] Re: Eclipse WTP and FlexBuilder 3

2009-07-15 Thread Muzak
You'll need to install a version that works with Eclipse 3.3.1 (if you have the 
latest FB 3 standalone)

According to this page: http://archive.eclipse.org/webtools/downloads/index.php
The requirements for each WTP version are mentioned at the top of each page.

The version that works with Eclipse 3.3.1 is this one: R-2.0.1-20070926042742
http://archive.eclipse.org/webtools/downloads/drops/R2.0/R-2.0.1-20070926042742/

To find out what version of Eclipse you're using, in FB3, go:
Help  Product Details
Click on the Eclipse icon at the bottom to see the version details.


regards,
Muzak

- Original Message - 
From: simonjpalmer simonjpal...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 15, 2009 10:57 PM
Subject: [flexcoders] Re: Eclipse WTP and FlexBuilder 3


I added WTP via the download manager in Flexbuilder according to

 http://download.eclipse.org/webtools/updates/

 however when it finishes I do not get any additional perspectives and I had 
 an Eclipse error box with Java Null Pointer Exception 
 messages in them.  The install log says everything installed fine but 
 basically I have none of the additional tools showing up.

 What version of WTP did you use?  I am suspecting that the version under the 
 link above may be too recent for the FlexBuilder I 
 have.




[flexcoders] Re: Eclipse WTP and FlexBuilder 3

2009-07-15 Thread simonjpalmer
Thanks, that's great, just started a download.  As a matter of interest do you 
tend to get the all-in-one or the WTP or WST packages?

--- In flexcoders@yahoogroups.com, Muzak p.ginnebe...@... wrote:

 You'll need to install a version that works with Eclipse 3.3.1 (if you have 
 the latest FB 3 standalone)
 
 According to this page: 
 http://archive.eclipse.org/webtools/downloads/index.php
 The requirements for each WTP version are mentioned at the top of each page.
 
 The version that works with Eclipse 3.3.1 is this one: R-2.0.1-20070926042742
 http://archive.eclipse.org/webtools/downloads/drops/R2.0/R-2.0.1-20070926042742/
 
 To find out what version of Eclipse you're using, in FB3, go:
 Help  Product Details
 Click on the Eclipse icon at the bottom to see the version details.
 
 
 regards,
 Muzak
 
 - Original Message - 
 From: simonjpalmer simonjpal...@...
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 15, 2009 10:57 PM
 Subject: [flexcoders] Re: Eclipse WTP and FlexBuilder 3
 
 
 I added WTP via the download manager in Flexbuilder according to
 
  http://download.eclipse.org/webtools/updates/
 
  however when it finishes I do not get any additional perspectives and I had 
  an Eclipse error box with Java Null Pointer Exception 
  messages in them.  The install log says everything installed fine but 
  basically I have none of the additional tools showing up.
 
  What version of WTP did you use?  I am suspecting that the version under 
  the link above may be too recent for the FlexBuilder I 
  have.
 





[flexcoders] Yet Another ItemRenderer Question

2009-07-15 Thread grenma
I have a TileList with a custom ItemRenderer that misbehaves when it scrolls: 
one tile (the last tile rendered when viewed initially) stays fixed in place as 
a ghost image (it is not clickable like the other tiles) and sits over the 
other scrolled items. The spot the ghost tile should be in is vacant until it 
scrolls off the screen and then scrolls back into view. If you scroll up just 
one row then back down again the TileList works properly (weird, I know).
The Tilelist is added as the child of a Canvas on a state change and has a 
custom Itemrenderer with an image, text fields and a background  image. The 
code is very simple:

mx:TileList direction = horizontal width = 166 height = 345 columnCount 
= 2 dataProvider = {favoritesList} itemRenderer = 
com.clickety.fe.gui.renderers.Thumbnail backgroundAlpha = 0.0 borderStyle = 
none/

Any help is appreciated and will help save my hair and sanity.



[flexcoders] Having problems iterating ResultSet returned to Flex via Blaze

2009-07-15 Thread tim...@ymail.com
I'm currently returning a SQL ResultSet from my Java class via Blaze to Flex 
and I'm trying to figure out how to bind for example a datagrid directly to the 
ResultSet object in Flex or iterate through it and then bind to the result.

If anybody could point me in the right direction I'd greatly appreciate it!  
Thx, Tim.



[flexcoders] Re: Possible to create a chart with clustered overlaid columns? (picture inside)

2009-07-15 Thread sa3376
--- In flexcoders@yahoogroups.com, gmoniey22 gmonie...@... wrote:

 I haven't been able to find an example of this, or any indication in the docs 
 of how to do this, but I would imagine it is possible.
 
 I want to chart some data that is hierarchical. Essentially each parent has a 
 few children. I want the children to be clustered columns inside a big column 
 which indicates the parent (which is the sum of all the children)
 
 I found this example image which kinda shows what I am thinking of:
 http://peltiertech.com/images/2009-02/MariBar_OverlapColumns.png
 
 Thanks!


I'm impressed with what I've seen from  Tom Gonzalez/Axiis ... this
chart in particular:

http://www.axiis.org/examples/HClusterColumnExample.html



[flexcoders] Re: Possible to create a chart with clustered overlaid columns? (picture inside)

2009-07-15 Thread Tim Hoff

Very nice!

-TH

--- In flexcoders@yahoogroups.com, sa3376 sa3...@... wrote:

 --- In flexcoders@yahoogroups.com, gmoniey22 gmoniey22@ wrote:
 
  I haven't been able to find an example of this, or any indication in
the docs of how to do this, but I would imagine it is possible.
 
  I want to chart some data that is hierarchical. Essentially each
parent has a few children. I want the children to be clustered columns
inside a big column which indicates the parent (which is the sum of all
the children)
 
  I found this example image which kinda shows what I am thinking of:
  http://peltiertech.com/images/2009-02/MariBar_OverlapColumns.png
 
  Thanks!
 

 I'm impressed with what I've seen from Tom Gonzalez/Axiis ... this
 chart in particular:

 http://www.axiis.org/examples/HClusterColumnExample.html






[flexcoders] - FLVPlayback FullScreen Mode

2009-07-15 Thread Eduardo Dias
Hi Everyone,


I'm using the FLVPlayback in one of my projects and i'm having problems when
it enter in fullscreen mode. The problem is the video player don't fill the
whole screen on width, just in height. Have you guys passed through of
similar situation?


video:FLVPlayback id=flvPlayback
source=http://www.helpexamples.com/flash/video/caption_video.flv;
scaleMode=maintainAspectRatio
align=center
skinAutoHide=true
skinScaleMaximum=1.5
autoLayout=autoLayoutHandler(event)
/


Any help is welcome