RE: [flexcoders] Caingorm Tutorials or HowTos

2005-11-02 Thread Steven Webster





Jordan,

We first presented many of these patterns in Cairngorm in 
the ActionScript 2.0 Dictionary; if you go to the following blog entry, you'll 
be able to download the relevant chapter from that book as a free 
PDF:

http://www.richinternetapps.com/archives/000128.html

There's also a talk I gave at MAX last year, for which the 
slides are available as a Breeze presentation:

http://www.richinternetapps.com/archives/000124.html

There was another MAX talk this year, which I'm presenting 
again in Hong Kong this month; as soon as I've presented the talk in Hong Kong, 
I'll record it as a Breeze presentation and post details to the 
list.

Since MAX this year, a number of people have stepped 
forward wanting to contribute to Cairngorm, including the writing of some more 
whitepapers and technical documentation; if there's anything specific that you 
want, drop me a note off-list and we'll see if we can identify someone that 
might be able to write something.

Best wishes,

Steven

--
Steven 
Webster
RIA Practice Director 
(EMEA)
Macromedia 
Consulting

Office: + 44 (0) 131 338 
6108
Mobile: +44 (0) 7917 428 
947


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Jordan 
  SnyderSent: 01 November 2005 18:47To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Caingorm Tutorials 
  or HowTos
  
  Hello All,
  
  I'm looking to learn the Cairngormmicroarchitecture, but I'm having 
  a hard time finding anything that actually explains the design patterns 
  used...I can only find sample code. I'd like to understand some of the 
  concepts behind the code, so that I can have a complete understanding of 
  everything involved. I could modify the code a little to suit my needs 
  and go through a few weeks of developing test apps in that way, but I don't 
  have that kind of time just lying around here. Any references to books, 
  online tutes, etc. would be GREATLY appreciated. 
  
  
  Cheers,-- Jordan SnyderApplications 
  DeveloperImageAction, USAhttp://www.imageaction.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.



  









[flexcoders] Re: FlexBuilder 2.0 - Network Monitor

2005-11-02 Thread fowleryj
Another tool, the Network Connection Debugger, came with my Flex (1.5)
install. I'm not sure if it's still available and compatible with Flex
2.0, but it should be located at C:\Program
Files\Macromedia\Flex\extras\netConnectionDebugger\NetConnectionDebugger.html

--- In flexcoders@yahoogroups.com, Benoit Hediard [EMAIL PROTECTED] wrote:

 If you're using the ColdFusion Adapter and RemoteObject/AMF, the default
 configuration of flex-services.xml will log the
 serialization/deserialization of all AMF packets in the default
out log
 (in the standalone installation,
 c:/CFusionMX7/runtime/logs/coldfusion-out.log).
  
 Benoit Hediard
  
 PS: ServiceCapture do not support yet AMF version of Flex2.
  
   _  
 
 De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
De la
 part de Clint Modien
 Envoyé : mardi 1 novembre 2005 23:18
 À : flexcoders@yahoogroups.com
 Objet : Re: [flexcoders] Re: FlexBuilder 2.0 - Network Monitor
 
 
 I also remember seeing this tool in a blog.
  
 http://kevinlangdon.com/serviceCapture/
  
 looked pretty kewl
 
  
 On 11/1/05, Dave Wolf [EMAIL PROTECTED] wrote: 
 
 
 In the meantime you might check out the TCP Tunnel GUI which ships
 with the SOAP toolkit from Apache.  Its a small proxy server that can 
 sit between two hosts (say a flex GUI and the proxy or service) and
 will spit out the network traffic.  Its invaluable in debugging remote
 calls.
 
 --
 Dave Wolf
 Cynergy Systems, Inc.
 Macromedia Flex Alliance Partner 
 http://www.cynergysystems.com
 
 Email: [EMAIL PROTECTED]
 Office: 866-CYNERGY
 
 --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 
  Not yet, we're figuring out what we can provide.
 
 
 
  
  
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of Boddula, Sridhar
  Sent: Tuesday, November 01, 2005 11:34 AM 
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] FlexBuilder 2.0 - Network Monitor
 
 
 
 
  We used to have network monitor feature in FlexBuilder 1.5.
  I couldn't see network monitor in FlexBuilder 2.0. Is there any
feature
  similar to network monitor in FlexBuilder 2.0
 
  Thanks,
 
  Sridhar Boddula,
  EIS - New Tech. Development 
  617-664-8566(Work)






 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] Setting the HTTP proxy in Flex2

2005-11-02 Thread Alban Soupper
Hi all,

I just began to play/test Flex2, but I failed to find where to specify the
HTTP proxy to access the Internet (we have a firewall in the company).

I found this code in the documentation but I don't know where to put this...
proxy-service
  external-proxy
locationbluecoat.eim.ch:80/location
usernameeim_guest/username
passwordeim_guest/password
  /external-proxy
/proxy-service


Any help is welcomed :)

Alban.



***

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager to [EMAIL PROTECTED]

***



 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: Flex 2:Package/Class problem

2005-11-02 Thread Greg Johnson
Well that definatly clears up a few things that were confusing me.

Basicaly what I am doing is that we have several intrAnet 
applications that we are trying to create a central reporting system 
for.

In all cases the reports will be based on a person or list of 
people.  We have a tabed interface where the first tab lets the 
manager build the list of people.  They can do this either by 
searching for and selecting individual people which builds a list of 
people's unique campus wide ID, or using departments and department 
codes, or eventually companies and company codes.

When you click on the next tab it takes whichever type of list the 
manager built and generates a list of whatever in a dataGrid.  You 
can then double click on a row and it uses a accordian to show a 
viewstack with all the details for that record.

However instead of coding the visual part all in one mxml file I have 
a main mxml file with the search, then each additional tab I have in 
a seperate mxml file as a component.  So in the tabNavigator I simply 
add lines like local:otdTab id=otdTabHandle/

When I am inside one of the components I want to access the same 
doubleclick function I use in the main mxml.  However since the as 
file the doubleclick code is in is included in the main mxml the 
component can't see the function.  I have to add the 
mx.core.Application.application. in order for the component to 
see it.

So what I would rather do is just be able to add a include or 
something in the component making the functions already loaded in the 
main file available to the component file.
--- In flexcoders@yahoogroups.com, Roger Gonzalez [EMAIL PROTECTED] 
wrote:

 This seems like you're talking about a couple different things here.
 I'm not sure I understand where mx.core.Application.application 
comes
 into it.
 
 You can do the same thing with source as you can with a SWC;
 
 Make a new directory tree, looks like you're using mrstd.
 
 Then, you'll make one source file per class (that you are currently
 putting in one file).  Name the source file the same as the 
classname.
 
 BTW - several of your utility functions should probably really be 
static
 - there's no reason to create a class instance just to call a 
function
 when there are no vars on the object!
 
 Add the directory one level above the mrstd directory to your
 actionscript-classpath (either via the flex-config file or by 
setting it
 in FlexBuilder; Project  ActionScript Build Path  Class path.
 
 When you want to use these classes from some other file, just do
 import mrstd.*;
 
 Use the classes as you would expect.
 
 This should get you most of the way there.
 
 Ok, so what if you want to hand your mrstd classes off to someone 
else?
 Or maybe you don't want to keep compiling them?  That's when you 
need a
 SWC.  Unfortunately, the alpha build of FlexBuilder doesn't have 
any SWC
 support built-in, so you need to drop down to the command line.
 
 Run compc.exe -i source source source -o mrstd.swc
 
 Go back into FlexBuilder, and remove the mrstd directory from the
 classpath, and add the mrstd.swc file to the library path tab.
 
 Is this what you need?
 
 -Roger
 
 Roger Gonzalez
 mailto:[EMAIL PROTECTED]
  
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Greg Johnson
  Sent: Tuesday, November 01, 2005 11:45 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Flex 2:Package/Class problem
  
  This is a part I didn't even get a chance to get into with 1.5 so 
im 
  coming kinda late in 2.
  
  In my post you saw the functions that I want to make so I can use 
  them all over without having to 
  use mx.core.Application.application. every time I use one.
  
  Most of them I use in .as files not .mxml files.  And the ones I 
use 
  in the .mxml files I usually use as function calls.  Like for a 
grid 
  column that contains a date, I use the dateFunction parameter and 
  give the function name.
  
  I have looked at the interface and class builder wizards.  But 
  didn't really get anywhere with them.  I definatly need to 
optimize 
  as much as I can as the applications I will be working on are 
going 
  to be extensive in some cases.
  
  Can you point me somewhere that shows how to build a library 
that I 
  can use in any code I have by just putting in the import 
  mylib.whatever.*?
  
  Thanks
  Greg
  
  --- In flexcoders@yahoogroups.com, Roger Gonzalez 
[EMAIL PROTECTED] 
  wrote:
  
   How so?  A library isn't one file.
   
   You should package everything up by making a manifest file so 
that 
  you
   can use your classes as MXML tags, and then use compc.exe to 
bundle 
  a
   SWC.  You can also bundle in additional stuff like icons and 
CSS and
   whatnot.
   
   Its a much more efficient distribution and packaging mechanism!
   
   -Roger
   
   Roger Gonzalez
   mailto:[EMAIL PROTECTED]

   
-Original Message-
From: flexcoders@yahoogroups.com 

RE: [flexcoders] Is there a way to force a toolTip to show rather than rolling mouse over ?

2005-11-02 Thread Matt Horn
You didn't mention if this is for Flex 1.x or 2.0. In 2.0, you can use
the ToolTipManager.createToolTip() method to create and display a new
tooltip on a component, regardless of where the mouse is pointing. I am
not sure if this is possible in Flex 1.x.

Hth,

Matt Horn 
Flex docs

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of parinda_b_patel
 Sent: Tuesday, November 01, 2005 3:27 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Is there a way to force a toolTip to 
 show rather than rolling mouse over ?
 
 Hi,
 
 Is there a way to fire an event or something so that the 
 toolTip on a datagrid control shows up ? I know currently the 
 toolTip shows up after you mouse over certain row in a 
 datagrid, provided that you have supplied dataTipFunction . 
 But if you need to programatically show it without mousing 
 over is that possible ?
 
 Second question I have is that I have a tree in which I want 
 to show the toolTip only if the label is partially visible on 
 the tree-node.
 For nodes whose labels are short and they are visible fully , 
 I do not want the toolTip to show up.Is there a way to show 
 toolTips only when you wish and turn it off for other rows?
 
 Thanks in advance
 
 
 
 
 
 
  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
 
 
 
  
 
 
 
 


 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/
 





RE: [flexcoders] Opening for Flash ActionScript programmers with Japanese skillset for Japan.

2005-11-02 Thread Steven Webster
Ok, which one of the moderators of flexcoders overenthusiastically
approved this emailusually it's me, but I feel self-righteous
being able to point finger of blame at someone else.

I'm going to accuse Andrew Spaulding, while hedging my bets with a
looming shadow of doubt cast over Jimmy at Optimal Payments...

:-)

--
Steven Webster
Practice Director (Rich Internet Applications)
Macromedia Consulting EMEA
 
Office: + 44 (0) 131 338 6108
Mobile: +44 (0) 7917 428 947
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Prabhu Santhanam
 Sent: 02 November 2005 14:12
 To: [EMAIL PROTECTED]
 Subject: [flexcoders] Opening for Flash ActionScript 
 programmers with Japanese skillset for Japan.
 
 Opening for Flash ActionScript programmers with Japanese 
 skillset for Japan.


 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] internationalization in flex

2005-11-02 Thread Pflueger Florian










Hi List,



Is
there a way I can simply realized internationalization in flex (like it is
possible in other frameworks e.g. Jakarta Struts)? Can not find
any Information.



thx



Florian


















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



  









=00sycor plastics - die neue Branchenloesung fuer die Kunststoffindustriewww.sycor-plastics.deDiese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde.This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form.

RE: [flexcoders] internationalization in flex

2005-11-02 Thread Steven Webster





Florian,

Benoit Hedard proposed a great implementation ... why don't 
you take a look at:

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

Best wishes,

Steven

--
Steven 
Webster
Practice Director (Rich 
Internet Applications)
Macromedia Consulting 
EMEA

Office: + 44 (0) 131 338 
6108
Mobile: +44 (0) 7917 428 
947


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Pflueger 
  FlorianSent: 02 November 2005 15:23To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] 
  internationalization in flex
  
  
  Hi 
  List,
  
  Is 
  there a way I can simply realized internationalization in flex (like it is 
  possible in other frameworks e.g. Jakarta 
  Struts)? Can not find any Information.
  
  thx
  
  Florian





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

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] FLEX 2. What happens on Alpha expiry

2005-11-02 Thread yaagcur
My copy expires in less than four months well before projected product
release
For those not selected for the beta program will the  alpha be extended?






 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] Re: Flex 2:Package/Class problem

2005-11-02 Thread Roger Gonzalez
 When I am inside one of the components I want to access the 
 same doubleclick function I use in the main mxml.  However 
 since the as file the doubleclick code is in is included in 
 the main mxml the component can't see the function.  I have 
 to add the mx.core.Application.application. in order for 
 the component to see it.

The key here is to stop thinking about it as inclusion.  That will
lead to very brittle applications where you can't easily write reusable
code.

What you need to do is to have your application pass a reference to
either your application or pieces of your application down to your
helper classes.  One option is to simply pass a reference to a
particular Function down to your helper code.  However, I prefer using
interfaces; here's an example:

I'm going to skip a lot of syntactic sugar (imports and package and
whatnot) in order to try to type this in this lousy email IDE.  No
promises that it will actually work, I haven't tested this because
Microsoft Outlook doesn't have a run button.  :-)

// IGreeting.as - interface for things that know how to print greetings
public interface IGreeting
{
function get greet():String;
}

// World.as - a little object that uses the services of a greeter
public class World
{
   public function set greeting( greeting:IGreeting ):Void
   {
 _greeting = greeting;
   }
   public function get print():String
   {
 return _greeting.greet +  world;
   }

   private var _greeting:IGreeting;
}

// MyApp.mxml - an app that implements the IGreeting interface and lets
// its services be used by the World object.  (Could just as easily be
an .as app!)

mx:Application implements=IGreeting initialize=setup()
  mx:Script
private var world:World = new World();
private function setup():Void
{
  world.greeting = this;
}
public function get greet()
{
   return hello;
}
  /mx:Script
  mx:Button label={world.print} /
/mx:Application


So, if I were writing this stuff, I might not want to have the IGreeting
implementation in the app, I might want to reuse that as well.  So, lets
treat it as a sort of mixin...

// HelloGreeter.as
public class HelloGreeter implements IGreeting
{
   public function get greet()
   {
  return hello;
   }
}

Just for kicks, lets add a different IGreeting implementation.

// HowdyGreeter.as
public class HowdyGreeter implements IGreeting
{
   public function get greet()
   {
  return howdy;
   }
}

// MyApp.mxml - mostly the same app, except this one delegates the
greetings.
// We'll also make it so it can change greeters on the fly
mx:Application initialize=setup()
  mx:Script
private var world:World;
private function setup():Void
{
   world = new World();
   world.greeting = new HelloGreeter();
}
private function change():Void
{
   world.greeting = new HowdyGreeter();
}
  /mx:Script
  mx:Button label={world.print} /
  mx:Button label=change the greeting click=change() /
/mx:Application


All of the reusable classes (IGreeting, HelloGreeter, HowdyGreeter,
World) could easily be put off in a dedicated package hierarchy so that
they could be shared between multiple apps.  To really encapsulate them,
package them up into a SWC library using compc.exe.

Hope this gives you some ideas,

