[flexcoders] 3d mp3 Player in Flex

2007-04-13 Thread Mesh Luna
3D Mp3 player in Adobe Flex/Apollo as iTunes... Looks it and source in 
http://newpixel.ru/tmp/MyApplication.html

Waiting yours critics!!!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[flexcoders] Re: Noob Querystring questions

2007-04-13 Thread Chris Luebcke
Synchronicity: I was working on the exact same problem and stopped by
flexbuilders while waiting for a build/deploy. This is, needless to say,
much easier than the approach I was going down (which involved
ExternalInterface, etc).

On the Flex side, I wrote the following to parse and store the query
params in my main application:

public var queryParams : Object = new Object();

public function loadQueryParams() : void {
   var queryString : String =
Application.application.parameters["queryParams"];
   if (queryString && queryString != "") {
 var params : Array = queryString.split("&");
 for (var i : Number = 0; i < params.length; i++) {
   var param : Array = String(params[i]).split("=");
   queryParams[param[0]] = param[1];
 }
   }
   // Verify
   for (var s : String in queryParams) {
 trace("Parameter: " + s + "=" + queryParams[s]);
   }
}

Seems to work like a charm. It's bit verbose, but hey, that's me. Thanks
for the tip, Doug, et al!

- Chris

--- In [EMAIL PROTECTED], "Doug Lowder" <[EMAIL PROTECTED]> wrote:
>
> You can also use a bit of JavaScript code to simply pass whatever URL
> parameters have been specified for the HTML on to your SWF, if that's
> what you're after.  I usually edit the HTML template and include the
> following:
>
> // In the Globals area near the top
> var myvars = new String(document.location).split('?')[1];
>
> // the line in AC_FL_RunContent that specifies flashvars
> "flashvars",'historyUrl=history.htm%3F&lconid=' + lc_id + '&' +
> myvars,
>
>
> --- In [EMAIL PROTECTED], "Tracy Spratt" tspratt@ wrote:
> >
> > Nate, sorry it is not quite that easy.  You are passing a parameter
> to
> > an html file.  The html file has no way to see that arg and pass it
> to
> > the Player instance.
> >
> >
> >
> > This will work if you call the .swf directly, with the querystring
> > parameter.  Use Application.application.parameters.test.
> >
> >
> >
> > To do this in a production environment (if the parameters are
> dynamic)
> > you will need to have a server platform generate the html file.
> >
> >
> >
> > The easiest way to do this is to look at the generated html file
> that
> > FlexBuilder creates.  In the javascript call, you will need to add
> your
> > parameters to the "flashvars" line in AC_FL_RunContent(...  like:
> >
> > "flashvars",'historyUrl=history.htm%3F&lconid=' + lc_id
> + "&test=system"
> > + '',
> >
> >
> >
> > Of course you will have the server (asp, jsp...) output the actual
> value
> > you want for "system".
> >
> >
> >
> > Tracy
> >
> >
> >
> > 
> >
> > From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of Nate Pearson
> > Sent: Friday, April 13, 2007 6:19 PM
> > To: [EMAIL PROTECTED]
> > Subject: [flexcoders] Noob Querystring questions
> >
> >
> >
> > I'm trying to pass in variable via the URL.
> >
> > I have:
> > var QueryString:String = this.parameters.test
> >
> > http://myserver.com/myapp.html?test=systems
> > 
> >
> > I always get nullWhere is my problem?
> >
> > (I have also tried Application.application.parameters.test)
> >
>



[flexcoders] Re: PDF Preview

2007-04-13 Thread billy_d_white
I've used the iFrame solution and it works surprisingly well. 
Basically you have to modify the html template to include with the
required javascript functions and then you use the IFrame mxml
component to display the PDF.  I just generate the PDF on the
serverside (using iText) and then display the results in the iFrame. 
It works great in both IE and Firefox.  The only problem I've come
across is that when I do not have enough information to generate a
PDF, I send back an HTML page with an error and sometimes that HTML
page does not show up correctly in Firefox. However, it could be
something I'm just doing wrong so I would say to give it is a shot
since the PDF displays correctly in both IE and Firefox.

-Bill
--- In [EMAIL PROTECTED], Kevin <[EMAIL PROTECTED]> wrote:
>
> I know this has been asked before, but I haven't seen many solutions  
> posted.
> 
> Is there a way to preview a PDF in Flex?  As far as I can tell there  
> are two possible options:
> 
> 1) Preview the PDF in an iFrame (Has anyone tried this? Does it work  
> cross platform?)
> 
> 2) Convert the PDF to SWF & load in Flex. (Is there existing server  
> code for this conversion? This seems rather processor intensive for  
> large PDF's)
> 
> I am still struggling with printable document creation using Flex.   
> Has anyone heard whether Adobe is interested in building a basic  
> Print Preview Component (similar to the Acrobat Reader Plugin) for  
> Flex?  Seems like this would be a valuable asset to the Flex community.
> 
> - Kevin
>




Re: [flexcoders] Re: Tree component that doesn't display all nodes?

2007-04-13 Thread hosey hosey

Excellent, works great.  Thank you.

Hosey

On 13 Apr 2007 05:38:14 -0700, Michael Schmalle <[EMAIL PROTECTED]>
wrote:


  Hi,

You could also write a custom dataDescriptor that subclasses
DefaultDataDescriptor.

In that class override the getChildren() method and only return the
children you want based on the nodes you want filtered.

Peace, Mike


On 12 Apr 2007 22:22:04 -0700, dorkie dork from dorktown <[EMAIL PROTECTED]
> wrote:
>
>   i see. what i would do is use a lazy loading mechanism. so you only
> display the top level branches. when the user opens a branch then you lazy
> load the child nodes. when the user opens the branch then you can get the
> node they opened and filter the node they opened of all the noshow nodes.
>
> // in the open node event
>
> var filteredNode:XML = myTree.selectedNode.myFilter;
> myTree.selectedNode = filteredNode;
>
> actually, i think there is a way to apply a filter on xmllist collection
> non destructively. i think maybe you could put your selected node into an
> xml list collection and then filter it. if this was AS2 i'd be able to help
> you more.
>
>
> On 12 Apr 2007 18:40:43 -0700, hosey hosey < [EMAIL PROTECTED]>
> wrote:
> >
> >   Thanks, I dont believe that can work.
> >
> > If the data is
> > 
> >
> >   
> >   
> >
> > 
> >
> > and I set the datasource=data.cb
> >
> > then the tree appears with hello and all of the following tags.
> >
> > if I set the datasource =data..cb
> > then I get an XMLlist of all of the tags I need , but the first of
> > which expands revealing the no show tag
> >
> > if I set the datasource=data.cb.(nodeName!="noShow").. the first of
> > which expands revealing the no show tag
> >
> >
> > Anyways I am looking into creating a filter function, but I think a
> > better way is to extned a renderer...but I dont know yet
> >
> > Thanks
> > Hosey
> >
>
>


--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.
 



[flexcoders] Flex 2 - Application Starter Toolkit

2007-04-13 Thread realeyes_jun
Hello,

I was talking with a fellow developer earlier in the day and he
mentioned this toolkit he used to use in the Flex 1.5 days.  It was
called FAST:

http://www.adobe.com/devnet/flex/articles/fast_userguide.html

I noticed that there was mention of a version of this for Flex 2:

http://ajax.sys-con.com/read/276226.htm

Anyone have the scoop on the Flex 2 version FAST2?

Thanks!






[flexcoders] Re: Firefox - FileReference.upload and HTTPService do not share sessions/cookies

2007-04-13 Thread iko_knyphausen

Yes, useful indeed. Thanks for posting it. It would have taken me a long
time to figure out why my firefox uploads failed ;-)  (the upload was
fine, just no session cookie)...

--- In [EMAIL PROTECTED], "pgp.coppens" <[EMAIL PROTECTED]>
wrote:
>
> Oh well, that turned out to be pretty messy
>
> First I got worried as the doc states
>
> The FileReference and FileReferenceList classes also do not provide
> methods for authentication. With servers that require authentication,
> you can download files with the Flash® Player browser plug-in, but
> uploading (on all players) and downloading (on the stand-alone or
> external player) fails.
> On this and other sites I did however find users that got it working.
> The trick (with Tomcat) is to "just" add the servlet's jsessionid
stored
> in the cookie also on the FileReference's url. One has a few choices
to
> get the sessionid into flex. In my case that was easy, because I am
> sending xml back and forth anyway I just added the sessionid to the
> reply the servlet sends when the login succeeds. The servlet request
has
> a getter to get hold of it (getRequestedSessionId)
>
> Whenever one wants to upload something, append the sessionid to the
> request url. Something like
>
> urlRequest=new URLRequest(_servletUrl + servicePath +
> ";jsessionid=" + _sessionId );
>
> Note the semicolon - this is not a url parameter.
>
> That first did not work in my case because Flex kept on sending some
> session cookie with the upload request and the server therefore
ignored
> the jsessionid on the url. Weirdly that cookie was not stored in the
> browser and no matter how hard I tried to clean up the browser's
> caches, it kept being there. Obviously (but not for me at 2am) it is
the
> flash/flex runtime that has its own session/cookie cache. Quitting the
> browser (and the flex runtime) is what finally got it going.
>
> All in all this is an ugly situation. It would help to document this
in
> the flex doc (assuming this is a "supported" approach) and browser
> consistency would have helped as wella first blow to my hopes of
> escaping cross browser problems by switching to flex/flash.
>
> Anyway, perhaps a next reader finds this useful.
>
> Peter
>
>
>
>
> --- In [EMAIL PROTECTED], "pgp.coppens" pc.subscriptions@
> wrote:
> >
> > Flex fans,
> >
> > I am struggling with the following scenario
> >
> > 1. Use an HTTPService POST to authenticate to a servlet backend
(works
> > fine)
> > 2. Use HTTPService requests to the same server and rely on previous
> > authentication (works fine)
> > 3. FileReference.upload with IE also picks up the same session
cookie
> > and thus uses the authenticated (and authorized) session. With
Firefox
> > or Opera however, a FileReference.upload request does not seem to
pick
> > up the same JSESSIONID cookie and therefore fails as it is not
> > authenticated/authorized.
> >
> > Does anyone know how to deal with this? How should one normally use
a
> > FileReference.upload to a servlet server that requires
authentication?
> >
> > Any help or guidance warmly welcomed!
> >
> > Peter
> >
>





[flexcoders] PDF Preview

2007-04-13 Thread Kevin
I know this has been asked before, but I haven't seen many solutions  
posted.

Is there a way to preview a PDF in Flex?  As far as I can tell there  
are two possible options:

1) Preview the PDF in an iFrame (Has anyone tried this? Does it work  
cross platform?)

2) Convert the PDF to SWF & load in Flex. (Is there existing server  
code for this conversion? This seems rather processor intensive for  
large PDF's)

I am still struggling with printable document creation using Flex.   
Has anyone heard whether Adobe is interested in building a basic  
Print Preview Component (similar to the Acrobat Reader Plugin) for  
Flex?  Seems like this would be a valuable asset to the Flex community.

- Kevin





[flexcoders] Re: Noob Querystring questions

2007-04-13 Thread Doug Lowder
You can also use a bit of JavaScript code to simply pass whatever URL 
parameters have been specified for the HTML on to your SWF, if that's 
what you're after.  I usually edit the HTML template and include the 
following:

// In the Globals area near the top
var myvars = new String(document.location).split('?')[1];

// the line in AC_FL_RunContent that specifies flashvars
"flashvars",'historyUrl=history.htm%3F&lconid=' + lc_id + '&' + 
myvars,


--- In [EMAIL PROTECTED], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Nate, sorry it is not quite that easy.  You are passing a parameter 
to
> an html file.  The html file has no way to see that arg and pass it 
to
> the Player instance.
> 
>  
> 
> This will work if you call the .swf directly, with the querystring
> parameter.  Use Application.application.parameters.test.
> 
>  
> 
> To do this in a production environment (if the parameters are 
dynamic)
> you will need to have a server platform generate the html file.
> 
>  
> 
> The easiest way to do this is to look at the generated html file 
that
> FlexBuilder creates.  In the javascript call, you will need to add 
your
> parameters to the "flashvars" line in AC_FL_RunContent(...  like:
> 
> "flashvars",'historyUrl=history.htm%3F&lconid=' + lc_id 
+ "&test=system"
> + '',
> 
>  
> 
> Of course you will have the server (asp, jsp...) output the actual 
value
> you want for "system".
> 
>  
> 
> Tracy
> 
>  
> 
> 
> 
> From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Nate Pearson
> Sent: Friday, April 13, 2007 6:19 PM
> To: [EMAIL PROTECTED]
> Subject: [flexcoders] Noob Querystring questions
> 
>  
> 
> I'm trying to pass in variable via the URL.
> 
> I have:
> var QueryString:String = this.parameters.test
> 
> http://myserver.com/myapp.html?test=systems
>  
> 
> I always get nullWhere is my problem?
> 
> (I have also tried Application.application.parameters.test)
>




[flexcoders] ASDoc on a Mac

2007-04-13 Thread Jesse Warden
Anyone ever get ASDoc to work on a Mac?

I'm having the same problem these dudes are having.

http://www.google.com/search?hl=en&safe=off&q=asdoc+Exception+in+thread+%22main%22+java.lang.NoClassDefFoundError%3A+Flex&btnG=Search


RE: [flexcoders] Noob Querystring questions

2007-04-13 Thread Tracy Spratt
Nate, sorry it is not quite that easy.  You are passing a parameter to
an html file.  The html file has no way to see that arg and pass it to
the Player instance.

 

This will work if you call the .swf directly, with the querystring
parameter.  Use Application.application.parameters.test.

 

To do this in a production environment (if the parameters are dynamic)
you will need to have a server platform generate the html file.

 

The easiest way to do this is to look at the generated html file that
FlexBuilder creates.  In the javascript call, you will need to add your
parameters to the "flashvars" line in AC_FL_RunContent(...  like:

"flashvars",'historyUrl=history.htm%3F&lconid=' + lc_id + "&test=system"
+ '',

 

Of course you will have the server (asp, jsp...) output the actual value
you want for "system".

 

Tracy

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Nate Pearson
Sent: Friday, April 13, 2007 6:19 PM
To: [EMAIL PROTECTED]
Subject: [flexcoders] Noob Querystring questions

 

I'm trying to pass in variable via the URL.

I have:
var QueryString:String = this.parameters.test

http://myserver.com/myapp.html?test=systems
 

I always get nullWhere is my problem?

(I have also tried Application.application.parameters.test)

 



RE: [flexcoders] To newbies...

2007-04-13 Thread Tracy Spratt
Start with www.flex.org  .

 

Tracy

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ed Capistrano
Sent: Friday, April 13, 2007 4:03 AM
To: [EMAIL PROTECTED]
Subject: [flexcoders] To newbies...

 

What can you say to the likes of me who came from
flash & just starting to grasp flex. Will I/we be
having a hard time in adapting/learning flex? Please
give any book titles or sites that best suite to
people like me.

Thanks,
-Ed
proud & a happy member

__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com   

 



RE: [flexcoders] Noob Querystring questions

2007-04-13 Thread Peter Farland
A SWF is loaded via a URL inside the HTML OBJECT / EMBED tag... so you'd
need to put the parameters on that URL, not the URL that loaded the
wrapper SWF?
 
 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Nate Pearson
Sent: Friday, April 13, 2007 6:19 PM
To: [EMAIL PROTECTED]
Subject: [flexcoders] Noob Querystring questions



I'm trying to pass in variable via the URL.

I have:
var QueryString:String = this.parameters.test

http://myserver.com/myapp.html?test=systems
 

I always get nullWhere is my problem?

(I have also tried Application.application.parameters.test)



 


[flexcoders] Noob Querystring questions

2007-04-13 Thread Nate Pearson
I'm trying to pass in variable via the URL.

I have:
var QueryString:String = this.parameters.test

http://myserver.com/myapp.html?test=systems

I always get nullWhere is my problem?

(I have also tried Application.application.parameters.test)



Re: [flexcoders] Is it possible to resize a Cursor dynamically?

2007-04-13 Thread Troy Gilbert

The cursor is basically treated as if its a DisplayObject, which in practice
means that its a Sprite, MovieClip, Bitmap or Shape. Most of the examples
I've seen use embedded assets, most often a bitmap. But it can be any class
that can sit on the display list.

Of course, you're not able to access your specific instance of the class as
the CursorManager creates it internally and its not exposed. So, you have to
be tricky. Either you create a class that's a monostate (all of the
instances of the class share a common state) or have your custom class
listen for some particularly events that you're able to get into the display
list and to your class. Personally, I'd go for the monostate (more
predictable).

You'll need to create a class that inherits from DisplayObject, Sprite would
be a good choice. In your class, I'd add a static member that stores the
current "size" or "scale". And in the ENTER_FRAME event, have your sprite
copy that value into the sprite's scaleX and scaleY members. Basically, it's
manual binding (you could probably do some more traditional binding as well,
but I'm assuming here that you'd probably be using ENTER_FRAME anyway for
some animation).

Pass off your custom cursor sprite class to the CursorManager to use...
internally, it will construct an instant as necessary (based on priority of
cursors, etc.). On your end, just modify the static state (scale) as
necessary. The result will be a cursor that resizes (because the
CursorManager's instance of the class is using the same static state that
you're manipulating).

If you're embedding an SWF, just embed it and use it inside of your custom
class (add it as a child, etc.). The display list is your friend! ;-)

Troy.



On 12 Apr 2007 08:48:19 -0700, Rick Schmitty <[EMAIL PROTECTED]> wrote:


  If I had a custom cursor, say a swf object, is it possible to size
that object or do you have to embed each size you'd like to have?

For example, say you had a drawing app with a brush stroke, and you
wanted the cursor to reflect the size of the brush (which the user can
adjust via slider bar)
 



[flexcoders] Re: Yahoo map API

2007-04-13 Thread jd_lingwai
Yep, sorry for the delayed reply.  This api isn't at the top of my
priority list but heres the link.
http://developer.yahoo.com/flash/as3_api_libraries.html#install



--- In [EMAIL PROTECTED], "mapper2255" <[EMAIL PROTECTED]> wrote:
>
> Unless you something more than this: 
> http://developer.yahoo.com/maps/flash/ which I just pulled down it 
> does appear that Yahoo is using 1.5. Do you have a link to Flex 2 API?
> 
> --- In [EMAIL PROTECTED], "jd_lingwai"  wrote:
> >
> > Nope thats the old one, Yahoo released a new API that should work 
> with
> > flex 2
> > 
> > --- In [EMAIL PROTECTED], franto  wrote:
> > >
> > > ok, i know, it's just for Flex 1.5 :)
> > >
> >
>




[flexcoders] how to link tables with CF/Flex App wizard?

2007-04-13 Thread bobklhr
I have 2 tables, orders and recipes. An Order can have multiple 
recipes. I can't figure out how to use the wizard to create a CRUD 
application that will link the 2 tables together.

For my last attempt I created a master and detail page for Orders 
and a master and detail page for recipes.

The docs say you can link a Master page to a detail page but that 
doesn't seem to be the case, the Wizard won't let you. But I can 
link the Recipe Master to the Orders Master (by drag and drop). Like 
this:

Orders Master
   |  |
   |  orders detail
   |
   Recipe master
  |
  recipe detail

That creates a 'Recipes' button on the Orders Master which opens the 
Recipe Master from where you can add a recipe. The problem is that 
the Recipe detail should be linked to the current order but doesn't 
appear to be linked to anything (I display the linking Order_id 
column).

is this possible or am I doing something wrong?

Thanks



[flexcoders] Italics in datagrid cell

2007-04-13 Thread tsiesser
Hi - I'm trying to display italics in a datagrid cell based on certain
row criteria. I've created a custom itemRenderer in AS3 that derives
from UIComponent and that contains a UITextField as a child. (This
might seem a little over-complex for what I'm describing, but I have
other use for doing it this way... :-))

