[flexcoders] app loading

2008-08-18 Thread Robert Brueckmann
Strangest behavior ever.  We are looking to move from Weblogic 8.1 to
Weblogic 10.  We have an Apache 1.3 web server and we're using the
Weblogic-Apache plug-in that routes requests to certain URLs to the
Weblogic server.  URL http://abc http://abc/  sends requests to
Weblogic 8.1 which hosts our Flex app, http://abc10 http://abc10/
sends requests to THE SAME Flex app on Weblogic 10.  

 

Going to abc loads up the login page to our Flex app, no problem,
regardless of browser.  Going to apb10 results in a blank page on
Internet Explorer, all other browsers load the app up perfectly.  If you
go to apb10 using Internet Explorer and get the blank page, if you hit
the F5 key and refresh the page, the application loads up fine.  WHAT
THE HECK could be causing this type of behavior?!

 

Anyone using the WLS10-Apache plug-in with various mappings pointing to
your Flex app and have them working ok in Internet Explorer?  This is
the strangest thing and the best part is refreshing the browser brings
the app up ok.  We're pulling our hair out here.  We see the HTTP
requests being made to the various wrapper files and the resultant swf
file...it's just not loading in the browser the first time you go there
in IE.  I've tried about 10 different computers, IE 6, IE 7, etc. to no
avail...an old Netscape browser, Safari, Firefox 2 and 3 both bring the
apb10 site up first time without an issue...Damn you Internet Explorer!
Damn you!

 

I'm going to have our systems guy try setting up Apache 2.0 with the
latest WLS-Apache plug-in but seriously...this is mind-numbing.  Any
thoughts?

 

robert l. brueckmann

vice president

merlin securities

712 fifth avenue

new york, ny 10019

p: 212.822.4821
f: 212.822.4820 



Merlin Securities - #1 Prime Broker North America and #1 Prime Broker Single 
Strategy Funds - Global Custodian 2007
#1 Prime Broker for Hedge Funds under $1 Billion - Alpha Survey 2007



 
--
This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.




[flexcoders] Flex 1.5 - RemoteObject request timeout

2008-01-10 Thread Robert Brueckmann
We still support a Flex 1.5 app I wrote 3 years ago that our clients use
to run reports with.  I'm in the midst of upgrading the entire app to
Flex 2+, but of course the db people keep adding reports and one
recently added report is for the admin-side only and is a crude report
that can sometimes take over 5 minutes to return from the database with
data.

 

We have a setup as follows: Apache + Weblogic + firewall + Oracle
database.  Here's the weird thing...if only one person runs the report
at any given time...it may take about 4.5 minutes, I see the call made
to the database, I watch the log and see after 4+ minutes, the call to
the stored procedure return to the application server and the original
method return to the front-end and Flex correctly displays the report.
If I open two browsers or have a coworker hit the report within a few
seconds of my initial request and these two requests are made, a.) the
call to the database takes a minute or so longer (I know the db people
need to optimize this, but this is what I'm dealing with up front) and
b.) I see it come back and the data returned to the front-end but the
Flex app on either my or my coworker's machine or either browser
(dependent on how I'm testing) does not get the returned response.  The
clock busy cursor just continues to spin.

 

I've searched the archives and it seems a few people have posted similar
problems but nobody has posted what their absolute resolution was.
Anyone know anything about this?  I literally see the data returned to
the Flex application in the app server log but my Cairngorm command
class result/fault handlers never capture anything and the busy cursor
just keeps spinning.  Anyone know anything about this or should I make
use of my Flex support contract?  Could this be a timeout between the
apache and weblogic layer?  I checked with the systems guys and they
claim that the request timeout feature of apache isn't being used but I
don't know if there is a default setting that apache uses...I guess I'll
check that out...but any feedback would be GREATLY appreciated.

 

Thanks so much for anything!

 

rlb

Merlin Securities - #1 Prime Broker North America and #1 Prime Broker Single 
Strategy Funds - Global Custodian 2007
#1 Prime Broker for Hedge Funds under $1 Billion - Alpha Survey 2007



 



This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.




RE: [flexcoders] Flex 1.5 - RemoteObject request timeout

2008-01-10 Thread Robert Brueckmann
Well, just for anyone interested, I did a little more digging and there
is an Apache-Weblogic connector that is used and there are settings for
this connector:

 

http://edocs.bea.com/wls/docs81/plugins/plugin_params.html

 

The one of interest for those with similar setups is 'WLIOTimeoutSecs'.
The default is 5 minutes, any request that takes longer is considered
timed out and I guess a 503 (?) status is sent to Flex but Flex isn't
catching this and just acts like it's still waiting for a response.  I
changed this setting to 10 minutes and the process that was previously
finishing past 5 minutes still takes the same amount of time but Flex
app regains control now because the request hadn't timed out.  

 

robert l. brueckmann

vice president

merlin securities

712 fifth avenue

new york, ny 10019

p: 212.822.4821
f: 212.822.4820



Merlin Securities - #1 Prime Broker North America and #1 Prime Broker Single 
Strategy Funds - Global Custodian 2007
#1 Prime Broker for Hedge Funds under $1 Billion - Alpha Survey 2007




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Thursday, January 10, 2008 10:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 1.5 - RemoteObject request timeout

 

We still support a Flex 1.5 app I wrote 3 years ago that our clients use
to run reports with.  I'm in the midst of upgrading the entire app to
Flex 2+, but of course the db people keep adding reports and one
recently added report is for the admin-side only and is a crude report
that can sometimes take over 5 minutes to return from the database with
data.

 

We have a setup as follows: Apache + Weblogic + firewall + Oracle
database.  Here's the weird thing...if only one person runs the report
at any given time...it may take about 4.5 minutes, I see the call made
to the database, I watch the log and see after 4+ minutes, the call to
the stored procedure return to the application server and the original
method return to the front-end and Flex correctly displays the report.
If I open two browsers or have a coworker hit the report within a few
seconds of my initial request and these two requests are made, a.) the
call to the database takes a minute or so longer (I know the db people
need to optimize this, but this is what I'm dealing with up front) and
b.) I see it come back and the data returned to the front-end but the
Flex app on either my or my coworker's machine or either browser
(dependent on how I'm testing) does not get the returned response.  The
clock busy cursor just continues to spin.

 

I've searched the archives and it seems a few people have posted similar
problems but nobody has posted what their absolute resolution was.
Anyone know anything about this?  I literally see the data returned to
the Flex application in the app server log but my Cairngorm command
class result/fault handlers never capture anything and the busy cursor
just keeps spinning.  Anyone know anything about this or should I make
use of my Flex support contract?  Could this be a timeout between the
apache and weblogic layer?  I checked with the systems guys and they
claim that the request timeout feature of apache isn't being used but I
don't know if there is a default setting that apache uses...I guess I'll
check that out...but any feedback would be GREATLY appreciated.

 

Thanks so much for anything!

 

rlb



Merlin Securities - #1 Prime Broker North America and #1 Prime Broker
Single Strategy Funds - Global Custodian 2007
#1 Prime Broker for Hedge Funds under $1 Billion - Alpha Survey 2007



 



This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.

  

Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitation or recommendation to buy or sell a particular
security.


 



This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer

[flexcoders] flexcoders mail-archive search

2007-01-17 Thread Robert Brueckmann
I'd check to see if anyone has written in about this issue yet but
unfortunately I can't search the archives, hence my issue...

 

Is anyone able to search the flexcoders' mail-archive website?  No
matter what I've tried for the last 2 weeks or so, searching the
mail-archive for flexcoders results in a custom 404 Page Not Found error
page...is this being looked into?  Does anyone know how to get in touch
with them to see what's going on?  Sorry if this has been rehashed a
thousand times but Yahoo's search takes eons to find anything any I
purge my Flexcoders folder in Outlook every couple of days and haven't
seen anyone posting anything about this recently...

 

Anyone?

 

robert l. brueckmann

vice president

merlin securities

712 fifth avenue

new york, ny 10019

p: 212.822.4821
f: 212.822.4820 


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean.
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


[flexcoders] Flex Builder 2 - Setting Default Application

2006-12-22 Thread Robert Brueckmann
I have no idea where to begin my search terminology in the archive to
see if anyone has asked/answered this already...I tried an infinite
number of combinations to no avail, so I'm starting a new thread in
hopes that someone can help.  

 

I'm using a split directory development/deployment model for my sample
java webapp which I have set up through Eclipse...I've added the Flex
Project nature to my Eclipse project and that's where I get a little
confused.  The Flex Nature is added to the root of the project and there
does not seem to be any way for me to change this...the root of my
Eclipse project is not my web app root...it's an enterprise application
with a series of subfolders structured like:

 

- sampleApp

olib

odist

obuild

osrc

* core

* dao

* sampleEJBs

* ...

* sampleEAR

* APP-INF

* META-INF

* sampleWebApp

oimages

oWEB-INF

oassets

oSample.mxml

o...

* ...

 

The Flex Project Nature was added to the sampleApp directory but it
seems to me that it should be in my sampleWebApp directory...then I
thought I could just create an MXML file in my sampleWebApp directory
and set it as the 'Default Application' but it's greyed out when I
right-click on my Sample.mxml file.

 

Do I just ignore all of this and go with the flow or do I need to
structure my entire application differently in order to have this all
work properly?  I'm just checking before I really get developing in
Flex...

 

Any help is greatly appreciated.

 

Thanks, 

 

Rob


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean.
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



RE: {Disarmed} [flexcoders] Flex Builder 2 - Setting Default Application

2006-12-22 Thread Robert Brueckmann
Nevermind...I switch to the Flex Development perspective in Eclipse
which I forgot about and found all the settings I needed to set to
change the main source folder to accommodate my situation.  

 

Thanks and sorry for the useless query!

 

robert l. brueckmann

vice president

merlin securities

712 fifth avenue

new york, ny 10019

p: 212.822.4821
f: 212.822.4820



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Friday, December 22, 2006 11:47 AM
To: flexcoders@yahoogroups.com
Subject: {Disarmed} [flexcoders] Flex Builder 2 - Setting Default
Application

 

I have no idea where to begin my search terminology in the archive to
see if anyone has asked/answered this already...I tried an infinite
number of combinations to no avail, so I'm starting a new thread in
hopes that someone can help.  

 

I'm using a split directory development/deployment model for my sample
java webapp which I have set up through Eclipse...I've added the Flex
Project nature to my Eclipse project and that's where I get a little
confused.  The Flex Nature is added to the root of the project and there
does not seem to be any way for me to change this...the root of my
Eclipse project is not my web app root...it's an enterprise application
with a series of subfolders structured like:

 

- sampleApp

olib

odist

obuild

osrc

* core

* dao

* sampleEJBs

* ...

* sampleEAR

* APP-INF

* META-INF

* sampleWebApp

oimages

oWEB-INF

oassets

oSample.mxml

o...

* ...

 

The Flex Project Nature was added to the sampleApp directory but it
seems to me that it should be in my sampleWebApp directory...then I
thought I could just create an MXML file in my sampleWebApp directory
and set it as the 'Default Application' but it's greyed out when I
right-click on my Sample.mxml file.

 

Do I just ignore all of this and go with the flow or do I need to
structure my entire application differently in order to have this all
work properly?  I'm just checking before I really get developing in
Flex...

 

Any help is greatly appreciated.

 

Thanks, 

 

Rob


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean. 
-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean. 

 



This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.

  

Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitation or recommendation to buy or sell a particular
security.


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean. 


 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



[flexcoders] Flex 1.5 - Initail progress bar stuck

2006-11-19 Thread Robert Brueckmann
We have a Flex 1.5 app our clients use.  99.% of the time when our
sales people go on a demo for a potential client, the app loads just
fine.  That .0001% of the time, the initial progress bar gets to a
certain percentage and just sticks.  In one situation, having the sales
person demoing use or install Firefox on the client's machine did the
trick.  We have a similar situation with a potential client and we have
tried everything.  We've cleared caches on both browsers, we've
uninstalled and reinstalled the Flash plug-ins for both IE and
Firefox...we've upgraded to IE 7...no matter what we do, the app loads
up and stops at 8%.  It loads for every other existing client and every
other demo sales goes on...it loads on all of our local machines
in-office...this one single client's office cannot load the app...and
the best part is, it loaded for them last week when the sales first went
to demo.  They went in for round two this past week and the app will not
pass 8% on any of their machines.

 

Any suggestions?

 

robert l. brueckmann

vice president

merlin securities

712 fifth avenue

new york, ny 10019

phone: 212.822.4821

fax: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



RE: [flexcoders] Grid

2006-06-14 Thread Robert Brueckmann









Try looking at the custom cell renderer examples
to get checkbox and comboboxes in your datagrid by running the samples
webapp that comes with the Flex installation (of checking it out at the bottom
of this page: http://www.adobe.com/devnet/flex/example_apps.html) or you can
read about it all in the examples in the documentation here:



http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/wwhelp.htm
and click on search and searching for custom cell renderer



Or at richinternetapp.com here: http://www.richinternetapps.com/archives/72.html
for a great combobox cell renderer example.



Hope that helps. 





robert l. brueckmann

vice president

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of hitch_nj
Sent: Wednesday, June 14, 2006
2:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Grid











Hi,
I am new to Flex, and am having this problem. Would really appreciate
if anyone can help me.

Overview: I have an excel sheet which I need to replicate in Flex 1.5.
There is a checkbox, a ComboBox and lots of cells with data.
Issue: I tried using the mx:Model tag to populate the cells, and was
successfull partially, till I got an error like this:

A function in the code exceeds the 64K byte limit (actual size =
'74071'). Since the problem occurs in the compiler-generated deferred
instantiation code, please refactor/componentize portions of this
document.

This was when all hell broke loose. I have some colleagues who have
worked on Flex and they told me that I can overcome this problem if I
include another mxml file in the parent. I tried that, but now the
issue is that my parent file refers to an actionScript file. The
ComboBox is in the parent and I am refering to it in the child so the
.as file gives me errors.

I can go on forever, but someone suggested me to create my custom
Grid, and I have no idea how to do that.

Could anyone please tell me what I can do.

Thanks in advance.










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Flex 1.5 - windows memory usage

2006-05-31 Thread Robert Brueckmann









Just wanted to take a poll on size of
Flex app versus memory usage in windows when using Internet Explorer and
Firefox.



I have a rather large application and
pretty much everything in the damn thing needs to be created dynamically based
on user privileges and entitlementapplications they have access to,
reports they have access to, accounts they have access to. Its
frustrating but Flex does a great job, but we take a performance hit because of
all this dynamic mumbo-jumbo and when I run the app in Internet Explorer, it
seems to level out around ~110 megs of ram which seems awfully high but I am
using a lot of components within componentscharts in accordion panes in
viewstacks with datagrids behind them, etc.



SoI just was curious what the
typical flex app running in these browsers costs my fellow developers in memoryanyone?



Thanks in advance!





robert l. brueckmann

vice president

merlin securities

595 madison avenue

new york,ny 10022



p: 212.822.4821
f: 212.822.4820











This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flex 1.5 - column chart question

2006-05-19 Thread Robert Brueckmann









I scoured the archives and APIs but
couldnt find anything to allow me to ensure that the zero vertical axis
is ALWAYS shown. I have a column chart whos dataset contains all
negatives and when the chart displays, the columns are suspended from nothing
at the top of the chartitd be nice if they looked like they were
coming from a vertical zero axis. Ive tried:



mx:verticalAxis

 mx:LinearAxis
baseAtZero=true autoAdjust=true /

/mx:verticalAxis



Based on what I found in the APIs, this
alludes to doing what I want in the chart, but the zero vertical axis still
does not appear. 



Is there any way to ensure (FORCE) it
will always be visible?



This is what the chart looks like right
now, for those with HTML email programs:







See how the columns appear to be
suspended from nothing? I want the zero vertical axis to be visible to
show that these are actually negative numbersI mean, its pretty
obvious when you look at the vertical labels but it would still be nice to have
that extra visual aid



Any help would be greatly appreciated!



Thanks in advance,





robert l. brueckmann

vice president

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex 1.5 - column chart question

2006-05-19 Thread Robert Brueckmann









Thanks a lot Ely. Much appreciated for
both options!





robert l. brueckmann

vice president

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ely Greenfield
Sent: Friday, May 19, 2006 4:04 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 1.5
- column chart question









HiRobert. The problem is that
there's not enough room on the axis to show all the labels, so the axis is
dropping labels to make room. It drops labels from the bottom up, so the one on
the top may or may not appear depending on the number and size of your labels.
In this case, it's getting dropped.



One way I can think of to fix this would
be to set the canDropLabels property on the verticalAxisRenderer to false.
Unfortunately, you'll end up with more labels that will be scaled down to
fit...But you'll get your zero axis.









If all you care about is getting the zero
_line_ to appear (not the label), you could set the horizontalShowOrigin style
of the GridLines class to true. That should get you an origin line.











GridLines {





 horizontalShowOrigin: true;





}











Ely.





















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: Friday, May 19, 2006 12:57
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 1.5 -
column chart question



I scoured the archives and APIs but
couldnt find anything to allow me to ensure that the zero vertical axis
is ALWAYS shown. I have a column chart whos dataset contains all
negatives and when the chart displays, the columns are suspended from nothing
at the top of the chartitd be nice if they looked like they were
coming from a vertical zero axis. Ive tried:

mx:verticalAxis


mx:LinearAxis baseAtZero=true autoAdjust=true /

/mx:verticalAxis

Based on what I found in the
APIs, this alludes to doing what I want in the chart, but the zero vertical
axis still does not appear. 

Is there any way to ensure
(FORCE) it will always be visible?

This is what the chart looks
like right now, for those with HTML email programs:





See how the columns appear to
be suspended from nothing? I want the zero vertical axis to be visible to
show that these are actually negative numbersI mean, its pretty
obvious when you look at the vertical labels but it would still be nice to have
that extra visual aid

Any help would be greatly
appreciated!

Thanks in advance,



robert l.
brueckmann



vice president



merlin securities



595 madison avenue



new york,ny 10022



p: 212.822.4821
f: 212.822.4820



















This message contains information
fromMerlin Securities, LLC, or from one of its affiliates, that may be
confidential and privileged. If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this information
and note that such actions are prohibited. If you have received this
transmission in error, please notify the sender immediately by telephone or by
replying to this transmission.





Merlin Securities, LLC is a registered
broker-dealer. Services offered throughMerlin Securities, LLC are not
insured by the FDIC or any other Federal Government Agency, are not deposits of
or guaranteed byMerlin Securities, LLCand may lose value. Nothing
in this communication shall constitute a solicitation or recommendation to buy
or sell a particular security.










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS

RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-25 Thread Robert Brueckmann



Thanks Suzy but my problem isn't with populating a combobox...my
combobox of users populates just fine, when I select a user from the
list and the user is fetched, the user object whose fields are bound to
various textinput fields in my form are not shown...it's only when I
'touch' the file and refresh my browser, is the user information shown
correctly in the textinput components of my form...I can't grasp why
this would be happening...

robert l. brueckmann
vice president
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Suzy Lawson
Sent: Monday, April 24, 2006 7:32 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to
TextInput help please

Roger,
 I have faced the same problem. The reason is that when you deploy it
the server for the first time, nothing is compiled. So in your initial
request, your application returns the users before it has compiled and
created the component...so your call to set the combo box with user
silenty fails. When you hit refresh, since everything is already
compiled, it can set the combobox with the data in time.

Put your logic to fetch the XML user in the creationComplete method of
your mx:Combobox...or somewhere where you know it is created. 

hope this helps. cheers.

--- In flexcoders@yahoogroups.com, Robert Brueckmann
[EMAIL PROTECTED] wrote:

 I tried searching the archives and couldn't find anything relevant to
 what we're doing here, so I'm hoping someone can explain something:
 
 
 
 
 
 1. User logs in
 
 2. XML is returned with all applications user has access to
 
 3. Tab Navigator component is generated on the fly with tabs
 labeled according to application names in XML returned from DB.
Actual
 MXML component each tab is linked to is not yet created upon creation
of
 the TabNavigator...ONLY when the user clicks on a tab, is the
 appropriate MXML component created.
 
 4. One of the tabs is a user admin form where an admin user can
 select any of the system users from a list and edit their information
 
 5. All fields in this form are bound to
 ModelLocator.selectedUser.someField
 
 6. Admin user selects user from list and in the result method of
my
 command class that retrieves the user, the code is simply
 ModelLocator.selectedUser = UserAdminVO(event.result);
 
 7. The VERY first time the application is deployed and the
 application server restarted, and the application compiles for the
first
 time, the TextInput components DO not get updated with the bound
 selectedUser's information. My trace statements in the command class
 SHOW the selectedUser object getting set and the field values there,
but
 my TextInput components do not reflect this information.
 
 8. If I open up FlexBuilder and open my UserAdmin.mxml file,
simply
 hit the spacebar, and save it (the file is automatically uploaded to
my
 app server) and I hit the refresh button on my browser, go to the User
 Admin tab and select a user, magically, the user info is displayed as
it
 should.
 
 9. If I try to redploy the code and restart the app server again,
 I'm back to square one.
 
 
 
 
 
 What the HECK is going on here? It's like a bug in the binding of a
VO
 to the TextInput components does not work upon initial compilation on
 dynamically created components...not until I TOUCH the component MXML
 file and refresh the browser, forcing the Flex compiler to recompile
the
 app, do the fields actually show the properly bound information.
 
 
 
 Any thoughts?
 
 
 
 robert l. brueckmann
 
 vice president
 
 merlin securities
 
 595 madison avenue
 
 new york, ny 10022
 
 p: 212.822.4821
 
 f: 212.822.4820
 
 
 
 This message contains information from Merlin Securities, LLC, or
from one of its affiliates, that may be confidential and privileged.
If you are not an intended recipient, please refrain from any
disclosure, copying, distribution or use of this information and note
that such actions are prohibited. If you have received this
transmission in error, please notify the sender immediately by
telephone or by replying to this transmission.
 
 Merlin Securities, LLC is a registered broker-dealer. Services
offered through Merlin Securities, LLC are not insured by the FDIC or
any other Federal Government Agency, are not deposits of or guaranteed
by Merlin Securities, LLC and may lose value. Nothing in this
communication shall constitute a solicitation or recommendation to buy
or sell a particular security.







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



 


This message contains information from Merlin Securities, LLC, or from one of its affiliates

RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-25 Thread Robert Brueckmann
);
  }

  if ( value.addrstreet== || value.addrstreet==undefined
) {
   validator.validationError(addrstreetMissing,
You
must enter the street address, addrstreet);
  }

  if ( value.addrcity== || value.addrcity==undefined ) {
   validator.validationError(addrcityMissing,
You
must enter the city address, addrcity);
  }

  if ( value.addrpostcode== ||
value.addrpostcode==undefined
) {
   validator.validationError(addrpostcodeMissing,
You must enter the post code, addrpostcode);
  }

 }

