[flexcoders] NEW Melbourne Flex User Group

2010-05-25 Thread Dale Fraser
We are officially up and running for the new Melbourne Flex User Group.

 

The group is all established and the old one has been removed.

 

I am also looking to have someone help me in a Co / Manager capacity. There
are advantages to running a User Group including software entitlements and
strong networking and name recognition. There is a bit of work to be done,
and appreciate that it's not for everyone, so rather than directly ask
people for help, please contact me off list if you're interested.

 

To join the group and see details of the first event in June visit the group
site, I hope you can join the group and RSVP for the first meeting.

http://mfug.groups.adobe.com

 

Regards

Dale Fraser

 

 http://dale.fraser.id.au http://dale.fraser.id.au

 http://cfmldocs.com/ http://cfmldocs.com

 http://learncf.com http://learncf.com

 http://flexcf.com http://flexcf.com

 



Re: [flexcoders] New Into Flex

2009-04-27 Thread Brad Bueche
cflex.net

tv.adobe.com

http://www.adobe.com/devnet/flex/

Are good places to start.

brad

On Sat, Apr 25, 2009 at 10:18 PM, angelo_anolin angelo_ano...@yahoo.comwrote:



 Hi Everyone.

 Am new into this flex thing and I really appreciate the way it is evolving
 for developing rich internet applications.

 I already have the free ebook Getting Started With Adobe Flex3.

 I would like to learn a lot more on developing Flex web data applications.
 Something that connects to an oracle database, perform some CRUD operations
 and other data-intensive operations.

 Since I am only beginning to discover the wonders of flex, I hope some of
 you could point me some nice articles and or blog posts that does this.

 Am sure I would have a lot more questions when I delve deeper into the
 world of Flex and I hope I could post some of them here so as to give me
 better understanding of this great development platform.

 Thanks a lot

  



[flexcoders] New Into Flex

2009-04-26 Thread angelo_anolin
Hi Everyone.

Am new into this flex thing and I really appreciate the way it is evolving for 
developing rich internet applications.

I already have the free ebook Getting Started With Adobe Flex3.

I would like to learn a lot more on developing Flex web data applications.  
Something that connects to an oracle database, perform some CRUD operations and 
other data-intensive operations.

Since I am only beginning to discover the wonders of flex, I hope some of you 
could point me some nice articles and or blog posts that does this.  

Am sure I would have a lot more questions when I delve deeper into the world of 
Flex and I hope I could post some of them here so as to give me better 
understanding of this great development platform.

Thanks a lot



[flexcoders] New with Flex: Problem with data binding

2009-03-05 Thread Martin Gorostegui
Hi people, 

I'm starting with Flex technology and have some doubts on how datadinding 
between client-side objects work.
After reading Adobe's Flex3 and playing with some samples I ended up with the 
following situation:
Created a Product.as class declared as bindable.
Created a product.mxml in which I declare the following:
...
Product id=p name={nameControl.text}/
...
mx:text id=nameControl text={p.name}/
...

For what I understand the first binding is to make sure that the product's name 
is set to what the user entered in the textControl and the second binding can 
be used to load an initial value in the textControl from an existing product. 
right?

Now, my Product class actually has a Dimensions(width, height, etc) attribute, 
where Dimensions is another as class created by me and declared bindable.

How can I bind, for example the width of my Product to another textControl?
Can I nest a Dimensions tag inside the Product tag?
or add to the Product tag an attribute like 
dimensions.width={widthControl.text}?

I'd also like to achieve the same binding by creating the Product instance in 
actionScript and not using mxml tags. Is this possible?

Any example on how to do these will be aprreciated as I tried different ways 
but couln't get what I want. Any example on the web or open source project that 
I can use as a guide for this case? (trying to create a 
list-create-modify-delete screen and want to reuse the Product form for 
creation and modification) because I found Adobe's examples on this theme to be 
too simplistic.

Thanks in advanced,

Martin



Re: [flexcoders] new to flex, problems installing Flex 4 SDK

2008-10-22 Thread Tom Chiverton
On Tuesday 21 Oct 2008, Pedro Kostelec wrote:
 I am completely new to flex. I find it very difficult to install the Flex
 4.

I strongly suggest using Flex 3 if you are brand new. Flex 4 hasn't been 
released yet, and unless you *really* need some of the new features, you'll 
find Flex 3 much easier to get going.

 cd flex/sdk/trunk
 source setup.sh
 bash: cd: flex/sdk/trunk: No such file or directory.

Skip the 'cd' step, as it appears to be trying to do it for you ?

-- 
Tom Chiverton
Helping to advantageously maintain content





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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

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



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] new to flex, problems installing Flex 4 SDK

2008-10-21 Thread Pedro Kostelec
Hi

I am completely new to flex. I find it very difficult to install the Flex
4.(http://opensource.adobe.com/wiki/display/flexsdk/Gumbo).
First i extracted the zip in D:\Program Files\Adobe\Adobe Gumbo 4
then i followed the instuction to install it from here:
http://opensource.adobe.com/wiki/display/flexsdk/Setup
But when i come to the place where i have to enter

cd flex/sdk/trunk
source setup.sh

in Cygwin, i get :

bash: cd: flex/sdk/trunk: No such file or directory.

What am i supposed to do?
Hope someone can help me


*Pedro D. Kostelec*
[EMAIL PROTECTED]


[flexcoders] New to flex, why are the charts so tempermental?

2008-10-08 Thread Vince Gatto
Recently we decided to switch from an open source AS2 based flash chart
to using Flex 3 for our charting to get more control over the styling of
the chart.   I'm pretty new to Flex, but so far I'm pretty disappointed
by the out of the box behavior of the charts.   Basically, I'm trying to
do something very simple: dates on the x-axis, some numerical value on
the y-axis.   I need to control a little bit about the fonts, colors,
and data tips, but not much else.  I thought this would be easy, but
after a few days of toying around,  I'm really ready to gouge out my own
eyes.

After messing around for days, I went back and tried the simplest
possible thing, straight out of the docs:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
  mx:Script![CDATA[
  import mx.collections.ArrayCollection;

  [Bindable]
  public var deck:ArrayCollection = new ArrayCollection([
 {date:08/01/2005, close:42.71},
 {date:08/02/2005, close:42.99},
 {date:08/03/2005, close:42.65}
  ]);
   ]]/mx:Script
   mx:Panel title=Sample DateTimeAxis
  mx:LineChart id=myChart dataProvider={deck}
showDataTips=true
 mx:horizontalAxis
mx:DateTimeAxis dataUnits=days /
 /mx:horizontalAxis
 mx:series
mx:LineSeries yField=close xField=date
displayName=DECK /
 /mx:series
  /mx:LineChart
  mx:Legend dataProvider={myChart}/
   /mx:Panel

/mx:Application

This gives you a nice little chart where the x-axis labels and tick
marks do not come close to lining up with any of the data points.  I
tried messing around with AxisRenderers and labelAlignment settings to
no avail.   My conclusion thus far is that DateTimeAxis is basically
useless.

Right now, I'm working around this by switching to a CategoryAxis, but
the DateTimeAxis has some nice features I'd like to take advantage of,
and the CategoryAxis seems to have its own hurdles to overcome.  Does
anyone know if there's a work around for this behavior?





[flexcoders] New to FLEX

2008-09-22 Thread NATA RAJAN
Hi friends
am new to FLEX . can u send what are the flex sites to learn and PDF books
and sample codings which u worked 


regards
Natarajan



  Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/

Re: [flexcoders] New to FLEX

2008-09-22 Thread Sherif Abdou
Http://feeds.adobe.com
http://adobe.com/flex

--
Sherif Abdou
http://VadexFX.com
http://Sherifabdou.com
  - Original Message - 
  From: NATA RAJAN 
  To: flexcoders@yahoogroups.com 
  Sent: Monday, September 22, 2008 11:51 AM
  Subject: [flexcoders] New to FLEX


Hi friends
am new to FLEX . can u send what are the flex sites to learn and PDF 
books
and sample codings which u worked 


regards
Natarajan
   




--
  Be the first one to try the new Messenger 9 Beta! Click here.

   

Re: [flexcoders] New to FLEX

2008-09-22 Thread Doug McCune
[Shameless Plug] Flex for Dummies!

http://dougmccune.com/blog/flex-for-dummies/
http://www.amazon.com/Adobe-Flex-Dummies-Computer-Tech/dp/0470277920

On Mon, Sep 22, 2008 at 11:28 AM, Sherif Abdou [EMAIL PROTECTED] wrote:
 

 Http://feeds.adobe.com
 http://adobe.com/flex

 --
 Sherif Abdou
 http://VadexFX.com
 http://Sherifabdou.com

 - Original Message -
 From: NATA RAJAN
 To: flexcoders@yahoogroups.com
 Sent: Monday, September 22, 2008 11:51 AM
 Subject: [flexcoders] New to FLEX

 Hi friends
 am new to FLEX . can u send what are the flex sites to learn and PDF books
 and sample codings which u worked


 regards
 Natarajan

 
 Be the first one to try the new Messenger 9 Beta! Click here.

 


Re: [flexcoders] New to FLEX

2008-09-22 Thread Nancy Gill
I just picked up a copy on Friday at Borders .. mostly because I saw that it 
was written by you.  My first impression is that it's probably easier than I 
need, but what really struck me about it is that it seems like a very good 
reference for getting it ingrained in the brain as to what everything is and 
does.

Congrats, Doug .. despite the title :) .. looks to be a handy one to keep 
around!

Nancy Gill
Adobe Community Expert
Author:  Dreamweaver 8 e-book for the DMX Zone
Co-Author:  Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor:  Dreamweaver CS3: The Missing Manual,
 DMX 2004: The Complete Reference,  DMX 2004: A Beginner's Guide
 Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development

  - Original Message - 
  From: Doug McCune 
  To: flexcoders@yahoogroups.com 
  Sent: Monday, September 22, 2008 11:30 AM
  Subject: Re: [flexcoders] New to FLEX


  [Shameless Plug] Flex for Dummies!

  http://dougmccune.com/blog/flex-for-dummies/
  http://www.amazon.com/Adobe-Flex-Dummies-Computer-Tech/dp/0470277920

  On Mon, Sep 22, 2008 at 11:28 AM, Sherif Abdou [EMAIL PROTECTED] wrote:
   
  
   Http://feeds.adobe.com
   http://adobe.com/flex
  
   --
   Sherif Abdou
   http://VadexFX.com
   http://Sherifabdou.com
  
   - Original Message -
   From: NATA RAJAN
   To: flexcoders@yahoogroups.com
   Sent: Monday, September 22, 2008 11:51 AM
   Subject: [flexcoders] New to FLEX
  
   Hi friends
   am new to FLEX . can u send what are the flex sites to learn and PDF books
   and sample codings which u worked
  
  
   regards
   Natarajan
  
   
   Be the first one to try the new Messenger 9 Beta! Click here.
  
   


   

  __ Information from ESET NOD32 Antivirus, version of virus signature 