I override commitProperties and do the following:

override protected function commitProperties():void
{
super.commitProperties();

textField.text = ... // get text value from data (works okay)

if (data && data is MyClass && MyClass(data).notAvailable)
{
textField.textColor = textField.getStyle("disabledColor");
textField.setStyle("fontStyle", "italic");
}
else
{
textField.textColor = textField.getStyle("color");
textField.setStyle("fontStyle", "normal");
}
}

The result is that I *do* get the disabled color when appropriate, but
I *don't* get the italics.

Does anyone have any idea what's going on? Thanks in advance for your
help!



[flexcoders] Re: Modal Windows - CPU Intensive?

2007-04-13 Thread scott_flex

Michael,

Not sure what you are doing and don't have a solution but i can say 
that i use modal popups loading from the PopupManger and i do not see 
this bahavior you are talking about.

I use them quite a bit and have never seen performance issue.

Could it be something in your code in the modal windows?  I would try 
in your app to just popup a blank panel control and see if that 
exhibits the same behavior...

--Scott

--- In [EMAIL PROTECTED], Michael Imhoff <[EMAIL PROTECTED]> wrote:
>
> Hi Everyone,
> 
>  
> 
> I've noticed that modal windows seem to be extremely processor 
intensive.
> The cpu spikes to 40 or 50 and stays there until the window has 
been closed.
> Has anyone experienced this and/or knows of a workaround?
> 
>  
> 
> Have a good day,
> 
> Michael
>




[flexcoders] Re: timezone and dateformatter

2007-04-13 Thread Doug Lowder
Sounds like some of our legacy tables, where someone decided to store 
dates as formatted varchar strings instead of something more 
appropriate like Date or Timestamp.  What a pain.

If you're forced to use the existing datetime column, I guess there 
isn't much you can do.  If not, maybe you could add a numeric column 
and store the dates as milliseconds since epoch.  That would make 
retrieving ( new Date(valFromDb) ) and sending ( myDate.getTime() ) 
pseudo-date values easier.