Its not at all efficient because I validate the form on every change of
every field so there is lots of testing going on - but that's because I
need
it to highlight errors as they are being typed or being resolved

This seems to work for me.

If you are not experiencing the Validator/Binding problem - ignore all
of
this!

Regards,
Simon




-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Suzy Lawson
Sent: 25 April 2006 14:17
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to
TextInput
help please

Have you tried debugging? set a breakpoint in your onResult of the
Command
class and where you explictly set the selectedUser in the model locator.
Once that line has passed, you should stop again then check your text
box to
see if it has the value. I find I get a lot further debugging then using
trace statements. Then repeat the process with the second hit when the
behavior works OK. This should hopefully identify your issue.

--- In flexcoders@yahoogroups.com, Robert Brueckmann 
[EMAIL PROTECTED] wrote:

 Thanks Suzy but my problem isn't with populating a combobox...my 
 combobox of users populates just fine, when I select a user from the 
 list and the user is fetched, the user object whose fields are
bound to
 various textinput fields in my form are not shown...it's only when I 
 'touch' the file and refresh my browser, is the user information
shown
 correctly in the textinput components of my form...I can't grasp why 
 this would be happening...
 
 robert l. brueckmann
 vice president
 merlin securities
 595 madison avenue
 new york, ny 10022
 p: 212.822.4821
 f: 212.822.4820
 -Original Message-
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
 Behalf Of Suzy Lawson
 Sent: Monday, April 24, 2006 7:32 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to 
 TextInput help please
 
 Roger,
 I have faced the same problem. The reason is that when you deploy
it
 the server for the first time, nothing is compiled. So in your
initial
 request, your application returns the users before it has compiled
and
 created the component...so your call to set the combo box with user 
 silenty fails. When you hit refresh, since everything is already 
 compiled, it can set the combobox with the data in time.
 
 Put your logic to fetch the XML user in the creationComplete method
of
 your mx:Combobox...or somewhere where you know it is created. 
 
 hope this helps. cheers.
 
 --- In flexcoders@yahoogroups.com, Robert Brueckmann
 rbrueckmann@ wrote:
 
  I tried searching the archives and couldn't find anything
relevant to
  what we're doing here, so I'm hoping someone can explain
something:
  
  
  
  
  
  1. User logs in
  
  2. XML is returned with all applications user has access to
  
  3. Tab Navigator component is generated on the fly with tabs
  labeled according to application names in XML returned from DB.
 Actual
  MXML component each tab is linked to is not yet created upon
creation
 of
  the TabNavigator...ONLY when the user clicks on a tab, is the 
  appropriate MXML component created.
  
  4. One of the tabs is a user admin form where an admin user 
can
  select any of the system users from a list and edit their
information
  
  5. All fields in this form are bound to
  ModelLocator.selectedUser.someField
  
  6. Admin user selects user from list and in the result 
method of
 my
  command class that retrieves the user, the code is simply 
  ModelLocator.selectedUser = UserAdminVO(event.result);
  
  7. The VERY first time the application is deployed and the
  application server restarted, and the application compiles for the
 first
  time, the TextInput components DO not get updated with the bound 
  selectedUser's information. My trace statements in the command
class
  SHOW the selectedUser object getting set and the field values
there,
 but
  my TextInput components do not reflect this information.
  
  8. If I open up FlexBuilder and open my UserAdmin.mxml file,
 simply
  hit the spacebar, and save it (the file is automatically uploaded
to
 my
  app server) and I hit the refresh button on my browser, go to the
User
  Admin tab and select a user, magically, the user info is
displayed as
 it
  should.
  
  9. If I try to redploy the code and restart the app server 
again,
  I'm back to square one.
  
  
  
  
  
  What the HECK is going on here? It's like a bug in the binding
of a
 VO

RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-25 Thread Robert Brueckmann



I'll play with the config file and let you know what I find...thanks
again for the help! Gotta love these things that you spend days on with
no obvious cause...grrr! Thanks again!

Cheers,

robert l. brueckmann
vice president
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Simon Fifield
Sent: Tuesday, April 25, 2006 1:52 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to
TextInput help please

Hi Robert,

Although on the surface of things our problems were not the same, I'll
bet
it's the same thing somewhere under the hood of the Flex 1.5 compiler
that
is causing these strange binding problems to occur.

I keep reading of more and more people that are encountering this
binding/compilation bug.

Have you tried changing your flex-config.xml settings to not keep the
compiled mxml components:

 !-- cache compiled custom components as swo files --
 cache-swosfalse/cache-swos

And maybe try some of the other cache/compiling settings to see if this
resolves your problem. Compiling may be a little slower but it may be a
better workaround than you currently have.


With the growing number of people having these mysterious problems I
wonder if Adobe are going to release an update to resolve them.


Regards,
Simon



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: 25 April 2006 18:19
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to
TextInput help please

Thanks for taking the time for the detailed reply Simon! I WISH it was
validator related. In one instance, I am using a validator but the
first
time I saw this behavior was in a simple MXML file that had 3 lists that
get
populated with 3 separate message types and directly next to the lists
is a
title label and a text area...when the user clicks on a message in any
of
the 3 lists, the title and text area should be updated with the selected
message's title and body content.

The title label and body text area have their text attributes bound to
{ModelLocator.selectedMessage.title} and
{ModelLocator.selectedMessage.body}
respectively and the change listener on all 3 of the lists is simple
ModelLocator.selectedMessage = event.target.selectedItem;

This NEVER works upon first compilation after a fresh server restart.
If I 'touch' the file that contains this message reader component and
refresh my browser...magically, the title and body start appearing when
I
select a message in the lists.

This behavior escapes me and is obviously not conducive to a production
release because I can't exactly go in and 'touch' all necessary files
for
this behavior to be fixed...this should work the first time.

I even have a test button on the message reader page that, upon first
time
server start and app compilation, when I click on a message and the
ModelLocator.selectedMessage object have been set but the title and body
do
not appear, I can click on this button and in an alert body display the
title and the body of the selectedMessage object...I am confirming the
selectedMessage object is getting set with the proper information, the
damn
TextInput components do not want to show it to me though...if I open up
FlexBuilder, open up my MessagerReader.mxml file, hit the spacebar,
backspace and then save it, refresh my browser...magically it all works
properly. It's that initial load that is completely baffling me.

I've tried debugging and because my components are being created as
children
on the fly it doesn't see the breakpoints I'm setting up. I'm at a
loss. 

My work around, and this is the kicker, if I take the two fields that
currently, in the same component, reside next to the 3 lists, and wrap
them
up into their own MXML file component and add a COMPLETELY EMPTY

public function set message(m:Message){}

method call in this new wrapped up component and then in the original
message reader component, do this:

comp:MessageReaderFields width=100% height=100%
message={ModelLocator.selectedMessage} /

And now, when I select a message, first compilation, 14th compilation,
1st
server restart, 10th server restart, the message title and body field
binding to the ModelLocator.selectedMessage object in my new embedded
component work as they should. Makes sense, right? Nope. Not even a
little bit.

Whatever...looks like I have a work-around for the time being...

robert l. brueckmann
vice president
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Simon Fifield
Sent: Tuesday, April 25, 2006 11:33 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 1.5 - Cairngorm .99 - Binding VO to
TextInput help please

Are/have you

[flexcoders] Flex 1.5 - Cairngorm .99 - Binding VO to TextInput help please

2006-04-24 Thread Robert Brueckmann









I
tried searching the archives and couldn't find anything relevant to what we're
doing here, so I'm hoping someone can explain something:





1.
User logs in

2.
XML is returned with all
applications user has access to

3.
Tab Navigator component is
generated on the fly with tabs labeled according to application names in XML
returned from DB. Actual MXML component each tab is linked to is not yet
created upon creation of the TabNavigator...ONLY when the user clicks on a tab,
is the appropriate MXML component created.

4.
One of the tabs is a user admin
form where an admin user can select any of the system users from a list and
edit their information

5.
All fields in this form are bound
to ModelLocator.selectedUser.someField

6.
Admin user selects user from list and
in the result method of my command class that retrieves the user, the code is
simply ModelLocator.selectedUser = UserAdminVO(event.result);

7.
The VERY first time the
application is deployed and the application server restarted, and the
application compiles for the first time, the TextInput components DO not get updated
with the bound selectedUser's information. My trace statements in the
command class SHOW the selectedUser object getting set and the field values
there, but my TextInput components do not reflect this information.

8.
If I open up FlexBuilder and open
my UserAdmin.mxml file, simply hit the spacebar, and save it (the file is
automatically uploaded to my app server) and I hit the refresh button on my browser,
go to the User Admin tab and select a user, magically, the user info is
displayed as it should.

9.
If I try to redploy the code and
restart the app server again, I'm back to square one.





What
the HECK is going on here? It's like a bug in the binding of a VO to the
TextInput components does not work upon initial compilation on dynamically
created components...not until I TOUCH the component MXML file and refresh the
browser, forcing the Flex compiler to recompile the app, do the fields actually
show the properly bound information.



Any
thoughts?



robert
l. brueckmann

vice
president

merlin
securities

595 madison avenue

new york,
ny 10022

p:
212.822.4821

f:
212.822.4820








This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex 1.5 - Automatically Lengthen dataGrid based on #rows

2006-03-20 Thread Robert Brueckmann
Try the rowCount attribute of the DataGrid component...that will allow
you to control the height of the datagrid component based on the number
of elements in your dataProvider...

Then depending on how you have the layout containers nested and the
heights set on them, the scrollbars on the parent VBox, HBox or whatever
should appear as needed...allowing you to scroll the whole screen and
not just the datagrid...

robert l. brueckmann
vice president
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Libby
Sent: Monday, March 20, 2006 3:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 1.5 - Automatically Lengthen dataGrid based
on #rows

Hello,
Is it possible to have a DataGrid that is a minimum fixed size, but
gets ever longer based on the number of rows provided to it? I
basically need to NOT have a scroll bar on the DG, but instead scroll
the whole browser window when necessary. In the Webster RIA book they
alluded to it with the now deprecated heightFlex attribute, but
experimenting with the replacement height attribute is not producing
the desired result. Is there perhaps an example somewhere that you
guys could point me to?

Thanks,
Libby





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



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


--
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/

* 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] overlapping series line chart - flex 1.5

2006-02-13 Thread Robert Brueckmann









Does anyone have an elegant solution on
how to handle a line chart when, for example, we have 3 series in our line
chartEquities, Assets, and a Total. 3 separate lines. In a
specific case, Assets is 0 for all date points, so Equities and Total are
exactly the same, hence their lines overlap each other identically. 



To a user, this might not be immediately
intuitive if they only see the chart and not the underlying data. Is
there a way to handle this? I mean would this just be a situation where
wed have to pre-analyze the data of the chart, check if a specific
series is identical to the total and if its true, in the mouse-over
datatip renderer wed have to display something that indicates to the
user that this series and the total are identical? Or is there some nifty
built-in functionality to already handle such instances where series are
identical?







robert l. brueckmann

vice president

merlin securities

595 madison avenue

16th floor

phone: 212.822.4821

fax: 212.822.4820










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] overlapping series line chart - flex 1.5

2006-02-13 Thread Robert Brueckmann









Thanks a lot Elyyour solution was
actually what we came up with earlier this afternoon so I guess great minds
think alike. J Thanks a lot and I cant wait to actually get some time to
play around with 2.0I dont know where all these people get all
this time to play!!!





robert l. brueckmann

vice president

merlin securities

595 madison avenue

16th floor

phone: 212.822.4821

fax: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ely Greenfield
Sent: Monday, February 13, 2006
4:06 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
overlapping series line chart - flex 1.5











Robert --



the good news, this problem is dealt with
in Flex 2 --- charts can display multiple datatips if the mouse is over
multiple datapoints. The bad news is you're using Flex 1.5.



You could try and mimic this behavior by
rewriting the datatip behaviors yourself. You have the mouseData events,
which tell you when the mouse moves over and out of datapoints, and there's a
method on the individual series called
findDataPoint(x:Number,y:Number,sensitivity:Number); which you can call to find
any datapoints at a given x/y coordinate. So you could, on mouseOverData
events, iterate over the series, find out if there are multiple datapoints at
that point, and show your own tooltip (using the popup manager) as appropriate.



(Another idea...set a custom
dataTipFunction, and do the check for multiple data points _there_, and format
your datatip string appropriately).



Ely.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: Monday, February 13, 2006
10:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] overlapping
series line chart - flex 1.5



Does anyone have an elegant solution on
how to handle a line chart when, for example, we have 3 series in our line
chartEquities, Assets, and a Total. 3 separate lines. In a
specific case, Assets is 0 for all date points, so Equities and Total are
exactly the same, hence their lines overlap each other identically. 

To a user,
this might not be immediately intuitive if they only see the chart and not the
underlying data. Is there a way to handle this? I mean would this
just be a situation where wed have to pre-analyze the data of the chart,
check if a specific series is identical to the total and if its true, in
the mouse-over datatip renderer wed have to display something that
indicates to the user that this series and the total are identical? Or is
there some nifty built-in functionality to already handle such instances where
series are identical?



robert
l. brueckmann

vice president

merlin securities



595
  madison avenue



16th floor



phone: 212.822.4821

fax: 212.822.4820





















This message contains information
fromMerlin Securities, LLC, or from one of its affiliates, that may be
confidential and privileged. If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this information
and note that such actions are prohibited. If you have received this
transmission in error, please notify the sender immediately by telephone or by
replying to this transmission.





Merlin Securities, LLC is a registered
broker-dealer. Services offered throughMerlin Securities, LLC are not
insured by the FDIC or any other Federal Government Agency, are not deposits of
or guaranteed byMerlin Securities, LLCand may lose value. Nothing
in this communication shall constitute a solicitation or recommendation to buy
or sell a particular security.










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex

RE: [flexcoders] shared object security with flex 1.5

2006-02-07 Thread Robert Brueckmann









Great idea Taka! I will indeed try
that. Thanks so much! I cant believe I didnt think of thatsometimes
the most obvious is right in front of youthanks for your help!





robert l. brueckmann

vice president

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Taka Kojima
Sent: Monday, February 06, 2006
3:16 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] shared
object security with flex 1.5





Dear Robert,



Yeah, here's an idea:



Have it store the IP address (encrypted)
in the file as well, then on the other end, have it check the IP to make sure
it's the same IP, if not it can reset all of the variables in the file or
remove all of the contents of the file and not automatically log the user in.
That should work out... let me know.







Sincerely,

Taka Kojima

Director of Promotion  Marketing

ABLE International









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brueckmann
Sent: Monday, February 06, 2006
11:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] shared
object security with flex 1.5



I
created a remember me on this computer option when the user logs
in, so when they come to the URL it automatically logs them into our site based
on the username and password I'm encrypting and storing in a shared object on
their machine. Works great.

Out
of curiosity, I located that actual shared object file and emailed it to my
coworker and had him install it in the similar location on his machine and when
he went to the website, it automatically logged him in as me. 

Is
there any way to prevent this from happening? I mean, what additional
security could I add to prevent (if the user does, for whatever conceivable
reason) the copying of the .sol file from the one computer to another and it
still work? 

I
figured there would have been some footprint on the .sol file (I thought
thats what all those additional characters were in the .sol file when I
opened it in WordPad to look at it were) from my flash player, some unique id
or something that lets the .sol file only work with my flash player on my
machine and not all flash players...but I guess not...any thoughts?

robert l.
brueckmann



vice president



merlin securities



595 madison avenue



new york,ny 10022



p: 212.822.4821
f: 212.822.4820

















This message contains information fromMerlin
Securities, LLC, or from one of its affiliates, that may be confidential and
privileged. If you are not an intended recipient, please refrain from any
disclosure, copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error, please
notify the sender immediately by telephone or by replying to this transmission.





Merlin Securities, LLC is a registered
broker-dealer. Services offered throughMerlin Securities, LLC are not insured
by the FDIC or any other Federal Government Agency, are not deposits of or
guaranteed byMerlin Securities, LLCand may lose value. Nothing in
this communication shall constitute a solicitation or recommendation to buy or
sell a particular security.










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] shared object security with flex 1.5

2006-02-06 Thread Robert Brueckmann









I
created a remember me on this computer option when the user logs
in, so when they come to the URL it automatically logs them into our site based
on the username and password I'm encrypting and storing in a shared object on
their machine. Works great.



Out
of curiosity, I located that actual shared object file and emailed it to my
coworker and had him install it in the similar location on his machine and when
he went to the website, it automatically logged him in as me. 



Is
there any way to prevent this from happening? I mean, what additional security
could I add to prevent (if the user does, for whatever conceivable reason) the copying
of the .sol file from the one computer to another and it still work? 



I
figured there would have been some footprint on the .sol file (I thought thats
what all those additional characters were in the .sol file when I opened it in
WordPad to look at it were) from my flash player, some unique id or something that
lets the .sol file only work with my flash player on my machine and not all
flash players...but I guess not...any thoughts?



robert l. brueckmann

vice president

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] flex 1.5 - mx:List selectedIndex question

2006-02-02 Thread Robert Brueckmann
I have 3 tabs, each tab has a List component, these lists all share the
same dataprovider from the parent application.  

If the user changes their selection in the list on the first tab and
then goes to the 3rd tab, I have a function that sets the selected-index
of the list component on the 3rd tab to the same item the user selected
on the 1st tab...the problem is, the rowCount on the List component it 3
and if the user scrolls down to the 6th item in the List on the first
tab and then goes to the 3rd tab, the 6th item is correctly selected,
but the List component has not scrolled down to the 6th element, the
user has to actually scroll to see that the 6th element is selected in
the List component on the 3rd tab.  

Is there a way to ensure the List component visually scrolls to the
selected-index?

robert l. brueckmann
vice president
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


--
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/

* 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] cell renderer question

2006-01-10 Thread Robert Brueckmann









I have got two cell renderers on my
datagridone is a simple checkbox, the other is a yes/no radio button
group. If the user checks one of the checkboxes but then picks a different
date which causes the data in the datagrid to refresh with a new datasetdespite
it being new data in the datagrid, the checkbox in the row from the previous
data set is still checked. Same if the user changes the choice from yes to no
and the data is refreshedthe row in the datagrid that user selected no,
remains no, despite the data provider for that datagrid being refreshed with
new dataam I doing something incorrectly with my custom cell renderers?
Do I need something to ensure theyll be redrawn in their default state
instead of maintaining their last state?





robert l. brueckmann

senior web developer

merlin
securities

595
  madison avenue

new
  york,ny 10022

p: 212.822.4821
f: 212.822.4820













This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] dataTipField on a DataGridColumn programmtically

2005-12-29 Thread Robert Brueckmann
I'm creating the DataGridColumns for my DataGrid programmatically.  I'm
assigning the dataTipField and showDataTips attributes of each column
programmatically as well.  Doesn't seem to work.  Is anyone doing this
with any success?  

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 Yahoo! Groups Sponsor ~-- 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~- 

--
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/

* 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] sessions and maintenance questions

2005-11-14 Thread Robert Brueckmann









I have a question for you guys about how
youre currently designing your Flex applications.



Since a Flex application is not
session-based in the sense of an application server session, how are you guys
handling, say, you want a user to have to log back in if they remain inactive
after 5 hours in the case of using remote objects? Youre not
making actual HTTP requests in that caseare you still storing variables
in the application server session upon start of a clients session and
checking the status of those variables every time a remote method call is made?
Do you have some sort of filter that filters every remote method call to
check every time? What about if the application server needs to be
restarted in the middle of the daygranted the client doesnt have
any knowledge of this, do you just allow them to keep going without having to
log back in or do you force them to log back in and if this is the case, how
does the client application become away of such a change and the need for the
user to have to log back in? What are you using to flag that status
change in the case of remote objects?



Alsowe want to have weekly and
possibly, daily database maintenance periodssay from 2 am to 3 am. If,
for some reason, one of our clients is logged into the site at that ungodly hour,
right before they start performing maintenance, and has successfully logged in
and started using out site, then the user tries to execute some action during
the maintenance period, we want to throw them a little message saying the site
is currently undergoing maintenance, and to try again later, and then forward
the user to a maintenance page, the same maintenance page any other client
would see if they came to our URL DURING the actual maintenance going on. What
would be the best way to handle this? Change a variable in web.xml and
restart the application server? I use remote objects for everything I do
within the application, if I changed some variable in the web.xml file, that
means Id have to add code to every single method in all of my delegate
classes to check the status of this variable every time a call is made before
continuing on with the actual method call. Is there a more elegant way of
doing this? Much like a servlet filter works?



Any help is greatly appreciated,





robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821



f: 212.822.4820











This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] embedded fonts/linux/axis labels charting

2005-09-29 Thread Robert Brueckmann









Were trying to utilize the
horizontal axes rotation attribute for the axis labels, for which Eli explains
in his example that you need an embedded font to take advantage of the rotation
of the labels.



I used his code as an example:



@font-face {

 font-family: chartLabelFont;

 src: local(Verdana);

}



.normColumnChart {

 font-family: chartLabelFont;

}



Works just fine when I deploy it to my
development server on my Windows box, but when I deploy it for testing on the
linux, we get a warning screen, saying it cant find the font, pointing
out the error resides in the src: local(Verdana); line in my CSS
file.



Is there something special I need to do
to get this to work in Linux Redhat?








This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] NumberFormatter question

2005-08-31 Thread Robert Brueckmann









Hey
guys...I saw in the archive there was a long thread about decimals and the
NumberFormatter but none of them really addressed what I'm encountering so I
figured I'd throw this out there to see if anyone else has seen this behavior
and if they're simply converting the number to a string as a workaround or if
there is something valid I can do to handle this situation:



I'm
getting XML from the database that contains a whole slew of calculations.
We're parsing the XML and populating a datagrid with this data and on the cells
showing the numbers I have a custom cell renderer that simply uses a
NumberFormatter to ensure negative numbers are represented with parentheses and
all numbers are rounded to a precision of 3 decimal places as well as some
additional logic to ensure negative numbers are colored red. Well, when
we get small numbers and ActionScript internally represents them in exponential
format, for example, 9.6345e-4...oddly, the number being displayed in the
datagrid is (4.000)
Another number being returned is 3.3123e-12 and what's being shown in the
datagrid is (12.000).



Why
the heck is the number formatter ignoring the actual number and simply applying
the formatter to the exponent value?! I would expect for both of these
numbers, the resulting value would simply be .000, no?



Any
help is greatly appreciated.



Thanks,



robert
l. brueckmann

senior
web developer

merlin
securities

595 madison avenue

new york,
ny 10022

p:
212.822.4821

f:
212.822.4820








This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] loader component question

2005-08-31 Thread Robert Brueckmann
Thanks Abdul...that makes sense.  Wasn't aware of that restriction.
Makes sense given my example...so thanks for the help!  I'll just simply
limit the user to having 2 reports kicked off at any given time to
circumvent this situation in the meantime.

Thanks again for the help!

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Abdul Qabiz
Sent: Wednesday, August 31, 2005 10:03 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] loader component question

Hi,

Need to understand problem and investigate to know the exact reason. But
I think it could be because of concurrent requests browser can make to
server.

I think IE has limit of two concurrent requests and firefox has the same
limit.

You can tweak the maxrequest in firefox and then check, if it works.
Check out this link:

http://www.feld.com/blog/archives/2005/06/speed_up_firefo.html


I am not sure this would solve the problem, but we can narrow down the
cases.


If you are using the same RemoteObject for all four requests then IMO
they would be processed one by one...


-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Wednesday, August 31, 2005 7:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] loader component question

Scenario:

I kick off 5 asynchronous actions...all of which make a db call, get
XML, pass it to our report generation engine, which returns a report
object to my Flex app, when that report object comes back with the id
that matches the id of the kicked off process, I display that report in
a HorizontalList component as being ready to view.  When the user clicks
on the icon of the report in the Horizontal list (meanwhile the other 4
processes are still off in various stages of retrieving and generating
the report which ends up being in SWF format), the screen expands
upwards and displays the finished report in a Loader component.  Problem
is, the report does not load into the Loader component until the other 4
reports are done and are displayed in the HorizontalList component.  If
I only kick off 2 processes and the first report comes back before the
second and I click on that report, it shows up in the loader, as soon as
I go past more than one report still processing when trying to display
the finished report in the Loader, it kind of just hangs there until the
rest of the processes are complete.

Sometimes, in the case of the 5 processes being kicked off, and the one
report completes and shows up in the horizontal list and I click on it
to display it, I get a blank screen for about 30 seconds and then my
defined brokenImage image appears as if the report doesn't really exist,
and then when the rest of the processes finish, the loader refreshes
itself and displays the report correctly, replacing the brokenImage
image by itself.

Very strange.  Why is the Loader component dependent upon the other
processes going on on the server?  I figured since all I'm doing is
setting the source of the Loader component to the path to the available
SWF report file, it would just go out and load it in, regardless of the
other processes going on on the server...not so much.

Thoughts?  Should I just avoid asynchronous altogether in this case?  I
just thought it would be great to allow the user to kick off a handful
of reports and start viewing them as they became available, but it's not
working.

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitation or recommendation to buy or sell a particular
security.



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



 





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

[flexcoders] menubar bar color

2005-08-17 Thread Robert Brueckmann
Title: Creating a new Flex component









I searched the archives and it seems a
handful of people have asked how to change the color of the actual bar of the
menubar component but nobody ever got an answershould I take that as a
definitive not possible? Ive tried every color and
fill attribute under the sun to no availmost attributes change the
background color of the menu itself but not the parent-collapsed-100%-width-across-the-top-of-my-screen
menu bar. Thoughts? Comments?





robert l. brueckmann

senior web developer

merlin
securities

595
  madison avenue

new
  york,ny 10022

p: 212.822.4821
f: 212.822.4820













This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] menubar icons?

2005-08-04 Thread Robert Brueckmann
Is anyone out there able to get an icon to appear next to a menu item in
their menubar component?  The MenuItem syntax in the APIs and
documentation say that the menuitem xml node simply needs an icon
attribute that points to the icon file...not so much working for
me...just was curious if I'm missing something.

Thanks in advance for any help!

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hf51dl3/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123168126/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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/

* 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] databinding question

2005-08-02 Thread Robert Brueckmann









Quick question...why are these different:



merlin:ReportingDatesPanel width=100%
height=100% portfolio={selectedPortfolio} /



Versus:



mainContent.createChild(ReportingDatesPanel, , {width:
100%, height: 100%, portfolio: selectedPortfolio});



When the selectedPortfolio object changes in the main app with the MXML
in first example above, the custom component recognizes the change in the
selectedPortfolio object and performs the correct action.



If I have the main application dynamically create the custom component
with the code in the 2nd example above, if the selectedPortfolio
object changes, the dynamically created custom component does not see that
change and none of the actions that I want to take place, actually take
place. Im guessing this is a databinding issueam I supposed
to set the portfolio attribute differently to catch changes in this object when
dynamically creating the custom component?



Any help is greatly appreciated.



Thanks,

Rob



robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,
ny 10022

p: 212.822.4821

f: 212.822.4820








This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] databinding question

2005-08-02 Thread Robert Brueckmann









Nevermind, I just found a past post from
Matt saying databinding can only be done from MXML right now and not
programmatically. Sorry for the post!





robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: Tuesday, August 02, 2005
4:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] databinding
question







Quick question...why are these different:



merlin:ReportingDatesPanel width=100%
height=100% portfolio={selectedPortfolio} /



Versus:



mainContent.createChild(ReportingDatesPanel, , {width:
100%, height: 100%, portfolio: selectedPortfolio});



When the selectedPortfolio object changes in the main app with the MXML
in first example above, the custom component recognizes the change in the
selectedPortfolio object and performs the correct action.



If I have the main application dynamically create the custom component
with the code in the 2nd example above, if the selectedPortfolio
object changes, the dynamically created custom component does not see that
change and none of the actions that I want to take place, actually take
place. Im guessing this is a databinding issueam I supposed
to set the portfolio attribute differently to catch changes in this object when
dynamically creating the custom component?



Any help is greatly appreciated.



Thanks,

Rob



robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,
ny 10022

p: 212.822.4821

f: 212.822.4820

















This message contains information
fromMerlin Securities, LLC, or from one of its affiliates, that may be
confidential and privileged. If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this information
and note that such actions are prohibited. If you have received this
transmission in error, please notify the sender immediately by telephone or by
replying to this transmission.












Merlin Securities, LLC is a registered
broker-dealer. Services offered throughMerlin Securities, LLC are not insured
by the FDIC or any other Federal Government Agency, are not deposits of or
guaranteed byMerlin Securities, LLCand may lose value. Nothing in
this communication shall constitute a solicitation or recommendation to buy or
sell a particular security.










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] databinding question

2005-08-02 Thread Robert Brueckmann
Gotchya on both accounts!  Thanks for the feedback guys!

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo 
Bucchi
Sent: Tuesday, August 02, 2005 6:16 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] databinding question

Hi,

Databinding is a special beast in flex, and is set up in mxml-as  compiling

The compiler needs the metadata to figure out what events it has to
listen to for each property (or perhaps just use getters setters). It
then sets up a complex mechanism of watchers and stuff to make binding
happen.

This is the reason why it is only supported in mxml for now.

If you want the same functionality on runtime you have some choices:

- use the old flash binding api ( not possible I assume )
- create your own
- wait for as2lib's future release. I'll be donating a quite powerful
databinding framework soon (well, not that soon if work keeps me this
busy )

it is flex compatible, supports chains and different types of watchers.

Best,
Aldo

PD: Sorry for the delay Simon, I've been busy as hell at work.



On 8/2/05, Rob Rusher [EMAIL PROTECTED] wrote:
  
  
 
 It's probably because of the way they are instantiated. dispatchEvent() is a
 mix-in from UIEventDispatcher. 
 
   
 
 You might try adding ChangeEvent to the component once it is created. Just a
 thought. 
 
   
 
 Hey, I'm at 11 Madison Ave. 
 
   
  
 
 Regards, 
 
 Rob Rusher 
 
   
 
 RIA Consultant 
 
 Macromedia Certified Flex Instructor 
 
 e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher 
  
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Robert Brueckmann
  Sent: Tuesday, August 02, 2005 4:37 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] databinding question 
 
   
  
 
 Quick question...why are these different: 
 
   
 
 merlin:ReportingDatesPanel width=100% height=100%
 portfolio={selectedPortfolio} / 
 
   
 
 Versus: 
 
   
 
 mainContent.createChild(ReportingDatesPanel, , {width: 100%, height:
 100%, portfolio: selectedPortfolio}); 
 
   
 
 When the selectedPortfolio object changes in the main app with the MXML in
 first example above, the custom component recognizes the change in the
 selectedPortfolio object and performs the correct action. 
 
   
 
 If I have the main application dynamically create the custom component with
 the code in the 2nd example above, if the selectedPortfolio object changes,
 the dynamically created custom component does not see that change and none
 of the actions that I want to take place, actually take place.  I'm guessing
 this is a databinding issue...am I supposed to set the portfolio attribute
 differently to catch changes in this object when dynamically creating the
 custom component? 
 
   
 
 Any help is greatly appreciated. 
 
   
 
 Thanks, 
 
 Rob 
 
   
 
 robert l. brueckmann 
 
 senior web developer 
 
 merlin securities 
 
 595 madison avenue 
 
 new york, ny 10022 
 
 p: 212.822.4821 
 
 f: 212.822.4820 
  
 
   
  
  
  
 
 This message contains information from Merlin Securities, LLC, or from one
 of its affiliates, that may be confidential and privileged. If you are not
 an intended recipient, please refrain from any disclosure, copying,
 distribution or use of this information and note that such actions are
 prohibited. If you have received this transmission in error, please notify
 the sender immediately by telephone or by replying to this transmission. 
  
 
   
  
 
 Merlin Securities, LLC is a registered broker-dealer. Services offered
 through Merlin Securities, LLC are not insured by the FDIC or any other
 Federal Government Agency, are not deposits of or guaranteed by Merlin
 Securities, LLC and may lose value. Nothing in this communication shall
 constitute a solicitation or recommendation to buy or sell a particular
 security. 
 
 
  
 
  --
  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 
  
  
  Visit your group flexcoders on the web.
   
  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
   
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
  
  
  