database 3460 (20080922) __

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com


Re: [flexcoders] New to FLEX

2008-09-22 Thread Doug McCune
Yeah, it's a hard line to walk trying to write something that someone
without any knowledge of Flex can pick up and use to get started, but
also trying to balance some more advanced stuff, all while keeping the
page count ridiculously low (we ended up cutting a full chapter after
exceeding the For Dummies absolute max allowed, make sure to check
out the website on dummies.com for that extra chapter). And the
dummies style is also to try to let the reader flip to any chapter
without having to have read the previous ones, so that's an added
challenge :)

Thanks for the support! It's always wonderful to hear nice things.

Doug

On Mon, Sep 22, 2008 at 12:04 PM, Nancy Gill [EMAIL PROTECTED] wrote:
 

 I just picked up a copy on Friday at Borders .. mostly because I saw that it
 was written by you.  My first impression is that it's probably easier than I
 need, but what really struck me about it is that it seems like a very good
 reference for getting it ingrained in the brain as to what everything is and
 does.

 Congrats, Doug .. despite the title :) .. looks to be a handy one to keep
 around!

 Nancy Gill
 Adobe Community Expert
 Author:  Dreamweaver 8 e-book for the DMX Zone
 Co-Author:  Dreamweaver MX: Instant Troubleshooter (August, 2003)
 Technical Editor:  Dreamweaver CS3: The Missing Manual,
  DMX 2004: The Complete Reference,  DMX 2004: A Beginner's Guide
  Mastering Macromedia Contribute
 Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development

 - Original Message -
 From: Doug McCune
 To: flexcoders@yahoogroups.com
 Sent: Monday, September 22, 2008 11:30 AM
 Subject: Re: [flexcoders] New to FLEX

 [Shameless Plug] Flex for Dummies!

 http://dougmccune.com/blog/flex-for-dummies/
 http://www.amazon.com/Adobe-Flex-Dummies-Computer-Tech/dp/0470277920

 On Mon, Sep 22, 2008 at 11:28 AM, Sherif Abdou [EMAIL PROTECTED] wrote:
 

 Http://feeds.adobe.com
 http://adobe.com/flex

 --
 Sherif Abdou
 http://VadexFX.com
 http://Sherifabdou.com

 - Original Message -
 From: NATA RAJAN
 To: flexcoders@yahoogroups.com
 Sent: Monday, September 22, 2008 11:51 AM
 Subject: [flexcoders] New to FLEX

 Hi friends
 am new to FLEX . can u send what are the flex sites to learn and PDF books
 and sample codings which u worked


 regards
 Natarajan

 
 Be the first one to try the new Messenger 9 Beta! Click here.




 __ Information from ESET NOD32 Antivirus, version of virus signature
 database 3460 (20080922) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com

 


Re: [flexcoders] New to FLEX

2008-09-22 Thread Nancy Gill
I most definitely will check out the website .. thanks for the tip!

Nancy

  - Original Message - 
  From: Doug McCune 
  To: flexcoders@yahoogroups.com 
  Sent: Monday, September 22, 2008 12:46 PM
  Subject: Re: [flexcoders] New to FLEX


  Yeah, it's a hard line to walk trying to write something that someone
  without any knowledge of Flex can pick up and use to get started, but
  also trying to balance some more advanced stuff, all while keeping the
  page count ridiculously low (we ended up cutting a full chapter after
  exceeding the For Dummies absolute max allowed, make sure to check
  out the website on dummies.com for that extra chapter). And the
  dummies style is also to try to let the reader flip to any chapter
  without having to have read the previous ones, so that's an added
  challenge :)

  Thanks for the support! It's always wonderful to hear nice things.

  Doug

  On Mon, Sep 22, 2008 at 12:04 PM, Nancy Gill [EMAIL PROTECTED] wrote:
   
  
   I just picked up a copy on Friday at Borders .. mostly because I saw that it
   was written by you. My first impression is that it's probably easier than I
   need, but what really struck me about it is that it seems like a very good
   reference for getting it ingrained in the brain as to what everything is and
   does.
  
   Congrats, Doug .. despite the title :) .. looks to be a handy one to keep
   around!
  
   Nancy Gill
   Adobe Community Expert
   Author: Dreamweaver 8 e-book for the DMX Zone
   Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
   Technical Editor: Dreamweaver CS3: The Missing Manual,
   DMX 2004: The Complete Reference, DMX 2004: A Beginner's Guide
   Mastering Macromedia Contribute
   Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development
  
   - Original Message -
   From: Doug McCune
   To: flexcoders@yahoogroups.com
   Sent: Monday, September 22, 2008 11:30 AM
   Subject: Re: [flexcoders] New to FLEX
  
   [Shameless Plug] Flex for Dummies!
  
   http://dougmccune.com/blog/flex-for-dummies/
   http://www.amazon.com/Adobe-Flex-Dummies-Computer-Tech/dp/0470277920
  
   On Mon, Sep 22, 2008 at 11:28 AM, Sherif Abdou [EMAIL PROTECTED] wrote:
   
  
   Http://feeds.adobe.com
   http://adobe.com/flex
  
   --
   Sherif Abdou
   http://VadexFX.com
   http://Sherifabdou.com
  
   - Original Message -
   From: NATA RAJAN
   To: flexcoders@yahoogroups.com
   Sent: Monday, September 22, 2008 11:51 AM
   Subject: [flexcoders] New to FLEX
  
   Hi friends
   am new to FLEX . can u send what are the flex sites to learn and PDF books
   and sample codings which u worked
  
  
   regards
   Natarajan
  
   
   Be the first one to try the new Messenger 9 Beta! Click here.
  
  
  
  
   __ Information from ESET NOD32 Antivirus, version of virus signature
   database 3460 (20080922) __
  
   The message was checked by ESET NOD32 Antivirus.
  
   http://www.eset.com
  
   


   

  __ Information from ESET NOD32 Antivirus, version of virus signature 
database 3460 (20080922) __

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com


RE: [flexcoders] New to FLEX

2008-09-22 Thread Dimitrios Gianninas
I learned Flex 1 and all subsequent releases by reading the Livedocs, so take a 
look here: 
http://livedocs.adobe.com/flex/3/html/help.html?content=Part5_AIR_1.html 
http://livedocs.adobe.com/flex/3/html/help.html?content=Part5_AIR_1.html 
 
Or you might find some articles on the Flex Dev Center: 
http://www.adobe.com/devnet/flex/ http://www.adobe.com/devnet/flex/ 
 
Good luck and dont hesistate to ask questions on this forum.
 
Dimitrios Gianninas
RIA Developer Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of NATA 
RAJAN
Sent: Monday, September 22, 2008 12:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] New to FLEX



Hi friends
am new to FLEX . can u send what are the flex sites to learn and PDF books
and sample codings which u worked 


regards
Natarajan




Be the first one to try the new Messenger 9 Beta! Click here. 
http://in.rd.yahoo.com/tagline_messenger_7/*http://in.messenger.yahoo.com/win/
  

 

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

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



Re: [flexcoders] New to flex, wonder why one works and the other doesn't...

2008-06-01 Thread Charlie Hubbard
Right.  Image is a UIComponent, and TextArea is a UIComponent.
UIComponent's can't contain other UIComponents without being a
subclass of Container or implementing the IContainer interface.  Not a
simple task.

addChild() is defined in DisplayObject which apart of the Flash API
not the Flex API.  BitmapAsset is a sublcass of DisplayObject and not
UIComponent.  So you can add it to the text area directly using this
code:

var img : BitmapAsset = new imgCls() as BitmapAsset;
img.x = txtArea.mouseX;
img.y = txtArea.mouseY;
txtArea.addChild( img );

Now, try that out, and you'll start to see some issues that you'll
have to asess if this is going to work for what you're trying to do.
Since the bitmap is not apart of the document in the TextArea you are
going to get clipping or scrolling.  If you want to do that you'll
have to get really dirty with the TextArea API.  Probably even
ditching TextArea altogether and writing your own, or modifying rich
text editor.

Charlie


On Thu, May 29, 2008 at 5:37 PM, aarhac [EMAIL PROTECTED] wrote:
 Hello,

 I have figured out how to work around my problem, but I do wonder why
 one of the following methods works, and the other doesn't. I would be
 grateful if someone could explain the error in the failing method.

 The code is pasted below (Below the line of dashes) in it's entirety,
 and is commented as to which works and which doesn't.

 The image referenced in this case is a 32x32 pixel png file on my
 local system. I am attempting to display the image on a text area.

 Using the default example from the flex documentation to embed an
 image, I cannot get the image to show up when added to the text area's
 display list, but it does show just fine when added to the root
 display list. I also added the image to the textArea using
 addChildAt(txtIcon, txtArea.numChildren) with no change in effect.

 The second method works just fine. I imagine that the problem has
 something to do with applying the image as a byte array to
 image.source, but I wonder why exactly? Is this a bug?

 Thanks in advance,

 --Aaron

 

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute

 !--Works--
 mx:Image id=txtIcon source=@Embed(source='c:/icon.png')/

 mx:TextArea id=txtArea width=400 height=200 click=addImage()/

 mx:Script
 ![CDATA[
 import mx.controls.Image;
 import mx.core.BitmapAsset;

 // Doesn't work
 [Embed(source=c:/icon.png)]
 [Bindable]
 public var imgCls:Class;

 public function addImage():void
 {
 // Doesn't work
 var loadedImg:Image = new Image();
 loadedImg.source = new imgCls() as BitmapAsset;

 loadedImg.x = 10;
 loadedImg.y = 10;
 txtArea.addChild(loadedImg);

 // Note: While the above doesn't work, adding the
 // image to the root display list does work:
 //addChild(loadedImg);

 // Works
 txtIcon.x = 50;
 txtIcon.y = 10;
 txtArea.addChild(txtIcon);
 }
 ]]
 /mx:Script

 /mx:Application

 


Re: [flexcoders] New to flex, wonder why one works and the other doesn't...

2008-06-01 Thread Charlie Hubbard
Damn.  Sorry the last paragraph should read:

Since the bitmap is not apart of the document in the TextArea you
aren't going to get clipping or scrolling of that image.

Charlie

On Sun, Jun 1, 2008 at 10:52 AM, Charlie Hubbard
[EMAIL PROTECTED] wrote:
 Right.  Image is a UIComponent, and TextArea is a UIComponent.
 UIComponent's can't contain other UIComponents without being a
 subclass of Container or implementing the IContainer interface.  Not a
 simple task.

 addChild() is defined in DisplayObject which apart of the Flash API
 not the Flex API.  BitmapAsset is a sublcass of DisplayObject and not
 UIComponent.  So you can add it to the text area directly using this
 code:

var img : BitmapAsset = new imgCls() as BitmapAsset;
img.x = txtArea.mouseX;
img.y = txtArea.mouseY;
txtArea.addChild( img );

 Now, try that out, and you'll start to see some issues that you'll
 have to asess if this is going to work for what you're trying to do.
 Since the bitmap is not apart of the document in the TextArea you are
 going to get clipping or scrolling.  If you want to do that you'll
 have to get really dirty with the TextArea API.  Probably even
 ditching TextArea altogether and writing your own, or modifying rich
 text editor.

 Charlie


 On Thu, May 29, 2008 at 5:37 PM, aarhac [EMAIL PROTECTED] wrote:
 Hello,

 I have figured out how to work around my problem, but I do wonder why
 one of the following methods works, and the other doesn't. I would be
 grateful if someone could explain the error in the failing method.

 The code is pasted below (Below the line of dashes) in it's entirety,
 and is commented as to which works and which doesn't.

 The image referenced in this case is a 32x32 pixel png file on my
 local system. I am attempting to display the image on a text area.

 Using the default example from the flex documentation to embed an
 image, I cannot get the image to show up when added to the text area's
 display list, but it does show just fine when added to the root
 display list. I also added the image to the textArea using
 addChildAt(txtIcon, txtArea.numChildren) with no change in effect.

 The second method works just fine. I imagine that the problem has
 something to do with applying the image as a byte array to
 image.source, but I wonder why exactly? Is this a bug?

 Thanks in advance,

 --Aaron

 

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute

 !--Works--
 mx:Image id=txtIcon source=@Embed(source='c:/icon.png')/

 mx:TextArea id=txtArea width=400 height=200 click=addImage()/

 mx:Script
 ![CDATA[
 import mx.controls.Image;
 import mx.core.BitmapAsset;

 // Doesn't work
 [Embed(source=c:/icon.png)]
 [Bindable]
 public var imgCls:Class;

 public function addImage():void
 {
 // Doesn't work
 var loadedImg:Image = new Image();
 loadedImg.source = new imgCls() as BitmapAsset;

 loadedImg.x = 10;
 loadedImg.y = 10;
 txtArea.addChild(loadedImg);

 // Note: While the above doesn't work, adding the
 // image to the root display list does work:
 //addChild(loadedImg);

 // Works
 txtIcon.x = 50;
 txtIcon.y = 10;
 txtArea.addChild(txtIcon);
 }
 ]]
 /mx:Script

 /mx:Application

 



Re: [flexcoders] New to flex, wonder why one works and the other doesn't...

2008-06-01 Thread Joseph Balderson
Of course! I knew the answer was simple, man that was bugging me. Thanks 
Charlie.

:)
___

Joseph Balderson | http://joeflash.ca
Flex  Flash Platform Developer | Abobe Certified Developer  Trainer
Author, Professional Flex 3 (coming Winter 2008)
Staff Writer, Community MX | http://communitymx.com/author.cfm?cid=4674



Charlie Hubbard wrote:
 Right.  Image is a UIComponent, and TextArea is a UIComponent.
 UIComponent's can't contain other UIComponents without being a
 subclass of Container or implementing the IContainer interface.  Not a
 simple task.
 
 addChild() is defined in DisplayObject which apart of the Flash API
 not the Flex API.  BitmapAsset is a sublcass of DisplayObject and not
 UIComponent.  So you can add it to the text area directly using this
 code:
 
   var img : BitmapAsset = new imgCls() as BitmapAsset;
   img.x = txtArea.mouseX;
   img.y = txtArea.mouseY;
   txtArea.addChild( img );
 
 Now, try that out, and you'll start to see some issues that you'll
 have to asess if this is going to work for what you're trying to do.
 Since the bitmap is not apart of the document in the TextArea you are
 going to get clipping or scrolling.  If you want to do that you'll
 have to get really dirty with the TextArea API.  Probably even
 ditching TextArea altogether and writing your own, or modifying rich
 text editor.
 
 Charlie
 
 
 On Thu, May 29, 2008 at 5:37 PM, aarhac [EMAIL PROTECTED] wrote:
 Hello,

 I have figured out how to work around my problem, but I do wonder why
 one of the following methods works, and the other doesn't. I would be
 grateful if someone could explain the error in the failing method.

 The code is pasted below (Below the line of dashes) in it's entirety,
 and is commented as to which works and which doesn't.

 The image referenced in this case is a 32x32 pixel png file on my
 local system. I am attempting to display the image on a text area.

 Using the default example from the flex documentation to embed an
 image, I cannot get the image to show up when added to the text area's
 display list, but it does show just fine when added to the root
 display list. I also added the image to the textArea using
 addChildAt(txtIcon, txtArea.numChildren) with no change in effect.

 The second method works just fine. I imagine that the problem has
 something to do with applying the image as a byte array to
 image.source, but I wonder why exactly? Is this a bug?

 Thanks in advance,

 --Aaron

 

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute

 !--Works--
 mx:Image id=txtIcon source=@Embed(source='c:/icon.png')/

 mx:TextArea id=txtArea width=400 height=200 click=addImage()/

 mx:Script
 ![CDATA[
 import mx.controls.Image;
 import mx.core.BitmapAsset;

 // Doesn't work
 [Embed(source=c:/icon.png)]
 [Bindable]
 public var imgCls:Class;

 public function addImage():void
 {
 // Doesn't work
 var loadedImg:Image = new Image();
 loadedImg.source = new imgCls() as BitmapAsset;

 loadedImg.x = 10;
 loadedImg.y = 10;
 txtArea.addChild(loadedImg);

 // Note: While the above doesn't work, adding the
 // image to the root display list does work:
 //addChild(loadedImg);

 // Works
 txtIcon.x = 50;
 txtIcon.y = 10;
 txtArea.addChild(txtIcon);
 }
 ]]
 /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.comYahoo! Groups Links
 
 
 
 


Re: [flexcoders] New to flex, wonder why one works and the other doesn't...

2008-05-31 Thread Joseph Balderson
This one was interesting, at first glance looks like it should work, 
until I actually tried it.

Turns out TeatArea inherits from UIComponent, but it does not inherit 
from Container, which contain methods for adding and removing Flex 
children. So you cannot add an Image to a TextArea using addChild(), 
which is a method of the Flash API. It's not perfect, but it's the only 
explanation I can think of why this would not work.

Why don't you set your TextArea backgroundAlpha to 0, wrap your TextArea 
in another Container like Canvas, and add your Image to that container 
over top of the TextArea? If your TextArea is instantiated in MXML, swap 
the depths of the two so your image appears beneath the TextArea. You 
can still get the TextArea to appear to have a white background by 
setting Canvas backgroundAlpha to 1 and the backgroundColor to white. A 
little convoluted, but it gives you more control. And saves you a few 
ulcers ;)

An easier way, of course, is to simply set the backgroundImage style to 
your image, if don't you mind it being centred or stretched.


Consequently, TextArea does inherit addChild() from 
DisplayObjectContainer, but DisplayObjectContainer is a part of the 
Flash API, not the Flex API. So you'd think that adding the asset cast 
as Bitmap or Sprite (without the Image) would work, but it doesn't, I 
guess cause there's no rawChildren property for TextArea. Interesting. 
If anyone's got an explanation why you can't addChild([img asset]) on a 
TextArea I'd like to hear it.


___

Joseph Balderson | http://joeflash.ca
Flex  Flash Platform Developer | Abobe Certified Developer  Trainer
Author, Professional Flex 3 (coming Winter 2008)
Staff Writer, Community MX | http://communitymx.com/author.cfm?cid=4674



aarhac wrote:
 Hello,
 
 I have figured out how to work around my problem, but I do wonder why
 one of the following methods works, and the other doesn't. I would be
 grateful if someone could explain the error in the failing method.
 
 The code is pasted below (Below the line of dashes) in it's entirety,
 and is commented as to which works and which doesn't.
 
 The image referenced in this case is a 32x32 pixel png file on my
 local system. I am attempting to display the image on a text area.
 
 Using the default example from the flex documentation to embed an
 image, I cannot get the image to show up when added to the text area's
 display list, but it does show just fine when added to the root
 display list. I also added the image to the textArea using
 addChildAt(txtIcon, txtArea.numChildren) with no change in effect.
 
 The second method works just fine. I imagine that the problem has
 something to do with applying the image as a byte array to
 image.source, but I wonder why exactly? Is this a bug?
 
 Thanks in advance,
 
 --Aaron
 
 
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute
   
 !--Works--
 mx:Image id=txtIcon source=@Embed(source='c:/icon.png')/
 
 mx:TextArea id=txtArea width=400 height=200 click=addImage()/
 
 mx:Script
 ![CDATA[
 import mx.controls.Image;
 import mx.core.BitmapAsset;
 
 // Doesn't work
 [Embed(source=c:/icon.png)]
 [Bindable]
 public var imgCls:Class;
 
 public function addImage():void
 {
 // Doesn't work
 var loadedImg:Image = new Image();
 loadedImg.source =  new imgCls() as BitmapAsset;
 
 loadedImg.x = 10;
 loadedImg.y = 10;
 txtArea.addChild(loadedImg);
 
 // Note: While the above doesn't work, adding the 
 // image to the root display list does work:
 //addChild(loadedImg);
 
 // Works
 txtIcon.x = 50;
 txtIcon.y = 10;
 txtArea.addChild(txtIcon);
 }
 ]]
 /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.comYahoo! Groups Links
 
 
 
 


[flexcoders] New to flex, wonder why one works and the other doesn't...

2008-05-29 Thread aarhac
Hello,

I have figured out how to work around my problem, but I do wonder why
one of the following methods works, and the other doesn't. I would be
grateful if someone could explain the error in the failing method.

The code is pasted below (Below the line of dashes) in it's entirety,
and is commented as to which works and which doesn't.

The image referenced in this case is a 32x32 pixel png file on my
local system. I am attempting to display the image on a text area.

Using the default example from the flex documentation to embed an
image, I cannot get the image to show up when added to the text area's
display list, but it does show just fine when added to the root
display list. I also added the image to the textArea using
addChildAt(txtIcon, txtArea.numChildren) with no change in effect.

The second method works just fine. I imagine that the problem has
something to do with applying the image as a byte array to
image.source, but I wonder why exactly? Is this a bug?

Thanks in advance,

--Aaron



?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute

!--Works--
mx:Image id=txtIcon source=@Embed(source='c:/icon.png')/

mx:TextArea id=txtArea width=400 height=200 click=addImage()/

mx:Script
![CDATA[
import mx.controls.Image;
import mx.core.BitmapAsset;

// Doesn't work
[Embed(source=c:/icon.png)]
[Bindable]
public var imgCls:Class;

public function addImage():void
{
// Doesn't work
var loadedImg:Image = new Image();
loadedImg.source =  new imgCls() as BitmapAsset;

loadedImg.x = 10;
loadedImg.y = 10;
txtArea.addChild(loadedImg);

// Note: While the above doesn't work, adding the 
// image to the root display list does work:
//addChild(loadedImg);

// Works
txtIcon.x = 50;
txtIcon.y = 10;
txtArea.addChild(txtIcon);
}
]]
/mx:Script