--- In [EMAIL PROTECTED], "Sam Shrefler" <[EMAIL PROTECTED]> 
wrote:
>
> I've also ran accross this, not so much a bug though.  It works 
properly in
> its use case.  The problem is, there are other use cases with 
timezones.
> Here is my scenario:
> 
> I work with a legacy database.  Unfortunately, all datetimes are 
saved into
> the database as UTC, but as the clients time zone.
> 
> So say someone in the EST -5 UTC and someone at PST -8 UTC both 
saved at the
> same moment in time (5am EST).  The database would have saved the 
dates as
> following:
> 
> EST - 05:00
> PST - 02:00
> 
> I can't change the behavior due to only being one piece in the 
grand scheme
> of the application.  The problem is, the databse doesnt' know what 
timezone
> these are.  The system was designed to just show that datetime to 
the user
> if they ask for it.  Flash/Flex always converts AMF Dates to the 
local
> timezone.  I've asked for a way to hook into that deserialization, 
but I
> haven't gotten a response.
> 
> Therefore, I massage every date I receive and every date I send 
using the
> following...
> 
> *
> 
> public* *static* *function* getUTCDate(myDate:Date):Date
> 
> {
> 
> *if* (myDate == *null*)
> 
> *return* *null*;
> 
> *else
> *
> 
> *return* *new* Date(myDate.fullYearUTC, myDate.monthUTC, 
myDate.dateUTC,
> myDate.hoursUTC, myDate.minutesUTC, myDate.secondsUTC,
> myDate.millisecondsUTC);
> 
> }
> 
> *public* *static* *function* sendUTCDate(myDate:Date):Date
> 
> {
> 
> *if* (myDate == *null*)
> 
> *return* *null*;
> 
> *else
> *
> 
> {
> 
> *var* sDate:Date = *new* Date(Date.UTC(myDate.fullYear, 
myDate.month,
> myDate.date, myDate.hours, myDate.minutes, myDate.seconds,
> myDate.milliseconds));
> 
> *return* sDate;
> 
> }
> 
> }
> 
> Hope this helps, but I hope even more there is a better solution out
> there
> 
> Sam
> 
> 
> 
> On 13 Apr 2007 12:23:01 -0700, Douglas Knudsen <[EMAIL PROTECTED]>
> wrote:
> >
> >   nope.  I can't find any mention of this anywhere.  Might be 
known to
> > some flash pros, but a flash pro I am not.  I suppose this is 
only a issue
> > if you want times always displayed based on a fixed timezone 
regardless of
> > where the user is.  I have not confirmed this behavior using 
coldfusion on
> > the back end, just Java.
> >
> > In our case, we are able to code around this by using rationals 
instead of
> > date fields, a soon to be used fix.  We just need a start time 
and end time
> > between 6am to 10pm and have a separate field with only the 
date.  so we can
> > refactor to use some rational between 6 and 22.
> >
> >
> >
> > DK
> >
> > On 13 Apr 2007 12:05:00 -0700, Doug Lowder <[EMAIL PROTECTED]> wrote:
> > >
> > >   Weird. Do you have any confirmation this is a bug in the 
Player?
> > >
> > > --- In [EMAIL PROTECTED] ,
> > > "Douglas Knudsen"
> > >  wrote:
> > > >
> > > > yes, but for some reason we see a difference for these AZ 
users.
> > > Their
> > > > windows clock is correct, but the offset is off a hour in FP 
during
> > > DST.
> > > >
> > > > DK
> > > >
> > > > On 13 Apr 2007 11:42:41 -0700, Doug Lowder  
wrote:
> > > > >
> > > > > I thought the Player got the timezone from the underlying 
OS.
> > > > >
> > > > > --- In [EMAIL PROTECTED]  > > 40yahoogroups.com>, "Douglas
> > >
> > > > > Knudsen"
> > > > >  wrote:
> > > > > >
> > > > > > yes, we had big issues with a app in Flex 1.5 and now 2.0
> > > because
> > > > > of this.
> > > > > > We coded around it by massaging the dates in AS with the 
clients
> > > > > timezone
> > > > > > offset. Works well, except for those folks living in 
Arizona.
> > > For
> > > > > some
> > > > > > reason the Flash Player does NOT pick up their offset 
correctly.
> > > > > Outside of
> > > > > > the Navajo Nation, Arizona does not follow day light 
savings,
> > > yet
> > > > > the Flash
> > > > > > player seems to think they do.
> > > > > >
> > > > > > DK
> > > > > >
> > > > > > On 13 Apr 2007 10:52:07 -0700, Dimitrios Gianninas <
> > > > > > dimitrios.gianninas@> wrote:
> > > > > > >
> > > > > > > Just wondering if anyone experienced this, but we have 
a VO
> > > > > coming from
> > > > > > > Java that contains a date field. Well I format the 
field using
> > > > > the coe
> > > > > > > below:
> > > > > > >
> > > > > > > 
> > > > > > >
> > > > > > > *
> > > > > > >
> > > > > > > private
> > > > > > > * *function* displayLastBillingDate( item:Object,
> > > > > column:DataGridColumn
> > > > > > > ):String {
> > > > > > >
> > > > > > > * return* df.format( it

[flexcoders] Modal Windows - CPU Intensive?

2007-04-13 Thread Michael Imhoff
Hi Everyone,

 

I've noticed that modal windows seem to be extremely processor intensive.
The cpu spikes to 40 or 50 and stays there until the window has been closed.
Has anyone experienced this and/or knows of a workaround?

 

Have a good day,

Michael

 



[flexcoders] Re: denying GETs on .NET WSDL web service file...

2007-04-13 Thread scott_flex

tried it, instead of calling the .loadWsdl() method, i just set the 
wsdl property so it at least know where the service exists, also set 
the endpoint to my asmx file, which is the web service.

Doesn't work.

--Scott

--- In [EMAIL PROTECTED], "Daniel Freiman" <[EMAIL PROTECTED]> 
wrote:
>
> double check to make sure you actually have to load the wsdl.  It's 
possible
> that you can just call the functions and hope you're hitting a 
function that
> exists.  Unfortunately I don't have time to test this (possibly 
crackpot)
> theory right now.
> 
> - Daniel Freiman
> nondocs? 
> 
> On 13 Apr 2007 06:26:25 -0700, scott_flex <[EMAIL PROTECTED]> wrote:
> >
> >
> > Tom,
> >
> > Well, http://www.fiddler2.com/fiddler2 says it supports SSL but it
> > also seems to get in the way and cause trust issues for IE when
> > capturing traffic... didn't work to well with FireFox either... 
It's
> > in a beta state, oh well. I'll look for another free http tool.
> >
> > Anyway, i guess i'll just have to expose my wsdl files, was 
hoping to
> > get an easy hit by just hiding them.
> >
> > I'll keep looking, maybe i'm missing something easy, as usual. I'm
> > no web service security expert, so maybe the route i'm going isn't
> > that great anyway.
> >
> > --Scott
> >
> > --- In [EMAIL PROTECTED] , 
Tom
> > Chiverton 
> > wrote:
> > >
> > > On Thursday 12 Apr 2007, scott_flex wrote:
> > > > Not sure what other http network tools anyone uses, but i'll 
be
> > > > testing this with Fiddler, a MS http debugging tool.
> > >
> > > Does it intercept SSL ?
> > >
> > > --
> > > Tom Chiverton
> > > Helping to continually harness professional models
> > > on: http://thefalken.livejournal.com
> > >
> > > 
> > >
> > > 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 St James's Court Brown Street Manchester M2
> > 2JF. A list of members is available for inspection at the 
registered
> > office. Any reference to a partner in relation to Halliwells LLP
> > means a member of Halliwells LLP. Regulated by the Law Society.
> > >
> > > 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 8008.
> > >
> > > For more information about Halliwells LLP visit 
www.halliwells.com.
> > >
> >
> >  
> >
>




Re: [flexcoders] simple question backgroundColor

2007-04-13 Thread Clint Tredway

[0xFF,0x00]

On 13 Apr 2007 13:16:29 -0700, Patrick Lemiuex <[EMAIL PROTECTED]> wrote:


  I am trying to change the backGroundColor of my app... how do i put
in an array for a gradient, i simply forget the syntax? Sorry for
the dumb question.

THanks,
Patrick
 





--
I am not a diabetic, I have diabetes
my blog - http://grumpee.instantspot.com/blog


Re: [flexcoders] simple question backgroundColor

2007-04-13 Thread Michael Schmalle

   backgroundGradientColors="[#53A1DE,#A2CCEE]"
   backgroundColor="#FF"

Peace, Mike

On 13 Apr 2007 13:16:29 -0700, Patrick Lemiuex <[EMAIL PROTECTED]> wrote:


  I am trying to change the backGroundColor of my app... how do i put
in an array for a gradient, i simply forget the syntax? Sorry for
the dumb question.

THanks,
Patrick
 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


[flexcoders] simple question backgroundColor

2007-04-13 Thread Patrick Lemiuex
I am trying to change the backGroundColor of my app... how do i put  
in an array for a gradient, i simply forget the syntax?  Sorry for  
the dumb question.

THanks,
Patrick


Re: [flexcoders] Re: denying GETs on .NET WSDL web service file...

2007-04-13 Thread Daniel Freiman

double check to make sure you actually have to load the wsdl.  It's possible
that you can just call the functions and hope you're hitting a function that
exists.  Unfortunately I don't have time to test this (possibly crackpot)
theory right now.

- Daniel Freiman
nondocs? 

On 13 Apr 2007 06:26:25 -0700, scott_flex <[EMAIL PROTECTED]> wrote:



Tom,

Well, http://www.fiddler2.com/fiddler2 says it supports SSL but it
also seems to get in the way and cause trust issues for IE when
capturing traffic... didn't work to well with FireFox either... It's
in a beta state, oh well. I'll look for another free http tool.

Anyway, i guess i'll just have to expose my wsdl files, was hoping to
get an easy hit by just hiding them.

I'll keep looking, maybe i'm missing something easy, as usual. I'm
no web service security expert, so maybe the route i'm going isn't
that great anyway.

--Scott

--- In [EMAIL PROTECTED] , Tom
Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Thursday 12 Apr 2007, scott_flex wrote:
> > Not sure what other http network tools anyone uses, but i'll be
> > testing this with Fiddler, a MS http debugging tool.
>
> Does it intercept SSL ?
>
> --
> Tom Chiverton
> Helping to continually harness professional models
> on: http://thefalken.livejournal.com
>
> 
>
> 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 St James's Court Brown Street Manchester M2
2JF. A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP
means a member of Halliwells LLP. Regulated by the Law Society.
>
> 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 8008.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>

 



RE: [flexcoders] FDS

2007-04-13 Thread Jeff Vroom
I'm also curious if anyone finds the behavior of the Data Management
awkward.   In the current model, there is only one visible
representation of each managed item on the client.  It is "the" managed
instance of that object.  It tracks both uncommitted changes on the
client as well as changes made to that object on the server (if you have
sync mode enabled).  When you commit these changes, they are applied to
the server.  If that transaction fails, an error is reported.  The
changes are not automatically reverted at this point - they are just
moved back into the uncommitted list.  You probably are explicitly
calling "revertChanges" to undo the problematic changes.

 

When you call "createItem", it queues a change to create this item which
is sent to the server only when you commit.  When that changes is
committed, you can auto-refresh any collections that might include that
item.  Those queries are updated automatically to include that item and
at that point those changes are pushed back to client so the newly
create item may appear in managed collections.  This is why it seems
like DM does not track changes until you commit... only the server knows
which collections that item belongs in.

 

If the client programmer knows which collections this item belongs in,
you can put them in there locally on the client simply by adding them to
the managed array collection.  After the commit, this change is sync'd
with where the server thinks that item actually belongs (i.e. if the
server does not want that item there, it will revert the change you made
on the client, if it agrees, no change is made).

 

I think for most use cases, this creates a pretty manageable way to deal
with your data on the client.  If you want to make a copy so you can
isolate changes, you can use the ObjectUtil.copy utility to create a
copy of that object but you do still have to apply these changes to the
managed instance before you commit.  

 

It would not be that hard to add a new mode so that changes you make are
placed into a separate copy of the managed instance until you commit
successfully.  Let's say you had a form to edit an item, and another
control displaying the current version of the database copy of that
item.  This mode would allow that view to remain displaying the current
version in the database until it commits successfully.

 

 It sounds like this is the kind of approach you are looking for?   Does
anyone else think that would be useful?

 

Jeff

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of fermartel
Sent: Friday, April 13, 2007 10:56 AM
To: [EMAIL PROTECTED]
Subject: [flexcoders] FDS

 

There is something about FDS which has always seemed a bit ackward to
me.
This is the fact that one must first make changes to the FDS managed
collection to be able to commit these changes. This in itself is
fine, but this means that if I have a grid which displays the managed
collection, the user must first modify this data and commit the
changes to then see the changes revert back to the original values if
the transaction failed. (This does not hold true for createItem(),
because for some reason yet unknown to me, when one calls this method,
it does not reflect on the managed collection...any ideas as to why?).

So the user sees the data displayed change, but on error, it sees it
change back. To me, it would seem more logical to see the data
displayed change only if the transaction was succesful. Maybe this is
because I am used to RemoteObject, which calls the service, and on
"result" is where one does the actual modification to the data
displayed, not before.

Does anyone else find this as a strange flow of events? Or are there
any ways around this? 

One could make a temporary managed collection with the same exact data
as the displayed collection, and make changes to this collection,
commit them, and if successful, then make the same changes to the
displayed collection. This way the user would only see the data
displayed change if the commit was successful. But this seems much
more trouble than its worth.

Any ideas or suggestions would be appreciated.

Thank you!

 



Re: [flexcoders] Re: timezone and dateformatter

2007-04-13 Thread Sam Shrefler

I've also ran accross this, not so much a bug though.  It works properly in
its use case.  The problem is, there are other use cases with timezones.
Here is my scenario:

I work with a legacy database.  Unfortunately, all datetimes are saved into
the database as UTC, but as the clients time zone.

So say someone in the EST -5 UTC and someone at PST -8 UTC both saved at the
same moment in time (5am EST).  The database would have saved the dates as
following:

EST - 05:00
PST - 02:00

I can't change the behavior due to only being one piece in the grand scheme
of the application.  The problem is, the databse doesnt' know what timezone
these are.  The system was designed to just show that datetime to the user
if they ask for it.  Flash/Flex always converts AMF Dates to the local
timezone.  I've asked for a way to hook into that deserialization, but I
haven't gotten a response.

Therefore, I massage every date I receive and every date I send using the
following...

*

public* *static* *function* getUTCDate(myDate:Date):Date

{

*if* (myDate == *null*)

*return* *null*;

*else
*

*return* *new* Date(myDate.fullYearUTC, myDate.monthUTC, myDate.dateUTC,
myDate.hoursUTC, myDate.minutesUTC, myDate.secondsUTC,
myDate.millisecondsUTC);

}

*public* *static* *function* sendUTCDate(myDate:Date):Date

{

*if* (myDate == *null*)

*return* *null*;

*else
*

{

*var* sDate:Date = *new* Date(Date.UTC(myDate.fullYear, myDate.month,
myDate.date, myDate.hours, myDate.minutes, myDate.seconds,
myDate.milliseconds));

*return* sDate;

}

}

Hope this helps, but I hope even more there is a better solution out
there

Sam



On 13 Apr 2007 12:23:01 -0700, Douglas Knudsen <[EMAIL PROTECTED]>
wrote:


  nope.  I can't find any mention of this anywhere.  Might be known to
some flash pros, but a flash pro I am not.  I suppose this is only a issue
if you want times always displayed based on a fixed timezone regardless of
where the user is.  I have not confirmed this behavior using coldfusion on
the back end, just Java.

In our case, we are able to code around this by using rationals instead of
date fields, a soon to be used fix.  We just need a start time and end time
between 6am to 10pm and have a separate field with only the date.  so we can
refactor to use some rational between 6 and 22.



DK

On 13 Apr 2007 12:05:00 -0700, Doug Lowder <[EMAIL PROTECTED]> wrote:
>
>   Weird. Do you have any confirmation this is a bug in the Player?
>
> --- In [EMAIL PROTECTED] ,
> "Douglas Knudsen"
> <[EMAIL PROTECTED]> wrote:
> >
> > yes, but for some reason we see a difference for these AZ users.
> Their
> > windows clock is correct, but the offset is off a hour in FP during
> DST.
> >
> > DK
> >
> > On 13 Apr 2007 11:42:41 -0700, Doug Lowder <[EMAIL PROTECTED]> wrote:
> > >
> > > I thought the Player got the timezone from the underlying OS.
> > >
> > > --- In [EMAIL PROTECTED]  40yahoogroups.com>, "Douglas
>
> > > Knudsen"
> > >  wrote:
> > > >
> > > > yes, we had big issues with a app in Flex 1.5 and now 2.0
> because
> > > of this.
> > > > We coded around it by massaging the dates in AS with the clients
> > > timezone
> > > > offset. Works well, except for those folks living in Arizona.
> For
> > > some
> > > > reason the Flash Player does NOT pick up their offset correctly.
> > > Outside of
> > > > the Navajo Nation, Arizona does not follow day light savings,
> yet
> > > the Flash
> > > > player seems to think they do.
> > > >
> > > > DK
> > > >
> > > > On 13 Apr 2007 10:52:07 -0700, Dimitrios Gianninas <
> > > > dimitrios.gianninas@> wrote:
> > > > >
> > > > > Just wondering if anyone experienced this, but we have a VO
> > > coming from
> > > > > Java that contains a date field. Well I format the field using
> > > the coe
> > > > > below:
> > > > >
> > > > > 
> > > > >
> > > > > *
> > > > >
> > > > > private
> > > > > * *function* displayLastBillingDate( item:Object,
> > > column:DataGridColumn
> > > > > ):String {
> > > > >
> > > > > * return* df.format( item.lastBillingDate );
> > > > >
> > > > > }
> > > > >
> > > > > And what happens is that this code works almost to well. It
> takes
> > > into
> > > > > account the end-users PC timezone! So the date coming back
> from
> > > the server
> > > > > is 2007-05-01 00:00:00, so for someone in EST it shows
> properly as
> > > > > 2007-05-01 (cause we are in EST) but for someone in CST is
> shows
> > > > > 2007-04-30... anything we can do about this? How do I get the
> end-
> > > user
> > > > > timezone setting ?
> > > > > *Dimitrios Gianninas*
> > > > > *Developer*
> > > > > *Optimal Payments Inc.*
> > > > >
> > > > >
> > > > > *AVIS IMPORTANT*
> > > > >
> > > > > *WARNING*
> > > > >
> > > > > Ce message électronique et ses pièces jointes peuvent
> contenir des
> > > > > renseignements confidentiels, exclusifs ou légalement
> privilégiés
> > > destinés
> > > > > au seul usage du destinataire visé. L'expéditeur original ne
> > > renonce à aucun
> > > > > privilège ou à aucun autre droit si le p

Re: [flexcoders] SQL query with OR clause

2007-04-13 Thread Greg Morphis
the correct format for a where 'or' clause is
where id = '6' or id = '8' or id = '10'
you can't do
where id = '6' or '8' or '10'

not sure what DB you're using but you might want to try
where id in ('6','8','10')

something like that



On 4/13/07, alehrens <[EMAIL PROTECTED]> wrote:
> I'm using HTTPService to do a sql query and it works nicely.  But,
> I've not hit a point where I want the query to be a little more complex.
>
> I want to send this query...
>
> select capacity from capTable where id = ('6' or '8' or '10')
>
> Here's the code I'm currently using
>
>  url="http://localhost:80/QueryDatabase/"; method="GET"
> fault="Alert.show(event.fault.message, 'Error')"
> result="handleDBQuery(event)">
>   
> 
> capacity
> 
> 
> capTable
> 
> 
> id
> 
> 
> {ids}
> 
>   
> 
>
> ids is a bindable variable that is set to ('6' or '8' or '10')
>
> When setting ids to just one value, like ('6'), the query works fine.
>  But, when using the multiple IDs, my NewDataSet return value is NULL.
>
> Please help?
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>


Re: [flexcoders] Re: timezone and dateformatter

2007-04-13 Thread Douglas Knudsen

nope.  I can't find any mention of this anywhere.  Might be known to some
flash pros, but a flash pro I am not.  I suppose this is only a issue if you
want times always displayed based on a fixed timezone regardless of where
the user is.  I have not confirmed this behavior using coldfusion on the
back end, just Java.

In our case, we are able to code around this by using rationals instead of
date fields, a soon to be used fix.  We just need a start time and end time
between 6am to 10pm and have a separate field with only the date.  so we can
refactor to use some rational between 6 and 22.



DK

On 13 Apr 2007 12:05:00 -0700, Doug Lowder <[EMAIL PROTECTED]> wrote:


  Weird. Do you have any confirmation this is a bug in the Player?

--- In [EMAIL PROTECTED] , "Douglas
Knudsen"
<[EMAIL PROTECTED]> wrote:
>
> yes, but for some reason we see a difference for these AZ users.
Their
> windows clock is correct, but the offset is off a hour in FP during
DST.
>
> DK
>
> On 13 Apr 2007 11:42:41 -0700, Doug Lowder <[EMAIL PROTECTED]> wrote:
> >
> > I thought the Player got the timezone from the underlying OS.
> >
> > --- In [EMAIL PROTECTED] , "Douglas

> > Knudsen"
> >  wrote:
> > >
> > > yes, we had big issues with a app in Flex 1.5 and now 2.0
because
> > of this.
> > > We coded around it by massaging the dates in AS with the clients
> > timezone
> > > offset. Works well, except for those folks living in Arizona.
For
> > some
> > > reason the Flash Player does NOT pick up their offset correctly.
> > Outside of
> > > the Navajo Nation, Arizona does not follow day light savings,
yet
> > the Flash
> > > player seems to think they do.
> > >
> > > DK
> > >
> > > On 13 Apr 2007 10:52:07 -0700, Dimitrios Gianninas <
> > > dimitrios.gianninas@> wrote:
> > > >
> > > > Just wondering if anyone experienced this, but we have a VO
> > coming from
> > > > Java that contains a date field. Well I format the field using
> > the coe
> > > > below:
> > > >
> > > > 
> > > >
> > > > *
> > > >
> > > > private
> > > > * *function* displayLastBillingDate( item:Object,
> > column:DataGridColumn
> > > > ):String {
> > > >
> > > > * return* df.format( item.lastBillingDate );
> > > >
> > > > }
> > > >
> > > > And what happens is that this code works almost to well. It
takes
> > into
> > > > account the end-users PC timezone! So the date coming back
from
> > the server
> > > > is 2007-05-01 00:00:00, so for someone in EST it shows
properly as
> > > > 2007-05-01 (cause we are in EST) but for someone in CST is
shows
> > > > 2007-04-30... anything we can do about this? How do I get the
end-
> > user
> > > > timezone setting ?
> > > > *Dimitrios Gianninas*
> > > > *Developer*
> > > > *Optimal Payments Inc.*
> > > >
> > > >
> > > > *AVIS IMPORTANT*
> > > >
> > > > *WARNING*
> > > >
> > > > Ce message électronique et ses pièces jointes peuvent
contenir des
> > > > renseignements confidentiels, exclusifs ou légalement
privilégiés
> > destinés
> > > > au seul usage du destinataire visé. L'expéditeur original ne
> > renonce à aucun
> > > > privilège ou à aucun autre droit si le présent message a été
> > transmis
> > > > involontairement ou s'il est retransmis sans son
autorisation. Si
> > vous
> > > > n'êtes pas le destinataire visé du présent message ou si vous
> > l'avez reçu
> > > > par erreur, veuillez cesser immédiatement de le lire et le
> > supprimer, ainsi
> > > > que toutes ses pièces jointes, de votre système. La lecture,
la
> > > > distribution, la copie ou tout autre usage du présent message
ou
> > de ses
> > > > pièces jointes par des personnes autres que le destinataire
visé
> > ne sont pas
> > > > autorisés et pourraient être illégaux. Si vous avez reçu ce
> > courrier
> > > > électronique par erreur, veuillez en aviser l'expéditeur.
> > > >
> > > > This electronic message and its attachments may contain
> > confidential,
> > > > proprietary or legally privileged information, which is solely
> > for the use
> > > > of the intended recipient. No privilege or other rights are
> > waived by any
> > > > unintended transmission or unauthorized retransmission of this
> > message. If
> > > > you are not the intended recipient of this message, or if you
> > have received
> > > > it in error, you should immediately stop reading this message
and
> > delete it
> > > > and all attachments from your system. The reading,
distribution,
> > copying or
> > > > other use of this message or its attachments by unintended
> > recipients is
> > > > unauthorized and may be unlawful. If you have received this e-
> > mail in error,
> > > > please notify the sender.
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > Douglas Knudsen
> > > http://www.cubicleman.com
> > > this is my signature, like it?
> > >
> >
> >
> >
>
>
>
> --
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>

 





--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


[flexcoders] Re: timezone and dateformatter

2007-04-13 Thread Doug Lowder
Weird.  Do you have any confirmation this is a bug in the Player?

--- In [EMAIL PROTECTED], "Douglas Knudsen" 
<[EMAIL PROTECTED]> wrote:
>
> yes, but for some reason we see a difference for these AZ users.  
Their
> windows clock is correct, but the offset is off a hour in FP during 
DST.
> 
> DK
> 
> On 13 Apr 2007 11:42:41 -0700, Doug Lowder <[EMAIL PROTECTED]> wrote:
> >
> >   I thought the Player got the timezone from the underlying OS.
> >
> > --- In [EMAIL PROTECTED] , "Douglas
> > Knudsen"
> >  wrote:
> > >
> > > yes, we had big issues with a app in Flex 1.5 and now 2.0 
because
> > of this.
> > > We coded around it by massaging the dates in AS with the clients
> > timezone
> > > offset. Works well, except for those folks living in Arizona. 
For
> > some
> > > reason the Flash Player does NOT pick up their offset correctly.
> > Outside of
> > > the Navajo Nation, Arizona does not follow day light savings, 
yet
> > the Flash
> > > player seems to think they do.
> > >
> > > DK
> > >
> > > On 13 Apr 2007 10:52:07 -0700, Dimitrios Gianninas <
> > > dimitrios.gianninas@> wrote:
> > > >
> > > > Just wondering if anyone experienced this, but we have a VO
> > coming from
> > > > Java that contains a date field. Well I format the field using
> > the coe
> > > > below:
> > > >
> > > > 
> > > >
> > > > *
> > > >
> > > > private
> > > > * *function* displayLastBillingDate( item:Object,
> > column:DataGridColumn
> > > > ):String {
> > > >
> > > > * return* df.format( item.lastBillingDate );
> > > >
> > > > }
> > > >
> > > > And what happens is that this code works almost to well. It 
takes
> > into
> > > > account the end-users PC timezone! So the date coming back 
from
> > the server
> > > > is 2007-05-01 00:00:00, so for someone in EST it shows 
properly as
> > > > 2007-05-01 (cause we are in EST) but for someone in CST is 
shows
> > > > 2007-04-30... anything we can do about this? How do I get the 
end-
> > user
> > > > timezone setting ?
> > > > *Dimitrios Gianninas*
> > > > *Developer*
> > > > *Optimal Payments Inc.*
> > > >
> > > >
> > > > *AVIS IMPORTANT*
> > > >
> > > > *WARNING*
> > > >
> > > > Ce message électronique et ses pièces jointes peuvent 
contenir des
> > > > renseignements confidentiels, exclusifs ou légalement 
privilégiés
> > destinés
> > > > au seul usage du destinataire visé. L'expéditeur original ne
> > renonce à aucun
> > > > privilège ou à aucun autre droit si le présent message a été
> > transmis
> > > > involontairement ou s'il est retransmis sans son 
autorisation. Si
> > vous
> > > > n'êtes pas le destinataire visé du présent message ou si vous
> > l'avez reçu
> > > > par erreur, veuillez cesser immédiatement de le lire et le
> > supprimer, ainsi
> > > > que toutes ses pièces jointes, de votre système. La lecture, 
la
> > > > distribution, la copie ou tout autre usage du présent message 
ou
> > de ses
> > > > pièces jointes par des personnes autres que le destinataire 
visé
> > ne sont pas
> > > > autorisés et pourraient être illégaux. Si vous avez reçu ce
> > courrier
> > > > électronique par erreur, veuillez en aviser l'expéditeur.
> > > >
> > > > This electronic message and its attachments may contain
> > confidential,
> > > > proprietary or legally privileged information, which is solely
> > for the use
> > > > of the intended recipient. No privilege or other rights are
> > waived by any
> > > > unintended transmission or unauthorized retransmission of this
> > message. If
> > > > you are not the intended recipient of this message, or if you
> > have received
> > > > it in error, you should immediately stop reading this message 
and
> > delete it
> > > > and all attachments from your system. The reading, 
distribution,
> > copying or
> > > > other use of this message or its attachments by unintended
> > recipients is
> > > > unauthorized and may be unlawful. If you have received this e-
> > mail in error,
> > > > please notify the sender.
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > Douglas Knudsen
> > > http://www.cubicleman.com
> > > this is my signature, like it?
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>




Re: [flexcoders] timezone and dateformatter

2007-04-13 Thread Douglas Knudsen

yes, we had big issues with a app in Flex 1.5 and now 2.0 because of this.
We coded around it by massaging the dates in AS with the clients timezone
offset.  Works well, except for those folks living in Arizona.  For some
reason the Flash Player does NOT pick up their offset correctly.  Outside of
the Navajo Nation, Arizona does not follow day light savings, yet the Flash
player seems to think they do.

DK

On 13 Apr 2007 10:52:07 -0700, Dimitrios Gianninas <
[EMAIL PROTECTED]> wrote:


   Just wondering if anyone experienced this, but we have a VO coming from
Java that contains a date field. Well I format the field using the coe
below:



*

private
* *function* displayLastBillingDate( item:Object, column:DataGridColumn
):String {

*  return* df.format( item.lastBillingDate );

}

And what happens is that this code works almost to well. It takes into
account the end-users PC timezone! So the date coming back from the server
is 2007-05-01 00:00:00, so for someone in EST it shows properly as
2007-05-01 (cause we are in EST) but for someone in CST is shows
2007-04-30... anything we can do about this? How do I get the end-user
timezone setting ?
*Dimitrios Gianninas*
*Developer*
*Optimal Payments Inc.*


*AVIS IMPORTANT*

*WARNING*

Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement privilégiés destinés
au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun
privilège ou à aucun autre droit si le présent message a été transmis
involontairement ou s'il est retransmis sans son autorisation. Si vous
n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi
que toutes ses pièces jointes, de votre système. La lecture, la
distribution, la copie ou tout autre usage du présent message ou de ses
pièces jointes par des personnes autres que le destinataire visé ne sont pas
autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
électronique par erreur, veuillez en aviser l'expéditeur.

This electronic message and its attachments may contain confidential,
proprietary or legally privileged information, which is solely for the use
of the intended recipient. No privilege or other rights are waived by any
unintended transmission or unauthorized retransmission of this message. If
you are not the intended recipient of this message, or if you have received
it in error, you should immediately stop reading this message and delete it
and all attachments from your system. The reading, distribution, copying or
other use of this message or its attachments by unintended recipients is
unauthorized and may be unlawful. If you have received this e-mail in error,
please notify the sender.
  





--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


Re: [flexcoders] Re: timezone and dateformatter

2007-04-13 Thread Douglas Knudsen

yes, but for some reason we see a difference for these AZ users.  Their
windows clock is correct, but the offset is off a hour in FP during DST.

DK

On 13 Apr 2007 11:42:41 -0700, Doug Lowder <[EMAIL PROTECTED]> wrote:


  I thought the Player got the timezone from the underlying OS.

--- In [EMAIL PROTECTED] , "Douglas
Knudsen"
<[EMAIL PROTECTED]> wrote:
>
> yes, we had big issues with a app in Flex 1.5 and now 2.0 because
of this.
> We coded around it by massaging the dates in AS with the clients
timezone
> offset. Works well, except for those folks living in Arizona. For
some
> reason the Flash Player does NOT pick up their offset correctly.
Outside of
> the Navajo Nation, Arizona does not follow day light savings, yet
the Flash
> player seems to think they do.
>
> DK
>
> On 13 Apr 2007 10:52:07 -0700, Dimitrios Gianninas <
> [EMAIL PROTECTED]> wrote:
> >
> > Just wondering if anyone experienced this, but we have a VO
coming from
> > Java that contains a date field. Well I format the field using
the coe
> > below:
> >
> > 
> >
> > *
> >
> > private
> > * *function* displayLastBillingDate( item:Object,
column:DataGridColumn
> > ):String {
> >
> > * return* df.format( item.lastBillingDate );
> >
> > }
> >
> > And what happens is that this code works almost to well. It takes
into
> > account the end-users PC timezone! So the date coming back from
the server
> > is 2007-05-01 00:00:00, so for someone in EST it shows properly as
> > 2007-05-01 (cause we are in EST) but for someone in CST is shows
> > 2007-04-30... anything we can do about this? How do I get the end-
user
> > timezone setting ?
> > *Dimitrios Gianninas*
> > *Developer*
> > *Optimal Payments Inc.*
> >
> >
> > *AVIS IMPORTANT*
> >
> > *WARNING*
> >
> > Ce message électronique et ses pièces jointes peuvent contenir des
> > renseignements confidentiels, exclusifs ou légalement privilégiés
destinés
> > au seul usage du destinataire visé. L'expéditeur original ne
renonce à aucun
> > privilège ou à aucun autre droit si le présent message a été
transmis
> > involontairement ou s'il est retransmis sans son autorisation. Si
vous
> > n'êtes pas le destinataire visé du présent message ou si vous
l'avez reçu
> > par erreur, veuillez cesser immédiatement de le lire et le
supprimer, ainsi
> > que toutes ses pièces jointes, de votre système. La lecture, la
> > distribution, la copie ou tout autre usage du présent message ou
de ses
> > pièces jointes par des personnes autres que le destinataire visé
ne sont pas
> > autorisés et pourraient être illégaux. Si vous avez reçu ce
courrier
> > électronique par erreur, veuillez en aviser l'expéditeur.
> >
> > This electronic message and its attachments may contain
confidential,
> > proprietary or legally privileged information, which is solely
for the use
> > of the intended recipient. No privilege or other rights are
waived by any
> > unintended transmission or unauthorized retransmission of this
message. If
> > you are not the intended recipient of this message, or if you
have received
> > it in error, you should immediately stop reading this message and
delete it
> > and all attachments from your system. The reading, distribution,
copying or
> > other use of this message or its attachments by unintended
recipients is
> > unauthorized and may be unlawful. If you have received this e-
mail in error,
> > please notify the sender.
> >
>
>
>
>
> --
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>

 





--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


[flexcoders] Re: timezone and dateformatter

2007-04-13 Thread Doug Lowder
I thought the Player got the timezone from the underlying OS.

--- In [EMAIL PROTECTED], "Douglas Knudsen" 
<[EMAIL PROTECTED]> wrote:
>
> yes, we had big issues with a app in Flex 1.5 and now 2.0 because 
of this.
> We coded around it by massaging the dates in AS with the clients 
timezone
> offset.  Works well, except for those folks living in Arizona.  For 
some
> reason the Flash Player does NOT pick up their offset correctly.  
Outside of
> the Navajo Nation, Arizona does not follow day light savings, yet 
the Flash
> player seems to think they do.
> 
> DK
> 
> On 13 Apr 2007 10:52:07 -0700, Dimitrios Gianninas <
> [EMAIL PROTECTED]> wrote:
> >
> >Just wondering if anyone experienced this, but we have a VO 
coming from
> > Java that contains a date field. Well I format the field using 
the coe
> > below:
> >
> > 
> >
> > *
> >
> > private
> > * *function* displayLastBillingDate( item:Object, 
column:DataGridColumn
> > ):String {
> >
> > *  return* df.format( item.lastBillingDate );
> >
> > }
> >
> > And what happens is that this code works almost to well. It takes 
into
> > account the end-users PC timezone! So the date coming back from 
the server
> > is 2007-05-01 00:00:00, so for someone in EST it shows properly as
> > 2007-05-01 (cause we are in EST) but for someone in CST is shows
> > 2007-04-30... anything we can do about this? How do I get the end-
user
> > timezone setting ?
> > *Dimitrios Gianninas*
> > *Developer*
> > *Optimal Payments Inc.*
> >
> >
> > *AVIS IMPORTANT*
> >
> > *WARNING*
> >
> > Ce message électronique et ses pièces jointes peuvent contenir des
> > renseignements confidentiels, exclusifs ou légalement privilégiés 
destinés
> > au seul usage du destinataire visé. L'expéditeur original ne 
renonce à aucun
> > privilège ou à aucun autre droit si le présent message a été 
transmis
> > involontairement ou s'il est retransmis sans son autorisation. Si 
vous
> > n'êtes pas le destinataire visé du présent message ou si vous 
l'avez reçu
> > par erreur, veuillez cesser immédiatement de le lire et le 
supprimer, ainsi
> > que toutes ses pièces jointes, de votre système. La lecture, la
> > distribution, la copie ou tout autre usage du présent message ou 
de ses
> > pièces jointes par des personnes autres que le destinataire visé 
ne sont pas
> > autorisés et pourraient être illégaux. Si vous avez reçu ce 
courrier
> > électronique par erreur, veuillez en aviser l'expéditeur.
> >
> > This electronic message and its attachments may contain 
confidential,
> > proprietary or legally privileged information, which is solely 
for the use
> > of the intended recipient. No privilege or other rights are 
waived by any
> > unintended transmission or unauthorized retransmission of this 
message. If
> > you are not the intended recipient of this message, or if you 
have received
> > it in error, you should immediately stop reading this message and 
delete it
> > and all attachments from your system. The reading, distribution, 
copying or
> > other use of this message or its attachments by unintended 
recipients is
> > unauthorized and may be unlawful. If you have received this e-
mail in error,
> > please notify the sender.
> >   
> 
> 
> 
> 
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>




[flexcoders] Re: timezone and dateformatter

2007-04-13 Thread Doug Lowder
That's correct though, isn't it?  If I'm a user in CST and I access 
your app on 4/30 at 9PM, I'd probably be wondering "How could my LAST 
billing date be 5/1, which isn't until tomorrow?"

But if that's what you want, you can add the timezone offset to the 
date being formatted.  If item.lastBillingDate is Date object, 

return df.format( new Date( item.lastBillingDate.getTime() + 
item.lastBillingDate.getTimezoneOffset()*6 ) );

Your Java code should be returning a date in UTC.  If it isn't, 
you'll have to adjust for that offset as well.


--- In [EMAIL PROTECTED], "Dimitrios Gianninas" 
<[EMAIL PROTECTED]> wrote:
>
> Just wondering if anyone experienced this, but we have a VO coming 
from Java that contains a date field. Well I format the field using 
the coe below:
>  
> 
>  
> private function displayLastBillingDate( item:Object, 
column:DataGridColumn ):String {
> 
>   return df.format( item.lastBillingDate );
> 
> }
> 
> And what happens is that this code works almost to well. It takes 
into account the end-users PC timezone! So the date coming back from 
the server is 2007-05-01 00:00:00, so for someone in EST it shows 
properly as 2007-05-01 (cause we are in EST) but for someone in CST 
is shows 2007-04-30... anything we can do about this? How do I get 
the end-user timezone setting ?
> 
> Dimitrios Gianninas
> Developer
> Optimal Payments Inc.
>  
> 
> -- 
> WARNING
> ---
> This electronic message and its attachments may contain 
confidential, proprietary or legally privileged information, which is 
solely for the use of the intended recipient.  No privilege or other 
rights are waived by any unintended transmission or unauthorized 
retransmission of this message.  If you are not the intended 
recipient of this message, or if you have received it in error, you 
should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or 
other use of this message or its attachments by unintended recipients 
is unauthorized and may be unlawful.  If you have received this e-
mail in error, please notify the sender.
> 
> AVIS IMPORTANT
> --
> Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés 
destinés au seul usage du destinataire visé.  L'expéditeur original 
ne renonce à aucun privilège ou à aucun autre droit si le présent 
message a été transmis involontairement ou s'il est retransmis sans 
son autorisation.  Si vous n'êtes pas le destinataire visé du présent 
message ou si vous l'avez reçu par erreur, veuillez cesser 
immédiatement de le lire et le supprimer, ainsi que toutes ses pièces 
jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des 
personnes autres que le destinataire visé ne sont pas autorisés et 
pourraient être illégaux.  Si vous avez reçu ce courrier électronique 
par erreur, veuillez en aviser l'expéditeur.
>




[flexcoders] FDS

2007-04-13 Thread fermartel
There is something about FDS which has always seemed a bit ackward to me.
This is the fact that one must first make changes to the FDS managed
collection to be able to commit these changes.  This in itself is
fine, but this means that if I have a grid which displays the managed
collection, the user must first modify this data and commit the
changes to then see the changes revert back to the original values if
the transaction failed.  (This does not hold true for createItem(),
because for some reason yet unknown to me, when one calls this method,
it does not reflect on the managed collection...any ideas as to why?).

So the user sees the data displayed change, but on error, it sees it
change back.  To me, it would seem more logical to see the data
displayed change only if the transaction was succesful.  Maybe this is
because I am used to RemoteObject, which calls the service, and on
"result" is where one does the actual modification to the data
displayed, not before.

Does anyone else find this as a strange flow of events?  Or are there
any ways around this?  

One could make a temporary managed collection with the same exact data
as the displayed collection, and make changes to this collection,
commit them, and if successful, then make the same changes to the
displayed collection.  This way the user would only see the data
displayed change if the commit was successful.  But this seems much
more trouble than its worth.

Any ideas or suggestions would be appreciated.

Thank you!



[flexcoders] timezone and dateformatter

2007-04-13 Thread Dimitrios Gianninas
Just wondering if anyone experienced this, but we have a VO coming from Java 
that contains a date field. Well I format the field using the coe below:
 

 
private function displayLastBillingDate( item:Object, column:DataGridColumn 
):String {

  return df.format( item.lastBillingDate );

}

And what happens is that this code works almost to well. It takes into account 
the end-users PC timezone! So the date coming back from the server is 
2007-05-01 00:00:00, so for someone in EST it shows properly as 2007-05-01 
(cause we are in EST) but for someone in CST is shows 2007-04-30... anything we 
can do about this? How do I get the end-user timezone setting ?

Dimitrios Gianninas
Developer
Optimal Payments Inc.
 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L’expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s’il est retransmis sans son autorisation.  Si vous n’êtes 
pas le destinataire visé du présent message ou si vous l’avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l’expéditeur.



[flexcoders] Re: Newbie Alert!!! - Having a transitions problem.

2007-04-13 Thread justme1231331
Can nobody have a peak at this



RE: [flexcoders] Does compiler include all the classes from the Flex Library Project used in Flex Project?

2007-04-13 Thread Matt Chotin
It will only include the files that you used in the final SWF.
 
Matt



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sergey Kovalyov
Sent: Friday, April 13, 2007 2:46 AM
To: [EMAIL PROTECTED]
Subject: [flexcoders] Does compiler include all the classes from the
Flex Library Project used in Flex Project?



Hi All!
 
I have created separate Flex Library Project with a set of reusable
classes, so that I plan to extend it constantly and use it in different
projects. Since not all the library classes from Flex Library Project
will be used in each and every Flex Project, I worry about optimization
- does compiler include all the classes from the Flex Library Project
used in Flex Project into the resulting SWF or only those which have
been used? 
 
Thanks you in advance.
 
Sergey.

 


[flexcoders] Re: Short-circuiting logical operators in AS3?

2007-04-13 Thread jandersen1978
I apologize... I think it does in fact work for ||... I found error 
in the first logical term I had thought was evaluating to true...  
Thanks for the responses!

--- In [EMAIL PROTECTED], "Gordon Smith" <[EMAIL PROTECTED]> 
wrote:
>
> I tried || and it short-circuits for me. Please post a complete 
miniapp
> with a case that doesn't work.
>  
> - Gordon
> 
> 
> 
> From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Troy Gilbert
> Sent: Thursday, April 12, 2007 9:49 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [flexcoders] Short-circuiting logical operators in 
AS3?
> 
> 
> 
> Yeah, it definitely works for &&, I depend on it all the time. Not 
sure
> if I've specifically tried it with || though...
> 
> Troy.
> 
> 
> 
> On 12 Apr 2007 09:43:36 -0700, Alex Harui <[EMAIL PROTECTED]
>  > wrote: 
> 
>   
> 
>   I know it works for  &&
> 
> 
> 
>   From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]  ] On 
Behalf
> Of jandersen1978
>   Sent: Wednesday, April 11, 2007 8:58 PM
>   To: [EMAIL PROTECTED]
>   Subject: [flexcoders] Short-circuiting logical operators in 
AS3?
>   
>   
>   
> 
>   I'm fairly new to AS3 coming from a javascript background. I
> noticed
>   that I get an error when running the if statement below 
because
>   "dataProvider[i].data" doesn't exist. 
>   
>   if ( true || val == dataProvider[i].data) {
>   selectedIndex = i;
>   return;
>   } 
>   
>   In javascript the double OR operator (||) "short-circuits" 
such
> that
>   it wouldn't evaluate the second part of the term in the if
> expression
>   after finding the first term true. This doesn't seem to be 
the
> case
>   with AS3. Does AS3 support short circuiting logical 
operator? Is
>   there another way to get short-circuiting statements in AS3? 
(I
> know
>   I could rewrite the If statement as a two nested ifs...)
> anything I'm
>   missing as a newcomer? This is not a big deal of course, just
> curious...
>




