[flexcoders] PDF / Word Doc/ PPT to swf

2006-10-24 Thread omkarjoe
Hi,

Does anyone know any java api available which will convert PDF, Word 
Doc, PPT at the serverside to SWF (may be Flash Paper)??? or if anyone 
has done dat before kindly let me know...

Any relative comments are welcomed.

Thanks in advance

Omkar




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Re: Stand-alone apps

2006-10-24 Thread Shannon Hicks





Stay tuned for Apollo. I'm literally at MAX sitting in the 
Advanced Apollo Development session, and, in it's simplest form, Apollo lets us 
as Flex 2 developers create cross-platform desktop applications using Flex (and 
HTML/CSS/JS). It comes complete with local filesystem read/write capabilities, 
along with handy, still cross-platform pointers like the user directory, desktop 
and (this) program directory.
 
They gave us a peek at some Apollo apps being built right 
now, one was for MySpace, an IM client for their users. The other was EBay 
Desktop, which looked like it had all the functionality of the website built 
into a desktop app. It even had a neat little feature that had the app connect 
to the webcam, take "pictures" of the item to be sold, and automatically 
uploading everything. It was literally working with EBay, check out the auction 
(for charity, btw):
 
http://cgi.ebay.com/Adobe-Apollo-SWAG-MAX-2006_W0QQitemZ110047485596QQihZ001QQcategoryZ21092QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
 
(item #110047485596)
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Chris 
VelevitchSent: Tuesday, October 24, 2006 4:07 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Stand-alone 
apps


You can use a product like Zinc (http://www.multidmedia.com/) 
toconvert your app into an .exe (or the equivalent on OS X) to access 
adatabase.Chris-- Chris VelevitchManager - Sydney Flash 
Platform Developers Groupm: 0415 469 
095www.flashdev.org.au
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.408 / Virus Database: 268.13.11/493 - Release 
Date: 10/23/2006
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.11/493 - Release Date: 10/23/2006
 


Re: [flexcoders] Re: Stand-alone apps

2006-10-24 Thread Chris Velevitch
You can use a product like Zinc (http://www.multidmedia.com/) to
convert your app into an .exe (or the equivalent on OS X) to access a
database.


Chris
-- 
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
m: 0415 469 095
www.flashdev.org.au


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Flex Data Services painfully slow?

2006-10-24 Thread ryanharlin
Hmmm... the CFCs are the auto-generated ones from the Create CFC
Wizard.  Are they notoriously inefficient?



--- In flexcoders@yahoogroups.com, "Kelly" <[EMAIL PROTECTED]> wrote:
>
> My first guess would be to look for inefficient looping or queries in
> Coldfusion.
> 
> Put timers in your cfc's to see how long they are taking to execute
on their
> own.
> 
>  
> 
> That is the most likely culprit.
> 
>  
> 
>  
> 
>  
> 
> --Kelly
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of ryanharlin
> Sent: Monday, October 23, 2006 5:46 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex Data Services painfully slow?
> 
>  
> 
> How could I diagnose and identify routing and/or DNS problems?
> 
> My setup is pretty basic. I'm coding at home the requests come into
> my router which is set up to forward port 8700 to the MacBook which is
> running Windows and hosts the DB, Coldfusion, and FDS.
> 
> There's no DNS I'm running and I access by direct IP address.
> 
> Any thoughts on how to test both of these good suggestions?
> 
> --- In [EMAIL PROTECTED] 
ups.com,
> "Paul Andrews"  wrote:
> >
> > I can't really say about FDS being slow, but on other systems where
> we've had painful network transfers, it's often been followed back to
> a DNS routing problem.
> > 
> > Paul
> > - Original Message - 
> > From: Matt Chotin 
> > To: [EMAIL PROTECTED]  ups.com 
> > Sent: Monday, October 23, 2006 10:56 PM
> > Subject: RE: [flexcoders] Flex Data Services painfully slow?
> > 
> > 
> > Is there a proxy server involved somehow maybe? There is no
> licensing throttling or anything like that. It just sounds like
> you're having routing problems or something similar?
> > 
> > 
> > 
> > 
> >
> --
> > 
> > From: [EMAIL PROTECTED] 
ups.com
> [mailto:[EMAIL PROTECTED] 
ups.com]
> On Behalf Of ryanharlin
> > Sent: Monday, October 23, 2006 7:24 AM
> > To: [EMAIL PROTECTED]  ups.com
> > Subject: [flexcoders] Flex Data Services painfully slow?
> > 
> > 
> > 
> > I'm getting into developing a flex application with Flex Data
> > Management Services using Coldfusion CFCs to talk to the backend.
> > 
> > All's going well enough, except for one problem.
> > 
> > When I test from outside the internal network... ie. hit the server
> > from home over a regular broadband connection... the data that loads
> > into my datagrid takes almost 2 minutes to load.
> > 
> > Slow is not an accurate enough word. It's more like 'unusable' or
> > 'deal breaker.'
> > 
> > Even on the faster internal network testing the pages have noticeable
> > delays when loading. After entering the localhost:8700 address in the
> > browser and hitting enter it sits for a while on "waiting for
> > localhost..." before the page loads.
> > 
> > Is all this solved when you go beyond a single machine to host the
> > database, coldfusion development server, and flex development server?
> > Or are the development server licenses throttled back to make them
> > non-options for those that would consider rolling out without
> > licensing the real deal?
> >
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Gordon Smith












It doesn't HAVE to be cast. It will
execute fine without it, if the _expression_ is correct. But casting will enable
the compiler to catch an incorrect _expression_ and also make it execute faster,
because looking up properties and methods on a non-dynamic type is faster than
looking them up on a dynamic one.

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pascal Schrafl
Sent: Tuesday, October 24, 2006
2:15 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Accessing methods in nested components



 







Hello Gordon,

Thanks for the hint. I will try this. I didn't know, that the 
parentDocument must be cast, because I use it also 
(parentDocument.currentState='') and there it works. I will try it
and 
give you a feedback, if it solved my problem.

Best regards,

Pascal

Gordon Smith wrote:
>
> If you cast parentDocument to your application class, the compiler can 
> tell you whether you've constructed the right _expression_ or not. For 
> example, if your app is MyApp.mxml, then do
>
> 
>
> MyApp(parentDocument).filenet...
>
> 
>
> Without the cast, it can't typecheck anything because parentDocument 
> is a generic Object on which you can access anything dynamically, 
> including things that don't exist.
>
> 
>
> - Gordon
>






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Re: Stand-alone apps

2006-10-24 Thread hank williams



You're technically right, of course it is a file on the hard disk (cant imagine how else one might have thought it would work). But it cant be moved from within flash, so from a practical perspective you cant do anything with it unless you have an exe. I dont think it would be such a winning user experience to be telling users to grab the file from some obscure location since you cant use any kind of get or save file functionality as you would in a regular app. And of course if you move it, you have to know exactly where to put it, and this will be different on different computers. So while you may be able to explore the file using solVE, it is a fairly useless file in the context of a portable data file.
Regards,HankOn 10/24/06, Doug Lowder <[EMAIL PROTECTED]> wrote:



Actually, local shared object data is stored (on Windows systems at least) in a file with a .sol extension.  If you know where to find it, you can copy the file to another computer, email it, back it up, or do anything else you'd like.  You can even use Darron Schall's SolVE application to view and edit the contents, pretty handy for debugging or just poking around:

http://www.darronschall.com/weblog/archives/000130.cfm
--- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]> wrote:
>> You can use local sharedObjects. Depending on your needs this may or> may not be sufficient. sharedObjects cannot be carried from one> computer to another or emailed or backed up. Basically any object can
> be saved by name to the shared object. This can include all object> types. But the user doesnt have access to the file like a regular file> that you would save to. Also there is a limit to the size by default.
> I think the limit is 100k. But you can ask the user to go into> preferences and change it if you need.> > If this is not sufficient, you will need to wait for apollo, or you> will need to use one of several projectors such as zinc, mdm,
> screenweaver hx (open source) and a number of others. In the case of> these projectors they basically create stand alone exe apps.> > Regards> Hank> > On 10/24/06, nathanpdaniel [EMAIL PROTECTED] wrote:
> > Is there a way to communicate/write/save data locally to some sort of> > database (be it an actual db like mysql/access or plain text csv/xml)> > from within Flex? I want to store info retreived from my app locally
> > without server side code. Any ideas or am I limited to creating web> > applications only?> >> >> >> >> >> > --> > 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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Gordon Smith












What is the message for Error #1069?

 

Try tracing expressions like
main(parentDocument).filenet, main(parentDocument).filenet.sidebar and see what
you get.

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pascal Schrafl
Sent: Tuesday, October 24, 2006
2:39 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Accessing methods in nested components



 







Hi
Gordon,

My main application is called main.mxml and I have tried to cast it:

main(parentDocument).filenet.sidebar.addressbookTab.addressBook.getAddressBookEntries();

I still get the Error #1069.

Thanks for the help.

Best regards,

Pascal






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] How to discover the natural dimensions of a loaded image

2006-10-24 Thread hank williams



Thanks gordon. Just what I needed.HankOn 10/24/06, Gordon Smith <[EMAIL PROTECTED]> wrote:



















When the image has been completely loaded,
you get a 'complete' event. At that point the contentWidth and contentHeight
properties contain the natural size of the image. You can use these to set the
Image's size to be some fraction of the natural size:

 

    private function completeHandler(event:Event):void

    {

    image.width = 0.5 *
image.contentWidth;

    image.height = 0.5 *
image.contentHeight;

    }

 

- Gordon

 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of hank williams
Sent: Tuesday, October 24, 2006
4:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to
discover the natural dimensions of a loaded image



 







When I
load an image, I would love to be able to set the width and
have the height be set appropriately. This does happen on the screen -
the image is scaled to the given width and the height is scaled on the
screen. But the height on the page is not scaled and so, in a VBox for
example, the height pushes everything else way off the screen.

This means I need to figure out the ratio between the width and
height, and then set the width and height accordingly, but I can't
figure out how to access that info. Any insight would be appreciated.

Hank














__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Pascal Schrafl
Hi Gordon,

My main application is called main.mxml and I have tried to cast it:

main(parentDocument).filenet.sidebar.addressbookTab.addressBook.getAddressBookEntries();

I still get the Error #1069.

Thanks for the help.


Best regards,


Pascal


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Pascal Schrafl
Hello Gordon,


Thanks for the hint. I will try this. I didn't know, that the 
parentDocument must be cast, because I use it also 
(parentDocument.currentState='') and there it works. I will try it and 
give you a feedback, if it solved my problem.

Best regards,

Pascal


Gordon Smith wrote:
>
> If you cast parentDocument to your application class, the compiler can 
> tell you whether you've constructed the right expression or not. For 
> example, if your app is MyApp.mxml, then do
>
>  
>
> MyApp(parentDocument).filenet...
>
>  
>
> Without the cast, it can't typecheck anything because parentDocument 
> is a generic Object on which you can access anything dynamically, 
> including things that don't exist.
>
>  
>
> - Gordon
>



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Problem sending AMF data to ColdFusion over SSL

2006-10-24 Thread Darron J. Schall
I love it when the answer is something simple.  My Secure ColdFusion AMF 
channel definition looks like this (added instantiate-types):


https://{server.name}{context.root}/flex2gateway/secureamf"; 
class="flex.messaging.endpoints.SecureAMFEndpoint"/>

false
false

false




... and now it works like a champ.  Thanks Peter!

-d

Peter Farland wrote:
>
> You mentioned you're contacting ColdFusion, did you forget to include 
> false in your 
>  properties?
>




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: remote object help

2006-10-24 Thread Doug Lowder
Hi Ramana,

Try setting your datagrid's dataProvider property to list instead of 
loginChkA.list.

   
wrote:
>
> hai everybody,
> i am new to flex environment and i am presently working on remote 
> object service.
> in this regard i need a help,
> i am trying to retrieve values from sql and output them to 
datagrid, 
> i am unable to see the values outputed to datagrid
> my sql db contains two columns cname and email, and i am working 
on 
> flex 1.5
> here is my mxml,as,java file to solve the above problem.
> 
> LoginchkAB.java
> 
> import java.sql.*; 
> import java.util.ArrayList;
> public class LoginchkAB{
> Connect   q=new Connect();
> public void LoginchkAB()
> {
> 
> 
> }
> public ArrayList getList()
>   {
> ArrayList list = new ArrayList();
>   try
>   {
>   Connection Conn=q.establish_Connection();
>   Statement s = Conn.createStatement();
>   ResultSet rs= s.executeQuery("select cname,email 
from 
> deepa123456");
> System.out.println("ramana");
>   
>   while 
(rs.next
> ()) {
>   list.add(new ViewuserVO
> (rs.getString(1),rs.getString(2)));
>   System.out.println("ramana");   
>   }   
>   
>   s.close();  
>   Conn.close();
>   }   
>   catch(Exception e)
>   {
>   System.out.println("TechRP"+e);
>   }
>   return list;
>   }
> public static void main(String args[])
> {
> LoginchkAB q=new LoginchkAB();
>   
> }
> }
> 
> ViewuserVO.as file
> 
> class ViewuserVO {
>   public var cname : String;
>   public var email : String;
>   
> 
>   static var registered=Object.registerClass("ViewuserVO", 
> ViewuserVO);
> }
> 
> UsingRemoteObj1.mxml
> 
> 
> 
> http://www.macromedia.com/2003/mxml"; 
> verticalGap="10">
>  
>   
> 
>  
> 
>  height="100%">
>  
> 
>  headerText="cname" />
>  headerText="email"/>
> 
> 
> 
> 
> var list;
>   
> 
>   
>   
>   
> 
>  source="LoginchkAB" fault="alert
(event.fault.faultstring, 'Error')">
> 
> 
> 
> 
> i would be thankful for the help regarding this.
> 
> Thank u all
> Ramana
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Pascal Schrafl
Hi Tracy,

Thanks for your answer. And sorry for the trippe posting. I used the 
mx.core.Application.application approach too, but I always get an error 
#1069. I have no clue, why it doesn't work. From the nested component 
(addressBook) I can access the sessionID by using 
parentDocument.parentDocument.parentDocument.sessionID but not vice-versa.

Best regards,


Pascal



Tracy Spratt wrote:
>
> Your theory looks ok.
>
> Can you successfully access anything in the main application scope 
> using parentDocument? 
>
> If not, try using Application.application instead.
>
> Once you can hit the application level members, work your way down to 
> whre you need to be.
>
>  
>



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] remote object help

2006-10-24 Thread Tracy Spratt












I don’t trust this:

result="list=event.result

 

Instead, call a handler function so that
you can debug the contents of result:

Result=”onResult(event)”

 

private function
onResult(oEvent:ResultEvent):void

 trace(oEvent.result.toXMLString());
//this actually will depend on the data type in the result object

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of RAMANA
Sent: Tuesday, October 24, 2006
10:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] remote
object help



 







hai everybody,
i am new to flex environment and i am presently working on remote 
object service.
in this regard i need a help,
i am trying to retrieve values from sql and output them to datagrid, 
i am unable to see the values outputed to datagrid
my sql db contains two columns cname and email, and i am working on 
flex 1.5
here is my mxml,as,java file to solve the above problem.

LoginchkAB.java

import java.sql.*; 
import java.util.ArrayList;
public class LoginchkAB{
Connect q=new Connect(); 
public void LoginchkAB()
{

}
public ArrayList getList()
{
ArrayList list = new ArrayList();
try
{
Connection Conn=q.establish_Connection();
Statement s = Conn.createStatement();
ResultSet rs= s.executeQuery("select cname,email from 
deepa123456");
System.out.println("ramana");

while (rs.next
()) {
list.add(new ViewuserVO
(rs.getString(1),rs.getString(2)));
System.out.println("ramana"); 
} 

s.close(); 
Conn.close();
} 
catch(Exception e)
{
System.out.println("TechRP"+e);
}
return list;
}
public static void main(String args[])
{
LoginchkAB q=new LoginchkAB();

}
}

ViewuserVO.as file

class ViewuserVO {
public var cname : String;
public var email : String;


static var registered=Object.registerClass("ViewuserVO",

ViewuserVO);
}

UsingRemoteObj1.mxml

8"?>

http://www.macromedia.com/2003/mxml"

verticalGap="10">



"{loginchkA.list}"
width="100%" 
height="100%">



headerText="cname" />

headerText="email"/>




var list;







source="LoginchkAB" fault="alert(event.fault.faultstring,
'Error')">
/>



i would be thankful for the help regarding this.

Thank u all
Ramana






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] update an itemrenderer from outside

2006-10-24 Thread Jesús Iglesias





Hi again,
 
I have a datagrid with a numericstepper 
as itemrenderer. What I need todo is the opposite of the traditional change 
method, instead of clicking the numericstepper, I have to update de datagrid's 
dataprovider and have the numericstepper updated as it's field 
change.
 
¿How to update the itemrenderer when you change the 
dataprovider?
¿how to tell the numericstepper to update value 
property?
 
I have tried dataChange property of the 
itemrenderer but it seems it's not what i'm looking for.
 
Thanks again...
Jesus
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Gordon Smith












If you cast parentDocument to your
application class, the compiler can tell you whether you've constructed the
right _expression_ or not. For example, if your app is MyApp.mxml, then do

 

    MyApp(parentDocument).filenet...

 

Without the cast, it can't typecheck
anything because parentDocument is a generic Object on which you can access
anything dynamically, including things that don't exist.

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pascal Schrafl
Sent: Monday, October 23, 2006
4:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Accessing
methods in nested components



 







Hi all,

I'm new to Flex but used OpenLaszlo before. I must now build an 
application to use with Zinc for my studies and as OpenLaszlo is not 
supported by Zinc, I decided to use Flex 2.

I have several components and would like to call some methods in other 
components.

Here's my application structure:

main Application

 which is a panel
 which is a canvas

within the filenet component I have several different components:

 which is a accordion.

within the sidebar, there is a component called:
 which is a canvas