/mx:Application




[flexcoders] new to flex, tutorial code doesnt work!

2008-03-31 Thread funkbunny08
Hi, I'm brand new to flex using flex builder 3. I'm trying to build
the simple RIA from the Adobe tutorial and I get a parse error, even
though the code is identical.
Here is the code:
mx:TileList width=100% height=100% /
dataProvider={photoFeed};
mx:itemRenderer
mx:Component
mx:VBox width=125 height=125
paddingBottom=5
paddingLeft=5
paddingTop=5
paddingRight=5

mx:Image width=75 height=75
source={data.thumbnail.url}/

mx:Text text={data.credit}/
/mx:VBox
/mx:Component
/mx:itemRenderer
/mx:TileList

Any ideas? I dont want to fall at the first hurdle.!
Secondly, can you recommend any decent books or websites that have
good tutorials for the complete beginner. I'm comfortable with css and
html so I'm not a complete noob!

Cheers guys

Paul



Re: [flexcoders] new to flex, tutorial code doesnt work!

2008-03-31 Thread shaun
Hi,

funkbunny08 wrote:
 Hi, I'm brand new to flex using flex builder 3. I'm trying to build
 the simple RIA from the Adobe tutorial and I get a parse error, even
 though the code is identical.
 Here is the code:
 mx:TileList width=100% height=100% /

Change the TileList line above so its not closing the tag.

cheers,
  shaun


[flexcoders] new to FLEX

2007-12-07 Thread dengelwood
Hi,

I am new to FLEX development, but am quite excited about the 
possiblities of this IDE. Question: My company is using hand held USB 
bar code scanners to enter user data into one or more text fields. Is 
it possible in FLEX to capure such scanned data? Anything to point me 
in the right direction would be helpful. Thanks!

rad



[flexcoders] New to flex

2007-11-06 Thread marlin1111
I started a flex project and added a button to the main.mxml. I want
it to go to the aboutus mxml but i don't know how could someone help me.



Re: [flexcoders] New to flex

2007-11-06 Thread Scott Melby
You probably want to use a view stack or states.  Those should get you 
where you want to go.


hth
Scott

Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com



marlin wrote:


I started a flex project and added a button to the main.mxml. I want
it to go to the aboutus mxml but i don't know how could someone help me.

 


Re: [flexcoders] New to Flex--using Flex classes in AS3 projects?

2007-05-10 Thread Tom Chiverton
On Wednesday 09 May 2007, David Ham wrote:
 I saw in the Flex SDK that in the frameworks/source folder there are a
 bunch of AS class files for Flex classes. Is it possible to use these
 for a pure AS3 project?

If they don't call on the Flex framework, yes.
Flex is 'just' a set of AS3 components, and a clever way to turn MXML into 
AS3 :-)

 I am building a Flash application and could 
 use some additional UI components. 

Why not just use Flex ?

-- 
Tom Chiverton
Helping to economically lead dynamic initiatives
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

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



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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


[flexcoders] New to Flex--using Flex classes in AS3 projects?

2007-05-09 Thread David Ham
Hi,

I am very new to Flex and am coming at it in a roundabout way. I
downloaded Luke Bayes' and Ali Mills' fantastic ASProject and was
trying a simple Hello World project, and compiling it for AS3 with MXMLC.

I saw in the Flex SDK that in the frameworks/source folder there are a
bunch of AS class files for Flex classes. Is it possible to use these
for a pure AS3 project? I am building a Flash application and could
use some additional UI components. Is it possible to add the Flex AS
classes--such as the Panel or the Accordion--to the class path and
instantiate them like I would anything else?

Thanks for any help you can offer.



[flexcoders] New to Flex

2007-02-23 Thread Robert Shaw
OK I guess I am an idiot. My boss finally decided for us to adapt to Adobe 
products starting with Flex.

I installed the Flex 2.0.1 version and used the Coldfusion application wizard 
to create a list grid detail page. Worked fine. Created the CFC and displayed 
the grid. But for the life of me I can't find the page that contains all of the 
code.
I opened the Main.mxml page and here is all the code.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 xmlns=*
 xmlns:controllers=com.cfgenerated.controllers.*
 layout=absolute
 currentState=mainApplication
 mx:Style source=application.css / 

 mx:states
  mx:State name=mainApplication
   mx:AddChild position=lastChild
controllers:windowedApplication top=0 left=0 right=0 bottom=0/
   /mx:AddChild
  /mx:State
 /mx:states
/mx:Application

How do I manipulate the Grid that was created?

Lost and no books.  I am a pretty good Java programmer and this looks straight 
forward. Just a little lost.



Robert Shaw
972-463-3515

Re: [flexcoders] New to Flex

2007-02-23 Thread Clint Tredway

the mxml code is here: com.cfgenerated.controllers. look in the cfgenerated
directory for more directories as well.

On 2/23/07, Robert Shaw [EMAIL PROTECTED] wrote:


   OK I guess I am an idiot. My boss finally decided for us to adapt to
Adobe products starting with Flex.

I installed the Flex 2.0.1 version and used the Coldfusion application
wizard to create a list grid detail page. Worked fine. Created the CFC and
displayed the grid. But for the life of me I can't find the page that
contains all of the code.
I opened the Main.mxml page and here is all the code.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 xmlns=*
 xmlns:controllers=com.cfgenerated.controllers.*
 layout=absolute
 currentState=mainApplication
 mx:Style source=application.css /

 mx:states
  mx:State name=mainApplication
   mx:AddChild position=lastChild
controllers:windowedApplication top=0 left=0 right=0
bottom=0/
   /mx:AddChild
  /mx:State
 /mx:states
/mx:Application
How do I manipulate the Grid that was created?

Lost and no books.  I am a pretty good Java programmer and this looks
straight forward. Just a little lost.



Robert Shaw
972-463-3515

 





--
http://indeegrumpee.spaces.live.com/


Re: [flexcoders] New to Flex

2007-02-23 Thread Tom Chiverton
On Friday 23 Feb 2007, Robert Shaw wrote:
 displayed the grid. But for the life of me I can't find the page that

 xmlns:controllers=com.cfgenerated.controllers.*

 controllers:windowedApplication top=0 left=0 right=0
 bottom=0/ /mx:AddChild

The 'xmlns' line says that when you see angle-bracket and then the bit after 
the colon, look it up in the directory that comes after the equals in the 
xmlns line.

So you should have a /com/cfgenerated/controllers/ directory, with a 
windowedApplication file in.

-- 
Tom Chiverton
Helping to interactively innovate second-generation e-commerce
at http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

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



 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/0It09A/bOaOAA/yQLSAA/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 - Join or create groups, clubs, forums amp; communities. Links

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

* Your email settings:
Individual Email | Traditional

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

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

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

* Your use of Yahoo! Groups - Join or create groups, clubs, forums amp; 
communities. is subject to:
http://docs.yahoo.com/info/terms/
 


[flexcoders] New to Flex and question of course....

2007-01-29 Thread Steven Titus
Hi,

I'm new tp Flex and am trying to debug a 3rd party developed WAR 
portlet developed/wrapped in Flex for Websphere 6.1

I've managed to get through many issues (like the JNDI naming), but 
am stuck here.  Can anyone help point me in the right direction of 
where this problem actually resides.  Here's the error from my log:

[1/24/07 11:27:27:656 EST] 006e ServletWrappe E   SRVE0100E: Did 
not realize  init() exception thrown by servlet 
MessageBrokerServlet: flex.messaging.config.ConfigurationException: 
Unable to create service 'flex.data.DataService' for 'data-service' 
due to the following error: Error instantiating application scoped 
instance of type 'flex.data.assemblers.HibernateAssembler' for 
destination 'userrecord.hibernate'..
at 
flex.messaging.config.MessagingConfiguration.createServices
(MessagingConfiguration.java:202)
at 
flex.messaging.config.MessagingConfiguration.configureBroker
(MessagingConfiguration.java:84)
at flex.messaging.MessageBrokerServlet.init
(MessageBrokerServlet.java:105)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init
(ServletWrapper.java:274)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize
(ServletWrapper.java:1398)
at 
com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServ
letWrapper(WebExtensionProcessor.java:86)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper
(WebApp.java:788)
at 
com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings
(WebApp.java:515)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize
(WebApp.java:404)
at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication
(WebGroup.java:115)
at com.ibm.ws.webcontainer.VirtualHost.addWebApplication
(VirtualHost.java:128)
at com.ibm.ws.webcontainer.WebContainer.addWebApp
(WebContainer.java:924)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication
(WebContainer.java:877)
at com.ibm.ws.runtime.component.WebContainerImpl.install
(WebContainerImpl.java:167)
at com.ibm.ws.runtime.component.WebContainerImpl.start
(WebContainerImpl.java:391)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start
(ApplicationMgrImpl.java:1228)
at 
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObje
ctStart(DeployedApplicationImpl.java:1067)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start
(DeployedModuleImpl.java:547)
at 
com.ibm.ws.runtime.component.DeployedApplicationImpl.start
(DeployedApplicationImpl.java:751)
at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication
(ApplicationMgrImpl.java:892)
at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication
(ApplicationMgrImpl.java:1412)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled 
Code))
at 
javax.management.modelmbean.RequiredModelMBean.invokeMethod
(RequiredModelMBean.java:1366)
at javax.management.modelmbean.RequiredModelMBean.invoke
(RequiredModelMBean.java:1012)
at 
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke
(InvokerMBeanServerInterceptor.java:233)
at 
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke
(DefaultMBeanServerInterceptor.java:128)
at 
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke
(SecurityMBeanServerInterceptor.java:86)
at 
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke
(DefaultMBeanServerInterceptor.java:128)
at 
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke
(DefaultMBeanServerInterceptor.java:128)
at 
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invo
ke(ContextClassLoaderMBeanServerInterceptor.java:167)
at mx4j.server.MX4JMBeanServer.invoke
(MX4JMBeanServer.java:1249)
at com.ibm.ws.management.AdminServiceImpl$1.run
(AdminServiceImpl.java:990)
at com.ibm.ws.security.util.AccessController.doPrivileged
(AccessController.java(Compiled Code))
at com.ibm.ws.management.AdminServiceImpl.invoke
(AdminServiceImpl.java:906)
at 
com.ibm.ws.management.application.AppManagementImpl._startApplication
(AppManagementImpl.java:806)
at 
com.ibm.ws.management.application.AppManagementImpl.startApplication
(AppManagementImpl.java:676)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java(Compiled Code))
   

[flexcoders] New To Flex -- Autoincrement a variable?

2007-01-15 Thread David Steele
This is very easy to do in earlier versions of AS but I can't see how to do it 
in Flex.

I want to autoincrement a variable and display it in a textbox. In earlier 
versions of AS I'd just put an onEnterFrame and increment a variable.


Can anyone tell me how to do this??