-- 
: Aldo Bucchi :
mobile (56) 8 429 8300



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



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you

RE: [flexcoders] menubar question

2005-07-29 Thread Robert Brueckmann
Don't tell anybody what?  ;)  Thanks!

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, July 28, 2005 6:35 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] menubar question

On 7/29/05, Robert Brueckmann [EMAIL PROTECTED] wrote:

 I'm just playing with the MenuBar component and I can't seem to figure
 out how to make the first menu flush with the left side of my
 app...there always seems to be a padding of 10 pixels before the start
 of the first menu item in the menu bar...

The MenuBar is hard-coded to place the first MenuBarItem (and the
dropdown) at 10 pixels.  If you open up your FlexforFlash.zip (or go
through fdb), you can see there's an internal '__marginWidth' variable
whose value is set to 10.

  mx:MenuBar id=menubar dataProvider={myMenuData}
__marginWidth=0 /

;-)

Manish

PS: Don't tell anybody.


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



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hidrg0v/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122648960/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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/

* 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] menubar question

2005-07-28 Thread Robert Brueckmann
I'm just playing with the MenuBar component and I can't seem to figure
out how to make the first menu flush with the left side of my
app...there always seems to be a padding of 10 pixels before the start
of the first menu item in the menu bar...I've tried setting a handful of
attributes to 0 and none of them seem to move the first item flush to
the left...I'm sure I'm an idiot and am overlooking something...anyone
know how to heck to do this?  I thought marginLeft=0 would do the
trick...not so much.

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


--
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/

* 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/
 





RE: [flexcoders] Re: dynamically creating children suggestions?

2005-07-22 Thread Robert Brueckmann









Thanks guys for all your feedback. This
list is awesome. Thank MattI look forward to hearing anything the guy
you mentioned came up with.



Thanks again everyone!





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821

f: 212.822.4820











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Matt Chotin
Sent: Friday, July 22, 2005 12:28
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
dynamically creating children suggestions?





Crepes are for weekends



Weve discussed something with
another customer recently along the same lines, Ive put out a feeler to
see if we solved their issue successfully. In theory I would say that you
should be able to solve the problem without resorting to the server (which if
you have a lot of clients hitting concurrently with different data coming back
will be put under a heavier load because it wont be able to
cache). 



Deferred instantiation is probably not
taking hold in your case because youre explicitly calling createChild
(Im guessing). If you created object descriptors and then
instantiated the children using them you could probably do a queued policy that
would speed up the responsiveness. The creation of those object
descriptors of course is a little more dicey since I dont think we
document them all that much.



Ive pinged Alex, lets see if
he comes up with anything



Matt











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Thursday, July 21, 2005 7:22
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
dynamically creating children suggestions?





Key point here is the server deals with the processor hit, not the
client.

Secondly, the Flex server has caching built in,
and won't compile the XML 
everytime, even if it changes often.


- Original Message - 
From: zhongtie
[EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, July 21, 2005 10:10 PM
Subject: [flexcoders] Re: dynamically creating
children suggestions?


That way for each different XML, backend Flex
server needs to compile
it into a new swf, which, in my experience, has
been a not so fast
process. Robert's screen is going to hang either
way.

But frankly, I don't have a solution :(

tim
--- In flexcoders@yahoogroups.com,
JesterXL [EMAIL PROTECTED] wrote:
 If deferred instantation does nothing, and a
Repeater doesn't solve
your woes, then I'd look to doing some lower level
things such as
creating your own UIObjectDescriptors, and
staggering the drawing
algorithm to only process a certain amount of
children to create per
frame.

 Stepping back, why not have a server side
process generate the MXML
(since it's just XML to begin with and you are
merely changign the
format), have the server-side component (CF/Java)
write out the MXML,
and then use a Loader to hit the MXML file?

 10 billion more ideas of course, Matt'll
put the smack down when
he finishes his tea and crepes.

 - Original Message - 
 From: Robert Brueckmann
 To: flexcoders@yahoogroups.com
 Sent: Thursday, July 21, 2005 6:10 PM
 Subject: [flexcoders] dynamically creating
children suggestions?


 I'm getting XML back from the database.
The XML contains a bunch of
elements, all containing children elements that
tell me what type of
component to display, i.e.:



 .

 FILTERSORT


EFL_NAMEASSETS/EFL_NAME


EFL_DESCAssets/EFL_DESC


EFL_SORTY/EFL_SORT

 EFL_FILTERY/EFL_FILTER


PRM_TYPE_ID2/PRM_TYPE_ID


PRM_TYPE_NAMENUMBER/PRM_TYPE_NAME


PUI_ID3/PUI_ID


PUI_TYPEMULTILIST/PUI_TYPE


FILTERSORTVALUELIST


PRM EFL_VALUE=  FFL_DESC=  EFL_SEQ=0/PRM


PRM EFL_VALUE=1 FFL_DESC=Cash and Equivalents
EFL_SEQ=2/PRM


PRM EFL_VALUE=50 FFL_DESC=Equities
EFL_SEQ=3/PRM


PRM EFL_VALUE=10 FFL_DESC=Fixed Income
EFL_SEQ=4/PRM


PRM EFL_VALUE=65 FFL_DESC=Futures
EFL_SEQ=5/PRM


PRM EFL_VALUE=99 FFL_DESC=Indices
EFL_SEQ=6/PRM


PRM EFL_VALUE=60 FFL_DESC=Options
EFL_SEQ=7/PRM


PRM EFL_VALUE=95 FFL_DESC=Private Placements
EFL_SEQ=8/PRM


PRM EFL_VALUE=75 FFL_DESC=Rights and Warrants
EFL_SEQ=9/PRM


PRM EFL_VALUE=70 FFL_DESC=Swaps
EFL_SEQ=10/PRM


/FILTERSORTVALUELIST

 /FILTERSORT

 FILTERSORT

 EFL_NAMEACCOUNT_NAME/EFL_NAME


EFL_DESCAccounts/EFL_DESC


EFL_SORTY/EFL_SORT


EFL_FILTERY/EFL_FILTER


PRM_TYPE_ID2/PRM_TYPE_ID


PRM_TYPE_NAMESTRING/PRM_TYPE_NAME


PUI_ID3/PUI_ID


PUI_TYPETEXTFIELD/PUI_TYPE

 /FILTERSORT

 .



 So my flex app gets this XML chunk, I loop
through the XML and based
on certain parameters in the example XML above,
and in each loop, I
call createChild on a Form component I have in my
MXML file and I
build a form that displays to the user various
filters they can set
for the report they just selected.



 I'm dynamically generating DateFields,
Textfields, Lists, and a
custom Range component that I created whose MXML
file looks like this:



 ?xml version=1.0
encoding=utf-8?

 mx:VBox xmlns:mx=http://www.macromedia.com/2003

[flexcoders] combobox change listener

2005-07-15 Thread Robert Brueckmann
I have a combobox that has a change listener that triggers a function to
refresh the contents of a tree component.  If the user uses the mouse to
select the item from the combobox, the tree refreshes with the new
content beautifully.  If the user selects the combobox with the mouse
but then hit a letter on the keyboard to jump to the item in the list
starting with that letter, it jumps to that item, the combobox closes
but the tree associated with the change function is not triggered.  Do I
need to add a keyDown listener?  Should the change listener handle key
clicks that change the item selection in the list too?  Could I be doing
something wrong here?

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4821
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


--
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/

* 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/
 




RE: [flexcoders] onFocus, setSelection not highlighting textinput

2005-07-15 Thread Robert Brueckmann









Stacy,



I was having the same exact problem when
my application loaded for the first time because I wanted the cursor to default
and the caret be blinking in the username field of the login section so the
user, when going to my site, didnt have to explicitly click their mouse in
the username field to login initially. No matter what I tried, it didnt
work when I was going to http://localhost:7001/myapp/Index.mxml



BUTI found a fix that has the caret
blinking in my text field EVERY time without fail, which I dont know if
itll help with your situation or not, but what I did was I ended up
embedding my application in a JSP pageso to access my application, the
user now goes to http://localhost:7001/myapp/index.jsp
and in my jsp page I have _javascript_ that EXPLICITLY sets focus to the now-embedded
swf fileby doing thisthe browsers focus is initially set
to the flash movie (i.e.: my flex app), which in turn successfully makes use of
the Selection.setFocus(username) call successfully that I have in the
creationComplete listener of the username TextInput component.



My index.jsp simply looks like this:



%@ page contentType=text/html;
charset=iso-8859-1 language=java %

%@ taglib uri=FlexTagLib
prefix=mm %

!DOCTYPE HTML PUBLIC
-//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd

html

head

meta
http-equiv=Content-Type content=text/html;
charset=iso-8859-1

meta name=ROBOTS
content=NOINDEX

titleMy App/title

style type=text/css

!--

body {

 margin-left: 0px;

 margin-top: 0px;

 margin-right: 0px;

 margin-bottom: 0px;

}

--

/style/head



body
>

mm:mxml
source=Index.mxml id=appSWF name=appSWF
/

/body

/html



**Notice the onLoad listener of my
body tag.



And then, in my Index.mxml file I simply
have a view stack, whose first child is Login.mxml whose content looks like
this:



mx:Panel
xmlns:mx=http://www.macromedia.com/2003/mxml


xmlns:merlinView=com.merlin.pb.view.*

 title=Login

 
width=772

 
height=200

 
horizontalAlign=left



 merlinView:LoginViewHelper
name=loginView view={this} /



 mx:Script

 ![CDATA[

 import
com.iterationtwo.cairngorm.control.EventBroadcaster;

 

 public var
statusMessage:String = Please enter your username and password;

 

 public
function doLogin() {

 EventBroadcaster.getInstance().broadcastEvent(login);

 }

 

 // check
for enter key punch

 function
check(event) {

 var
keyCode_num:Number = event.ascii;

 if
(keyCode_num == Key.ENTER)

 doLogin();

 } 

 ]]

 /mx:Script

 

 mx:Text text={
statusMessage } width=100% /

 

 mx:VBox
width=100% height=100%
horizontalAlign=left



 mx:Form
id=loginForm

 mx:FormItem
label=Username:  horizontalAlign=left

 mx:TextInput
id=username
creationComplete=Selection.setFocus(username); /

 /mx:FormItem

 

 mx:FormItem
label=Password:  horizontalAlign=left

 mx:TextInput
id=password password=true
keyDown=check(event); /

 /mx:FormItem

 /mx:Form

 

 /mx:VBox



 mx:ControlBar

 mx:Button
label=Login click=doLogin() /

 /mx:ControlBar

/mx:Panel



Hope that helps,



Rob





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821

f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stacy Young
Sent: Friday, July 15, 2005 1:02
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] onFocus,
setSelection not highlighting textinput





Thanks for the effort Philippe but that
also fails. (the first time)











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Philippe Maegerman
Sent: Friday, July 15, 2005 12:54
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] onFocus,
setSelection not highlighting textinput





If you want the
focus every time the current Viestack container is shown you can trigger the
focus on the 'show' event of the container:



?xml
version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
mx:LinkBar dataProvider=vs/mx:LinkBar
mx:ViewStack id=vs
mx:HBox label=1/mx:HBox
mx:HBox
label=2
show=Selection.setFocus(myTI);mx:TextInput
id=myTI//mx:HBox
/mx:ViewStack
/mx:Application



Philippe
Maegerman









From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Philippe Maegerman
Sent: vendredi 15 juillet 2005
18:47
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] onFocus,
setSelection not highlighting textinput

mx:TextInput
id=myTI creationComplete=Selection.setFocus(myTI);/







Philippe
Maegerman









From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stacy Young
Sent: vendredi 15 juillet 2005
18:11
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] onFocus,
setSelection not highlighting textinput

Tried that too, no dice. :(













From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Philippe Maegerman
Sent: Friday, July 15, 2005 12:07
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] 

RE: [flexcoders] onFocus, setSelection not highlighting textinput

2005-07-15 Thread Robert Brueckmann









Ohguess I didnt read your
original email closely enoughsorryand youre saying that
youve also tried using something like:



this.createTextField(myText_txt, 99, 10, 10, 200,
30);

myText_txt.text = this is my text;

Selection.setFocus(myText_txt);

Selection.setSelection(0, 3);



Where you use the setSelection method to explicitly select the
text in the textinput component itself?





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821

f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stacy Young
Sent: Friday, July 15, 2005 1:31
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] onFocus,
setSelection not highlighting textinput





Thanks Robert, problem is the focus is
already on the flash movie. Theres user interaction prior to the event
in question taking place. (although I gave it a shot anyway ;-)

The field is receiving focus as intended,
just the text contents of the textinput field is not selected as it should be.



-Stace











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Friday, July 15, 2005 1:21
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] onFocus,
setSelection not highlighting textinput







Stacy,



I was having the same exact problem when
my application loaded for the first time because I wanted the cursor to default
and the caret be blinking in the username field of the login section so the
user, when going to my site, didnt have to explicitly click their mouse
in the username field to login initially. No matter what I tried, it
didnt work when I was going to http://localhost:7001/myapp/Index.mxml



BUTI found a fix that has the
caret blinking in my text field EVERY time without fail, which I dont
know if itll help with your situation or not, but what I did was I ended
up embedding my application in a JSP pageso to access my application,
the user now goes to http://localhost:7001/myapp/index.jsp
and in my jsp page I have _javascript_ that EXPLICITLY sets focus to the now-embedded
swf fileby doing thisthe browsers focus is initially set
to the flash movie (i.e.: my flex app), which in turn successfully makes use of
the Selection.setFocus(username) call successfully that I have in the
creationComplete listener of the username TextInput component.



My index.jsp simply looks like this:



%@ page contentType=text/html;
charset=iso-8859-1 language=java %

%@ taglib uri=FlexTagLib
prefix=mm %

!DOCTYPE HTML PUBLIC
-//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd

html

head

meta
http-equiv=Content-Type content=text/html;
charset=iso-8859-1

meta name=ROBOTS
content=NOINDEX

titleMy App/title

style type=text/css

!--

body {


margin-left: 0px;


margin-top: 0px;


margin-right: 0px;


margin-bottom: 0px;

}

--

/style/head



body
>

mm:mxml
source=Index.mxml id=appSWF name=appSWF
/

/body

/html



















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











This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] ToolTips on Tree Nodes?

2005-07-13 Thread Robert Brueckmann









Has anyone gotten the datatips to work on
a tree for elements whose text is wider than the tree component?





robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Bullotta
Sent: Wednesday, July 13, 2005
11:55 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ToolTips
on Tree Nodes?





Any way to achieve custom tool tip
rendering on points in a chart?



-Ursprngliche
Nachricht-
Von: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] Im
Auftrag von Stephen Gilson
Gesendet: Mittwoch, 13. Juli 2005
16:00
An: flexcoders@yahoogroups.com
Betreff: RE: [flexcoders] ToolTips
on Tree Nodes?



There is
a section in the doc on this at:



http://livedocs.macromedia.com/flex/15/flex_docs_en/1040.htm




Stephen





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









SPONSORED
LINKS 




 
  
  Computer
  software testing 
  
  
  Macromedia
  flex 
  
  
  Development
  
  
 
 
  
  Software
  developer 
  
  
  
  
  
  
  
 










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] ToolTips on Tree Nodes?

2005-07-13 Thread Robert Brueckmann









NevermindI created a label maker
function and set my tree components dataTipFunction to this function and
the val object sent to the label maker function is the entire tree node, so I
just return val.getProperty(label) (because the dataprovider of
my tree is XML) and my data tips work perfectly now.



mx:Script



function dataTipMaker(val):String {

 return
val.getProperty(label);

 }

/mx:Script



mx:Tree id=portfolioTree
dataProvider={portfolios} width=100%
height=400 showDataTips=true
dataTipFunction=dataTipMaker /





robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brueckmann
Sent: Wednesday, July 13, 2005
1:27 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ToolTips
on Tree Nodes?







Has anyone gotten the datatips to work on
a tree for elements whose text is wider than the tree component?





robert l. brueckmann



senior web developer



merlin securities



595 madison avenue



new york,ny 10022



p: 212.822.4821
f: 212.822.4820











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Bullotta
Sent: Wednesday, July 13, 2005
11:55 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ToolTips
on Tree Nodes?





Any way to achieve custom tool tip
rendering on points in a chart?



-Ursprngliche
Nachricht-
Von: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] Im
Auftrag von Stephen Gilson
Gesendet: Mittwoch, 13. Juli 2005
16:00
An: flexcoders@yahoogroups.com
Betreff: RE: [flexcoders] ToolTips
on Tree Nodes?





There is
a section in the doc on this at:



http://livedocs.macromedia.com/flex/15/flex_docs_en/1040.htm




Stephen





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










SPONSORED
LINKS 






 
  
  Computer
  software testing 
  
  
  
  Macromedia
  flex 
  
  
  
  Development
  
  
 
 
 
  
  Software
  developer 
  
  
  
  
  
  
  
  
 


















This message contains information
fromMerlin Securities, LLC, or from one of its affiliates, that may be
confidential and privileged. If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this information
and note that such actions are prohibited. If you have received this
transmission in error, please notify the sender immediately by telephone or by
replying to this transmission.












Merlin Securities, LLC is a registered
broker-dealer. Services offered throughMerlin Securities, LLC are not
insured by the FDIC or any other Federal Government Agency, are not deposits of
or guaranteed byMerlin Securities, LLCand may lose value. Nothing
in this communication shall constitute a solicitation or recommendation to buy
or sell a particular security.





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











This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] ToolTips on Tree Nodes?

2005-07-13 Thread Robert Brueckmann









Stacy,



I spoke too soonits not
working for me. I must have thought my following example was my
recompiled code with the getProperty callbut I mustnt have
refreshed to revuild my app to use the modified label maker function.
Very sad. Its very oddif I make the return value of my
labelMaker function below just val, it works and for every node, I get
something that looks like this:







But when I change the return of my
function to be val.getProperty(label) which SHOULD work, it no
longer does and if I add a trace statement to my label maker function, I see
the following output in my flash log file when the screen loads:



val.getProperty(label): DLTA - Long/Short
Hedge

val.getProperty(label): DLTA0 - Delta
Long/Short Hedge 1

val.getProperty(label): DLTA1 - Delta
Long/Short Hedge 2

val.getProperty(label): undefined

val.getProperty(label): undefined



And when I mouse over any of the nodes,
nothing pops up now, even though my trace file shows clearly it did, at some
point, recognize the call to val.getProperty for the label attribute.



Weird.



Anyone have any thoughts about this?





robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy Young
Sent: Wednesday, July 13, 2005
2:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ToolTips
on Tree Nodes?





I have the exact same setupbut
nothing is being passed to the dataTipFunctionwondering if its
because the dataprovider is not set until after the tree has initialized?



-Stace











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brueckmann
Sent: Wednesday, July 13, 2005
1:38 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ToolTips
on Tree Nodes?







NevermindI created a label maker
function and set my tree components dataTipFunction to this function and
the val object sent to the label maker function is the entire tree node, so I
just return val.getProperty(label) (because the dataprovider of
my tree is XML) and my data tips work perfectly now.



mx:Script



function dataTipMaker(val):String {


return val.getProperty(label);


}

/mx:Script



mx:Tree id=portfolioTree
dataProvider={portfolios} width=100%
height=400 showDataTips=true
dataTipFunction=dataTipMaker /





robert l. brueckmann



senior web developer



merlin securities



595 madison avenue



new york,ny 10022



p: 212.822.4821
f: 212.822.4820

















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











This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] display nested xml in a datagrid

2005-07-12 Thread Robert Brueckmann
I use the XMLObjectOutput class (which you can find in the C:\Program
Files\Macromedia\Flex\extras\XMLObjectOutput directory (I just put it in
my user_classes directory in my own package) and I convert the XML from
the server into an object...by using this utility you can then use
dot-synatx to reference elements in your XML...

So, you can then do something like:

var xmlObjOut:XMLObjectOutput = new XMLObjectOutput(false);
var xml2Obj:Object = xmlObjOut.XMLToObject(yourXMLFromServer);

var items:Array = xml2Obj.Items;

// you now have an array of all items, so loop through all your Items
elements to get the child Item elements and add their status to the
datagrid

for (var i = 0; i  items.length; i++) {
var row:Object = new Object();
row[id] = items[i].attributes.Id;
row[Title] = items[i].attributes.Title;
row[Status] = items[i].Status.attributes.Name;

gridStory.addItem(row);
}

And if you have your dataGrid described below with all the columns you
have set up below (minus the last one), this should work for you.  Maybe
call the code above in a method upon creationComplete of datagrid or
most likely, on result of the service that returns the XML you're trying
to use to populate your datagrid.

Hope that helps.

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexcoder1
Sent: Tuesday, July 12, 2005 10:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] display nested xml in a datagrid

Hi. Can someone help with this question?  It is driving me crazy!
(the entire example is at the bottom of this post)

There is more to this problem but I have tried to simplify it to the 
basic question below:

Say I have the following xml:

?xml version=1.0 encoding=UTF-8?
Items
Item Id=1 Title=Title1
Status Id=1 Name=Active /
/Item
Item Id=2 Title=Title2
Status Id=2 Name=Inactive /
/Item
/Items


How can I display the current status name of each item in a data 
grid?
I have tried:

mx:DataGrid id=gridStory dataProvider={mx.utils.ArrayUtil.toArray
( GetItems.result.Items.Item)} width=100% height=100% 

mx:columns
mx:Array
mx:DataGridColumn columnName=Id /
mx:DataGridColumn columnName=Title /
mx:DataGridColumn columnName=Status / shows object 
Object - I want the item's Status.Name to appear
mx:DataGridColumn columnName=Status.Name /  THIS 
DOES NOT WORK 
/mx:Array
/mx:columns
/mx:DataGrid

How can I show the status?  If I just use 
mx:DataGridColumn columnName=Status /

the grid displays (as expected) object Object.  Also, for this 
particular xml file it is not an option to just collapse the Status 
subtags into the Item tag and have something like:

Item Id=2 Title=Title2 StatusId=2 StatusName=Inactive /  
*** For reasons outside scope of question I cannot do this ***
I know the above works correctly.


Thanks for any help with this. Below is the entire example:

test.mxml
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Model id=modItems source=simple.xml
/mx:Model
mx:DataGrid id=gridStory dataProvider={modItems.Item} 
width=100% height=100% 
mx:columns
mx:Array
mx:DataGridColumn columnName=Id /
mx:DataGridColumn columnName=Title /
mx:DataGridColumn columnName=Status /
mx:DataGridColumn columnName=Status.Name /
/mx:Array
/mx:columns
/mx:DataGrid
/mx:Application

simple.xml
?xml version=1.0 encoding=utf-8?
Items
Item Id=1 Title=Title1
Status Id=1 Name=Active /
/Item
Item Id=2 Title=Title2
Status Id=2 Name=Inactive /
/Item
/Items


Thanks for any 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



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 

[flexcoders] line width in line chart

2005-07-12 Thread Robert Brueckmann
Is there a simple way to specify how thick I want the line to be in a
line chart without having to implement SimpleLineRenderer to something
so trivial?

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


--
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/

* 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/
 




RE: [flexcoders] line width in line chart

2005-07-12 Thread Robert Brueckmann
Awesome, thanks!

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ely Greenfield
Sent: Tuesday, July 12, 2005 11:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] line width in line chart




Set the stroke:

LineSeries ...
  stroke
 Stroke weight=5 color=#FF /
  /stroke
/LineSeries

Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Tuesday, July 12, 2005 8:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] line width in line chart
Importance: High

Is there a simple way to specify how thick I want the line to be in a
line chart without having to implement SimpleLineRenderer to something
so trivial?

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitation or recommendation to buy or sell a particular
security.


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



 




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



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


--
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/

* 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] chart background

2005-07-12 Thread Robert Brueckmann
Ely,

Is there a way do something like this?

I have a chart whose values are consistently around the 0 on the y-axis
(like so):

3 |
  | +
2 |  +
  |
1 |  +   
  | +
0 |-
  | +
-1|+
  |
-2| +
  |
-3|

I want the background to have a sort of gradient where from the 0 axis
to the top of the chart I want it to go from white to blue and from the
0 axis on down to the bottom of the chart, I want it to from white to
red...is this possible?  I don't expect you to write the whole thing,
but pointing me in the right direction would be most helpful!

Thanks in advance!


robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ely Greenfield
Sent: Tuesday, July 12, 2005 11:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] line width in line chart




Set the stroke:

LineSeries ...
  stroke
 Stroke weight=5 color=#FF /
  /stroke
/LineSeries

Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Tuesday, July 12, 2005 8:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] line width in line chart
Importance: High

Is there a simple way to specify how thick I want the line to be in a
line chart without having to implement SimpleLineRenderer to something
so trivial?

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitation or recommendation to buy or sell a particular
security.


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



 




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



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


--
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/

* 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] checkbox in a repeater

2005-07-06 Thread Robert Brueckmann









I have a repeater thats generating
a list of FormItems that simply contain a checkboxso the label of the FormItem
component is the name of some item the user has set up and the checkbox
indicates yes or no for that item regarding some settingwhen the user
clicks on the checkbox, I want to automatically update the database with that selected
value of that specific checkbox for that itemproblem is, I cant
dynamically set the ID of the checkbox and I cant seem to add any
additional attributes to the checkbox so I know what the schemas ID is
associated with that checkboxI can only get the selected status of the
checkboxhow do I associate a value with that checkbox to accomplish
this?





robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,ny 10022





p: 212.822.4821
f: 212.822.4820

















This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] hide/show tabs of a tab navigator based on security?

2005-06-29 Thread Robert Brueckmann
Is there an easy way to hide or show a tab in a tab navigator?  

Say my MXML file has a tab navigator with 4 custom components (separate
MXML files) statically coded as children of the tab navigator to show
tabs for...a user logs in, I only want user1 to see tabs 1 and 3 and
user2 to see 2 and 4...setting the visible attribute of the custom
components doesn't work, which I thought it would...what do I need to do
for this?

Thanks in advance for any help!

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sanjayd
Sent: Wednesday, June 29, 2005 3:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] change background color of a gridCell ?

quick question...does anybody know, how to change the background color 
of a cell in a dataGrid? Thanks in advance. Sanjay





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



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


--
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/

* 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/
 




RE: [flexcoders] LinkBar question

2005-06-23 Thread Robert Brueckmann









Coolthanks Phillipe for the helpkind
of funny how you can only set certain attributes like that. Thanks again.





robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman
Sent: Thursday, June 23, 2005
11:15 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] LinkBar
question





Maybe this, I couldn't change the backgroundColor or backgroundDisabledColor 

even if it says those styles are inherited
fromUIComponent :( http://livedocs.macromedia.com/flex/15/asdocs_en/mx/containers/LinkBar.html#styles



?xml version=1.0?
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
backgroundColor=#DEDEDE
 mx:Script
![CDATA[
function doLinkBar(event){
for(var i=0; ievent.target.numChildren; i++){
var curItem = event.target.getChildAt(i);
i==event.index ? curItem.setStyle(color,
0xFF) : curItem.setStyle(color, 0x00);
}
}
]]
/mx:Script
mx:LinkBar disabledColor=#FF
dataProvider={['Flash','Director']} click=doLinkBar(event)/mx:LinkBar
/mx:Application









Philippe Maegerman

Webdeveloper

+32 2 400 40 39

+32 472 35 28 10

http://pimz.blogspot.com

http://cfpim.blogspot.com















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: jeudi 23 juin 2005 15:05
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] LinkBar
question



Yeah, definitely doesnt work the
way I have it set upI have all the levels of the viewstack statically
listed in my MXML file but based on a users security they only have
access to maybe 3 of the levels of the view stack, hence the link bar links are
generated dynamically based on a database callso I have a doLink method
being called on the click listener of the link bar component that handles which
link is clicked and which level of the view stack to showsince
theyre not coupled like in your example Ashish, the disabled link color
doesnt seem to work at all.



Is there a work around for this?





robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman
Sent: Thursday, June 23, 2005 4:05
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] LinkBar
question





It seems to work when the ViewStack is the
dataProvider, but not when using the LinkBar alone, bug or wish ? :)



?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
mx:Panel title=Link Bar Panel
 mx:LinkBar disabledColor=#FF
dataProvider={['Flash','Director']} /
/mx:Panel
/mx:Application







Philippe Maegerman















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal
Sent: jeudi 23 juin 2005 1:09
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] LinkBar
question

I have just emulatedyour scenario.
In this case the active link color will change to red. Let me know if that
doesn't work for you.



?xml version=1.0
encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
width=600 height=600







mx:ViewStack
height=300 width=400 id=ViewStack1
mx:VBox width=100% height=100%
label=View1
 mx:Button
label=Button1/
/mx:VBox
mx:VBox width=100% height=100%
label=View2
 mx:Button
label=Button2/
/mx:VBox
mx:VBox width=100% height=100%
label=View3
 mx:Button
label=Button3/
/mx:VBox
mx:VBox width=100% height=100%
label=View4
 mx:Button
label=Button4/
/mx:VBox
/mx:ViewStack







mx:LinkBar
dataProvider=ViewStack1 disabledColor=#FF/







/mx:Application



Thanks

-Ashish











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: Wednesday, June 22, 2005
11:57 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] LinkBar
question



Not sure what you mean. Using the
disabledCOlor attribute does nothing. I have a linkbar at the bottom of
my page that navigates a viewstack which takes up the upper portion of the
page. I want to be able to indicate to the user when they click on the
link in the link bar which location theyve clicked on by either changing
the color of the link they clicked on or leaving the background color that
appears when you mouse over the link to indicate thats the last link
they clicked on. How can I do this?



robert l. brueckmann



senior web developer



merlin securities



595 madison avenue



new york,ny 10022



p: 212.822.4821
f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal
Sent: Wednesday, June 22, 2005
1:33 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] LinkBar
question



You can have the selected link to show in
a different color though instead of the default grey

RE: [flexcoders] alert listener

2005-06-23 Thread Robert Brueckmann









That was fantastic. Thanks!





robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Thursday, June 23, 2005 3:59
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] alert
listener







Use Application's getURL:











mx.core.Application.getURL(index.html);











- Original Message - 



From: Robert Brueckmann 





To: flexcoders@yahoogroups.com






Sent: Thursday, June 23,
2005 3:44 PM





Subject: [flexcoders] alert
listener













I have an alert listener thats
instantiated upon login to my application like so:

public var alertListener:Object
= new Object();

function createListener() {


alertListener.click = function(event) {



getURL(index.html);


}

}

Then I have a method that is
called when the application session has ended like so:

public function
sessionEnded():Void {


mx.controls.Alert.show(Your session has ended and you must log back into
the site., Session Alert,


mx.controls.Alert.OK, this, alertListener, , mx.controls.Alert.OK);

}

When the user clicks on a link
and the session has ended, it pops up the alert window successfully, telling
them they must log in againI had hoped that after reading this message
and clicking ok, the application would refresh and theyd be presented
with the login screen again, only thing is, getURL buried in the
createListener() method isnt workingIve put trace statements
in thereits getting thereit just doesnt want to get
me my URL. Does this have something to do with scoping here? Is
there a way to do this properly, scope-wise if that is in fact the case so my
call to getURL actually does work?



robert l. brueckmann



senior web developer



merlin securities



595 madison avenue



new york,ny 10022



p: 212.822.4821
f: 212.822.4820 





















This message contains information
fromMerlin Securities, LLC, or from one of its affiliates, that may be
confidential and privileged. If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this information
and note that such actions are prohibited. If you have received this
transmission in error, please notify the sender immediately by telephone or by
replying to this transmission.





Merlin Securities, LLC is a registered
broker-dealer. Services offered throughMerlin Securities, LLC are not
insured by the FDIC or any other Federal Government Agency, are not deposits of
or guaranteed byMerlin Securities, LLCand may lose value. Nothing
in this communication shall constitute a solicitation or recommendation to buy
or sell a particular security.





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




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











This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


--
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/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] LinkBar question

2005-06-22 Thread Robert Brueckmann
Is there a way to leave the selection background behind the currently
selected link in a LinkBar to indicate to the user which link is
currently selected?  None of the attributes seem to indicate anything of
the sort, so I was curious if anyone is doing anything like this out
there?

Thanks!

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
Yahoo! Groups Links

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

* 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/
 





RE: [flexcoders] LinkBar question

2005-06-22 Thread Robert Brueckmann









Not sure what you mean. Using the
disabledCOlor attribute does nothing. I have a linkbar at the bottom of my
page that navigates a viewstack which takes up the upper portion of the page.
I want to be able to indicate to the user when they click on the link in the
link bar which location theyve clicked on by either changing the color
of the link they clicked on or leaving the background color that appears when
you mouse over the link to indicate thats the last link they clicked
on. How can I do this?





robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal
Sent: Wednesday, June 22, 2005
1:33 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] LinkBar
question





You can have the selected link to show in
a different color though instead of the default grey color for better visibility.
Just set 'disabledColor' property on the link bar to the desired color.



Thanks

-Ashish













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: Wednesday, June 22, 2005
8:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] LinkBar
question

Is there a way to leave the selection background behind the currently
selected link in a LinkBar to indicate to the user
which link is
currently selected? None of the attributes
seem to indicate anything of
the sort, so I was curious if anyone is doing
anything like this out
there?

Thanks!

robert l. brueckmann
senior web developer
merlin securities
595
  madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820



This message contains information from Merlin
Securities, LLC, or from one of its affiliates, that may be confidential and
privileged. If you are not an intended recipient, please refrain from any
disclosure, copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error, please
notify the sender immediately by telephone or by replying to this transmission.

Merlin Securities, LLC is a registered
broker-dealer. Services offered through Merlin Securities, LLC are not insured
by the FDIC or any other Federal Government Agency, are not deposits of or
guaranteed by Merlin Securities, LLC and may lose value. Nothing in this
communication shall constitute a solicitation or recommendation to buy or sell
a particular security.









This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Comboboxes and TitleWindows

2005-06-16 Thread Robert Brueckmann









I noticed something strange happening and I wanted to know if anyone
had a solution or if I'm doing something completely wrong/weird...



I have an ActionScript method that uses the popup manager to create a
custom TitleWindow component like so:



var reportWindow:TitleWindow = 

 TitleWindow(PopUpManager.createPopUp(

this, ReportWindow, false, 

{title: reportName, width: w,
height: h, reportPath: url, reportType: reportType, showExport: true}));



Now my custom ReportWindow component contains a combobox in the upper
right hand corner of the window that is populated by the creationComplete
listener of the window.



Now if a user clicks the button three times that triggers the method above
to create 3 separate instances of my custom ReportWindow popupthe first
window opens and the combobox is populated, the second window opens, the
combobox is populated but it now has duplicated every single element in the
combobox AS has the combobox in the 1st window that was openedthen
the 3rd window opens and now all three comboboxes in each of the
windows has triplicated every single element in the combobox. Why is
this? Ive gotten around this by statically listing the elements of
the dataprovider for the combobox like this:



mx:ComboBox
width=200 id=formatTypes change=exportReport(event);

 mx:dataProvider

 mx:Array

 mx:Object
label=Export this report to... /

 mx:Object
label=pdf /

 mx:Object
label=xml /

 mx:Object
label=csv /

 mx:Object
label=pipe /

 mx:Object
label=html /

 mx:Object
label=excel /

 mx:Object
label=word /

 /mx:Array

 /mx:dataProvider

 /mx:ComboBox



And now each window opens with the correctly populated comboboxbefore,
the method being called by the windows creationComplete listener was
calling this method (which was causing the duplication of values in all
comboboxes across the board):



public function
setExportFormats() {

 formats.push({label:
html});

 formats.push({label:
xml});

 formats.push({label:
csv});

 formats.push({label:
pipe});

 formats.push({label:
pdf});

 formats.push({label:
word});

 formats.push({label:
excel});

 

 formatTypes.dataProvider
= formats;

 }



Why the heck would a method in my third window used to populate the
combobox in THAT window ALSO be populating the comboboxes in all open
windows? Am I missing something here?



robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,
ny 10022

p: 212.822.4821

f: 212.822.4820








This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] render Pdf document in a flex app

2005-06-10 Thread Robert Brueckmann