and in this component there is an other component called:
 which is a canvas

in the addressBook component, I want to call a HTTPService, but I must 
call it, after the user has authenticated himself (using the login 
component). I use the getAddressBookEntries() Function to call the 
HTTPService.

I therefore have a function, that handles the login. If the server gives 
back a true, then I would like to call the HTTPService and load the user 
specific data.

I use the following command:

parentDocument.filenet.sidebar.addressbookTab.addressBook.getAddressBookEntries();


I use the parentDocument property to get out of the login component and 
then try to go all the way down to the addressBook component and call 
the appropriate function.

Unfortunately, I don't have any success, as the method doesn't get 
called. Am I doing something wrong?

There must be some way to call a method from a component within an other 
component. Perhaps I use to many components, and this causes the error? 
I have ensured, that all id's assigned are unique within the whole 
application.

I hope you can help me solve this problem. If it is useful to post the 
source code, just let me know.

Thanks a lot for your help.

Best regards,

Pascal






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Re: array of arrays and XML

2006-10-24 Thread Gordon Smith












You use square-bracket syntax to access a child
tag or an attribute whose name you don't know at compile time:
hitdata.item["@" + someVar]. If someVar is "revenue", then hitdata.item["@revenue"]
is the same as [EMAIL PROTECTED],
in the same way that when o is a plain Object o["foo"] is the same as
o.foo.

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jnewport
Sent: Monday, October 23, 2006
8:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: array of
arrays and XML



 







Well the reason is because when trying to get to the
hitdata.item.(object) I cause problems when using XML. Since
everything in my app is dynamic I cannot hardcode the hitdata.item
statements in my dataTipformat function. So I cannot use
hitdata.item.@name or hitdata.item.@revenue. I have tried
hitdata.item.("@" + someVar), but it doesn't work. I would be
more
than happy to use XMLlist or XMLListCollection, but it causes problems
with hitdata and other thingsseems to cause more work later on
though it saves me from having to turn it into an ArrayCollection.

If you can tell me how to make XMLlist work using hitData.item
statement I would be greatful.

Thanks, J

--- In [EMAIL PROTECTED]ups.com,
"Douglas Knudsen"
...> wrote:
>
> Curious, why convert to ArrayCollection at all? you can pass XML
direct to
> a chart. Any Class supporting the dataProvider attribute can except any
> Collection.
> 
> DK
> 
> On 10/23/06, Tracy Spratt <[EMAIL PROTECTED]> wrote:
> >
> > Use for..in loop.
> >
> >
> >
> > See the examples:
> >
> > http://livedocs.macromedia.com/flex/2/langref/XMLList.html
> >
> >
> >
> > Tracy
> >
> >
> > --
> >
> > *From:* [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
*On
> > Behalf Of *jnewport
> > *Sent:* Friday, October 20, 2006 4:56 PM
> > *To:* [EMAIL PROTECTED]ups.com
> > *Subject:* [flexcoders] Re: array of arrays and XML
> >
> >
> >
> > Thanks for the quick response.
> >
> > I know its possible to loop over the XMLList, but I am not sure how
to
> > do it. I have used the XMLListCollection, but then when I try to use
> > the XMLListCollection as a data provider I have use the "@"
symbol as
> > you suggested below.
> >
> > Using the "@" cause more problems because when try to make
my app
> > dynamic I have to try things like [EMAIL PROTECTED]someVar) and it
gets
> > messy when I have to try to capitalize things like
> > [EMAIL PROTECTED]e({somevar}).
> >
> > So if you could help with how to loop through the XMLList it would
> > make my code much cleaner.
> >
> > Thanks, J
> >
> > --- In [EMAIL PROTECTED]ups.com
40yahoogroups.com>,
"Tracy
> > Spratt"  wrote:
> > >
> > > You can loop over the XMLList and build that ArrayCollection.
> > >
> > >
> > >
> > > Alternatively, you could use an XMLListCollection and do:
> > >
> > > var xlcBills:XMLListCollection = new
> > > XMLListCollection(myXMLBillsList.month.bill)
> > >
> > > ...no loop required. A labelField spec might be:@name or
@Amount.
> > >
> > >
> > >
> > > I don't do charts yet so you are on your own there.
> > >
> > >
> > >
> > > Tracy
> > >
> > >
> > >
> > > 
> > >
> > > From: [EMAIL PROTECTED]ups.com
40yahoogroups.com>
[mailto:
> > [EMAIL PROTECTED]ups.com
40yahoogroups.com>] On
> > > Behalf Of jnewport
> > > Sent: Thursday, October 19, 2006 12:13 PM
> > > To: [EMAIL PROTECTED]ups.com
40yahoogroups.com>
> > > Subject: [flexcoders] array of arrays and XML
> > >
> > >
> > >
> > > Hoping to figure this out. What I am trying to do is get a
result like
> > > this (ArrayCollection).
> > >
> > > public var expenses:ArrayCollection = new ArrayCollection([
> > > {Expense: "Taxes", Amount: 106976},
> > > {Expense: "Rent", Amount: 147776},
> > > {Expense: "Car", Amount: 79554},
> > > {Expense: "Gas", Amount: 39252},
> > > {Expense: "Food", Amount: 128351}
> > >
> > > from this XML:
> > >
> > > 
> > >
> > > >
> > > />
> > > />
> > > />
> > > />
> > > />
> > > 
> > >
> > > 
> > >
> > > Then use it to plot data on a piechart. I am pulling the xml in
via a
> > > httpservice. So I am guessing I need to iterate through the xml
and
> > > create an arrayCollection of arrays? But I can't figure that
out.
> > > Then how to use the Expenses:arrayCollection as a piechart
dataprovider.
> > >
> > > Thanks in advance.
> > >
> >
> > 
> >
> 
> 
> 
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


 

RE: [flexcoders] Re: textArea cursor position

2006-10-24 Thread Gordon Smith












The cursor blinks at the caretIndex. You
can use getCharBoundaries() to determine the location of the character at this
index. It's left edge should be the position of the caret.

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Branko
Sent: Tuesday, October 24, 2006
9:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: textArea
cursor position



 







Thankx for Your answer.
I need position of cursor in pixels.Do You have any idea about that?

--- In [EMAIL PROTECTED]ups.com,
"Mark" ...> wrote:
>
> The selectionBeginIndex and selectionEndIndex properties will tell you
> the current state of the selection. If you want to change it, use the
> setSelection method. Bear in mind that if the text area doesn't
> already have focus, you'll need to call the setFocus method, or the
> setSelection method will have no effect.
> 
> mark
> 
> --- In [EMAIL PROTECTED]ups.com,
"Branko"  wrote:
> >
> > How can you get the current position of the blinking cursor in a 
text 
> > area and is there a way to set this position programmatically?
> >
>






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Re: array of arrays and XML

2006-10-24 Thread Tracy Spratt












Use bracket notation. 

 

Instead of: 

hitdata.item.("@" + someVar)

 

try:

hitdata.item.(["@" + someVar[)

 

Tracy









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jnewport
Sent: Monday, October 23, 2006
11:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: array of
arrays and XML



 







Well the reason is because when trying to get to the
hitdata.item.(object) I cause problems when using XML. Since
everything in my app is dynamic I cannot hardcode the hitdata.item
statements in my dataTipformat function. So I cannot use
hitdata.item.@name or hitdata.item.@revenue. I have tried
hitdata.item.("@" + someVar), but it doesn't work. I would be
more
than happy to use XMLlist or XMLListCollection, but it causes problems
with hitdata and other thingsseems to cause more work later on
though it saves me from having to turn it into an ArrayCollection.

If you can tell me how to make XMLlist work using hitData.item
statement I would be greatful.

Thanks, J

--- In [EMAIL PROTECTED]ups.com,
"Douglas Knudsen"
...> wrote:
>
> Curious, why convert to ArrayCollection at all? you can pass XML
direct to
> a chart. Any Class supporting the dataProvider attribute can except any
> Collection.
> 
> DK
> 
> On 10/23/06, Tracy Spratt
<[EMAIL PROTECTED]> wrote:
> >
> > Use for..in loop.
> >
> >
> >
> > See the examples:
> >
> > http://livedocs.macromedia.com/flex/2/langref/XMLList.html
> >
> >
> >
> > Tracy
> >
> >
> > --
> >
> > *From:* [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
*On
> > Behalf Of *jnewport
> > *Sent:* Friday, October 20, 2006 4:56 PM
> > *To:* [EMAIL PROTECTED]ups.com
> > *Subject:* [flexcoders] Re: array of arrays and XML
> >
> >
> >
> > Thanks for the quick response.
> >
> > I know its possible to loop over the XMLList, but I am not sure how
to
> > do it. I have used the XMLListCollection, but then when I try to use
> > the XMLListCollection as a data provider I have use the "@"
symbol as
> > you suggested below.
> >
> > Using the "@" cause more problems because when try to make
my app
> > dynamic I have to try things like [EMAIL PROTECTED]someVar) and it
gets
> > messy when I have to try to capitalize things like
> > [EMAIL PROTECTED]e({somevar}).
> >
> > So if you could help with how to loop through the XMLList it would
> > make my code much cleaner.
> >
> > Thanks, J
> >
> > --- In [EMAIL PROTECTED]ups.com
40yahoogroups.com>,
"Tracy
> > Spratt"  wrote:
> > >
> > > You can loop over the XMLList and build that ArrayCollection.
> > >
> > >
> > >
> > > Alternatively, you could use an XMLListCollection and do:
> > >
> > > var xlcBills:XMLListCollection = new
> > > XMLListCollection(myXMLBillsList.month.bill)
> > >
> > > ...no loop required. A labelField spec might be:@name or
@Amount.
> > >
> > >
> > >
> > > I don't do charts yet so you are on your own there.
> > >
> > >
> > >
> > > Tracy
> > >
> > >
> > >
> > > 
> > >
> > > From: [EMAIL PROTECTED]ups.com
40yahoogroups.com>
[mailto:
> > [EMAIL PROTECTED]ups.com
40yahoogroups.com>] On
> > > Behalf Of jnewport
> > > Sent: Thursday, October 19, 2006 12:13 PM
> > > To: [EMAIL PROTECTED]ups.com
40yahoogroups.com>
> > > Subject: [flexcoders] array of arrays and XML
> > >
> > >
> > >
> > > Hoping to figure this out. What I am trying to do is get a
result like
> > > this (ArrayCollection).
> > >
> > > public var expenses:ArrayCollection = new ArrayCollection([
> > > {Expense: "Taxes", Amount: 106976},
> > > {Expense: "Rent", Amount: 147776},
> > > {Expense: "Car", Amount: 79554},
> > > {Expense: "Gas", Amount: 39252},
> > > {Expense: "Food", Amount: 128351}
> > >
> > > from this XML:
> > >
> > > 
> > >
> > > >
> > > />
> > > />
> > > />
> > > />
> > > />
> > > 
> > >
> > > 
> > >
> > > Then use it to plot data on a piechart. I am pulling the xml in
via a
> > > httpservice. So I am guessing I need to iterate through the xml
and
> > > create an arrayCollection of arrays? But I can't figure that
out.
> > > Then how to use the Expenses:arrayCollection as a piechart
dataprovider.
> > >
> > > Thanks in advance.
> > >
> >
> > 
> >
> 
> 
> 
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Tradition

RE: [flexcoders] How to discover the natural dimensions of a loaded image

2006-10-24 Thread Gordon Smith












When the image has been completely loaded,
you get a 'complete' event. At that point the contentWidth and contentHeight
properties contain the natural size of the image. You can use these to set the
Image's size to be some fraction of the natural size:

 

    private function completeHandler(event:Event):void

    {

    image.width = 0.5 *
image.contentWidth;

    image.height = 0.5 *
image.contentHeight;

    }

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams
Sent: Tuesday, October 24, 2006
4:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to
discover the natural dimensions of a loaded image



 







When I
load an image, I would love to be able to set the width and
have the height be set appropriately. This does happen on the screen -
the image is scaled to the given width and the height is scaled on the
screen. But the height on the page is not scaled and so, in a VBox for
example, the height pushes everything else way off the screen.

This means I need to figure out the ratio between the width and
height, and then set the width and height accordingly, but I can't
figure out how to access that info. Any insight would be appreciated.

Hank






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: Stand-alone apps

2006-10-24 Thread Doug Lowder



Actually, local shared object data is stored (on Windows systems at least) in a file with a .sol extension.  If you know where to find it, you can copy the file to another computer, email it, back it up, or do anything else you'd like.  You can even use Darron Schall's SolVE application to view and edit the contents, pretty handy for debugging or just poking around:
http://www.darronschall.com/weblog/archives/000130.cfm
--- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]> wrote:>> You can use local sharedObjects. Depending on your needs this may or> may not be sufficient. sharedObjects cannot be carried from one> computer to another or emailed or backed up. Basically any object can> be saved by name to the shared object. This can include all object> types. But the user doesnt have access to the file like a regular file> that you would save to. Also there is a limit to the size by default.> I think the limit is 100k. But you can ask the user to go into> preferences and change it if you need.> > If this is not sufficient, you will need to wait for apollo, or you> will need to use one of several projectors such as zinc, mdm,> screenweaver hx (open source) and a number of others. In the case of> these projectors they basically create stand alone exe apps.> > Regards> Hank> > On 10/24/06, nathanpdaniel [EMAIL PROTECTED] wrote:> > Is there a way to communicate/write/save data locally to some sort of> > database (be it an actual db like mysql/access or plain text csv/xml)> > from within Flex? I want to store info retreived from my app locally> > without server side code. Any ideas or am I limited to creating web> > applications only?> >> >> >> >> >> > --> > 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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Tracy Spratt












Your theory looks ok.

 

Can you successfully access anything in
the main application scope using parentDocument?

 

If not, try using Application.application
instead.

 

Once you can hit the application level
members, work your way down to whre you need to be.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pascal Schrafl
Sent: Monday, October 23, 2006
7:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Accessing
methods in nested components



 







Hi all,

I'm new to Flex but used OpenLaszlo before. I must now build an 
application to use with Zinc for my studies and as OpenLaszlo is not 
supported by Zinc, I decided to use Flex 2.

I have several components and would like to call some methods in other 
components.

Here's my application structure:

main Application

 which is a panel
 which is a canvas

within the filenet component I have several different components:

 which is a accordion.

within the sidebar, there is a component called:
 which is a canvas
and in this component there is an other component called:
 which is a canvas

in the addressBook component, I want to call a HTTPService, but I must 
call it, after the user has authenticated himself (using the login 
component). I use the getAddressBookEntries() Function to call the 
HTTPService.

I therefore have a function, that handles the login. If the server gives 
back a true, then I would like to call the HTTPService and load the user 
specific data.

I use the following command:

parentDocument.filenet.sidebar.addressbookTab.addressBook.getAddressBookEntries();


I use the parentDocument property to get out of the login component and 
then try to go all the way down to the addressBook component and call 
the appropriate function.

Unfortunately, I don't have any success, as the method doesn't get 
called. Am I doing something wrong?

There must be some way to call a method from a component within an other 
component. Perhaps I use to many components, and this causes the error? 
I have ensured, that all id's assigned are unique within the whole 
application.

I hope you can help me solve this problem. If it is useful to post the 
source code, just let me know.

Thanks a lot for your help.

Best regards,

Pascal






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Problem sending AMF data to ColdFusion over SSL

2006-10-24 Thread Peter Farland






You mentioned you're contacting ColdFusion, did you forget to include 
false in your 
 properties?


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Darron J. 
SchallSent: Tuesday, October 24, 2006 3:44 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Problem sending AMF 
data to ColdFusion over SSL


Hi,I'm running into an interesting situation that leaves me 
scratching my head. I've tried a few things that I could think of, but can't 
seem to come up with a solution, and there doesn't seem to be any help in 
the archives or on google.Here's the situation: I'm sending 
[RemoteClass]'d objects from Flex to ColdFusion, mapping ActionScript 
classes to ColdFusion components. I'm using the same Flex application to 
connect to both Flex Data Services and ColdFusion, so I'm defining the 
channel for the ColdFusion RemoteObject at runtime. The ActionScript code 
looks like this:var channels:ChannelSet = new ChannelSet();var 
customChannel:SecureAMFChannel = new SecureAMFChannel( 
"cf-secure-amf", 
"https://{server.name}{context.root}/flex2gateway/secureamf" 
);channels.addChannel( customChannel 
);theRemoteObject.channelSet = channels;The error I get when 
sending a typed object over (one that is [RemoteClass]'d) 
is:[RPC Fault faultString="Cannot create class of type 
'package.to.my.VO'." faultCode="Client.Message.Encoding" 
faultDetail="Type 'package.to.my.VO' not found."]at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\dev\enterprise_bali\frameworks\mx\rpc\AbstractInvoker.as:193]at 
mx.rpc::Responder/fault()[C:\dev\enterprise_bali\frameworks\mx\rpc\Responder.as:56]at 
mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_bali\frameworks\mx\rpc\AsyncRequest.as:107]at 
NetConnectionChannel.as$31::NetConnectionMessageResponder/NetConnectionChannel.as$31:NetConnectionMessageResponder::statusHandler()[C:\dev\enterprise_bali\frameworks\mx\messaging\channels\NetConnectionChannel.as:463]at 
mx.messaging::MessageResponder/status()[C:\dev\enterprise_bali\frameworks\mx\messaging\MessageResponder.as:225]This 
is something that just broke when we switched over to SSL. When we're using 
just a regular AMFChannel, everything works just fine.. the error only 
happens over SSL when we changed customChannel to 
SecureAMFChannel.Interestingly, the exception that shows up in the 
console log has flex.messaging.endpoints.AMFEndpoint in the 
stacktrace. I would've expected this to be 
flex.messaging.endpoints.SecureAMFEndpoint instead.. so my 
thinking is that the problem lies therein. I've doubled checked the 
services-config.xml in the cfusion.war and made sure that the 
ColdFusion destination uses the cf-secure-amf channel. The cf-secure-amf 
channel definition in the XML file is this (though, it shouldn't really 
since the channel is being set in 
ActionScript):class="mx.messaging.channels.SecureAMFChannel">uri="https://{server.name}{context.root}/flex2gateway/secureamf" 
class="flex.messaging.endpoints.SecureAMFEndpoint"/>headers>falsefalseenabled>n>I 
can receive typed objects from ColdFusion just fine over SSL, I just can't 
send them. Any ideas? Has anyone else run into this? Why would AMFEndpoint 
be in the stacktrace and not SecureAMFEndpoint? .. 
bug?Thanks,-d
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: textArea cursor position

2006-10-24 Thread Mark
Sorry Branko, I don't know that answer to that one.

mark

--- In flexcoders@yahoogroups.com, "Branko" <[EMAIL PROTECTED]> wrote:
>
> Thankx for Your answer.
> I need position of cursor in pixels.Do You have any idea about that?
> 
> --- In flexcoders@yahoogroups.com, "Mark"  wrote:
> >
> > The selectionBeginIndex and selectionEndIndex properties will tell you
> > the current state of the selection.  If you want to change it, use the
> > setSelection method.  Bear in mind that if the text area doesn't
> > already have focus, you'll need to call the setFocus method, or the
> > setSelection method will have no effect.
> > 
> > mark
> > 
> > --- In flexcoders@yahoogroups.com, "Branko"  wrote:
> > >
> > > How can you get the current position of the blinking cursor in a 
> text 
> > > area and is there a way to set this position programmatically?
> > >
> >
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Problem sending AMF data to ColdFusion over SSL

2006-10-24 Thread Darron J. Schall
Hi,

I'm running into an interesting situation that leaves me scratching my 
head.  I've tried a few things that I could think of, but can't seem to 
come up with a solution, and there doesn't seem to be any help in the 
archives or on google.

Here's the situation:  I'm sending [RemoteClass]'d objects from Flex to 
ColdFusion, mapping ActionScript classes to ColdFusion components.  I'm 
using the same Flex application to connect to both Flex Data Services 
and ColdFusion, so I'm defining the channel for the ColdFusion 
RemoteObject at runtime.  The ActionScript code looks like this:

var channels:ChannelSet = new ChannelSet();
var customChannel:SecureAMFChannel = new SecureAMFChannel( 
"cf-secure-amf", 
"https://{server.name}{context.root}/flex2gateway/secureamf"; );
channels.addChannel( customChannel );
theRemoteObject.channelSet = channels;

The error I get when sending a typed object over (one that is 
[RemoteClass]'d) is:

[RPC Fault faultString="Cannot create class of type 'package.to.my.VO'." 
faultCode="Client.Message.Encoding" faultDetail="Type 'package.to.my.VO' 
not found."]
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\dev\enterprise_bali\frameworks\mx\rpc\AbstractInvoker.as:193]
at 
mx.rpc::Responder/fault()[C:\dev\enterprise_bali\frameworks\mx\rpc\Responder.as:56]
at 
mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_bali\frameworks\mx\rpc\AsyncRequest.as:107]
at 
NetConnectionChannel.as$31::NetConnectionMessageResponder/NetConnectionChannel.as$31:NetConnectionMessageResponder::statusHandler()[C:\dev\enterprise_bali\frameworks\mx\messaging\channels\NetConnectionChannel.as:463]
at 
mx.messaging::MessageResponder/status()[C:\dev\enterprise_bali\frameworks\mx\messaging\MessageResponder.as:225]


This is something that just broke when we switched over to SSL.  When 
we're using just a regular AMFChannel, everything works just fine.. the 
error only happens over SSL when we changed customChannel to 
SecureAMFChannel.

Interestingly, the exception that shows up in the console log has 
flex.messaging.endpoints.AMFEndpoint in the stacktrace.  I would've 
expected this to be flex.messaging.endpoints.SecureAMFEndpoint instead.. 
so my thinking is that the problem lies therein.  I've doubled checked 
the services-config.xml in the cfusion.war and made sure that the 
ColdFusion destination uses the cf-secure-amf channel.  The 
cf-secure-amf channel definition in the XML file is this (though, it 
shouldn't really since the channel is being set in ActionScript):


https://{server.name}{context.root}/flex2gateway/secureamf"; 
class="flex.messaging.endpoints.SecureAMFEndpoint"/>

false
false



I can receive typed objects from ColdFusion just fine over SSL, I just 
can't send them.  Any ideas?  Has anyone else run into this?  Why would 
AMFEndpoint be in the stacktrace and not SecureAMFEndpoint? .. bug?

Thanks,

-d



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Typecast a generic Object into a VO

2006-10-24 Thread Peter Farland





Note you could do this generically for any type...  
as a quick hack, you could loop through the anonymous object provided in 
the constructor and set the property on the class iff it had such a property... 
something like:
 
for (var prop:String in obj)
{
    if 
(hasOwnProperty(prop))
    this[prop] = 
obj[prop];}
 
...though you'd have to watch out for read only 
properties.
 
For a more robust (but complex) solution you 
could use flash.utils.describeType to get an XML description of your class and use E4X statements to 
find and ignore read only properties. Internally we often have to do this in FDS 
so we use the Flex utility class 
mx.utils.ObjectUtil.
 
var classInfo:Object = 
mx.utils.ObjectUtil.getClassInfo(this, null, 
[includeReadOnly:false]);
 
You could then check that the property name was defined in 
the classInfo.properties structure.
 
Pete



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mark 
DoberenzSent: Monday, October 23, 2006 1:37 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Typecast a 
generic Object into a VO



I figured it out.  I just made the VO have a constructor that set the 
values if you wanted to convert it to a VO:
 
 public class TestVO {  [Bindable] public var 
i_test:int;  [Bindable] public var 
o_test:Object;  [Bindable] public var 
s_test:String;public function 
TestVO(obj:Object=null):void{   if (obj != null){ 
if 
(obj.hasOwnProperty("i_test")) i_test = 
obj.i_test;if 
(obj.hasOwnProperty("o_test")) o_test = 
obj.o_test;if 
(obj.hasOwnProperty("s_test")) s_test = 
obj.s_test;   }  } }Later,
Mark 
On 10/23/06, mdoberenz <[EMAIL PROTECTED]com> wrote: 


  
  
  
  
  I'm pretty sure this is possible, but I can't get it to 
  work.I'm wanting to typecast a generic object that gets returned by 
  aWebService call into a VO, but I'm having some issues.Say I have a VO 
  of the following: public class TestVO{[Bindable] public var 
  i_test:int;[Bindable] public var s_test:String;[Bindable] public var 
  o_test:Object;}Then I get an object back from a WebService call 
  that has a similar structure, can't I just do the following?:var 
  typeCastTry:TestVO = RETURN_OBJ as TestVO;When I do this, 
  typeCastTry gets set to null.Any help would be 
  awesome!Mark

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Toggling DataGrid Row from editable=false, to true?

2006-10-24 Thread Mike Anderson
Hello All,

I have a DataGrid, in which I only allow single record edits at one
time.  I simply don't have the time at the moment, to maintain XML
DataSets on the Client Side, and then sending it to the Server for
parsing.

With that said, the user can Add a Record, populate the values, and save
it - as this immediately sends the VO to the server for saving.  Once
the record is saved or updated, I want the Grid to go back to a
non-editable mode.

What I need all of your help with, is when the user highlights a Row on
the Grid, I want to give the user the ability to click an "Edit" button
- which immediately gives that Row and ONLY that Row, editing abilities.
Once they hit save, then it goes back to normal (which is non-editable).
Once I perfect this thing, I will probably add this function to the
"Double-Click" event of the Grid.

What is the best method to use, in order to accomplish something like
this?  I know capturing the selectedIndex of the Grid is step 1, but
after that, what would be the next logical step?

Thanks in advance for your help,

Mike




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Stand-alone apps

2006-10-24 Thread Doug Lowder



You can use local Shared Objects, which are essentially cookies, to store your data.
http://livedocs.macromedia.com/flex/2/langref/flash/net/SharedObject.html
--- In flexcoders@yahoogroups.com, "nathanpdaniel" <[EMAIL PROTECTED]> wrote:>> Is there a way to communicate/write/save data locally to some sort of > database (be it an actual db like mysql/access or plain text csv/xml) > from within Flex? I want to store info retreived from my app locally > without server side code. Any ideas or am I limited to creating web > applications only?>

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Stand-alone apps

2006-10-24 Thread hank williams
You can use local sharedObjects. Depending on your needs this may or
may not be sufficient. sharedObjects cannot be carried from one
computer to another or emailed or backed up. Basically any object can
be saved by name to the shared object. This can include all object
types. But the user doesnt have access to the file like a regular file
that you would save to. Also there is a limit to the size by default.
I think the limit is 100k. But you can ask the user to go into
preferences and change it if you need.

If this is not sufficient, you will need to wait for apollo, or you
will need to use one of several projectors such as zinc, mdm,
screenweaver hx (open source) and a number of others. In the case of
these projectors they basically create stand alone exe apps.

Regards
Hank

On 10/24/06, nathanpdaniel <[EMAIL PROTECTED]> wrote:
> Is there a way to communicate/write/save data locally to some sort of
> database (be it an actual db like mysql/access or plain text csv/xml)
> from within Flex?  I want to store info retreived from my app locally
> without server side code.  Any ideas or am I limited to creating web
> applications only?
>
>
>
>
>
> --
> 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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Stroke color on lineSeries - bug?

2006-10-24 Thread suri_boston
Is it possible to set only the line weight but not the color?
When i try to set only the weight and not set the color, then i get  
all black colors.

What i am expecting is, let the flex assign default colors but with a 
line weight that i specify.

any help?



--- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> 
wrote:
>
>  
>  
>  
> you need to set the lineStroke color. It's not a bug, but it changed
> late in the beta cycle, so we may have missed earlier samples or 
docs.
>  
> Ely.
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Sam Shrefler
> Sent: Wednesday, August 30, 2006 12:20 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Stroke color on lineSeries - bug?
> 
> 
> 
> Sree:
>  
> I'm not sure if its a bug, an error in the documents, or none of the
> abover...
>  
> If you need to change teh stroke color, I've successfully used the
> following...
>  
> 
>   
> 
>   
> 
>  
> Hope that helps
> 
> Sam
>  
> On 8/30/06, Sreejith Unnikrishnan <[EMAIL PROTECTED]
>  > wrote: 
> 
>   Applying the stroke color on lineSeries does not seem to have
> any effect.
>   Even in the examples provided by Adobe, chart explorer the
> colors though specified, dont work!
>
>   Is this a known bug, if it is one?
>
>   Regards
>   Sree
>






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] pseudo clipping

2006-10-24 Thread Daniel Freiman



Does anyone know of a way to accomplish an effect similar to setting clipContent = true except that instead of cutting off the content completely, we gray out or change the alpha of of the clipped areas.  I did ask a similar question earlier, but didn't get a response so I thought I'd simplify it and see what happens.
Thanks,- Dan

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: IE Only: Error #2032 (Flex 2.0)

2006-10-24 Thread zenwarden
I am seeing this same problem on a legacy server I am working on. It
would be very hard to change the responce header from 0 to -1. Is
there a work around? 

Can I catch the error? And still get the result?

Thanks,

Chris

--- In flexcoders@yahoogroups.com, "dadrobson" <[EMAIL PROTECTED]> wrote:
>
> Vito:
> 
> Sorry for the slow response. I haven't been able to spend much time in
> the group lately.
> 
> Here is a sample header that works. The key is the value of the
> Expires attribute. If it is set to 0, IE breaks: 
> 
> HTTP/1.x 200 OK
> Server: Apache-Coyote/1.1
> Expires: -1
> Pragma: no-cache
> Cache-Control: no-cache, no-store, max-age=0
> Content-Encoding: gzip
> Content-Type: text/xml;charset=ISO-8859-1
> Content-Language: en-US
> Content-Length: 194
> Date: Thu, 05 Oct 2006 15:11:23 GMT
> 
> 
> HTH
> -Jim
> 
> --- In flexcoders@yahoogroups.com, "vitopn"  wrote:
> >
> > What exactly were the guilty headers?  What headers did you replace
> > them with?  
> > 
> > Thanx,
> > -Vito
> >
>






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Removing compiler problem markers

2006-10-24 Thread mitchgrasso
I have a fairly large and complex project that has recently started 
popping up these annoying "Removing compiler problem markers" dialogs 
whenever building. The build works fine and the project runs.

Any ideas on how to clear these?





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] remote object help

2006-10-24 Thread RAMANA
hai everybody,
i am new to flex environment and i am presently working on remote 
object service.
in this regard i need a help,
i am trying to retrieve values from sql and output them to datagrid, 
i am unable to see the values outputed to datagrid
my sql db contains two columns cname and email, and i am working on 
flex 1.5
here is my mxml,as,java file to solve the above problem.

LoginchkAB.java

import java.sql.*; 
import java.util.ArrayList;
public class LoginchkAB{
Connect q=new Connect();
public void LoginchkAB()
{


}
public ArrayList getList()
{
ArrayList list = new ArrayList();
try
{
Connection Conn=q.establish_Connection();
Statement s = Conn.createStatement();
ResultSet rs= s.executeQuery("select cname,email from 
deepa123456");
System.out.println("ramana");

while (rs.next
()) {
list.add(new ViewuserVO
(rs.getString(1),rs.getString(2)));
System.out.println("ramana");   
}   

s.close();  
Conn.close();
}   
catch(Exception e)
{
System.out.println("TechRP"+e);
}
return list;
}
public static void main(String args[])
{
LoginchkAB q=new LoginchkAB();
  
}
}

ViewuserVO.as file

class ViewuserVO {
public var cname : String;
public var email : String;


static var registered=Object.registerClass("ViewuserVO", 
ViewuserVO);
}

UsingRemoteObj1.mxml



http://www.macromedia.com/2003/mxml"; 
verticalGap="10">
 


 


 







var list;











i would be thankful for the help regarding this.

Thank u all
Ramana








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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Re: Flex Vs OpenLaszlo

2006-10-24 Thread Rick Williams



Has anyone got an updated view since late January?I find Flex Builder 2 to be a more polished, easy to use product, but what are you losing by going Laszlo?Has anyone got any expereince with Legals?
Is'nt there an open source RPC which deals with remoting? Haven't Red 5 opened up RMTP? Is the difference in the day to day use of the tools more than anything else?Many thanks,

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] using mx:fade effect with webservice

2006-10-24 Thread dsfhsdfjsdfj
I have a web service that returns a url to display a new weather image
inside of a panel.  I am trying to write in a fade effect in my result
handler for the web service, and I cannot seem to get them to run in
sequence, it seems like they are all running overlapping on
themselves.  I want the current image to fade out, have the webservice
get the new image, and then fade the new image in.  

I have created a 
http://www.adobe.com/2006/mxml"; xmlns="*"
layout="absolute" creationComplete="init()" frameRate="60"
width="100%" height="100%" paddingLeft="0" paddingRight="0">





{imgWeather.source}
   































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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] create installers for my applications

2006-10-24 Thread wespinozab
Hi. First, thanks to all for the answers to my doubts, all they have
helped me very much.

Now I have a new question :). It is possible to create installers for
my applications in flex, like the installers in .NET? My problem is
that I must install my application to another computer, I don´t know
if I must copy only the files of the "bin" folder or to copy
everything or if it is possible to create an installer who does them
automatically.

Someone can help me with this. Thanks :)