[flexcoders] Re: Evaluating JSON String

2007-04-13 Thread eric_mahe
Hi Doug,

It's exactly what i need.
Thanks a lot.

Eric

--- In [EMAIL PROTECTED], "Doug Lowder" <[EMAIL PROTECTED]> wrote:
>
> I believe you can use a for..in statement to access the property 
> names.  Something like:
> 
> for (var name in myJsonObj) {
>   trace(name + " : " + myJsonObj[name]);
> }
> 
> http://livedocs.adobe.com/flex/201/langref/statements.html#for..in
> 
> 
> --- In [EMAIL PROTECTED], "eric_mahe"  wrote:
> >
> > Hi all,
> > 
> > I am using the com.adobe.serialization.json library to parse a 
> dynamic
> > JSON String like this one:
> > {"list":[1,2,3],"valid":"O","id":"file"}
> > It's working pretty well.
> > 
> > The JSON.decode method create an object in which one the  
> (list,valid,
> > id) are becoming dynamic variables:
> > 
> > Object
> >   list = Array
> > [0] = 1:Number
> > [1] = 2:Number
> > [2] = 3:Number
> >   valid = "O":String
> >   id = "file":String
> > 
> > 
> > The problem is that i need to display the name of the variables 
> names
> > (list, valid, id in this case) and values in order to allow the user
> > to change the values in a flex application.
> > 
> > Have anyone experienced the same issue? Any Idea?
> > Thanks for your help!
> > 
> > P.S.: Note that the JSON string is dynamic, so i need to evaluate 
> the
> > names of the variables at runtime.
> > 
> > Eric
> >
>