-rg


 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Greg Johnson
 Sent: Wednesday, November 02, 2005 6:05 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Flex 2:Package/Class problem
 
 Well that definatly clears up a few things that were confusing me.
 
 Basicaly what I am doing is that we have several intrAnet 
 applications that we are trying to create a central reporting 
 system for.
 
 In all cases the reports will be based on a person or list of 
 people.  We have a tabed interface where the first tab lets 
 the manager build the list of people.  They can do this 
 either by searching for and selecting individual people which 
 builds a list of people's unique campus wide ID, or using 
 departments and department codes, or eventually companies and 
 company codes.
 
 When you click on the next tab it takes whichever type of 
 list the manager built and generates a list of whatever in a 
 dataGrid.  You can then double click on a row and it uses a 
 accordian to show a viewstack with all the details for that record.
 
 However instead of coding the visual part all in one mxml 
 file I have a main mxml file with the search, then each 
 additional tab I have in a seperate mxml file as a component. 
  So in the tabNavigator I simply add lines like local:otdTab 
 id=otdTabHandle/
 
 When I am inside one of the components I want to access the 
 same doubleclick function I use in the main mxml.  However 
 since the as file the doubleclick code is in is included in 
 the main mxml the component can't see the function.  I have 
 to add the mx.core.Application.application. in order for 
 the 

[flexcoders] CellRenderer for datagrid

2005-11-02 Thread Parekh, Shweta - BLS CTR
Hi,

I have a problem with using cellrenderer at datagrid level.  Attached is a
sample of the application which I'm using to test the cellrenderer.  If I
have the renderer at column level, mx:DataGridColumn columnName=active
width=50  cellRenderer=CellColorRenderer/, when I click on the cells
under active column, the background color of the cells change.  However,
for my case, I can't explicitly define the columns, they generate based on
the data result so I need to use a different path.  I tried to have the
renderer at datagrid level, mx:DataGrid id=employee_dg
dataProvider={department.employees.employee} editable=true
cellRenderer=CellColorRenderer, it does not work.  Please help!!!

Thanks in advance,

Shweta CellColorRenderer.mxml  department.mxml  Department.xml  
deptComp.mxml 

___
Shweta Parekh



 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/
 


CellColorRenderer.mxml
Description: Binary data


department.mxml
Description: Binary data


Department.xml
Description: Binary data


deptComp.mxml
Description: Binary data


[flexcoders] Start Project with Flex 1.5 or Flex 2.0

2005-11-02 Thread jwc_wensan
To All:

We are beginning a large project that we project will take 3-4 
months to complete.  We are not tied to a deadline, but would like 
to have up and running by March 1, 2006.  We do have some wiggle 
room.

My question(s) to the experts . . . .

Would you develop with Flex 1.5 and then convert to Flex 2.0 when it 
is released or start with Flex 2.0?  I realize it depends on the 
app, but anyone have info own time required to convert 1.5 app to a 
2.0 app?  10% of original development? 20%?  

Best guess?

There are some features in Flex 2.0 we need, but they do not have to 
be there in our first release.

If it is the concensus of this group that Flex 2.0 would be released 
by April/May then we might decide to go straight to Flex 2.0

If as with most software releases, probably more later than sooner, 
more like May/June then that puts us back in Flex 1.5.

All opinions and insight will be welcomed.

Thanking You In Advance,

Jack








 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] Start Project with Flex 1.5 or Flex 2.0

2005-11-02 Thread JesterXL
No deadline?  PIMP!

I'd use Flex 1.5, and convert to 2.0 when she's solid.

I was originally under the impression that porting an app required an 
inordinate amount of time, but was correct yesterday.  ActionScript only 
projects, a.k.a. Flash, take longer because they are heavy in ActionScript. 
However, since MXML hasn't changed much in Flex 2, there is very little you 
have to do.  Additionally, since the components underneath abstract it, much 
of it still works as intended.

As far as ActionScript, as long as you type cast correctly, the only thing 
you have to do in 2 is declare your bindings explicitly by adding some 
additional, small code.

One of these dudes on here, whoever did the Flex Store app, did a preso on 
this at MAX, although, I wasn't there so didn't see it.  His preso might be 
online somewhere.

- Original Message - 
From: jwc_wensan [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 02, 2005 11:30 AM
Subject: [flexcoders] Start Project with Flex 1.5 or Flex 2.0


To All:

We are beginning a large project that we project will take 3-4
months to complete.  We are not tied to a deadline, but would like
to have up and running by March 1, 2006.  We do have some wiggle
room.

My question(s) to the experts . . . .

Would you develop with Flex 1.5 and then convert to Flex 2.0 when it
is released or start with Flex 2.0?  I realize it depends on the
app, but anyone have info own time required to convert 1.5 app to a
2.0 app?  10% of original development? 20%?

Best guess?

There are some features in Flex 2.0 we need, but they do not have to
be there in our first release.

If it is the concensus of this group that Flex 2.0 would be released
by April/May then we might decide to go straight to Flex 2.0

If as with most software releases, probably more later than sooner,
more like May/June then that puts us back in Flex 1.5.

All opinions and insight will be welcomed.

Thanking You In Advance,

Jack









--
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 ~-- 
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] Re: Start Project with Flex 1.5 or Flex 2.0

2005-11-02 Thread jwc_wensan
Jester:

Well, there is a deadline, but we do have SOME, not much, wiggle 
room.

It was our initial opinion to proceed with Flex 1.5, but I wanted to 
get other thoughts on the matter.

I am not exactly sure what you mean when you say type cast.  Can 
you elaborate?

Thanks,

Jack

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

 No deadline?  PIMP!
 
 I'd use Flex 1.5, and convert to 2.0 when she's solid.
 
 I was originally under the impression that porting an app required 
an 
 inordinate amount of time, but was correct yesterday.  
ActionScript only 
 projects, a.k.a. Flash, take longer because they are heavy in 
ActionScript. 
 However, since MXML hasn't changed much in Flex 2, there is very 
little you 
 have to do.  Additionally, since the components underneath 
abstract it, much 
 of it still works as intended.
 
 As far as ActionScript, as long as you type cast correctly, the 
only thing 
 you have to do in 2 is declare your bindings explicitly by adding 
some 
 additional, small code.
 
 One of these dudes on here, whoever did the Flex Store app, did a 
preso on 
 this at MAX, although, I wasn't there so didn't see it.  His preso 
might be 
 online somewhere.
 
 - Original Message - 
 From: jwc_wensan [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 02, 2005 11:30 AM
 Subject: [flexcoders] Start Project with Flex 1.5 or Flex 2.0
 
 
 To All:
 
 We are beginning a large project that we project will take 3-4
 months to complete.  We are not tied to a deadline, but would like
 to have up and running by March 1, 2006.  We do have some wiggle
 room.
 
 My question(s) to the experts . . . .
 
 Would you develop with Flex 1.5 and then convert to Flex 2.0 when 
it
 is released or start with Flex 2.0?  I realize it depends on the
 app, but anyone have info own time required to convert 1.5 app to 
a
 2.0 app?  10% of original development? 20%?
 
 Best guess?
 
 There are some features in Flex 2.0 we need, but they do not have 
to
 be there in our first release.
 
 If it is the concensus of this group that Flex 2.0 would be 
released
 by April/May then we might decide to go straight to Flex 2.0
 
 If as with most software releases, probably more later than sooner,
 more like May/June then that puts us back in Flex 1.5.
 
 All opinions and insight will be welcomed.
 
 Thanking You In Advance,
 
 Jack
 
 
 
 
 
 
 
 
 
 --
 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 ~-- 
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] Re: Start Project with Flex 1.5 or Flex 2.0

2005-11-02 Thread JesterXL
// this won't fly
var s = some text;

// this is good!
var s:String = some text;

You do the below for all variables that can be typecast/datatyped, you'll 
save a LOT of time.


- Original Message - 
From: jwc_wensan [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 02, 2005 12:06 PM
Subject: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0


Jester:

Well, there is a deadline, but we do have SOME, not much, wiggle
room.

It was our initial opinion to proceed with Flex 1.5, but I wanted to
get other thoughts on the matter.

I am not exactly sure what you mean when you say type cast.  Can
you elaborate?

Thanks,

Jack

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

 No deadline?  PIMP!

 I'd use Flex 1.5, and convert to 2.0 when she's solid.

 I was originally under the impression that porting an app required
an
 inordinate amount of time, but was correct yesterday.
ActionScript only
 projects, a.k.a. Flash, take longer because they are heavy in
ActionScript.
 However, since MXML hasn't changed much in Flex 2, there is very
little you
 have to do.  Additionally, since the components underneath
abstract it, much
 of it still works as intended.

 As far as ActionScript, as long as you type cast correctly, the
only thing
 you have to do in 2 is declare your bindings explicitly by adding
some
 additional, small code.

 One of these dudes on here, whoever did the Flex Store app, did a
preso on
 this at MAX, although, I wasn't there so didn't see it.  His preso
might be
 online somewhere.

 - Original Message - 
 From: jwc_wensan [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 02, 2005 11:30 AM
 Subject: [flexcoders] Start Project with Flex 1.5 or Flex 2.0


 To All:

 We are beginning a large project that we project will take 3-4
 months to complete.  We are not tied to a deadline, but would like
 to have up and running by March 1, 2006.  We do have some wiggle
 room.

 My question(s) to the experts . . . .

 Would you develop with Flex 1.5 and then convert to Flex 2.0 when
it
 is released or start with Flex 2.0?  I realize it depends on the
 app, but anyone have info own time required to convert 1.5 app to
a
 2.0 app?  10% of original development? 20%?

 Best guess?

 There are some features in Flex 2.0 we need, but they do not have
to
 be there in our first release.

 If it is the concensus of this group that Flex 2.0 would be
released
 by April/May then we might decide to go straight to Flex 2.0

 If as with most software releases, probably more later than sooner,
 more like May/June then that puts us back in Flex 1.5.

 All opinions and insight will be welcomed.

 Thanking You In Advance,

 Jack









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







 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: Start Project with Flex 1.5 or Flex 2.0

2005-11-02 Thread jwc_wensan
Jester:

Thanks,

Jack

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

 // this won't fly
 var s = some text;
 
 // this is good!
 var s:String = some text;
 
 You do the below for all variables that can be typecast/datatyped, 
you'll 
 save a LOT of time.
 
 
 - Original Message - 
 From: jwc_wensan [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 02, 2005 12:06 PM
 Subject: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0
 
 
 Jester:
 
 Well, there is a deadline, but we do have SOME, not much, wiggle
 room.
 
 It was our initial opinion to proceed with Flex 1.5, but I wanted 
to
 get other thoughts on the matter.
 
 I am not exactly sure what you mean when you say type cast.  Can
 you elaborate?
 
 Thanks,
 
 Jack
 
 --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] 
wrote:
 
  No deadline?  PIMP!
 
  I'd use Flex 1.5, and convert to 2.0 when she's solid.
 
  I was originally under the impression that porting an app 
required
 an
  inordinate amount of time, but was correct yesterday.
 ActionScript only
  projects, a.k.a. Flash, take longer because they are heavy in
 ActionScript.
  However, since MXML hasn't changed much in Flex 2, there is very
 little you
  have to do.  Additionally, since the components underneath
 abstract it, much
  of it still works as intended.
 
  As far as ActionScript, as long as you type cast correctly, the
 only thing
  you have to do in 2 is declare your bindings explicitly by adding
 some
  additional, small code.
 
  One of these dudes on here, whoever did the Flex Store app, did a
 preso on
  this at MAX, although, I wasn't there so didn't see it.  His 
preso
 might be
  online somewhere.
 
  - Original Message - 
  From: jwc_wensan [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Wednesday, November 02, 2005 11:30 AM
  Subject: [flexcoders] Start Project with Flex 1.5 or Flex 2.0
 
 
  To All:
 
  We are beginning a large project that we project will take 3-4
  months to complete.  We are not tied to a deadline, but would 
like
  to have up and running by March 1, 2006.  We do have 
some wiggle
  room.
 
  My question(s) to the experts . . . .
 
  Would you develop with Flex 1.5 and then convert to Flex 2.0 when
 it
  is released or start with Flex 2.0?  I realize it depends on the
  app, but anyone have info own time required to convert 1.5 app 
to
 a
  2.0 app?  10% of original development? 20%?
 
  Best guess?
 
  There are some features in Flex 2.0 we need, but they do not have
 to
  be there in our first release.
 
  If it is the concensus of this group that Flex 2.0 would be
 released
  by April/May then we might decide to go straight to Flex 2.0
 
  If as with most software releases, probably more later than 
sooner,
  more like May/June then that puts us back in Flex 1.5.
 
  All opinions and insight will be welcomed.
 
  Thanking You In Advance,
 
  Jack
 
 
 
 
 
 
 
 
 
  --
  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







 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] Flow.as from Re: div like behaviour?

2005-11-02 Thread edeustace
hello, 
i have been using flow.as (see below), and it works great. however
there is something that i'd like to fix.
firstly i have bound a showEffect and hideEffect to it which increases
the width over a time period:

mx:Effect
mx:Resize name=shrink widthTo=0 duration=300 /
mx:Resize name=grow widthTo=400 duration=300 /
/mx:Effect


the problem is, that when initialising the box, all the subelements
are visible for a brief instant when the page loads, then they
disappear and display themselves as expected. i'm guessing there is
some chain of command is broken. here is the tag for the flow box:

 Flow id=flowBox  visible=false
creationComplete=showSearch(event) showEffect=grow
hideEffect=shrink  

horizontalGap=24 height=125

vScrollPolicy=off hScrollPolicy=off
mx:HBox width=13 horizontalGap=0
mx:Spacer width=10  /
mx:VRule height=100% /

/mx:HBox
!-- the rest of the subelements are created in actionscript 
using
createChild() --
/Flow

if anyone could point me in the right direction i'd be very grateful,
yours
ed

--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:

 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/
 





[flexcoders] Passing arguments to coldfusion cfc's / mx:WebService

2005-11-02 Thread maxgsilverscape
I am trying to pass three arguments to a CFC like this:

mx:operation name=getQuestionsXML result=handleXML
(event.result) fault=handleXML(event.fault.faultstring)
mx:request
CLID{CLID.text}/CLID
XMLELEMENTcategory/XMLELEMENT
TOP1/TOP
/mx:request
/mx:operation

The error being returned is 'Array of input arguments did not 
contain a required parameter at position 0', but I'm confused as to 
why that would be the case. My CF is here:

cffunction name=getQuestionsXML  returntype=any access=remote 
output=false
cfargument name=CLID  required=true type=numeric
cfargument name=xmlelement  required=true type=string
cfargument name=top  required=true type=numeric

Is using mx:request a valid way to pass arguments to CFC's?

Also, if my function returns an XML string, how can I convert it to 
a usable XML object?

Thanks,
Max






 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] Re: Start Project with Flex 1.5 or Flex 2.0

2005-11-02 Thread Philip Costa
I would second Jesse's comment. Unless there are showstoppers that are
preventing you from using Flex 1.5, you should work on that version
while studying Flex 2 to reduce your migration costs.

In addition to the fact that you might want to release your product
before we release ours, trying to develop a production application using
pre-release software has its travails.

Phil Costa 
Sr. Product Manager 
Macromedia 
[EMAIL PROTECTED] 

 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jwc_wensan
Sent: Wednesday, November 02, 2005 12:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0

Jester:

Thanks,

Jack

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

 // this won't fly
 var s = some text;
 
 // this is good!
 var s:String = some text;
 
 You do the below for all variables that can be typecast/datatyped,
you'll 
 save a LOT of time.
 
 
 - Original Message -
 From: jwc_wensan [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 02, 2005 12:06 PM
 Subject: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0
 
 
 Jester:
 
 Well, there is a deadline, but we do have SOME, not much, wiggle 
 room.
 
 It was our initial opinion to proceed with Flex 1.5, but I wanted
to
 get other thoughts on the matter.
 
 I am not exactly sure what you mean when you say type cast.  Can you

 elaborate?
 
 Thanks,
 
 Jack
 
 --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED]
wrote:
 
  No deadline?  PIMP!
 
  I'd use Flex 1.5, and convert to 2.0 when she's solid.
 
  I was originally under the impression that porting an app
required
 an
  inordinate amount of time, but was correct yesterday.
 ActionScript only
  projects, a.k.a. Flash, take longer because they are heavy in
 ActionScript.
  However, since MXML hasn't changed much in Flex 2, there is very
 little you
  have to do.  Additionally, since the components underneath
 abstract it, much
  of it still works as intended.
 
  As far as ActionScript, as long as you type cast correctly, the
 only thing
  you have to do in 2 is declare your bindings explicitly by adding
 some
  additional, small code.
 
  One of these dudes on here, whoever did the Flex Store app, did a
 preso on
  this at MAX, although, I wasn't there so didn't see it.  His
preso
 might be
  online somewhere.
 
  - Original Message -
  From: jwc_wensan [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Wednesday, November 02, 2005 11:30 AM
  Subject: [flexcoders] Start Project with Flex 1.5 or Flex 2.0
 
 
  To All:
 
  We are beginning a large project that we project will take 3-4 
  months to complete.  We are not tied to a deadline, but would
like
  to have up and running by March 1, 2006.  We do have
some wiggle
  room.
 
  My question(s) to the experts . . . .
 
  Would you develop with Flex 1.5 and then convert to Flex 2.0 when
 it
  is released or start with Flex 2.0?  I realize it depends on the 
  app, but anyone have info own time required to convert 1.5 app
to
 a
  2.0 app?  10% of original development? 20%?
 
  Best guess?
 
  There are some features in Flex 2.0 we need, but they do not have
 to
  be there in our first release.
 
  If it is the concensus of this group that Flex 2.0 would be
 released
  by April/May then we might decide to go straight to Flex 2.0
 
  If as with most software releases, probably more later than
sooner,
  more like May/June then that puts us back in Flex 1.5.
 
  All opinions and insight will be welcomed.
 
  Thanking You In Advance,
 
  Jack
 
 
 
 
 
 
 
 
 
  --
  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







 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



 




 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: 

[flexcoders] Flex Effects Framework

2005-11-02 Thread Andora, Greg





Hey 
all,

Back in May we saw a 
sneak of the Flex Effects Frameworkin the Iteration:two blog. I was 
wondering if this was ever released and if so, isthere is any 
documentation for it? I found Alex's Animation Package, 
but can't find any mention of the Flex Effects Framework.

http://www.richinternetapps.com/archives/000108.html

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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  

   
  







  
  
  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] Passing arguments to coldfusion cfc's / mx:WebService

2005-11-02 Thread Dan Plesse










I am guessing a data type convergence
problem. Change the CLID to a string and the others to strings or just use any.














From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of maxgsilverscape
Sent: Wednesday, November 02, 2005
12:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Passing
arguments to coldfusion cfc's / mx:WebService





I am trying to pass three arguments to a CFC like this:

mx:operation name=getQuestionsXML
result=handleXML
(event.result)
fault=handleXML(event.fault.faultstring)

 
mx:request

 
CLID{CLID.text}/CLID

 
XMLELEMENTcategory/XMLELEMENT

 
TOP1/TOP

 
/mx:request

 
/mx:operation

The error being returned is 'Array of input
arguments did not 
contain a required parameter at position 0', but
I'm confused as to 
why that would be the case. My CF is here:

cffunction
name=getQuestionsXML returntype=any
access=remote 
output=false
 cfargument
name=CLID required=true
type=numeric
 cfargument
name=xmlelement required=true
type=string
 cfargument
name=top required=true
type=numeric

Is using mx:request a valid way to pass
arguments to CFC's?

Also, if my function returns an XML string, how
can I convert it to 
a usable XML object?

Thanks,
Max












--
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] Flex 1.5 - n checkboxes