Att: Wen.





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Lines in text area component

2006-10-24 Thread Branko
You are right man but I had a filling that I didn't initialize
variables in a right way.However that wasn't the problem.The problem
was that I had trying to get Boundaries Object for new line position
of the cursor and that was a cause of the error.
I have fix that but now I'm facing with another problem and here is my
question:

How can I get the current position(in pixels) of the blinking cursor
in a text area and is there a way to set this position programmatically?

--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> > I'm getting error cause Boundaries in this case is Null object
> 
>  
> 
> Sorry, Branko, but a little code snippet like this isn't enough to
> diagnose the problem. What's the text you're putting into the TextArea?
> What are you doing to trigger this code? You should post code for a
> minimal but complete  that exhibits your error, and tell
> us the user-interaction steps to make the error happen.
> 
>  
> 
> - Gordon
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Branko
> Sent: Monday, October 23, 2006 1:34 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Lines in text area component
> 
>  
> 
> Here is my code:
> 
> import flash.geom.Rectangle;
> 
> var caretIndex:int = textArea.getTextField().caretIndex;
> var Boundaries:Rectangle = new Rectangle;
> var tField:TextField = textArea.getTextField();
> 
> Boundaries = tField.getCharBoundaries(caretIndex); 
> 
> but I'm getting error cause Boundaries in this case is Null object.
> 
> Help me please to get this thing working if You see errors..
> 
> --- In flexcoders@yahoogroups.com 
> , "Gordon Smith"  
> wrote:
> >
> > I'm not sure what you mean by "setting the number of lines in the
> > TextArea component"? If you want to control where line breaks 
> occur, put
> > the \n character into the 'text' String.
> > 
> > 
> > 
> > To get the line position of a particular character try using
> > getCharBoundaries() and then getLineIndexAtPoint().
> > 
> > 
> > 
> > - Gordon
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of brankosli
> > Sent: Wednesday, October 18, 2006 1:09 AM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] Lines in text area component
> > 
> > 
> > 
> > Is there any possibility to set number of lines in Text Area 
> component?
> > and if it's possible:
> > How to retrieve current line position in Text Area component?
> > 
> > Thanx in advance.
> >
>






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Forcing class inclusion in applications

2006-10-24 Thread Derrick Grigg
Has anyone had any luck using the -includes option or the 
node in an external config file to get the flex compiler to include
certain classes that are not directly referenced in the main
application. I have tried everything I can think of, searched
everywhere for answers, and all I find are more questions.

Any help would be very much appreciated.

Derrick





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: textArea cursor position