I use the free utility swftoolsgoogle
ittheyre a free set of libraries that convert a whole slew of
standard file formats into a Flash document rather nicelywe have a
reporting utility that generates PDFs on the fly, which we in turn use this
utility to convert it into a SWF on the fly which we then load into our Flex app
into a Loader component embedded in a Panel component and we provide a link in
the title bar of the Panel for the PDF so the user can print it out or just
save it if they want to, to their personal computer. Works out well for us.



Rob





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821

f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jose Lora
Sent: Friday, June 10, 2005 9:38
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] render
Pdf document in a flex app





Not ideal, but you could also convert them
to FlashPaper and load them directly into your app.











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Bullotta
Sent: Friday, June 10, 2005 8:32
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] render
Pdf document in a flex app





Perhaps host the whole thing in a JSP
page and an IFrame (which will dynamically point to your PDF file) and use
_javascript_ to bind the two together









From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Valy Sivec
Sent: Friday, June 10, 2005 9:04
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] render Pdf
document in a flex app





Hello flexcoders,

How can I
render a pdf document in a Flex container
(panel)?
I have some library of pdf documents that I
would like
to display them within the app, no pop-ups
or things
like that... I'd like to be able include the
pdfs at
runtime...

Thanks,
Valy










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] question about popup manager

2005-06-09 Thread Robert Brueckmann
Maybe I'm not making sense when I explain what I want...I want my
left-hand navigation menu to ALWAYS be on top of EVERYTHING...no matter
how many pop-up windows I pop-up using the PopupManager, I still want
that left-hand menu to lay on top of everything...even these TitleWindow
pop-ups I'm openings using the PopupManager...is that possible?

Is there a way to set the depth of my menu so it is ALWAYS on top
(DepthManager.setDepthTo(kTopmost)) for my menu VBox component?

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, June 09, 2005 2:35 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] question about popup manager

On 6/8/05, Robert Brueckmann [EMAIL PROTECTED] wrote:

[snip]

 Despite my call to set the depth of my menu above the News popup, the
depths
 are still the same and the news remains on top of everything else. 

 
 Why isn't the setDepthAbove call working? 

It works only for siblings.  See this code, it doesn't work:

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  xmlns=*
  mx:Canvas
mx:Box id=box1 x=10 y=10 width=200 height=200
backgroundColor=red /
mx:Box id=box2Parent 
  mx:Box id=box2 x=20 y=20 width=200 height=200
backgroundColor=yellow /
/mx:Box
  /mx:Canvas
  mx:Button label=Click Here click=box1.setDepthAbove(box2);
alert(box1.depth + ':' + box2.depth) /
/mx:Application

If you replace 'box2' with 'box2Parent' in the click handler for the
Click Here button, it'll work.  So I think you should try to find
the sibling for the menu in the TitleWindow's parent chain (or vice
versa) and then try to set the depth for it.


 
Yahoo! Groups Links



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
Yahoo! Groups Links

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

* 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] dragging around a canvas

2005-06-06 Thread Robert Brueckmann
Is there a simple example somewhere of being able to drag and drop a
panel around a canvas?  I've seen the minimizable/maximizable and the
draggable examples previously posted, but I just want to be able to
allow the user to move a handful of panels that contain static
information around the canvas of their browser in any order/position
they would like and I can't seem to figure it out with the drag  drop
examples I find in the documentation...

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
Yahoo! Groups Links

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

* 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] FormItem icon attribute not working?

2005-06-02 Thread Robert Brueckmann
Anyone have any success getting this to work?  Like if I want a help
bubble icon next to certain form fields, I can't do it because the icon
doesn't show up...I have a work around but then the alignment of the
form items gets thrown off...thoughts?
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
Yahoo! Groups Links

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

* 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/
 




RE: [flexcoders] FormItem icon attribute not working?

2005-06-02 Thread Robert Brueckmann
Thanks Manish!

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, June 02, 2005 4:12 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] FormItem icon attribute not working?

On 6/2/05, Robert Brueckmann [EMAIL PROTECTED] wrote:
 Anyone have any success getting this to work?  Like if I want a help
 bubble icon next to certain form fields, I can't do it because the
icon
 doesn't show up...I have a work around but then the alignment of the
 form items gets thrown off...thoughts?

You can achieve the same by extending FormItem to reserve some space
for the icon and then placing the icon appropriately.

?xml version=1.0?
mx:FormItem xmlns:mx=http://www.macromedia.com/2003/mxml;
  mx:Script
import mx.controls.Image;

// this holds the icon
private var iconHolder:Image;

public function createChildren():Void
{
  super.createChildren();

  iconHolder = Image(createChild(Image, , {source: icon}));
}
public function getViewMetrics():Object
{
  var vm:Object = super.getViewMetrics();
  // reserve extra space for icon
  vm.left += iconHolder.width + getStyle(horizontalGap);
  return vm;
}
public function layoutChildren():Void
{
  super.layoutChildren();

  var vm:Object = super.getViewMetrics();
  iconHolder.move(vm.left + getStyle(marginLeft),
  vm.top + getStyle(marginLeft));
}
  /mx:Script
/mx:FormItem

Usage:

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  xmlns=*
  mx:Form
MyFormItem icon=@Embed('bubble.jpg') label=Name
  mx:TextInput /
/MyFormItem
  /mx:Form
/mx:Application


 
Yahoo! Groups Links



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
Yahoo! Groups Links

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

* 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] flex app loading hangs

2005-05-11 Thread Robert Brueckmann
We were trying to demo our site to a potential client who happens to be
running Windows 2000 with the latest version of IE and Flash available
for that platform.  He went to our URL and the initial loading screen
comes up but just stops at 2% and hangs.

He went to another computer in his office and the application loaded
without a problem.  Any thoughts about what could possibly happening on
this machine where the app is hanging?  We've refreshed, flushed his
browser cache, restarted the machine, etc...it just hangs at 2% on that
machine...

Anomaly?  Something we're overlooking?

This is the first time we've experienced this in the dozens of demos
we've given...so could this just be some weird Windows inexplicable
behavior?

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
Yahoo! Groups Links

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

* 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/
 




RE: [flexcoders] flex app loading hangs

2005-05-11 Thread Robert Brueckmann
I thought Flex only loaded in the latest version of Flash player?  If
that was the case wouldn't he not even have the loader come up
displaying that it's hanging at 2% if he didn't have the correct
version?

What's the quickest way to have him check the two computers to see what
version of flash player he's running?

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Wednesday, May 11, 2005 2:25 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] flex app loading hangs

On 5/11/05, Robert Brueckmann [EMAIL PROTECTED] wrote:

 He went to another computer in his office and the application loaded
 without a problem.  Any thoughts about what could possibly happening
on
 this machine where the app is hanging?

So what could be different about the 2 machines?  The Flash Player
version perhaps?


 
Yahoo! Groups Links



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
Yahoo! Groups Links

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

* 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/
 




RE: [flexcoders] tree with checkboxes?

2005-05-10 Thread Robert Brueckmann









Nice. Thanks!





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Monday, May 09, 2005 11:35
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] tree
with checkboxes?





http://www.macromedia.com/support/documentation/en/flex/1/cellrenderers/cellrenderers14.html











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: Monday, May 09, 2005 8:45 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] tree with
checkboxes?







Is it possible to have a checkbox next to
each item in a tree? Some sort of custome Tree node renderer or
something? Is there an example of this or is someone out there doing this
already?





Robert L. Brueckmann



Senior Web Developer



Merlin Securities, LLC



595 Madison Avenue



New York, NY 10022



p: 212.822.4821
f: 212.822.4820 



















This message contains information
fromMerlin Securities, LLC, or from one of its affiliates, that may be
confidential and privileged. If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this information
and note that such actions are prohibited. If you have received this
transmission in error, please notify the sender immediately by telephone or by
replying to this transmission.












Merlin Securities, LLC is a registered broker-dealer.
Services offered throughMerlin Securities, LLC are not insured by the
FDIC or any other Federal Government Agency, are not deposits of or guaranteed
byMerlin Securities, LLCand may lose value. Nothing in this
communication shall constitute a solicitation or recommendation to buy or sell
a particular security.












This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] tree with checkboxes?

2005-05-09 Thread Robert Brueckmann









Is it possible to have a checkbox next to
each item in a tree? Some sort of custome Tree node renderer or something? Is
there an example of this or is someone out there doing this already?





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820 










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] setFocus() on a TextInput

2005-05-09 Thread Robert Brueckmann
Try this:

mx:TextInput id=username 
creationComplete=Selection.setFocus(username); /

You need to use the Selection class to do what you want.  Only thing is,
if you're expecting the caret to be blinking in the field when loaded in
the browser, you're not guaranteed that behavior every time...the field
definitely has focus every time, the caret isn't always blinking in it
though...it happens intermittently...so the way I got around this is I
use the JSP taglib tag and embed my entire flex app in a JSP page and in
the body element of the HTML in my JSP, I force forcus on the Flex movie
which has an ID, so I use Javascript to force the focus of the Flex app,
which in turn guarantees a blinking caret in my focuses field without
fail every time. 

Rob

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of heybluez
Sent: Monday, May 09, 2005 11:56 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] setFocus() on a TextInput

So..i want a textinput to show focus..on other words it should
selected for editing, etc.

I try:

feedURLText.setFocus();

with feedURLText as the ID of the TextInput component.

This does not seem to work.

Any ideas?

Thanks,
Michael




 
Yahoo! Groups Links



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
Yahoo! Groups Links

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

* 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] variable naming convention oddity

2005-05-05 Thread Robert Brueckmann
I just encountered something very bizarre.  I have a java VO called
DateSpans...it's a class that simply contains a whole set of variations
of date spans available for a portfolio the user selects and I use this
class to dynamically set the calendar component in my flex app.  

The DateSpans class is populated by a procedure in the database and then
I send the DateSpans VO back to my Flex delegate class and use it
accordingly in my app.  An example of some of the fields of this VO is 

...
previousMTDFromDate
mTDFromDate
mTDToDate
previousQTDFromDate
qTDFromDate
qTDToDate
...

I have a corresponding ActionScript VO that has all the same fields.
Well, in my Flex app, I would retrieve the previousMTDFromDate and it
would work...then when I went to retrieve the mTDFromDate or the
mTDToDate, I would get an undefined returned to me.  I have 25 other
fields that I use and they were all turning back the date to me
correctly...except for the ones that were named starting with yTD, mTD,
qTD.  It wasn't until I actually went through the fields in both VOs and
renamed those fields to:

...
mtdFromDate
mtdToDate
qtdFromDate
qtdToDate
ytdFromDate
ytdToDate
...

That I started getting the returned item I was successfully getting from
the other fields...is there some issue with a naming convention with
fields that start with only one lowercase letter?  I SWEAR all I did was
rename the fields to the examples above from qTDFromDate to qtdFromDate
and so on and that fixed my problem.  I thought I was going crazy...I
was watching Java set the variables and I was calling them to
doublecheck right before I sent the DateSpans object back to my
ActionScript delegate class and all the info was there as I expected it
to be for every field in the VO...and as soon as I entered the delegate
I was printing out these fields...everything was properly set except for
the ones that started with a single lowercase letter followed by a
series of capital letters...isn't that bizarre?  I named them initially
that way just for function naming sake so the functions would be
setMTDFromDate, getMTDToDate, etc just for ease of readability...but now
they're all setMtdFromDate, getMtdToDate, which isn't the end of the
world but I think this is kind of a funny behavior...am I missing
something?

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
Yahoo! Groups Links

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

* 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] Tile container?

2005-05-05 Thread Robert Brueckmann
Is there a way to set how many items you want in a row for the tile
container to put...it seems it's default is 3 per row...any way to
change this?  There doesn't seem to be anything in the API or in the
examples that come with Flex or in the APIs themselves...just figured
there might be something clever someone is doing out there...

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
Yahoo! Groups Links

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

* 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/
 




RE: [flexcoders] Tile container?

2005-05-05 Thread Robert Brueckmann









Thanks David but Im using the Tile
container not the TileListthe tileList has a nice columnCount attributeI
just want to use the Tile container that displays items in equal sized cells
and it seems to only allow for 3 items per row no matter what I do and the
columnCount attribute, when set for the Tile container, is ignored and still
only allows for 3Ive just succumbed to its unchangeable 3
for now but this is kind of strange.





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Terry
Sent: Thursday, May 05, 2005 1:35
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Tile
container?





Robert,



If I understand your request correctly,
you want to change the number of columns for the tileItem control?



You can change the
columnCount property to reflect the number needed. IE:
columnCount=1



I hope that helps.



~David T.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: Thursday, May 05, 2005 12:07
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tile
container?





Is there a way to set how
many items you want in a row for the tile
container to put...it seems it's default is 3 per
row...any way to
change this? There doesn't seem to be
anything in the API or in the
examples that come with Flex or in the APIs
themselves...just figured
there might be something clever someone is doing
out there...

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595
  Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820



This message contains information from Merlin
Securities, LLC, or from one of its affiliates, that may be confidential and
privileged. If you are not an intended recipient, please refrain from any
disclosure, copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error, please
notify the sender immediately by telephone or by replying to this transmission.

Merlin Securities, LLC is a registered
broker-dealer. Services offered through Merlin Securities, LLC are not insured
by the FDIC or any other Federal Government Agency, are not deposits of or
guaranteed by Merlin Securities, LLC and may lose value. Nothing in this
communication shall constitute a solicitation or recommendation to buy or sell
a particular security.










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Tile container?

2005-05-05 Thread Robert Brueckmann
Thanks Manish...I was initially thinking of using the grid...guess I
should have just went with that...I just thought the Tile Container
would have something like the tile list component that you could
indicate how many you wanted in a row.  Thanks again for your help!

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, May 05, 2005 3:21 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Tile container?

On 5/5/05, Robert Brueckmann [EMAIL PROTECTED] wrote:
 Is there a way to set how many items you want in a row for the tile
 container to put...it seems it's default is 3 per row...any way to
 change this?  There doesn't seem to be anything in the API or in the
 examples that come with Flex or in the APIs themselves...just figured
 there might be something clever someone is doing out there...

The Tile container is designed to lay out its children in a way such
that, if children no longer fit in one direction, they wrap to the
next row/column.  So it's like a Box with automatic wrapping.  There's
no hard limit on the number of rows/columns in a Tile -- it depends on
the available space.  The horizontal Tile grows vertically, the
vertical Tile grows horizontally.

If you're looking for a fixed number of columns/rows, then you really
want a bunch of Box'es inside Box'es.

 !-- 3x3 grid --
 mx:VBox
  mx:HBox!-- 3 children here --/mx:HBox
  mx:HBox!-- 3 children here --/mx:HBox
  mx:HBox!-- 3 children here --/mx:HBox
 /mx:VBox

Or (bingo!) a Grid:

 mx:Grid
   horizontalGap=8
   verticalGap=8
   ...
   These child tags are examples only:
  mx:GridRow id=row1
   mx:GridItem
 rowSpan=1
 colSpan=1
   mx:Button label=Button 1/
   /mx:GridItem
   ...
  /mx:GridRow
   ...
 /


 
Yahoo! Groups Links



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
Yahoo! Groups Links

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

* 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] drag drop

2005-04-22 Thread Robert Brueckmann









Is there any way to get the id of the
component which is the source from which youre dragging items from?



Im trying to do 2 things on a
page. I have a list of indices and a blank listthe user first can drag
indices over to the blank list and then once theyve dragged them over,
they can then drag and drop within the list to order them accordinglyso
I have the initial drag  drop done without a hitchbut I can figure
out the intra-list drag  dropping for ordering purposesI thought
one way would be in the the doDragOver function, I would simply check the id of
the source and against the id of the destination and if theyre equal
make it a move action, otherwise its a copy actionI can get the
id of the destination without a hitch but I cant figure out how to
retrieve the id of the source the item is being dragged from.



Possible? Should I just add an up and
down arrow next to the list and make them select the items and call the
setChildIndex method on the item in the list instead of doing the whole drag
 drop thing?





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] drag drop

2005-04-22 Thread Robert Brueckmann









Thanks Ashish! I couldnt find
anything like that in the documentation anywhere! Thanks a lot.





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal
Sent: Friday, April 22, 2005 12:36
PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] drag
drop





You can get the dragging source
byusing -event.dragSource.dataForFormat(source).



Thanks

-Ashish











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 22, 2005 9:03
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] drag drop



Is there any way to get the id of the
component which is the source from which you're dragging items from?

I'm trying to do 2 things on a
page. I have a list of indices and a blank list...the user first can drag
indices over to the blank list and then once they've dragged them over, they
can then drag and drop within the list to order them accordingly...so I have
the initial drag  drop done without a hitch...but I can figure out the
intra-list drag  dropping for ordering purposes...I thought one way would
be in the the doDragOver function, I would simply check the id of the source
and against the id of the destination and if they're equal make it a move
action, otherwise it's a copy action...I can get the id of the destination
without a hitch but I can't figure out how to retrieve the id of the source the
item is being dragged from.

Possible? Should I just
add an up and down arrow next to the list and make them select the items and
call the setChildIndex method on the item in the list instead of doing the
whole drag  drop thing?



Robert L.
Brueckmann



Senior Web Developer



Merlin Securities, LLC



595 Madison Avenue



New York, NY
 10022



p: 212.822.4821
f: 212.822.4820



















This message contains information
fromMerlin Securities, LLC, or from one of its affiliates, that may be
confidential and privileged. If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this information
and note that such actions are prohibited. If you have received this
transmission in error, please notify the sender immediately by telephone or by
replying to this transmission.





Merlin Securities, LLC is a registered
broker-dealer. Services offered throughMerlin Securities, LLC are not
insured by the FDIC or any other Federal Government Agency, are not deposits of
or guaranteed byMerlin Securities, LLCand may lose value. Nothing
in this communication shall constitute a solicitation or recommendation to buy
or sell a particular security.









This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] printing font size

2005-04-12 Thread Robert Brueckmann









Hey guys and galsIm trying
to print my datagridits not a large datagriddefinitely
fits on one pagejust experimenting and I notice that when I printthe
font size is huge. It looks much larger than the size of the text in the
grid on my screen but it could be because I have a 19 inch lcd panelbut
the font is whatever the standard size that is the default in FlexIm
not changing the size manually, whatever comes as the default is what is being
displayedone column is bold, thats the only style actually I am
applying. Is there any way to shrink the font size for printing
purposes? 





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820 










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] FlashForward2005 - San Francisco