2005-11-02 Thread Matt Chotin










Check out the Repeater tag.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Richard Rodseth
Sent: Wednesday, November 02, 2005
9:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 1.5 - n
checkboxes





Is there a slick way to bind a variable number of checkboxes to an
array of value objects in a data model?

Example: user has an array of roles. Display a list of checkboxes
I see how to use repeaters to render the checkboxes, but I'm unclear on the
best way to capture the user selections.

Thanks








--
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: Start Project with Flex 1.5 or Flex 2.0

2005-11-02 Thread Dave Wolf
--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:

 No deadline?  PIMP!
 

Hey I thought that was me!! wink

I am with Jester here.  

Honestly the coolest part of Flex2 is still a bit away from being
available to us anyways. 


-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY 
 I'd use Flex 1.5, and convert to 2.0 when she's solid.
 
 I was originally under the impression that porting an app required an 
 inordinate amount of time, but was correct yesterday.  ActionScript
only 
 projects, a.k.a. Flash, take longer because they are heavy in
ActionScript. 
 However, since MXML hasn't changed much in Flex 2, there is very
little you 
 have to do.  Additionally, since the components underneath abstract
it, much 
 of it still works as intended.
 
 As far as ActionScript, as long as you type cast correctly, the only
thing 
 you have to do in 2 is declare your bindings explicitly by adding some 
 additional, small code.
 
 One of these dudes on here, whoever did the Flex Store app, did a
preso on 
 this at MAX, although, I wasn't there so didn't see it.  His preso
might be 
 online somewhere.
 
 - Original Message - 
 From: jwc_wensan [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 02, 2005 11:30 AM
 Subject: [flexcoders] Start Project with Flex 1.5 or Flex 2.0
 
 
 To All:
 
 We are beginning a large project that we project will take 3-4
 months to complete.  We are not tied to a deadline, but would like
 to have up and running by March 1, 2006.  We do have some wiggle
 room.
 
 My question(s) to the experts . . . .
 
 Would you develop with Flex 1.5 and then convert to Flex 2.0 when it
 is released or start with Flex 2.0?  I realize it depends on the
 app, but anyone have info own time required to convert 1.5 app to a
 2.0 app?  10% of original development? 20%?
 
 Best guess?
 
 There are some features in Flex 2.0 we need, but they do not have to
 be there in our first release.
 
 If it is the concensus of this group that Flex 2.0 would be released
 by April/May then we might decide to go straight to Flex 2.0
 
 If as with most software releases, probably more later than sooner,
 more like May/June then that puts us back in Flex 1.5.
 
 All opinions and insight will be welcomed.
 
 Thanking You In Advance,
 
 Jack
 
 
 
 
 
 
 
 
 
 --
 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 ~-- 
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] AnimationPackage

2005-11-02 Thread Mehdi, Agha
Title: AnimationPackage







Hi all,

I just downloaded AnimationPackage but can't fid the Flip class that was used as an example on RichInternetApps. Does anyone have any info on that?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell : 209.275.0482

Fax : 408.284.2766









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

   
  







  
  
  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] Passing arguments to coldfusion cfc's / mx:WebService

2005-11-02 Thread Muzak
Case sensitive?

CLID{CLID.text}/CLID
xmlelementcategory/xmlelement
top1/top

regards,
Muzak

- Original Message - 
From: maxgsilverscape [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 02, 2005 6:30 PM
Subject: [flexcoders] Passing arguments to coldfusion cfc's / mx:WebService


I am trying to pass three arguments to a CFC like this:

 mx:operation name=getQuestionsXML result=handleXML
 (event.result) fault=handleXML(event.fault.faultstring)
 mx:request
 CLID{CLID.text}/CLID
 XMLELEMENTcategory/XMLELEMENT
 TOP1/TOP
 /mx:request
 /mx:operation

 The error being returned is 'Array of input arguments did not
 contain a required parameter at position 0', but I'm confused as to
 why that would be the case. My CF is here:

 cffunction name=getQuestionsXML  returntype=any access=remote
 output=false
 cfargument name=CLID  required=true type=numeric
 cfargument name=xmlelement  required=true type=string
 cfargument name=top  required=true type=numeric

 Is using mx:request a valid way to pass arguments to CFC's?

 Also, if my function returns an XML string, how can I convert it to
 a usable XML object?

 Thanks,
 Max




 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] Big problems with SBC Yahoo Browser

2005-11-02 Thread John Dowdell
TIP: Hit New Message when you want to start a new message, then paste 
the mailing list address in. (When you hit Reply while reading Matt's 
message, you got hidden within that thread about minutes-long scripting 
routines.)

Robert Thompson wrote:
 Since there are some smart guys from Macrmedia on here
 I wanted to just ask if they've heard any complaints
 about Flash Player 8 not working in SBC Yahoo Browser?

I haven't. I did a quick web search, but the Yahoo help section doesn't 
say which browser it's built upon, nor list anything quickly visible 
about Netscape Plugins (or ActiveX Controls, if based on IE/Win).

Best troubleshooting: Do the usual some-or-all-sites test (if they can 
see other SWF but not your SWF that's a clue)... after that it would be 
researching just what the SBC Yahoo Browser actually is, and what it can do.

(I just expanded my websearches from Yahoo to the net at large, and some 
users report that it is built upon IE/Win, which raises the 
possibilities of XP SP2 controls, popup window controls, or general 
permissions issues for new installs... try the some or all browsers 
test to see if your site works in IE/Win on their machine, etc.)

jd




-- 
John Dowdell . Macromedia Developer Support . San Francisco CA USA
Weblog: http://www.macromedia.com/go/blog_jd
Aggregator: http://www.macromedia.com/go/weblogs
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


 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] Flex 1.5 - n checkboxes

2005-11-02 Thread Richard Rodseth



Yes, as I mentioned, I am using the repeater tag. But the data provider
for it is the list of all possible roles. I'm interested in the process
of mapping the checked items to an array of objects (strings or value
objects). I'm guessing there's no way around using Actionscipt to
populate the form from the model and vice versa.

- RichardOn 11/2/05, Matt Chotin [EMAIL PROTECTED] wrote:

















Check out the Repeater tag.











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Richard Rodseth
Sent: Wednesday, November 02, 2005
9:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 1.5 - n
checkboxes





Is there a slick way to bind a variable number of checkboxes to an
array of value objects in a data model?

Example: user has an array of roles. Display a list of checkboxes
I see how to use repeaters to render the checkboxes, but I'm unclear on the
best way to capture the user selections.

Thanks








--
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 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: new member

2005-11-02 Thread Brendan Meutzner
Hey Justin,

I'd agree wih Torben's first suggestion below as well.  Excellent
learning guide as well as resource book... probably my best book
purchase in years.

Brendan


--- In flexcoders@yahoogroups.com, Torben Nielsen [EMAIL PROTECTED] wrote:

 Hi Justin,
 
 I would advice you to buy a couple of books written by Colin Moock
with the following titles:
 
 -Actionscipt for Flash MX the definitive guide, second edition
 
 -Essential actionscript 2.0
 
 Best regards.
 
 Torben Nielsen
 Starvision Studios
 
 Justin [EMAIL PROTECTED] wrote:
 __
 Hello, I am an up coming Interactive Media Designer in the Houston
 area. I need to learn actionscript 2.0.  I have heard that O'Reilly
 puts out a good book.  I know very little. I can create navigation and
 that is about it.  Any suggestions?
 
 Thanks,
 Justin
 
 
 
 
 
 
 --
 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 ~-- 
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] Re: Flex 1.5 - n checkboxes

2005-11-02 Thread Brendan Meutzner
Hi Richard,

I recently completed a project in which we had to dynamically build
form selection elements based on different control types (eg.
checkboxes, radio buttons, etc...).  The data model we worked with
provided us with the string name of the control type to use, and the
appropriate data structure to populate the control type(s).  Solution
I came up with was to (as you mention you might have to do) create the
form elements using actionscript, more specifically the createChild
method.  I created a custom instance of each control type, and added
some additional properties to it, the most important being the data
property it needed to affect.  Inside the custom control, I had my
change event directly modify the data property that was passed in. 
Because the reference was passed in, this essentially bound that
change to the data model it came from.  Problem solved.

Your requirements may be slightly different as it sounds like you
already know what type of control you need to render.  In this case, I
would imagine you could use a repeater tag and have it's children be
the custom check box you're creating, and pass in the object
property reference that needs to be changed.

Hope this helps you...


Brendan


--- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote:

 Yes, as I mentioned, I am using the repeater tag. But the data
provider for
 it is the list of all possible roles. I'm interested in the process of
 mapping the checked items to an array of objects (strings or value
objects).
 I'm guessing there's no way around using Actionscipt to populate the
form
 from the model and vice versa.
 
 - Richard
 
 On 11/2/05, Matt Chotin [EMAIL PROTECTED] wrote:
 
   Check out the Repeater tag.
 
--
 
  *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
  Behalf Of *Richard Rodseth
  *Sent:* Wednesday, November 02, 2005 9:07 AM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Flex 1.5 - n checkboxes
 
   Is there a slick way to bind a variable number of checkboxes to
an array
  of value objects in a data model?
 
  Example: user has an array of roles. Display a list of checkboxes
  I see how to use repeaters to render the checkboxes, but I'm
unclear on
  the best way to capture the user selections.
 
  Thanks
 
 
 
   --
  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
flexcodershttp://groups.yahoo.com/group/flexcoders
 on the web.
  - To unsubscribe from this group, send an email to:

[EMAIL PROTECTED][EMAIL PROTECTED]
  - 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/
 




RE: [flexcoders] script time warning and Flash Player 8

2005-11-02 Thread Tracy Spratt










Well, rats.

Thanks guys. Since this particular
app is so unusual, and moving this process to the server is on the roadmap,
this particular client (me too, I guess) will either need to keep the
development machine on FP7, or deal with the 2-3 timeout prompts.



I am already using the state variable /
doLater strategy to give the user some feedback, but apparently a few of the
200 steps are still too big.



Thanks again.

Tracy 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Tuesday, November 01, 2005
9:33 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] script
time warning and Flash Player 8





OK, bad news. I went searching
through the bugbase and found one for our docs team to add to the migration
guide that the timeout can no longer be greater than 60 seconds.
Im assuming that this was actually put into Player 8, not just 8.5 since
youre running into it. Guess that means youre going to need
to do some tricks like Jesse showed, and in your case since youre
building a massive tree I think this means youre going to need to
basically 



-
build
some nodes

-
store temporary
state to instance variables

-
call
doLater using your main function (you can pass parameters to doLater too)

-
at some
point your method executes the last time and you dont need to doLater
anymore



you can put up a blocker and show the busy
cursor while youre doing this too (though using a progress bar might be
nicer)



Matt









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy
 Spratt
Sent: Tuesday, November 01, 2005
4:33 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] script
time warning and Flash Player 8





I got the latest from the MM site and it
did not respect my settings.

Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe superabe
Sent: Tuesday, November 01, 2005
5:56 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] script
time warning and Flash Player 8







Just realized that the script timeout popup is not showing on the
regular Flash Player 8 (i.e non -debug version).





Of course I tested this on another pc, so it could be that machine is
faster ...though unlikely











- superabe







On 11/1/05, Tracy Spratt [EMAIL PROTECTED] wrote:




Yes, I really need this.



Jesse, if you are still following this thread: Besides moving
my entire process to the server(which would take me several weeks, and this is
a rare condition that only a developer will see), is there anyway to
refactor a single process? The is the massive calculation
(in this case it is building two 30,000 node trees) that made me implement your
status variable and doLater strategy in order to give the user some visible
feedback while this process is running. It is broken up into individual
function calls, but it still triggers the time-out. 



Tracy  











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of superabe superabe
Sent: Monday, October 31, 2005
6:04 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] script
time warning and Flash Player 8









I do hope
to refactor and optimize the code eventually, but I think the option
tooverridethe default time limit of 60 seconds for your
script should be made available. 