2006-10-24 Thread Branko
Thankx for Your answer.
I need position of cursor in pixels.Do You have any idea about that?

--- In flexcoders@yahoogroups.com, "Mark" <[EMAIL PROTECTED]> wrote:
>
> The selectionBeginIndex and selectionEndIndex properties will tell you
> the current state of the selection.  If you want to change it, use the
> setSelection method.  Bear in mind that if the text area doesn't
> already have focus, you'll need to call the setFocus method, or the
> setSelection method will have no effect.
> 
> mark
> 
> --- In flexcoders@yahoogroups.com, "Branko"  wrote:
> >
> > How can you get the current position of the blinking cursor in a 
text 
> > area and is there a way to set this position programmatically?
> >
>






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Typecast a generic Object into a VO

2006-10-24 Thread Mark Doberenz



I figured it out.  I just made the VO have a constructor that set the values if you wanted to convert it to a VO:
 
 public class TestVO {  [Bindable] public var i_test:int;  [Bindable] public var o_test:Object;  [Bindable] public var s_test:String;public function TestVO(obj:Object=null):void{   if (obj != null){
if (obj.hasOwnProperty("i_test")) i_test = obj.i_test;if (obj.hasOwnProperty("o_test")) o_test = obj.o_test;if (obj.hasOwnProperty("s_test")) s_test = 
obj.s_test;   }  } }Later,
Mark 
On 10/23/06, mdoberenz <[EMAIL PROTECTED]> wrote:





I'm pretty sure this is possible, but I can't get it to work.I'm wanting to typecast a generic object that gets returned by aWebService call into a VO, but I'm having some issues.Say I have a VO of the following:
public class TestVO{[Bindable] public var i_test:int;[Bindable] public var s_test:String;[Bindable] public var o_test:Object;}Then I get an object back from a WebService call that has a similar
structure, can't I just do the following?:var typeCastTry:TestVO = RETURN_OBJ as TestVO;When I do this, typeCastTry gets set to null.Any help would be awesome!Mark
 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: array of arrays and XML

2006-10-24 Thread jnewport
Well the reason is because when trying to get to the
hitdata.item.(object) I cause problems when using XML. Since
everything in my app is dynamic I cannot hardcode the hitdata.item
statements in my dataTipformat function. So I cannot use
[EMAIL PROTECTED] or [EMAIL PROTECTED]  I have tried
hitdata.item.("@" + someVar), but it doesn't work.  I would be more
than happy to use XMLlist or XMLListCollection, but it causes problems
 with hitdata and other thingsseems to cause more work later on
though it saves me from having to turn it into an ArrayCollection.

If you can tell me how to make XMLlist work using hitData.item
statement I would be greatful.

Thanks, J

--- In flexcoders@yahoogroups.com, "Douglas Knudsen"
<[EMAIL PROTECTED]> wrote:
>
> Curious, why convert to ArrayCollection at all?  you can pass XML
direct to
> a chart.  Any Class supporting the dataProvider attribute can except any
> Collection.
> 
> DK
> 
> On 10/23/06, Tracy Spratt <[EMAIL PROTECTED]> wrote:
> >
> >  Use for..in loop.
> >
> >
> >
> > See the examples:
> >
> > http://livedocs.macromedia.com/flex/2/langref/XMLList.html
> >
> >
> >
> > Tracy
> >
> >
> >  --
> >
> > *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
> > Behalf Of *jnewport
> > *Sent:* Friday, October 20, 2006 4:56 PM
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* [flexcoders] Re: array of arrays and XML
> >
> >
> >
> > Thanks for the quick response.
> >
> > I know its possible to loop over the XMLList, but I am not sure how to
> > do it. I have used the XMLListCollection, but then when I try to use
> > the XMLListCollection as a data provider I have use the "@" symbol as
> > you suggested below.
> >
> > Using the "@" cause more problems because when try to make my app
> > dynamic I have to try things like [EMAIL PROTECTED]) and it gets
> > messy when I have to try to capitalize things like
> > [EMAIL PROTECTED]({somevar}).
> >
> > So if you could help with how to loop through the XMLList it would
> > make my code much cleaner.
> >
> > Thanks, J
> >
> > --- In flexcoders@yahoogroups.com ,
"Tracy
> > Spratt"  wrote:
> > >
> > > You can loop over the XMLList and build that ArrayCollection.
> > >
> > >
> > >
> > > Alternatively, you could use an XMLListCollection and do:
> > >
> > > var xlcBills:XMLListCollection = new
> > > XMLListCollection(myXMLBillsList.month.bill)
> > >
> > > ...no loop required. A labelField spec might be:@name or @Amount.
> > >
> > >
> > >
> > > I don't do charts yet so you are on your own there.
> > >
> > >
> > >
> > > Tracy
> > >
> > >
> > >
> > > 
> > >
> > > From: flexcoders@yahoogroups.com 
[mailto:
> > flexcoders@yahoogroups.com ] On
> > > Behalf Of jnewport
> > > Sent: Thursday, October 19, 2006 12:13 PM
> > > To: flexcoders@yahoogroups.com 
> > > Subject: [flexcoders] array of arrays and XML
> > >
> > >
> > >
> > > Hoping to figure this out. What I am trying to do is get a
result like
> > > this (ArrayCollection).
> > >
> > > public var expenses:ArrayCollection = new ArrayCollection([
> > > {Expense: "Taxes", Amount: 106976},
> > > {Expense: "Rent", Amount: 147776},
> > > {Expense: "Car", Amount: 79554},
> > > {Expense: "Gas", Amount: 39252},
> > > {Expense: "Food", Amount: 128351}
> > >
> > > from this XML:
> > >
> > > 
> > >
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > >
> > > 
> > >
> > > Then use it to plot data on a piechart. I am pulling the xml in
via a
> > > httpservice. So I am guessing I need to iterate through the xml and
> > > create an arrayCollection of arrays? But I can't figure that out.
> > > Then how to use the Expenses:arrayCollection as a piechart
dataprovider.
> > >
> > > Thanks in advance.
> > >
> >
> > 
> >
> 
> 
> 
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Stand-alone apps

2006-10-24 Thread nathanpdaniel
Is there a way to communicate/write/save data locally to some sort of 
database (be it an actual db like mysql/access or plain text csv/xml) 
from within Flex?  I want to store info retreived from my app locally 
without server side code.  Any ideas or am I limited to creating web 
applications only?





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Google Flex Development Search Engine

2006-10-24 Thread Jamie O
Hello,

Google just deployed a new 'co-op' search engine feature. Basically
you setup a unique list of websites you want search results to be
pulled from. I've created a new one focused on Flex 2, Cairngorm and
related RIA development. Initially it has most of the major blogs,
flexcoders, adobe sites, but is setup that anyone can sign-up as a
collaborator and add sites to it which they think are useful.

http://www.google.com/coop/cse?cx=002320952290770987034%3Adnutgprjrk8

I find google a pretty good tool for searching for code samples,
examples, etc but it usually gets a bit of marketing speak drowning
out the actual stuff I want. This is a way for the community to grow a
Flex specific search engine for free. Feel free to add to it and use.

Cheers,
Jamie





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Lines in text area component

2006-10-24 Thread Branko
You are right man but I had a filling that I didn't initialize
variables in a right way.However that wasn't the problem.The problem
was that I had trying to get Boundaries Object for new line position
of the cursor and that was a cause of the error.
I have fix that but now I'm facing with another problem and here is my
question:

How can I get the current position(in pixels) of the blinking cursor
in a text area and is there a way to set this position programmatically?

--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> > I'm getting error cause Boundaries in this case is Null object
> 
>  
> 
> Sorry, Branko, but a little code snippet like this isn't enough to
> diagnose the problem. What's the text you're putting into the TextArea?
> What are you doing to trigger this code? You should post code for a
> minimal but complete  that exhibits your error, and tell
> us the user-interaction steps to make the error happen.
> 
>  
> 
> - Gordon
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Branko
> Sent: Monday, October 23, 2006 1:34 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Lines in text area component
> 
>  
> 
> Here is my code:
> 
> import flash.geom.Rectangle;
> 
> var caretIndex:int = textArea.getTextField().caretIndex;
> var Boundaries:Rectangle = new Rectangle;
> var tField:TextField = textArea.getTextField();
> 
> Boundaries = tField.getCharBoundaries(caretIndex); 
> 
> but I'm getting error cause Boundaries in this case is Null object.
> 
> Help me please to get this thing working if You see errors..
> 
> --- In flexcoders@yahoogroups.com 
> , "Gordon Smith"  
> wrote:
> >
> > I'm not sure what you mean by "setting the number of lines in the
> > TextArea component"? If you want to control where line breaks 
> occur, put
> > the \n character into the 'text' String.
> > 
> > 
> > 
> > To get the line position of a particular character try using
> > getCharBoundaries() and then getLineIndexAtPoint().
> > 
> > 
> > 
> > - Gordon
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of brankosli
> > Sent: Wednesday, October 18, 2006 1:09 AM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] Lines in text area component
> > 
> > 
> > 
> > Is there any possibility to set number of lines in Text Area 
> component?
> > and if it's possible:
> > How to retrieve current line position in Text Area component?
> > 
> > Thanx in advance.
> >
>






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: More Documentation of Cairngorm and Flex Cairngorm Store

2006-10-24 Thread Jamie O
Jesse Warden's example was EXACTLY what I needed and had found
separate from your thread. It doesn't bring in the FDS which the store
does to add unnecessary complexity until one is in need of that level
of architecture.

It's funny...Now that I *get* Cairngorm - albeit not yet at a level I
feel comfortable talking and typing without a quick glance over the
model diagram or such, I see it as a slightly more cumbersome but much
easier way to implement things. The issue I've always - regardless of
technology - struggled with has been tight vs loose coupling...or as I
call it the ability to program without duct tape! Cairngorm gives
everything the proper silo to exist in, and one just has to know how
to connect the dots properly. The code hinting from Eclipse is a
godsend too! Takes me back to VB intellisense ;P







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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Flex 2 Calendar Component

2006-10-24 Thread nathanpdaniel
http://labs.adobe.com/wiki/index.php/Flex_Scheduling_Framework

Up as of 10-24-06 in the labs.  At least I think these are the 
same... :)





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Errors exist in required project(s)

2006-10-24 Thread jnewport
Yes, but sometimes it doesn't show the errors.  Mabey this is bug?



Does anyone know of a best practices in testing or bug fixing in Flex?

J


--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Do you have the problems panel showing in the bottom?  Any errors should
> be listed there.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jnewport
> Sent: Friday, October 20, 2006 10:02 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Errors exist in required project(s)
> 
>  
> 
> Is there a way to find out what error is when you are not given a red
> X? I have searched my code inside and out of a very large project and
> I cannot find the problem.
> 
> Is there a log file somewhere that will tell you where the problem lies?
> 
> 
> I am new to Flex and to programming. Does setting breakpoints help
> when you are just trying to compile the flex application?
> 
> J
>






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Accessing a method in a component

2006-10-24 Thread Pascal Schrafl
Hi all,

I'm new to Flex but used OpenLaszlo before. I must now build an 
application to use with Zinc for my studies and as OpenLaszlo is not 
supported by Zinc, I decided to use Flex 2.

I have several components and would like to call some methods in other 
components.

Here's my application structure:

main Application

 which is a panel
 which is a canvas
 
within the filenet component I have several different components:

 which is a accordion.

within the sidebar, there is a component called:
 which is a canvas
and in this component there is an other component called:
 which is a canvas

in the addressBook component, I want to call a HTTPService, but I must 
call it, after the user has authenticated himself (using the login 
component). I use the getAddressBookEntries() Function to call the 
HTTPService.

I therefore have a function, that handles the login. If the server gives 
back a true, then I would like to call the HTTPService and load the user 
specific data.

I use the following command:

parentDocument.filenet.sidebar.addressbookTab.addressBook.getAddressBookEntries();

I use the parentDocument property to get out of the login component and 
then try to go all the way down to the addressBook component and call 
the appropriate function.

Unfortunately, I don't have any success, as the method doesn't get 
called. Am I doing something wrong?

There must be some way to call a method from a component within an other 
component. Perhaps I use to many components, and this causes the error? 
I have ensured, that all id's assigned are unique within the whole 
application.

I hope you can help me solve this problem. If it is useful to post the 
source code, just let me know.

Thanks a lot for your help.

Best regards,


Pascal



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: hitData.item.(variable)

2006-10-24 Thread jnewport
Yes, I have read the docs.  The problem is I am using
XMLListCOllection and/or XMLList to populate my graph.  So the
dataField="@revenue".

So when trying to create your own dataTipFormat I am trying to find a
way to get the [EMAIL PROTECTED], which of course does not work.

Any suggestions?

Thanks,J

--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Friday 20 October 2006 15:20, jnewport wrote:
> > Is it possible to use a code like the following to create a dataTip?
> > somePublicVariable = revenue
> 
> I wouldn't have thought so, as you only get HitData after the user
has clicked 
> on the graph point.
> Have you seen the Charting docs on this very topic ?
> 
> -- 
> Tom Chiverton
> Helping to elementarily transform 24/365 platforms
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] psuedo clipping

2006-10-24 Thread Daniel Freiman



I have a Tile container.  Each item in the Tile is a Canvas which contains an Image.  The Image can be moved/dragged within it's parent Canvas.  I want to be able to drag the image around it's parent container and if it goes beyond the bounds of the container, I want the area pf the image that is overflowing the Canvas to be grayed out (like setting clipContent to true but instead of cropping, setting the alpha or overlaying it with a semi-transparent layer).  An extra little problem: the Tile is movable too so I can't simply rely on the fact that the items will stay in the same place relative to the Tile container's parent.
I can think of a lot of bad ways to do this.  Can anyone think of a good way?  Maybe some way to use blendMode that I don't understand or adding a child to layer the Tile container without having it show up as a tile item.  I'm fine with doing intricate extension of classes, I just rather wouldn't and I don't want this to get too CPU intensive.
Thanks,- Dan

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Typecast a generic Object into a VO

2006-10-24 Thread Sebastian Zarzycki
mdoberenz wrote:

> I'm pretty sure this is possible, but I can't get it to work.
>
> I'm wanting to typecast a generic object that gets returned by a
> WebService call into a VO, but I'm having some issues.
> Say I have a VO of the following:
>
> public class TestVO{
> [Bindable] public var i_test:int;
> [Bindable] public var s_test:String;
> [Bindable] public var o_test:Object;
> }
>
> Then I get an object back from a WebService call that has a similar
> structure, can't I just do the following?:
>
> var typeCastTry:TestVO = RETURN_OBJ as TestVO;
>
> When I do this, typeCastTry gets set to null.

Yeah, this is the tradeoff for not using FDS. As I see this, Flex is 
unaware of the types passed thru SOAP from webservices. There is no 
automatic mapping/casting types on-the-fly. Flex could try an automatic
mapping, but in the end, there will be more complex situations, where
some kind of external xml mapping is needed.

I'm struggling with good solution for this one too. What I currently 
have is an PO object, which I call Perspective Object, which is some 
kind of mature object, created from raw VO (having public fields, for 
example. VO on the other hand has privates). There you could specify 
such methods as :

public static function transformFromObject(object:Object):BookPO {
return new BookPO(object.id, object.name, object.author);   
}

public static function 
transformCollection(collection:ArrayCollection):ArrayCollection {

var col:ArrayCollection = new ArrayCollection();
var cur:IViewCursor = collection.createCursor();
while (! cur.afterLast) {
 var book:BookPO = transformFromObject(cur.current);
 col.addItem(book);
 cur.moveNext();
}

 return col;
}

But I feel that there is something not right with setting properties by 
hand. I've found this :
http://coldfusion.sys-con.com/read/264726.htm
on Sys-CON, but the solution provided there is even more unclear for me.

And oh, the isn't the RETURN_OBJ always an ArrayCollection of Objects?
(event.result, that is).

Hope this helps a little bit.


-- 
| Sebastian Zarzycki / rat[tkin]
| [EMAIL PROTECTED]
| i'm a little lost in this postmodern space






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Accessing methods in nested components

2006-10-24 Thread Pascal Schrafl
Hi all,

I'm new to Flex but used OpenLaszlo before. I must now build an 
application to use with Zinc for my studies and as OpenLaszlo is not 
supported by Zinc, I decided to use Flex 2.

I have several components and would like to call some methods in other 
components.

Here's my application structure:

main Application

 which is a panel
 which is a canvas

within the filenet component I have several different components:

 which is a accordion.

within the sidebar, there is a component called:
 which is a canvas
and in this component there is an other component called:
 which is a canvas

in the addressBook component, I want to call a HTTPService, but I must 
call it, after the user has authenticated himself (using the login 
component). I use the getAddressBookEntries() Function to call the 
HTTPService.

I therefore have a function, that handles the login. If the server gives 
back a true, then I would like to call the HTTPService and load the user 
specific data.

I use the following command:

parentDocument.filenet.sidebar.addressbookTab.addressBook.getAddressBookEntries();
 


I use the parentDocument property to get out of the login component and 
then try to go all the way down to the addressBook component and call 
the appropriate function.

Unfortunately, I don't have any success, as the method doesn't get 
called. Am I doing something wrong?

There must be some way to call a method from a component within an other 
component. Perhaps I use to many components, and this causes the error? 
I have ensured, that all id's assigned are unique within the whole 
application.

I hope you can help me solve this problem. If it is useful to post the 
source code, just let me know.

Thanks a lot for your help.

Best regards,


Pascal



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Accessing methods in nested components

2006-10-24 Thread ps06flex
Hi all,

I'm new to Flex but used OpenLaszlo before. I must now build an application to 
use with 
Zinc for my studies and as OpenLaszlo is not supported by Zinc, I decided to 
use Flex 2.

I have several components and would like to call some methods in other 
components.

Here's my application structure:

main Application

 which is a panel
 which is a canvas

within the filenet component I have several different components:

 which is a accordion.

within the sidebar, there is a component called:
 which is a canvas