[flexcoders] Re: Evaluating JSON String

2007-04-13 Thread Doug Lowder
I believe you can use a for..in statement to access the property 
names.  Something like:

for (var name in myJsonObj) {
  trace(name + " : " + myJsonObj[name]);
}

http://livedocs.adobe.com/flex/201/langref/statements.html#for..in


--- In [EMAIL PROTECTED], "eric_mahe" <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> 
> I am using the com.adobe.serialization.json library to parse a 
dynamic
> JSON String like this one:
> {"list":[1,2,3],"valid":"O","id":"file"}
> It's working pretty well.
> 
> The JSON.decode method create an object in which one the  
(list,valid,
> id) are becoming dynamic variables:
> 
> Object
>   list = Array
> [0] = 1:Number
> [1] = 2:Number
> [2] = 3:Number
>   valid = "O":String
>   id = "file":String
> 
> 
> The problem is that i need to display the name of the variables 
names
> (list, valid, id in this case) and values in order to allow the user
> to change the values in a flex application.
> 
> Have anyone experienced the same issue? Any Idea?
> Thanks for your help!
> 
> P.S.: Note that the JSON string is dynamic, so i need to evaluate 
the
> names of the variables at runtime.
> 
> Eric
>




Re: [flexcoders] RangeError on SWFLoader

2007-04-13 Thread John Mark Hawley
SWFLoader::load() is an asynchronous call, so you're never going to be able to 
catch the error in a try block. You should be listening for error events on it 
instead.

> 
> From: "Michelle Grigg" <[EMAIL PROTECTED]>
> Date: 2007/04/13 Fri AM 09:05:56 CDT
> To: [EMAIL PROTECTED]
> Subject: [flexcoders] RangeError on SWFLoader
> 
> Greetings,
> 
> I have been haunted by these fricken #2006 RangeErrors since the start
> of my project though I've been able to fix all but one.
> 
> I have a SWFLoader throwing a RangeError, and I can't seem to catch
> the damn thing.  The irritating thing is that it's also a very
> intermittent bug so I have no way of telling for sure it will occur
> when first loading my app.
> 
> This is the try/catch: 
> 
> try
> {
>   myLoader.load( loadSwfEvent.swfName );
> }
> catch( e : Error )
> {
>   trace( e.errorID + " " + e.name + " " + e.message );
>   trace( e, ObjectUtil.toString( event ));
> }
> 
> It doesn't actually call the catch - it simply prints out the error on
> the console leading me to believe that the error is actually being
> thrown somewhere else, even though the stack trace goes all the way
> back to the SWFLoader class.
> 
> I initially thought it to be a timing thing - maybe the swfname wasn't
> being set properly or something, but investigating solutions along
> those lines have been fruitless.
> 
> I'm now thinking I should probably be moving the try/catch somewhere
> else, but I would have no idea where.
> 
> Any ideas?  Similar problems?
> 
> Cheers,
> Michelle
>  
> 
> 
> 

--
John Mark Hawley
The Nilbog Group
773.968.4980 (cell)



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[flexcoders] Re: Problems using SSL

2007-04-13 Thread Doug Lowder
Credit for that solution goes to the guys at Cynergy.

The max-age value lets a cached version sit on the client for x 
seconds for cases where you want to read new data periodically, but 
not necessarily on every visit.  Perfect for my needs.

--- In [EMAIL PROTECTED], "iko_knyphausen" <[EMAIL PROTECTED]> wrote:
>
> 
> First of all, thanks much to everyone for helping out. You saved me 
a
> lot of head-ache. I ended up with the latest suggestion from Doug
> 
> Response.CacheControl = "max-age=0, must-revalidate"   (this is
> ASP/VBscript)
> 
> This seems to do the trick ...
> -Iko
> 
> 
> --- In [EMAIL PROTECTED], "Doug Lowder"  
wrote:
> >
> > Ran into the same problem here. The root issue is a bug in some
> > versions of IE. You can apply an MS patch at all clients (likely 
not
> > a feasible solution), or set the cache-control header to "max-
age=0,
> > must-revalidate". That header seems to work across all browsers,
> > with or without SSL.
> >
> > --- In [EMAIL PROTECTED], "iko_knyphausen" iko@ wrote:
> > >
> > >
> > > It works ok in FF but not in IE. Peter Farland kindly had a long
> > > exchange with me offline, and it seems in my case that the 
offending
> > > HTTP response is in the header pragma "CacheControl = No-cache".
> > Problem
> > > is, without the pragma I am not getting up-to-date data from my
> > > HTTPService requests.
> > >
> > > So the problem has been isolated, but not solved just yet.
> > >
> > >
> > > --- In [EMAIL PROTECTED], Tom Chiverton 

> > > wrote:
> > > >
> > > > On Sunday 08 Apr 2007, iko_knyphausen wrote:
> > > > > in relative URL calls. And I think it does, because the web 
site
> > > accepts
> > > > > both SSL and non-SSL, and the errors I am receiving don't 
happen
> > > when I
> > > > > load the same app from the same location without https.
> > > >
> > > > Are you using IE ? Does Firefox work fine on the SSL site ?
> > > > If you use a network traffic sniffer, what is going on ?
> > > >
> > > >
> > > > --
> > > > Tom Chiverton
> > > > Helping to vitalistically administrate cutting-edge products
> > > > on: http://thefalken.livejournal.com
> > > >
> > > > 
> > > >
> > > > 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 St James's Court Brown Street Manchester M2
> > 2JF. A
> > > list of members is available for inspection at the registered
> > office.
> > > Any reference to a partner in relation to Halliwells LLP means a
> > member
> > > of Halliwells LLP. Regulated by the Law Society.
> > > >
> > > > 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 8008.
> > > >
> > > > For more information about Halliwells LLP visit
> > www.halliwells.com.
> > > >
> > >
> >
>




[flexcoders] SQL query with OR clause

2007-04-13 Thread alehrens
I'm using HTTPService to do a sql query and it works nicely.  But,
I've not hit a point where I want the query to be a little more complex.  

I want to send this query...

select capacity from capTable where id = ('6' or '8' or '10')

Here's the code I'm currently using

http://localhost:80/QueryDatabase/"; method="GET"
fault="Alert.show(event.fault.message, 'Error')"
result="handleDBQuery(event)">  
  

capacity


capTable
 

id


{ids}
   
  


ids is a bindable variable that is set to ('6' or '8' or '10')

When setting ids to just one value, like ('6'), the query works fine.
 But, when using the multiple IDs, my NewDataSet return value is NULL.  

Please help?



RE: [flexcoders] To newbies...

2007-04-13 Thread Kenneth Sutherland
I'd have to recommend http://www.silvafug.org/ for the video tutorials.
Great source of tips for all levels.

 

I'd also NOT recommend Flex 2 with actionscript 3, I'll say no more on
the matter other than look at the guys site
http://www.charlesebrown.net/ I'm sure there will be folk that will have
liked his book, but for me the complexity of his site speaks volumes. 

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ed Capistrano
Sent: 13 April 2007 09:03
To: [EMAIL PROTECTED]
Subject: [flexcoders] To newbies...

 

What can you say to the likes of me who came from
flash & just starting to grasp flex. Will I/we be
having a hard time in adapting/learning flex? Please
give any book titles or sites that best suite to
people like me.

Thanks,
-Ed
proud & a happy member

__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com   

 



[flexcoders] Re: To newbies...

2007-04-13 Thread gotjosh819i
The developer kit books from the adobe store (50 US $) Seem to be 
pretty useful so far.

Other then those, I would get a AS 3 cookbook and a design patterns 
book. 

Flex is easy sometimes and a pain in the butt in other situations.  
like any technology i guess.  once you get past the learning curve, 
its goes pretty smoothly.

--- In [EMAIL PROTECTED], "bhaq1972" <[EMAIL PROTECTED]> wrote:
>
> when i first started flex, i first tried the quick start tutorials. 
> then i got familiar with the livedocs. then i start asking 
questions 
> on flexcoders/ adobesupport etc.
>  
> 
> --- In [EMAIL PROTECTED], Ed Capistrano 
>  wrote:
> >
> > What can you say to the likes of me who came from
> > flash & just starting to grasp flex. Will I/we be
> > having a hard time in adapting/learning flex? Please
> > give any book titles or sites that best suite to
> > people like me.
> > 
> > Thanks,
> > -Ed
> > proud & a happy member
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around 
> > http://mail.yahoo.com
> >
>




[flexcoders] Re: Time to start over: XML/db>entry points>tree>thumbnails>main image

2007-04-13 Thread shawn.gibson
Hi Gordon, thanks:)

Definitely the site will be Flex>CF>SQL (My/MS...not sure yet). Access
is just the quick and dirty way for me to build it - it's visual. I'll
populate a db for real when I am at that stage. For the gallery,
though, it's all going to be CF-generated XML files read from the db,
so that the client uploads xml files as requested, already sitting on
the server as created by the owner (i.e., me) from the db as changes
are made - you add a gallery or image via SQL area admin page, you
spit out a new XML file, and the client reads that. 

Adjacency model seems best for the tree, i.e., so I can populate the
galleries as intuitively as a photograpger would want (I want to give
this to people when it's finished): 

http://sqllessons.com/categories.html

...the db table is obviously simple. The XML file generated by CF,
however, is going to be a nightmare.

I just bought about $5,000 worth of Adobe software (+Win2003Server
SBS) so my commitment is completely to that, no php, or java, or asp,
and right now, FDS doesn't seem something I'd be willing to wrap my
head around because of the complexity.

I DO have the entire thing in my head, well enough to create a
flowchart, but that still doesn't stop me from being completely stupid
regarding making the well-conceived front end talk with the well
conceived (I hope!) back end via CF and various SQL queries.

Shawn

--- In [EMAIL PROTECTED], "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> It sounds to me like you're having problems because Flex is front-end
> technology that doesn't talk directly to databases like Access. You need
> to decide which middleware your'e going to use on the server side: Java?
> ColdFusion? PHP? Flex Data Services? The choice will probably depend on
> whether you are hosting your own site or paying a hosting service.
>  
> BTW, what is an Adjacency modeled gallery table?
>  
> - Gordon
> 
> 
> 
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of shawn.gibson
> Sent: Thursday, April 12, 2007 3:21 PM
> To: [EMAIL PROTECTED]
> Subject: [flexcoders] Re: Time to start over: XML/db>entry
> points>tree>thumbnails>main image
> 
> 
> 
> Thanks Tom and Tracy. Sorry for the delayed response. My server is
> actually not even running...and SuperMicro just said to RMA it. Blah.
> 
> I definitely want to do this, in the bigger scheme, myself, and I
> think it would be a useless endeavour to be asking you guys to build
> this for me...there's no enjoyment in that:) I hope that's not how I
> come across...I definitely want to feel the pride I can in seeing this
> thing when I finally turn the key and the lights go on...
> 
> The front end, this part anyways (gallery mechanism), is almost
> completely how I want it, and the db is both on paper and in Access
> pretty much ready to go (for the whole thing - galleries, rating
> system, blog, image comments, user identification...I'm sure things
> will pop up as I build, but the core of what at least the USER will be
> considering, is built in the db). The middle is where I am having all
> of my problems (excluding the one desire for an Adjacency modeled
> gallery table...which I can handle perfectly painlessly if I keep it
> XML).
> 
> I'll keep going on what I have, and try to work one step at a time. My
> biggest problem right now is that I don't at all understand Tracy's
> original advice as for building the tree, the XML part and not tagging
> things to a result, etc. This part of it is purely programmatic, and
> abstract, so I can't wrap my head around it. But I'll get there.
> 
> The books are starting to make their way to the shelves, too, which
> will help tremendously, and I went to an Adobe seminar last night
> (CFUG) which showed front-to-back how to deal with a Flex/CF/SQL CRUD
> CFC Remoting mechanism...so all the parts are there, waiting for me to
> understand.
> 
> The adjacency scripting will kill me, though, that's for sure LOL.
> 
> I'm 38, I have wanted to write something beautiful since I started
> POKEing colours and sounds in my VIC 20 (36969 and 36976, 36977,
> 36978, and white noise, 36879...I think LOL) and there's never been a
> better time for that to happen than with Flex and CF making
> everything, on some level, at least, approachable.
> 
> Shawn
> 
> --- In [EMAIL PROTECTED] 
> , "Tracy Spratt"  wrote:
> >
> > Shawn, I don't think starting over is necessarily the best approach.
> > All apps are layers and pieces, and you can really only work on one
> > thing at a time.
> > 
> > 
> > 
> > So take your pick, and start with the UI first and work back towards
> the
> > data, or start at the data and work up to the UI. 
> > 
> > 
> > 
> > I personally like to build a start-to-finish prototype to establish
> all
> > of the technologies and protocols I will be using, and then go back
> and
> > flesh-out the layers. If I was where you are, with a starting point
> UI,
> > I would build the db, 

[flexcoders] Re: Flex builder startup erroar

2007-04-13 Thread gotjosh819i
Personally I would uninstall and reinstall... Are you installing the 
eclipse plugin or using the builder itself (standalone)?

--- In [EMAIL PROTECTED], "kalyancce" <[EMAIL PROTECTED]> wrote:
>
> Hi everybody,
> 
> Please help me with this.
> 
> I just installed the flex builder 2 on a turion 64 X2 processor
> laptop(just indicatin it if this may be a issue).
> 
> While i am trying to start flex builder an error comes up saying 
> " An error has occured. see the log file..."
> the log file reads the following:
> ___
> !SESSION 2007-04-13 00:56:44.368
> ---
> eclipse.buildId=unknown
> java.version=1.4.2_12
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments:  -os win32 -ws win32 -arch x86
> 
> !ENTRY org.eclipse.update.configurator 2007-04-13 00:56:45.631
> !MESSAGE Cannot backup current configuration
> 
> !ENTRY org.eclipse.update.configurator 2007-04-13 00:56:45.681
> !MESSAGE Could not rename configuration temp file
> 
> !ENTRY org.eclipse.osgi 2007-04-13 00:56:46.506
> !MESSAGE Application error
> !STACK 1
> java.lang.UnsatisfiedLinkError: no swt-win32-3139 in 
java.library.path
>   at java.lang.ClassLoader.loadLibrary(Unknown Source)
>   at java.lang.Runtime.loadLibrary0(Unknown Source)
>   at java.lang.System.loadLibrary(Unknown Source)
>   at org.eclipse.swt.internal.Library.loadLibrary
(Library.java:123)
>   at org.eclipse.swt.internal.win32.OS.(OS.java:18)
>   at org.eclipse.swt.widgets.Display.(Display.java:125)
>   at org.eclipse.ui.internal.Workbench.createDisplay
(Workbench.java:381)
>   at org.eclipse.ui.PlatformUI.createDisplay
(PlatformUI.java:155)
>   at
> com.adobe.flexbuilder.standalone.FlexBuilderApplication.run
(FlexBuilderApplication.java:45)
>   at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:226)
>   at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:376)
>   at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:163)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
Source)
>   at java.lang.reflect.Method.invoke(Unknown Source)
>   at org.eclipse.core.launcher.Main.invokeFramework
(Main.java:334)
>   at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
>   at org.eclipse.core.launcher.Main.run(Main.java:973)
>   at org.eclipse.core.launcher.Main.main(Main.java:948)
> 
> !ENTRY org.eclipse.osgi 2007-04-13 00:56:46.514
> !MESSAGE Bundle
> [EMAIL PROTECTED]/com.adobe.flexbuilder.debug.e32_2.0.155577/ [70] was
> not resolved.
> !SUBENTRY 1 org.eclipse.osgi 2007-04-13 00:56:46.514
> !MESSAGE Missing required bundle org.eclipse.debug.ui_
[3.2.0,99.0.0).
> ___
> 
> Is there anything wrong with the installation?
> 
> Thanks in advance.
> 
> -Kalyan.
>