-
superabe













On
10/31/05, JesterXL 
[EMAIL PROTECTED] wrote: 



I
never knew it was an issue.











Incidentally,
I think that is one of the worst features Macromedia could of implemented in
Flex, although, I understand why they did it. 











My
opinion; if you are using that attribute of the application tag, it's time to
refactor whatever part of your code requires it. 













-
Original Message - 



From: superabe
superabe 





To: flexcoders@yahoogroups.com 





Sent: Monday, October 31, 2005 10:36 AM 





Subject: [flexcoders] script time warning
and Flash Player 8 














Hello
list, 











resending
this, hoping somebody has an answer.











The
scriptTimeOut property for the application tag does not seem to be
working. (I am testing the app using the debug version of Flash Player 8).
I saw a thread reporting this issue in the flexcoders list
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg11465.html


But no definitive answer there...

Anybody on the list know if this has been resolved ?

TIA,

superabe








--
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: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0

2005-11-02 Thread Tracy Spratt
You mean some people don't do this already?
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Wednesday, November 02, 2005 12:16 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0

// this won't fly
var s = some text;

// this is good!
var s:String = some text;

You do the below for all variables that can be typecast/datatyped,
you'll 
save a LOT of time.


- Original Message - 
From: jwc_wensan [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 02, 2005 12:06 PM
Subject: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0


Jester:

Well, there is a deadline, but we do have SOME, not much, wiggle
room.

It was our initial opinion to proceed with Flex 1.5, but I wanted to
get other thoughts on the matter.

I am not exactly sure what you mean when you say type cast.  Can
you elaborate?

Thanks,

Jack

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

 No deadline?  PIMP!

 I'd use Flex 1.5, and convert to 2.0 when she's solid.

 I was originally under the impression that porting an app required
an
 inordinate amount of time, but was correct yesterday.
ActionScript only
 projects, a.k.a. Flash, take longer because they are heavy in
ActionScript.
 However, since MXML hasn't changed much in Flex 2, there is very
little you
 have to do.  Additionally, since the components underneath
abstract it, much
 of it still works as intended.

 As far as ActionScript, as long as you type cast correctly, the
only thing
 you have to do in 2 is declare your bindings explicitly by adding
some
 additional, small code.

 One of these dudes on here, whoever did the Flex Store app, did a
preso on
 this at MAX, although, I wasn't there so didn't see it.  His preso
might be
 online somewhere.

 - Original Message - 
 From: jwc_wensan [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 02, 2005 11:30 AM
 Subject: [flexcoders] Start Project with Flex 1.5 or Flex 2.0


 To All:

 We are beginning a large project that we project will take 3-4
 months to complete.  We are not tied to a deadline, but would like
 to have up and running by March 1, 2006.  We do have some wiggle
 room.

 My question(s) to the experts . . . .

 Would you develop with Flex 1.5 and then convert to Flex 2.0 when
it
 is released or start with Flex 2.0?  I realize it depends on the
 app, but anyone have info own time required to convert 1.5 app to
a
 2.0 app?  10% of original development? 20%?

 Best guess?

 There are some features in Flex 2.0 we need, but they do not have
to
 be there in our first release.

 If it is the concensus of this group that Flex 2.0 would be
released
 by April/May then we might decide to go straight to Flex 2.0

 If as with most software releases, probably more later than sooner,
 more like May/June then that puts us back in Flex 1.5.

 All opinions and insight will be welcomed.

 Thanking You In Advance,

 Jack









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








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








--
Flexcoders 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 ~-- 
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] AnimationPackage

2005-11-02 Thread Tracy Spratt
Title: AnimationPackage










I seem to recall reading here that that
class was developed for a client and the source was not publicly available.
Search the archives for confirmation.

Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha
Sent: Wednesday, November 02, 2005
1:39 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
AnimationPackage





Hi all,

I just downloaded AnimationPackage but can't
fid the Flip class that was used as an example on RichInternetApps. Does anyone have any info on that?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell : 209.275.0482

Fax : 408.284.2766









--
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] Loading a Flash 8 compiled AS 2.0 class into a Flex app and instantiate it

2005-11-02 Thread Roger Gonzalez
Classes are actually just magic definitions on _global.  If you were to
look at the decompiled code that sets up a new class, you'd see
something like:

if (!_global.SomeClass)
{
   _global.SomeClass = ...
}

So, it goes out of its way to not redefine classes.  First one in wins.

(Sidebar: Flex 2 and Flash 8.5 provide a more sophisticated mechanism
using ApplicationDomain to let you better partition or share class defs,
however you like.)

Now, it also turns out that you're kind of in trouble here - cross-SWF
definitions get really weird in FP7 and below.  AS code and assets
follow different rules.  The assets in the child are really only visible
when instantiated from a code context springing from the child itself.
Its maddening!  (Hence part of the reason for making it sane in Flash
8.5!)

SWFs loaded as RSLs are a special case in FP8 and below.  Maybe you can
exploit that... compile against a Flex stub, then sub in the Flash
version at runtime?

Remember not to touch any Flex classes from inside Flash, you need to
basically partition things.  You can try digging up the Flex4Flash.zip
file and pulling out the Flex components for compiling in Flash, but
there are a lot of scary gotchas with that.

Anyway, this is a really cool direction to check out, let us know if you
have any luck!

-Roger

Roger Gonzalez
mailto:[EMAIL PROTECTED]
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann
 Sent: Wednesday, November 02, 2005 8:39 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Loading a Flash 8 compiled AS 2.0 class 
 into a Flex app and instantiate it
 
 Hi,
 
 I'm having a hard time figuring out what happens here. I want to load
 Flash 8 bytecode into my Flex 1.5 application to gain access to FP8
 features (the app runs on FP8, SWF8 gets loaded into Flex app by using
 mx.controls.Loader) but this only works to a certain degree.  
 
 Instead of putting all functionality directly into the timeline of the
 SWF8 file and call those functions from Flex by doing
 loader.content.someFunction(), the SWF should really only act as a
 library for AS 2.0 classes. I only want to place something like
 
   foo.bar.MyClass;
 
 into the first frame of the SWF8 source file to get the class compiled
 in - this should be sufficient, right?
 
 Now, in my Flex 1.5 application I load the external SWF8 file 
 and after
 it got loaded I want to create a new instance of foo.bar.MyClass (the
 SWF8 version of course)
 
 So in my Flex 1.5 code I have something like this
 
   private function swfLoaded():Void {
 var foo:foo.bar.MyClass = new foo.bar.MyClass();
   }
 
 this of course compiles foo.bar.MyClass into the Flex 1.5 SWF 
 file - but
 I thought that loading in the SWF8 file would somehow overwrite the
 bytecode with the new version...
 
 Now the big question is: during runtime, which version of the 
 class will
 be instantiated? The class that got compiled into the SWF7 file or the
 newly loaded version of the SWF8 file?
 
 Any thoughts?
 
 Roger, you there?
 
 Thanks,
 Dirk.
 
 
  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
 
 
 
  
 
 
 


 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: Start Project with Flex 1.5 or Flex 2.0

2005-11-02 Thread Dave Wolf
The really  hysterical part is that we have Java going the other way,
towards auto boxing to primitive types. (auto casting primitives to
object wrappers)


-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY 

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:

 You mean some people don't do this already?
 Tracy
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of JesterXL
 Sent: Wednesday, November 02, 2005 12:16 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0
 
 // this won't fly
 var s = some text;
 
 // this is good!
 var s:String = some text;
 
 You do the below for all variables that can be typecast/datatyped,
 you'll 
 save a LOT of time.
 
 
 - Original Message - 
 From: jwc_wensan [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 02, 2005 12:06 PM
 Subject: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0
 
 
 Jester:
 
 Well, there is a deadline, but we do have SOME, not much, wiggle
 room.
 
 It was our initial opinion to proceed with Flex 1.5, but I wanted to
 get other thoughts on the matter.
 
 I am not exactly sure what you mean when you say type cast.  Can
 you elaborate?
 
 Thanks,
 
 Jack
 
 --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
 
  No deadline?  PIMP!
 
  I'd use Flex 1.5, and convert to 2.0 when she's solid.
 
  I was originally under the impression that porting an app required
 an
  inordinate amount of time, but was correct yesterday.
 ActionScript only
  projects, a.k.a. Flash, take longer because they are heavy in
 ActionScript.
  However, since MXML hasn't changed much in Flex 2, there is very
 little you
  have to do.  Additionally, since the components underneath
 abstract it, much
  of it still works as intended.
 
  As far as ActionScript, as long as you type cast correctly, the
 only thing
  you have to do in 2 is declare your bindings explicitly by adding
 some
  additional, small code.
 
  One of these dudes on here, whoever did the Flex Store app, did a
 preso on
  this at MAX, although, I wasn't there so didn't see it.  His preso
 might be
  online somewhere.
 
  - Original Message - 
  From: jwc_wensan [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Wednesday, November 02, 2005 11:30 AM
  Subject: [flexcoders] Start Project with Flex 1.5 or Flex 2.0
 
 
  To All:
 
  We are beginning a large project that we project will take 3-4
  months to complete.  We are not tied to a deadline, but would like
  to have up and running by March 1, 2006.  We do have some wiggle
  room.
 
  My question(s) to the experts . . . .
 
  Would you develop with Flex 1.5 and then convert to Flex 2.0 when
 it
  is released or start with Flex 2.0?  I realize it depends on the
  app, but anyone have info own time required to convert 1.5 app to
 a
  2.0 app?  10% of original development? 20%?
 
  Best guess?
 
  There are some features in Flex 2.0 we need, but they do not have
 to
  be there in our first release.
 
  If it is the concensus of this group that Flex 2.0 would be
 released
  by April/May then we might decide to go straight to Flex 2.0
 
  If as with most software releases, probably more later than sooner,
  more like May/June then that puts us back in Flex 1.5.
 
  All opinions and insight will be welcomed.
 
  Thanking You In Advance,
 
  Jack
 
 
 
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ:
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%
 40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 
 
 
 
 --
 Flexcoders 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 ~-- 
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] Re: Start Project with Flex 1.5 or Flex 2.0

2005-11-02 Thread JesterXL
I don't, hehe!

- Original Message - 
From: Tracy Spratt [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 02, 2005 3:03 PM
Subject: RE: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0


You mean some people don't do this already?
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Wednesday, November 02, 2005 12:16 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0

// this won't fly
var s = some text;

// this is good!
var s:String = some text;

You do the below for all variables that can be typecast/datatyped,
you'll 
save a LOT of time.


- Original Message - 
From: jwc_wensan [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 02, 2005 12:06 PM
Subject: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0


Jester:

Well, there is a deadline, but we do have SOME, not much, wiggle
room.

It was our initial opinion to proceed with Flex 1.5, but I wanted to
get other thoughts on the matter.

I am not exactly sure what you mean when you say type cast.  Can
you elaborate?

Thanks,

Jack

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

 No deadline?  PIMP!

 I'd use Flex 1.5, and convert to 2.0 when she's solid.

 I was originally under the impression that porting an app required
an
 inordinate amount of time, but was correct yesterday.
ActionScript only
 projects, a.k.a. Flash, take longer because they are heavy in
ActionScript.
 However, since MXML hasn't changed much in Flex 2, there is very
little you
 have to do.  Additionally, since the components underneath
abstract it, much
 of it still works as intended.

 As far as ActionScript, as long as you type cast correctly, the
only thing
 you have to do in 2 is declare your bindings explicitly by adding
some
 additional, small code.

 One of these dudes on here, whoever did the Flex Store app, did a
preso on
 this at MAX, although, I wasn't there so didn't see it.  His preso
might be
 online somewhere.

 - Original Message - 
 From: jwc_wensan [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 02, 2005 11:30 AM
 Subject: [flexcoders] Start Project with Flex 1.5 or Flex 2.0


 To All:

 We are beginning a large project that we project will take 3-4
 months to complete.  We are not tied to a deadline, but would like
 to have up and running by March 1, 2006.  We do have some wiggle
 room.

 My question(s) to the experts . . . .

 Would you develop with Flex 1.5 and then convert to Flex 2.0 when
it
 is released or start with Flex 2.0?  I realize it depends on the
 app, but anyone have info own time required to convert 1.5 app to
a
 2.0 app?  10% of original development? 20%?

 Best guess?

 There are some features in Flex 2.0 we need, but they do not have
to
 be there in our first release.

 If it is the concensus of this group that Flex 2.0 would be
released
 by April/May then we might decide to go straight to Flex 2.0

 If as with most software releases, probably more later than sooner,
 more like May/June then that puts us back in Flex 1.5.

 All opinions and insight will be welcomed.

 Thanking You In Advance,

 Jack









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








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








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



 



 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] Gaps between list items

2005-11-02 Thread Greg Morphis
Hiya,

When using cellrenderer to populate a list ex:
mx:List width=100%
height=100%
borderStyle=none
rowHeight=25
marginLeft=30
marginRight=30
textAlign=center
verticalGap=100
id=acts
dataProvider={ myDP }
labelField=activity
rollOverColor=0xFF
selectionColor=0xFF
initialize=AddActivityViewHelper.getActivities()

change=mx.core.Application.alert(event.target.selectedItem.color)

cellRenderer=com.alltel.rapid.aopscheduler.view.ActivityCellRenderer
dragEnabled=true
/mx:List


I cannot seem to get the verticalGap to work.
The cellRenderer is pretty plain...

?xml version=1.0 encoding=UTF-8?

mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml; height=49
width=100% 

mx:Script
![CDATA[
function setValue( str:String, item:Object, sel:Boolean ) {

this.d.text = item.activity;
this.setStyle(backgroundColor, item.color);
}
]]
/mx:Script


mx:Text id=d
height=100%
width=100%
marginTop=5
marginBottom=5
fontSize=12
fontWeight=bold
selectable=false/
/mx:Canvas


Everything I try to put a small gap fails. Can someone offer any suggestions?

Thanks!


--
Auxilium meum a Domino


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

2005-11-02 Thread Robert Thompson
What does the animation package do?

I'm interested in xml type models for high-end media
(ala DirectX sort of model; though I though it would
have a long way to go, I'm sure there is great room
for Macromedia to do this in a model shared by Tiger
and 'longborn').

I've noticed that ZAM3D (makers of Swift; Zam being a
product supporting such an xml type 3d model) started
out voicing support for both Flash and Avalon; now
they seem to be almost exclusively focusing on Avalon.

That bugs me because I know how people have been
talked into exclusing others (the company I worked at
for 7 years an MS guy came by and offered 'incentives'
for not supporting Netscape or Linux).

Any news on this Sho or Matt or any Macr guys on here?
 I work a lot with DAZ3D products and am familiar with
Python scripting and Poser animation and others; would
be interested in working with any technology for
character and environment animation.

I just love what Macromedia is doing -- like this kind
of fresh air has been so need O/S app. development for
15 years and now it's finally happening...not so much
the idea of screw ms, but Screw MS's methods of
dominance; I'm a Mac and PC user, I love both, and
Macromedia is the best viable platform for both in
this web age now becoming hi-media.

-r



--- Tracy Spratt [EMAIL PROTECTED] wrote:

 I seem to recall reading here that that class was
 developed for a client
 and the source was not publicly available.  Search
 the archives for
 confirmation.
 
 Tracy
 
  
 
 
 
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Mehdi, Agha
 Sent: Wednesday, November 02, 2005 1:39 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] AnimationPackage
 
  
 
 Hi all,
 
 I just downloaded AnimationPackage but can't fid the
 Flip class that was
 used as an example on RichInternetApps. Does anyone
 have any info on
 that?
 
 Thanks
 
 Agha Mehdi
 
 IDT - eBusiness Program Manager
 
 Work: 408.284.8239
 
 Cell  : 209.275.0482
 
 Fax  :  408.284.2766
 
 
 
 --
 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

http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+

site+design+developmentw2=Computer+software+developmentw3=Software+des

ign+and+developmentw4=Macromedia+flexc=4s=126.sig=ynjozILdtUiijfLjiz
 5l1Q  
 
 Computer software development

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We

b+site+design+developmentw2=Computer+software+developmentw3=Software+d

esign+and+developmentw4=Macromedia+flexc=4s=126.sig=i_RMdAMzxP1R8fB7
 NcnaqQ  
 
 Software design and development

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=

Web+site+design+developmentw2=Computer+software+developmentw3=Software

+design+and+developmentw4=Macromedia+flexc=4s=126.sig=4g8hODKyQov1GX
 OxaXG2Sg  
 
 Macromedia flex

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+

developmentw2=Computer+software+developmentw3=Software+design+and+deve

lopmentw4=Macromedia+flexc=4s=126.sig=hhODNnONza_qi3x2OWe-Qg
  
 
  
 
  
 
  
 
 
 
 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]
 
 
 *  Your use of Yahoo! Groups is subject to the
 Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 
 
 