and in this component there is an other component called:
 which is a canvas

in the addressBook component, I want to call a HTTPService, but I must call it, 
after the 
user has authenticated himself (using the login component). I use the 
getAddressBookEntries() Function to call the HTTPService.

I therefore have a function, that handles the login. If the server gives back a 
true, then I 
would like to call the HTTPService and load the user specific data.

I use the following command:

parentDocument.filenet.sidebar.addressbookTab.addressBook.getAddressBookEntries();

I use the parentDocument property to get out of the login component and then 
try to go 
all the way down to the addressBook component and call the appropriate function.

Unfortunately, I don't have any success, as the method doesn't get called. Am I 
doing 
something wrong?

There must be some way to call a method from a component within an other 
component. 
Perhaps I use to many components, and this causes the error? I have ensured, 
that all id's 
assigned are unique within the whole application.

I hope you can help me solve this problem. If it is useful to post the source 
code, just let 
me know.

Thanks a lot for your help.

Best regards,


Pascal

PS: Is there any Flex 2 user here, who could help me out? I'm able to pay a bit 
money, as 
I'm on a very thight deadline and must get that app done in the next 14 days. 
Please 
contact me. I would just need an expert, who I may ask some questions, when I'm 
off the 
track again.





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] compress/decompress webservice result

2006-10-24 Thread amigo_fd
Any ideas or suggestion on how to compress data returned from a
webservice and decompress it in Flex ? My webservices are build with
ASP.NET C#

No speed problem when on the local network, but remote offices have to
wait a bit for larger results ...

Thanks,
Frank





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Peter Farland





NOTE: I spoke to the flexcoders list 
administrator and they're clearing out the spam 
folder, approving some of my posts which now appear out of order. Ignore this 
please, Douglas I think you're all set now on this 
thread.
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Pass data in Event or store it in ModelLocator?

2006-10-24 Thread ben.clinkinbeard
I'd say if its data that will be used outside of/after the event then
you would store it in the model.

Ben


--- In flexcoders@yahoogroups.com, "wayneposner" <[EMAIL PROTECTED]> wrote:
>
> Howdy all!
> 
> I've got a question regarding best practices for data sets--lets say an 
> arraycollection object to keep it simple:  Store in in the ModelLocator 
> class or pass it around via Events?
> 
> 
> Is there a best practice recommendation?  When is doing one more 
> appropriate than the other?  Are there any performance 
> increases/degredation doing one way vs the other?
> 
> Thanks!
> Wayne
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Flex 2 calendar framework announced

2006-10-24 Thread Nick Collins



You're probably the first because all the usual announcers are at MAXOn 10/24/06, maunger <[EMAIL PROTECTED]> wrote:













  



Hi y'all

I can't believe i'm the first to post this but i don't see anything
else posted so far today.

Anyway, Adobe Labs site has the new "scheduling framework" released as
alpha

http://labs.adobe.com/wiki/index.php/Flex_Scheduling_Framework

I haven't had much time to look thru it yet, but I was hoping for some
kind of 'month view' which i haven't found yet.

Good to see Adobe providing such great tools.

Mitch


  















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Can I dock anything to the BOTTOM of the screen

2006-10-24 Thread Matt Chotin












That’s how I would recommend it J

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Mike Anderson
Sent: Monday, October 23, 2006
9:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Can I
dock anything to the BOTTOM of the screen



 







Yeah I know - I wanted to do the same thing - 

Flex seems to be locked into a "Top Down" approach when it comes to
layouts...

With that said, to get my Application Bar to stick at the bottom, I set
the "Bottom" setting to like 5 or 10, and then give it the
appropriate
height setting to accommodate your child controls.

Sounds like an oversimplified answer, but that's how to do it as far as
I can tell...

Mike 

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of boy_trike
Sent: Monday, October 23, 2006 11:09 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Can I dock anything to the BOTTOM of the screen

I have an application bar docked to the top of the screen. Is there any
way to dock anything to the BOTTOM of the screen? 

Thanks

Bruce

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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Peter Farland





Douglas, I replied yesterday but flexcoders/yahoo groups 
didn't send my post out to the list (I've found reliability of yahoo groups to 
be poor lately).
 
I'll repost my previous message at the end of this message, 
but Seth provided a lot of detail that should help you too. For the port 
range issue, I'll expand on what I wrote yesterday:
 
As for worrying about port assignment and registering them 
with IANA - I don't think you have to worry. Unless you were boxing it up and 
reselling it standalone (not sure if the EULA even allows this...  but I'm 
only using this as an example!) then it might be a concern, but I suspect you 
control the server deployment so the port range is entirely up to you. If it 
makes you feel more comfortable just use 1935 for now as this is a well known 
port. The whole point of this configuration file is that it is configurable - 
completely configurable!
 
 
FWIW, my post yesterday in response to 
your previous post was:
 

"The answer is actually maybe - it 
depends on your application deployment. If you're going to host the SWF 
files in the same enterprise Java application server that deploys the web 
application containing the FDS message broker servlet then you can 
rely on the {server.port} token in the channel endpoint configuration to mean 
"replace this at runtime with the port used to load the SWF". However more 
complex deployments are possible and you may have several web servers running on 
different ports, or even different hosts for channel failover in which case you 
would need to be aware of the ports no matter what protocol was being used for 
communication.
 
Alternatively, if 
you know the exact host name and port (and context-root for that matter) of the 
FDS web application then you can remove the tokens from the channel endpoint 
altogether and just hard code the values if it makes it simpler to 
follow.
 

As 
for port assignment for RTMP channel endpoints - it can be anything that is 
allowed on your particular deployment - don't worry about what is in the 
configuration file by default - just change it as necessary. Note that Flash Communication Server (which was 
then renamed to Flash Media Server, aka FMS) registered port 1935 with IANA for 
its usages of RTMP - we originally used the same port for RTMP channels in 
FDS but we have clients who want to run both FMS and FDS on the same machine and 
we also ship several sample web application deployments which people may choose 
to deploy on the same host. So, we had to pick another port for the examples. 
The point is that it doesn't matter - you control both the client and the server 
so just change the configuration to meet your needs."
 
Regards,
Pete


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas 
McCarrollSent: Tuesday, October 24, 2006 10:21 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Questions about 
RTMP ports and channel definitions


Seth, Dirk (and all),Thanks for your responses. I think that I'm 
getting a pretty good understanding now.I have a few more questions. 
Both Seth and Dirk suggest that I use port 1935 if I'm not using FMS. But I 
need a *range* of ports, as I'm running multiple webApps in the same servlet 
container. With both 1935 and 2038 I'm going to be trespassing onto other 
apps' registered ports if I go up or down. I realize that it's fairly simple 
to just confirm that these apps aren't running on my server, and that's what 
I assume that I'll be doing. But wouldn't it be even better if Adobe 
registered a range of ports? It appears that port numbers up to 49151 can be 
registered, and there are plenty of unregistered ports above 
10,000...As a complete port-newbie I realize that there may be some 
fairly simple flaw in this suggestion...And even if it's a good 
idea it will probably take a while...But if it does make sense, wouldn't 
it make sense for me to do it on my own, now? Select an unregistered range 
of ports, and use them?Thanks,DouglasSeth Hodgson 
wrote:>> Hi Douglas,>> The answer is no. The server 
name and port you use will be the same > for all web apps deployed in 
your servlet container (app server). What > will differ is the context 
root portion of the URI (this is what the > container uses to route an 
inbound request to the target web app). As > someone said earlier if you 
have two servers (say Tomcat and Weblogic) > both running on the same box 
they'll use different ports so the FDS > apps you deploy to either server 
will need to use the proper port for > the server they're deployed to. 
Using the {server.port} token, or > leaving it out completely if it's 80, 
is the best approach for > HTTP/AMF endpoints in your config 
file.>> RTMP is different. HTTP servers and servlet containers 
don't have > native support for RTMP so we can't take advantage of 
existing > functionality for connection management and raw request 
parsing and > handling in the way we can with HTTP based communication

[flexcoders] Pass data in Event or store it in ModelLocator?

2006-10-24 Thread wayneposner
Howdy all!

I've got a question regarding best practices for data sets--lets say an 
arraycollection object to keep it simple:  Store in in the ModelLocator 
class or pass it around via Events?


Is there a best practice recommendation?  When is doing one more 
appropriate than the other?  Are there any performance 
increases/degredation doing one way vs the other?

Thanks!
Wayne




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Brightcove looking for Flex developers and QA

2006-10-24 Thread Brian Deitte
Hi all, 

Brightcove is looking for developers and QA for an exciting, new Flex 2
project.  You'll be working with me and others at Brightcove on creating
an application that focuses on video on the Web.

We would love Flex experience, but if you're just starting down the path
of Flex and want to keep learning more, we're definitely interested as
well.

The positions are based in Cambridge, Massachusetts.  To apply, please
see the links below or send your resume to [EMAIL PROTECTED]  

Thanks, Brian

Software Engineer:
http://tbe.taleo.net/NA4/ats/careers/requisition.jsp?org=BRIGHTCOVE&cws=
1&rid=116

Senior QA Software Engineer:
http://tbe.taleo.net/NA4/ats/careers/requisition.jsp?org=BRIGHTCOVE&cws=
1&rid=112



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Peter Farland





The answer is 
actually maybe - it depends on your application deployment. If you're 
going to host the SWF files in the same enterprise Java application server 
that deploys the web application containing the FDS message broker servlet 
then you can rely on the {server.port} token in the channel endpoint 
configuration to mean "replace this at runtime with the port used to load the 
SWF". However more complex deployments are possible and you may have several web 
servers running on different ports, or even different hosts for channel failover 
in which case you would need to be aware of the ports no matter what protocol 
was being used for communication.
 
Alternatively, if 
you know the exact host name and port (and context-root for that matter) of the 
FDS web application then you can remove the tokens from the channel endpoint 
altogether and just hard code the values if it makes it simpler to 
follow.
 
As for port 
assignment for RTMP channel endpoints - it can be anything that is allowed 
on your particular deployment - don't worry about what is in the 
configuration file by default - just change it as necessary. Note that 
Flash Communication Server (which was then renamed to Flash Media Server, aka 
FMS) registered port 1935 with IANA for its usages of RTMP - we originally used 
the same port for RTMP channels in FDS but we have clients who want to run 
both FMS and FDS on the same machine and we also ship several sample web 
application deployments which people may choose to deploy on the same host. So, 
we had to pick another port for the examples. The point is that it doesn't 
matter - you control both the client and the server so just change the 
configuration to meet your needs.
 
Pete
 
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas 
McCarrollSent: Monday, October 23, 2006 5:51 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Questions about 
RTMP ports and channel definitions