[flexcoders] Re: To newbies...

2007-04-13 Thread bhaq1972
when i first started flex, i first tried the quick start tutorials. 
then i got familiar with the livedocs. then i start asking questions 
on flexcoders/ adobesupport etc.
 

--- In [EMAIL PROTECTED], Ed Capistrano 
<[EMAIL PROTECTED]> wrote:
>
> What can you say to the likes of me who came from
> flash & just starting to grasp flex. Will I/we be
> having a hard time in adapting/learning flex? Please
> give any book titles or sites that best suite to
> people like me.
> 
> Thanks,
> -Ed
> proud & a happy member
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com
>




[flexcoders] Re: Flash pre-loader for flex? Urgent, pelase help

2007-04-13 Thread gotjosh819i
Flash 8 and Flash 9 use differnet VMs, right the preloader in Flash 9 
and that should solve your issue.  Just my guess.

--- In [EMAIL PROTECTED], "Giles Roadnight" <[EMAIL PROTECTED]> 
wrote:
>
> Hi All
> 
> I've built a pretty simple pre-loader in flash 8 to load our main 
Flex
> app (nearly a MB).
> 
> To load the main swf I just use
> 
> _root.loadMovie(_root.applicationURL);
> 
> but the swf does not appear.
> 
> It has now occurred to me that it might be possibel to load a flash 
9
> swf into a flash 8 swf.
> 
> Will I have to start again on the prelaoder adn built it in flex?
> 
> How should I load the swf correctly.
> 
> I have also tried building the loader in the flash 9 beta as a 
player
> 9 swf but I get teh same problem.
> 
> The html for the flex app looks like this:
> 
> 
>  id="Nation" width="1024" height="636"
>   
> 
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swf
lash.cab">
>   
>   
>   
>   
>   
>
value="localeCode=en_UK&configPath=Config.xml&userID=42&moodboardID=1"
>
>  width="1024" height="636" 
name="Nation" align="middle"
>   play="true"
>   loop="false"
>   quality="high"
>   
> 
flashVars="localeCode=en_UK&configPath=Config.xml&userID=42&moodboardI
D=1"
>   allowScriptAccess="sameDomain"
>   type="application/x-shockwave-flash"
>   
pluginspage="http://www.adobe.com/go/getflashplayer";>
>   
>   
> 
>




[flexcoders] validating multiple fields

2007-04-13 Thread Kenneth Sutherland
I've been following this example on livedocs

http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.
htm?context=LiveDocs_Parts&file=1773.html

for how to validate multiple fields.  I can it to work apart from the
setting of the actual errorString on the appropriate input box.

I.E if I have three input boxes and box three has the error, then in the
example from livedocs it puts the error around whatever box I declared
as the listener.  How do I put the error around the appropriate box?
Any of the 3 boxes could have an error.

When debugging I can see that there is a property called actualListeners
which is an array, but its read only and the listener property only
takes a Object.  I have a work around for this which passes in the form
that I'm validating to the custom validator then overriding the 'get
actualListeners()' function, but I'm sure that there must be a better
way of doing this.

 

Thanks

Kenneth.



[flexcoders] Re: Tree Item by Index

2007-04-13 Thread bhaq1972
i think what your looking for is 

item = tree.selectedItem;


--- In [EMAIL PROTECTED], "syabro" <[EMAIL PROTECTED]> wrote:
>
> How can I get an item, when I've an item index?
> I think that
> tree.selectedIndex = index;
> item = tree.selectedIndex;
> will be great, but is there another method?
>




[flexcoders] Re: To newbies...

2007-04-13 Thread mapper2255
Ed, 

This is a great group. It can be however difficult as you get up and 
running, until you can formulate good questions and even that takes 
time.

If you are looking for some help drop me a line offline 
[EMAIL PROTECTED]

--- In [EMAIL PROTECTED], Ed Capistrano 
<[EMAIL PROTECTED]> wrote:
>
> What can you say to the likes of me who came from
> flash & just starting to grasp flex. Will I/we be
> having a hard time in adapting/learning flex? Please
> give any book titles or sites that best suite to
> people like me.
> 
> Thanks,
> -Ed
> proud & a happy member
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com
>




[flexcoders] Re: Versioning swf files for bug reporting

2007-04-13 Thread bhaq1972
Thanks Johannes. Can you suggest one. At the moment we just take the 
bin folder generated by Flexbuilder and copy that to our webservers.

what i was thinking was, if flexbuilder could add a build number 
into the html wrapper, then we could use an ExternalInterface call 
to extract that number and show it in our flex apps.


--- In [EMAIL PROTECTED], "Johannes Nel" <[EMAIL PROTECTED]> 
wrote:
>
> why not get a proper CI system going. that will solve many issues 
you had
> not even noticed you had.
> 
> On 12 Apr 2007 06:49:12 -0700, bhaq1972 <[EMAIL PROTECTED]> wrote:
> >
> >   Is there anything flexbuilder could generate and place into 
the html
> > wrapper 
> >
> > --- In [EMAIL PROTECTED] , Tom
> > Chiverton 
> >
> > wrote:
> > >
> > > On Thursday 12 Apr 2007, simonjpalmer wrote:
> > > > Does anyone have a good practice for holding version numbers 
in
> > a flex
> > > > swf file for display to the user and magically incrementing 
them
> > as
> > > > part of the build process?
> > >
> > > We had ColdFusion generate the HTML wrapper page.
> > > It looked up the SVN revision and branch/tag information, and 
put
> > that in the
> > > HTML  tag.
> > >
> > > --
> > > Tom Chiverton
> > > Helping to preemptively empower B2B portals
> > > on: http://thefalken.livejournal.com
> > >
> > > 
> > >
> > > 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 St James's Court Brown Street Manchester M2
> > 2JF. A list of members is available for inspection at the
> > registered office. Any reference to a partner in relation to
> > Halliwells LLP means a member of Halliwells LLP. Regulated by the
> > Law Society.
> > >
> > > 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 8008.
> > >
> > > For more information about Halliwells LLP visit 
www.halliwells.com.
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> j:pn
> http://www.lennel.org
>




[flexcoders] Flash pre-loader for flex? Urgent, pelase help

2007-04-13 Thread Giles Roadnight
Hi All

I've built a pretty simple pre-loader in flash 8 to load our main Flex
app (nearly a MB).

To load the main swf I just use

_root.loadMovie(_root.applicationURL);

but the swf does not appear.

It has now occurred to me that it might be possibel to load a flash 9
swf into a flash 8 swf.

Will I have to start again on the prelaoder adn built it in flex?

How should I load the swf correctly.

I have also tried building the loader in the flash 9 beta as a player
9 swf but I get teh same problem.

The html for the flex app looks like this:


http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab";>






http://www.adobe.com/go/getflashplayer";>






[flexcoders] Flex builder startup erroar

2007-04-13 Thread kalyancce
Hi everybody,

Please help me with this.

I just installed the flex builder 2 on a turion 64 X2 processor
laptop(just indicatin it if this may be a issue).

While i am trying to start flex builder an error comes up saying 
" An error has occured. see the log file..."
the log file reads the following:
___
!SESSION 2007-04-13 00:56:44.368
---
eclipse.buildId=unknown
java.version=1.4.2_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.update.configurator 2007-04-13 00:56:45.631
!MESSAGE Cannot backup current configuration

!ENTRY org.eclipse.update.configurator 2007-04-13 00:56:45.681
!MESSAGE Could not rename configuration temp file

!ENTRY org.eclipse.osgi 2007-04-13 00:56:46.506
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-win32-3139 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at org.eclipse.swt.internal.win32.OS.(OS.java:18)
at org.eclipse.swt.widgets.Display.(Display.java:125)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:381)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155)
at
com.adobe.flexbuilder.standalone.FlexBuilderApplication.run(FlexBuilderApplication.java:45)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

!ENTRY org.eclipse.osgi 2007-04-13 00:56:46.514
!MESSAGE Bundle
[EMAIL PROTECTED]/com.adobe.flexbuilder.debug.e32_2.0.155577/ [70] was
not resolved.
!SUBENTRY 1 org.eclipse.osgi 2007-04-13 00:56:46.514
!MESSAGE Missing required bundle org.eclipse.debug.ui_[3.2.0,99.0.0).
___

Is there anything wrong with the installation?

Thanks in advance.

-Kalyan.



[flexcoders] RangeError on SWFLoader

2007-04-13 Thread Michelle Grigg
Greetings,

I have been haunted by these fricken #2006 RangeErrors since the start
of my project though I've been able to fix all but one.

I have a SWFLoader throwing a RangeError, and I can't seem to catch
the damn thing.  The irritating thing is that it's also a very
intermittent bug so I have no way of telling for sure it will occur
when first loading my app.

This is the try/catch: 

try
{
myLoader.load( loadSwfEvent.swfName );
}
catch( e : Error )
{
trace( e.errorID + " " + e.name + " " + e.message );
trace( e, ObjectUtil.toString( event ));
}

It doesn't actually call the catch - it simply prints out the error on
the console leading me to believe that the error is actually being
thrown somewhere else, even though the stack trace goes all the way
back to the SWFLoader class.

I initially thought it to be a timing thing - maybe the swfname wasn't
being set properly or something, but investigating solutions along
those lines have been fruitless.

I'm now thinking I should probably be moving the try/catch somewhere
else, but I would have no idea where.

Any ideas?  Similar problems?

Cheers,
Michelle
 



[flexcoders] Re: Default Decoder could not decode result?

2007-04-13 Thread tommyhaych
--- In [EMAIL PROTECTED], "tommyhaych" <[EMAIL PROTECTED]> wrote:
>
> Ooo you helped! The php address made me realise something - I
> wasn't running this on my localhost. 
> 
> It's adding something to the database!!! 
> 
> Just a cheeky question now - am I going the right direction with that
> checkbox array? I think i've just pasted random things in there hoping
> it would work!
> 
> Thanks a lot!
> 
> Tom H
>

.. I'll build on that more...

If my checkbox for each band was called 'cBox' and the information I
wanted to pass on was found in the label, would I be assuming the
following code is the right direction?:

public function modifyArray(item:Object):String{
if(cBox.Label != null){
return cBox.label;
}

return "(artist = "+cBox.label+")";;
}

Basically, when I click the checkbox, it adds/removes it from this ^
array. (code - cBox click="modifyArray(artist)")

Just wondering if i'm doing the right thing here to acheive what I
want (being able to pass it on via HTTPService).

Annnyway. Thanks for the help so far!

Tom
x





[flexcoders] Evaluating JSON String

2007-04-13 Thread eric_mahe
Hi all,

I am using the com.adobe.serialization.json library to parse a dynamic
JSON String like this one:
{"list":[1,2,3],"valid":"O","id":"file"}
It's working pretty well.

The JSON.decode method create an object in which one the  (list,valid,
id) are becoming dynamic variables:

Object
  list = Array
[0] = 1:Number
[1] = 2:Number
[2] = 3:Number
  valid = "O":String
  id = "file":String


The problem is that i need to display the name of the variables names
(list, valid, id in this case) and values in order to allow the user
to change the values in a flex application.

Have anyone experienced the same issue? Any Idea?
Thanks for your help!

P.S.: Note that the JSON string is dynamic, so i need to evaluate the
names of the variables at runtime.

Eric







[flexcoders] Tree Item by Index

2007-04-13 Thread syabro
How can I get an item, when I've an item index?
I think that
tree.selectedIndex = index;
item = tree.selectedIndex;
will be great, but is there another method?




[flexcoders] variable change / call a function

2007-04-13 Thread sgrace99
In my custom Component I have a public bindable array collection (tied to my 
model in my 
model locator). I want to call a function when the array collection changes. 
How can I detect a 
change in the array collection and call a function in my custom component? I 
don't want to 
bind it to component property. I need to call my custom function and perform 
several 
operations based on the new data. I have investigated adding a listener to the 
CollectionEventKind event...but didn't seem to work.  Any thoughts? Have I 
overlooked the 
obvious? Thanks!



[flexcoders] Re: Flex 2 SwfLoader unload/reload issue with V8 Swf

2007-04-13 Thread moonusamy

Here's the example that does not work. v81.swf and v82.swf are Flash 8
swfs while v91.swf and v92.swf are Flash 9 ones (can't attach the swfs -
can mail them to you if you like). If you comment out the lines that
load the v8 files and uncomment the lines that load the v9 version, it
works fine.
Also note that the v8 swf files are generated using JSwiff - not sure if
that has anything to do with the problem. I haven't tried it with swf
files generated through the Flash 8 Authoring env.


http://www.adobe.com/2006/mxml";
 creationComplete="init()">

 
 
 


--- In [EMAIL PROTECTED], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Can you post a test case?
>
> 
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
> Behalf Of moonusamy
> Sent: Wednesday, April 11, 2007 1:20 PM
> To: [EMAIL PROTECTED]
> Subject: [flexcoders] Flex 2 SwfLoader unload/reload issue with V8 Swf
>
>
>
>
> In a Flex 2 App, I'm using SwfLoader to load a Flash 8 Swf file. The
> load works fine but when I call load() again to load another file
> using the same SwfLoader instance, the new swf does not render. It
> works fine if the swf being loaded is Flash 9 version.
> I tried doing an "unload" before calling load such as:
> swfContent.loaderInfo.loader.unload(); where swfContent is the content
> property of the SwfLoader (previously loaded content)
> This does not seem to work either.
>
> Oddly even if I create a new instance of SwfLoader each time I want to
> load a swf, it does not work.
>
> Any help is appreciated.
>
> Vijay
>




[flexcoders] To newbies...

2007-04-13 Thread Ed Capistrano
What can you say to the likes of me who came from
flash & just starting to grasp flex. Will I/we be
having a hard time in adapting/learning flex? Please
give any book titles or sites that best suite to
people like me.

Thanks,
-Ed
proud & a happy member

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[flexcoders] Re: Granite Data Services 0.2.0 is out

2007-04-13 Thread akhilbhaskar
Yeah, I was looking for benchmarks.  I am currently using the Express 
edition with EJB3 backend services, and was curious if you had done 
any comparison studies to figure out if GDS was as/more/less 
performant than LCDS.  That's one of the first things I look for when 
considering use of an alternative to a vendor supplied package/tool.

I'll obviously play around with it, since it's something I'm 
interested in.