Thanks,

David


 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

RE: [flexcoders] New To Flex -- Autoincrement a variable?

2007-01-15 Thread Tracy Spratt
Increment at what event or action?

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of David Steele
Sent: Monday, January 15, 2007 12:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] New To Flex -- Autoincrement a variable?

 

This is very easy to do in earlier versions of AS but I can't see how to
do it in Flex.

 

I want to autoincrement a variable and display it in a textbox. In
earlier versions of AS I'd just put an onEnterFrame and increment a
variable.

 

 

Can anyone tell me how to do this??

 

Thanks,


David

 



TV dinner still cooling?
Check out Tonight's Picks
http://us.rd.yahoo.com/evt=49979/*http:/tv.yahoo.com/  on Yahoo! TV.

 



[flexcoders] New to Flex - dynamic text in mx:Label?

2007-01-11 Thread Alex
Hi there,

  Given this function:

mx:Script
![CDATA[

private function statusToImage(data:String):String {  
return test;  
}

]]
/mx:Script

How precisely can I set it as text-generator for a label?  I've tried:

mx:Label text={statusToImage('abc')} /

And Flex Builder writes: 1180: Call to a possibly undefined method
statusToImage..


Seems it's right above in the same mxml file though!

Thanks in advance.
Alex



Re: [flexcoders] New to Flex - dynamic text in mx:Label?

2007-01-11 Thread Roman Protsiuk

Hi, Alex.

Tried your example. It works. %)

However, maybe what you need is something like this:

   [Bindable]
   protected function get someText() : String {
   return _someText;
   }

   protected function set someText(value : String) : void {
   _someText = statusToImage(value);
   }

   private var _someText : String;

and:

   mx:Label text={someText} /

This seems pretty flexible to me.

R.

On 1/11/07, Alex [EMAIL PROTECTED] wrote:


  Hi there,

Given this function:

mx:Script
![CDATA[

private function statusToImage(data:String):String {
return test;
}

]]
/mx:Script

How precisely can I set it as text-generator for a label? I've tried:

mx:Label text={statusToImage('abc')} /

And Flex Builder writes: 1180: Call to a possibly undefined method
statusToImage..

Seems it's right above in the same mxml file though!

Thanks in advance.
Alex

 



Re: [flexcoders] New to Flex - dynamic text in mx:Label?

2007-01-11 Thread Alexandre Lemaire
Would the problem be the manner in which I am invoking it?

mx:DataGridColumn width=90 headerText=Status dataField=status

mx:itemRenderer

mx:Component

mx:VBox 

width=100% height=100% 

horizontalAlign=center verticalAlign=middle



mx:Label text={statusToImage('abc')} /

/mx:VBox

/mx:Component

/mx:itemRenderer

/mx:DataGridColumn



  - Original Message - 
  From: Roman Protsiuk 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, January 11, 2007 9:11 AM
  Subject: Re: [flexcoders] New to Flex - dynamic text in mx:Label?


  Hi, Alex.

  Tried your example. It works. %)

  However, maybe what you need is something like this:

  [Bindable]
  protected function get someText() : String {
  return _someText;
  }
  
  protected function set someText(value : String) : void {
  _someText = statusToImage(value);
  }
  
  private var _someText : String;

  and:

  mx:Label text={someText} / 

  This seems pretty flexible to me.

  R.



  On 1/11/07, Alex [EMAIL PROTECTED] wrote:
Hi there,

Given this function:

mx:Script 
![CDATA[

private function statusToImage(data:String):String { 
return test; 
}

]]
/mx:Script

How precisely can I set it as text-generator for a label? I've tried:

mx:Label text={statusToImage('abc')} /

And Flex Builder writes: 1180: Call to a possibly undefined method
statusToImage..

Seems it's right above in the same mxml file though!

Thanks in advance.
Alex






   

RE: [flexcoders] New to Flex - dynamic text in mx:Label?

2007-01-11 Thread Tracy Spratt
Yes.  An inline renderer creates a sub-component, with its own scope, and it 
does not have direct access to its parent scope.  Use

outerDocument.statusToImage()

 

See this for details:

http://livedocs.macromedia.com/flex/2/docs/0843.html

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Alexandre Lemaire
Sent: Thursday, January 11, 2007 10:32 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] New to Flex - dynamic text in mx:Label?

 

  

Would the problem be the manner in which I am invoking it?

 

mx:DataGridColumn width=90 headerText=Status dataField=status

mx:itemRenderer

mx:Component

mx:VBox 

width=100% height=100% 

horizontalAlign=center verticalAlign=middle

 

mx:Label text={statusToImage('abc')} /

/mx:VBox

/mx:Component

/mx:itemRenderer

/mx:DataGridColumn

 

 

- Original Message - 

From: Roman Protsiuk mailto:[EMAIL PROTECTED]  

To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com  

Sent: Thursday, January 11, 2007 9:11 AM

Subject: Re: [flexcoders] New to Flex - dynamic text in mx:Label?

 

Hi, Alex.

Tried your example. It works. %)

However, maybe what you need is something like this:

[Bindable]
protected function get someText() : String {
return _someText;
}

protected function set someText(value : String) : void {
_someText = statusToImage(value);
}

private var _someText : String;

and:

mx:Label text={someText} / 

This seems pretty flexible to me.

R.

On 1/11/07, Alex [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  wrote: 

Hi there,

Given this function:

mx:Script 
![CDATA[

private function statusToImage(data:String):String { 
return test; 
}

]]
/mx:Script

How precisely can I set it as text-generator for a label? I've tried:

mx:Label text={statusToImage('abc')} /

And Flex Builder writes: 1180: Call to a possibly undefined method
statusToImage..

Seems it's right above in the same mxml file though!

Thanks in advance.
Alex

 

 



Re: [flexcoders] New to Flex 2.0 Help please

2006-06-20 Thread Tom Chiverton
On Monday 19 June 2006 02:45, Silpa sirivella wrote:
 I may have to develop some RIA application using
 Flex2.0. I'm using Weblogic as my application server. When try to
.
 I've got Flex 1.5 jars(flex-bootstrap.jar). do i need to update any
 jars for flex 2.0? if so where can i get new jar files. 

You can't mix 1.5 and 2.0 in the same server instance.
Head over to labs.adobe.com and download the Flex2 beta.

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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] New to Flex 2.0 Help please

2006-06-19 Thread Silpa sirivella
Hi all,

I'm new to Flex. I may have to develop some RIA application using 
Flex2.0. I'm using Weblogic as my application server. When try to 
locate my index.mxml(http://localhost:7001/index.mxml), i'm getting 
following error.

22 Errors found. 
 
Error /index.mxml:2 
Unknown attribute 'layout' on mx.core.Application



Error /index.mxml:3 
Don't know how to parse 
element http://www.adobe.com/2006/mxml:Style;. It is not a known 
type or a property of mx.core.Application.


I've configured name space in my flex-config.xml in the following way

namespaces
namespace uri=http://www.adobe.com/2006/mxml;
manifest/WEB-INF/flex/mxml-manifest.xml/manifest
/namespace
namespace uri=http://www.macromedia.com/2003/mxml;
manifest/WEB-INF/flex/mxml-manifest.xml/manifest
/namespace
/namespaces
I've got Flex 1.5 jars(flex-bootstrap.jar). do i need to update any 
jars for flex 2.0? if so where can i get new jar files. I've 
installed flex2.0 builder on my system. I'll be thankful for the help 
on this. Thanks in advance.

-silpa









 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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] New to Flex Skinning.

2006-05-24 Thread poonam vora



what kinda errors it shows?then we can understand the problem on which section rite??and describe more about ur exact problemreply soon.Gareth Edwards [EMAIL PROTECTED] wrote:Been working on a little something, and I decided to attempt to style  some of what I'm working on.  I have attempted to use the css and some ClassReferences to do some  skinning.  The first thing I get stuck on, and can't seem to get past, I'm pretty  sure I'm not doing something right, but I don't know what.  The problem is, as soon as I attach the ClassReference to my css class,  when I interact with the object, rather than event.target being the  object I'm interacting with, it does something with the ClassReference  and throws all sorts of errors. Can I step through the children
 or  something until I hit the object I want?  Any help would be much appreciated.  p.s. the type of container I'm trying to style is a mx:Box if that  helps at all?  Cheers Gareth.
	

	
		 
 Yahoo! India Answers Share what your know-how and wisdom 
Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] New to Flex Skinning.

2006-05-24 Thread Gordon Smith



Perhaps you need to event.currentTarget? It sounds like mosue events are coming from the skin and bubbling up to the component.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gareth Edwards
Sent: Tuesday, May 23, 2006 8:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] New to Flex Skinning.

Been working on a little something, and I decided to attempt to style

some of what I'm working on.

I have attempted to use the css and some ClassReferences to do some 
skinning.

The first thing I get stuck on, and can't seem to get past, I'm pretty 
sure I'm not doing something right, but I don't know what.

The problem is, as soon as I attach the ClassReference to my css class, 
when I interact with the object, rather than event.target being the 
object I'm interacting with, it does something with the ClassReference 
and throws all sorts of errors. Can I step through the children or 
something until I hit the object I want?

Any help would be much appreciated.

p.s. the type of container I'm trying to style is a mx:Box if that 
helps at all?

Cheers
Gareth.





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



 









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] New to Flex Skinning.

2006-05-23 Thread Gareth Edwards



Been working on a little something, and I decided to attempt to style

some of what I'm working on.

I have attempted to use the css and some ClassReferences to do some 
skinning.

The first thing I get stuck on, and can't seem to get past, I'm pretty 
sure I'm not doing something right, but I don't know what.

The problem is, as soon as I attach the ClassReference to my css class, 
when I interact with the object, rather than event.target being the 
object I'm interacting with, it does something with the ClassReference 
and throws all sorts of errors. Can I step through the children or 
something until I hit the object I want?

Any help would be much appreciated.

p.s. the type of container I'm trying to style is a mx:Box if that 
helps at all?

Cheers
Gareth.








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] New to Flex and deciding...

2006-04-30 Thread David Mendels





Hello,

1. Somewhere they say that the SDK is now free but 
the builder ispriced and with that will be one framework license. I don't 
quiteunderstand what is this framework license.

The Framework and compiler are free for both development 
and deployment.You can use them with any text editor ro develop your 
code. There are nohidden costs.

The FlexBuilder tool, and the Charting components will be 
charged on a per developer seat basis. In otherwords, if you want to use 
them, you can buy a copy (for someamount less that $1,000) and use them to 
create any and all applications you want.There are no additional license 
fees for deploying applications.2. In the book there 
is reference that you can (technically) delivercompiled mxml files from your 
website but it will be a licenseviolation. Is it still true with 2.0?

This is not true with 2.0.
3. I 
understand that Data Services are priced and will need licensebut if I use 
HTTP Service and use compiled mxml application as UI toconnect to my server 
"without" any Flex server component. Can I do itwithout any licensing from 
Macromedia?