2005-04-01 Thread Robert Brueckmann









Anyone on this list going to this
conference next week? I cant waitsome of the seminars look greatgranted
its not Flex-oriented it still should provide some interesting info on
actionscript, components, RIAs and what have you based on the what Ive
read in the descriptions on some of the sessionsif not, these sessions Im
attending still pertain to some of the other work I do here.



At any ratejust was curious if Id
get to put a face to an email address is all and maybe even see what youve
been doing with Flex, if company confidentiality permits on your part to
compare notesjust a thought.



Cheers,

Rob





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821

f: 212.822.4820











From: Jason Szeto
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 22, 2005 1:33
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Timer
object for logout





Also, the getTimer() function will return
the number of milliseconds that have elapsed since the application started.












From: Clint Modien
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 22, 2005
10:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Timer
object for logout





Not that I can think of off the top of my
head as a work around you could set a global datetime var in the app
each time the user clicks on the app.



Then use the setInterval function to check
that global var every x number of seconds 











From: Jeff Krueger
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 22, 2005
11:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Timer object
for logout





All,


Is there any type of a timer object that can be used to log a user out of an
app after a certain length of inactivity?



Thanks



Jeff

















This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Can someone help me figure out this code

2005-03-28 Thread Robert Brueckmann









You need to give unique ids to the
comboboxes. mx:Combobox id=cb1 / mx:Combobox
id=cb2  /you really should do it for all components
you have in your mxml file that youll be updating or changing
dynamically





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:46
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can someone
help me figure out this code







What I am trying to do is make two combo boxes one if you
make a selection it puts some text in a tex
box based on the selection, then have another one right under that that does
the same thing. The problem is the computer gets confused when it sees two
combo boxes so can someone explain this to me please











?xml version=1.0
encoding=utf-8?











mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml











 mx:Script











 public var lettersone =
[ {label:A, Number:0}, {label:B, Number:1},
{label:C, Number:2}, {label:D, Number:3},
{label:E, Number:4}, {label:F, Number:5}, {label:G,
Number:6}, {label:H, Number:7}, {label:I, Number:8},
{label:J, Number:9}];











 public var
selectedItem:Object;


public var letterstwo = [ {label:A, Number:0},
{label:B, Number:1}, {label:C, Number:2},
{label:D, Number:3}, {label:E, Number:4},
{label:F, Number:5}, {label:G, Number:6},
{label:H, Number:7}, {label:I, Number:8},
{label:J, Number:9}];












public var selectedletter:Object;











 /mx:Script











 mx:HBox
horizontalGap=30











 mx:ComboBox dataProvider={lettersone}
width=150
change=selectedItem=event.target.selectedItem/
 mx:ComboBox
dataProvider={letterstwo} width=150
change=selectedItem=event.target.selectedletter/
 mx:VBox
width=200
 mx:Label
text={selectedItem.label}/
 mx:Label
text={selectedItem.Number}/
mx:Label text={selectedletter.label}/
 mx:Label
text={selectedletter.Number}/
 /mx:VBox











 /mx:HBox











/mx:Application


















































This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Tabular data

2005-03-23 Thread Robert Brueckmann









What would be the best way to take XML
from the database and output it to the screen in a way that would look like an
exploded datagrid, static, in tabular format? Is this possible? Im
just playing with some ideas of utilizing Flex for displaying dynamically
generated data in a report-like formatright now I really came up with
quite a hack that utilizes a 3rd party reporting engine (which is
terrible and we paid a lot of money for) to generate a PDF report from XML
using these horrendous templates you have to create using their ridiculously
crappy report designer, and then I spawn a process from Weblogic that takes this
newly-created PDF and converts it to a SWF using yet another 3rd party
utility (luckily, open-source) and then I get back the path to the newly
converted SWF report and display that in a Loader component within my Flex
application. It works and generates some pretty decent reports but its
a nightmare to maintain (mainly due to the 3rd party report engine)so
Id really like to harness as much power from Flex as possible.



Ideally, I just like to be able to send
the XML DIRECTLY to my Flex app and just simply build a table with this XML
datamaybe throw some alternating row colors in there. I dont
want it to be in a datagrid because printing is a little quirky in the datagrid...is
there a way to do this? Ive noticed in some of the other things Ive
done in my application that the Repeater component kind of gets slow real
quickly if you add much complexity to itso Im guessing this
probably isnt a valid option right now given the youth of Flex.



Thanks,

Rob





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] datagrid cell scrollbars

2005-03-04 Thread Robert Brueckmann







That did the trick. I never eventhought
to look into my custom renderer and shut off the scroll policy of the cell
renderer. As soon as I added hScrollPolicy to off for both of my custom cell
renderes, printing no longer produces the horizontal scroll bars! Yourock.
Thanks.





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


RE: [flexcoders] Theory and Practice: Mixing AS2.0 in MXML

2005-03-04 Thread Robert Brueckmann







Thanks a lot for the time you spent doing
that Erik! Much appreciated!





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


remoting StuckThreadMaxTime?

2005-03-04 Thread Robert Brueckmann
Title: Message







I see this in my log file every now and
again:



Mar 4, 2005 12:00:01 PM EST
Error WebLogicServer BEA-000337 ExecuteThread: '11'
for queue: 'weblogic.kernel.Default' has been busy for 1,046
seconds working on the request Http Request: /admin//amfgateway,
which is more than the configured time (StuckThreadMaxTime) of 600
seconds. 

Mar 4, 2005 12:00:01 PM EST
Error WebLogicServer BEA-000337 ExecuteThread: '12'
for queue: 'weblogic.kernel.Default' has been busy for 1,185
seconds working on the request Http Request: /admin//amfgateway,
which is more than the configured time (StuckThreadMaxTime) of 600
seconds. 

Mar 4, 2005 12:00:01 PM EST
Error WebLogicServer BEA-000337 ExecuteThread: '14'
for queue: 'weblogic.kernel.Default' has been busy for 1,153
seconds working on the request Http Request: /admin//amfgateway,
which is more than the configured time (StuckThreadMaxTime) of 600
seconds.



Is there a way to pinpoint where this is
happening? It seems to just popup in the middle of my app server logs, in
between valid log output statementsseems randomand plus I dont
understand the deal with the request its saying is being madeI
dont have a web app called admin and why is the amfgateway
trying to be accessed there with two backslashes? Weird. Everything
is working finebut I was just perusing my log files and happened upon
these entries, which I noticed appear intermittently throughout



Thoughts?





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


RE: [flexcoders] Theory and Practice: Mixing AS2.0 in MXML

2005-03-03 Thread Robert Brueckmann







Can I ask how you manage an MXML without
any ActionScript at all? How in a file that has components with clickor
change listeners would you not have any supporting ActionScript codeI
mean just about every single one of my MXML files has initialize or
creationComplete listeners in the parent container tag with dozens of other
components that are dependent on dataproviders changing and user interactions
like clicking or dragging and dropping and I cant begin to imagine how I
could extract every bit of ActionScript from my MXML files into individual
ActionScript classesmaybe Im not grasping the Cairgorm design
architecture fullyI thought I had a pretty good grasp on it but to hear
that youre writing MXML files with no ActionScript in them whatsoever
kind of baffles mecan you give me an example?



Thanks for bearing with me! ;)





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


datagrid cell scrollbars

2005-03-02 Thread Robert Brueckmann







I have a datagrid that has 6 columns and
it about 20 rows high. I send it as one page to the printer using the
PrintJob class, it prints the datagrid so everything fits within the boundaries
of the piece of paper but the problem is, some of the text in the cells is
wider than the printer-friendly adjusted widths of the columns that I guessthe
internal PrintJob class is handling or whatever mechanism to send an objectto
a PrintJob class is doing. 



It wouldnt be so bad if the text
got cut off, but instead of getting cut off, the entire cell is replaced with a
horizontal scrollbar that completely hides the contents of the cell and thats
what gets printeda random scatter of cells that are simply horizontal
scrollbars. Is there any way to prevent the horizontal scrolling? I
cant find anything in the DataGridColumn or DataGridRow classesideas?





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


RE: [flexcoders] datagrid does not display http data

2005-03-02 Thread Robert Brueckmann







Instead of creating an alert with the
result attribute of the HTTPService request, make a call to a method that would
set the dataprovider to the resulting XML.



The problem is, when the datagrid is
created, the XML from the HTTPService isnt ready yet, so you need to
reset the dataprovider of the datagrid once the XML is actually returned. So
try something like:



mx:HTTPService id=catalogContents
contentType=application/xml
method=GET protocol=http
resultFormat=xml 
url=""
href="http://localhost:8080/protocore/getCatalogContents">http://localhost:8080/protocore/getCatalogContents
fault='alert(event.fault.faultstring,,mx.controls.Alert.OK)'
result=setData(event.result);
resultFormat=object



mx:Script

public function setDate(result:Object) {

catalogGrid.dataProvider =
result.element;

}

/mx:Script

mx:DataGrid id=catalogGrid
height=100% width=100%
dataProvider={catalogContents.result.element}




Not sure if that code will actually work but thats
the general gist of it.





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


loader

2005-03-02 Thread Robert Brueckmann







Background:



Ive built a reporting application.
The user logs in, selects criteria and I send the users criteria in XML
format to a stored procedure, which generates an XML result set, which we send
to a template-based 3rd-party reporting engine which produces
a PDF reportwhen the report has been generated, I make a call to another
3rd-party utilitythe open-source SWFTools utility called
PDF2SWF, which converts that newly generated PDF report into a single SWF filewith
each page of the original PDF file being represented in a frame of the overall SWF
moviethen I load the converted SWF report into my loader component for
the users viewing pleasure, where I created a page slider component that
allows the user to flip pages of the report. (Honestly, the next version of Flex,
I HOPE, really needs to focus on reporting functionality because this is one
hell of a convoluted, EXPENSIVE way to get a simple multi-paged, printable
report out of this system!). 



Question: 



This is all working fine and great, but
the main complaint is the user cant use the mouse scroll or the vertical
scroll bar to the right to scroll down the report to the next page, and then to
the next page and so onlike they can in the PDF version of the report.
In the Flash-version, they can only get to the next page of the SWF report by
using my nifty page slider which simply increments (or decrements) to the next
frame of the report SWF movie. Is there anyway to load that multi-framed SWF
movie into the loader component and within the loader component, dynamically
extract out each frame of the movie and display it in a vertical series of HBox
components? Can you do that with a multiframed movie? I wouldnt think
so but I figured its worth a shot in asking. Ive tried using
FlashPaper and embedding that into the loader component, but trying to get that
to stretch and print correctly is a nightmare in and of itselfnot to
mention the application server is running on Linux so while in theory and
development, FlashPaper works beautifully on my Windows desktop, but FlashPaper
doesnt come for Linux unfortunately. 



Alternatively, is there anything smartI
can do with the mouse scroller that would scroll through each consecutive page
of the report insteadlike once Ive gotten to the bottom of the
visible reports page, increment the report movie frame number to the
next frame automatically? How do you capture the mouse scroller as well as the
vertical scrollbar itself, if the user was dragging this scrollbar with the
mouse pointer, itd need to mimic this behavior alsothoughts?







Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


RE: [flexcoders] datagrid cell scrollbars

2005-03-02 Thread Robert Brueckmann
Doesn't exist for DataGridColumn...at least not in the APIs...I tried
applying it to the overall datagrid, but that did nothing. *sigh*

Robert L. Brueckmann
Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820
-Original Message-
From: Manish Jethani [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 02, 2005 1:29 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] datagrid cell scrollbars


Robert Brueckmann wrote:

 Is there any way to prevent the horizontal scrolling? I can't find
 anything in the DataGridColumn or DataGridRow classes...ideas?

How about setting the 'hScrollPolicy' to off?

Manish



 
Yahoo! Groups Links



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited.If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other 
FederalGovernment Agency, are not deposits of or guaranteed by Merlin 
Securities,LLC and may lose value. Nothing in this communication shall 
constitute a solicitation or recommendation to buy or sell a particular 
security.




RE: [flexcoders] How do I get references to children of a container?

2005-03-02 Thread Robert Brueckmann







You give each button its own id
attribute and you can directly access that button by its idyou
dont have to reference the parent id first.





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


datagrid height

2005-03-01 Thread Robert Brueckmann







Hey guysI am trying something and
getting a strange behavior. I get an array of objects from the database that
becomes the data provider for my datagrid. I know the length of my data
provider thanks to the myDataGrid.dataProvider.length method and I figure I
could multiply that number by some arbitrary number of pixels to ensure that
however many items are in my data provider, thats how many rows are
visible in my datagrid on the screenso the datagrid is never scrollable.



Im using a method that sets the
dataprovider of the datagrid, myDataGrid.dataProvider = data; and then Im
calling myDataGrid.setSize(Stage.width  35, myDataGrid.dataProvider.length
* 25); 



The Stage.width  35 compensatesfor
some other things on the screen to look proportionate and the myDataGrid.dataProvider.length
* 25 is just guesstimating that each row in the datagrid component is about25
pixels high. Well the first time I tried this, 25 was too large of a number so
I adjusted it to 22, which seemed to work but still left me with a little extra
bit of a final row visible. Well that was livable. Then I get aresult set
back that only had 2 items in it, instead of the 5 I had been testing this
whole thing with and now only one row was visble and you have to scroll down to
see the second row, so I increased the 22 to 30 and that fixed it for that but
now if I call the original result set with the 5 items, I can see a row anda
half extra blank rows. Is there a better way to dynamically show the number of
rows based on the number of items in the data provider? I wish there was a
size attribute like there is with the HTML select list component where if its
a list you can say I want x-number of rows visible. I just dont ever
want the user to have to scroll within the datagridis there an easier
way to do this?



Thanks! 








This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, pleaserefrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


RE: [flexcoders] datagrid height

2005-03-01 Thread Robert Brueckmann







Thanks MattI really need to work on
my patience factor with searching the APIs. Sorrysuch an idiotI am.











From: Matt Chotin
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 01, 2005
10:55 AM
To: [EMAIL PROTECTED]
Subject: RE: [flexcoders] datagrid
height





http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclasses/ScrollSelectList.html#rowCount
J