Thanks
-Akhil

--- In [EMAIL PROTECTED], "fwolff999" <[EMAIL PROTECTED]> 
wrote:
>
> Hi Akhil,
> 
> Nothing like that...
> What do you mean exactly by "metrics": benchmark, features 
comparison ? 
> 
> Regards,
> Franck.
> 
> --- In [EMAIL PROTECTED], "akhilbhaskar" 
> wrote:
> >
> > Franck-
> > 
> > This is pretty exciting!  Do you happen to have any metrics for 
GDS 
> > vs. LCDS?
> > 
> > Thanks
> > -Akhil Bhaskar
> > Amentra, Inc.
> > 
> > 
> > --- In [EMAIL PROTECTED], "fwolff999"  
> > wrote:
> > >
> > > Hello,
> > > 
> > > Granite Data Services 0.2.0 is available for download.
> > > 
> > > Granite Data Services aims to be a free, open source (LGPL'd),
> > > alternative to Adobe Flex 2 Data Services for J2EE application 
> > servers.
> > > This new release brings Spring services support, full EJB3/
Hibernate
> > > lazy loading support, AS3 bean generation and several other new
> > > features and improvments.
> > > 
> > > See more on http://www.graniteds.org  (download, documentation 
and
> > > live demo).
> > > 
> > > Franck Wolff.
> > >
> >
>




Re: [flexcoders] New flex forum for flex developers (German)

2007-04-13 Thread Ed Capistrano
Does it have a mailing list?
If so, can you give the details for subscribing. 

thanks,
-Ed
Proud & happy member
--- [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> Today we have launched a new forum for Flex- and
Apollodevelopers.
> Everybody is welcome. Discuss and have fun! :) 
> 
> www.flexhilfe.de
> 
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-13 Thread Johannes Nel

why not get a proper CI system going. that will solve many issues you had
not even noticed you had.

On 12 Apr 2007 06:49:12 -0700, bhaq1972 <[EMAIL PROTECTED]> wrote:


  Is there anything flexbuilder could generate and place into the html
wrapper 

--- In [EMAIL PROTECTED] , Tom
Chiverton <[EMAIL PROTECTED]>

wrote:
>
> On Thursday 12 Apr 2007, simonjpalmer wrote:
> > Does anyone have a good practice for holding version numbers in
a flex
> > swf file for display to the user and magically incrementing them
as
> > part of the build process?
>
> We had ColdFusion generate the HTML wrapper page.
> It looked up the SVN revision and branch/tag information, and put
that in the
> HTML  tag.
>
> --
> Tom Chiverton
> Helping to preemptively empower B2B portals
> on: http://thefalken.livejournal.com
>
> 
>
> 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 St James's Court Brown Street Manchester M2
2JF. A list of members is available for inspection at the
registered office. Any reference to a partner in relation to
Halliwells LLP means a member of Halliwells LLP. Regulated by the
Law Society.
>
> 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 8008.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>

 





--
j:pn
http://www.lennel.org


RE: [flexcoders] Re: Time to start over: XML/db>entry points>tree>thumbnails>main image

2007-04-13 Thread Gordon Smith
It sounds to me like you're having problems because Flex is front-end
technology that doesn't talk directly to databases like Access. You need
to decide which middleware your'e going to use on the server side: Java?
ColdFusion? PHP? Flex Data Services? The choice will probably depend on
whether you are hosting your own site or paying a hosting service.
 
BTW, what is an Adjacency modeled gallery table?
 
- Gordon



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of shawn.gibson
Sent: Thursday, April 12, 2007 3:21 PM
To: [EMAIL PROTECTED]
Subject: [flexcoders] Re: Time to start over: XML/db>entry
points>tree>thumbnails>main image



Thanks Tom and Tracy. Sorry for the delayed response. My server is
actually not even running...and SuperMicro just said to RMA it. Blah.

I definitely want to do this, in the bigger scheme, myself, and I
think it would be a useless endeavour to be asking you guys to build
this for me...there's no enjoyment in that:) I hope that's not how I
come across...I definitely want to feel the pride I can in seeing this
thing when I finally turn the key and the lights go on...

The front end, this part anyways (gallery mechanism), is almost
completely how I want it, and the db is both on paper and in Access
pretty much ready to go (for the whole thing - galleries, rating
system, blog, image comments, user identification...I'm sure things
will pop up as I build, but the core of what at least the USER will be
considering, is built in the db). The middle is where I am having all
of my problems (excluding the one desire for an Adjacency modeled
gallery table...which I can handle perfectly painlessly if I keep it
XML).

I'll keep going on what I have, and try to work one step at a time. My
biggest problem right now is that I don't at all understand Tracy's
original advice as for building the tree, the XML part and not tagging
things to a result, etc. This part of it is purely programmatic, and
abstract, so I can't wrap my head around it. But I'll get there.

The books are starting to make their way to the shelves, too, which
will help tremendously, and I went to an Adobe seminar last night
(CFUG) which showed front-to-back how to deal with a Flex/CF/SQL CRUD
CFC Remoting mechanism...so all the parts are there, waiting for me to
understand.

The adjacency scripting will kill me, though, that's for sure LOL.

I'm 38, I have wanted to write something beautiful since I started
POKEing colours and sounds in my VIC 20 (36969 and 36976, 36977,
36978, and white noise, 36879...I think LOL) and there's never been a
better time for that to happen than with Flex and CF making
everything, on some level, at least, approachable.

Shawn

--- In [EMAIL PROTECTED] 
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Shawn, I don't think starting over is necessarily the best approach.
> All apps are layers and pieces, and you can really only work on one
> thing at a time.
> 
> 
> 
> So take your pick, and start with the UI first and work back towards
the
> data, or start at the data and work up to the UI. 
> 
> 
> 
> I personally like to build a start-to-finish prototype to establish
all
> of the technologies and protocols I will be using, and then go back
and
> flesh-out the layers. If I was where you are, with a starting point
UI,
> I would build the db, establish some image sources, create the middle
> tier, and get the data into flex.
> 
> 
> 
> I don't think you will get much response starting out with "how do I
> build my app" level questions. We do not know your requirements(and
> don't really want to learn them) well enough to design an app, let
alone
> code it.
> 
> 
> 
> You have a start, build on that. Keep questions specific.
> 
> 
> 
> Tracy
> 
> 
> 
> 
> 
> From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] 
] On
> Behalf Of shawn.gibson
> Sent: Wednesday, April 11, 2007 6:41 AM
> To: [EMAIL PROTECTED]  
> Subject: [flexcoders] Time to start over: XML/db>entry
> points>tree>thumbnails>main image
> 
> 
> 
> I must be approaching this system completely wrong because people
> don't really be willing to offer help, which to me just says I've done
> it completely wrong as people around here are always usually helpful.
> I'm open to any suggestions as to how to get the following mockup
> (link) to work properly, anything from HTTPService and XML to Remoting
> with a CRUD CFC(s) and a MySQL or MSSQL db...I am fine moving
> everything over to a db, my only problem is I don't know how to do the
> code with Flex/CF (I guess it's the db query technically) for the tree
> as the galleries db will have to be self-referential (adjacency model)
> and my understanding is the code for such is hard to build.
> 
> Here's what I have, if anyone can offer any suggestions, disregarding
> whatever you see 

Re: [flexcoders] timers and hibernating a pc/mac

2007-04-13 Thread Johannes Nel

the timer is throwing the exception stating that there is an unhandled
event, this is i think occurs due to the vm suspending as i do listen to all
events on the timer.
consistent on all browsers and os's.

On 12 Apr 2007 05:59:50 -0700, Troy Gilbert <[EMAIL PROTECTED]> wrote:


  Who's throwing the exception? Are you getting a Flash Player error, a
browser crash... what are you getting on the Mac, for example? Is it
different under different browsers?

Troy.



On 11 Apr 2007 05:58:41 -0700, Johannes Nel <[EMAIL PROTECTED]>
wrote:
>
>   Hi All
>
> when i have a timer running and i hiberbnate/sleep on either my pc or
> mac i get an exception on startup again.
> this is looow priority but would be nice to solve.
> ideas?
>
> johan
>
>
> --
> j:pn
> http://www.lennel.org
>

 





--
j:pn
http://www.lennel.org


[flexcoders] Re: Tilelist in Flex 2 - what to use instead of getItemAt()?

2007-04-13 Thread erinwyher
Bod, thank you thank you thank you!!! This works beautifully. And just
in time for our Beta test today.
:)
-Erin