Correct. You can deliver a compiled SWF from the SDK 
and connect to your server without any licensed server softwarefrom 
Adobe/Macromedia. 
Bottomline. I am working on a 
shoestring. I need to get startedquickly with a budget of $200/yr. (which 
means mostly open sourceCPL/GPL software). Of course when I grow and need 
more commercialfeatures I will loosen my purse but I do not like any entry 
barriers(who does?) Does Flex2.0 licensing model accomodate people like 
me or not?
Yes it does. :)


Regards,
David
Adobe





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] New to Flex and deciding...

2006-04-30 Thread JesterXL



1. SDK = Flash Player 8.5 + mxmlc + compc + Flex 2 Component Framework 
(source code to compile)

That's all free.

Flex Builder 2, the Eclipse plugin or optional standalone, is not free.

2  3 I'll let others handle.

- Original Message - 
From: nasirk09 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, April 29, 2006 10:05 PM
Subject: [flexcoders] New to Flex and deciding...


Hi,
I am new to Flex, bought the Flex book and started using the 2.0 beta.
I love it.
I am however confused by the Flex2.0 licensing. What is free and what
is not?

1. Somewhere they say that the SDK is now free but the builder is
priced and with that will be one framework license. I don't quite
understand what is this framework license.

2. In the book there is reference that you can (technically) deliver
compiled mxml files from your website but it will be a license
violation. Is it still true with 2.0?

3. I understand that Data Services are priced and will need license
but if I use HTTP Service and use compiled mxml application as UI to
connect to my server without any Flex server component. Can I do it
without any licensing from Macromedia?

Bottomline. I am working on a shoestring. I need to get started
quickly with a budget of $200/yr. (which means mostly open source
CPL/GPL software). Of course when I grow and need more commercial
features I will loosen my purse but I do not like any entry barriers
(who does?)
Does Flex2.0 licensing model accomodate people like me or not?

I posted these questions to almost all Flex email addresses I could
get but there was no reply. (Which I construe as sorry not interested).

The website has conflicting information as I mentioned in 1.
Anyway, there is an alternative in OpenLaszlo but I think in terms of
features it is not as rich as Flex.
Any clarification in this regard will be greatly appreciated, as I
need to decide on the choice of platform in very near future.

Thanks
Nasir





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











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] New to Flex and deciding...

2006-04-30 Thread Nasir Khan



Manuel/David/JesterXL

Thanks a lot for the clarifications and insights. 
Are all the licensing details you mentioned already
finalized at Macromedia or are they still deciding? 

The reason I ask this again is because I could not
find this information on any official macromedia
site, there are some blogs which talk about it, some
lists and so forth. In one of the blogs their product
manager said we intend to make SDK free... the
intention is not good enough for people like me :-)
 
On the contrary I came accross this yesterday - 
http://www.macromedia.com/software/flex/productinfo/ncni/scenarios.html

It just talks about Non-Commercial licenses. I have
all intentions to be commercial from day-1. And would
be happy to buy upgrade/cluster licenses, I just dont
want to pay upfront costs. This material could be
dated but there is so much and often conflicting
information on licensing and costs. 

Thanks
Nasir 

 

--- Manuel Saint-Victor [EMAIL PROTECTED]
wrote:

 Nasir,
 You'll probably get more precise answers to the
 individual aspects of your
 questions from other members but i just wanted to
 help you with the
 confusion aspect. Flex 2 and Flex 1.* are entirely
 different worlds. The
 rules have been entirely changed and deployment
 now costs you nothing.
 The files generated from Flex 2 do not require any
 type of server license.
 From what I understand the builder will be priced. 
 The builder being the
 thing you are enjoying dragging and dropping in as
 we speak. It's very nice
 and makes developing your apps a wonderful
 experience. However if you want
 to drop your prices to zero you'll still be able to
 create your applications
 (write and compile) using other text tools and the
 compiler(which will
 continue to be free).
 The framework - which I believe to be the components
 etc- will also be
 free- So you'll be able to use say the datagrid-
 you just can't drag and
 drop it onto your canvas for free- You can write the
 mxml text file by hand
 and still get your app to do what it needs to do.
 
 As far as the data services- They are free to a
 point- I haven't
 investigated all of the details of that yet but from
 what I understand you
 can build a fully functional application that is
 only limited in the number
 of users that can access it at one time (if I'm
 wrong someone please correct
 me). So I believe the HTTPService will be entirely
 free.
 
 If you are operating on a budget I think Flex will
 suit your needs. Based
 on your description the only limitation will be the
 amount of elbow grease
 you are willing to put into it(other than the data
 services aspect). Based
 on the way you come across- you're ready to grow and
 pay your dues- I feel
 as if Flex and the Flash platform overall is
 designed with that in mind.
 Hopefully i answered some of your questions and at
 the very least got rid of
 the feeling that the community is not listening- I
 think we are all in
 sprint mode right now as we try to keep up with the
 explosive growth of
 Flash as a whole.
 
 
 
 
  SPONSORED LINKS
  Web site design

developmenthttp://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
 Computer
  software

developmenthttp://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
 Software
  design and

developmenthttp://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
 Macromedia
 

flexhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
 Software
  development best

practicehttp://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw
  --
  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/.
 
 
  --
 
 


__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 

RE: [flexcoders] New to Flex and deciding...

2006-04-30 Thread David Mendels



Hi,

The final license agreements are being worked on by our teams. 

But the basic outlines are final and my earlier email explains them.

The information on non-commercial licenses on our site is based on the
Flex 1.5 timeframe, it has not been updated for 2.0.

Hope this helps,

David
Adobe

 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Nasir Khan
 Sent: Sunday, April 30, 2006 2:50 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] New to Flex and deciding...
 
 Manuel/David/JesterXL
 
 Thanks a lot for the clarifications and insights. 
 Are all the licensing details you mentioned already finalized 
 at Macromedia or are they still deciding? 
 
 The reason I ask this again is because I could not find this 
 information on any official macromedia site, there are some 
 blogs which talk about it, some lists and so forth. In one of 
 the blogs their product manager said we intend to make SDK 
 free... the intention is not good enough for people like me :-)
 
 On the contrary I came accross this yesterday - 
 http://www.macromedia.com/software/flex/productinfo/ncni/scena
 rios.html
 
 It just talks about Non-Commercial licenses. I have all 
 intentions to be commercial from day-1. And would be happy 
 to buy upgrade/cluster licenses, I just dont want to pay 
 upfront costs. This material could be dated but there is so 
 much and often conflicting information on licensing and costs. 
 
 Thanks
 Nasir 
 
 
 
 --- Manuel Saint-Victor [EMAIL PROTECTED]
 wrote:
 
  Nasir,
  You'll probably get more precise answers to the individual 
 aspects of 
  your questions from other members but i just wanted to help 
 you with 
  the confusion aspect. Flex 2 and Flex 1.* are entirely different 
  worlds. The rules have been entirely changed and deployment now 
  costs you nothing.
  The files generated from Flex 2 do not require any type of server 
  license.
  From what I understand the builder will be priced. 
  The builder being the
  thing you are enjoying dragging and dropping in as we speak. It's 
  very nice and makes developing your apps a wonderful experience. 
  However if you want to drop your prices to zero you'll 
 still be able 
  to create your applications (write and compile) using other 
 text tools 
  and the compiler(which will continue to be free).
  The framework - which I believe to be the components
  etc- will also be
  free- So you'll be able to use say the datagrid- you just 
 can't drag 
  and drop it onto your canvas for free- You can write the mxml text 
  file by hand and still get your app to do what it needs to do.
  
  As far as the data services- They are free to a
  point- I haven't
  investigated all of the details of that yet but from what I 
 understand 
  you can build a fully functional application that is only 
 limited in 
  the number of users that can access it at one time (if I'm wrong 
  someone please correct me). So I believe the HTTPService will be 
  entirely free.
  
  If you are operating on a budget I think Flex will suit 
 your needs. 
  Based on your description the only limitation will be the amount of 
  elbow grease
  you are willing to put into it(other than the data services 
 aspect). 
  Based on the way you come across- you're ready to grow and pay your 
  dues- I feel as if Flex and the Flash platform overall is designed 
  with that in mind.
  Hopefully i answered some of your questions and at the very 
 least got 
  rid of the feeling that the community is not listening- I 
 think we are 
  all in sprint mode right now as we try to keep up with the 
 explosive 
  growth of Flash as a whole.
  
  
  
  
   SPONSORED LINKS
   Web site design
 
 developmenthttp://groups.yahoo.com/gads?t=msk=Web+site+desig
n+developmentw1=Web+site+design+developmentw2
=Computer+software+developmentw3=Software+design+and+developm
entw4=Macromedia+flexw5=Software+development+best+practicec=5
s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
  Computer
   software
 
 developmenthttp://groups.yahoo.com/gads?t=msk=Computer+softw
are+developmentw1=Web+site+design+developmentw2
=Computer+software+developmentw3=Software+design+and+developm
entw4=Macromedia+flexw5=Software+development+best+practicec=5
s=166.sig=lvQjSRfQDfWudJSe1lLjHw
  Software
   design and
 
 developmenthttp://groups.yahoo.com/gads?t=msk=Software+desig
n+and+developmentw1=Web+site+design+developmentw2
=Computer+software+developmentw3=Software+design+and+developm
entw4=Macromedia+flexw5=Software+development+best+practicec=5
s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
  Macromedia
  
 
 flexhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=We
b+site+design+developmentw2=Computer+software+developmentw3
=Software+design+and+developmentw4=Macromedia+flexw5=Softwar
e+development+best+practicec=5s=166.sig=OO6nPIrz7 _EpZI36cYzBjw
  Software
   development best
 
 practicehttp://groups.yahoo.com/gads?t=msk=Software+developm
ent+best+practicew1=Web+site+design+developmentw2

RE: [flexcoders] New to Flex, couple of questions

2006-04-30 Thread Sascha Balkau



I just had the chance to read the replies to my questions now! Thanks a lot
Dirk and Tracy! Though this is overdue since about a week!

Sascha


 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Dirk Eismann
 Sent: Monday, 24. April, 2006 22:44
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] New to Flex, couple of questions
 Importance: High
 
 Hi - and welcome to Flex :)
 
 MXML files get turned into AS prior compilation and you can do pretty
 anything either in MXML or AS. A typical usecase is to setup a
 Controller inside your main Application file. This can be done either in
 a Script block or by tag syntax as Tracy suggested. Below are two
 examples - email code, but you should get the idea :)
 
 1) Script style
 mx:Application creationComplete=initApp()
 mx:Script
 
 import foo.bar.Controller;
 private var controller:Controller;
 
 private function initApp():void
 {
 controller = new Controller();
 controller.init(this);
 }
 /mx:Script
 /mx:Application
 
 2) Tag style
 mx:Application creationComplete=controller.init(this)
 Controller id=controller xmlns=foo.bar.* /
 /mx:Application
 
 // Controller.as
 package foo.bar
 {
 import mx.core.Application;
 
 public class Controller
 {
 public function init(application:Application)
 {
 // whatever...
 }
 }
 }
 









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] New to Flex and deciding...

