[flexcoders] Empty Movie

2005-10-02 Thread Andora, Greg





Hi 
all,

I'm building an 
application using Flex with Cairngorm and for some reason the Flex application 
isn't loading. I am not getting any errors in the browser and I can see 
the Initializing progress bar for a split second (it doesn't fill up) before the 
page "thinks" it is loaded. After that, nothing.

Has anybody 
experienced this, anyone have any ideas what could be wrong?

Thank 
you,Greg 
Andora







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





  




  
  
  YAHOO! GROUPS LINKS



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



  










To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.

This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com



RE: [flexcoders] Empty Movie

2005-10-02 Thread Andora, Greg





Never mind, I've narrowed down the problem to my controller 
adding commands that go to the CF side of things. Still odd it doesn't 
give any type of errors though. Thanks.

Thank 
you,Greg 
Andora




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Andora, 
GregSent: Saturday, October 01, 2005 11:52 PMTo: 
'flexcoders@yahoogroups.com'Subject: [flexcoders] Empty 
Movie

Hi 
all,

I'm building an 
application using Flex with Cairngorm and for some reason the Flex application 
isn't loading. I am not getting any errors in the browser and I can see 
the Initializing progress bar for a split second (it doesn't fill up) before the 
page "thinks" it is loaded. After that, nothing.

Has anybody 
experienced this, anyone have any ideas what could be wrong?

Thank 
you,Greg 
Andora


To ensure compliance with requirements imposed by the IRS, we 
inform you that any U.S. federal tax advice contained in this document 
(including any attachments) is not intended or written to be used, and cannot be 
used, for the purpose of (i) avoiding penalties under the Internal Revenue Code 
or (ii) promoting, marketing or recommending to another party any transaction or 
matter addressed herein.This email may contain confidential and 
privileged material for the sole use of the intended recipient(s). Any review, 
use, distribution or disclosure by others is strictly prohibited. If you are not 
the intended recipient (or authorized to receive for the recipient), please 
contact the sender by reply email and delete all copies of this 
message.To reply to our email administrator directly, send an email 
to[EMAIL PROTECTED]Littler Mendelson, 
P.C.http://www.littler.com





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





  




  
  
  YAHOO! GROUPS LINKS



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



  










To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.

This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com




Re: [flexcoders] sending arguments to addEventListener

2005-10-02 Thread Aly Sidi



hey face7Hill
i dont think you can pass arguments to an eventlistner, only function pointers..so in your nextButton.addEventListener( click,
goToScreen(screen2)); the screen2 parameter is never getting passed.
If you want to invoke this function from code then I think you have to
use teh dispatchEvent command, but if you want the user to click and
have it dispatched then you can switch on the button ID and then prceed
to which ever screen. So instead of passing teh screen name, just use
teh button name as a reference
OR
create a new function pointer for each button click

take alook at this and read up on delegates and events

http://www.actionscript.org/tutorials/beginner/the_delegate_class/index.shtml
--shows the first approach outlined above


On 10/1/05, face7hill [EMAIL PROTECTED] wrote:
I'm trying to create a wizard based application.I'm having troublesending arguments to my back and next buttons usingaddEventListener.Basically, when my app loads, in the viewstack, the second screen is
loaded, i.e. it loads before the user gets a chance to hit the nextbutton.I'm trying to have it load the first screen and then go tothesecond screen after the user presses the next button.Anyone see what I'm doing wrong?
?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.macromedia.com/2003/mxmlheight=100%
width=100%mx:Script![CDATA[function initialize(screenx){switch(screenx){case screen1:mainPanel.title

= screen1;statusLabel.text
= screen1;backButton.visible
= false;backButton.label
= Back;nextButton.label
= Start;nextButton.addEventListener(
click,goToScreen(screen2));break;case screen2:mainPanel.title
= screen2;statusLabel.text
= screen2;backButton.visible
= true;backButton.label
= Back;nextButton.label
= Next;nextButton.addEventListener(
click,goToScreen(screen3));break;case screen3:mainPanel.title
= screen3;statusLabel.text
= screen3;backButton.visible
= true;backButton.label
= Back;nextButton.label
= Next;nextButton.addEventListener(
click,goToScreen(screen1));break;}}function goToScreen(x){mainViewStack.selectedChild = x;}]]/mx:Script
!-- Main Panel (mainViewStack=0) --mx:Panel id=mainPanel title= width=100% height=100%styleName=mainPanel!-- Main ViewStack --
mx:ViewStack
id=mainViewStack width=100%height=100%!--
mainViewStack.selectedChild=screen1--mx:VBox
id=screen1 width=100%height=100% creationComplete=initialize(screen1);mx:Text
text=This is screen1.width=100%//mx:VBox!--
mainViewStack.selectedChild=screen2 --mx:VBox
id=screen2 width=100%height=100% creationComplete=initialize(screen2);mx:Text
text=This is screen2.width=100%//mx:VBox!--
mainViewStack.selectedChild=screen3 --mx:VBox
id=screen3 width=100%height=100% creationComplete=initialize(screen3);mx:Text
text=This is screen3.width=100%//mx:VBox/mx:ViewStack!--
End Main ViewStack --!--
The Control Bar --mx:ControlBarmx:HBox
width=50%horizontalAlign=leftmx:Labelid=statusLabel text= width=200//mx:HBox
mx:HBox
width=50%horizontalAlign=rightmx:Buttonid=backButton label=Back click= /mx:Button
id=nextButton label=Next click= //mx:HBox/mx:ControlBar/mx:Panel
!-- End Main Panel --/mx:Application Yahoo! Groups Sponsor ~--Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM~---
Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] How to print PDF file when click on a button

2005-10-02 Thread Simon Fifield





Try looking here for an example of using iFrame in your 
Flex app:

http://coenraets.com/viewarticle.jsp?articleId=95

run the example and you could put your PDF where the web 
page is and then use _javascript_ to print the PDF (I'm guessing the last 
bit!)

Simon


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 01 October 2005 01:57To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to print PDF 
file when click on a button

That would work or use the iframe approach embedded inside 
of your application.


Carson

  Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com 
 Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 
89Mobile: 1.703.489.6466   



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Sandip 
PatilSent: Friday, September 30, 2005 5:20 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to print PDF 
file when click on a button

Hi Carson,

You mean to say to print my PDF I need to open it in browser like URL

Http://localhost:8080/Mydir/Pdf_filname

with this code

mx:Button label="Print File" click="getUrl(xyz.link, 
'_blank')" /