__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs


 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] Image ScaleContent

2005-11-02 Thread jwc_wensan
I have the following code.

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;   
xmlns=*
   marginTop=0
   marginBottom=0
   marginLeft=0
   marginRight=0
   horizontalGap=0
   backgroundColor=#71897F

mx:VBox 
width=100% 
height=69
mx:Image
scaleContent=true 
source=@Embed('../images/MainMenuBackground.png')/
/mx:VBox

/mx:Application

I realize that the scaleContent does not need to be set, since the 
default is True, however, it does not scale either way.

I only displays the image width as it's real width.  In other words, 
the image is about 3/4 of the width of my app, but it does not scale 
all the way to the right.

I've looked at the manuals, which is where I found out about the 
scaleContent, but must be missing something.

Any ideas?

Thanks,

Jack





 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] Embed Flash 8 swf in Flex 1.5

2005-11-02 Thread superabe superabe



Is itpossible to embed a flash 8 swf into a Flex 1.5 app.?

I tried embedding a test swf with some basic actionscript into a Flex 1.5 app.
When the swf is exported as Version 7 it loads fine.
When exported as Version it gives the following error:

Exception java.lang.IllegalArgumentException 
symbol 1 not defined 


TIA
- superabe






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

   
  







  
  
  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] Inverted DataGrid

2005-11-02 Thread Dogra, Daman
Title: Inverted DataGrid








Hi,


Does anybody know a way to define rows instead of columns for a datagrid ?
I have a DataProvider (an array of objects called loansArray) which is created like this.





  var objOne:Object = new Object();

   objOne.mortgage = {prodId:19, productCode:30J, monthlyPayment:1000, interestRate:6.255};

  loansArray[0]=objOne;

  

  

  var objTwo:Object = new Object();

   objTwo.mortgage = {prodId:20, productCode:5/1, monthlyPayment:2000, interestRate:6.256};

  loansArray[1]=objTwo;


This data provider would have been perfect if I had to create a DataGrid like this


prodId  productCode  monthlyPayment  interestRate

19  30J   10006.255  

20  5/1   20006.256



However I need to create a DataGrid which looks like this


prodId   19  20

productCode  30J  5/1

monthlyPayment 1000  2000

intersetRate  6.255  6.256


How can I do this ?


Thanks

-Daman








--
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] Re: Start Project with Flex 1.5 or Flex 2.0

2005-11-02 Thread Gordon Smith
Waddya mean by not fly? Leaving off type annotations is legal AS3, but
it isn't recommended for serious apps. Without them the compiler can't
help you find a lot of programming mistakes, and your app will run
slower because all properties and methods have to be looked up in hash
tables on dynamic Objects.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Wednesday, November 02, 2005 9:16 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0

// this won't fly
var s = some text;

// this is good!
var s:String = some text;

You do the below for all variables that can be typecast/datatyped,
you'll 
save a LOT of time.


- Original Message - 
From: jwc_wensan [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 02, 2005 12:06 PM
Subject: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0


Jester:

Well, there is a deadline, but we do have SOME, not much, wiggle
room.

It was our initial opinion to proceed with Flex 1.5, but I wanted to
get other thoughts on the matter.

I am not exactly sure what you mean when you say type cast.  Can
you elaborate?

Thanks,

Jack

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

 No deadline?  PIMP!

 I'd use Flex 1.5, and convert to 2.0 when she's solid.

 I was originally under the impression that porting an app required
an
 inordinate amount of time, but was correct yesterday.
ActionScript only
 projects, a.k.a. Flash, take longer because they are heavy in
ActionScript.
 However, since MXML hasn't changed much in Flex 2, there is very
little you
 have to do.  Additionally, since the components underneath
abstract it, much
 of it still works as intended.

 As far as ActionScript, as long as you type cast correctly, the
only thing
 you have to do in 2 is declare your bindings explicitly by adding
some
 additional, small code.

 One of these dudes on here, whoever did the Flex Store app, did a
preso on
 this at MAX, although, I wasn't there so didn't see it.  His preso
might be
 online somewhere.

 - Original Message - 
 From: jwc_wensan [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 02, 2005 11:30 AM
 Subject: [flexcoders] Start Project with Flex 1.5 or Flex 2.0


 To All:

 We are beginning a large project that we project will take 3-4
 months to complete.  We are not tied to a deadline, but would like
 to have up and running by March 1, 2006.  We do have some wiggle
 room.

 My question(s) to the experts . . . .

 Would you develop with Flex 1.5 and then convert to Flex 2.0 when
it
 is released or start with Flex 2.0?  I realize it depends on the
 app, but anyone have info own time required to convert 1.5 app to
a
 2.0 app?  10% of original development? 20%?

 Best guess?

 There are some features in Flex 2.0 we need, but they do not have
to
 be there in our first release.

 If it is the concensus of this group that Flex 2.0 would be
released
 by April/May then we might decide to go straight to Flex 2.0

 If as with most software releases, probably more later than sooner,
 more like May/June then that puts us back in Flex 1.5.

 All opinions and insight will be welcomed.

 Thanking You In Advance,

 Jack









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








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








--
Flexcoders 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 ~-- 
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] Embed Flash 8 swf in Flex 1.5

2005-11-02 Thread Roger Gonzalez





No, please see my comments in a previous thread.

Flex 1.5's SWF parseris incapable of parsing the new Flash 8 
tags. Unfortunately, you can't just avoid the new tags, because Studio 8 
writes fancy-schmancy new tags for all shapes and fonts.

Dirk Eismann is trying a runtime-based approach that will be cool if it 
worksthough, basically making an AS2 facade over the FP8 features in a 
separate SWF. There's a current thread on this.

-RogerRoger 
Gonzalez[EMAIL PROTECTED] 


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of superabe 
  superabeSent: Wednesday, November 02, 2005 1:10 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Embed Flash 8 swf 
  in Flex 1.5
  
  Is itpossible to embed a flash 8 swf into a Flex 1.5 app.?
  
  I tried embedding a test swf with some basic actionscript into a Flex 1.5 
  app.
  When the swf is exported as Version 7 it loads fine.
  When exported as Version it gives the following error:
  
  Exception java.lang.IllegalArgumentException 
  symbol 1 not defined 
  
  
  TIA
  - 
  superabe





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

   
  







  
  
  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] Re: Start Project with Flex 1.5 or Flex 2.0

2005-11-02 Thread JesterXL
Exactly; if you aren't going to use strict datatyping, why use Flash Player 
8.5?  Because it has Socket?  No, not just that, because it's fast as nuts 
if you follow the strict datatyping rules!