I'm getting a little clearer. Thanks Dustin and Stacy!On a practical 
level this boils down to a simple practical question: Do I need to worry 
about configuring HTTP and AMF ports when I have several webApps on the same 
server, like I must with RTMP?I'm pretty sure that the answer is no, but 
I'd love an authoritative answer from Adobe. :-)And while we're at 
it, is there a range of port numbers that I should be using for the RTMP 
assignments? The "flex" template app is at 2038. The "samples" app is at 
2037. How high and low can I go? BTW, my TCP/IP Network Administration book 
(which I obviously haven't fully absorbed :-) says that IANA keeps a list of 
assigned & registered ports. When I go to the page (http://www.iana.org/assignments/port-numbers) 
these two ports are associated with other programs. Might it be a good idea 
for Adobe to find a short range of numbers that isn't already claimed, and 
claim them? Not that I really know anything about this... 
:-)DouglasDustin Mercer wrote:>> The server port 
in this context is actually the HTTP port of your > server. The Flex Java 
architecture picks this up from the web server > and binds it to that 
uri. The reason there is not a problem with that > particular port is 
because it's the standard HTTP port. All web apps > can share that port 
and it's not making any time of remembered > connection with the flash 
client. Only the RTMP channel does that.>> I don't know about this 
part for sure, but I think the RTMP channel is > something Adobe built 
into the Flex framework that is like a mini > server that enables the 
"Real Time" portion of the Flex Data Services. > Someone from Adobe can 
correct me if I am wrong, that is only my > assumption. Hope that 
helps!>> -Original Message-> From: [EMAIL PROTECTED]ups.com 
40yahoogroups.com> > [mailto:[EMAIL PROTECTED]ups.com 
> 40yahoogroups.com>] On Behalf Of 
Douglas McCarroll> Sent: Monday, October 23, 2006 2:20 PM> To: [EMAIL PROTECTED]ups.com 
40yahoogroups.com>> Subject: Re: 
[flexcoders] Questions about RTMP ports and channel > 
definitions>> Hi Stacy (and all),>> That makes 
perfect sense. But am I correct in guessing that code like> 
this...>> uri="http:// > 
{server.name}:{server.port}/{context.root}/messagebroker/amfpolling>> 
...indicates that our webApp is using the same port for AMF as other> 
webApps? (I assume that "server.port" is defined somewhere in FDS> 
compiled code - I can't find it in any of the config files.)>> 
...and if so, why isn't this a problem? Why would several instances be> 
able to listen to the same port for AMF and HTTP? Doesn't make sense.> 
Obviously, there's something here that I don't understand 
here...>> Douglas>> Stacy Young wrote:> 
>> > To answer # 1: trying to have two instances of FDS bind to the 
same> > port is the same as trying to run two web servers on the same 
machine> > and bind them both to port 80. It's not a matter of message 
routing> > ...the port is already in use so the second instance will 
fai

FW: [flexcoders] Can I dock anything to the BOTTOM of the screen

2006-10-24 Thread Andrew Trice












I sent this earlier, but it is not showing
up in flexcoders, so let me try again…

 

You could extend the mx.core.Application
class to override the layoutchrome, get viewMetrics, and measure methods.
 This would allow you to have a “true” dock to the bottom of
the application.

 



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mike Anderson
Sent: Monday, October 23, 2006
12:27 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Can I
dock anything to the BOTTOM of the screen



 







Yeah I know - I wanted to do the same thing - 

Flex seems to be locked into a "Top Down" approach when it comes to
layouts...

With that said, to get my Application Bar to stick at the bottom, I set
the "Bottom" setting to like 5 or 10, and then give it the
appropriate
height setting to accommodate your child controls.

Sounds like an oversimplified answer, but that's how to do it as far as
I can tell...

Mike 

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of boy_trike
Sent: Monday, October 23, 2006 11:09 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Can I dock anything to the BOTTOM of the screen

I have an application bar docked to the top of the screen. Is there any
way to dock anything to the BOTTOM of the screen? 

Thanks

Bruce

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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Can I dock anything to the BOTTOM of the screen

2006-10-24 Thread Matt Chotin












Also if you don’t want to use absolute
layout you can use a Spacer in a vertical orientation, put the spacer before
your application control bar, height to 100%, and voila.

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson
Sent: Monday, October 23, 2006
9:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Can I
dock anything to the BOTTOM of the screen



 







Yeah I know - I wanted to do the same thing - 

Flex seems to be locked into a "Top Down" approach when it comes to
layouts...

With that said, to get my Application Bar to stick at the bottom, I set
the "Bottom" setting to like 5 or 10, and then give it the appropriate
height setting to accommodate your child controls.

Sounds like an oversimplified answer, but that's how to do it as far as
I can tell...

Mike 

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of boy_trike
Sent: Monday, October 23, 2006 11:09 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Can I dock anything to the BOTTOM of the screen

I have an application bar docked to the top of the screen. Is there any
way to dock anything to the BOTTOM of the screen? 

Thanks

Bruce

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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Can I dock anything to the BOTTOM of the screen

2006-10-24 Thread Andrew Trice












You could extend the mx.core.Application
class to override the layoutchrome, get viewMetrics, and measure methods.  This
would allow you to have a “true” dock to the bottom of the
application.

 



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mike Anderson
Sent: Monday, October 23, 2006
12:27 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Can I
dock anything to the BOTTOM of the screen



 







Yeah I know - I wanted to do the same thing - 

Flex seems to be locked into a "Top Down" approach when it comes to
layouts...

With that said, to get my Application Bar to stick at the bottom, I set
the "Bottom" setting to like 5 or 10, and then give it the
appropriate
height setting to accommodate your child controls.

Sounds like an oversimplified answer, but that's how to do it as far as
I can tell...

Mike 

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of boy_trike
Sent: Monday, October 23, 2006 11:09 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Can I dock anything to the BOTTOM of the screen

I have an application bar docked to the top of the screen. Is there any
way to dock anything to the BOTTOM of the screen? 

Thanks

Bruce

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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Pagination? Where?

2006-10-24 Thread Tracy Spratt












“better performance and
user-interface issues”.  This is still too broad a goal to address very
successfully.  There are many causes and solutions.  

 

If we just look at large data sets “coming
down the wire”, then server-side pagination is one solution. If FDS is an
option for you then that is the way to go, since it was designed to solve this
issue among others.

 

If you want to do it yourself, look into
the series of articles by Matt Chotin, on his blog.  They were written for flex
1.5, but still apply to 2.0.  Google “Chotin Flex large data set”.

 

For another approach to the same problem,
you might want to look into compression of the data stream.  Do some searching
of the archives and google for this technique.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews
Sent: Tuesday, October 24, 2006
1:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Pagination? Where?



 









Surely this is up to you and your back-end code rather than
flex? Get the Flex application to request 'page 1' and let your backend code
just return a 'page' of data. How you do that is up to you.





 





Paul







- Original Message - 





From: Fabio
Barreiro 





To: [EMAIL PROTECTED]ups.com






Sent: Tuesday, October
24, 2006 5:49 PM





Subject: RES: [flexcoders]
Pagination? Where?





 





500 rows of data was just an example. Some queries on my database
may return as high as 1 rows.

I’m using ASP pages as the back-end.

So pagination would be the solution to better performance and
user-interface issues.

 









De: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
Em nome de Tracy
 Spratt
Enviada em: terça-feira, 24 de
outubro de 2006 14:40
Para: [EMAIL PROTECTED]ups.com
Assunto: RE: [flexcoders]
Pagination? Where?



 









Where are your 500 rows of data?  Already on the client or
still on the server?

 

In other words, is the problem you are trying to solve with
pagination one of rendering performance, or one of data access
performance?  Or neither?

 

Tracy



 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Fabio Barreiro
Sent: Tuesday, October 24, 2006
12:28 PM
To: [EMAIL PROTECTED]ups.com
Subject: RES: [flexcoders]
Pagination? Where?



 











Tracy



 

For example..

Let’s say I have a 500 rows data

I want the DataGrid to show 100 rows and then the user be able to
navigate through 5 pages showing 100 records each

<<   <
>   >>

 

 









De: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
Em nome de Tracy Spratt
Enviada em: terça-feira, 24 de
outubro de 2006 14:07
Para: [EMAIL PROTECTED]ups.com
Assunto: RE: [flexcoders]
Pagination? Where?



 









Can you be more specific about what you want to do? 
“pagination” can mean many things.

 

Tracy

 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Fabio
Barreiro
Sent: Tuesday, October 24, 2006
10:20 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Pagination?
Where?



 









Is it
possible to do pagination on a large Datagrid?

Is there an
example available?












































__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Transition a move based on layoutManager moving a component

2006-10-24 Thread Sam Shrefler



Is there any way to transition a move based on a layoutManager moving a component.  For instance:
 
Say i have a VBox with 10 components.  In the new state, The top 9 components are removed, therefore the 10th component is at the top fo the VBox.  Is there any way to "move" the 10th component from its current position to its position in the new state using a transition move effect?

 
Thanks
Sam

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Flex 2 calendar framework announced

2006-10-24 Thread maunger
Hi y'all

I can't believe i'm the first to post this but i don't see anything
else posted so far today.

Anyway, Adobe Labs site has the new "scheduling framework" released as
alpha

http://labs.adobe.com/wiki/index.php/Flex_Scheduling_Framework

I haven't had much time to look thru it yet, but I was hoping for some
kind of 'month view' which i haven't found yet.

Good to see Adobe providing such great tools.

Mitch





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Newbie Question: Child / Parent Events

2006-10-24 Thread mindmillmedia
How can a child receive events of the parent?  I know that events
bubble - but what if you want events to sink?

David




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Re: A file found in a source-path must have the same package structure

2006-10-24 Thread Peter Farland





Ah, I see.
 
So are you using a flex-config.xml file or just a complex 
series of command line arguments with the compiler? If so, any chance we could 
see those settings? It's likely that some source path root exists that is a 
parent of the nested mxml file you're trying to use as a starting point for 
compilation... and it's getting confused when resolving 
paths.
 
I've not tried this scenario personally, so I expect others 
on the list will have better advice with specific examples, but if it were me 
I'd be tracking down my source paths and just what exactly is in my compiler's 
scope and trying to limit that...
 
Pete
 
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
erik_jen5enSent: Tuesday, October 24, 2006 12:04 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: A file found in a 
source-path must have the same package structure


I am using an application that I have developed using 
FlexBuilder and now I am trying to compile with the command line tools.  
The application contains multiple mxml files, some of which I have put into the 
package structure.  The problem only seems to occur when I try to 
compile the mxml files within the package structure.  I have tried 
seperating the as and mxml files but the problem persists.Is there some 
structure I should adopt for building projects?--- In 
[EMAIL PROTECTED]ups.com, "Peter Farland" <[EMAIL PROTECTED]> 
wrote:>> Perhaps you have some test code or some sample class 
in the same> directory as the main mxml file but didn't realize that the 
compiler> would find it during compilation? This sample class may declare 
that it> is supposed to be in the uk.co.vianet package but it is sitting 
in the> root directory that houses the main .mxml! file?> > 
The MXML compiler relies on a naming convention to locate classes at> 
compile time, which is roughly:> > 1. Only one public definition 
(class, interface, etc) should exist per> file.> 2. The file name 
should match the class name with a .as extension (or> .mxml extension if 
implementation is in MXML)> 3. The directory structure of the file should 
match the package> structure.> > Instead of requiring you 
to setup a "project" and include each> individual file that you want link 
into the SWF the mxmlc compiler> searches out for classes based on this 
naming convention.> > i.e. for the following ActionScript class 
used in an MXML application:> > package com.mycompany> 
{> public class MyClass> {> public function 
MyClass()> {> }> }> }> > ...it should 
be declare! d in the following directory structure using the> corre! ct 
filen ame:> > /com/mycompany/MyClass.as> > 
Also, this assumes that the /com directory resides in one of the> 
specified source path directories for the compiler, which may either be> 
the directory that houses the main .mxml file (i.e. the file starting> 
with ) or one of potentially several source paths> 
explicitly configured either on the command line or (preferably) in a> 
corresponding flex-config.xml referenced by> 
--load-config=/path/to/your/flex-config.xml> > Note 
that if the class uses the empty package,> > package> 
{> public class MyClass> {> public function 
MyClass()> {> }> }> }> > Then it 
exists in the root of one of the source path directories.> > 
> > > ! 
> From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On> Behalf Of 
erik_jen5en> Sent: Tuesday, October 24, 2006 4:59 AM> To: 
[EMAIL PROTECTED]ups.com> Subject: [flexcoders] A file found in a 
source-path must have the same> package structure> > 
> > Hi all,> > I am attempting to get a build 
environment working with the command> line tools. So far I have an Ant 
build script that will build all> mxml files in a directory but I keep 
getting the following error,> > > A file found in a 
source-path must have the same package structure '',> as the definition's 
package, 'uk.co.vianet'.> > > Does anyone know what is 
causing this error, and how to solve it. I> don't seem to be able to find 
any info on it.> > Thanks in advance,> > 
Erik>
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 

[flexcoders] Re: Flex Data Services painfully slow?

2006-10-24 Thread ryanharlin
Yeah, I've got 2 gigs in the MacBook and 1 gig given to Windows.  The
database is an access MDB file right now.

The difference in speed when testing from the internal ip address here
on the home network vs. from outside via the external ip address is
such a dramatic difference that I can't chalk it up to the computer
because the computer behaves fine on the internal IP address.

As an example, loading a datagrid that hits the mdb file with four
records in the database takes a few seconds on when going to
192.168...:8700 but when going to 216.45...:8700 it takes nearly 3
minutes.  That can't be the computer.  It's got to be a network issue.
 I'm just not good enough to know what that issue would be.



--- In flexcoders@yahoogroups.com, "boy_trike" <[EMAIL PROTECTED]> wrote:
>
> > > My setup is pretty basic.  I'm coding at home the requests come into
> > > my router which is set up to forward port 8700 to the MacBook
which is
> > > running Windows and hosts the DB, Coldfusion, and FDS.
> > >
> 
> Just curious, I ASSUME  you have 2G of ram in your macbook and
therefore allocate 1G for 
> windows, AND your Database (which is)  AND Coldfusion (a REAL
J2EE App Server) AND 
> FDS in 1 GIG with a SLOW laptop harddisk?  I mention this because I
am doing my 
> development on both a Macbook Pro and a MacPro (with 4 gig) and the
MacPro is MUCH 
> faster (about 2-4X faster).
> 
> bruce
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Pagination? Where?

2006-10-24 Thread Paul Andrews





Surely this is up to you and your back-end code 
rather than flex? Get the Flex application to request 'page 1' and let your 
backend code just return a 'page' of data. How you do that is up to 
you.
 
Paul

  - Original Message - 
  From: 
  Fabio 
  Barreiro 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, October 24, 2006 5:49 
  PM
  Subject: RES: [flexcoders] Pagination? 
  Where?
  
  
  500 rows of data was 
  just an example. Some queries on my database may return as high as 1 
  rows.
  I’m using ASP pages 
  as the back-end.
  So pagination would 
  be the solution to better performance and user-interface 
  issues.
   
  
  
  
  
  De: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  Em nome de Tracy 
  SprattEnviada em: 
  terça-feira, 24 de outubro de 2006 14:40Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Pagination? 
  Where?
   
  
  
  
  
  Where are your 500 
  rows of data?  Already on the client or still on the 
  server?
   
  In other words, is 
  the problem you are trying to solve with pagination one of rendering 
  performance, or one of data access performance?  Or 
  neither?
   
  Tracy
   
  
  
  
  
  From: 
  [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Fabio BarreiroSent: Tuesday, October 24, 2006 12:28 
  PMTo: [EMAIL PROTECTED]ups.comSubject: RES: [flexcoders] Pagination? 
  Where?
   
  
  
  
  
  Tracy
   
  For 
  example..
  Let’s say I have a 
  500 rows data
  I want the DataGrid 
  to show 100 rows and then the user be able to navigate through 5 pages showing 
  100 records each
  << 
    < 
  >   
  >>
   
   
  
  
  
  
  De: 
  [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  Em nome de Tracy 
  SprattEnviada em: 
  terça-feira, 24 de outubro de 2006 14:07Para: 
  [EMAIL PROTECTED]ups.comAssunto: RE: [flexcoders] Pagination? 
  Where?
   
  
  
  
  
  Can you be more 
  specific about what you want to do?  “pagination” can mean many 
  things.
   
  Tracy
   
  
  
  
  
  From: 
  [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  On Behalf Of 
  Fabio 
  BarreiroSent: Tuesday, October 24, 2006 10:20 
  AMTo: 
  [EMAIL PROTECTED]ups.comSubject: [flexcoders] Pagination? 
  Where?
   
  
  
  
  
  Is it possible to do 
  pagination on a large 
  Datagrid?
  Is there an example 
  available?
   
  
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Re: Flex Data Services painfully slow?

2006-10-24 Thread Kelly












My first guess would be to look for
inefficient looping or queries in Coldfusion.

Put timers in your cfc’s to see how
long they are taking to execute on their own.

 

That is the most likely culprit.

 

 

 

--Kelly

 

 

 

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ryanharlin
Sent: Monday, October 23, 2006
5:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex
Data Services painfully slow?



 







How could I diagnose and identify routing and/or DNS
problems?

My setup is pretty basic. I'm coding at home the requests come into
my router which is set up to forward port 8700 to the MacBook which is
running Windows and hosts the DB, Coldfusion, and FDS.

There's no DNS I'm running and I access by direct IP address.

Any thoughts on how to test both of these good suggestions?

--- In [EMAIL PROTECTED]ups.com,
"Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> I can't really say about FDS being slow, but on other systems where
we've had painful network transfers, it's often been followed back to
a DNS routing problem.
> 
> Paul
> - Original Message - 
> From: Matt Chotin 
> To: [EMAIL PROTECTED]ups.com

> Sent: Monday, October 23, 2006 10:56 PM
> Subject: RE: [flexcoders] Flex Data Services painfully slow?
> 
> 
> Is there a proxy server involved somehow maybe? There is no
licensing throttling or anything like that. It just sounds like
you're having routing problems or something similar?
> 
> 
> 
> 
>
--
> 
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of ryanharlin
> Sent: Monday, October 23, 2006 7:24 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Flex Data Services painfully slow?
> 
> 
> 
> I'm getting into developing a flex application with Flex Data
> Management Services using Coldfusion CFCs to talk to the backend.
> 
> All's going well enough, except for one problem.
> 
> When I test from outside the internal network... ie. hit the server
> from home over a regular broadband connection... the data that loads
> into my datagrid takes almost 2 minutes to load.
> 
> Slow is not an accurate enough word. It's more like 'unusable' or
> 'deal breaker.'
> 
> Even on the faster internal network testing the pages have noticeable
> delays when loading. After entering the localhost:8700 address in the
> browser and hitting enter it sits for a while on "waiting for
> localhost..." before the page loads.
> 
> Is all this solved when you go beyond a single machine to host the
> database, coldfusion development server, and flex development server?
> Or are the development server licenses throttled back to make them
> non-options for those that would consider rolling out without
> licensing the real deal?
>






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Seth Hodgson
Hi Douglas,

Sure, just pick your own range. The default port for HTTP is 80 but if you run 
multiple instances or JRun/Tomcat/whatever you end up using non-standard ports 
(8100, 8080, 7100, etc.).  I'm not aware of any single protocol or application 
that has reserved a range of port numbers with IANA. Trampling on the 
registered port for Mike O'Brien's chat app (2031) for example isn't going to 
be an issue unless you happen to be running that app on your server as well, 
and if you happen to collide with something FDS will throw an exception on 
startup and you can pick a different port.

Best,
Seth


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas 
McCarroll
Sent: Tuesday, October 24, 2006 7:21 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Questions about RTMP ports and channel definitions

Seth, Dirk (and all),

Thanks for your responses. I think that I'm getting a pretty good 
understanding now.

I have a few more questions. Both Seth and Dirk suggest that I use port 
1935 if I'm not using FMS. But I need a *range* of ports, as I'm running 
multiple webApps in the same servlet container. With both 1935 and 2038 
I'm going to be trespassing onto other apps' registered ports if I go up 
or down. I realize that it's fairly simple to just confirm that these 
apps aren't running on my server, and that's what I assume that I'll be 
doing. But wouldn't it be even better if Adobe registered a range of 
ports? It appears that port numbers up to 49151 can be registered, and 
there are plenty of unregistered ports above 10,000...

As a complete port-newbie I realize that there may be some fairly simple 
flaw in this suggestion...

And even if it's a good idea it will probably take a while...

But if it does make sense, wouldn't it make sense for me to do it on my 
own, now? Select an unregistered range of ports, and use them?

Thanks,

Douglas

Seth Hodgson wrote:
>
> Hi Douglas,
>
> The answer is no. The server name and port you use will be the same 
> for all web apps deployed in your servlet container (app server). What 
> will differ is the context root portion of the URI (this is what the 
> container uses to route an inbound request to the target web app). As 
> someone said earlier if you have two servers (say Tomcat and Weblogic) 
> both running on the same box they'll use different ports so the FDS 
> apps you deploy to either server will need to use the proper port for 
> the server they're deployed to. Using the {server.port} token, or 
> leaving it out completely if it's 80, is the best approach for 
> HTTP/AMF endpoints in your config file.
>
> RTMP is different. HTTP servers and servlet containers don't have 
> native support for RTMP so we can't take advantage of existing 
> functionality for connection management and raw request parsing and 
> handling in the way we can with HTTP based communication. When your 
> FDS app starts up, the RTMP endpoint on the server starts an internal 
> socket server that binds to the port you specify in the endpoint URI 
> in the config file. This socket server is implemented using the Java 
> NIO APIs for improved scalability and it handles the RTMP connections 
> that clients make to the server. The RTMP endpoint and its internal 
> socket server live and die along with the web app, and it can't be 
> shared across web apps because apps can be started and stopped 
> independently. This means that you need to avoid RTMP port binding 
> collisions when you deploy multiple FDS apps to the same server by 
> using a unique port for each RTMP endpoint. If a port is already in 
> use, the RTMP endpoint throws the exception you saw earlier and the 
> web app shuts down because there's no point in running if it can't 
> accept and service client connections.
>
> The RTMP protocol was first used by Flash Media Server (formerly known 
> as Flash Communication Server), and standard ports have been 
> registered with IANA:
>
> macromedia-fcs 1935/tcp Macromedia Flash Communications Server MX
> macromedia-fcs 1935/udp Macromedia Flash Communications server MX
>
> The default FDS port values are offset to 203X as a convenience in 
> case you're running FMS on the same box. If you're not running FMS go 
> ahead and use 1935. If you have multiple apps, just increment the 
> value for each successive FDS app's RTMP endpoint.
>
> HTH,
> Seth
>
> 
> From: flexcoders@yahoogroups.com  
> [mailto:flexcoders@yahoogroups.com 
> ] On Behalf Of Douglas McCarroll
> Sent: Monday, October 23, 2006 2:51 PM
> To: flexcoders@yahoogroups.com 
> Subject: Re: [flexcoders] Questions about RTMP ports and channel 
> definitions
>
> I'm getting a little clearer. Thanks Dustin and Stacy!
>
> On a practical level this boils down to a simple practical question: Do
> I 

[flexcoders] Asynchronously populate tree control.

2006-10-24 Thread thunderstumpgesatwork

Hi all,

I am trying to populate a tree with asynchronous calls to a remote
object. (I.E. each request for children of a node causes a remote call
to get the children).

The issue that I'm running into is that even before opening a tree
node, all the children are being fetched. (call to
DataDescriptor.getChildren() is happening even before opening the node.)

My basic approach has been: maintain static metadata about the
different nodes in my tree so I know if it's a leaf/branch/etc. Use
this info in the DataDescriptor. 

For IDataDescriptor.isBranch, I ONLY look at the metadata. I don't
actually fetch the children remotely. My initial implementation of
IDataDescriptor.hasChildren was using getChildren() and if the count
was >1 then true. I changed this to be simply a call to
IDataDescriptor.isBranch() to avoid calling getChildren() until I
actually needed to fetch the children.

This has not worked though. It seems that the tree is calling
getChildren() on my nodes even before I open them. 

Am I missing something? Is there some way that I can work around this?

thanks,
Thunder




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RES: [flexcoders] Pagination? Where?

2006-10-24 Thread Fabio Barreiro












500 rows of data was just
an example. Some queries on my database may return as high as 1 rows.

I’m using ASP pages
as the back-end.

So pagination would be the
solution to better performance and user-interface issues.

 









De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Em nome de Tracy Spratt
Enviada em: terça-feira, 24 de
outubro de 2006 14:40
Para: flexcoders@yahoogroups.com
Assunto: RE: [flexcoders]
Pagination? Where?



 









Where are your 500 rows of data?  Already on the client or
still on the server?

 

In other words, is the problem you are trying to solve with
pagination one of rendering performance, or one of data access
performance?  Or neither?

 

Tracy



 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Fabio Barreiro
Sent: Tuesday, October 24, 2006
12:28 PM
To: [EMAIL PROTECTED]ups.com
Subject: RES: [flexcoders]
Pagination? Where?



 











Tracy



 

For example..

Let’s say I have a 500 rows data

I want the DataGrid to show 100 rows and then the user be able to
navigate through 5 pages showing 100 records each

<<   <
>   >>

 

 









De: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
Em nome de Tracy Spratt
Enviada em: terça-feira, 24 de
outubro de 2006 14:07
Para: [EMAIL PROTECTED]ups.com
Assunto: RE: [flexcoders]
Pagination? Where?



 









Can you be more specific about what you want to do? 
“pagination” can mean many things.

 

Tracy

 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Fabio Barreiro
Sent: Tuesday, October 24, 2006
10:20 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Pagination?
Where?



 









Is it
possible to do pagination on a large Datagrid?

Is there an
example available?


































__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Pagination? Where?

2006-10-24 Thread Tracy Spratt












Where are your 500 rows of data?  Already
on the client or still on the server?

 

In other words, is the problem you are
trying to solve with pagination one of rendering performance, or one of data
access performance?  Or neither?

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Fabio Barreiro
Sent: Tuesday, October 24, 2006
12:28 PM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders]
Pagination? Where?



 









Tracy



 

For example..

Let’s say I have a 500 rows data

I want the DataGrid to show 100 rows and then the user be able to
navigate through 5 pages showing 100 records each

<<   <
>   >>

 

 









De: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
Em nome de Tracy
 Spratt
Enviada em: terça-feira, 24 de
outubro de 2006 14:07
Para: [EMAIL PROTECTED]ups.com
Assunto: RE: [flexcoders]
Pagination? Where?



 









Can you be more specific about what you want to do? 
“pagination” can mean many things.

 

Tracy

 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Fabio Barreiro
Sent: Tuesday, October 24, 2006
10:20 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Pagination?
Where?



 









Is it
possible to do pagination on a large Datagrid?

Is there an
example available?


























__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RES: [flexcoders] Pagination? Where?

2006-10-24 Thread Fabio Barreiro













Tracy

 

For example..

Let’s say I have a
500 rows data

I want the DataGrid to
show 100 rows and then the user be able to navigate through 5 pages showing 100
records each

<<   <
>   >>

 

 









De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Em nome de Tracy Spratt
Enviada em: terça-feira, 24
de outubro de 2006 14:07
Para: flexcoders@yahoogroups.com
Assunto: RE: [flexcoders]
Pagination? Where?



 









Can you be more specific about what you want to do? 
“pagination” can mean many things.

 

Tracy

 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Fabio Barreiro
Sent: Tuesday, October 24, 2006
10:20 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Pagination?
Where?



 









Is it
possible to do pagination on a large Datagrid?

Is there an
example available?


















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: Flex Data Services painfully slow?

2006-10-24 Thread boy_trike
> > My setup is pretty basic.  I'm coding at home the requests come into
> > my router which is set up to forward port 8700 to the MacBook which is
> > running Windows and hosts the DB, Coldfusion, and FDS.
> >

Just curious, I ASSUME  you have 2G of ram in your macbook and therefore 
allocate 1G for 
windows, AND your Database (which is)  AND Coldfusion (a REAL J2EE App 
Server) AND 
FDS in 1 GIG with a SLOW laptop harddisk?  I mention this because I am doing my 
development on both a Macbook Pro and a MacPro (with 4 gig) and the MacPro is 
MUCH 
faster (about 2-4X faster).

bruce




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Pagination? Where?

2006-10-24 Thread Tracy Spratt












Can you be more specific about what you
want to do?  “pagination” can mean many things.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Fabio Barreiro
Sent: Tuesday, October 24, 2006
10:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Pagination?
Where?



 









Is it
possible to do pagination on a large Datagrid?

Is there an
example available?








__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Re: One data set, multiple DataGrids/views- best approach?

2006-10-24 Thread Tracy Spratt












It is probably just a personal problem,
but I find binding often difficult to debug, so I am in the habit of using
result and fault handlers for all data calls and directly assigning the result
data to global/instance variables.  This lets me easily inspect/debug the
data I will be displaying.  I then bind the visual elements to those
instance variables.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ben.clinkinbeard
Sent: Monday, October 23, 2006
12:54 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: One data
set, multiple DataGrids/views- best approach?



 







Thats actually a really good idea Tracy, thanks. Not
sure why it
didn't occur to me :)

That approach still leaves me with my biggest question though, which
is how to handle updates to the data. My app is basically a document
generation workflow, so the user will be moving (possibly large) sets
of documents through different steps that happen on the server, and
we'll be polling for status updates and whatnot. So when a result
returns from the server, would I just push out the new data to the
collections? Or perhaps I could bind the collections to the master set
somehow?

Thanks,
Ben

--- In [EMAIL PROTECTED]ups.com,
"Tracy Spratt"
<[EMAIL PROTECTED]> wrote:
>
> Could you use e4x xml as the master data, then use the node selection
> sepressions to return the xml or XMLList you want, and put that data
> subset into an XMLListCollection to take advantage of the cllection API?
> 
> 
> 
> Tracy
> 
> 
> 
> 
> 
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of ben.clinkinbeard
> Sent: Monday, October 23, 2006 11:30 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] One data set, multiple DataGrids/views- best
> approach?
> 
> 
> 
> In an upcoming project I will need to provide multiple views of the
> same data, most likely in the form of an XMLListCollection, in
> multiple DataGrids. The scenario is that I will have a large master
> set of data, but depending on which screen you are on you will only
> see the appropriate parts of the data (proposed documents, generated
> documents, approved documents, etc). I will also be using some
> compound filterFunctions, so that on the screen displaying only the
> approved documents, the user can additionally filter by document type,
> etc.
> 
> My question, finally, is what is the best way to approach this? I have
> toyed with the idea of making a copy of the data for each screen, but
> that seems error prone and hackish as the data will be updating while
> the application is being used. Should I change the filterFunction
> being used when the user switches screens so I essentially have one
> DataGrid shared between screens and the 'multiple views' is faked?
> Should I break the data into pieces? Any advice or guidance is greatly
> appreciated.
> 
> Thanks,
> Ben
>






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: A file found in a source-path must have the same package structure

2006-10-24 Thread erik_jen5en



I am using an application that I have developed using FlexBuilder and now I am trying to compile with the command line tools.  The application contains multiple mxml files, some of which I have put into the package structure.  The problem only seems to occur when I try to compile the mxml files within the package structure.  I have tried seperating the as and mxml files but the problem persists.Is there some structure I should adopt for building projects?--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:>> Perhaps you have some test code or some sample class in the same> directory as the main mxml file but didn't realize that the compiler> would find it during compilation? This sample class may declare that it> is supposed to be in the uk.co.vianet package but it is sitting in the> root directory that houses the main .mxml file?>  > The MXML compiler relies on a naming convention to locate classes at> compile time, which is roughly:>  > 1. Only one public definition (class, interface, etc) should exist per> file.> 2. The file name should match the class name with a .as extension (or> .mxml extension if implementation is in MXML)> 3. The directory structure of the file should match the package> structure.>  >  Instead of requiring you to setup a "project" and include each> individual file that you want link into the SWF the mxmlc compiler> searches out for classes based on this naming convention.>  > i.e. for the following ActionScript class used in an MXML application:>  > package com.mycompany> {> public class MyClass> {> public function MyClass()> {> }> }> }>  > ...it should be declared in the following directory structure using the> correct filename:>  > /com/mycompany/MyClass.as>  > Also, this assumes that the /com directory resides in one of the> specified source path directories for the compiler, which may either be> the directory that houses the main .mxml file (i.e. the file starting> with ) or one of potentially several source paths> explicitly configured either on the command line or (preferably) in a> corresponding flex-config.xml referenced by> --load-config=/path/to/your/flex-config.xml>  > Note that if the class uses the empty package,>  > package> {> public class MyClass> {> public function MyClass()> {> }> }> }>  > Then it exists in the root of one of the source path directories.>  >  >  > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On> Behalf Of erik_jen5en> Sent: Tuesday, October 24, 2006 4:59 AM> To: flexcoders@yahoogroups.com> Subject: [flexcoders] A file found in a source-path must have the same> package structure> > > > Hi all,> > I am attempting to get a build environment working with the command> line tools.  So far I have an Ant build script that will build all> mxml files in a directory but I keep getting the following error,> > > A file found in a source-path must have the same package structure '',> as the definition's package, 'uk.co.vianet'.> > > Does anyone know what is causing this error, and how to solve it.  I> don't seem to be able to find any info on it.> > Thanks in advance,> > Erik>


__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] A file found in a source-path must have the same package structure

2006-10-24 Thread Peter Farland






Perhaps you have some test code or some sample class in the 
same directory as the main mxml file but didn't realize that the compiler would 
find it during compilation? This sample class may declare that it is supposed to 
be in the uk.co.vianet package but it is sitting in the root directory that 
houses the main .mxml file?
 
The MXML compiler relies on a naming convention to locate 
classes at compile time, which is roughly:
 
1. Only one public definition (class, interface, etc) 
should exist per file.
2. The file name should match the class name with a .as 
extension (or .mxml extension if implementation is in MXML)
3. The directory structure of the file should match the 
package structure.
 

 Instead of requiring you to setup a "project" and 
include each individual file that you want link into the SWF the mxmlc compiler 
searches out for classes based on this naming 
convention.
 
i.e. for the following ActionScript class used in an MXML 
application:
 
package com.mycompany
{
public class MyClass
{
    public function 
MyClass()
    {    
}
}
}
 
...it should be declared in the following directory 
structure using the correct filename:
 
    
/com/mycompany/MyClass.as
 
Also, this assumes that the /com directory resides in one 
of the specified source path directories for the compiler, which may either be 
the directory that houses the main .mxml file (i.e. the file starting with 
) or one of potentially several source paths explicitly 
configured either on the command line or (preferably) in a corresponding 
flex-config.xml referenced by 
--load-config=/path/to/your/flex-config.xml
 
Note that if the class uses the empty 
package,
 

package
{
public class MyClass
{
    public function 
MyClass()
    {    
}
}
}
 
Then it exists in the root of one of the source path 
directories.
 
 
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
erik_jen5enSent: Tuesday, October 24, 2006 4:59 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] A file found in a 
source-path must have the same package structure


Hi all,I am attempting to get a build environment 
working with the commandline tools.  So far I have an Ant build script 
that will build allmxml files in a directory but I keep getting the 
following error,A file found in a source-path must have the same 
package structure '',as the definition's package, 
'uk.co.vianet'.Does anyone know what is causing this error, 
and how to solve it.  I don't seem to be able to find any info on 
it.Thanks in advance,Erik 
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Flex Deployment Best Practices

2006-10-24 Thread John Kirby
Title: quote






Hank -

Bingo!  This is exactly my concern.  I love Flex... but building a
"bloated" application of 500k--> 1Mb for the consumer space is not
"attractive".

I hope in the next releases of Flex they address the ability to design
your application so the initial load module can be small with the
ability to "fetch" more modules (small) as the user "drills down" into
the application's functionality?

.j

hank williams said the following:


  
  My point wasnt that big app modularity isnt important. My only
point is that if your app is 2 or 3 mb you can already modularize it
with the current rsl technology whereas you cant modularize the flex
framework at all currently. I understand that roger's stuff is going to
make big app moduarity easier. But, again making something easier that
is already possible, is different than making something that is
impossible possible.
  
  
Flex 1.5 was clearly just an enterpise product. Flex 2.0 moved into the
mainstream, and a lot of us are, I suspect, trying to figure out how to
use it effectively for consumer facing applications, Flex is now the
cornerstone of Flash application development, but for lots of
applications 500-600 is too big for a consumer facing app.
  
  
The other thing is that for enterprise apps, if you did have to load
2-3 mb on an intranet, or even over the internet, its just not that big
a deal.
  
Regards,
Hank
  
  
  On 10/24/06, Carlos Rovira 
wrote:
  
Hank,

Both issues are important. Flex is a product born for enterprise
applications (for intranets, extranets,etc...).
It can be used for normal website as well, but maybe Adobe created it
in the beggining to reach the big enterprise.

Big apps is the normal basis in this kind of projects and modular apps
are a real must. The main reason is get better compiler times and
productivity and then better performance. Maybe internet's homepage
with a few controls and use cases is not the soul behind the flex
framework, but I agree that it shuld be possible as well in order to
get a real "flexible" technology.


Just my thoughts.

Best.

C.



On 10/24/06, hank williams <[EMAIL PROTECTED]com>
wrote:


  
  
  
  
  My situation is not a huge app, but I think probably fits in a
fairly mainstream situation.
  
I have several "sections" that a user could access. I am most concerned
about the access to my homepage which is going to get hit a lot. I
really would like to have a homepage that was 200k rather than 600k.
400 of that 600 is probably framework. So I am trying to figure out how
to have a high volume homepage that is reasonable, where a user can
click and then suck in more code as they dig deeper. That said, my
homepage does use a datagrid, which I suspect is pretty heavy. But part
of the problem is not having a clear map as to what I might leave off
the homepage that would substantially improve the size issue.
  
  
I think for people that have really huge apps, if their initial page
load is 500k, and then the rest of their app gets loaded as needed,
that there is already enough there with the current RSL and doc to do
that.
  
  
I guess what I am saying is that I think my situation is in more need
of help than people with really big apps because the really huge apps
can already be done modularly. I understand that you are making it
better. but making flex a viable homepage tool is really a bigger issue
I think.
  
  
Regards,
Hank
  
  
  On 10/23/06, Matt Chotin <
[EMAIL PROTECTED]com> wrote:
  
  


The modules
will help reduce your app and
can be used to help reduce break the framework up as well so that only
pieces
that are needed will be in modules that you're using.  We will have
improved
support + docs for that in the next release.  We are also working on
some
ideas/documentation for breaking the framework up a little more.  With
that
said, if you are building a single app, you won't get much benefit from
an RSL.  Only if your app is truly big, then it's the module approach
you
want more than RSL.  RSLs come into play when you start having multiple
apps
that re-use the same code.
 
Matt
 



From:
[EMAIL PROTECTED]ups.com
[mailto:
[EMAIL PROTECTED]ups.com] On Behalf Of hank williams
Sent: Monday,
October 23, 2006
1:57 PM
To: [EMAIL PROTECTED]ups.com
Subject: Re:
[flexcoders] Flex
Deployment Best Practices


 



I have been glancing at Roger's blog, for the
last
month or two, but the one thing I am not clear on is whether the work
that he
is doing reduces the all or nothing nature of the actual flex
framework? I am
very clear on how to modularize my own code, but if the flex
framework's
dependecies are such that for anything meaningful you need to load
300-400k of
librar

[flexcoders] ContextMenuEvent on BarSeries - how can I access the item that was clicked on?

2006-10-24 Thread klumikaze
I've got a BarChart component with one series attached to it. I've got
a ContextMenu (with one custom ContextMenuItem) attached to that
series. When I right click on one of the items in the series, and
click my custom menu item, as far as I can tell the ContextMenuEvent I
can't figure out how to access the particular item that was right
clicked on.

Note: My BarChart has my dataProvider associated with it, not the
BarSeries.

Any ideas?

Thanks in advance,

Brian 




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Flex Data Services - Client.Data.UnderFlow

2006-10-24 Thread Peter Farland





Are you using IExternalizable on any of your objects by any 
chance?
 
This is due to an 
unexpected error during serialization. If you could send me a reproducible test 
case I would very much like to know what caused this... the best way would be to 
zip up the code and rename the zip file with a .pete extension (as .zip files 
will be denied by our email system).
 
Thanks,
    Pete


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Aurélien 
BLONDSent: Sunday, October 15, 2006 11:56 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex Data Services - 
Client.Data.UnderFlow




Hi there,

I’m currently trying to use Flex 
Data Services and Hibernate to link my web application with a MySQL 
database.

All Java classes are written and 
mapped to the database with hibernate.
AS3 classes are written and mapped 
to Java classes with [Managed] and [RemoteClass(…)].

The data-management-config file 
is filled with one destination per class and the default-channel is 
polling-amf.

The first class is the Client one 
and contains all personal data.
The second one is the User class. It 
contains special data and a reference to a Client.
The last class is the Contract one. 
This one contains contract data, a reference to a Client and a collection of 
Users to indicate which users are concerned by the current 
contract.

The web application contains 2 
states:
-  
the default one to 
display client’s contracts in a custom component using a DataService to retrieve 
data (destination = hibernate.Contract)
-  
the second one to display 
client’s and users’ data in a custom component containing two DataServices to 
retrieve data (destinations = hibernate.Client and 
hibernate.User

So when a client visits the website, 
the default state is displayed without any problem. An error is displayed when 
the client changes the current state of the application but new data are well 
displayed. Here is the error:

Error #2044: NetStatusEvent non pris 
en charge : level=error, 
code=Client.Data.UnderFlow
    
at 
mx.messaging.channels::NetConnectionChannel$iinit()
    
at 
mx.messaging.channels::AMFChannel$iinit()
    
at 
mx.messaging.config::ServerConfig$/::createChannel()
    
at 
mx.messaging.config::ServerConfig$/getChannel()
    
at mx.messaging::ChannelSet/::hunt()
    
at mx.messaging::ChannelSet/send()
    
at 
mx.messaging::MessageAgent/mx.messaging:MessageAgent::internalSend()
    
at mx.messaging::Consumer/subscribe()
    
at 
mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::reconnect()
    
at mx.data::ConcreteDataService/fill()
    
at mx.data::DataService/fill()
    
at assure_v3/getContract()
    
at assure_v3/initAssureV3()
    
at 
assure_v3/___Application1_creationComplete()
    
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    
at 
flash.events::EventDispatcher/dispatchEvent()
    
at mx.core::UIComponent/set initialized()
    
at 
mx.managers::LayoutManager/::doPhasedInstantiation()
    
at 
Function/http://adobe.com/AS3/2006/builtin::apply()
    
at 
mx.core::UIComponent/::callLaterDispatcher2()
    
at 
mx.core::UIComponent/::callLaterDispatcher()

I tried to disconnect the 
DataService, release the collection but I have no idea on how to solve this 
problem. Does somebody already encounter this problem or know how to solve 
it?

Thanks.

-- 
Aurélien BLOND


__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: Reset Radio Button Group

2006-10-24 Thread Sam Shrefler



Tim:
 
Thanks for the help...i got it.  I actually was reseting the form on click of a cancel button which also changed the view state.  Thefore, the radiobuttons were going away.  When the selected setting is called, it seems to call the invalidator, which I believe waits one frame to process...hence the Radiobutton was gone and the error thrown.  Instead, i'm calling the reset function on display of the form rather than when its cancelled

 
Thanks!
Sam
 
On 10/24/06, Tim Hoff <[EMAIL PROTECTED]> wrote:






Sam,
It's hard to tell without seeing your code.  I tested the function before posting, so I know it works with my programs.  If you can, post your code and we'll get you going.
-TH___
 

Tim Hoff
Cynergy Systems, Inc
http://www.CynergySystems.com 

Office:  1.866.CYNERGY
--- In [EMAIL PROTECTED]ups.com, "Sam Shrefler" <[EMAIL PROTECTED]> wrote:>
> Tim:> > THanks for the reply. Unfortunately, I'm getting an error when i try and> run that code.> > TypeError: Error #1009: Cannot access a property or method of a null object
> reference.> at mx.controls::RadioButton/get labelPlacement()> at> mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::layoutContents> ()> at mx.controls::Button/mx.controls:Button::updateDisplayList
()> at mx.controls::RadioButton/mx.controls:RadioButton::updateDisplayList()> at mx.core::UIComponent/validateDisplayList()> at mx.managers::LayoutManager/::validateDisplayList()> at mx.managers::LayoutManager/::doPhasedInstantiation
()> at Function/http://adobe.com/AS3/2006/builtin::apply()> at mx.core::UIComponent/::callLaterDispatcher2()> at mx.core::UIComponent/::callLaterDispatcher()> > Any idea why I'd be getting that?
> > Thanks!> > Sam> > > On 10/23/06, Tim Hoff [EMAIL PROTECTED] wrote:> >> > Hi Sam,> >> > It looks like that method was depreciated. You can use the following
> > function to reset the RadioButtons:> >> > public function resetRadioButtons():void> > {> > var n:int = myRadioButtonGroup.numRadioButtons;> > for (var i:int = 0; i < n; i++) {
> > myRadioButtonGroup.getRadioButtonAt(i).selected = false;> > }> > }> >> > -TH> > __> >> > *Tim Hoff> > *Cynergy Systems, Inc.
> > http://www.cynergys
ystems.com > > Office: 866-CYNERGY> >
> >> > --- In [EMAIL PROTECTED]ups.com, "Sam Shrefler" sshrefler@ wrote:> > >
> > > I've found the following reference:> > >> > > http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=c4e4be2f
> > >> > > selectedRadio won't compile in Flex Builder 2. Any idea how to do this> > in> > > Flex 2?> > >> > > Thanks!> > >> > > Sam
> > >> >> > > >>
 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] accessing assets in an external project

2006-10-24 Thread hank williams
I can access code in another project but I cannot seem to access a swf
object in the project. I am setting the given directory as a directory
from which to export assets, but when I use the following code it
doesnt see the swf.

@font-face {
src: url(/assets/elroyfonts.swf);
fontFamily: "Apple LiGothic Medium";
fontName:"elroy";

}


The asset directory is in a separate project where I am able to see
the code, but not the asset files. Does anybody have any idea whay I
might be doing wrong.

Hank


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] ATTN: Adobe Re: Does FDS project have to compile on the server?