where xyz is my PDF file name ..

Sandip.Carson Hager 
[EMAIL PROTECTED] wrote:
Flex 
  does not have any native PDF rendering but I'd sure like to seethat in the 
  future with the whole Adobe merger. Your best bet is toload the PDF 
  in an iframe and let the browser launch acrobat. The userwill likely have 
  to click on the print button that acrobat provides. Idon't believe you can 
  script to that aspect of the acrobat container butI could be 
  wrong.Carson 
  Carson 
  HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
  [EMAIL PROTECTED]Office: 866-CYNERGY ext. 
  89Mobile: 1.703.489.6466-Original 
  Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] OnBehalf Of sandip_patil01Sent: 
  Friday, September 30, 2005 4:04 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] How to print PDF file when 
  click on a buttonHi All,I want to print PDF file.Which I 
  stored in database.Now I want to printthat PDF file when I click on a 
  button.Here What I want is,Let say I have a file "ABC.mxml" which 
  has a button when I click on thatbutton my PDF file should open.And then 
  from menu I can print that.But how to open that PDF file when I click on 
  that button.Any sugeession Thx in advance,Sandip 
  Patil. Yahoo! Groups 
  Sponsor ~--Fair play? Video games influencing 
  politics. Click and talk back!http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM~- 
  --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  Groups Links


Yahoo! for GoodClick here 
to donate to the Hurricane Katrina relief effort. 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flash 8 compatibilty with Flex

2005-10-02 Thread Manish Jethani
On 10/1/05, sandip_patil01 [EMAIL PROTECTED] wrote:

 My server details --
 OS : RedHat Linux
 Application Server :Jboss4.0.1sp1
 JDK 1.4

 Client browser details :
  IE 6.0  Flash Player8x

 Now when I am running my upload functionality in my local system(Win
 XP) fileio.browse() function opening a browse window.

 When I deploy the same application on Linux box browse window
 doesn't appear.I checked all the ways here  there but no luck.If
 you help me in this issue it will be great help.