- Original Message - 
From: Gordon Smith [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 02, 2005 4:14 PM
Subject: RE: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0


Waddya mean by not fly? Leaving off type annotations is legal AS3, but
it isn't recommended for serious apps. Without them the compiler can't
help you find a lot of programming mistakes, and your app will run
slower because all properties and methods have to be looked up in hash
tables on dynamic Objects.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Wednesday, November 02, 2005 9:16 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0

// this won't fly
var s = some text;

// this is good!
var s:String = some text;

You do the below for all variables that can be typecast/datatyped,
you'll
save a LOT of time.


- Original Message - 
From: jwc_wensan [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 02, 2005 12:06 PM
Subject: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0


Jester:

Well, there is a deadline, but we do have SOME, not much, wiggle
room.

It was our initial opinion to proceed with Flex 1.5, but I wanted to
get other thoughts on the matter.

I am not exactly sure what you mean when you say type cast.  Can
you elaborate?

Thanks,

Jack

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

 No deadline?  PIMP!

 I'd use Flex 1.5, and convert to 2.0 when she's solid.

 I was originally under the impression that porting an app required
an
 inordinate amount of time, but was correct yesterday.
ActionScript only
 projects, a.k.a. Flash, take longer because they are heavy in
ActionScript.
 However, since MXML hasn't changed much in Flex 2, there is very
little you
 have to do.  Additionally, since the components underneath
abstract it, much
 of it still works as intended.

 As far as ActionScript, as long as you type cast correctly, the
only thing
 you have to do in 2 is declare your bindings explicitly by adding
some
 additional, small code.

 One of these dudes on here, whoever did the Flex Store app, did a
preso on
 this at MAX, although, I wasn't there so didn't see it.  His preso
might be
 online somewhere.

 - Original Message - 
 From: jwc_wensan [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 02, 2005 11:30 AM
 Subject: [flexcoders] Start Project with Flex 1.5 or Flex 2.0


 To All:

 We are beginning a large project that we project will take 3-4
 months to complete.  We are not tied to a deadline, but would like
 to have up and running by March 1, 2006.  We do have some wiggle
 room.

 My question(s) to the experts . . . .

 Would you develop with Flex 1.5 and then convert to Flex 2.0 when
it
 is released or start with Flex 2.0?  I realize it depends on the
 app, but anyone have info own time required to convert 1.5 app to
a
 2.0 app?  10% of original development? 20%?

 Best guess?

 There are some features in Flex 2.0 we need, but they do not have
to
 be there in our first release.

 If it is the concensus of this group that Flex 2.0 would be
released
 by April/May then we might decide to go straight to Flex 2.0

 If as with most software releases, probably more later than sooner,
 more like May/June then that puts us back in Flex 1.5.

 All opinions and insight will be welcomed.

 Thanking You In Advance,

 Jack









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








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








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








 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 

Re: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0

2005-11-02 Thread JesterXL
To say it another way, utilizing AS3 without using strict-datatyping seems 
like one is missing the point of using Flash Player 8.5.

- Original Message - 
From: Gordon Smith [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 02, 2005 4:14 PM
Subject: RE: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0


Waddya mean by not fly? Leaving off type annotations is legal AS3, but
it isn't recommended for serious apps. Without them the compiler can't
help you find a lot of programming mistakes, and your app will run
slower because all properties and methods have to be looked up in hash
tables on dynamic Objects.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Wednesday, November 02, 2005 9:16 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0

// this won't fly
var s = some text;

// this is good!
var s:String = some text;

You do the below for all variables that can be typecast/datatyped,
you'll
save a LOT of time.


- Original Message - 
From: jwc_wensan [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 02, 2005 12:06 PM
Subject: [flexcoders] Re: Start Project with Flex 1.5 or Flex 2.0


Jester:

Well, there is a deadline, but we do have SOME, not much, wiggle
room.

It was our initial opinion to proceed with Flex 1.5, but I wanted to
get other thoughts on the matter.

I am not exactly sure what you mean when you say type cast.  Can
you elaborate?

Thanks,

Jack

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

 No deadline?  PIMP!

 I'd use Flex 1.5, and convert to 2.0 when she's solid.

 I was originally under the impression that porting an app required
an
 inordinate amount of time, but was correct yesterday.
ActionScript only
 projects, a.k.a. Flash, take longer because they are heavy in
ActionScript.
 However, since MXML hasn't changed much in Flex 2, there is very
little you
 have to do.  Additionally, since the components underneath
abstract it, much
 of it still works as intended.

 As far as ActionScript, as long as you type cast correctly, the
only thing
 you have to do in 2 is declare your bindings explicitly by adding
some
 additional, small code.

 One of these dudes on here, whoever did the Flex Store app, did a
preso on
 this at MAX, although, I wasn't there so didn't see it.  His preso
might be
 online somewhere.

 - Original Message - 
 From: jwc_wensan [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 02, 2005 11:30 AM
 Subject: [flexcoders] Start Project with Flex 1.5 or Flex 2.0


 To All:

 We are beginning a large project that we project will take 3-4
 months to complete.  We are not tied to a deadline, but would like
 to have up and running by March 1, 2006.  We do have some wiggle
 room.

 My question(s) to the experts . . . .

 Would you develop with Flex 1.5 and then convert to Flex 2.0 when
it
 is released or start with Flex 2.0?  I realize it depends on the
 app, but anyone have info own time required to convert 1.5 app to
a
 2.0 app?  10% of original development? 20%?

 Best guess?

 There are some features in Flex 2.0 we need, but they do not have
to
 be there in our first release.

 If it is the concensus of this group that Flex 2.0 would be
released
 by April/May then we might decide to go straight to Flex 2.0

 If as with most software releases, probably more later than sooner,
 more like May/June then that puts us back in Flex 1.5.

 All opinions and insight will be welcomed.

 Thanking You In Advance,

 Jack









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








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








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








 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:

Re: [flexcoders] Embed Flash 8 swf in Flex 1.5

2005-11-02 Thread superabe superabe



Thanks for the reply.
Bummer about the parser.

Works fine when loading the swf at runtime. 
So will try work with that (although from your comments below it seems thats not supposed to be so straightforward) ?

- superabe

On 11/2/05, Roger Gonzalez [EMAIL PROTECTED] wrote:

No, please see my comments in a previous thread.

Flex 1.5's SWF parseris incapable of parsing the new Flash 8 tags. Unfortunately, you can't just avoid the new tags, because Studio 8 writes fancy-schmancy new tags for all shapes and fonts.


Dirk Eismann is trying a runtime-based approach that will be cool if it worksthough, basically making an AS2 facade over the FP8 features in a separate SWF. There's a current thread on this.


-RogerRoger Gonzalez[EMAIL PROTECTED] 





From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of superabe superabeSent: Wednesday, November 02, 2005 1:10 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Embed Flash 8 swf in Flex 1.5


Is itpossible to embed a flash 8 swf into a Flex 1.5 app.?

I tried embedding a test swf with some basic actionscript into a Flex 1.5 app.
When the swf is exported as Version 7 it loads fine.
When exported as Version it gives the following error:

Exception java.lang.IllegalArgumentException 
symbol 1 not defined 


TIA
- superabe--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 


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 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] Inverted DataGrid

2005-11-02 Thread Anatole Tartakovsky
Title: Inverted DataGrid





Daman, 

 Short answer 
is here ;-) - just rotate the array. However, if you need "real life" 
application with large number of columns/rows as well 
asnavigation/tips/formatting of the cellsit might be more 
appropriate to use cellrenderers and create "columns" collection on 
datagrid.The next level of FLEXibility and power - dynamic 
crosstabs- old spreadsheets - can also be easily facilitated by using 
custom dataProviders. You basicallyhave to choose your options as the task 
expands
:
===
?xml 
version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
initialize="initApp();"mx:Script![CDATA[var 
rotated;
var 
loansArray ;function initApp() {
 
rotated = = new Array(); loansArray = new 
Array();var objOne:Object = new Object(); 
objOne = {prodId:19, productCode:"30J", monthlyPayment:1000, 
interestRate:6.255}; loansArray[0]=objOne; 
var objTwo:Object = new 
Object(); objTwo = {prodId:20, productCode:"5/1", 
monthlyPayment:2000, interestRate:6.256}; loansArray[1]=objTwo; 
var j = 0;for (var col in objOne) 
{rotated[j] = new Object();for (var 
i = loansArray.length - 1; i =0; 
i--)rotated[j]["col" + i] = 
loansArray[i][col];rotated[j]["abc"] = 
col;j++;}dg1.dataProvider=loansArray;dg2.dataProvider=rotated;}]]/mx:Scriptmx:DataGrid 
id="dg1" /mx:DataGrid id="dg2" 
showHeaders="false"//mx:Application
Hope this helps,
Anatole Tartakovsky
CTI
917-304-3381

  - Original Message - 
  From: 
  Dogra, 
  Daman 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, November 02, 2005 4:03 
  PM
  Subject: [flexcoders] Inverted 
  DataGrid
  
  Hi, 
  Does anybody know a way to define rows instead of 
  columns for a datagrid ?I have a DataProvider (an array of objects called 
  loansArray) which is created like this. 
   
   
   var 
  objOne:Object = new Object();  
   
   objOne.mortgage = {prodId:19, 
  productCode:"30J", monthlyPayment:1000, interestRate:6.255}; 
   
   loansArray[0]=objOne; 
   
   
   
   
   
   var 
  objTwo:Object = new Object();  
   
   objTwo.mortgage = {prodId:20, 
  productCode:"5/1", monthlyPayment:2000, interestRate:6.256}; 
   
   loansArray[1]=objTwo; 
  This data provider would have been perfect if I had 
  to create a DataGrid like this 
  prodId 
   productCode 
   monthlyPayment 
   interestRate 19 
   30J 
   
   1000 
   
   
   6.255 
   20 
   5/1 
   
   2000 
   
   
   6.256 
  However I need to create a DataGrid which looks 
  like this 
  prodId 
   
   19 
   20 productCode 
   30J 
   5/1 monthlyPayment 1000 
   2000 intersetRate 
   6.255 
   6.256 
  How can I do this ? 
  Thanks -Daman 
  





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

   
  







  
  
  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] Problem dynamically creating text controls

2005-11-02 Thread pasflex
We have an application where we are dynamically creating various 
controls in containers in a viewstack.  If a text control is created 
in a non-visible layer of the viewstack, the height of the control 
is not correct.  This only happens for text controls in 1.5.  It 
does not seem to happen in 2.0.  Is this a bug or is there something 
we are missing?

Thanks

Here is some code that demonstrates the problem:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; 
creationComplete=initLayout()
mx:Panel width=250 height=300
mx:ViewStack id=vs width=100% height=100%
mx:VBox id=vb1 width=100% 
height=100%/mx:VBox
mx:VBox id=vb2 width=100% 
height=100%/mx:VBox
/mx:ViewStack
/mx:Panel
mx:Script
![CDATA[
var textArray = new Array(The quick brown fox 
jumped over the lazy dog,

  The quick brown fox jumped over the lazy dog,

  The quick brown fox jumped over the lazy dog);
function initLayout():Void {
for (var i=0; itextArray.length; i++) {
vb1.createChild
(mx.controls.Text, , {text:textArray[i], width:100%});
vb2.createChild
(mx.controls.Text, , {text:textArray[i], width:100%});
}
var vb1Button = vb1.createChild
(mx.controls.Button,, {label:vbox 2, id:button1});
vb1Button.addEventListener(click, this);
var vb2Button = vb2.createChild
(mx.controls.Button,, {label:vbox 1, id:button2});
vb2Button.addEventListener(click, this);
}

function handleEvent(event:Object):Void {
if( event.type == click ) {
if (event.target.id = button1) {
vs.selectedIndex = 1;
}
if (event.target.id = button2) {
vs.selectedIndex = 0;
}
}
}
]]
/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/
 




[flexcoders] bugzilla or something like that for Alpha 1?

2005-11-02 Thread Robert Thompson
Is there a process for reporting issues here and there
with Flex Builder 2?  Something like bugzilla would be
cool, or is the process just to post to this group.

(sorry if this is in the faq; I need to save that on
my desktop)




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


 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] Embed Flash 8 swf in Flex 1.5

2005-11-02 Thread Roger Gonzalez
It depends on the interaction.  

It works fine to just display a FP8 SWF as a child display object, but
if you wanted to actually have some FP8 functionality callable (say, a
blur this thing utility) directly from Flex code, you'd need to jump
through some hoops.

-rg 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of superabe superabe
 Sent: Wednesday, November 02, 2005 3:10 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Embed Flash 8 swf in Flex 1.5
 
 Thanks for the reply.
 Bummer about the parser.
  
 Works fine when loading the swf at runtime. 
 So will try work with that (although from your comments below 
 it seems thats not supposed to be so straightforward) ?
  
 - superabe
 
 
  
 On 11/2/05, Roger Gonzalez [EMAIL PROTECTED] wrote: 
 
   No, please see my comments in a previous thread.

   Flex 1.5's SWF parser is incapable of parsing the new 
 Flash 8 tags.  Unfortunately, you can't just avoid the new 
 tags, because Studio 8 writes fancy-schmancy new tags for all 
 shapes and fonts. 

   Dirk Eismann is trying a runtime-based approach that 
 will be cool if it works though, basically making an AS2 
 facade over the FP8 features in a separate SWF.  There's a 
 current thread on this. 

   -Roger
   
   Roger Gonzalez
   [EMAIL PROTECTED] 
   
   
   

 
 
 
 
   From: flexcoders@yahoogroups.com [mailto: 
 flexcoders@yahoogroups.com 
 mailto:flexcoders@yahoogroups.com ] On Behalf Of superabe superabe
   Sent: Wednesday, November 02, 2005 1:10 PM
   To: flexcoders@yahoogroups.com 
 mailto:flexcoders@yahoogroups.com 
   Subject: [flexcoders] Embed Flash 8 swf in Flex 1.5
   

   
   Is it possible to embed a flash 8 swf into a 
 Flex 1.5 app.?

   I tried embedding a test swf with some basic 
 actionscript into a Flex 1.5 app.
   When the swf is exported as Version 7 it loads fine.
   When exported as Version it gives the following error:

   Exception java.lang.IllegalArgumentException 
   symbol 1 not defined 


   TIA
   - superabe
 
 
   --
   Flexcoders Mailing List
   FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.t
 xt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
   Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com  
   
   
   
   
   SPONSORED LINKS 
 Web site design development 
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developme
 ntw1=Web+site+design+developmentw2=Computer+software+develop
 mentw3=Software+design+and+developmentw4=Macromedia+flexc=4
 s=126.sig=ynjozILdtUiijfLjiz5l1Q   Computer software 
 development 
 http://groups.yahoo.com/gads?t=msk=Computer+software+develop
 mentw1=Web+site+design+developmentw2=Computer+software+devel
 opmentw3=Software+design+and+developmentw4=Macromedia+flexc
 =4s=126.sig=i_RMdAMzxP1R8fB7NcnaqQ Software design 
 and development 
 http://groups.yahoo.com/gads?t=msk=Software+design+and+devel
 opmentw1=Web+site+design+developmentw2=Computer+software+dev
 elopmentw3=Software+design+and+developmentw4=Macromedia+flex
 c=4s=126.sig=4g8hODKyQov1GXOxaXG2Sg   
 Macromedia flex 
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+si
 te+design+developmentw2=Computer+software+developmentw3=Soft
 ware+design+and+developmentw4=Macromedia+flexc=4s=126.sig=
 hhODNnONza_qi3x2OWe-Qg   
 
 
 
   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] 

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

[flexcoders] To code-behind or not to code-behind?

2005-11-02 Thread Julian Suggate



Gidday everyone,

Years back, I wrote php scripts with code embedded in the html and it led to maintenance hassles. Since then, I've migrated to Java and now .NET and what I liked about their models was the ability to separate the code into code-behind, something done quite elegantly in 
ASP.NET. These eliminated a lot of the maintenance problems I'd encountered earlier with PHP.

So when I saw macromedia's examples of mxml with mx:Script.../mx:Script blocks embedded directly into the mxml,I immediately searched for a way to avoid this. I found that i could add a source=.. attribute to the mx:Script element and the AS code would be included by the compiler from an external file at compile time. The IDE was even smart enough that any elements I'd defined with id attributes in the mxml showed up with intellisense in the included AS file (I am using Flex Builder 2, not sure if 
FB1.5 had that feature or not).

But now I'm having second thoughts. It kinda feels like going against thegrain. I don't want to carry old biases into a new paradigm unnecessarily. I read an article by Aral Balkan (of ARP fame) endorsing the code-behind approach quite strongly, but by the same token, all sample apps from the Cairngorm team freely mix mxml and AS code, as do examples from macromedia themselves.


I note though, that the Cairngorm framework itself is all pure AS; it is only the sample apps that use inline actionscript. 

I can't seem to find a best practice anywhere, because for every framework/example/article I find that seems to hint at one way of doing things, I find another one that suggests the opposite! Has anyone else with more Flex experience than me answered this question, particularly in terms of which approach is easier to maintain? 


At this stage, any hintswould be appreciated!

TIA,
Jules






--
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] Flex2: component and generated source code?

2005-11-02 Thread Julian Suggate



Hi all,

Anyone know where/if we can get our hands on the component source for the Flex2 Alpha?

Also, there's a directory underneath my FB2 project tree called generated but it always seems empty! Is therea way to inspect the generated as3 code in Flex2 projects? Just for interests sake more than anything else...


Jules






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

   
  







  
  
  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] To code-behind or not to code-behind?

2005-11-02 Thread JesterXL





This sucked royally in 1.5. You had to make 
your AS file a class, AND you had to define the control variables in the AS; 
meaning, if you used a button with an id of "my_pb", you had to import the 
mx.controls.Button class, and define the private var my_pb:Button up top... for 
every damn control. Lame.

I know a lot of people find this way of development 
extremely alien, ecspecially from a Flash development background, but you fall 
in love eventually. The Cairngorm work my fellow employee's use, however, 
uses the same approach; external AS filesfor a lot of MXML 
files.

Me personally, in 1.5 land, enjoy AS  MXML in 
one file. I don't, currently, utilize ViewHelpers on any project and had 
to work into getting used to this. However, it feels great to have my 
controls  my code that handles their event dispatching right 
there.

Guys at work use a lot of code seperation, mainly 
with very simple ViewHelpers. When it was shown to me, it made a lot of 
sense as to why you would do that, but I still have the feeling that, for me, my 
business delegates to massage the data into a globally usable format; an array 
of objects. So, ViewHelpers, at least currently, seem very unusable 
to me, thus, I'd still keep AS inline. Things could change.

Additionally, most of my projects are new, fresh, 
and disposable. If we ever were to add features to any of the project(s) 
I'm working on, it'd be a re-write, so maintaence isn't a consideration. 
When I compare the amount of Views I have compared with some of the existing 
applications I've seen at the company I'm contracting with, I realize I'm making 
extremely complex components that fit into larger applications, so maybe my 
skillset as a Flash component developer is making me subjective in the maintance 
realm.

...all I know is, I can open old MXML files I've 
done in the past, and 1 file clearly shows how it works to me; at least for 
Views; Application.mxml  Controller classes are usually tied into ARP or 
Cairngorm, so you have to do more digging, but that's usually a lot of 
ActionScript anyway.

Personally, I feel we are still developing best 
practices. Originally, most Flex developers I felt were Enterprise 
JSP/Java developers who had a paradigm of thinking and Cairngorm worked well in 
that. With the influx of .NET/ASP, Flash, and traditional web developers, 
I think things may keep changing for awhile.

- Original Message - 
From: Julian Suggate 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, November 02, 2005 10:31 PM
Subject: [flexcoders] To code-behind or not to 
code-behind?

Gidday everyone,

Years back, I wrote php scripts with code embedded in the html and it led 
to maintenance hassles. Since then, I've migrated to Java and now .NET and what 
I liked about their models was the ability to separate the code into 
"code-behind", something done quite elegantly in ASP.NET. These eliminated a lot of the maintenance 
problems I'd encountered earlier with PHP.

So when I saw macromedia's examples of mxml with 
mx:Script.../mx:Script blocks embedded directly into the 
mxml,I immediately searched for a way to avoid this. I found that i could 
add a source=".." attribute to the mx:Script element and the AS code would be 
included by the compiler from an external file at compile time. The IDE was even 
smart enough that any elements I'd defined with id attributes in the mxml showed 
up with intellisense in the included AS file (I am using Flex Builder 2, not 
sure if FB1.5 had that feature or not).

But now I'm having second thoughts. It kinda feels like going against 
thegrain. I don't want to carry old biases into a new paradigm 
unnecessarily. I read an article by Aral Balkan (of ARP fame) endorsing the 
code-behind approach quite strongly, but by the same token, all sample apps from 
the Cairngorm team freely mix mxml and AS code, as do examples from macromedia 
themselves. 

I note though, that the Cairngorm framework itself is all pure AS; it is 
only the sample apps that use inline actionscript. 

I can't seem to find a best practice anywhere, because for every 
framework/example/article I find that seems to hint at one way of doing things, 
I find another one that suggests the opposite! Has anyone else with more Flex 
experience than me answered this question, particularly in terms of which 
approach is easier to maintain? 

At this stage, any hintswould be appreciated!

TIA,
Jules





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  

   
  

RE: [flexcoders] To code-behind or not to code-behind?

2005-11-02 Thread Matt Horn





Guilty. The examples in the Flex documentation usually mix 
AS and MXML... but we do this mostly for readability.Plus, we want people 
to be able to just copy a sample out of the doc and paste it into a file and run 
it -- without worrying about file structures, relative vs absolute paths, etc. 


This doesn't mean we shouldn't try to improve on the 
samples somehow...

matt horn
flex docs

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Julian 
  SuggateSent: Wednesday, November 02, 2005 10:31 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] To code-behind or 
  not to code-behind?
  
  Gidday everyone,
  
  Years back, I wrote php scripts with code embedded in the html and it led 
  to maintenance hassles. Since then, I've migrated to Java and now .NET and 
  what I liked about their models was the ability to separate the code into 
  "code-behind", something done quite elegantly in ASP.NET. These eliminated a lot of the maintenance 
  problems I'd encountered earlier with PHP.
  
  So when I saw macromedia's examples of mxml with 
  mx:Script.../mx:Script blocks embedded directly into the 
  mxml,I immediately searched for a way to avoid this. I found that i 
  could add a source=".." attribute to the mx:Script element and the AS code 
  would be included by the compiler from an external file at compile time. The 
  IDE was even smart enough that any elements I'd defined with id attributes in 
  the mxml showed up with intellisense in the included AS file (I am using Flex 
  Builder 2, not sure if FB1.5 had that feature or not).
  
  But now I'm having second thoughts. It kinda feels like going against 
  thegrain. I don't want to carry old biases into a new paradigm 
  unnecessarily. I read an article by Aral Balkan (of ARP fame) endorsing the 
  code-behind approach quite strongly, but by the same token, all sample apps 
  from the Cairngorm team freely mix mxml and AS code, as do examples from 
  macromedia themselves. 
  
  I note though, that the Cairngorm framework itself is all pure AS; it is 
  only the sample apps that use inline actionscript. 
  
  I can't seem to find a best practice anywhere, because for every 
  framework/example/article I find that seems to hint at one way of doing 
  things, I find another one that suggests the opposite! Has anyone else with 
  more Flex experience than me answered this question, particularly in terms of 
  which approach is easier to maintain? 
  
  At this stage, any hintswould be appreciated!
  
  TIA,
  Jules





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

   
  







  
  
  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] To code-behind or not to code-behind?

2005-11-02 Thread Roger Gonzalez
You might want to search the archives, we had a long chat about this
recently.

The conclusion that I personally push is to avoid relying on script
source inclusion but rather to either