2006-04-29 Thread nasirk09



Hi,
I am new to Flex, bought the Flex book and started using the 2.0 beta.
I love it. 
I am however confused by the Flex2.0 licensing. What is free and what
is not?
 
1. Somewhere they say that the SDK is now free but the builder is
priced and with that will be one framework license. I don't quite
understand what is this framework license. 

2. In the book there is reference that you can (technically) deliver
compiled mxml files from your website but it will be a license
violation. Is it still true with 2.0?

3. I understand that Data Services are priced and will need license
but if I use HTTP Service and use compiled mxml application as UI to
connect to my server without any Flex server component. Can I do it
without any licensing from Macromedia? 

Bottomline. I am working on a shoestring. I need to get started
quickly with a budget of $200/yr. (which means mostly open source
CPL/GPL software). Of course when I grow and need more commercial
features I will loosen my purse but I do not like any entry barriers
(who does?) 
Does Flex2.0 licensing model accomodate people like me or not? 

I posted these questions to almost all Flex email addresses I could
get but there was no reply. (Which I construe as sorry not interested).

The website has conflicting information as I mentioned in 1. 
Anyway, there is an alternative in OpenLaszlo but I think in terms of
features it is not as rich as Flex. 
Any clarification in this regard will be greatly appreciated, as I
need to decide on the choice of platform in very near future. 

Thanks
Nasir 









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] New to Flex, couple of questions

2006-04-24 Thread Sascha Balkau










Ive
checked through the block and found 3 Ant build files, but none of them mention
the Flex compiler anywhere (compc.exe), not sure if this is helpful. Thanks
anyway for the link!



Sascha

















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JB
Sent: Friday, 21. April, 2006
23:04
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] New to
Flex, couple of questions
Importance: High





Hi,
Check out Simeon Bateman site
http://www.simb.net/blog/




















--
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] New to Flex, couple of questions

2006-04-24 Thread Sascha Balkau



Hi Tracy,

An example would be great if you got any. Even if it's in 1.5 I think it
will be helpful to understand how AS and Flex works together.
Thanks,
Sascha



 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Tracy Spratt
 Sent: Saturday, 22. April, 2006 02:34
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] New to Flex, couple of questions
 
 I am not doing 2.0 yet, but in 1.5 you can put your AS code in a class
 file, and then either instantiate it in a tag, or make the class methods
 static, import it and then use the static methods.
 
 I have a simple example in 1.5 if you want to see it.
 
 Tracy
 







--
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] New to Flex, couple of questions

2006-04-24 Thread Dirk Eismann



Hi - and welcome to Flex :)

MXML files get turned into AS prior compilation and you can do pretty
anything either in MXML or AS. A typical usecase is to setup a
Controller inside your main Application file. This can be done either in
a Script block or by tag syntax as Tracy suggested. Below are two
examples - email code, but you should get the idea :)

1) Script style
mx:Application creationComplete=initApp()
 mx:Script
 
 import foo.bar.Controller;
 private var controller:Controller;

 private function initApp():void
 {
 controller = new Controller();
 controller.init(this);
 }
 /mx:Script
/mx:Application

2) Tag style
mx:Application creationComplete=controller.init(this)
 Controller id=controller xmlns=foo.bar.* /
/mx:Application

// Controller.as
package foo.bar
{
 import mx.core.Application;

 public class Controller
 {
 public function init(application:Application)
 {
 // whatever...
 }
 }
}

Concerning ANT and the command line compilers: mxmlc is used to compile
applications (SWF files), compc is used to compile component libraries
(SWC files) so you should look out for ANT scripts that use mxmlc and
not compc :)

In addition, you might want to check what Mike Chambers blogged
recently:
http://weblogs.macromedia.com/mesh/archives/2006/04/flex_2_actionsc_1.cf
m

Dirk.

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Balkau
 Sent: Monday, April 24, 2006 6:36 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] New to Flex, couple of questions
 
 Hi Tracy,
 
 An example would be great if you got any. Even if it's in 1.5 
 I think it will be helpful to understand how AS and Flex 
 works together.
 Thanks,
 Sascha
 
 
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] 
  On Behalf Of Tracy Spratt
  Sent: Saturday, 22. April, 2006 02:34
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] New to Flex, couple of questions
  
  I am not doing 2.0 yet, but in 1.5 you can put your AS code 
 in a class 
  file, and then either instantiate it in a tag, or make the class 
  methods static, import it and then use the static methods.
  
  I have a simple example in 1.5 if you want to see it.
  
  Tracy
  
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 
 
 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] New to Flex, couple of questions

2006-04-24 Thread Tracy Spratt



This very simple sample app consist of three file. One is an ordinary
class, one is a class with static methods and the third is the main mxml
file, which uses the two utility classes.

Tracy

?xml version=1.0 encoding=utf-8?
!-- UtilityClassTest.msml --
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
xmlns=*
 mx:Script![CDATA[
  import UtilityClassStatic
  public var sAppProperty:String = BAZ;
 ]]/mx:Script
 UtilityClass id=u app={this}/
 mx:Label text={u.getFoo()} /
 mx:Label text={UtilityClassStatic.getBar()} /
/mx:Application


// UtilityClas.as Example utility function class for dynamic
instantiation
class UtilityClass
{
 public var app:UtilityClassTest;
 public function getFoo():String{
  return FOO + app.sAppProperty;
 }
}//UtilityClass


// UtilityClassStatic Example utility function class for Static
reference
class UtilityClassStatic
{
 public static function getBar():String{
  return BAR;
 }
}//UtilityClassStatic


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sascha Balkau
Sent: Monday, April 24, 2006 12:36 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] New to Flex, couple of questions

Hi Tracy,

An example would be great if you got any. Even if it's in 1.5 I think it
will be helpful to understand how AS and Flex works together.
Thanks,
Sascha



 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Tracy Spratt
 Sent: Saturday, 22. April, 2006 02:34
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] New to Flex, couple of questions
 
 I am not doing 2.0 yet, but in 1.5 you can put your AS code in a class
 file, and then either instantiate it in a tag, or make the class
methods
 static, import it and then use the static methods.
 
 I have a simple example in 1.5 if you want to see it.
 
 Tracy
 



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



 










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












[flexcoders] New to Flex, couple of questions

2006-04-21 Thread Sascha Balkau



Hi list,

I'm familiar with ActionScript 2.0 but new to Flex and just started learning
Flex 2.0 and AS3.0. I'm amazed how easy and flexible components can be used
with Flex but I got a few questions about it...

So far I have only seen MXML code with embedded ActionScript. But I prefer
to write the ActionScript in a class structure. Is it possible to keep both
ActionScript Classes and MXML code in their own files and somehow link
these? If so, how do I do that?

I'd like use an Ant build file to compile the Flex apps but I'm not very
familiar with the compiler syntax yet. Does somebody know of any examples on
the web on how to use the compiler in a command line or an example Ant build
file for it?

Thanks for any help!
Sascha








--
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] New to Flex, couple of questions

2006-04-21 Thread JB



Hi,Check out Simeon Bateman sitehttp://www.simb.net/blog/Sascha Balkau [EMAIL PROTECTED] wrote:Hi list,  I'm familiar with ActionScript 2.0 but new to Flex and just started learning Flex 2.0 and AS3.0. I'm amazed how easy and flexible components can be used with Flex but I got a few questions about it...  So far I have only seen MXML code with embedded ActionScript. But I prefer to write the ActionScript in a class structure. Is it possible to keep both ActionScript Classes and MXML code in their own files and somehow link these? If so, how do I do that?  I'd like use an Ant build file to compile the Flex apps but I'm not very familiar with the compiler syntax yet. Does somebody know of any examples on the web on how to use the compiler in a command line or an example
 Ant build file for it?  Thanks for any help! Sascha   
		How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] New to Flex, couple of questions

2006-04-21 Thread Tracy Spratt



I am not doing 2.0 yet, but in 1.5 you can put your AS code in a class
file, and then either instantiate it in a tag, or make the class methods
static, import it and then use the static methods.

I have a simple example in 1.5 if you want to see it.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sascha Balkau
Sent: Friday, April 21, 2006 12:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] New to Flex, couple of questions

Hi list,

I'm familiar with ActionScript 2.0 but new to Flex and just started
learning
Flex 2.0 and AS3.0. I'm amazed how easy and flexible components can be
used
with Flex but I got a few questions about it...

So far I have only seen MXML code with embedded ActionScript. But I
prefer
to write the ActionScript in a class structure. Is it possible to keep
both
ActionScript Classes and MXML code in their own files and somehow link
these? If so, how do I do that?

I'd like use an Ant build file to compile the Flex apps but I'm not very
familiar with the compiler syntax yet. Does somebody know of any
examples on
the web on how to use the compiler in a command line or an example Ant
build
file for it?

Thanks for any help!
Sascha




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



  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] New to Flex, and mxml and getting an error trying to use RSS

2006-01-03 Thread malik_robinson
Hi,

I am very new to Flex and trying to try some basic tutorials in the 
help documentation that comes with Flex Builder 2 alpha.

I searched the mailing list/archives trying to find out why I get the 
following error message but to no avail.  The error is below:

The processing instruction target matching [xX][mM][IL] is not 
allowed.

My code is below and is basically from the documentation that comes 
with the flex builder 2 alpha 1 version.  The main difference is I am 
trying to point it as a different url other than the 
weblogs.macromedia.com/mchotin or whatever the exact url is.  I am 
trying to point it at a different URL.

?xml version=1.0 encoding=utf-8? 
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; 
xmlns=*
initialize=feedRequest.send() 

mx:HTTPService 
id=feedRequest 
url=http://groups.yahoo.com/group/flexcoders/;
useProxy=false/

mx:Canvas width=100% height=100%
mx:Label x=20 y=50 
text={feedRequest.result.rss.channel.title}/
mx:DataGrid x=20 y=80 id=dgPosts width=400
mx:columns
mx:DataGridColumn headerText=Column 1 
columnName=col1/
mx:DataGridColumn headerText=Column 2 
columnName=col2/
/mx:columns
/mx:DataGrid
mx:TextArea x=20 y=245 width=400 /
mx:Link x=20 y=300 label=Read Full Post /
/mx:Canvas  
/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 
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] New to Flex, and mxml and getting an error trying to use RSS

2006-01-03 Thread Franck de Bruijn










Hi Malik,



It looks like your url is not pointing to
a real XML file. I tried your app and I got the message Error #1090: XML
parser failure: element is malformed.



Also be aware that you cannot point to any
arbitrary URL in the WWW, since Flex apps are only allowed to obtain resources
from the server they have been deployed from, unless there is a crossdomain.xml
file present granting you access to the resource.



Cheers,