2006-10-24 Thread Peter Farland





Note that context roots should not be used in RTMPChannels 
so in this case it shouldn't be a factor here... the context root is only a 
consideration for HTTP based endpoints that are housed in J2EE web applications, 
such as the HTTPChannel or AMFChannel which use a servlet to accept 
requests.
 
That said, however, yes, people often forget that they have 
a {context-root} token in the channel-definition endpoint and don't let the 
compiler know what this token should be. The channel can't reliably work out 
what this value is at runtime so it must be specified at compile time either in 
the manner Dirk describes, or in the flex-config.xml file under the 
 settings as a  entry.
 
Pete


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dirk 
EismannSent: Tuesday, October 24, 2006 3:18 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] ATTN: Adobe Re: 
Does FDS project have to compile on the server?



I also 
encountered this in a project that uses RemoteObject. I always ended up getting 
error that /messagebroker/amf wasnot found. After looking at the runtime 
channel information I realized that the context root was not included in the 
endpoint URL (e.g. instead of http://foo.bar.com/flex/messagebroker/amf Flex 
tried to connect to http://foo.bar.com/messagebroker/amf)
 
I 
solved this by adding this by hand as a compiler flag, i.e.
 
  
-context-root=/flex
 
and 
then it worked fine.
 
Dirk.

  
  
  From: [EMAIL PROTECTED]ups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter 
  FarlandSent: Tuesday, October 24, 2006 5:17 AMTo: 
  [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] ATTN: 
  Adobe Re: Does FDS project have to compile on the server?
  
  The error below indicates that RTMPChannel failed during 
  connect. Can you list the command line to mxmlc that you're 
  running, and more importantly the channel-definition for the RTMPChannel that 
  is referenced by the data management service destination? Also, what URL are 
  you using to load the SWF "locally"? Have you tried replacing tokens in the 
  channel-definition endpoint URL, such as {server.name}, with hard coded 
  values?
   
  Do you know how to monitor endpoint traffic by turning on 
  debug level logging on for the Endpoint.* categories and monitoring the 
  server logs?
   
  Pete
  
  
  From: [EMAIL PROTECTED]ups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Steven 
  TothSent: Monday, October 23, 2006 9:10 PMTo: 
  [EMAIL PROTECTED]ups.comSubject: [flexcoders] ATTN: Adobe 
  Re: Does FDS project have to compile on the server?
  
  
  Has anyone from Adobe weighed in on this? I'm able to duplicate the 
  problem. I have a two projects that use the Data Management Service 
  over RTMP. One is compiled locally and does not work (same error as 
  below). The other is compiled on the server with the same 
  paramters/configuration and works. Thanks.-Steven--- 
  In [EMAIL PROTECTED]ups.com, 
  "Allen Riddle" <[EMAIL PROTECTED]> wrote:>> Thanks for 
  your help. I do have the entry pointed to my services-config.xml file, and 
  application is even able to find my Data Service destination (in this 
  case, it's a Hibernate entity). But when I try to call the fill method, I 
  get:> > > > [RPC Fault faultString="Send 
  failed" faultCode="Client.Error.MessageSend" 
  faultDetail="Channel.Connect.Failed error null"]> 
  > at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()> 
  > at ::DataListRequestResponder/fault()> > at 
  mx.rpc::AsyncRequest/fault()> > at 
  mx.messaging::ChannelSet/::faultPendingSends()> > 
  at mx.messaging::ChannelSet/channelFaultHandler()> 
  > at 
  flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()> 
  > at 
  flash.events::EventDispatcher/dispatchEvent()> > 
  at 
  mx.messaging::Channel/mx.messaging:Channel::connectFailed()> 
  > at 
  mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed()> 
  > at 
  mx.messaging.channels::RTMPChannel/mx.messaging.channels:RTMPChannel::statusHandler()> 
  > > > I do not get this when I have it compiled on the 
  server at run time.> > > > 
  > > From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  On Behalf Of Dimitrios Gianninas> Sent: Thursday, October 19, 2006 8:38 
  PM> To: [EMAIL PROTECTED]ups.com> 
  Subject: RE: [flexcoders] Does FDS project have to compile on the 
  server?> > > > Below is the command we use to 
  pre-compile our Flex app that uses FDS. Just like Peter said you just need 
  to specify the services option and thats it. Hope my example 
  helps.> > > > > dir="${BUILD}" > 
  vmlauncher="false"> failonerror="true">> > />> > > 
  />> 
  > > > 
  > > Dimitrios Gianninas> > RIA Developer> 
  > Optimal Payments Inc.> > > > > 
  > > > 
  From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  

[flexcoders] Re: Reset Radio Button Group

2006-10-24 Thread Tim Hoff



Sam,
It's hard to tell without seeing your code.  I tested the function before posting, so I know it works with my programs.  If you can, post your code and we'll get you going.
-TH___ 

Tim HoffCynergy Systems, Inchttp://www.CynergySystems.com Office:  1.866.CYNERGY
--- In flexcoders@yahoogroups.com, "Sam Shrefler" <[EMAIL PROTECTED]> wrote:>> Tim:> > THanks for the reply. Unfortunately, I'm getting an error when i try and> run that code.> > TypeError: Error #1009: Cannot access a property or method of a null object> reference.> at mx.controls::RadioButton/get labelPlacement()> at> mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::layoutContents> ()> at mx.controls::Button/mx.controls:Button::updateDisplayList()> at mx.controls::RadioButton/mx.controls:RadioButton::updateDisplayList()> at mx.core::UIComponent/validateDisplayList()> at mx.managers::LayoutManager/::validateDisplayList()> at mx.managers::LayoutManager/::doPhasedInstantiation()> at Function/http://adobe.com/AS3/2006/builtin::apply()> at mx.core::UIComponent/::callLaterDispatcher2()> at mx.core::UIComponent/::callLaterDispatcher()> > Any idea why I'd be getting that?> > Thanks!> > Sam> > > On 10/23/06, Tim Hoff [EMAIL PROTECTED] wrote:> >> > Hi Sam,> >> > It looks like that method was depreciated. You can use the following> > function to reset the RadioButtons:> >> > public function resetRadioButtons():void> > {> > var n:int = myRadioButtonGroup.numRadioButtons;> > for (var i:int = 0; i < n; i++) {> > myRadioButtonGroup.getRadioButtonAt(i).selected = false;> > }> > }> >> > -TH> > __> >> > *Tim Hoff> > *Cynergy Systems, Inc.> > http://www.cynergysystems.com > > Office: 866-CYNERGY> >> >> > --- In flexcoders@yahoogroups.com, "Sam Shrefler" sshrefler@ wrote:> > >> > > I've found the following reference:> > >> > > http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=c4e4be2f> > >> > > selectedRadio won't compile in Flex Builder 2. Any idea how to do this> > in> > > Flex 2?> > >> > > Thanks!> > >> > > Sam> > >> >> > > >>

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Douglas McCarroll
Seth, Dirk (and all),

Thanks for your responses. I think that I'm getting a pretty good 
understanding now.

I have a few more questions. Both Seth and Dirk suggest that I use port 
1935 if I'm not using FMS. But I need a *range* of ports, as I'm running 
multiple webApps in the same servlet container. With both 1935 and 2038 
I'm going to be trespassing onto other apps' registered ports if I go up 
or down. I realize that it's fairly simple to just confirm that these 
apps aren't running on my server, and that's what I assume that I'll be 
doing. But wouldn't it be even better if Adobe registered a range of 
ports? It appears that port numbers up to 49151 can be registered, and 
there are plenty of unregistered ports above 10,000...

As a complete port-newbie I realize that there may be some fairly simple 
flaw in this suggestion...

And even if it's a good idea it will probably take a while...

But if it does make sense, wouldn't it make sense for me to do it on my 
own, now? Select an unregistered range of ports, and use them?

Thanks,

Douglas



Seth Hodgson wrote:
>
> Hi Douglas,
>
> The answer is no. The server name and port you use will be the same 
> for all web apps deployed in your servlet container (app server). What 
> will differ is the context root portion of the URI (this is what the 
> container uses to route an inbound request to the target web app). As 
> someone said earlier if you have two servers (say Tomcat and Weblogic) 
> both running on the same box they'll use different ports so the FDS 
> apps you deploy to either server will need to use the proper port for 
> the server they're deployed to. Using the {server.port} token, or 
> leaving it out completely if it's 80, is the best approach for 
> HTTP/AMF endpoints in your config file.
>
> RTMP is different. HTTP servers and servlet containers don't have 
> native support for RTMP so we can't take advantage of existing 
> functionality for connection management and raw request parsing and 
> handling in the way we can with HTTP based communication. When your 
> FDS app starts up, the RTMP endpoint on the server starts an internal 
> socket server that binds to the port you specify in the endpoint URI 
> in the config file. This socket server is implemented using the Java 
> NIO APIs for improved scalability and it handles the RTMP connections 
> that clients make to the server. The RTMP endpoint and its internal 
> socket server live and die along with the web app, and it can't be 
> shared across web apps because apps can be started and stopped 
> independently. This means that you need to avoid RTMP port binding 
> collisions when you deploy multiple FDS apps to the same server by 
> using a unique port for each RTMP endpoint. If a port is already in 
> use, the RTMP endpoint throws the exception you saw earlier and the 
> web app shuts down because there's no point in running if it can't 
> accept and service client connections.
>
> The RTMP protocol was first used by Flash Media Server (formerly known 
> as Flash Communication Server), and standard ports have been 
> registered with IANA:
>
> macromedia-fcs 1935/tcp Macromedia Flash Communications Server MX
> macromedia-fcs 1935/udp Macromedia Flash Communications server MX
>
> The default FDS port values are offset to 203X as a convenience in 
> case you're running FMS on the same box. If you're not running FMS go 
> ahead and use 1935. If you have multiple apps, just increment the 
> value for each successive FDS app's RTMP endpoint.
>
> HTH,
> Seth
>
> 
> From: flexcoders@yahoogroups.com  
> [mailto:flexcoders@yahoogroups.com 
> ] On Behalf Of Douglas McCarroll
> Sent: Monday, October 23, 2006 2:51 PM
> To: flexcoders@yahoogroups.com 
> Subject: Re: [flexcoders] Questions about RTMP ports and channel 
> definitions
>
> I'm getting a little clearer. Thanks Dustin and Stacy!
>
> On a practical level this boils down to a simple practical question: Do
> I need to worry about configuring HTTP and AMF ports when I have several
> webApps on the same server, like I must with RTMP?
>
> I'm pretty sure that the answer is no, but I'd love an authoritative
> answer from Adobe. :-)
>
> And while we're at it, is there a range of port numbers that I should be
> using for the RTMP assignments? The "flex" template app is at 2038. The
> "samples" app is at 2037. How high and low can I go? BTW, my TCP/IP
> Network Administration book (which I obviously haven't fully absorbed
> :-) says that IANA keeps a list of assigned & registered ports. When I
> go to the page (http://www.iana.org/assignments/port-numbers 
> ) these two
> ports are associated with other programs. Might it be a good idea for
> Adobe to find a short range of numbers that isn't already claimed, and
> claim them? Not that I really kno

[flexcoders] Pagination? Where?

2006-10-24 Thread Fabio Barreiro










Is it possible to do pagination on a large Datagrid?

Is there an example available?




__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





[flexcoders] Re: textArea cursor position

2006-10-24 Thread Mark
The selectionBeginIndex and selectionEndIndex properties will tell you
the current state of the selection.  If you want to change it, use the
setSelection method.  Bear in mind that if the text area doesn't
already have focus, you'll need to call the setFocus method, or the
setSelection method will have no effect.

mark

--- In flexcoders@yahoogroups.com, "Branko" <[EMAIL PROTECTED]> wrote:
>
> How can you get the current position of the blinking cursor in a text 
> area and is there a way to set this position programmatically?
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] truncateToFit does not work when percentWidth is defined for Label