a) create custom base classes and derive your MXML components from them,
and/or
b) aggregate helper objects, and/or
c) factor the MXML into metacomponents with well defined interfaces.

I find that inline OR external script snippets get messy and out of
control, and you're generally better off following standard OO
programming.

Another way of looking at it is that if your MXML is looking more like
AS code than like MXML, you're probably better off refactoring things.
When any given MXML class is down to 10-15 lines of script, things look
pretty clean, and it seems better to just put it inline.

(personal opinions here, we argue this one internally quite a bit!)
-rg

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Julian Suggate
 Sent: Wednesday, November 02, 2005 7:31 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] To code-behind or not to code-behind?
 
 Gidday everyone,
  
 Years back, I wrote php scripts with code embedded in the 
 html and it led to maintenance hassles. Since then, I've 
 migrated to Java and now .NET and what I liked about their 
 models was the ability to separate the code into 
 code-behind, something done quite elegantly in ASP.NET. 
 These eliminated a lot of the maintenance problems I'd 
 encountered earlier with PHP.
  
 So when I saw macromedia's examples of mxml with 
 mx:Script.../mx:Script blocks embedded directly into the 
 mxml, I immediately searched for a way to avoid this. I found 
 that i could add a source=.. attribute to the mx:Script 
 element and the AS code would be included by the compiler 
 from an external file at compile time. The IDE was even smart 
 enough that any elements I'd defined with id attributes in 
 the mxml showed up with intellisense in the included AS file 
 (I am using Flex Builder 2, not sure if FB1.5 had that 
 feature or not).
  
 But now I'm having second thoughts. It kinda feels like going 
 against the grain. I don't want to carry old biases into a 
 new paradigm unnecessarily. I read an article by Aral Balkan 
 (of ARP fame) endorsing the code-behind approach quite 
 strongly, but by the same token, all sample apps from the 
 Cairngorm team freely mix mxml and AS code, as do examples 
 from macromedia themselves. 
  
 I note though, that the Cairngorm framework itself is all 
 pure AS; it is only the sample apps that use inline actionscript. 
  
 I can't seem to find a best practice anywhere, because for 
 every framework/example/article I find that seems to hint at 
 one way of doing things, I find another one that suggests the 
 opposite! Has anyone else with more Flex experience than me 
 answered this question, particularly in terms of which 
 approach is easier to maintain? 
  
 At this stage, any hints would be appreciated! 
  
 TIA,
 Jules
 
 
 --
 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] 
 
 *  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/
 





Re: [flexcoders] To code-behind or not to code-behind?

2005-11-02 Thread JesterXL
What's a helper object?

- Original Message - 
From: Roger Gonzalez [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 02, 2005 11:22 PM
Subject: RE: [flexcoders] To code-behind or not to code-behind?


You might want to search the archives, we had a long chat about this
recently.

The conclusion that I personally push is to avoid relying on script
source inclusion but rather to either

a) create custom base classes and derive your MXML components from them,
and/or
b) aggregate helper objects, and/or
c) factor the MXML into metacomponents with well defined interfaces.

I find that inline OR external script snippets get messy and out of
control, and you're generally better off following standard OO
programming.

Another way of looking at it is that if your MXML is looking more like
AS code than like MXML, you're probably better off refactoring things.
When any given MXML class is down to 10-15 lines of script, things look
pretty clean, and it seems better to just put it inline.

(personal opinions here, we argue this one internally quite a bit!)
-rg

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Julian Suggate
 Sent: Wednesday, November 02, 2005 7:31 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] To code-behind or not to code-behind?
 
 Gidday everyone,
  
 Years back, I wrote php scripts with code embedded in the 
 html and it led to maintenance hassles. Since then, I've 
 migrated to Java and now .NET and what I liked about their 
 models was the ability to separate the code into 
 code-behind, something done quite elegantly in ASP.NET. 
 These eliminated a lot of the maintenance problems I'd 
 encountered earlier with PHP.
  
 So when I saw macromedia's examples of mxml with 
 mx:Script.../mx:Script blocks embedded directly into the 
 mxml, I immediately searched for a way to avoid this. I found 
 that i could add a source=.. attribute to the mx:Script 
 element and the AS code would be included by the compiler 
 from an external file at compile time. The IDE was even smart 
 enough that any elements I'd defined with id attributes in 
 the mxml showed up with intellisense in the included AS file 
 (I am using Flex Builder 2, not sure if FB1.5 had that 
 feature or not).
  
 But now I'm having second thoughts. It kinda feels like going 
 against the grain. I don't want to carry old biases into a 
 new paradigm unnecessarily. I read an article by Aral Balkan 
 (of ARP fame) endorsing the code-behind approach quite 
 strongly, but by the same token, all sample apps from the 
 Cairngorm team freely mix mxml and AS code, as do examples 
 from macromedia themselves. 
  
 I note though, that the Cairngorm framework itself is all 
 pure AS; it is only the sample apps that use inline actionscript. 
  
 I can't seem to find a best practice anywhere, because for 
 every framework/example/article I find that seems to hint at 
 one way of doing things, I find another one that suggests the 
 opposite! Has anyone else with more Flex experience than me 
 answered this question, particularly in terms of which 
 approach is easier to maintain? 
  
 At this stage, any hints would be appreciated! 
  
 TIA,
 Jules
 
 
 --
 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] 
   
 * Your use of Yahoo! Groups is subject to the Yahoo! 
 Terms of Service 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



 




 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] bugzilla or something like that for Alpha 1?

2005-11-02 Thread Matt Chotin










You can go through the wish from: http://www.macromedia.com/go/wish
for now, were not opening the full bugbase up.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Thompson
Sent: Wednesday, November 02, 2005
3:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] bugzilla or
something like that for Alpha 1?





Is there a process for reporting issues here and there
with Flex Builder 2? Something like bugzilla
would be
cool, or is the process just to post to this
group.

(sorry if this is in the faq; I need to save that
on
my desktop)


 

 
__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.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.



  











RE: [flexcoders] Setting the HTTP proxy in Flex2

2005-11-02 Thread Matt Chotin










The proxy isnt available in the
alpha right now, when we preview Flex Enterprise Services in a little while it
will be come available. In the meantime if you go through your web browser and
your browser has the proxy setup the services should use that as well.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alban Soupper
Sent: Wednesday, November 02, 2005
5:28 AM
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] Setting the
HTTP proxy in Flex2





Hi all,

I just began to play/test Flex2, but I failed to
find where to specify the
HTTP proxy to access the Internet (we have a
firewall in the company).

I found this code in the documentation but I don't
know where to put this...
proxy-service
 external-proxy

locationbluecoat.eim.ch:80/location

usernameeim_guest/username

passwordeim_guest/password
 /external-proxy
/proxy-service


Any help is welcomed :)

Alban.



***

This email and any files transmitted with it are
confidential and
intended solely for the use of the individual or
entity to whom they
are addressed. If you have received this email in
error please notify
the system manager to [EMAIL PROTECTED]

***









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

   
  







  
  
  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] problem adapting to FLEX 2 on defining variables

2005-11-02 Thread Matt Chotin










So why not take that array collection that
worked and assign to the DataGrid? Thats what DataGrid expects now.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of yaagcur
Sent: Wednesday, November 02, 2005
8:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] problem
adapting to FLEX 2 on defining variables





I had the following
working OK in FLEX 1.5

mx:Script
 ![CDATA[
var gridResult:Object

function getPlayersResultHandler(result):Void {

gridResult=result;
// other stuff
}

]]
/mx:Script

mx:DataGrid
dataProvider={gridResult}

However I am finding it impossible to duplicate in
FLEX2/AS3

I have tried various alternatives e.g
[BINDABLE]
public var myTest:Object - which gives me a
no type declaration error

Placing the variable within the resulthandler
gives an access of
undefined property error (predictably I
suppose) in the mx:DataGrid

The data is coming across OK because if I
alternatively do
mx:ArrayCollection id=gridResult
source={mx.utils.ArrayUtil.toArray(ContactService.getPlayers.result)}
/
I can populate fine
And also putting breakpoints in the resulthandler
I get debug results
e.g
result=[](0x6c5c746)
[0] Object
FULLNAME=Joe Blow











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

   
  







  
  
  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] CellRenderer for datagrid

2005-11-02 Thread Matt Chotin










Do you know which column should have the
cellRenderer? You can just iterate through the columns later (getColumnAt) and
assign the cellRenderer in ActionScript.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Parekh, Shweta - BLS CTR
Sent: Wednesday, November 02, 2005
8:21 AM
To: 'flexcoders@yahoogroups.com'
Cc: Dang, Charlotte - BLS
Subject: [flexcoders] CellRenderer
for datagrid





Hi,

I have a problem with using cellrenderer at
datagrid level. Attached is a
sample of the application which I'm using to test
the cellrenderer. If I
have the renderer at column level,
mx:DataGridColumn columnName=active
width=50
cellRenderer=CellColorRenderer/, when I click on the cells
under active column, the background
color of the cells change. However,
for my case, I can't explicitly define the columns,
they generate based on
the data result so I need to use a different
path. I tried to have the
renderer at datagrid level, mx:DataGrid
id=employee_dg
dataProvider={department.employees.employee}
editable=true
cellRenderer=CellColorRenderer, it
does not work. Please help!!!

Thanks in advance,

Shweta
CellColorRenderer.mxml
department.mxml Department.xml 
deptComp.mxml 

___
Shweta Parekh









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

   
  







  
  
  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] Flow.as from Re: div like behaviour?

2005-11-02 Thread Matt Chotin










Maybe give the boxes an initial visibility
of false and then in creationComplete set the visibility to true?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of edeustace
Sent: Wednesday, November 02, 2005
9:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flow.as from
Re: div like behaviour?





hello, 
i have been using flow.as (see below), and it
works great. however
there is something that i'd like to fix.
firstly i have bound a showEffect and hideEffect
to it which increases
the width over a time period:

mx:Effect
 mx:Resize
name=shrink widthTo=0 duration=300 /
 mx:Resize
name=grow widthTo=400 duration=300 /
/mx:Effect


the problem is, that when initialising the box,
all the subelements
are visible for a brief instant when the page
loads, then they
disappear and display themselves as expected. i'm
guessing there is
some chain of command is broken. here is the tag
for the flow box:

Flow id=flowBox
visible=false
creationComplete=showSearch(event)
showEffect=grow
hideEffect=shrink 

 
 
 
 
horizontalGap=24 height=125

 
 
 
 
vScrollPolicy=off hScrollPolicy=off

 mx:HBox width=13
horizontalGap=0

  mx:Spacer
width=10 /

  mx:VRule
height=100% /

  

 /mx:HBox

 !-- the rest of the subelements are created
in actionscript using
createChild() --
/Flow

if anyone could point me in the right direction
i'd be very grateful,
yours
ed

--- In flexcoders@yahoogroups.com,
Manish Jethani
[EMAIL PROTECTED] wrote:

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













--
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] Seeing double in DataGrid

2005-11-02 Thread Matt Chotin










I guess well need the full example,
I dont see anything jumping out at me.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of P Trisnadi
Sent: Wednesday, November 02, 2005
9:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Seeing
double in DataGrid











I have a couple of
columns in a DataGrid that are populated by using 2 different
ImageCellRenderers. ImageCellRenderer1 displays either image A or B, and
ImageCellRenderer2 displays either image C or D. However, when ran the first
column always displays what is displayed in the second column. I tried switching
the 2 columns, so that the latter column appears first, but the left column
always adopt whatever is displayed in the right column.

Any idea what causes this?

The code for ImageCellRenderer is pretty straight forward:

?xml version=1.0 encoding=utf-8?

 mx:Script
  var obj1:Object;
  function setValue(str:String,item:Object)
{
   if
(item.prm1==0) {
   
obj1=item;
   
obj1.icon=obj1.jpg;
   
visible=true
   } else {
   
obj1=item;
   
obj1.icon=obj2.jpg;
   
visible=true
   }
  }
 /mx:Script
 mx:Image source={obj1.icon}
verticalAlign=middle horizontalAlign=center/
/mx:VBox

TIA,
- ptrisnadi















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

   
  







  
  
  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] To code-behind or not to code-behind?

2005-11-02 Thread Roger Gonzalez
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
xmlns=*
  VisToggle id=vis thing={words} /
  mx:Label id=words text=Hello, world! /
  mx:Button id=toggle label=toggle it click=vis.toggle() /
/mx:Application

// VisToggle.as: helper object for twiddling visibility of display
objects
package
{
import flash.display.DisplayObject;
public class VisToggle
{
public function toggle()
{
thing.visible = !thing.visible;
}
public var thing:DisplayObject;
}
} 

Pretty lame example, but you get the idea.

I like to make classes (perhaps even a custom base for the application)
that implement interfaces, and then have helper objects that know how to
operate on those interfaces, and don't know anything about the
application itself.

I have a pet theory that if you use mx.core.Application.application
anywhere, you are building a messy nightmare that will be difficult to
maintain.  YMMV.

-rg

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
 Sent: Wednesday, November 02, 2005 8:27 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] To code-behind or not to code-behind?
 
 What's a helper object?
 
 - Original Message -
 From: Roger Gonzalez [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 02, 2005 11:22 PM
 Subject: RE: [flexcoders] To code-behind or not to code-behind?
 
 
 You might want to search the archives, we had a long chat about this
 recently.
 
 The conclusion that I personally push is to avoid relying on script
 source inclusion but rather to either
 
 a) create custom base classes and derive your MXML components 
 from them,
 and/or
 b) aggregate helper objects, and/or
 c) factor the MXML into metacomponents with well defined interfaces.
 
 I find that inline OR external script snippets get messy and out of
 control, and you're generally better off following standard OO
 programming.
 
 Another way of looking at it is that if your MXML is looking more like
 AS code than like MXML, you're probably better off refactoring things.
 When any given MXML class is down to 10-15 lines of script, 
 things look
 pretty clean, and it seems better to just put it inline.
 
 (personal opinions here, we argue this one internally quite a bit!)
 -rg
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Julian Suggate
  Sent: Wednesday, November 02, 2005 7:31 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] To code-behind or not to code-behind?
  
  Gidday everyone,
   
  Years back, I wrote php scripts with code embedded in the 
  html and it led to maintenance hassles. Since then, I've 
  migrated to Java and now .NET and what I liked about their 
  models was the ability to separate the code into 
  code-behind, something done quite elegantly in ASP.NET. 
  These eliminated a lot of the maintenance problems I'd 
  encountered earlier with PHP.
   
  So when I saw macromedia's examples of mxml with 
  mx:Script.../mx:Script blocks embedded directly into the 
  mxml, I immediately searched for a way to avoid this. I found 
  that i could add a source=.. attribute to the mx:Script 
  element and the AS code would be included by the compiler 
  from an external file at compile time. The IDE was even smart 
  enough that any elements I'd defined with id attributes in 
  the mxml showed up with intellisense in the included AS file 
  (I am using Flex Builder 2, not sure if FB1.5 had that 
  feature or not).
   
  But now I'm having second thoughts. It kinda feels like going 
  against the grain. I don't want to carry old biases into a 
  new paradigm unnecessarily. I read an article by Aral Balkan 
  (of ARP fame) endorsing the code-behind approach quite 
  strongly, but by the same token, all sample apps from the 
  Cairngorm team freely mix mxml and AS code, as do examples 
  from macromedia themselves. 
   
  I note though, that the Cairngorm framework itself is all 
  pure AS; it is only the sample apps that use inline actionscript. 
   
  I can't seem to find a best practice anywhere, because for 
  every framework/example/article I find that seems to hint at 
  one way of doing things, I find another one that suggests the 
  opposite! Has anyone else with more Flex experience than me 
  answered this question, particularly in terms of which 
  approach is easier to maintain? 
   
  At this stage, any hints would be appreciated! 
   
  TIA,
  Jules
  
  
  --
  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] 
  