Franck











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of malik_robinson
Sent: dinsdag 3 januari 2006 8:14
To: flexcoders@yahoogroups.com
Subject: [flexcoders] New to Flex,
and mxml and getting an error trying to use RSS





Hi,

I am very new to Flex and trying to try some basic
tutorials in the 
help documentation that comes with Flex Builder 2
alpha.

I searched the mailing list/archives trying to
find out why I get the 
following error message but to no avail. The
error is below:

The processing instruction target matching
[xX][mM][IL] is not 
allowed.

My code is below and is basically from the
documentation that comes 
with the flex builder 2 alpha 1 version. The
main difference is I am 
trying to point it as a different url other than
the 
weblogs.macromedia.com/mchotin or whatever the
exact url is. I am 
trying to point it at a different URL.

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

xmlns=*

initialize=feedRequest.send() 

 mx:HTTPService 

id=feedRequest 

url="" href="http://groups.yahoo.com/group/flexcoders/">http://groups.yahoo.com/group/flexcoders/

useProxy=false/

 mx:Canvas
width=100% height=100%

mx:Label x=20 y=50 
text={feedRequest.result.rss.channel.title}/

mx:DataGrid x=20 y=80 id=dgPosts
width=400

mx:columns

mx:DataGridColumn headerText=Column 1 
columnName=col1/

mx:DataGridColumn headerText=Column 2 
columnName=col2/

/mx:columns

/mx:DataGrid

mx:TextArea x=20 y=245 width=400 /

mx:Link x=20 y=300 label=Read Full Post
/
 /mx:Canvas 
/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





  




  
  
  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] New To Flex

2005-11-04 Thread Alan



I've been playing with Flex on and off over the last year. I recently downloaded Flex 2 Alpha 1 and I like what I see, however I'm a newbie to application development. I would like to get my arms around Flex 2, but other than the few tutorials that Macromedia has on thier site I haven't been able to find anf Flex 2 resource sites. Should I start with developing applications in Flash before diving into Flex 2?






--
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] New To Flex

2005-11-04 Thread Matt Chotin










Understanding Flash is not a pre-requisite
to understanding Flex. Sometimes it even confuses people J Id look at the
Developing Rich Clients book even though its for 1.0, the concepts of
how to build an application remain. The 1.5 tutorials that you find out on the
web also should generally remain helpful for the concepts even if some of the
code might need to be updated.



Matt











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Alan
Sent: Friday, November 04, 2005
10:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] New To Flex





I've been playing with Flex on and off over the last
year. I recently downloaded Flex 2 Alpha 1 and I like what I see, however
I'm a newbie to application development. I would like to get my arms
around Flex 2, but other than the few tutorials that Macromedia has on thier
site I haven't been able to find anf Flex 2 resource sites. Should I
start with developing applications in Flash before diving into Flex 2?








--
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
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] New to Flex, Questions for datagrid

2005-06-20 Thread mehrotraritesh
Hi All,
I am new to Flex enviornment and have been assigned to investigate 
whether flex would make right choice for our application (VC++) based 
to move to Flex and this is where I am looking for help. I have few 
questions:


Can Flex DataGrid conrol
1. Manage to hold more 1,00,000 rows with 256 columns.
   ( If so, does anybody has stats of how much it takes to load)
2. Freeze panes or fix column while other colums can scroll
   ( I read: it is real hard to do)
3. Cut/Copy/paste from and to Excel
4. Put images in one of columns of Grid control
   ( I read:  I need to render an image, but donot know if I can
 add click event on the image)
5. Put Combo boxes or Date control in one of the columns of Grid 
Control

Please execuse me if these are already answered, Any direction to 
previous post would also be great.
Thanks in advance,
Ritesh








 
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] New to Flex, Questions for datagrid

2005-06-20 Thread Dimitrios Gianninas





I'll quickly give you some 
answers:

1) you can find info here: http://macromedia.max04.v4.breezecentral.com/p98974576/
2) you can find something like 
that here: http://www.richinternetapps.com/archives/2005_01.html
3) you mean paste and whole set 
of rows and columns? unfortunately not
4) easily done via 
CellRenderer
5) easily done via 
CellRenderer

Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments Inc.



From: mehrotraritesh 
[mailto:[EMAIL PROTECTED] Sent: Monday, June 20, 2005 10:12 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] New 
to Flex, Questions for datagrid
Hi All,I am new to Flex enviornment and have been assigned to 
investigate whether flex would make right choice for our application (VC++) 
based to move to Flex and this is where I am looking for help. I have few 
questions:Can Flex DataGrid conrol1. Manage to hold more 
1,00,000 rows with 256 columns. ( If so, does anybody has stats 
of how much it takes to load)2. Freeze panes or fix column while other 
colums can scroll ( I read: it is real hard to do)3. 
Cut/Copy/paste from and to Excel4. Put images in one of columns of Grid 
control ( I read: I need to render an image, but donot 
know if I can add click event on the image)5. 
Put Combo boxes or Date control in one of the columns of Grid 
ControlPlease execuse me if these are already answered, Any 
direction to previous post would also be great.Thanks in 
advance,Ritesh







Yahoo! Groups Links

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










RE: [flexcoders] New to Flex and having difficulties with validat ion

2005-03-06 Thread Matt Chotin
Title: New to Flex and having difficulties with validation








OK, so this is not trivial right off the
bat right now but it can be done. Unfortunately I dont have time to come
up with an example that I can code quickly. Basically you need to have your
elements repeated and then capture the change event of the component that is
editing the field and trigger validation. Sound complex? It canbe J One thing you could do
is encapsulate the validation logic in your visual component itself, something
like this:



MyTextInput.mxml

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

 mx:String id=value{text}/mx:String

 mx:StringValidator field=value
minLength=5 / !this validator is how you would
fill in all of the validation logic 



 mx:Script

 Import mx.validators.Validator;

 function isValid() : Boolean

 {

 return Validator.isValid(this, value);

 }



/mx:TextInput





MyApplication.mxml

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



 mx:Script

 function areAllValid() : Boolean

 {

 var allValid : Boolean = true;

 for (var i = 0; i  edgeinput.length
 allValid; ++i)

 {

 allValid = edgeinput[i].isValid();

 }

 return allValid;

 }

 /mx:Script

mx:Model
id=edgesmodel source=edges.xml/ 

mx:Form

 mx:Repeater
id=edgesrepeater dataProvider={edgesmodel.edge}
recycleChildren=true

 


 mx:FormItem
label={edgesrepeater.currentItem.label} : 
required=true 


 MyTextInput
id=edgeinput width=75 text={edgesrepeater.currentItem.value}
/ 
 
/mx:FormItem


 
 /mx:Repeater 
/mx:Form


/mx:Application



So thats how you could determine
that everything is valid. You could also add in additional logic for change
detection, etc.



Hope this can get you started,



Matt









From: Jeroen De Vos
[mailto:[EMAIL PROTECTED] 
Sent: Friday, March 04, 200512:20
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] New to
Flex and having difficulties with validation





Hi Matt,



I want the values of the edgesmodel, that
could have been modified, validated, and offcourse turn the borders of the
textinput red when they don't validate.



Thanks,

Jeroen.









Van:
Matt Chotin [mailto:[EMAIL PROTECTED] 
Verzonden: vrijdag 4 maart 2005
5:57
Aan: flexcoders@yahoogroups.com
Onderwerp: RE: [flexcoders] New to
Flex and having difficulties with validation

You want each individual field validated
the same way or are you trying to validate the edgesmodel as a whole?
Validators dont really work well with repeated elements. You can
use some of the static utility methods to set something up, but then havingit
turn the borders of the textinputs red gets more difficult.



Matt











From: Jeroen De Vos
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 03, 2005
6:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] New toFlex
and having difficulties with validation





Hello
everyone, 

I'm
new to Flex (started on Monday) and I'm having a lot of difficulties with validation.

Here's
the situation: 
I have
a model in which I load data from an external XML 
mx:Model
id=edgesmodel source=edges.xml/ 

Then
I use a repeater to put the information on screen: 
mx:Form

 mx:Repeater
id=edgesrepeater dataProvider={edgesmodel.edge}
recycleChildren=true

 


 mx:FormItem
label={edgesrepeater.currentItem.label} : 
required=true 


 mx:TextInput
id=edgeinput width=75 text={edgesrepeater.currentItem.value}
/ 
 
/mx:FormItem


 
 /mx:Repeater 
/mx:Form


The
user can change the edge value in the textinput field, so I wrote a function
which updates the information in the model (this works fine).

And
finally I would like to do validation on the value field of the edgesmodel
before I execute the program. 
Could
someone point out how I can do this validation? 

Thanks
a lot! 
Jeroen.




 

Jeroen De Vos

Gemeentelijk Havenbedrijf Antwerpen 
C/ICT - AMARIS 
 















RE: [flexcoders] New to Flex and having difficulties with validation

2005-03-04 Thread Jeroen De Vos
Title: New to Flex and having difficulties with validation



Hi Matt,

I want the values of the edgesmodel, that could have been 
modified, validated, and offcourse turn the borders of the textinput red when 
they don't validate.

Thanks,
Jeroen.


Van: Matt Chotin [mailto:[EMAIL PROTECTED] 
Verzonden: vrijdag 4 maart 2005 5:57Aan: 
flexcoders@yahoogroups.comOnderwerp: RE: [flexcoders] New to Flex and 
having difficulties with validation


You want each 
individual field validated the same way or are you trying to validate the 
edgesmodel as a whole? Validators dont really work well with repeated 
elements. You can use some of the static utility methods to set something 
up, but then having it turn the borders of the textinputs red gets more 
difficult.

Matt





From: Jeroen De 
Vos [mailto:[EMAIL PROTECTED] Sent: Thursday, March 03, 2005 6:59 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] New to Flex and 
having difficulties with validation

Hello everyone, 

I'm 
new to Flex (started on Monday) and I'm having a lot of difficulties with 
validation. Here's the situation: 
I 
have a model in which I load data from an external XML mx:Model 
id="edgesmodel" source="edges.xml"/ 
Then I use a repeater to put the 
information on screen: mx:Form 
 mx:Repeater id="edgesrepeater" 
dataProvider="{edgesmodel.edge}" 
recycleChildren="true" 
 
 

 
 mx:FormItem 
label="{edgesrepeater.currentItem.label} : " required="true" 
 
 
 mx:TextInput id="edgeinput" 
width="75" text="{edgesrepeater.currentItem.value}" / 
  
/mx:FormItem 
 
 
 
 /mx:Repeater 
/mx:Form 

The 
user can change the edge value in the textinput field, so I wrote a function 
which updates the information in the model (this works 
fine).
And 
finally I would like to do validation on the value field of the edgesmodel 
before I execute the program. Could someone point out how Ican do 
this validation? 
Thanks a lot! 
Jeroen. 


 

Jeroen 
De Vos Gemeentelijk 
Havenbedrijf Antwerpen C/ICT - 
AMARIS