From: Robert
Brueckmann [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 01, 2005 9:44
AM
To: [EMAIL PROTECTED]
Subject: [flexcoders] datagrid
height







Hey guysI am trying something and
getting a strange behavior. I get an array of objects from the database
that becomes the data provider for my datagrid. I know the length of my
data provider thanks to the myDataGrid.dataProvider.length method and I figure
I could multiply that number by some arbitrary number of pixels to ensure that
however many items are in my data provider, thats how many rows are
visible in my datagrid on the screenso the datagrid is never scrollable.



Im using a method that sets thedataprovider
of the datagrid, myDataGrid.dataProvider = data; and then Im calling
myDataGrid.setSize(Stage.width  35, myDataGrid.dataProvider.length *
25); 



The Stage.width  35 compensatesfor
some other things on the screen to look proportionate and the
myDataGrid.dataProvider.length * 25 is just guesstimating that each row in the
datagrid component is about 25 pixels high. Well the first time I tried
this, 25 was too large of a number so I adjusted it to 22, which seemed to work
but still left me with a little extra bit of a final row visible. Well
that was livable. Then I get a result set back that only had 2 items in
it, instead of the 5 I had been testing this whole thing with and now only one
row was visble and you have to scroll down to see the second row, so I
increased the 22 to 30 and that fixed it for that but now if I call the
original result set with the 5 items, I can see a row and a half extra blank
rows. Is there a better way to dynamically show the number of rows based
on the number of items in the data provider? I wish there was a size
attribute like there is with the HTML select list component where if its
a list you can say I want x-number of rows visible. I just dont
ever want the user to have to scroll within the datagridis there an
easier way to do this?



Thanks! 

















This message contains information
fromMerlin Securities, LLC, or from one of its affiliates, that may be
confidential and privileged. If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this information
and note that such actions are prohibited. If you have received this
transmission in error, please notify the sender immediately by telephone orby
replying to this transmission.












Merlin Securities, LLC is a registered
broker-dealer. Services offered throughMerlin Securities, LLC are not
insured by the FDIC or any other Federal Government Agency, are not deposits of
or guaranteed byMerlin Securities, LLCand may lose value. Nothing
in this communication shall constitute a solicitation or recommendation to buy
or sell a particular security.
















This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, pleaserefrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


tool tips for a linkbar

2005-03-01 Thread Robert Brueckmann







Maybe another stupid question but I cant
seem to anything in the APIs or LiveDocs about how to have individual tool tips
for a number of links I have in a linkbar component. Right now as it stands,
there seems to be only the ability to have an overall tooltip for everything in
a linkbar component.



Any ideas? Thanks!








This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, pleaserefrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


RE: [flexcoders] chart formatting

2005-03-01 Thread Robert Brueckmann







Tom,



In my chart, I have the following:



// some parent container tag



mx:Script

 ![CDATA[

 import
mx.charts.series.ColumnSeries;

 import
mx.controls.gridclasses.*;

 

 function
formatDataTip(eventObj) {

 //
Get the hit data structure from the event object:

  var
hd : mx.charts.HitData = eventObj.hitData;

  //
Cast element to a columnSeries:

  var
col : mx.charts.series.ColumnSeries =
mx.charts.series.ColumnSeries(hd.element);

  //
Get the yValue out of the data point:

 
return col.name + :\n + $ +
thousandsformatter.format(hd.item[col.yField]);

 }

 

 function
formatThousands(val) {

 return
$ + thousandsformatter.format(val);

 }

 ]]

 /mx:Script

 

 mx:VBox
width=100% height=100% id=balChartBox

 

 mx:ColumnChart
id=balChart width=100% height=100%
dataProvider={rawData} showDataTips=true
dataTipFunction=formatDataTip series={series}
initialize=setSeries();



 mx:horizontalAxis

 mx:CategoryAxis
dataProvider={rawData} categoryField={field}
name=Drill-down /

 /mx:horizontalAxis

 

 mx:verticalAxisRenderer

 mx:AxisRenderer
labelFunction=formatThousands /

 /mx:verticalAxisRenderer

 

 mx:verticalAxis

 mx:LinearAxis
name=U.S. Dollars /

 /mx:verticalAxis

 

 /mx:ColumnChart

 

 /mx:VBox

 

 mx:NumberFormatter
id=thousandsformatter precision=2
useThousandsSeparator=true useNegativeSign=false/



// parent container end tag



Which should do what youre askingjust
add the AxisRenderer with the format function and add the format function
itself with the NumberFormatter component and you should be good to go.



Hope that helps!



Rob









From: Tom Fitzpatrick
[mailto:[EMAIL PROTECTED] 
Sent: Monday, February 28, 2005
7:53 PM
To: [EMAIL PROTECTED]
Subject: [flexcoders] chart
formatting





What's the most efficient way to format the axis labels of a chart?

The dataProvider is providing values such as
135000. I want to be able to 
format these values as, for example, $135,000 or
$135K. What's the best 
approach?

- Tom Fitzpatrick
Streamline Studios














This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, pleaserefrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


RE: [flexcoders] Interesting new product for Flex

2005-02-28 Thread Robert Brueckmann







Im a little confused about whatit
is theyre offering. Are they developing an application for youin Flex?
Nowhere on their site do they actually use the words Macromedia Flex when
talking about the applications theyre buildingit appears oncein
one of their QuickTime slides as an image plucked from the Macromedia website
and thats itthey reference ActionScript and MXML but never Flex,
but its clearly what theyre using in their RIA examples they have
on their site, yet all their examples in their slides show a Swing-like
application. Very confusing. What is the trial application you download from
them? How they charge so cheaply for a Flex-built application? It was my
understanding you have to own a license per application if youre a
contracting company that builds these Flex apps for your customers





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


TabNavigator tab color styles?

2005-02-25 Thread Robert Brueckmann







Just was working on applying a stylesheet
throughout my application and Ive successfully changed the header colors
of my datagrids and panels but I cant seem to figure out how to change
the gradient fill color of my tabs in my tab navigator



I have a stylesheet with the following:



TabNavigator {

 fillColors: #D8E6EF, #FF;

}



Is that not the right syntax to apply a
gradient of a light blue to white for each tab? I dont see a similar
headerColors style attribute like I do for Panel and DataGrid componentsIm
also adding these tabs on the fly based on a users grant access when
they log instyles are still applied to components added on the fly,
right?



Rob 








This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, pleaserefrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


RE: [flexcoders] scroll Tip Function

2005-02-25 Thread Robert Brueckmann







Clint,



I see that the scrollTipFunction that you
create accepts a position parameter to the functioncant you just
refer to a column by making a call like this using the example from the API:



function
scrollTipFunction(direction:String, position:Number) : String
{
if (direction ==
vertical) {

 //
returns the name of the column youre scrolling past?

 return
myDataGrid.columns[position].columnName;

} else return ;
}



I dont know if
that works but columns is a valid attribute of the datagrid component so it
makes sense youd be able to index it, because I know Im doing
this for something else Im doinglet me know if that works













From: Clint Tredway
[mailto:[EMAIL PROTECTED] 
Sent: Friday, February 25, 2005
3:48 PM
To: [EMAIL PROTECTED]
Subject: [flexcoders] scrollTip
Function





Ok, I have searched and searched how do I reference a datagrid
column for the scroll tip function?










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, pleaserefrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


form validation

2005-02-24 Thread Robert Brueckmann







Im having a heck of a time
understanding how form validation works. I have a formit contains
text fields, drop down lists, and radio buttons. Its a basic user
information formfirst name, last name, address 1, address 2, etc. I
also have 3 fields: phone, fax, and mobile, but I only have the phone fieldas
being required (visually, anyways, utilizing the required attribute set to true
of the mx:FormItem component, but set to false for fax and mobile). Ialso
have phone, fax and mobile being monitored by the mx:PhoneNumberValidator
components. But the problem is the form wont submit if the user hasnt
entered a fax or mobile, even though theyre not required but becauseI
have validators on them. Is there any way to ONLY validate them if the
user has entered a value in their fields and not enforce them as being required
even though I dont have them flagged as being required?



Also, how do I validate whether a userhas
selected an option from a drop-down or a radio button group? I am
successfully setting their values to the data model I have set up but do I use
a StringValidator on those values to ensure something has been checked or is
there a better way to do that? I looked at the examples in Stephen and
Alistairs book but some things arent valid in Flex 1.5 anymore
and other things just confuse the heck out of me or dont apply to the
type of form Im trying to build and validate.



Any help on any of these things would be
most amazingly appreciated.



Thanks!



Rob








This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, pleaserefrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


RE: [flexcoders] Sample code for printing from a DataGrid:doesnot work?

2005-02-24 Thread Robert Brueckmann







Tracy,



Its funny you send this email
because I posted something about printing last nightI am using the same
exact code youre using from the example on MMs site and I would
say it works intermittently, at best, when I try to print my datagridat
first, if you read my post from last night, I thought it was only when I tried
to print it in landscape, because the first few times I tested it, it was
actually working in portrait but when I switched the landscape, it stopped
printinglike you said, it printed the correct number of pages but only
the visible content was printedthen I tried to print again in portrait
layout and it stopped working in that format as wellvery strange
behavior. The whole printing functionality in Flex is very weak and is sort of
the bane of my existence at the moment being as the application I developedis
a reporting application. Right now, as terrible as it sounds, I tell the users
to launch the PDF version of the report theyre viewing and use that to
print anything they wantthing is not everything in the application is
available in PDF formatmaybe Flex 2.0 will come around to thisI
really hope so anyways. Ideally, if they could provide a mx:FlashPaper
component for Flexnow THAT would be the epitome of awesomeness.



Im going to continue to investigate
this, as I hope you and Art will to and maybe we can come up with something
collaborativelybecause there doesnt seem to be a quick fix to
this conundrum.



Best,

Rob











From: Tracy Spratt
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 24,2005
2:32 PM
To: [EMAIL PROTECTED]
Subject: RE: [flexcoders]
Sample code for printing from a DataGrid:doesnot work?





I get the same misbehavior with that. Hmmm.
Tracy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 24, 2005 2:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Sample code for
printing from a
DataGrid:doesnot work?


Hi Tracy,

All I did was change the datagrid name. (If I can
remember correctly)

but here is my code just incase (Hoping that
someone will help w/ the
headder
and footer adding):

== Start Code ==
function doPrint() {

var pj : PrintJob = new PrintJob();

// position of currently visible rows stored

var prev_vPosition:Number = historyDg.vPosition;

var prev_width:Number = historyDg.width;

var prev_height:Number = historyDg.height;


if(pj.start() != true)

return;

historyDg.setSize(pj.pageWidth,pj.pageHeight);


// number of rows per view, ignoring fractions (floor)

var rowsPerPage:Number = Math.floor((historyDg.height -
historyDg.rowHeight)/ historyDg.rowHeight);

// number of pages to be printed, if there are any
fractions, have
one page for that (ceil)

var pages:Number = Math.ceil(historyDg.dataProvider.length
/
rowsPerPage);


for (var i=0;ipages;i++) {

// move the visible row position.

historyDg.vPosition = i*rowsPerPage;

// size box relative to the grid

var b=
{xMin:0,xMax:historyDg.width,yMin:0,yMax:historyDg.height}

pj.addPage(historyDg,b);

}

pj.send();

delete pj;

// position of currently visible rows restored

historyDg.setSize(prev_width,prev_height);

historyDg.vPosition = prev_vPosition;
 }

== END Code ==
 thanks,
-Art



Quoting Tracy Spratt
[EMAIL PROTECTED]:

 Have you run the example as is? Maybe
there is something else
 necessary?

 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 24, 2005 2:01 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Sample code
for printing from a DataGrid:
 doesnot work?


 Hi Tracy,

 I'm using that same function w/o problems to
print the info in the
 datagrid BUT
 I whish I could figure out how to add a
headder and footer to the
 printjob. I'm
 just too unfamiliar with the print function.
I've actually never used
 it before
 this project.

 -Art

 Quoting Tracy Spratt
[EMAIL PROTECTED]:

 The Sample code for printing from a
DataGrid posted on the MM site
 under the url below does not work:


http://www.macromedia.com/cfusion/knowledgebase/index.cfm?event=viewid=
 KC.tn_19241extid=tn_19241

 It is close, it is actually puttingthe
data into the page, but still
 only the visible area prints.If I
generate 100 lines, the output is
 the correct three pages and each page
starts on the correct line, but
 only the 8 visible lines print on each
page.

 Has anyone else tried this and succeeded?

 Tracy






 Yahoo! Groups Links












 Yahoo! Groups Links









Yahoo! Groups Links



















This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, pleaserefrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin 

RE: [flexcoders] theme

2005-02-23 Thread Robert Brueckmann







themeColor did the trick. I couldnt
seem to find that anywhere in the docs. Thanks!











From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 23, 2005
4:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [flexcoders] theme





use the theme= or themeColor= attributeof the
mx:Application tag

-Art

Quoting Robert Brueckmann [EMAIL PROTECTED]:

 If I wanted to apply the haloBlue themeto my
Flex app, what do I need
 to do? Is there an easy way to dothis
because setting the theme
 attribute in the mx:CairngormApplication tag
doesn't seem to be doing
 the trick...thanks for any help!

 
 This email may contain confidential and
privileged material for the sole
 use of the intended recipient(s). Any review,
use, distribution or
 disclosure by others is strictly prohibited.
If you are not the intended
 recipient (or authorized to receive forthe
recipient), please contact
 the sender by reply email and delete all
copies of this message.

 To reply to our email administrator directly,
send an email to
 [EMAIL PROTECTED]

 Littler Mendelson, P.C.
 http://www.littler.com

 

 This message contains information from Merlin
Securities, LLC, or 
 from one of its affiliates, that may be
confidential and privileged. 
 If you are not an intended recipient, please
refrain from any 
 disclosure, copying, distribution or use of
this information and note 
 that such actions are prohibited. If you have
received this 
 transmission in error, please notify the
sender immediately by 
 telephone or by replying to this
transmission.

 Merlin Securities, LLC is a registered
broker-dealer. Services 
 offered through Merlin Securities, LLC are
not insured by the FDIC or 
 any other Federal Government Agency, are not
deposits of or 
 guaranteed by Merlin Securities, LLC and may
lose value. Nothing in 
 this communication shall constitute a
solicitation or recommendation 
 to buy or sell a particular security.













This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, pleaserefrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


RE: [flexcoders] RemoteObject endpoint hack

2005-02-17 Thread Robert Brueckmann







Pretty cool





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


RE: [flexcoders] setFocus issue

2005-02-17 Thread Robert Brueckmann







ClintI had this same problem a few
weeks back and posted a thread for this and none of the _javascript_ or Flex
scripting suggestions I received worked for this every time the page loaded.
THE ONLY way I was able to get this to work perfectly every time my app loads
is to embed the Flex app in a JSPindex.jsp in my case, and the source of
index.jsp looks like this:



%@ page contentType=text/html;
charset=iso-8859-1 language=java errorPage=
%

%@ taglib uri=FlexTagLib
prefix=mm %

!DOCTYPE HTML PUBLIC -//W3C//DTD
HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd

html

head

meta
http-equiv=Content-Type content=text/html;
charset=iso-8859-1

style type=text/css

!--

body {

 margin-left: 0px;

 margin-top: 0px;

 margin-right: 0px;

 margin-bottom: 0px;

}

--

/style/head



body
>

mm:mxml source=Index.mxml
id=appSWF name=appSWF /

/body

/html



I force focus of the actual flash movie
and now, every time my application loads to the login screen the caret is
blinking in the username text field component without fail.



Hope that helps,

Rob





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


show listener

2005-02-15 Thread Robert Brueckmann
I have a component...a empty canvas that has a show listener that simply
calls trace to write test to the log file, ok? I then have my initial
application load up with a tab navigator with a single tab that pulls in
a very similar empty component but with a show listener that makes a
call to a function that prints static test to the log file instead.  

On this page that contains the tab navigator, I have a creationComplete
listener that triggers a method that dynamically adds the aforementioned
component, the first empty canvas with the trace print function, to the
tab navigator using the createChild method of the tab navigator.

I load up the app, the second tab is dynamically created without a
hitch...only problem is, the show listener never triggers the function
in this dynamically created tab...nor does it ever trigger the function,
whether I go back to the first tab and then come back to the dynamically
added tab...but every time I head back to the first tab, the statically
coded-in tab, that component's show listener triggers the function that
writes static test to the log file. Why would the show listener on a
dynamically added component never trigger when dynamically added to a
navigator like the tab navigator?

Robert L. Brueckmann
Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited.If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other 
FederalGovernment Agency, are not deposits of or guaranteed by Merlin 
Securities,LLC and may lose value. Nothing in this communication shall 
constitute a solicitation or recommendation to buy or sell a particular 
security.




createChild

2005-02-14 Thread Robert Brueckmann







I have an app that a user logs in, and
based on their login info I retrieve a number of applicationsthe
user has security grant access to. This array of applications
sent back from the database is simply an Array of stringsI use this
array of strings to create tabs for my tab navigator. The only application
that is created at load time is the first tab being displayedthe others
are only created at runtime when the user clicks on that applications
corresponding tab. The problem Im having is when I create the
application component when the user clicks on the tab and I call code like
this:



if (e.target.selectedChild.label == Administration
 firstTimeAdmin) {

 e.target.selectedChild.createChild(Administration,
admin, {width: 100%, height: 100%});

 firstTimeAdmin
= false;

 }



The firstTimeAdmin variable is just a flag
I set after the first time the app is created so its not created every
time the user clicks back on the Administration tabanyways, my width
attribute Im setting for the Administration component seems to be
ignoredits not stretching the components to 100%...is there a
different way I can ensure the width is being set to 100%? It actually
seems to be setting to 50% of my screen width actually.



If I have the Administration component
created at loadtime and not at the instance the user first clicks on the tab,
everything stretches fineIm doing it the way above because the
user technically could have access to all applications and some of them are
pretty complex so they could sit there for 10 seconds looking at a blank screen
in between the login and the load of the first tab because it takes that long
for all of the applications to load upso I thought this a more
streamlined approach so the user doesnt have to sit there and wait for
applications to instantiate that they possibly will never use during that
sessionbut now Im having these problems with the width



Thanks for any help!



Rob





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


RE: [flexcoders] createChild

2005-02-14 Thread Robert Brueckmann







Thanks for thatthat makes moving forward
with more apps in the future easier to handle. Much appreciated





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


RE: [flexcoders] createChild

2005-02-14 Thread Robert Brueckmann







Manish,



I implemented the creationPolicy=auto
and my tab navigator is still creating all of the children at load time. Like
I said, I have an empty Tab navigator in the MXML code itselfwhen the user
logs in, I trigger a GetUserApplications event which calls the command class,
triggers the delegate class method which returns to the Application component
view an array of strings listing all the apps the user has access to which I
immediately loop through and create the associated tabs on the navigator and
the corresponding components for each tabIm guessing the creation policy
setting doesnt apply to children dynamically attached to the navigator
component? If I had the components actually listed in the MXML file, this
works but Im doing this on the fly because one user may only have access to
app #1 and #2 whereas another may have all-accessso I need to do this
dynamically and it works and my code I had written before your post about
deferred instatiation built into the tab navigator still does the trick in the
meantime.



Thanks again,

Rob





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


RE: [flexcoders] mx:Link component

2005-02-09 Thread Robert Brueckmann







Guysthe problem with my input is its
coming in from the RSS feed like this: JPMorgans Vice
President blah blah blah as the title of the article and when I set that
title string to the value of the mx:Link labels value, it the title ends
up looking like JPMorganapos;s Vice President blah blah blah
Why is this happening? Im getting the apostrophe unencoded from
the feed but the label attribute of the mx:Link component is encoding it.
I havent tried reversing this processmaybe Ill go try that
to first encode the titles coming from the feed and then passing the encoded
string to the label attribute. But from what you guys are saying, that
wont work either. I dont understand how the label aatribute
of the mx:Link component is encoding the stringIm not asking it
toshouldnt it just display exactly what Im sending it?Bizarre.











From: Manish Jethani
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 09, 2005
3:12 AM
To: [EMAIL PROTECTED]
Subject: Re: [flexcoders] mx:Link
component





JesterXL wrote:
 It's because the Link component's labelis
not html enabled.

Why, this seems to work fine for me:

 mx:Link id=link /
 mx:Button label=Set Link
Label click=setLinkLabel() /
 mx:Script
 function setLinkLabel()
 {
 link.label =
Manishapos;s link;
 }
 /mx:Script

I think the problem is somewhere else.

Christophe's blog reader example uses
resultFormat=object (default), 
which doesn't seem to have this problem.

Manish










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, pleaserefrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


mx:Link component

2005-02-08 Thread Robert Brueckmann







Im reading in a moreover RSS
newsfeed from an HTTPService request, I set the resultFormat attribute of the
HTTPService component to XML, I parse the XML accordingly and set the resulting
array of objects to the dataprovider of a repeater that creates an mx:Link for
the article title and a mx:Text for the descriptive blurb that comes along with
each news articlethe XML sends the titles with apostrophes and other
characters and when I set the value of the title tag from the RSS XML
feed to the label attribute of the mx:Link componentthe Link component
is transforming the characters, like all apostrophes are converted to apos;,
etchow do I prevent this from happening?





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


tree traversal?

2005-02-04 Thread Robert Brueckmann







Is there any easy, recursive way to
traverse a tree component? My trees data provider is an XML object sent
from the db. I have 3 tree components actuallythe 2nd tree
is built based on the selection of the 1st tree and the 3rd
tree is built based on the selections made in the 1st and 2nd
trees. I want to implement a history manager for this 3-tree navigation and Im
having a hell of a time trying to reset a previously selected nodeeach
node has a unique ID, so Im saving this id to the state object for my
custom history management and then I want to traverse the tree to find the last
selected id when the user hits the back buttonis there a simple way to
just traverse through the tree, find the node with the id that matches the last
selected id and then stop traversal? Theres no set structure to these
treesso I cant depend on the trees always being the same sizeor
to have the same number of branches, sub-branches, sub-sub-branches, etcwhich
is why I thought recursion would be my best bet but from the API and Flex docs,
I cant find a generic way to traverse the treeall of their
examples show the code explicitly finding a node at specific location and
modifying the node



I hate recursion, it has and will always
confuse me to no end so any help with this would be most amazingly appreciated.



Thanks,

Rob





Robert L. Brueckmann

Web Developer

Merlin Securities,LLC


  1   2   >