By Linux box do you mean client or do you mean server?  There's no
Player 8 for Linux AFAIK so I don't see how you could get this to
work.  If you mean server then I have no clue why it wouldn't work
because AFAIK the file upload is a purely client-side feature. :-/


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Accordion destroyChildAt

2005-10-02 Thread Manish Jethani
On 10/1/05, Ghislain Simard [EMAIL PROTECTED] wrote:
 If I am destroying a child (using destroyChildAt) in my accordion, how
 to reinsert it when needed ?

Use createChild to create it again.


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] hidding a stack in the accordion

2005-10-02 Thread Manish Jethani
On 10/1/05, Ghislain Simard [EMAIL PROTECTED] wrote:
 How to programtically hide a stack (or a tab) in an accordion?

One accordion pane will be visible at any given time.  To switch to
another pane simply set the 'selectedIndex' property accordingly.


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Dynamic Object Bindings

2005-10-02 Thread Manish Jethani
On 10/1/05, Aly Sidi [EMAIL PROTECTED] wrote:
I was wondering if there was a way to iterate over an object created by 
 XML2Object

See the 'in' operator of ActionScript.


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] sending arguments to addEventListener

2005-10-02 Thread Abdul Qabiz
There are some problems in your code:

1) addEventListener(..) expects second argument as function reference
but in your case you are calling a function(goToScreen(..)) while
subscribing to event and function return value is Void, so events are
not subscribed properly.

2) You are trying to subscribe the same click event from three
different places...Which doesn't make sense.

Look at the following code, I have modified it to fit your requirement.


##ModifiedCode##

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


mx:Script
![CDATA[



function goToScreen(event)
{
var button:Button = event.target;
var selectedIndex:Number = mainViewStack.selectedIndex;
var totalScreens:Number = mainViewStack.numChildren;


if(button == nextButton)
{
selectedIndex  = (selectedIndex  totalScreens - 1) ?
++mainViewStack.selectedIndex : (mainViewStack.selectedIndex = 0);

}
else if(button == backButton)
{
selectedIndex = selectedIndex  0 ?
--mainViewStack.selectedIndex : selectedIndex;
}

mainPanel.title = statusLabel.text = screen + (selectedIndex + 1);
   
switch(selectedIndex)
{
case 0:
backButton.visible = false; 
nextButton.label = Next;
break;

default:
backButton.visible = true;  
}


}

]]
/mx:Script


!-- Main Panel (mainViewStack=0) --
mx:Panel id=mainPanel title=screen1 width=100%
height=100% styleName=mainPanel
!-- Main ViewStack --
mx:ViewStack id=mainViewStack width=100%
height=100%

!-- mainViewStack.selectedChild=screen1  --
mx:VBox id=screen1 label=screen1
width=100% height=100% 

mx:Text text=This is screen1.
width=100%/
/mx:VBox

!-- mainViewStack.selectedChild=screen2 --
mx:VBox id=screen2 label=screen2
width=100% height=100% 
mx:Text text=This is screen2.
width=100%/  
/mx:VBox  

!-- mainViewStack.selectedChild=screen3 --
mx:VBox id=screen3 label=screen3
width=100% height=100% 
mx:Text text=This is screen3.
width=100%/
/mx:VBox  

/mx:ViewStack
!-- End Main ViewStack --
!-- The Control Bar --
mx:ControlBar
mx:HBox width=50%
horizontalAlign=left
mx:Label
id=statusLabel text=screen1 width=200/
/mx:HBox
mx:HBox width=50%
horizontalAlign=right
mx:Button
id=backButton label=Back click=goToScreen(event) visible=false
/
mx:Button
id=nextButton label=Start click=goToScreen(event); /
/mx:HBox
/mx:ControlBar
/mx:Panel
!-- End Main Panel --
/mx:Application

 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of face7hill
Sent: Sunday, October 02, 2005 6:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] sending arguments to addEventListener

I'm trying to create a wizard based application.  I'm having trouble 
sending arguments to my back and next buttons using 
addEventListener. 


Basically, when my app loads, in the viewstack, the second screen is 
loaded, i.e. it loads before the user gets a chance to hit the next 
button.  I'm trying to have it load the first screen and then go to 
the 
second screen after the user presses the next button. 