2006-10-24 Thread Tom Chiverton
On Monday 23 October 2006 15:22, Nick Watson wrote:
>Content-Type: application/x-pkcs7-signature;
>   name="smime.p7s"

Nick, KMail claims this signature is invalid.

-- 
Tom Chiverton
Helping to widespreadedly reinvent holistic communities



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Typecast a generic Object into a VO

2006-10-24 Thread Tom Chiverton
On Monday 23 October 2006 15:41, mdoberenz wrote:
> var typeCastTry:TestVO = RETURN_OBJ as TestVO;
>When I do this, typeCastTry gets set to null.

Have you dump the object in the debugger / log file to check it's a real 
Test ?

-- 
Tom Chiverton
Helping to revolutionarily harvest network e-markets



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Flex Data Services painfully slow?

2006-10-24 Thread Tom Chiverton
On Monday 23 October 2006 15:24, ryanharlin wrote:
> Is all this solved when you go beyond a single machine to host the
> database, coldfusion development server, and flex development server?

Maybe. Does the machine show signs of load when you are requesting something ?

>  Or are the development server licenses throttled back to make them
> non-options for those that would consider rolling out without
> licensing the real deal?

NAFAIK.

-- 
Tom Chiverton
Helping to enthusiastically generate high-end bandwidth



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Re: Flash Player 9 Beta Available

2006-10-24 Thread Tom Chiverton
On Thursday 19 October 2006 18:37, zzwi89 wrote:
> getting Flex Builder to run on Linux as well?

Unless you need the WYSIWYG hand holding, there isn't really any need for FB.

-- 
Tom Chiverton
Helping to continuously expedite global e-commerce



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] hitData.item.(variable)

2006-10-24 Thread Tom Chiverton
On Friday 20 October 2006 15:20, jnewport wrote:
> Is it possible to use a code like the following to create a dataTip?
> somePublicVariable = revenue

I wouldn't have thought so, as you only get HitData after the user has clicked 
on the graph point.
Have you seen the Charting docs on this very topic ?

-- 
Tom Chiverton
Helping to elementarily transform 24/365 platforms



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Multiple Panel Layout Manager + Cairngorm

2006-10-24 Thread mindmillmedia
I have an app that has a view that has 3 panels (each is a component).
 There are two smaller panels and one large panel.  I want to be able
to maximize (make one of the smaller panels bigger - and the big panel
smaller) each of the panels.

So - here is the question.  I need each panel to respond to the
maximize / minimize commands of another panel.  How can i store this
information and use binding to have each object respond to it?

BTW, I am also learning the Cairngorm 2 Architecture and I would love
to hear how to accomplish this utilizing it.  

Thanks,

David




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



  1   2   >