--- In [EMAIL PROTECTED], "bhaq1972" <[EMAIL PROTECTED]> wrote:
>
> sorry i didn't respond to your reply..slipped thru.
> 
> continuing from Alex, and having a closer look at your original 
> post ..flexcoders is so busy and sometimes i just look at the 
> title and give an answer...i'll be a good boy and read the question 
> properly next time.
> 
> what you actually want is to use the TileList.indexToItemRenderer() 
> function. that gives u a reference to the itemrenderer
> 
> eg.
> 
> myTiles.indexToItemRenderer(1)["testFunction"]();
> //or
> TestComonent(myTiles.indexToItemRenderer(1)).testFunction();
> //or
> var object1:TestComponent = myTiles.indexToItemRenderer(1) as 
> TestComponent;
> object1.testFunction(); 
> 
> 
> regards
> Bod
> 
> --- In [EMAIL PROTECTED], "Alex Harui"  wrote:
> >
> > Erin,
> >  
> > It looks like your array:
> > var arrTest:Array = [1,2,3,4];
> > just contains numbers.
> >  
> > IList(myTiles.dataProvider).getItemAt(1) should return 2;
> >  
> > 2 is just a number so you it doesn't have a testFunction
> >  
> > Did you intend to pass 2 into testFunction?
> >  
> > That would be:
> > testFunction(IList(myTiles.dataProvider).getItemAt(1));
> >  
> > One good way to debug this is to start storing parts of the 
> expression
> > in temporary variables.
> >  
> > -Alex
> > 
> > 
> > 
> > From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of erinwyher
> > Sent: Thursday, April 12, 2007 10:41 AM
> > To: [EMAIL PROTECTED]
> > Subject: [flexcoders] Re: Tilelist in Flex 2 - what to use instead 
> of
> > getItemAt()?
> > 
> > 
> > 
> > Thanks for the suggestion. My new error is: value is not a 
> function.
> > This comes up on this new line:
> > 
> > IList(myTiles.dataProvider).getItemAt(1).testFunction();
> > 
> > -Erin
> > 
> > --- In [EMAIL PROTECTED]  40yahoogroups.com>
> > , "craig.drabik" 
> > wrote:
> > >
> > > Try using an ArrayCollection for your data provider instead of a
> > > simple array. 
> > > 
> > > --- In [EMAIL PROTECTED]
> >  , "erinwyher"  
> wrote:
> > > >
> > > > Thanks for the suggestion, but it doesn't work :(. Do you need 
> the
> > > > latest version of Flex 2 for that to work? I didn't install the
> > latest
> > > > upgrade (2.1 I believe).
> > > > 
> > > > When I tried it, I got the following error.
> > > > 
> > > > TypeError: Error #1006: value is not a function.
> > > > at test/clickedList()
> > > > at test/___Button1_click()
> > > > 
> > > > Also, in the debugger, IList(myTiles.dataProvider) cannot be
> > evaluated,
> > > > and neither can IList(myTiles.dataProvider).getItemAt
> (any_number)
> > > > 
> > > > Any more ideas? I really need help with this and I appreciate 
> any
> > > > suggestions! Thank you.
> > > > 
> > > > -Erin
> > > > 
> > > > --- In [EMAIL PROTECTED]
> >  , "bhaq1972"  
> wrote:
> > > > >
> > > > > the getItemAt() function is available but not like the flex 
> 1.5
> > way.
> > > > >
> > > > > you can do the following
> > > > >
> > > > > import mx.collections.IList;
> > > > >
> > > > > public function clickedList():void {
> > > > > //myTiles.getItemAt(1).testFunction();
> > > > > IList(myTiles.dataProvider).getItemAt(1).testFunction();
> > > > > etc
> > > > >
> > > > >
> > > > >
> > > > > --- In [EMAIL PROTECTED]
> >  , "erinwyher" erinwyher@ 
> wrote:
> > > > > >
> > > > > > In Flex 1.5, you use getItemAt() to call functions from the
> > > > > children
> > > > > > of the TileList, but that method no longer exists in F2. 
> Any
> > > > > > suggestions to do this?
> > > > > >
> > > > > > Here is some sample code:
> > > > > >
> > > > > > test.mxml:
> > > > > > 
> > > > > >  > > > > > xmlns:mx="http://www.adobe.com/2006/mxml
> >  "
> > > > > > xmlns:view="view.*"
> > > > > > layout="absolute"
> > > > > > creationComplete="doInit()">
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > >
> > > > > >  > > > > itemRenderer="view.TestComponent"/>
> > > > > >
> > > > > > 
> > > > > >
> > > > > > TestComponent.mxml
> > > > > > 
> > > > > > http://www.adobe.com/2006/mxml
> >  " width="40"
> > > > > > height="30" backgroundColor="#FF3366">
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > >
> > > > >
> > > >
> > >
> >
>




[flexcoders] Re: denying GETs on .NET WSDL web service file...

2007-04-13 Thread scott_flex

Tom,

Well, http://www.fiddler2.com/fiddler2 says it supports SSL but it 
also seems to get in the way and cause trust issues for IE when 
capturing traffic... didn't work to well with FireFox either...  It's 
in a beta state, oh well.  I'll look for another free http tool.

Anyway, i guess i'll just have to expose my wsdl files, was hoping to 
get an easy hit by just hiding them.

I'll keep looking, maybe i'm missing something easy, as usual.  I'm 
no web service security expert, so maybe the route i'm going isn't 
that great anyway.

--Scott


--- In [EMAIL PROTECTED], Tom Chiverton <[EMAIL PROTECTED]> 
wrote:
>
> On Thursday 12 Apr 2007, scott_flex wrote:
> > Not sure what other http network tools anyone uses, but i'll be
> > testing this with Fiddler, a MS http debugging tool.
> 
> Does it intercept SSL ?
> 
> -- 
> Tom Chiverton
> Helping to continually harness professional models
> on: http://thefalken.livejournal.com
> 
> 
> 
> 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 St James's Court Brown Street Manchester M2 
2JF.  A list of members is available for inspection at the registered 
office. Any reference to a partner in relation to Halliwells LLP 
means a member of Halliwells LLP. Regulated by the Law Society.
> 
> 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 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>




Re: [flexcoders] rendererArray - How to process each renderer in a DataGrid

2007-04-13 Thread Tom Chiverton
On Friday 13 Apr 2007, darylgmyers wrote:
> elements contain the rows of data.  When I debug Flex the rendererArray
> is visible and has what I need, but the application errors
> with "ReferenceError: Error #1069: Property rendererArray not found on
> mx.controls.DataGrid and there is no default value."

Is it a public proerty ?

-- 
Tom Chiverton
Helping to augmentatively coordinate collaborative e-commerce
on: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[flexcoders] Re: Referencing methods in dynamically loaded swfs

2007-04-13 Thread gerardjamesmcbreen
Replaced creationComplete with Complete and all works fine - Thanks alex

--- In [EMAIL PROTECTED], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> content is valid until the "complete" event.  creationComplete is too
> soon.
> 
> 
> 
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of gerardjamesmcbreen
> Sent: Thursday, April 12, 2007 5:03 AM
> To: [EMAIL PROTECTED]
> Subject: [flexcoders] Referencing methods in dynamically loaded swfs
> 
> 
> 
> I'm using the swfloader to load swfs which are named in an xml file:
>  id="myLoader" creationComplete="initNestedAppProps(event)" 
> alpha="0.7" />
> 
> All loads fine except I can't reference the loaded swfs via:
> public function initNestedAppProps(e:Event):void {
> loadedSM = e.target.content;
> loaderArray.push(loadedSM);
> }
> 
> public function callee():void { 
> for each(var mc:MovieClip in loaderArray ){
> mc.application["lblResults"].text = "I was just updated";
> }
> 
> In debug loaderArray has only null items
> 
> However when I hard code the swfname in the swfloader tag I can
> reference all props and methods ok. In debug loaderArray has access to
> the loaded swf as expected.
> 
> I'd be grateful for help - Thanks in advance.
>




Re: [flexcoders] Re: Tree component that doesn't display all nodes?

2007-04-13 Thread Michael Schmalle

Hi,

You could also write a custom dataDescriptor that subclasses
DefaultDataDescriptor.

In that class override the getChildren() method and only return the children
you want based on the nodes you want filtered.

Peace, Mike


On 12 Apr 2007 22:22:04 -0700, dorkie dork from dorktown <
[EMAIL PROTECTED]> wrote:


  i see. what i would do is use a lazy loading mechanism. so you only
display the top level branches. when the user opens a branch then you lazy
load the child nodes. when the user opens the branch then you can get the
node they opened and filter the node they opened of all the noshow nodes.

// in the open node event

var filteredNode:XML = myTree.selectedNode.myFilter;
myTree.selectedNode = filteredNode;

actually, i think there is a way to apply a filter on xmllist collection
non destructively. i think maybe you could put your selected node into an
xml list collection and then filter it. if this was AS2 i'd be able to help
you more.


On 12 Apr 2007 18:40:43 -0700, hosey hosey <[EMAIL PROTECTED]> wrote:
>
>   Thanks, I dont believe that can work.
>
> If the data is
> 
>
>   
>   
>
> 
>
> and I set the datasource=data.cb
>
> then the tree appears with hello and all of the following tags.
>
> if I set the datasource =data..cb
> then I get an XMLlist of all of the tags I need , but the first of which
> expands revealing the no show tag
>
> if I set the datasource=data.cb.(nodeName!="noShow").. the first of
> which expands revealing the no show tag
>
>
> Anyways I am looking into creating a filter function, but I think a
> better way is to extned a renderer...but I dont know yet
>
> Thanks
> Hosey
>

 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


[flexcoders] rendererArray - How to process each renderer in a DataGrid

2007-04-13 Thread darylgmyers
I need to process each renderer in a DataGrid.  I have found a 
property - rendererArray - on the DataGrid which looks like what I 
need.  The first array element contains the headers and the rest of the 
elements contain the rows of data.  When I debug Flex the rendererArray 
is visible and has what I need, but the application errors 
with "ReferenceError: Error #1069: Property rendererArray not found on 
mx.controls.DataGrid and there is no default value."

Is this the way I should be processing the DataGrid renderers or is 
there a better way? 



[flexcoders] Re: Referencing methods in dynamically loaded swfs

2007-04-13 Thread gerardjamesmcbreen
___
Hi Alex, 

Thanks for the advice - however I'm noy sure I understand it. When the
swfLoader source was hard coded I could reference the loaded swf's
props however when the name was dynamic via xml I can't.
CreationComplete is the same in both cases?

Help appreciated


--- In [EMAIL PROTECTED], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> content is valid until the "complete" event.  creationComplete is too
> soon.
> 
> 
> 
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of gerardjamesmcbreen
> Sent: Thursday, April 12, 2007 5:03 AM
> To: [EMAIL PROTECTED]
> Subject: [flexcoders] Referencing methods in dynamically loaded swfs
> 
> 
> 
> I'm using the swfloader to load swfs which are named in an xml file:
>  id="myLoader" creationComplete="initNestedAppProps(event)" 
> alpha="0.7" />
> 
> All loads fine except I can't reference the loaded swfs via:
> public function initNestedAppProps(e:Event):void {
> loadedSM = e.target.content;
> loaderArray.push(loadedSM);
> }
> 
> public function callee():void { 
> for each(var mc:MovieClip in loaderArray ){
> mc.application["lblResults"].text = "I was just updated";
> }
> 
> In debug loaderArray has only null items
> 
> However when I hard code the swfname in the swfloader tag I can
> reference all props and methods ok. In debug loaderArray has access to
> the loaded swf as expected.
> 
> I'd be grateful for help - Thanks in advance.
>




[flexcoders] IMenuBarItemRenderer

2007-04-13 Thread mapper2255
Good Morning,

I see in a post dated this year a tutorial on doing vertical menu 
using the IMenuBarItemRenderer.

I just purchased Flex Builder. The version is 2.01. That interface 
does not ship with that version.

Anyone know a good link to do vertical menus?

Thanks.



[flexcoders] IMenuBarItemRenderer

2007-04-13 Thread mapper2255
Good Morning,

I see in a post dated this year a tutorial on doing vertical menu 
using the IMenuBarItemRenderer.

I just purchased Flex Builder. The version is 2.01. That interface 
does not ship with that version.

Anyone know a good link to do vertical menus?

Thanks.



Re: [flexcoders] Re: denying GETs on .NET WSDL web service file...

2007-04-13 Thread Tom Chiverton
On Thursday 12 Apr 2007, scott_flex wrote:
> Not sure what other http network tools anyone uses, but i'll be
> testing this with Fiddler, a MS http debugging tool.

Does it intercept SSL ?

-- 
Tom Chiverton
Helping to continually harness professional models
on: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[flexcoders] yFiles ported to Flex (beta1)

2007-04-13 Thread kosir.milan
Hi all,

just info. yFiles is a good diagramming library, I'm using their yEd
graph editor for long time, because it has powerful layout algorithms
which can  easily handle really big structures...
So, yesterday I discovered, that they released Flex implementation,
which is still in beta, but examples are promising. If somebody is
interesting in diagramming, check it out!
http://live.yworks.com/yfiles-flex/demo/domtree/
http://live.yworks.com/yfiles-flex/demo/graphCanvas/
http://live.yworks.com/yfiles-flex/demo/collapsibleTree/
http://www.yworks.com/en/products_yfilesflex_about.htm

BR Milan



[flexcoders] Does compiler include all the classes from the Flex Library Project used in Flex Project?

2007-04-13 Thread Sergey Kovalyov

Hi All!

I have created separate Flex Library Project with a set of reusable classes,
so that I plan to extend it constantly and use it in different projects.
Since not all the library classes from Flex Library Project will be used in
each and every Flex Project, I worry about optimization - does compiler
include all the classes from the Flex Library Project used in Flex Project
into the resulting SWF or only those which have been used?

Thanks you in advance.

Sergey.


[flexcoders] I am in need of a flex/as3 developer for few hours/days in NY

2007-04-13 Thread whateverjohnlouis
I am in need of a flex/as3 developer for few hours/days. I am a programmer 
myself working 
on a project. I am stuck on some component functionality and I need to sit down 
with 
someone who knows more than me who can answer all my questions. These are the 
technologies-frameworks I am using: RubyOnRails-WebOrb-Cairgorm-Flex2.1-
ActionScript3.0-Manhattan-Brooklyn.

please help




[flexcoders] Re: Is it possible to resize a Cursor dynamically?

2007-04-13 Thread m4cl4rk
--- In [EMAIL PROTECTED], "Rick Schmitty" <[EMAIL PROTECTED]> wrote:
>
> If I had a custom cursor, say a swf object, is it possible to size
> that object or do you have to embed each size you'd like to have?
> 
> 
> For example, say you had a drawing app with a brush stroke, and you
> wanted the cursor to reflect the size of the brush (which the user can
> adjust via slider bar)
>
You could leverage the cursor class(es), no?  Create your cursor as a
custom (AS3?) component, make every single little attribute some kind
of funkycool event listener doohicky.  Drop your shiny new custom
cursor component in your app's bin and then make it size to whichever
conditions your little heart desires?  Oooo!  Make big fat SKINNABLE
cursors!  I want one!  I want TWO!  Lemme know when you're done 'cause
I need them for my top secret project and I'd like to buy it off you
for a box of lemonheads.



[flexcoders] Re: Tilelist in Flex 2 - what to use instead of getItemAt()?

2007-04-13 Thread bhaq1972
sorry i didn't respond to your reply..slipped thru.

continuing from Alex, and having a closer look at your original 
post ..flexcoders is so busy and sometimes i just look at the 
title and give an answer...i'll be a good boy and read the question 
properly next time.

what you actually want is to use the TileList.indexToItemRenderer() 
function. that gives u a reference to the itemrenderer

eg.

myTiles.indexToItemRenderer(1)["testFunction"]();
//or
TestComonent(myTiles.indexToItemRenderer(1)).testFunction();
//or
var object1:TestComponent = myTiles.indexToItemRenderer(1) as 
TestComponent;
object1.testFunction(); 


regards
Bod

--- In [EMAIL PROTECTED], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Erin,
>  
> It looks like your array:
> var arrTest:Array = [1,2,3,4];
> just contains numbers.
>  
> IList(myTiles.dataProvider).getItemAt(1) should return 2;
>  
> 2 is just a number so you it doesn't have a testFunction
>  
> Did you intend to pass 2 into testFunction?
>  
> That would be:
> testFunction(IList(myTiles.dataProvider).getItemAt(1));
>  
> One good way to debug this is to start storing parts of the 
expression
> in temporary variables.
>  
> -Alex
> 
> 
> 
> From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of erinwyher
> Sent: Thursday, April 12, 2007 10:41 AM
> To: [EMAIL PROTECTED]
> Subject: [flexcoders] Re: Tilelist in Flex 2 - what to use instead 
of
> getItemAt()?
> 
> 
> 
> Thanks for the suggestion. My new error is: value is not a 
function.
> This comes up on this new line:
> 
> IList(myTiles.dataProvider).getItemAt(1).testFunction();
> 
> -Erin
> 
> --- In [EMAIL PROTECTED] 
> , "craig.drabik" 
> wrote:
> >
> > Try using an ArrayCollection for your data provider instead of a
> > simple array. 
> > 
> > --- In [EMAIL PROTECTED]
>  , "erinwyher"  
wrote:
> > >
> > > Thanks for the suggestion, but it doesn't work :(. Do you need 
the
> > > latest version of Flex 2 for that to work? I didn't install the
> latest
> > > upgrade (2.1 I believe).
> > > 
> > > When I tried it, I got the following error.
> > > 
> > > TypeError: Error #1006: value is not a function.
> > > at test/clickedList()
> > > at test/___Button1_click()
> > > 
> > > Also, in the debugger, IList(myTiles.dataProvider) cannot be
> evaluated,
> > > and neither can IList(myTiles.dataProvider).getItemAt
(any_number)
> > > 
> > > Any more ideas? I really need help with this and I appreciate 
any
> > > suggestions! Thank you.
> > > 
> > > -Erin
> > > 
> > > --- In [EMAIL PROTECTED]
>  , "bhaq1972"  
wrote:
> > > >
> > > > the getItemAt() function is available but not like the flex 
1.5
> way.
> > > >
> > > > you can do the following
> > > >
> > > > import mx.collections.IList;
> > > >
> > > > public function clickedList():void {
> > > > //myTiles.getItemAt(1).testFunction();
> > > > IList(myTiles.dataProvider).getItemAt(1).testFunction();
> > > > etc
> > > >
> > > >
> > > >
> > > > --- In [EMAIL PROTECTED]
>  , "erinwyher" erinwyher@ 
wrote:
> > > > >
> > > > > In Flex 1.5, you use getItemAt() to call functions from the
> > > > children
> > > > > of the TileList, but that method no longer exists in F2. 
Any
> > > > > suggestions to do this?
> > > > >
> > > > > Here is some sample code:
> > > > >
> > > > > test.mxml:
> > > > > 
> > > > >  > > > > xmlns:mx="http://www.adobe.com/2006/mxml
>  "
> > > > > xmlns:view="view.*"
> > > > > layout="absolute"
> > > > > creationComplete="doInit()">
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > >
> > > > >  > > > itemRenderer="view.TestComponent"/>
> > > > >
> > > > > 
> > > > >
> > > > > TestComponent.mxml
> > > > > 
> > > > > http://www.adobe.com/2006/mxml
>  " width="40"
> > > > > height="30" backgroundColor="#FF3366">
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > >
> > > >
> > >
> >
>




[flexcoders] stamping an expiration date on cached files

2007-04-13 Thread giladozer
Hi,

My App reloads every 5 sec a XML file. 
How do I avoid from loading the cached one? Alternatively, if my line 
of thought goes the right way, how to I control/set an expiration date 
to the xml file created in the cache directory?

Thanks
Gilad




[flexcoders] Re: Apollo TShirt

2007-04-13 Thread scalenine
Here's the initial blog post with a link to the store.

http://scalenine.com/blog/2007/03/22/apollo-tshirts-now-available/

At the moment all are sold out.

Juan
scalenine.com

--- In [EMAIL PROTECTED], "dfortenberry" <[EMAIL PROTECTED]>
wrote:
>
> --- In [EMAIL PROTECTED], "Stefan Schmalhaus"  
> wrote:
> >
> > --- In [EMAIL PROTECTED], "scalenine"  wrote:
> > >
> > > In case anyone is interested I made some Apollo TShirts based on
> > > community input and they are now for sale. 
> > 
> > I hope you don't get in trouble with Adobe because of using the Apollo
> > logo for commercial purposes.
> >
> 
> Where can I view a T-shirt?
> 
> Thanks
>




[flexcoders] Re: Bubble charts with only one bubble

2007-04-13 Thread gaurav1146
I did face this issue in my application which I had mentioned in the
post titled "Bubble Charts (size of the bubble)". I presumed that it
was due to some error on my part in slicing the ArrayCollection with
the slider movement  which was causing this to happen. I have not
investigated it completely but now that you mention I think there
might be some issue with display of a single bubble on the chart.

Regards,
Gaurav

--- In [EMAIL PROTECTED], "simonjpalmer" <[EMAIL PROTECTED]>
wrote:
>
> Has anyone experienced the problem of a bubble chart with a single
> bubble not showing that bubble?  
> 
> If I add a second bubble the pair appear, if I remove one of them they
> both disappear.
> 
> I have been inspecting the contents of the renderData on the
> BubbleSeries.  When there is a single data point in the biinding the
> cache contains it as a BubbleSeriesItem and the filteredCache is
> empty.  The cache value has no x, y, z or itemRenderer set up.
> 
> When a second gets added they both appear in the filteredCache and
> they have their values populated.
> 
> I have tried various hacks like moving data from one to another and
> messing around with the x, y and z values myself, all with pretty
> disastrous effects.  
> 
> It seems too much of an oversight for the bubble chart to not work
> with a single bubble, so what am I missing?
>




Re: [flexcoders] Re: Flex 1.5 Question

2007-04-13 Thread Jatin Nanda

Thanks Alex, I will give that a go as well.
Thanks to all for your assistance on this.

Cheers,

J

On 12 Apr 2007 09:47:50 -0700, Alex Harui <[EMAIL PROTECTED]> wrote:


   OK.  FWIW, you could go back to UIComponent and use beginFill,
moveTo/lineTo/endFill to draw the background yourself.  It will be slightly
faster and smaller than using VBox.

 --
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On
Behalf Of *Jatin Nanda
*Sent:* Thursday, April 12, 2007 3:34 AM
*To:* [EMAIL PROTECTED]
*Subject:* Re: [flexcoders] Re: Flex 1.5 Question

 Hi Doug, Alex,

Thx for your emails. Got it to work, I just changed my cell renderer from
extending UIComponent to extending VBox. Thanks for the hint :-)

Cheers,

J

On 11 Apr 2007 17:59:53 -0700, Doug Lowder < [EMAIL PROTECTED]>
wrote:
>
>   Ah, sorry, I missed the fact that it was for a single cell instead of
> the entire row.
>
> So do you already have a cell renderer based on something like HBox,
> and if so have you tried setting the backgroundColor property? What
> happened? I would think that should work. I'll see if I can put
> together a working example.
>
> --- In [EMAIL PROTECTED] , "Jatin
> Nanda" <[EMAIL PROTECTED]> wrote:
> >
> > HI Doug,
> >
> > Thanks for the tip - but unfortunately it affects the whole row, not
> just
> > one cell ...
> >
> > Tried changing the bgcolor, which doesn't seem to work either. Any
> other
> > thoughts?
> >
> > Thanks in advance,
> >
> > J
> >
> > On 11 Apr 2007 12:58:15 -0700, Doug Lowder <[EMAIL PROTECTED]> wrote:
> > >
> > > In 1.5, you can do this directly from the datagrid with the
> > > setPropertiesAt() method - no cell renderer required.
> > >
> > > myGrid.setPropertiesAt(rowIndex, {backgroundColor: 0xFF});
> > >
> > > If you must use a cellrenderer, just set the background of your
> > > container (canvas, hbox, or what have you) in the setValue() method,
> > > based on the row data.
> > >
> > > --- In [EMAIL PROTECTED] 
 roups.com>,
> "Jatin
> > > Nanda" 
> > >
> > > wrote:
> > > >
> > > > Dear All,
> > > >
> > > > I need to know how you use a custom cell renderer to change the
> > > > background colour of a cell in a grid.
> > > >
> > > > Plenty of exampled for Flex 2.0, but I need to do it in Flex 1.5
> > > >
> > > > Know anyone who might have an answer?
> > > >
> > > > Thanks in advance,
> > > >
> > > >
> > > > J
> > > >
> > >
> > >
> > >
> >
>
>