Anyone see what I'm doing wrong? 


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


mx:Script
![CDATA[

function initialize(screenx){
switch(screenx){
case screen1:
mainPanel.title = screen1;
statusLabel.text = screen1;
backButton.visible = false; 

backButton.label = Back;
nextButton.label = Start;
nextButton.addEventListener( click, 
goToScreen(screen2));
break;


RE: [flexcoders] events issue

2005-10-02 Thread Abdul Qabiz





Hi,

Can you post the sample-but-complete code, so that we can 
see what is going wrong?

-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Husain 
KitabiSent: Saturday, October 01, 2005 8:48 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] events 
issue

Hi
I am having a problem with button click event. When I click a button, it 
makes a call and talks to the remoteObject. But it does that 5times!
If I click login button, it logs me into the application but shows 5 alert 
windows saying I have logged in - it has to show just 
one.Onthe server console(of jboss) i see println 5 times. Same 
is the problem everywhere a button is clicked.

Any ideas?

Regards
Husainhussain


Yahoo! for GoodClick here 
to donate to the Hurricane Katrina relief effort. 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Tile List Effect.

2005-10-02 Thread Manish Jethani
On 10/1/05, Omar Ramos [EMAIL PROTECTED] wrote:

 Does anyone knows how was the effect of the 
 http://www.caledonbank.com/accountFinder.html sort effect was made?

Like this?

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

  mx:Tile id=tile width=200 height=200 backgroundColor=red
mx:Repeater id=r dataProvider={['4', '2', '6', '1', '7', '3', '5']}
  mx:Button label={r.currentItem} moveEffect=Move
borderThickness=0 /
/mx:Repeater
  /mx:Tile

  mx:Button label=Rearrange Buttons click=rearrangeButtons() /

  mx:Script
![CDATA[
import mx.controls.Button;

public function rearrangeButtons():Void
{
  for (var i:Number = 0; i  tile.numChildren; i++)
tile.setChildIndex(tile.getChildAt(i),
  Number(Button(tile.getChildAt(i)).label));

  tile.invalidateLayout();
}
]]
  /mx:Script
/mx:Application


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] extending the DataGrid component

2005-10-02 Thread Manish Jethani
On 9/30/05, Jaime Bermudez [EMAIL PROTECTED] wrote:

 I am trying to create a custom datagrid component that handles
 double-click events, but when I try to use the datagrid in an MXML
 component w/ the columns setup I get a compilation error.  Here's an
 example of the component use:

 cc:DoubleClickDataGrid id=dgProducts width=100% height=100%
 dataProvider={searchResult.result}
 rowCount={searchResult.result.length}
 doubleClick=handleDoubleClick(event)
   mx:columns
^^^

cc:columns

That should work.


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] how to add an icon in the Panel bar?

2005-10-02 Thread Manish Jethani
On 9/30/05, Ghislain Simard [EMAIL PROTECTED] wrote:
 how to add an icon in the Panel bar?

http://www.mail-archive.com/flexcoders@yahoogroups.com/msg06841.html


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Tile List Effect.

2005-10-02 Thread Steven Webster
Omar,

We had to implement our own container to achieve this effect; the container
intelligently adapts the presentation of the children depending on the space
available to the children, as well as managing the move effects for children
as you described.

Alistair (McLeod) was largely responsible for the implementation that you
see on CaledonBank; we've used a similar implementation on subsequent
projects.

I'll heads up Ali to see if he can't post a little more detail about how the
effect was achieved, and who knows, perhaps we can even have a discussion
about now making some of the code available...

Best wishes,

Steven 
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: 02 October 2005 21:32
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Tile List Effect.

On 10/1/05, Omar Ramos [EMAIL PROTECTED] wrote:

 Does anyone knows how was the effect of the
http://www.caledonbank.com/accountFinder.html sort effect was made?

Like this?

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

  mx:Tile id=tile width=200 height=200 backgroundColor=red
mx:Repeater id=r dataProvider={['4', '2', '6', '1', '7', '3',
'5']}
  mx:Button label={r.currentItem} moveEffect=Move
borderThickness=0 /
/mx:Repeater
  /mx:Tile

  mx:Button label=Rearrange Buttons click=rearrangeButtons() /

  mx:Script
![CDATA[
import mx.controls.Button;

public function rearrangeButtons():Void
{
  for (var i:Number = 0; i  tile.numChildren; i++)
tile.setChildIndex(tile.getChildAt(i),
  Number(Button(tile.getChildAt(i)).label));

  tile.invalidateLayout();
}
]]
  /mx:Script
/mx:Application




 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Cannot link two controls with a custom event

2005-10-02 Thread Manish Jethani
On 9/30/05, jivankohinoor [EMAIL PROTECTED] wrote:

 LinkNavigator id=sender height=100% width=75%
 objkey={objkey} /
 LinkNavigator id=receiver sender={sender} height=100%
 width=75%  /

 Then in the LinkNavigator source, we have a function that creates the
 listener (called on creationComplete)

 ...
 function createListener()
 {
 if ( sender == null )
 
 mx.core.Application.application.addEventListener(objectSelected,
 myDelegate);

Why are you listening for the event on the application when actually
the event is dispatched from the LinkNavigator component?  I think
that's the mistake.


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Questions about createChild() and destroyChildAt()

2005-10-02 Thread Manish Jethani
On 9/27/05, Prasad Dhananjaya [EMAIL PROTECTED] wrote:

 1.How can I give mouseOver,mouseOverEffect,mouseOut,mouseOutEffect,mouseUp
 events to createChild().(check ★).I want to give above affects to all
 created children which are on the JobNetCanves.
 (In below code all  mouseOver,mouseOverEffect,mouseOut,mouseOutEffect,mouseUp
 functions are working well)

createChild returns the new object.  Call setStyle on it to set these effects.


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] div like behaviour?

2005-10-02 Thread Manish Jethani
On 9/30/05, flexhansen [EMAIL PROTECTED] wrote:

 Is there an easy way to achieve mx:Tile behaviour but without the
 tiles being of equal size?

 In other words I'm looking for something like the div-tag of plain old
 html that wraps content to fit the width prop. instead of putting up
 scrollbars.

You mean flow layout?

// Flow.as

/**
 *  Implements flow layout for Flex.
 */
class Flow extends mx.containers.Container
{
  public function layoutChildren():Void
  {
var vm:Object = getViewMetricsAndMargins();

var lastX:Number = vm.left;
var lastY:Number = vm.top;

var rowHeight:Number = 0;

for (var i:Number = 0; i  numChildren; i++)
{
  var child:Object = getChildAt(i);

  if (lastX + child.preferredWidth  layoutWidth - vm.right)
  {
lastX = vm.left;
lastY += rowHeight;
  }

  child.move(lastX, lastY);

  lastX += child.preferredWidth;
  rowHeight = Math.max(rowHeight, child.preferredHeight);
}

super.layoutChildren();
  }
}

You should also override the 'measure' method to enable the container
to correctly measure itself.  The above code only does the job of
laying out (which is okay if you're always specifying a width and
height explicitly).


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Popping up the same window more than once

2005-10-02 Thread Manish Jethani
On 9/29/05, fowleryj [EMAIL PROTECTED] wrote:
 I've noticed that if I have WindowA open, and I click a button inside
 of it that opens WindowB, a button inside of WindowB that is supposed
 to open an instance of WindowA will not do so. [...]

Not sure what you mean by same window.  Calling createPopUp to
_create_ a new popup window should always work.


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Can someone please make a simple Amazon search application?

2005-10-02 Thread pioplacz
I've got the subscription key and the link to wdsl i used is: 
http://webservices.amazon.com/AWSECommerceService/AWSECommerceService
.wsdl

I cannot give out my subscriptionkey but you can get it for free on 
amazon. 

Anything else you need?

Here is the link to the amazon webservice page where you can 
register:

http://www.amazon.com/gp/browse.html/104-4671252-3983930?%
5Fencoding=UTF8node=3435361

--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
 Got a WSDL + license key?
 
 - Original Message - 
 From: pioplacz [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Saturday, October 01, 2005 5:46 PM
 Subject: [flexcoders] Can someone please make a simple Amazon 
search 
 application?
 
 
 Hi!
 
 I have now tryed for few days to get my amazon app. running. But 
got
 so mad so i deleted all files cause the result never got to the
 datagrid. So now i ask you all greate developers for help. If you
 could just write a simpel app. that make's a search on amazon throw
 there webservice and outputs it in a datagrid. I would be very
 thankful!
 
 
 
 
 
 
 --
 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





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Can someone please make a simple Amazon search application?

2005-10-02 Thread pioplacz
Thx really thanks!!!

--- In flexcoders@yahoogroups.com, Jeff Tapper [EMAIL PROTECTED] wrote:
 I just put together an example on my blog.  You can find it here:
 
http://jeff.mxdj.com/using_amazons_itemsearch_webservice_from_flex.ht
m
 
 At 05:46 PM 10/1/2005, pioplacz wrote:
 Hi!
 
 I have now tryed for few days to get my amazon app. running. But 
got
 so mad so i deleted all files cause the result never got to the
 datagrid. So now i ask you all greate developers for help. If you
 could just write a simpel app. that make's a search on amazon 
throw
 there webservice and outputs it in a datagrid. I would be very
 thankful!
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtht
tp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%
40yahoogroups.comhttp://www.mail-archive.com/flexcoders%
40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS
 http://groups.yahoo.com/gads?
t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=
Computer+software+developmentw3=Software+design+and+developmentw4=M
acromedia+flexw5=Software+development+best+practicec=5s=166.sig=L
-4QTvxB_quFDtMyhrQaHQWeb 
 site design development 
 http://groups.yahoo.com/gads?
t=msk=Computer+software+developmentw1=Web+site+design+developmentw
2=Computer+software+developmentw3=Software+design+and+developmentw4
=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig
=lvQjSRfQDfWudJSe1lLjHwComputer 
 software development 
 http://groups.yahoo.com/gads?
t=msk=Software+design+and+developmentw1=Web+site+design+development
w2=Computer+software+developmentw3=Software+design+and+development
w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.s
ig=1pMBCdo3DsJbuU9AEmO1oQSoftware 
 design and development
 http://groups.yahoo.com/gads?
t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+sof
tware+developmentw3=Software+design+and+developmentw4=Macromedia+fl
exw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZ
I36cYzBjwMacromedia 
 flex 
 http://groups.yahoo.com/gads?
t=msk=Software+development+best+practicew1=Web+site+design+developm
entw2=Computer+software+developmentw3=Software+design+and+developme
ntw4=Macromedia+flexw5=Software+development+best+practicec=5s=166
.sig=f89quyyulIDsnABLD6IXIwSoftware 
 development best practice
 
 
 --
 YAHOO! GROUPS LINKS
 
 *  Visit your group 
  http://groups.yahoo.com/group/flexcodersflexcoders on the 
web.
 *
 *  To unsubscribe from this group, send an email to:
 * 
  mailto:[EMAIL PROTECTED]
subject=Unsubscribe[EMAIL PROTECTED] 
 
 *
 *  Your use of Yahoo! Groups is subject to the 
  http://docs.yahoo.com/info/terms/Yahoo! Terms of Service.
 
 
 --





 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Flex DataGrid with large recordset

2005-10-02 Thread Manish Jethani
On 9/29/05, sergei_tsoganov [EMAIL PROTECTED] wrote:

 When I first loaded my flex datagrid with 190 records I was really
 disappointed in flex. It was almost impossible to scroll tha grid or
 resize it. It seems like flex components are much slower than even
 flash components. What is the reason?? How to make datagrid to scroll
 faster with 200 rows?

I don't know why you're facing problems with scrolling.  The number of
records does not affect the scrolling performance for the list
controls (List, DataGrid, Tree, ...).

See this example:

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=*
  initialize=populate()

  mx:Script
![CDATA[
public var largeArray = new Array(1);

public function populate():Void
{
  for (var i:Number = 0; i  largeArray.length; i++)
largeArray[i] = {foo: i, bar: 'a' + i};
}
]]
  /mx:Script

  mx:DataGrid creationComplete=event.target.dataProvider = largeArray /
/mx:Application

It scrolls without any issues on my machine.  I increased the array
size from 10,000 to 1,000,000 (million), and, while the application
took a while to start up, once it did it worked like a charm.

Are you using custom cell renderers (not that it matters again)?


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Help with error message ASAP!

2005-10-02 Thread delaquae
I just started getting the following error message when I try to 
compile an mxml file I have been working on in FlexBuilder:

Branch between 9975 and 43151 around line 0 exceeds 32K span. If 
possible, please refactor this component.

Can someone tell me what this means?  Is my file too large?

Thanks...

Martin





 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Help with error message ASAP!

2005-10-02 Thread Kelly Roman










You are going to have to break up your
file into components.



Its a good design practice anyways
so get in the habit of it.















From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of delaquae
Sent: Sunday, October 02, 2005
6:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help with
error message ASAP!





I just started getting the
following error message when I try to 
compile an mxml file I have been working on in
FlexBuilder:

Branch between 9975 and 43151 around line 0
exceeds 32K span. If 
possible, please refactor this component.

Can someone tell me what this means? Is my
file too large?

Thanks...

Martin











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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Help with error message ASAP!

2005-10-02 Thread Matt Chotin










And check the faq (linked below) for more
info.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kelly Roman
Sent: Sunday, October 02, 2005
4:31 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Help
with error message ASAP!





You are going to have to break up your
file into components.



Its a good design practice anyways
so get in the habit of it.















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of delaquae
Sent: Sunday, October 02, 2005 6:51
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help with
error message ASAP!





I just started getting the
following error message when I try to 
compile an mxml file I have been working on in
FlexBuilder:

Branch between 9975 and 43151 around line 0
exceeds 32K span. If 
possible, please refactor this component.

Can someone tell me what this means? Is my
file too large?

Thanks...

Martin












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Popping up the same window more than once

2005-10-02 Thread Mercer, Dustin










Just Curious, are you using the cairngorm framework
and is there a viewhelper used in this window??? If so, the problem may
be with the same viewhelper trying to be instantiated twice (Once in widow A,
then again in window B). If you try to instantiate more than one
viewhelper with the same name, the viewLocator with throw an exception and will
halt the movieclip (hence, no second window L) This is my best
guess. Hope it helps.



Dustin Mercer











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manish Jethani
Sent: Sunday, October 02, 2005
2:25 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Popping
up the same window more than once





On 9/29/05, fowleryj [EMAIL PROTECTED] wrote:
 I've noticed that if I have WindowA open, and
I click a button inside
 of it that opens WindowB, a button inside of
WindowB that is supposed
 to open an instance of WindowA will not do
so. [...]

Not sure what you mean by same
window. Calling createPopUp to
_create_ a new popup window should always work.








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





  




  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Re: Help with error message ASAP!

2005-10-02 Thread delaquae
Thanks,

That worked.  I planned on re-factoring at some point, but since it 
is a quick  dirty prototype I thought I could get away with a 
single file for now...  Oh well!

Martin


--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
wrote:
 And check the faq (linked below) for more info.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Kelly Roman
 Sent: Sunday, October 02, 2005 4:31 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Help with error message ASAP!
 
  
 
 You are going to have to break up your file into components.
 
  
 
 It's a good design practice anyways so get in the habit of it.
 
  
 
  
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of delaquae
 Sent: Sunday, October 02, 2005 6:51 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Help with error message ASAP!
 
  
 
 I just started getting the following error message when I try to 
 compile an mxml file I have been working on in FlexBuilder:
 
 Branch between 9975 and 43151 around line 0 exceeds 32K span. If 
 possible, please refactor this component.
 
 Can someone tell me what this means?  Is my file too large?
 
 Thanks...
 
 Martin
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Help with error message ASAP!

2005-10-02 Thread delaquae

Matt,

I did not see a FAQ link in your post.  Did I miss something?

Martin

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
wrote:
 And check the faq (linked below) for more info.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Kelly Roman
 Sent: Sunday, October 02, 2005 4:31 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Help with error message ASAP!
 
  
 
 You are going to have to break up your file into components.
 
  
 
 It's a good design practice anyways so get in the habit of it.
 
  
 
  
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of delaquae
 Sent: Sunday, October 02, 2005 6:51 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Help with error message ASAP!
 
  
 
 I just started getting the following error message when I try to 
 compile an mxml file I have been working on in FlexBuilder:
 
 Branch between 9975 and 43151 around line 0 exceeds 32K span. If 
 possible, please refactor this component.
 
 Can someone tell me what this means?  Is my file too large?
 
 Thanks...
 
 Martin
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 




 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] charting effects question

2005-10-02 Thread delaquae
If I want to preserve an effect that is declared via mxml:

mx:Effect
mx:SeriesInterpolate duration=2000 elementOffset=5 
name=interpolate/
/mx:Effect

when I use AcionScript later to add a series to a chart, the 
following does not seem to work:

var cllSeries=new ColumnSeries();
cllSeries.yField=cllQuantity;
cllSeries.showDataEffect=interpolate;
cllChart.series.addItem(cllSeries);

Any help would be greatly appreciated.

Martin








 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Flex DataGrid with large recordset

2005-10-02 Thread Tariq Ahmed






I have always had list performance issues. Flash 8 helped a bit. But to
reproduce just change your datagrid tag to this:

 mx:DataGrid creationComplete="event.target.dataProvider =
largeArray" height="100%"

The scroll will act chunky. Turn on variable height and column
wrapping, a few more columns, some that are cellrenderer based, and you
can easily get to a point where more than 200 records is unusable.


Manish Jethani wrote:

  On 9/29/05, sergei_tsoganov [EMAIL PROTECTED] wrote:

  
  
When I first loaded my flex datagrid with 190 records I was really
disappointed in flex. It was almost impossible to scroll tha grid or
resize it. It seems like flex components are much slower than even
flash components. What is the reason?? How to make datagrid to scroll
faster with 200 rows?

  
  
I don't know why you're facing problems with scrolling.  The number of
records does not affect the scrolling performance for the list
controls (List, DataGrid, Tree, ...).

See this example:

?xml version="1.0"?
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*"
  initialize="populate()"

  mx:Script
![CDATA[
public var largeArray = new Array(1);

public function populate():Void
{
  for (var i:Number = 0; i  largeArray.length; i++)
largeArray[i] = {foo: i, bar: 'a' + i};
}
]]
  /mx:Script

  mx:DataGrid creationComplete="event.target.dataProvider = largeArray" /
/mx:Application

It scrolls without any issues on my machine.  I increased the array
size from 10,000 to 1,000,000 (million), and, while the application
took a while to start up, once it did it worked like a charm.

Are you using custom cell renderers (not that it matters again)?

  








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  










[flexcoders] Flash 9 Wishlist

2005-10-02 Thread Tariq Ahmed






Just copying and pasting this:

It's that time again! Flash 9 wishlist...
Believe it or not, we're already getting to work on the *next*
release of Flash. We're very proud of the work that we've done in Flash 8
but we also know that there are several things that just couldn't make
it into the release.
Here is one of many chances that you'll have to submit your feature
wishes. Please limit your comments to feature requests. It also helps
if you include a use case for your feature request - ie, how would you
use the feature, what would be the impact to your business, etc. These
are all criteria that we examine when we decide whether to build a
feature or not.
* Note - you can also submit feature requests via the Macromedia
Wish Form.
OK - let's here those great ideas!
-- Mike Downey | Flash Product Manager







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





  




  
  
  YAHOO! GROUPS LINKS



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



  










Re: [flexcoders] Flash 9 Wishlist

2005-10-02 Thread Scott Barnes



Cool

I submitted UI Serialization *(fingers crossed)*
On 10/3/05, Tariq Ahmed [EMAIL PROTECTED] wrote:



  




Just copying and pasting this:

It's that time again! Flash 9 wishlist...
Believe it or not, we're already getting to work on the *next*
release of Flash. We're very proud of the work that we've done in Flash 8
but we also know that there are several things that just couldn't make
it into the release.
Here is one of many chances that you'll have to submit your feature
wishes. Please limit your comments to feature requests. It also helps
if you include a use case for your feature request - ie, how would you
use the feature, what would be the impact to your business, etc. These
are all criteria that we examine when we decide whether to build a
feature or not.
* Note - you can also submit feature requests via the Macromedia
Wish Form.
OK - let's here those great ideas!
-- Mike Downey | Flash Product Manager







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

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com






  




  
  
  YAHOO! GROUPS LINKS



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




  









-- Regards,Scott Barneshttp://www.mossyblog.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



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