RE: [flexcoders] AnimationPackage

2005-11-02 Thread Matt Chotin










http://www.alex-uhlmann.de/flash/animationpackage/



Alex Uhlmann wrote the animation package
and its quite good, but I dont think its really about 3d.
He went to work for iteration::two and then we acquired iteration::two so now
he works for us in Macromedia Consulting EMEA. So well try to leverage
some of his smarts J



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Thompson
Sent: Wednesday, November 02, 2005
12:20 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
AnimationPackage





What does the animation
package do?

I'm interested in xml type models for high-end
media
(ala DirectX sort of model; though I though it
would
have a long way to go, I'm sure there is great
room
for Macromedia to do this in a model shared by
Tiger
and 'longborn').

I've noticed that ZAM3D (makers of Swift; Zam
being a
product supporting such an xml type 3d model)
started
out voicing support for both Flash and Avalon; now
they seem to be almost exclusively focusing on
Avalon.

That bugs me because I know how people have been
talked into exclusing others (the company I worked
at
for 7 years an MS guy came by and offered
'incentives'
for not supporting Netscape or Linux).

Any news on this Sho or Matt or any Macr guys on
here?
I work a lot with DAZ3D products and am familiar
with
Python scripting and Poser animation and others;
would
be interested in working with any technology for
character and environment animation.

I just love what Macromedia is doing -- like this
kind
of fresh air has been so need O/S app. development
for
15 years and now it's finally happening...not so
much
the idea of screw ms, but Screw MS's methods of
dominance; I'm a Mac and PC user, I love both, and
Macromedia is the best viable platform for both in
this web age now becoming hi-media.

-r



--- Tracy Spratt [EMAIL PROTECTED]
wrote:

 I seem to recall reading here that that class
was
 developed for a client
 and the source was not publicly available.
Search
 the archives for
 confirmation.
 
 Tracy
 
 
 
 
 
 From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com]
On
 Behalf Of Mehdi, Agha
 Sent: Wednesday, November 02, 2005 1:39 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] AnimationPackage
 
 
 
 Hi all,
 
 I just downloaded AnimationPackage but can't
fid the
 Flip class that was
 used as an example on RichInternetApps. Does
anyone
 have any info on
 that?
 
 Thanks
 
 Agha Mehdi
 
 IDT - eBusiness Program Manager
 
 Work: 408.284.8239
 
 Cell : 209.275.0482
 
 Fax : 408.284.2766
 
 
 
 --
 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

http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+

site+design+developmentw2=Computer+software+developmentw3=Software+des

ign+and+developmentw4=Macromedia+flexc=4s=126.sig=ynjozILdtUiijfLjiz
 5l1Q 
 
 Computer software development

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We

b+site+design+developmentw2=Computer+software+developmentw3=Software+d

esign+and+developmentw4=Macromedia+flexc=4s=126.sig=i_RMdAMzxP1R8fB7
 NcnaqQ 
 
 Software design and development

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=

Web+site+design+developmentw2=Computer+software+developmentw3=Software

+design+and+developmentw4=Macromedia+flexc=4s=126.sig=4g8hODKyQov1GX
 OxaXG2Sg 
 
 Macromedia flex

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+

developmentw2=Computer+software+developmentw3=Software+design+and+deve

lopmentw4=Macromedia+flexc=4s=126.sig=hhODNnONza_qi3x2OWe-Qg
 
 
 
 
 
 
 
 
 
 
 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]
 
   
 * Your use of
Yahoo! Groups is subject to the
 Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/
. 
 
 
 
 
 
 




 
__ 
Start your day with Yahoo! - Make it your home
page! 
http://www.yahoo.com/r/hs








--
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] Gaps between list items

2005-11-02 Thread Matt Chotin










The verticalGap may get ignored with
cellRenderers, I cant remember. Try adjusting your Canvas instead to
have the gap, maybe use a VBox with margins instead?



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Greg Morphis
Sent: Wednesday, November 02, 2005
12:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Gaps between
list items





Hiya,

When using cellrenderer to populate a list ex:
 mx:List
width=100%

 
height=100%

 
borderStyle=none

 
rowHeight=25

 
marginLeft=30

 
marginRight=30

 
textAlign=center

 
verticalGap=100

 
id=acts

 
dataProvider={ myDP }

 
labelField=activity

 
rollOverColor=0xFF

  selectionColor=0xFF

 
initialize=AddActivityViewHelper.getActivities()

 
change=mx.core.Application.alert(event.target.selectedItem.color)

 
cellRenderer=com.alltel.rapid.aopscheduler.view.ActivityCellRenderer

 
dragEnabled=true
 /mx:List


I cannot seem to get the verticalGap to work.
The cellRenderer is pretty plain...

?xml version=1.0
encoding=UTF-8?

mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml
height=49
width=100% 
 
 mx:Script
 ![CDATA[

 function setValue( str:String, item:Object,
sel:Boolean ) {

  

  this.d.text =
item.activity;

 
this.setStyle(backgroundColor, item.color);

 }
 ]]
 /mx:Script


 mx:Text
id=d

 
height=100%

 
width=100%

 
marginTop=5

 
marginBottom=5

 
fontSize=12

 
fontWeight=bold

 
selectable=false/
/mx:Canvas


Everything I try to put a small gap fails. Can
someone offer any suggestions?

Thanks!


--
Auxilium meum a Domino








--
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] Image ScaleContent

2005-11-02 Thread Matt Chotin










I think you still need to set width=100%
on the image, the scaleContent is whether it should scale proportionally or
stretch.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jwc_wensan
Sent: Wednesday, November 02, 2005
1:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Image
ScaleContent





I have the following code.

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

xmlns=*
 marginTop=0
 marginBottom=0
 marginLeft=0
 marginRight=0
 horizontalGap=0

backgroundColor=#71897F

mx:VBox 
 width=100% 
 height=69
 mx:Image

scaleContent=true 

source=@Embed('../images/MainMenuBackground.png')/
/mx:VBox

/mx:Application

I realize that the scaleContent does not need to
be set, since the 
default is True, however, it does not scale either
way.

I only displays the image width as it's real
width. In other words, 
the image is about 3/4 of the width of my app, but
it does not scale 
all the way to the right.

I've looked at the manuals, which is where I found
out about the 
scaleContent, but must be missing something.

Any ideas?

Thanks,

Jack











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

   
  







  
  
  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] Problem dynamically creating text controls

2005-11-02 Thread Matt Chotin










What happens if you set creationPolicy=all
on the view stack? Maybe the height it messed up because the VBox was not
really ready to accept children?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of pasflex
Sent: Wednesday, November 02, 2005
2:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem
dynamically creating text controls





We have an application where we are dynamically creating various 
controls in containers in a viewstack. If a
text control is created 
in a non-visible layer of the viewstack, the
height of the control 
is not correct. This only happens for text
controls in 1.5. It 
does not seem to happen in 2.0. Is this a
bug or is there something 
we are missing?

Thanks

Here is some code that demonstrates the problem:

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

creationComplete=initLayout()
 mx:Panel
width=250 height=300

 mx:ViewStack id=vs
width=100% height=100%

  mx:VBox
id=vb1 width=100% 
height=100%/mx:VBox

  mx:VBox
id=vb2 width=100% 
height=100%/mx:VBox

 /mx:ViewStack
 /mx:Panel
 mx:Script
 ![CDATA[

 var textArray = new Array(The quick brown
fox 
jumped over the lazy dog,

 
 
  
  The
quick brown fox jumped over the lazy dog,

 
 
  
  The
quick brown fox jumped over the lazy dog);

 function initLayout():Void {

  for (var i=0;
itextArray.length; i++) {

 
 vb1.createChild
(mx.controls.Text, ,
{text:textArray[i], width:100%});

  
vb2.createChild
(mx.controls.Text, ,
{text:textArray[i], width:100%});

  }

  var vb1Button =
vb1.createChild
(mx.controls.Button,,
{label:vbox 2, id:button1});

 
vb1Button.addEventListener(click, this);

  var vb2Button =
vb2.createChild
(mx.controls.Button,,
{label:vbox 1, id:button2});

 
vb2Button.addEventListener(click, this);

 }

 

 function handleEvent(event:Object):Void {

  if( event.type ==
click ) {

 
 if (event.target.id = button1) {

 
  vs.selectedIndex
= 1;

 
 }

 
 if (event.target.id = button2) {
 
 
 vs.selectedIndex = 0;

 
 }

  }

 }
 ]]
 /mx:Script
/mx:Application












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

   
  







  
  
  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] go away, Matt!

2005-11-02 Thread Roger Gonzalez
How is my boss supposed to notice my after-work diligence and my long,
thoughtfully written posts, if you're spamming the list with your
one-liners?  Sheesh!  ;-)

-rg


 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] go away, Matt!

2005-11-02 Thread Matt Chotin










Well if you threw in the one-liners too I
wouldnt have to J Our roles are this: 



Roger: thoughtful responses requiring
knowing what youre talking about

Matt: one line requests for more
information, semi-useful suggestions, and anything that fits in less than 100
words and doesnt require much thought















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Roger
 Gonzalez
Sent: Wednesday, November 02, 2005
9:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] go away,
Matt!





How is my boss supposed to
notice my after-work diligence and my long,
thoughtfully written posts, if you're spamming the
list with your
one-liners? Sheesh! ;-)

-rg








--
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: Image ScaleContent

2005-11-02 Thread jwc_wensan
Matt:

I made the change by adding width=100% . . .

mx:Image width=100%
source=@Embed('../images/MainMenuBackground.png')/

It had no effect.

Other ideas?

Thanks,

Jack

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
wrote:

 I think you still need to set width=100% on the image, the
 scaleContent is whether it should scale proportionally or stretch.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of jwc_wensan
 Sent: Wednesday, November 02, 2005 1:08 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Image ScaleContent
 
  
 
 I have the following code.
 
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;   
 xmlns=*
marginTop=0
marginBottom=0
marginLeft=0
marginRight=0
horizontalGap=0
backgroundColor=#71897F
 
 mx:VBox 
 width=100% 
 height=69
 mx:Image
   scaleContent=true 
   source=@Embed('../images/MainMenuBackground.png')/
 /mx:VBox
 
 /mx:Application
 
 I realize that the scaleContent does not need to be set, since the 
 default is True, however, it does not scale either way.
 
 I only displays the image width as it's real width.  In other 
words, 
 the image is about 3/4 of the width of my app, but it does not 
scale 
 all the way to the right.
 
 I've looked at the manuals, which is where I found out about the 
 scaleContent, but must be missing something.
 
 Any ideas?
 
 Thanks,
 
 Jack
 
 
 
 
 
 --
 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
 http://groups.yahoo.com/gads?
t=msk=Web+site+design+developmentw1=Web+
 
site+design+developmentw2=Computer+software+developmentw3=Software+
des
 
ign+and+developmentw4=Macromedia+flexc=4s=126.sig=ynjozILdtUiijfL
jiz
 5l1Q  
 
 Computer software development
 http://groups.yahoo.com/gads?
t=msk=Computer+software+developmentw1=We
 
b+site+design+developmentw2=Computer+software+developmentw3=Softwar
e+d
 
esign+and+developmentw4=Macromedia+flexc=4s=126.sig=i_RMdAMzxP1R8
fB7
 NcnaqQ  
 
 Software design and development
 http://groups.yahoo.com/gads?
t=msk=Software+design+and+developmentw1=
 
Web+site+design+developmentw2=Computer+software+developmentw3=Softw
are
 
+design+and+developmentw4=Macromedia+flexc=4s=126.sig=4g8hODKyQov
1GX
 OxaXG2Sg  
 
 Macromedia flex
 http://groups.yahoo.com/gads?
t=msk=Macromedia+flexw1=Web+site+design+
 
developmentw2=Computer+software+developmentw3=Software+design+and+d
eve
 lopmentw4=Macromedia+flexc=4s=126.sig=hhODNnONza_qi3x2OWe-Qg  
 
  
 
  
 
  
 
 
 
 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/
 





Re: [flexcoders] bugzilla or something like that for Alpha 1?

2005-11-02 Thread Muzak
Last 2 times I tried the wish/bug form I received a reply (through email) that 
there was an error and the request was not sent.

I've reported several bugs/quirks on the labs forums, but hardly get any 
responses there. So it's hard to figure out what is being 
taking into consideration, what is already listed as being a bug, etc..

I think it would be a good idea to have a list of bugs/known issues on the labs 
site somewhere and a central place where we can 
report them (other than the general wish/bug form).

regards,
Muzak

- Original Message - 
From: Matt Chotin [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03, 2005 5:38 AM
Subject: RE: [flexcoders] bugzilla or something like that for Alpha 1?


You can go through the wish from: http://www.macromedia.com/go/wish for
now, we're not opening the full bugbase up.



Matt





 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/
 





Re: [flexcoders] Re: Image ScaleContent

2005-11-02 Thread Muzak
Try cleaning and rebuilding the project.
FB2 has a caching problem with embedded images.

regards,
Muzak

- Original Message - 
From: jwc_wensan [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03, 2005 6:14 AM
Subject: [flexcoders] Re: Image ScaleContent


 Matt:

 I made the change by adding width=100% . . .

 mx:Image width=100%
 source=@Embed('../images/MainMenuBackground.png')/

 It had no effect.

 Other ideas?

 Thanks,

 Jack





 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] Re: Image ScaleContent

2005-11-02 Thread jwc_wensan
Muzak:

I am using Flex 1.5.

Thanks,

Jack
--- In flexcoders@yahoogroups.com, Muzak [EMAIL PROTECTED] wrote:

 Try cleaning and rebuilding the project.
 FB2 has a caching problem with embedded images.
 
 regards,
 Muzak
 
 - Original Message - 
 From: jwc_wensan [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Thursday, November 03, 2005 6:14 AM
 Subject: [flexcoders] Re: Image ScaleContent
 
 
  Matt:
 
  I made the change by adding width=100% . . .
 
  mx:Image width=100%
  source=@Embed('../images/MainMenuBackground.png')/
 
  It had no effect.
 
  Other ideas?
 
  Thanks,
 
  Jack
 







 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] Re: Image ScaleContent

2005-11-02 Thread Muzak
woops ;-)

- Original Message - 
From: jwc_wensan [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03, 2005 8:06 AM
Subject: [flexcoders] Re: Image ScaleContent


 Muzak:

 I am using Flex 1.5.

 Thanks,

 Jack




 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] go away, Matt!

2005-11-02 Thread Scott Barnes



Q. Do you two sit and stare at mailing lists + bug queues all day?

(curious)On 11/3/05, Matt Chotin [EMAIL PROTECTED] wrote:

















Well if you threw in the one-liners too I
wouldn't have to J
 Our roles are this: 



Roger: thoughtful responses requiring
knowing what you're talking about

Matt: one line requests for more
information, semi-useful suggestions, and anything that fits in less than 100
words and doesn't require much thought















From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Roger
 Gonzalez
Sent: Wednesday, November 02, 2005
9:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] go away,
Matt!





How is my boss supposed to
notice my after-work diligence and my long,
thoughtfully written posts, if you're spamming the
list with your
one-liners? Sheesh! ;-)

-rg








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  

   
  







  
  
  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] Multilingual Messages in Validators

2005-11-02 Thread r_woess
Hi,

my Application is multilingual. So I tried to set errormessages in all
validators by databinding.

Here you can see a simple example.

...
var tooShortErrorMessage:String=Test Message;
...

...
mx:StringValidator field=myModel.id minLength=9 maxLength=20
tooShortError={tooShortErrorMessage}/
...

If the tooShortError occurs, I always get the Message This string is
shorter than the minimum allowed length instead of Test Message. 

Can anybody tell me, how I can customize the messages?

best regards
Reini





 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/