Re: [flexcoders] fyi : Open Source ActionScript 3 Libraries Moved to Google Code

2007-01-09 Thread Carlos Rovira

Hi Mike,

There's a great movement, thanks. I want to ask you a question about corelib
project.
I downloaded some days ago and notice that SWC does not have all corelib
classes inside, so
I must to create a flexbuilder project and configure it to create a new SWC.
Then I had a problem with some classes that was not usable (for example the
JPGEncoder does not compile).

Maybe I was doing something wrong, or I download the zip from a bad place,
but I download now from google and see that JPGEncoder is an old version
too. I'm a little confused about this. Please could you give me some light
about this?

Thanks.





On 1/9/07, Mike Chambers [EMAIL PROTECTED] wrote:



http://weblogs.macromedia.com/mesh/archives/2007/01/open_source_act_2.html

This includes FlexUnit.

All projects now have bug bases, and their own mailing lists. If you
would like to contribute (code, testing, documentation) to the projects,
please join the appropriate mailing list, and offer help.

mike chambers

[EMAIL PROTECTED] mesh%40adobe.com
 





--
::| Carlos Rovira
::| http://www.carlosrovira.com
::| http://www.madeinflex.com


Re: [flexcoders] Re: flex 2.0.1 feedback from the trenches

2007-01-09 Thread Tom Chiverton
On Monday 08 January 2007 19:29, fuad_kamal wrote:
 the update is Eclipse Project Updates, after running the installer
 there's a propmt to restart, after the restart again the popup appears
 for the same update - endless loop.

I'm getting this with just the standalone Eclipse 3.2. 

-- 
Tom Chiverton
Helping to adaptively revolutionize cross-platform deliverables



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] test - ignore

2007-01-09 Thread bhaq1972
just checking to see if my posts are being sent to the list



Re: [flexcoders] Re: flex 2.0.1 feedback from the trenches (BUG !)

2007-01-09 Thread Tom Chiverton
On Friday 05 January 2007 21:32, bsdensmore wrote:
 My datagrid has a few columns that have visible=false but they are
 still showing up.

I'm seeing this.
I recompile the exact same code against the 2.0 SDK and the columns have their 
visibility set correctly.

Show stopper for us, going back to 2.0 (!).

Wish the beta hadn't been run over Xmas, of I'd have found this earlier.

-- 
Tom Chiverton
Helping to augmentatively differentiate clicks-and-mortar information



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

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

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] Re: flex 2.0.1 feedback from the trenches (BUG !)

2007-01-09 Thread Tom Chiverton
On Friday 05 January 2007 21:32, bsdensmore wrote:
 My datagrid has a few columns that have visible=false but they are
 still showing up.

I'm seeing this.
I recompile the exact same code against the 2.0 SDK and the columns have their 
visibility set correctly.

Show stopper for us, going back to 2.0 (!).

Wish the beta hadn't been run over Xmas, of I'd have found this earlier.

-- 
Tom Chiverton
Helping to augmentatively differentiate clicks-and-mortar information



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

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

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] Adding a listener to a Move Effect with multiple instances

2007-01-09 Thread Michael Schmalle

Yes,

I have an mdi pane that resizes and moves at the same time window effects.

I actually tried this in the beginning but found it didn't work. Just
becasue you are adding an effect end to the last instance in the loop, it
doesn't mean that it will actually be the last one to end.

This might not actually answer you r question but a solution that is bullet
proff for me;

in the loop, create a incremental pointer.
add the effect end handler to all of the instances being effected.
increment the pointer for all even if it's resize and move events, get them
all.
in the effect end handler have something like...

this is just my copy and paste

   private function moveEffect_tweenEndHandler(event:TweenEvent):void
   {
   currentEffectsLength--
   //log(moveEffect_tweenEndHandler(), currentEffectsLength)
   if (currentEffectsLength == 0)
   {

   var len:int = currentEffects.length;
   for (var i:int = 0; i  len; i++)
   {
   var effect:EffectInfo = currentEffects[i];

   effect.overlay.x = effect.position.x;
   effect.overlay.y = effect.position.y;
   effect.overlay.width = effect.position.width;
   effect.overlay.height = effect.position.height;

   IInvalidating(effect.overlay).validateNow();

   effect.position.child.visible = false;
   }

   callLater(defferEffectEnd);
   }
 }
   ---

I have not had a problem with this at all. when the stack is empty you know
all your effects are finished.

Peace, Mike




On 1/9/07, John Grden [EMAIL PROTECTED] wrote:


  Did you ever get an answer for this or figure out a solution?  I'm
getting the samething.

If I create a new Sprite() it works, but if I create a new UIComponent() I
get this same error.

Thoughts?


On 10/9/06, shuell2000 [EMAIL PROTECTED] wrote:

   I have something that was working and now is throwing an index out of
 range error. I have a simple canvas with multiple components
 (DisplayObjects) in it. I am looping through them and applying a move
 effect to roll them off stage one at a time so that they all start at
 different intervals, after the last one on the screen moves off, I set
 the ones below the screen automatically instead of moving them then
 call the addeventlistener on the move object. What Im trying to
 accomplish is to nicely scroll the objects out of sight then kick off
 a process that brings in a new set of objects. Here is the code snippet:

 var moveOut:Move = null;
 var scroller:ThumbnailScroller;
 var notified:Boolean = false;

 for(var i:Number = 0; i  this.numChildren; i++){
 scroller = ThumbnailScroller(this.getChildAt(i));
 if(scroller.y  this.height  scroller.visible){
 moveOut = new Move(scroller);
 moveOut.startDelay = i * 500;
 moveOut.xTo = (scroller.width+10)*-1;
 moveOut.duration = 2000;
 moveOut.play();
 }else if(scroller.y  this.height){
 if(!notified){
 moveOut.addEventListener(EffectEvent.EFFECT_END,
 notifyCleanUpComplete);
 notified = true;
 }
 }
 }

 I am getting the following error:

 RangeError: Error #2006: The supplied index is out of bounds.
 at flash.display::DisplayObjectContainer/getChildAt()
 at mx.core::Container/getChildAt()
 at mx.containers.utilityClasses::CanvasLayout/updateDisplayList()
 at mx.containers::Canvas/mx.containers:Canvas::updateDisplayList()
 at mx.core::UIComponent/validateDisplayList()
 at mx.core::Container/validateDisplayList()
 at mx.managers::LayoutManager/::validateDisplayList()
 at mx.managers::LayoutManager/::doPhasedInstantiation()
 at Function/http://adobe.com/AS3/2006/builtin::apply ()
 at mx.core::UIComponent/::callLaterDispatcher2()

 I am at a complete loss as to why this is happening, it was at one
 time working as designed but I must have changed something (what, I
 cannot tell) that has brought this about. Can anyone see any issues,
 especially race-conditions in this setup? I am unschooled in the ways
 of effect instances and the documentation on them is sketchy at best.
 Can anyone shed some light on this issue or tell me a better more
 solid way of accomplishing this? Thanks for listening

 John Shuell




--
[  JPG  ]

 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


Re: [flexcoders] Max OS X Flex Builder 2.01 License Issue

2007-01-09 Thread Rich Tretola

Same here, I was hoping that we were beyond the dual license issues and
could have a single that installs on 2 machines but different OS's.  I
really wanted to stop using Parallels.


Rich



On 1/8/07, Adam Dorritie [EMAIL PROTECTED] wrote:


  On 1/7/07, Joost Nuijten [EMAIL PROTECTED]flexcoders%40innuendo.nl
wrote:

 Yeah, I agree. It's a bit outdated. This is what I found on the Adobe
site:


I'm wondering how many folks are in my position. Adobe is kind enough
to permit me to install the Flex Builder 2 with Charting software on
my home computer as well as my work computer (thanks!).
Unfortunately, at work I develop on Windows and at home I use a Mac.
Will I need to purchase an additional copy of FB2 w/ charting in order
to run it on my Mac? I'm still working on convincing my boss to get
me an MB Pro w/ Parallels:)
 





--
Rich Tretola
mx:EverythingFlex/
http://www.EverythingFlex.com


[flexcoders] Flash 9/Linux support for the N800, N770 - Is it possible and when

2007-01-09 Thread richmcgillicuddy
Been watching the Nokia internet devices. Just announced the N800 at
CES this week. Runs Opera on a linux OS and flash 7. Would it be
possible to put flash 9 on this thing?


Rich



Re: SOLVED: Re: [flexcoders] Re: How to make FormItem labels left aligned?

2007-01-09 Thread Sergey Kovalyov

The final solution is here:
http://skovalyov.blogspot.com/2007/01/left-aligned-label-in-formitem.html

On 12/14/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:


A bit buggy solution, Stas. rawChildren.getChildAt(
rawChildren.numChildren - 1) should be used instead, you know. ;)

On 12/14/06, Stanislav Zayarsky [EMAIL PROTECTED] wrote:

Guys,

 Just use this ExtendedFormItem class instead of default FormItem.

 Here is the code:

 *public* *class* ExtendedFormItem *extends* FormItem {

 *  override* *protected* 
*function*updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) :
 *void* {

 *super*.updateDisplayList(unscaledWidth, unscaledHeight);

 *var* labelObject : Object = rawChildren.getChildAt(1);

 labelObject.x = 0;

   }

 }

 Best regards
 Stanislav


 On 11/10/06, Tim Hoff [EMAIL PROTECTED] wrote:
 
 Hi Andriy,
 
  While I like your example, how do you propose aligning the children of
  the FormItems?  It seems, with this method, that the entire form item
  (including the children - TextInput...),  gets moved to the left with
  the label; at least in my test of this code.  If the label text has
  different lengths, for each form item, the various children get moved
  to the left as well; and don't align.  Preferably, this is something
  that should be handled with a stock CSS property.  but I was wondering if
  you had experienced the same behavior.  Instead of nesting HBox's, for days,
  this would be a very useful technique, for FormItems.
 
  -TH
  __
 
  *Tim Hoff
  *Cynergy Systems, Inc.
  http://www.cynergysystems.com http://www.cynergysystems.comoffice/
  Office: 866-CYNERGY
 
 
  






RE: [flexcoders] flex2ant

2007-01-09 Thread Dirk Eismann
You might want to use the eclipse.incrementalBuild Task that comes with
Eclipse. This allows to invoke the incremental Flex Builder compiler
from within Ant. This gives you the same compilation performance as
using Build Automatically plus adds all the nice stuff you can achieve
with Ant :-)
 
Check my blog post here:
http://www.richinternet.de/blog/index.cfm?entry=2B7613A8-C687-AF8E-B9855
2AF89BBE463
http://www.richinternet.de/blog/index.cfm?entry=2B7613A8-C687-AF8E-B985
52AF89BBE463 
 
You'll only need to make sure that Ant runs in the same JRE as the
workspace.
 
Dirk.




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Sascha
Sent: Monday, January 08, 2007 6:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant



Actually I would like to use Ant in Eclipse running with Flex2
PlugIn to build my projects! For AS2 is always used AS2Ant with FDT and
MTASC and it was the best!

Unfortunately things look different for Flex Builder. Building
the project with an Ant task is slower than using Flex Builder and
'Build Automatically' is necessary for compile time error checking
(while MTASC did this automatically on-the-fly) but it would then also
always build when using the Ant task.

 

Does anyone know how to get this working:

Having an Ant build.xml that does some project preparing tasks
(i.e. increasing build number and store in an auto generated AppInfo
class) and then call the Flex builder build process from Ant. I'm not
Ant magican but is this possible?

 

Sascha

 

 





From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Lance Linder
Sent: Monday, 08 January, 2007 03:37
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

 

Very nice work!

 

I thought about doing something like this before and ended up
taking a bit of a different approach. What I did was create a task that
can read the flex project files and from these use mxmlc and compc to
build the projects. What I figured is that if Flex Builder is creating
the project files for me and can compile off of these that I would mimic
the same thing! If people are interested in using this approach I will
look at hosting it somewhere. This is however an NAnt task so I suspect
there will be less people interested in this.

 

Lance

 

From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of flex2ant
Sent: Friday, October 27, 2006 7:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2ant

 

Hi list,

Now Flash player 9 (beta) for Linux has been released we can
finally
develop Flex 2 and AS3 apps on Linux. I've been putting in a lof
of
effort in the past week to create flex2ant.

With flex2ant you can develop Flex2/AS3 apps from within
Eclipse. All
you need is the Flex 2 SDK, Eclipse and flex2ant and off you go.

If you are interessed in this type of development then please go
over
to http://www.flex2ant.org http://www.flex2ant.org  and
download the latest release.

regards,
Luke



 



Re: [flexcoders] fyi : Open Source ActionScript 3 Libraries Moved to Google Code

2007-01-09 Thread Muzak
Have you tried these?
http://as3corelib.googlecode.com/svn/trunk/src/com/adobe/images/

regards,
Muzak

- Original Message - 
From: Carlos Rovira [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 09, 2007 9:59 AM
Subject: Re: [flexcoders] fyi : Open Source ActionScript 3 Libraries Moved to 
Google Code


 Hi Mike,

 There's a great movement, thanks. I want to ask you a question about corelib
 project.
 I downloaded some days ago and notice that SWC does not have all corelib
 classes inside, so
 I must to create a flexbuilder project and configure it to create a new SWC.
 Then I had a problem with some classes that was not usable (for example the
 JPGEncoder does not compile).

 Maybe I was doing something wrong, or I download the zip from a bad place,
 but I download now from google and see that JPGEncoder is an old version
 too. I'm a little confused about this. Please could you give me some light
 about this?

 Thanks.




[flexcoders] Maximum Precision of a Slider? (Flex 2)

2007-01-09 Thread Jim Robson
Anyone know what the maximum precision of a Slider component is? I'm
building an app where the users need to manipulate values that are
very small. For example, the range of possible values for one variable
is 0.89 - 0.000100. When I set the Slider.minimum = 0.89 and
the Slider.maximum = 0.000100, the Slider appears to interpret both
values as zeroes. So the thumb sits at the left end of the slider, no
matter what Slider.value is. And when you drag the thumb to the right,
it snaps back to the left as soon as you release the mouse button.
Does anyone have a way of overcoming this limitation? (Am I missing
something obvious in the docs?)



Re: [flexcoders] fyi : Open Source ActionScript 3 Libraries Moved to Google Code

2007-01-09 Thread Mike Chambers
Yes. We continue to work on the libraries, and thus the SWC does not 
necessarily contain all of the changes that are currently in source 
(such as the image classes).

We will be doing new builds soon, which should update everything.

In the mean time, if you find any issues, then please post them to the 
bug base:

http://code.google.com/p/as3corelib/issues/list

mike chambers

[EMAIL PROTECTED]

Carlos Rovira wrote:
 
 
 Hi Mike,
 
 There's a great movement, thanks. I want to ask you a question about 
 corelib project.
 I downloaded some days ago and notice that SWC does not have all corelib 
 classes inside, so
 I must to create a flexbuilder project and configure it to create a new 
 SWC.
 Then I had a problem with some classes that was not usable (for example 
 the JPGEncoder does not compile).
 
 Maybe I was doing something wrong, or I download the zip from a bad 
 place, but I download now from google and see that JPGEncoder is an old 
 version too. I'm a little confused about this. Please could you give me 
 some light about this?
 
 Thanks.
 
 
 
 
 
 On 1/9/07, *Mike Chambers* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 http://weblogs.macromedia.com/mesh/archives/2007/01/open_source_act_2.html
 
 http://weblogs.macromedia.com/mesh/archives/2007/01/open_source_act_2.html
 
 This includes FlexUnit.
 
 All projects now have bug bases, and their own mailing lists. If you
 would like to contribute (code, testing, documentation) to the
 projects,
 please join the appropriate mailing list, and offer help.
 
 mike chambers
 
 [EMAIL PROTECTED] mailto:mesh%40adobe.com
 
 
 
 
 -- 
 ::| Carlos Rovira
 ::| http://www.carlosrovira.com http://www.carlosrovira.com
 ::| http://www.madeinflex.com http://www.madeinflex.com
 


[flexcoders] StringBuilder Class?

2007-01-09 Thread h8me4everplus1
I remember there was suppose to be a StringBuilder class, except, I
don't know what happened to it.

I remember their being controversy over whether it was actually faster
than the String class operations.

Am I just looking in the wrong packages?



Re: [flexcoders] Where are all the 3rd party components

2007-01-09 Thread Tom Chiverton
On Monday 08 January 2007 21:34, boy_trike wrote:
 I know when I started with Delphi, there were many companies that made a
 nice profit selling additional components.  Where is this community with
 Flex?  I can think of dozens of visual components that I would be happy to

Delphi has been around for much longer, and also lacks a rich built in set of 
components.

-- 
Tom Chiverton
Helping to assertively morph enterprise partnerships



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] Chart legend spacing

2007-01-09 Thread Tom Fitzpatrick
What is the way to style the spacing in a chart's legend?

Specifically, I'd like to control the spacing between legend markers and 
their titles as well as between legend items. In a small column chart 
I'm building, the spacing is far enough off that the legend titles seem 
to be aligned with the wrong markers.



Re: [flexcoders] fyi : Open Source ActionScript 3 Libraries Moved to Google Code

2007-01-09 Thread Carlos Rovira

Thanks I get it work making some googleing ;)

btw, I use this PNGEncoder:

http://www.5etdemi.com/blog/archives/2006/12/as3-png-encoder-faster-better/



On 1/9/07, Muzak [EMAIL PROTECTED] wrote:


  Have you tried these?
http://as3corelib.googlecode.com/svn/trunk/src/com/adobe/images/

regards,
Muzak

- Original Message -
From: Carlos Rovira [EMAIL PROTECTED] carlos.rovira%40gmail.com

To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
Sent: Tuesday, January 09, 2007 9:59 AM
Subject: Re: [flexcoders] fyi : Open Source ActionScript 3 Libraries Moved
to Google Code

 Hi Mike,

 There's a great movement, thanks. I want to ask you a question about
corelib
 project.
 I downloaded some days ago and notice that SWC does not have all corelib
 classes inside, so
 I must to create a flexbuilder project and configure it to create a new
SWC.
 Then I had a problem with some classes that was not usable (for example
the
 JPGEncoder does not compile).

 Maybe I was doing something wrong, or I download the zip from a bad
place,
 but I download now from google and see that JPGEncoder is an old version
 too. I'm a little confused about this. Please could you give me some
light
 about this?

 Thanks.

 





--
::| Carlos Rovira
::| http://www.carlosrovira.com
::| http://www.madeinflex.com


[flexcoders] FDS Plugin and WAR building

2007-01-09 Thread Douglas Knudsen

Using Peter Martin's FDS plugin here, really sweet.  Have a question about
the new version.  If I create a new FDS project and choose compile on the
server then build a WAR file of the project, all things under the folder
WebContent get included and all is well.  But, if I create a new FDS project
and choose to compile the app locally then build the WAR file, all things
under the folder WebContent are NOT included in the WAR file.  In fact, only
the index.htm included in the FDS project creation is included in the WAR.
How to get all my content in the WAR?  Maybe I'm missing a config setting
somewhere?

Using the latest FDS plugin version, Eclipse 3.2, FDS 2.0.1, and Tomcat.

Thanks!

DK

--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


Re: [flexcoders] Where are all the 3rd party components

2007-01-09 Thread Michael Schmalle

Trust me,

They are coming. Flex hasn't been around for awhile. :)

I went to the ACDS back in June right when Flex2 was releasewd and I am just
now finishing up my 3rd party frameworks.

Just because you don't see something now dosn't me we arn't here. :)

For starters

- manager framework
 - ResizeManagerFX
 - MoveManagerFX
 - RotationManagerFX
 - SelectionManagerFX
 - SnapManagerFX

The facade that puts them altogether...

TransformManagerFX

DND Framework  WorkSpace

 - PaneFX
   - TaskPaneFX
   - TaskListFX
   - TabPaneFX (drag and drop itself and also into new divided containers
like Adobe Premiere)
   - PerspectiveFX (ditto, the engine, saves it's workspace state through
mxml and loads it)

MDI Framework

 - MDIPaneFX

Window Framework

 - FrameFX
 - WindowFX (title, menu, tool, content and status bars, just like windows
api, minimize, maximize, iconize, close, effects.. etc)
 - MDIWndowFX

Desktop Framework

 - DeskTopFX
- uses windows, icons dataProviders application interface

Document framework

 - DocumentFX an as3 application that documents as3/mxml usinf database
projects etc. exports html and xml. (blog)

Creation framework

 - RuledCanvasFX (fireworks knock off)
 - RulerFX dynamic rulers.


get the idea,,, plus a bunch more.

Anyway, This summer you should see quite a bit of movement in this area.
Support and documentation is what is holding a lot back. Trust me, it takes
a lot of work if you are serious.

I don't think people see the value yet in good commercail flex components.
They will, flex is components and when you can offer solid extensions, it
pays off.

Peace, Mike





On 1/9/07, Tom Chiverton [EMAIL PROTECTED] wrote:


On Monday 08 January 2007 21:34, boy_trike wrote:
 I know when I started with Delphi, there were many companies that made a
 nice profit selling additional components.  Where is this community with
 Flex?  I can think of dozens of visual components that I would be happy
to

Delphi has been around for much longer, and also lacks a rich built in set
of
components.

--
Tom Chiverton
Helping to assertively morph enterprise partnerships



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







--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


Re: [flexcoders] Where are all the 3rd party components

2007-01-09 Thread Darron J. Schall
Just a few resources:

 * Mike has some components for sale here: 
http://www.teotigraphix.com/flex2/
 * You can find a lot of components on the Adobe Flex Exchange:  
http://www.adobe.com/cfusion/exchange/index.cfm?view=sn610
 * Try searching MXNA - A lot of people post components on their 
weblogs: http://weblogs.macromedia.com/mxna/
 * There's also a FlexComponents Yahoo Group: 
http://tech.groups.yahoo.com/group/flexcomponents
 * With the inclusion of runtime CSS in Flex 2.0.1, we might start 
seeing Flex themes for sale.  More info here: 
http://www.onflex.org/ted/2007/01/flex-201-understand-runtime-css.php

Hope that helps...  There is some info out there already, but the market 
is still young. 

-d

boy_trike wrote:

 I am surprised that while Flex has been out for quite a while there 
 are no people selling:
 * Additional Components
 * Themes and StyleSheets
 et. al.

 I know when I started with Delphi, there were many companies that made 
 a nice profit
 selling additional components. Where is this community with Flex? I 
 can think of dozens
 of visual components that I would be happy to purchase. From reading 
 this newsgroup
 there seem to be at least 2 types of users
 * Business application developer (like me!) who want / need and can 
 justify the cost for
 this because we have a customer who is paying $$$ for a rich solution
 * Opps / AS3 and Flex/Flash experts who live, love and embrace 
 extending and enhancing
 existing components , themes, skins

 Where are all of the 2's

 Bruce

 P.S. and if there are sites that have these, where is the list of them?

  



[flexcoders] Modules and ActionScript

2007-01-09 Thread Daniel Freiman

The docs say that you should extend from Module if you are using mxml and
ModuleBase if you are using Actionscript, but these Classes are drastically
different.  One is a subclass of EventDispatcher (similar to and Object) and
one subclasses LayoutContainer (similar to Container).  This is a very
important difference.  I've tried using actionscript to subclass Module and
it works perfectly fine.  Are the docs incorrect or is there a more subtle
reason why actionscript shouldn't extend Module?

- Dan


RE: [flexcoders] StringBuilder Class?

2007-01-09 Thread Peter Farland
It was removed before AS3 was finalized.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of h8me4everplus1
Sent: Tuesday, January 09, 2007 9:35 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] StringBuilder Class?



I remember there was suppose to be a StringBuilder class, except, I
don't know what happened to it.

I remember their being controversy over whether it was actually faster
than the String class operations.

Am I just looking in the wrong packages?



 


[flexcoders] exit list

2007-01-09 Thread Flávio Santos

I want to leave the listplease


[flexcoders] scrollbar on the left side of any kind of containers

2007-01-09 Thread saha.prasanta
Does anyone know how I can get the scrollbar on the left side of any 
kind of containers instead of the right side?





[flexcoders] DataGrid row

2007-01-09 Thread Stembert Olivier (BIL)
Hi,

How can I get a pointer to a row in a DataGrid?
i.e. myDataGrid.getRow(index).setSomething()
I know the DataGridColumn but there's nothing like a DataGridRow

Thanks

-
An electronic message is not binding on its sender.
Any message referring to a binding engagement must be confirmed in writing and 
duly signed.
-



[flexcoders] Proxy callproperty probs

2007-01-09 Thread Webdevotion

Hello,

I've been staring into the dark since yesterday on this one.
I extend Proxy and implement IEventDispatcher


public dynamic class RemotingProxy extends Proxy implements
IEventDispatcher{
// my class
}



somewhere in my class I have the callProperty method


flash_proxy override function callProperty( methodName:* , ... args ):*
{
return serviceProxy[methodName.toString()].apply(serviceProxy,params );
}

I always run into this compilation error.
Error: TypeError: Error #1009: Cannot access a property or method of a null
object reference.


[flexcoders] variable url on an httpservice

2007-01-09 Thread darylgmyers
I am trying to make the url string a variable on the httpservice.  I am 
passing the server in as a flashvar and want to use it as part of the 
httpservice url string.  Can anyone point me in the right direction?  
Thanks.



Re: [flexcoders] fyi : Open Source ActionScript 3 Libraries Moved to Google Code

2007-01-09 Thread Paul Evans

On 9 Jan 2007, at 08:59, Carlos Rovira wrote:

 or I download the zip from a bad place
 Then I had a problem with some classes that was not usable (for  
 example the JPGEncoder does not compile).

Sounds like my comment on Christrian Cantrell's How To Get Code From  
Adobe Labs still applies ?

http://weblogs.macromedia.com/cantrell/archives/2006/08/ 
how_to_get_code.cfm

Basically the zip file is out of date, but SVN is (was) up-to-date.

Must admit I haven't looked at the Google-code version as yet. In- 
case downloading from Google code doesn't work for you, the SVN line  
described on Christian's page is still active.

Paul
-- 
[ http://www.creative-cognition.co.uk/ ]
[ http://creacog.wordpress.com/ ]



[flexcoders] Svn Flex

2007-01-09 Thread Lieven Cardoen
Hi,

 

When compiling a Flex project, Flex copies all files to bin folder,
including hidden .svn folders. As a result, Tortoise goes crazy...

 

Anyway to resolve this?

 

Thx, Lieven Cardoen

 

Lieven Cardoen
Application developer

indiegroup
interactive digital experience
engelse wandeling 2 k18 
b8500 kortrijk 

 

 



[flexcoders] basic flex architecture questions

2007-01-09 Thread Merrill, Jason
Newbie to Flex, (but not Flash/AS 2.0) so for me it's like a skier
learning to snowboard.  I have dabbled with Flex in the past, and
recently went through all the lessons in the help docs, as well as read
a lot of other things in there. I'm designing a Team Page - a site
that shows people of the business unit as individual cards - like
baseball cards. Each card will have elements like a photo of the person,
a description of skillsets, and buttons to expand and change to a
different state. Making that is easy with a custom component, but I'm
having some struggle with the dynamic data part as it relates to the
custom component - in other words, making the components generic and
then settings the data for them later in my application. 
I thought I would make a generic person card with a placeholder for
the photo and data - that would be a single component, and then in
another main application MXML I would repeat that component over and
over based on some XML data. Easy enough so far - the XML data isn't the
problem. In Flex, I'm not sure how to add the image dynamically, or
change the value of the image file reference for each component repeated
- I can add an image tag easily enough in the component, but having a
hard time not hard-coding the image reference.  So I guess I have a few
questions: 
1. What's the best way to set up a generic image container for the
image file be in the person card component and how would I set that in
the main application MXML repeat region? Or is making the person card
as a component not a good approach? Should I just describe the person
card within the repeat region and not make it a custom component?
2. How do i set other variables in the custom components like label
values? 
3. Overall, what would be a good way to architect a site like this? I
know how to create and change states, but unsure what should be a
component and what should just described right in the main MXML.


Jason Merrill
Bank of America  Learning  Organizational Effectiveness
Multimedia / eTools Team





[flexcoders] function in a

2007-01-09 Thread mazarflex
i am trying to add a function into a datagrid i read the post about 
outerDocument.handleClick() but i am not sure how that works. basically 
i want to call a function in a DataGrid. 

here is my code 
--
mx:DataGridColumn headerText=Listings 
dataField=firm dgListingsCol
mx:itemRenderer
mx:Component
mx:LinkButton x=30 y=250 label=XXX click=myfunction() /
/mx:Component
/mx:itemRenderer
/mx:DataGridColumn 



[flexcoders] RadioButton as itemEditor inside a Datagrid

2007-01-09 Thread ybilik
Hello,

I have noted that a bug related to CheckBoxes as itemRenderers in
Datagrid has been fixed in the 2.0.1 release.
But it seems that a similar bug remains with RadioButtons.

I launch the following application, check the first radio button (item
#0), then sort the grid by clicking several times onto the Num header.
After three or four clicks on the header, the selected RadioButton
does not match anymore the item #0...

Did I miss something ?

Yan

-
Here is the code:

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

[Bindable]
private var dp:ArrayCollection = new ArrayCollection([
{num:0, bool:false},
{num:1, bool:false},
{num:2, bool:false},
{num:3, bool:false},
{num:4, bool:false}]);

]]
/mx:Script
mx:DataGrid editable=true dataProvider={dp}
mx:columns
mx:DataGridColumn dataField=bool headerText=Sent
rendererIsEditor=true editorDataField=selected
mx:itemRenderer
mx:Component
mx:RadioButton groupName=dontcare/
/mx:Component
/mx:itemRenderer
/mx:DataGridColumn
mx:DataGridColumn dataField=num  headerText=Num/
/mx:columns
/mx:DataGrid
/mx:Application




[flexcoders] Eclipse compiler not seeing packages

2007-01-09 Thread mapper2255

Good Morning group,

My first post, went googling/through archives without success. 
Running trial Flex 2 Builder(2.0.143) on xp pro. Can get the 
compiler to see errors when AS3 project file is set as default. But 
cannot get the compiler to see errors in other as3 files in same 
project. This is true whether I but them (*.as) in a package and do 
import statement or leave them in root of project.

Line numbers for .as files are dropping out from time to time even 
though they are selected in Preferences and there is only one 
perspective?

Cannot get trace to output anything even though I have the 9.0.28 
debugger for windows showing up from FlexCapilbilities.mxml file I 
am running.

I believe this was all happening with Flex projects also but have 
large as3 project to iron out before I get back to Flex.

Can anyone tell me why compiler is seeing errrors on default 
application file but not in packages? Why trace is not showing up 
even though debugger is installed? Why line numbers are dropping out?

Thanks in advanced,

mapper2255





Re: [flexcoders] Modules and ActionScript

2007-01-09 Thread Michael Schmalle

Hi,

The LayoutContainer is for mxml because of addChild() and how mxml does this
for you using the nested tags.

Subclassing Module in as will work fine because it's like extending
Container(separates content children from chrome children).

I haven't looked at the classes yet but, if they say it there is a reason.

Peace, Mike



On 1/9/07, Daniel Freiman [EMAIL PROTECTED] wrote:


  The docs say that you should extend from Module if you are using mxml
and ModuleBase if you are using Actionscript, but these Classes are
drastically different.  One is a subclass of EventDispatcher (similar to and
Object) and one subclasses LayoutContainer (similar to Container).  This is
a very important difference.  I've tried using actionscript to subclass
Module and it works perfectly fine.  Are the docs incorrect or is there a
more subtle reason why actionscript shouldn't extend Module?

- Dan
 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


Re: [flexcoders] FLEX 2 FDS Hibernate Help

2007-01-09 Thread Darron J. Schall
Take a look at My First Hibernate Enabled Flex Application - 
http://blogs.adobe.com/mtg/2006/08/my_first_hibernate_enabled_fle.html

Also, Victor Rubba has a lot of good Hibernate  Flex information on his 
weblog: http://viconflex.blogspot.com

There's also the Flex 2 Help - 
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=1201.html

Hope that helps...  I'd personally like to see a little more Hibernate  
Flex information out there.  It's a powerful combination.

-d


Makker, Meenakshi wrote:
 Hi Friends,
  
 I would really appreciate if any one of you could direct me to some 
 example or send me the sample code to use Flex 2 FDS+Hibernate and how 
 to setup all this. I am working on Flex but not aware of 
 Hibernate/Java background and from .NET side. I want to try Flex 2 FDS 
 with Hibernate setup. Please help.
  
 Thanks,
 Meenakshi
  
  



Re: [flexcoders] StringBuilder Class?

2007-01-09 Thread Darron J. Schall
There used to be a StringBuilder class, but it was removed.  The regular 
String class had its performance improved enough that adding an 
additional StringBuilder class didn't make sense.

I would've liked to see it stick around.. but that's only because I had 
already written a chapter on it for the AS3 Cookbook before it was 
removed.. doh!  :-)

-d

h8me4everplus1 wrote:

 I remember there was suppose to be a StringBuilder class, except, I
 don't know what happened to it.

 I remember their being controversy over whether it was actually faster
 than the String class operations.

 Am I just looking in the wrong packages?

  



Re: [flexcoders] scrollbar on the left side of any kind of containers

2007-01-09 Thread Michael Schmalle

Sounds like you need to write a component.

There is no way to do this with Container. You could create a Container
subclass and composite a scroll bar into it(also turning off scroll pilicies
of the main Container).

Create a view and do your own calculations. The view could then create any
container you wanted, then measure it and set your scroll bars accordingly.

Peace, Mike

On 1/8/07, saha.prasanta [EMAIL PROTECTED] wrote:


  Does anyone know how I can get the scrollbar on the left side of any
kind of containers instead of the right side?

 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


Re: [flexcoders] fyi : Open Source ActionScript 3 Libraries Moved to Google Code

2007-01-09 Thread Carlos Rovira

Thanks Mike,

btw, I want to suggest do some modifications in the svn trunk so you can get
a working Flex Builder project so people could add to their workspaces
directly and compile quickly.

Just a thought.

Thanks!

C.


On 1/9/07, Mike Chambers [EMAIL PROTECTED] wrote:


  Yes. We continue to work on the libraries, and thus the SWC does not
necessarily contain all of the changes that are currently in source
(such as the image classes).

We will be doing new builds soon, which should update everything.

In the mean time, if you find any issues, then please post them to the
bug base:

http://code.google.com/p/as3corelib/issues/list

mike chambers

[EMAIL PROTECTED] mesh%40adobe.com

Carlos Rovira wrote:


 Hi Mike,

 There's a great movement, thanks. I want to ask you a question about
 corelib project.
 I downloaded some days ago and notice that SWC does not have all corelib

 classes inside, so
 I must to create a flexbuilder project and configure it to create a new
 SWC.
 Then I had a problem with some classes that was not usable (for example
 the JPGEncoder does not compile).

 Maybe I was doing something wrong, or I download the zip from a bad
 place, but I download now from google and see that JPGEncoder is an old
 version too. I'm a little confused about this. Please could you give me
 some light about this?

 Thanks.





 On 1/9/07, *Mike Chambers* [EMAIL PROTECTED] mchamber%40adobe.com
 mailto:[EMAIL PROTECTED] mchamber%40adobe.com wrote:


http://weblogs.macromedia.com/mesh/archives/2007/01/open_source_act_2.html
 
http://weblogs.macromedia.com/mesh/archives/2007/01/open_source_act_2.html


 This includes FlexUnit.

 All projects now have bug bases, and their own mailing lists. If you
 would like to contribute (code, testing, documentation) to the
 projects,
 please join the appropriate mailing list, and offer help.

 mike chambers

 [EMAIL PROTECTED] mesh%40adobe.com mailto:mesh% mesh%2540adobe.com




 --
 ::| Carlos Rovira
 ::| http://www.carlosrovira.com http://www.carlosrovira.com
 ::| http://www.madeinflex.com http://www.madeinflex.com

 





--
::| Carlos Rovira
::| http://www.carlosrovira.com
::| http://www.madeinflex.com


Re: [flexcoders] fyi : Open Source ActionScript 3 Libraries Moved to Google Code

2007-01-09 Thread Mike Chambers
Yes. In general the source will be more up to date (and more buggy) than the 
code in the swc.

Mike Chambers

[EMAIL PROTECTED]


 -Original Message-
From:   Paul Evans [mailto:[EMAIL PROTECTED]
Sent:   Tue Jan 09 07:15:37 2007
To: flexcoders@yahoogroups.com
Subject:Re: [flexcoders] fyi : Open Source ActionScript 3 Libraries 
Moved to Google Code


On 9 Jan 2007, at 08:59, Carlos Rovira wrote:

 or I download the zip from a bad place
 Then I had a problem with some classes that was not usable (for  
 example the JPGEncoder does not compile).

Sounds like my comment on Christrian Cantrell's How To Get Code From  
Adobe Labs still applies ?

http://weblogs.macromedia.com/cantrell/archives/2006/08/ 
how_to_get_code.cfm

Basically the zip file is out of date, but SVN is (was) up-to-date.

Must admit I haven't looked at the Google-code version as yet. In- 
case downloading from Google code doesn't work for you, the SVN line  
described on Christian's page is still active.

Paul
-- 
[ http://www.creative-cognition.co.uk/ ]
[ http://creacog.wordpress.com/ ]



[flexcoders] Re: Svn Flex

2007-01-09 Thread Jim Robson
Lieven:

In Flex Builder, go to Project Properties - Flex Compiler and
deselect Copy non-embedded files to output directory

Also - and more importantly - install the SVN Eclipse plugin
(Subclipse). When you do that, Flex Builder becomes svn-aware, and
stops doing stupid things with your working copy:
http://subclipse.tigris.org/

HTH
Jim



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

 Hi,
 
  
 
 When compiling a Flex project, Flex copies all files to bin folder,
 including hidden .svn folders. As a result, Tortoise goes crazy...
 
  
 
 Anyway to resolve this?
 
  
 
 Thx, Lieven Cardoen
 
  
 
 Lieven Cardoen
 Application developer
 
 indiegroup
 interactive digital experience
 engelse wandeling 2 k18 
 b8500 kortrijk





[flexcoders] Flex 2.0.1 Developer Ready?

2007-01-09 Thread Adam Reynolds
Knowing the way Macrobe work, I've held off on working with Flex 2 until 
the 2.0.1 release , however is it me or is 2.0.1 still in Beta? I'm 
assuming most of the issues appear to be caused by moving from 2.0 to 
2.0.1, but some look more serious.

*sigh*






[flexcoders] Re: Proxy callproperty probs

2007-01-09 Thread kevin_hammer
Put more of the code of your class up... serviceProxy or params could
be what's null...

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

 Hello,
 
 I've been staring into the dark since yesterday on this one.
 I extend Proxy and implement IEventDispatcher
 
 
 public dynamic class RemotingProxy extends Proxy implements
 IEventDispatcher{
 // my class
 }
 
 
 
 somewhere in my class I have the callProperty method
 
 
 flash_proxy override function callProperty( methodName:* , ... args ):*
 {
 return serviceProxy[methodName.toString()].apply(serviceProxy,params );
 }
 
 I always run into this compilation error.
 Error: TypeError: Error #1009: Cannot access a property or method of
a null
 object reference.





[flexcoders] Referring to created AS class from within MXML

2007-01-09 Thread David Steele
I apologize for what must be an obvious question, but why when I try to create 
a class in the inline code of an mxml page do I get the 'Classes must not be 
nested' error?

I'm trying to test a socket connection. I've got the socket code (which is a 
class); I know how to create mxml buttons etc. What I don't know is how to put 
the two together. I've created a new actionscript class file: 
package {
 import flash.display.*;
 import flash.events.*;
import flash.net.XMLSocket;

 public class socket extends Sprite
 {
...

I've also got a document called socketTest.mxml. How do I refer to to my AS 
class from within socketTest.mxml? Do I need to explicitly place the two files 
somewhere?

Thanks.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[flexcoders] Re: basic flex architecture questions

2007-01-09 Thread Jim Robson
Jason,

I think you're on the right track with your custom component idea. I
think the best way to handle the dynamic data is with data binding. 

Let's take the image as an example. In the ActionScript of your custom
component, you declare a bindable public variable to hold the source
of your image:

[Bindable]
public var myImageSource:Class;

Also in your custom component, you place your image tag where you want
it, using binding syntax for your source attribute:
mx:Image source={myImageSource} / 

In your main MXML file, you set the value of the public variable to
the graphic asset that you want. For example, in the ActionScript of
the main file you might have something like this:

[Embed(source=assets/JoeSmith.png,mimeType=image/png)]
[Bindable]
public var myImageSource:Class;

Then, if you use MXML to load your custom component, you would write
something like this:
myCustomComponent myImageSource={myImageSource} /

There are lots of variations on this theme (for example, you could do
it with all ActionScript and no MXML, etc.) but this is the basic idea. 

Data binding rocks.

HTH
-Jim

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

 Newbie to Flex, (but not Flash/AS 2.0) so for me it's like a skier
 learning to snowboard.  I have dabbled with Flex in the past, and
 recently went through all the lessons in the help docs, as well as read
 a lot of other things in there. I'm designing a Team Page - a site
 that shows people of the business unit as individual cards - like
 baseball cards. Each card will have elements like a photo of the person,
 a description of skillsets, and buttons to expand and change to a
 different state. Making that is easy with a custom component, but I'm
 having some struggle with the dynamic data part as it relates to the
 custom component - in other words, making the components generic and
 then settings the data for them later in my application. 
 I thought I would make a generic person card with a placeholder for
 the photo and data - that would be a single component, and then in
 another main application MXML I would repeat that component over and
 over based on some XML data. Easy enough so far - the XML data isn't the
 problem. In Flex, I'm not sure how to add the image dynamically, or
 change the value of the image file reference for each component repeated
 - I can add an image tag easily enough in the component, but having a
 hard time not hard-coding the image reference.  So I guess I have a few
 questions: 
 1. What's the best way to set up a generic image container for the
 image file be in the person card component and how would I set that in
 the main application MXML repeat region? Or is making the person card
 as a component not a good approach? Should I just describe the person
 card within the repeat region and not make it a custom component?
 2. How do i set other variables in the custom components like label
 values? 
 3. Overall, what would be a good way to architect a site like this? I
 know how to create and change states, but unsure what should be a
 component and what should just described right in the main MXML.
 
 
 Jason Merrill
 Bank of America  Learning  Organizational Effectiveness
 Multimedia / eTools Team





[flexcoders] FlexBuilder 2.0.1 - Ctrl-Tab broken?

2007-01-09 Thread Claus Wahlers
Hi,

Is it just me, or is Ctrl-Tab broken in FlexBuilder 2.0.1? In 
FlexBuilder 2, with the AS3 Editor in focus and multiple source files 
loaded, i was able to switch tabs with Ctrl-Tab. This stopped working 
after i upgraded to 2.0.1, and that's kinda driving me nuts.

Cheers,
Claus.

-- 
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/


Re: [flexcoders] Re: flex 2.0.1 feedback from the trenches (BUG !)

2007-01-09 Thread Tom Chiverton
 Wish the beta hadn't been run over Xmas, of I'd have found this earlier.

At least, that's what I thought was going on. I've been toggling the SDK back 
and forth to write an email, and it *was* doing it. 
It was doing it with our own code earlier too. 
Now it isn't doing it with a simple example.
Or our code.

-- 
Tom Chiverton
Helping to augmentatively differentiate clicks-and-mortar information



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] Re: Referring to created AS class from within MXML

2007-01-09 Thread Jim Robson
David,

DisplayObjects (Sprite, Shape, Bitmap) can't generally be used
directly in MXML. To be able to add a child using an MXML tag, you
need to extend UIComponent.

-Jim

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

 I apologize for what must be an obvious question, but why when I try
to create a class in the inline code of an mxml page do I get the
'Classes must not be nested' error?
 
 I'm trying to test a socket connection. I've got the socket code
(which is a class); I know how to create mxml buttons etc. What I
don't know is how to put the two together. I've created a new
actionscript class file: 
 package {
  import flash.display.*;
  import flash.events.*;
 import flash.net.XMLSocket;
 
  public class socket extends Sprite
  {
 ...
 
 I've also got a document called socketTest.mxml. How do I refer to
to my AS class from within socketTest.mxml? Do I need to explicitly
place the two files somewhere?
 
 Thanks.
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com





[flexcoders] Adobe Labs XMPP errors

2007-01-09 Thread Kevin Newman
Hello,

I have been getting some errors trying to compile the XMPP library from 
Adobe Labs.

It seems that the namespace xmpp_internal is not defined anywhere, and 
there is no class for PacketExtension which is used several times in 
Packet.as.

Is there a solution to these problems? Or should I wait for an update, 
or use XIFF?

Thanks,

Kevin N.


P.S. Here are the errors:

SeverityDescriptionResourceIn FolderLocationCreation 
TimeId
21004: Namespace was not found or is not a compile-time constant.
XMPPStream.as
xmpp/src/actionscript3/mx/collaboration/xmpp/protocolline 48
January 8, 2007 6:06:01 PM68
21004: Namespace was not found or is not a compile-time constant.
Packet.as
xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packetsline 
51January 8, 2007 6:06:01 PM67
21004: Namespace was not found or is not a compile-time constant.
Packet.as
xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packetsline 
62January 8, 2007 6:06:01 PM66
21046: Type was not found or was not a compile-time constant: 
PacketExtension.Packet.as
xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packetsline 
187January 8, 2007 6:06:01 PM62
21046: Type was not found or was not a compile-time constant: 
PacketExtension.Packet.as
xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packetsline 
193January 8, 2007 6:06:01 PM63
21046: Type was not found or was not a compile-time constant: 
PacketExtension.Packet.as
xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packetsline 
207January 8, 2007 6:06:01 PM64
21046: Type was not found or was not a compile-time constant: 
PacketExtension.Packet.as
xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packetsline 
237January 8, 2007 6:06:01 PM65




[flexcoders] Re: FlexBuilder 2.0.1 - Ctrl-Tab broken?

2007-01-09 Thread Bruce Denham
For some reason, they switched the shortcut to ctrl-q.
I switched it back to ctrl-tab using the FB flexbuilder keys settings:
Windows  Preferences  General  Keys

Bruce D.

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

 Hi,
 
 Is it just me, or is Ctrl-Tab broken in FlexBuilder 2.0.1? In 
 FlexBuilder 2, with the AS3 Editor in focus and multiple source files 
 loaded, i was able to switch tabs with Ctrl-Tab. This stopped working 
 after i upgraded to 2.0.1, and that's kinda driving me nuts.
 
 Cheers,
 Claus.
 
 -- 
 claus wahlers
 côdeazur brasil
 http://codeazur.com.br/
 http://wahlers.com.br/claus/blog/





Re: [flexcoders] Maximum Precision of a Slider? (Flex 2)

2007-01-09 Thread David Steele
Jim --

Looks like you're really going from 89 to 1000 if we lop off a few zeros. :)

The slider has a labels array propery, which is an array of strings. So why not 
multiply your variable values by 100 -- you'd then effectively show the 
values moving from 89 to 1000.  Your minimum value would be 89; your maximum 
would be 1000. The corresponding *labels*, though -- the numbers that appear on 
the slider -- you could set to be .89 - .000100

Hope this helps,

David


- Original Message 
From: Jim Robson [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 9, 2007 8:41:51 AM
Subject: [flexcoders] Maximum Precision of a Slider? (Flex 2)

Anyone know what the maximum precision of a Slider component is? I'm
building an app where the users need to manipulate values that are
very small. For example, the range of possible values for one variable
is 0.89 - 0.000100. When I set the Slider.minimum = 0.89 and
the Slider.maximum = 0.000100, the Slider appears to interpret both
values as zeroes. So the thumb sits at the left end of the slider, no
matter what Slider.value is. And when you drag the thumb to the right,
it snaps back to the left as soon as you release the mouse button.
Does anyone have a way of overcoming this limitation? (Am I missing
something obvious in the docs?)




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

RE: [flexcoders] Re: Compiling modules

2007-01-09 Thread Brian Holmes
Roger,
 Would it be possible to get an example of how a shell app could
communicate or pass data to a module and vice versa. I'm  having
difficulty understanding of how to expose methods on both sides that
allow for interoperability. What I'd like to do is to load  user data in
the shell application and then add modules at runtime as needed. If they
require user information then have them look to the shell for that
information so it's always in the same place.
 
And Also, I can't really see any real difference between a module and
another application except for it's extremely tedious to debug the
modules?!  Couldn't the module automatically look for a debug version of
the swf if the shell is a debug version? 
 
Thanks,
Brian
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Roger Gonzalez
Sent: Monday, January 08, 2007 2:35 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Compiling modules


I can't think of any reason why you would want to do this.
 
Modules are class factories, not instances.
 
You will create an instance of the class baked into the module, and then
the application can pass those parameters to the instance.
 
-rg




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of John Kirby
Sent: Monday, January 08, 2007 12:32 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Compiling modules



Thanks for the examples.

Question... if you are passing parameters to a module I assume
your url syntax is the same as a SWFLoader (myswf.swf?foo=bar) ... but
module has no parameter property?  How do access passed parameters to a
module?

phillips1021 said the following: 

See: 

http://www.brucephillips.name/blog/index.cfm/2007/1/8/Example-Of-Using-M
odules-In-Flex-201
http://www.brucephillips.name/blog/index.cfm/2007/1/8/Example-Of-Using-
Modules-In-Flex-201 

for a simple example.




-- 
Whether you think that you can, or that you can't, you are
usually right.
 - Henry Ford 




 


***
The information in this e-mail is confidential and intended solely for the 
individual or entity to whom it is addressed.  If you have received this e-mail 
in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.
***


[flexcoders] Adobe Labs platform classes best practice

2007-01-09 Thread Kevin Newman
Hello,

I have been playing with various of the classes stored in SVN at 
http://labs.adobe.com/subversion/flashplatform, and have some questions 
about what is the best way to check those out, to build them.

So far I have been checking out the trunk of each project (corelib, 
xmlsyndication, flexunit, xmpp, etc.) as a separate Flex Library Project 
using Subclipse. Then I set (what I think are) the appropriate classes 
(all of them?), source paths (src/actionscript3) and library paths 
(other Flex Library Projects) in the properties window (under build 
path) in Flex Builder 2, and have been able to get these to build swc files.

Is that the best way to do this? While I am able to get the swcs, I am 
not able to compile the test applications from within Flex Builder 2 - 
is there a way to do that?

Any help or pointers are appreciated.

Thanks,

Kevin N.




Re: [flexcoders] fyi : Open Source ActionScript 3 Libraries Moved to Google Code

2007-01-09 Thread Darron J. Schall
You shouldn't use those instructions anymore.  The code in the Adobe 
Labs SVN is now out-of-date, and is not going to be updated anymore.  
All projects going forward will be using the Google Code SVN 
repositories.  Each project on Google Code, then, has instructions for 
downloading the latest code from SVN.

When projects reach milestones, we'll create official releases which 
will include .swc files in a .zip archive on the main project page.  
However, if you want to use the latest, you'll have to pull from the 
Google Code SVN.  It's on my roadmap to create ANT scripts to make it 
easier to get docs/swc from the source, I just haven't had the time to 
get to it yet.

The latest release for each project right now is just a copy of what 
was previously available on labs.  We haven't updated any of the 
individual downloads for the libraries, though some of the code in the 
Google SVN is already different that what was in the labs SVN.

To pull source for the AS3 libraries now, use instructions found on the 
Source tab of the Google Code project home page.  For example, to get 
the latest corelib source, the instructions are here: 
http://code.google.com/p/as3corelib/source

-d

Paul Evans wrote:


 On 9 Jan 2007, at 08:59, Carlos Rovira wrote:

  or I download the zip from a bad place
  Then I had a problem with some classes that was not usable (for
  example the JPGEncoder does not compile).

 Sounds like my comment on Christrian Cantrell's How To Get Code From
 Adobe Labs still applies ?

 http://weblogs.macromedia.com/cantrell/archives/2006/08/ 
 http://weblogs.macromedia.com/cantrell/archives/2006/08/
 how_to_get_code.cfm

 Basically the zip file is out of date, but SVN is (was) up-to-date.

 Must admit I haven't looked at the Google-code version as yet. In-
 case downloading from Google code doesn't work for you, the SVN line
 described on Christian's page is still active.

 Paul
 -- 
 [ http://www.creative-cognition.co.uk/ 
 http://www.creative-cognition.co.uk/ ]
 [ http://creacog.wordpress.com/ http://creacog.wordpress.com/ ]

  



Re: [flexcoders] Re: Referring to created AS class from within MXML

2007-01-09 Thread David Steele
I now have the following, but I get the same error:

 import flash.display.Sprite;
 import flash.events.*;
import flash.net.XMLSocket;
 public class socket extends UIComponent
 {
...

- Original Message 
From: Jim Robson [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 9, 2007 10:58:54 AM
Subject: [flexcoders] Re: Referring to created AS class from within MXML

David,

DisplayObjects (Sprite, Shape, Bitmap) can't generally be used
directly in MXML. To be able to add a child using an MXML tag, you
need to extend UIComponent.

-Jim

--- In [EMAIL PROTECTED] ups.com, David Steele [EMAIL PROTECTED] wrote:

 I apologize for what must be an obvious question, but why when I try
to create a class in the inline code of an mxml page do I get the
'Classes must not be nested' error?
 
 I'm trying to test a socket connection. I've got the socket code
(which is a class); I know how to create mxml buttons etc. What I
don't know is how to put the two together. I've created a new
actionscript class file: 
 package {
 import flash.display. *;
 import flash.events. *;
 import flash.net.XMLSocket ;
 
 public class socket extends Sprite
 {
 ...
 
 I've also got a document called socketTest.mxml. How do I refer to
to my AS class from within socketTest.mxml? Do I need to explicitly
place the two files somewhere?
 
 Thanks.
 
  _ _ _ _ __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam protection around 
 http://mail. yahoo.com





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: [flexcoders] FLEX 2 FDS Hibernate Help

2007-01-09 Thread Kike

Hi!!!
Look the first link of Darron, it´s a very good example, i´m try, learn and
works!!!

I´ll look weblog of Victor

Thanks Darron...

;)

kike quintano
// no comment


[flexcoders] Re: Maximum Precision of a Slider? (Flex 2)

2007-01-09 Thread Jim Robson
Thanks David,

That's essentially the solution that I used. Since every variable is
different (some have ranges in the hundreds, while others have ranges
in the ten-thousandths) I evaluate the default value of each variable,
and multiply accordingly. 

Meanwhile, however, if the Slider has a native way of handling this,
I'd sure like to know what it is!

-Jim

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

 Jim --
 
 Looks like you're really going from 89 to 1000 if we lop off a few
zeros. :)
 
 The slider has a labels array propery, which is an array of strings.
So why not multiply your variable values by 100 -- you'd then
effectively show the values moving from 89 to 1000.  Your minimum
value would be 89; your maximum would be 1000. The corresponding
*labels*, though -- the numbers that appear on the slider -- you could
set to be .89 - .000100
 
 Hope this helps,
 
 David
 
 
 - Original Message 
 From: Jim Robson [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, January 9, 2007 8:41:51 AM
 Subject: [flexcoders] Maximum Precision of a Slider? (Flex 2)
 
 Anyone know what the maximum precision of a Slider component is? I'm
 building an app where the users need to manipulate values that are
 very small. For example, the range of possible values for one variable
 is 0.89 - 0.000100. When I set the Slider.minimum = 0.89 and
 the Slider.maximum = 0.000100, the Slider appears to interpret both
 values as zeroes. So the thumb sits at the left end of the slider, no
 matter what Slider.value is. And when you drag the thumb to the right,
 it snaps back to the left as soon as you release the mouse button.
 Does anyone have a way of overcoming this limitation? (Am I missing
 something obvious in the docs?)
 
 
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com





[flexcoders] gradient itemrenderer and resize (charts)

2007-01-09 Thread vigen2000
Hi,

i have a weired thing going on. i implemented a gradient itemrenderer
for the series to color the bars according to the data. all works well
until i resize the chart with AS. the bars are covering each other in
an ugly way. only recreating the object solve the problem (scrolling
out of the chart and scrolling back)

any ideas?

vigen



[flexcoders] Re: Data Binding (I think) question

2007-01-09 Thread dmiramontesval
Just to be sure, are you using Flex 2.0.1?

What u mention is kinda weird, can i see an example code?




--- In flexcoders@yahoogroups.com, Roscoe P Coltrane
[EMAIL PROTECTED] wrote:

 OK, what you put is exactly what I am doing, almost word for word.
 When i set my dataprovider to a new ArrayCollection  - the first time
 it works fine, then after that it works but the new data does not
 appear in the combobox. All the bindings appear to fire, and the new
 data is in the backing ArrayCollection as seen from the debugger.
 However, on the screen the dropdown is now empty. Hence my thought
 that I somehow need to create or renew a binding between the combobox
 and the .mxml file (the screen) that it is nested in.
 
 I appreciate your help.
 Roscoe
 
 --- In flexcoders@yahoogroups.com, dmiramontesval
 dmiramontesval@ wrote:
 
  So if i got it right, you want a custom ComboBox on several screens
  and the only thing that is going to change is the dataProvider, right?
  
  I would do the following:
  
  1. In your custom ComboBox declare a variable like this:
  
  private var _myDataProvider : Array; //or ArrayCollection, as you
prefer
  
  2. Create a getter and setter methods
  
  [Bindable]
  public function get myDataProvider() : Array 
  {
  return _myDataProvider;
  }
  
  public function set myDataProvider(dp : Array) : void
  {
  _myDataProvider = dp;
   this.dataProvider = myDataProvider;
  }
  
  3. In the application where you want to include the custom ComboBox,
  pass the dataProvider you want to use, like this:
  
  custom:CustomComboBox myDataProvider={DataProviderYouWantToUse}/
  
  or
  
  var myCustomCB : CustomComboBox
  myCustomCB.myDataProvider = DataProviderYouWantToUse
  
  
  
  Please consider that DataProviderYouWantToUse is the array (or
  arrayCollection) that you want to use as dataProvider for your
  ComboBox. When setting the myDataProvider, the setter will be called
  and the dataProvider will be updated.
  
  Hope this helps you out
  
  --- In flexcoders@yahoogroups.com, Roscoe P Coltrane
  roscoe75028@ wrote:
  
   Using Flex 2 - 
   I have extended ComboBox in an AS3 class. My plan is to use it a
lot 
   in several places and just programatically change the
dataProvider in 
   each of the places. It works as expected the first time I use it
in a 
   generated screen. Later I remove the screen, then still later I 
   recreate the screen containing the combobox. This time the 
   dataProvider still gets updated, but now no data is visible in the 
   dropdown on the screen - it appears empty. I figure it needs to be 
   rebound to the screen somehow, since I have verified I have data. 
   However, I cannot figure out how to bind the instance of the
 combobox, 
   and / or exactly what else in it besides the dataProvider, in
such a 
   way that the screen gets updated.
   Could someone give me some pointers, or at least some idea of
what I 
   am doing wrong?
   Thanks,
   Roscoe
  
 





[flexcoders] basic architecture question

2007-01-09 Thread jmerrill_2001
Newbie to Flex, (but not Flash/AS 2.0) so for me it's like a skier 
learning to snowboard.  I have dabbled with Flex in the past, and 
recently went through all the lessons in the help docs, as well as 
read a lot of other things in there. I'm designing a Team Page - a 
site that shows people of the business unit as individual cards - 
like baseball cards. Each card will have elements like a photo of 
the person, a description of skillsets, and buttons to expand and 
change to a different state. Making that is easy with a custom 
component, but I'm having some struggle with the dynamic data part 
as it relates to the custom component - in other words, making the 
components generic and then settings the data for them later in my 
application.
 
I thought I would make a generic person card with a placeholder 
for the photo and data - that would be a single component, and then 
in another main application MXML I would repeat that component over 
and over based on some XML data. Easy enough so far - the XML data 
isn't the problem. In Flex, I'm not sure how to add the image 
dynamically, or change the value of the image file reference for 
each component repeated - I can add an image tag easily enough in 
the component, but having a hard time not hard-coding the image 
reference.  So I guess I have a few questions: 

1. What's the best way to set up a generic image container for the 
image file be in the person card component and how would I set 
that in the main application MXML repeat region? Or is making 
the person card as a component not a good approach? Should I just 
describe the person card within the repeat region and not make it a 
custom component?

2. How do i set other variables in the custom components like label 
values? 

3. Overall, what would be a good way to architect a site like this? 
I know how to create and change states, but unsure what should be a 
component and what should just described right in the main MXML.

Thanks,

Jason Merrill
Bank of America  Learning  Organizational Effectiveness
Multimedia / eTools Team



[flexcoders] Custome Rich Text Area Controls

2007-01-09 Thread Ryan
I'm trying to write a set of master controls for setting the styles
for 3 rich text areas. what I need is for a single set of controls
(bold button, italics button, ect) to set the styles for all three
rich text areas at the same time. I have read the api and I'm just not
sure how to go about this. i can set the entire text area to bold, but
that is not correct... i just makes the entire textarea bold instead
of anything typed from that point on so i would LOVE any incite on
this problem.

A few things I have tried to no avail ... 

Toggling the controlls manually:
   rt1a.boldButton.selected = true; 
   var eventObj:Event = new Event(CHANGE);
   dispatchEvent(eventObj);

Manipulating the RichTextArea manually:
   rt1a.textArea.setStyle(fontWeight,bold);

Neither one of which seems to work or even be strolling down the right
path to a solution. 

Any help would be greatly appreciated. 

Ryan 



[flexcoders] odd script error - undefined property

2007-01-09 Thread jmerrill_2001
my entire MXML  Actionscript, which I can't see any errors with:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute
mx:Script
![CDATA[
public var foo:String;
foo = Hello World;
]]
/mx:Script
/mx:Application

I am getting this error on that second line in the script: 
1120: Access of undefined property foo.

??? Any ideas?  Haven't I already defined the variable foo???

Thanks,

Jason




RE: [flexcoders] FlexBuilder 2.0.1 - Ctrl-Tab broken?

2007-01-09 Thread Dirk Eismann
Yes - I also noticed it. You'll have to add this shortcut by yourself.

In Eclipse / FB2, go to Window -- Preferences -- General -- Keys -- Modify

Scheme: Default
Category: Window
Name: Next View
Assignments:
  When: In Windows
  Key Sequence: Ctrl + Tab

Hope this helps,
Dirk. 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Claus Wahlers
 Sent: Tuesday, January 09, 2007 5:50 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] FlexBuilder 2.0.1 - Ctrl-Tab broken?
 
 Hi,
 
 Is it just me, or is Ctrl-Tab broken in FlexBuilder 2.0.1? In 
 FlexBuilder 2, with the AS3 Editor in focus and multiple 
 source files loaded, i was able to switch tabs with Ctrl-Tab. 
 This stopped working after i upgraded to 2.0.1, and that's 
 kinda driving me nuts.
 
 Cheers,
 Claus.
 
 --
 claus wahlers
 côdeazur brasil
 http://codeazur.com.br/
 http://wahlers.com.br/claus/blog/
 
 


Re: [flexcoders] exit list

2007-01-09 Thread Shannon Hicks

Click the Unsubscribe link at the bottom of all the emails.

Flávio Santos wrote:


I want to leave the listplease

 




Re: [flexcoders] Svn Flex

2007-01-09 Thread Shannon Hicks

Install SubEclipse (SVN plugin for Eclipse).

You might need to remove all the SVN files and re-create the flex 
project... I don't remember exactly what I had to do, but I had the same 
issue.


Shan

Lieven Cardoen wrote:


Hi,

 

When compiling a Flex project, Flex copies all files to bin folder, 
including hidden .svn folders. As a result, Tortoise goes crazy...


 


Anyway to resolve this?

 


Thx, Lieven Cardoen

 


*Lieven Cardoen
**Application developer
**
**indie**group**
**interactive digital experience**
**engelse wandeling 2 k18
b8500 kortrijk ***

 

 

 




Re: [flexcoders] odd script error - undefined property

2007-01-09 Thread Michael Schmalle

Hi,

The script tag is like the class definition

You need to put property definitions in a method

function initApp():void
{
   foo = Hello World;
}

On 1/9/07, jmerrill_2001 [EMAIL PROTECTED] wrote:


  my entire MXML  Actionscript, which I can't see any errors with:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:Script
![CDATA[
public var foo:String;
foo = Hello World;
]]
/mx:Script
/mx:Application

I am getting this error on that second line in the script:
1120: Access of undefined property foo.

??? Any ideas? Haven't I already defined the variable foo???

Thanks,

Jason

 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


Re: [flexcoders] Adobe Labs XMPP errors

2007-01-09 Thread Daniel Dura

Hey Kevin

I am actually getting ready to move the XMPP library over to Google Code
today, and will fix that bug. Basically, there is a namespace called
'xmpp_internal' that I am using. You should be able to define it yourself
(the package location for that namespace should be specified in the imports
for Packet.) and work around it until I update. Or if you can wait until
this afternoon I will have an update for you.

- Danny


On 1/9/07, Kevin Newman [EMAIL PROTECTED] wrote:


  Hello,

I have been getting some errors trying to compile the XMPP library from
Adobe Labs.

It seems that the namespace xmpp_internal is not defined anywhere, and
there is no class for PacketExtension which is used several times in
Packet.as http://packet.as/.

Is there a solution to these problems? Or should I wait for an update,
or use XIFF?

Thanks,

Kevin N.

P.S. Here are the errors:

Severity Description Resource In Folder Location Creation
Time Id
2 1004: Namespace was not found or is not a compile-time constant.
XMPPStream.as
xmpp/src/actionscript3/mx/collaboration/xmpp/protocol line 48
January 8, 2007 6:06:01 PM 68
2 1004: Namespace was not found or is not a compile-time constant.
Packet.as http://packet.as/
xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packets line
51 January 8, 2007 6:06:01 PM 67
2 1004: Namespace was not found or is not a compile-time constant.
Packet.as http://packet.as/
xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packets line
62 January 8, 2007 6:06:01 PM 66
2 1046: Type was not found or was not a compile-time constant:
PacketExtension. Packet.as http://packet.as/
xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packets line
187 January 8, 2007 6:06:01 PM 62
2 1046: Type was not found or was not a compile-time constant:
PacketExtension. Packet.as http://packet.as/
xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packets line
193 January 8, 2007 6:06:01 PM 63
2 1046: Type was not found or was not a compile-time constant:
PacketExtension. Packet.as http://packet.as/
xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packets line
207 January 8, 2007 6:06:01 PM 64
2 1046: Type was not found or was not a compile-time constant:
PacketExtension. Packet.as http://packet.as/
xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packets line
237 January 8, 2007 6:06:01 PM 65





Re: [flexcoders] Re: Svn Flex

2007-01-09 Thread Michael Schmalle

Plus,

Subclipse automatically ignores the bin folder. That is an added plus.

Peace, Mike

On 1/9/07, Jim Robson [EMAIL PROTECTED] wrote:


  Lieven:

In Flex Builder, go to Project Properties - Flex Compiler and
deselect Copy non-embedded files to output directory

Also - and more importantly - install the SVN Eclipse plugin
(Subclipse). When you do that, Flex Builder becomes svn-aware, and
stops doing stupid things with your working copy:
http://subclipse.tigris.org/

HTH
Jim

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Lieven
Cardoen
[EMAIL PROTECTED] wrote:

 Hi,



 When compiling a Flex project, Flex copies all files to bin folder,
 including hidden .svn folders. As a result, Tortoise goes crazy...



 Anyway to resolve this?



 Thx, Lieven Cardoen



 Lieven Cardoen
 Application developer

 indiegroup
 interactive digital experience
 engelse wandeling 2 k18
 b8500 kortrijk


 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


[flexcoders] 2.0.1 bug - Cutting text in the MXML editor with code folding on causes redraw issues.

2007-01-09 Thread Daniel Wabyick
I just ran into a bug with the MXML editor when code folding is on. Just
filed the bug, but I thought I would send this out to see if a) others
have the issue, b) there appears to be a workaround.

The bug occurs when cutting text in the MXML editor. To reproduce:

1) Create a new mxml app:

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

2) Select the following:  xmlns:mx=http://www.adobe.com/2006/mxml;

3) Hit CTRL-X. Note that the 1st and 5th line of text disappear.


The good news is that turning off code folding appears to fix the
problem.  I am on a new install of Flex 2.0.1, Eclipse 3.2 on Windows
XP. Other plugins include Callisto and the Spring IDE component.

Would be curious if others can reproduce.

-D





[flexcoders] Omit Trace Statements?

2007-01-09 Thread Jeff Tapper
Is there some compiler argument i can use to force the compiler to omit 
trace statements?  I know Flash Studio always had that as an option, but in 
digging around in the docs, i cant find the equivalent for flex.  can 
anyone point me in the right direction?

thanks



Jeff Tapper
[EMAIL PROTECTED]
Founding Partner
Tapper, Nimer and Associates Inc.  




[flexcoders] Re: Custome Rich Text Area Controls

2007-01-09 Thread potentialunfounded
something like this:

http://www.code4net.com/rte/


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

 I'm trying to write a set of master controls for setting the styles
 for 3 rich text areas. what I need is for a single set of controls
 (bold button, italics button, ect) to set the styles for all three
 rich text areas at the same time. I have read the api and I'm just not
 sure how to go about this. i can set the entire text area to bold, but
 that is not correct... i just makes the entire textarea bold instead
 of anything typed from that point on so i would LOVE any incite on
 this problem.
 
 A few things I have tried to no avail ... 
 
 Toggling the controlls manually:
rt1a.boldButton.selected = true; 
var eventObj:Event = new Event(CHANGE);
dispatchEvent(eventObj);
 
 Manipulating the RichTextArea manually:
rt1a.textArea.setStyle(fontWeight,bold);
 
 Neither one of which seems to work or even be strolling down the right
 path to a solution. 
 
 Any help would be greatly appreciated. 
 
 Ryan





RE: [flexcoders] odd script error - undefined property

2007-01-09 Thread Merrill, Jason
Ah, that makes sense.  Thanks!
 

Jason Merrill 
Bank of America
Learning  Organizational Effectiveness 
  
  
  
  
  

 




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle
Sent: Tuesday, January 09, 2007 11:37 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] odd script error - undefined property



Hi,

The script tag is like the class definition

You need to put property definitions in a method

function initApp():void
{
foo = Hello World;
}


On 1/9/07, jmerrill_2001 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

my entire MXML  Actionscript, which I can't see any
errors with:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml  
layout=absolute
mx:Script
![CDATA[
public var foo:String;
foo = Hello World;
]]
/mx:Script
/mx:Application

I am getting this error on that second line in the
script: 
1120: Access of undefined property foo.

??? Any ideas? Haven't I already defined the variable
foo???

Thanks,

Jason








-- 
Teoti Graphix
http://www.teotigraphix.com http://www.teotigraphix.com 

Blog - Flex2Components
http://www.flex2components.com http://www.flex2components.com 

You can find more by solving the problem then by 'asking the
question'. 



 



Re: [flexcoders] Re: FlexBuilder 2.0.1 - Ctrl-Tab broken?

2007-01-09 Thread Claus Wahlers
Bruce Denham wrote:

 For some reason, they switched the shortcut to ctrl-q.
 I switched it back to ctrl-tab using the FB flexbuilder keys settings:
 Windows  Preferences  General  Keys

Ah there we go. Thanks for the hint, Bruce.

What i was looking for was Backward History (was mapped to 
Alt-CursorLeft).

Thanks,
Claus.

-- 
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/


RE: [flexcoders] flex2ant

2007-01-09 Thread Sascha
Thanks for the info Dirk (and all others)! I will give the incrementalBuild
task a try! This is definitely going to makes some things more comfortable.

As mentioned before when I used FDT/MATSC I had several default At files
that were imported into a build file template and every time I started a new
Project, I just had to create a build.xml, hit the init task and it would
prepare stuff like default classes etc. Plus a build number was saved
(buildnumber task) and a class was created everytime that stores version and
build number among some copyright tags etc.

 

Cheers,

Sascha

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dirk Eismann
Sent: Tuesday, 09 January, 2007 21:44
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

 

You might want to use the eclipse.incrementalBuild Task that comes with
Eclipse. This allows to invoke the incremental Flex Builder compiler from
within Ant. This gives you the same compilation performance as using Build
Automatically plus adds all the nice stuff you can achieve with Ant :-)

 

Check my blog post here:
http://www.richinternet.de/blog/index.cfm?entry=2B7613A8-C687-AF8E-B98552AF
89BBE463
http://www.richinternet.de/blog/index.cfm?entry=2B7613A8-C687-AF8E-B98552AF8
9BBE463

 

You'll only need to make sure that Ant runs in the same JRE as the
workspace.

 

Dirk.

 


  _  


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sascha
Sent: Monday, January 08, 2007 6:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

Actually I would like to use Ant in Eclipse running with Flex2 PlugIn to
build my projects! For AS2 is always used AS2Ant with FDT and MTASC and it
was the best!

Unfortunately things look different for Flex Builder. Building the project
with an Ant task is slower than using Flex Builder and 'Build Automatically'
is necessary for compile time error checking (while MTASC did this
automatically on-the-fly) but it would then also always build when using the
Ant task.

 

Does anyone know how to get this working:

Having an Ant build.xml that does some project preparing tasks (i.e.
increasing build number and store in an auto generated AppInfo class) and
then call the Flex builder build process from Ant. I'm not Ant magican but
is this possible?

 

Sascha

 

 


  _  


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lance Linder
Sent: Monday, 08 January, 2007 03:37
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2ant

 

Very nice work!

 

I thought about doing something like this before and ended up taking a bit
of a different approach. What I did was create a task that can read the flex
project files and from these use mxmlc and compc to build the projects. What
I figured is that if Flex Builder is creating the project files for me and
can compile off of these that I would mimic the same thing! If people are
interested in using this approach I will look at hosting it somewhere. This
is however an NAnt task so I suspect there will be less people interested in
this.

 

Lance

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flex2ant
Sent: Friday, October 27, 2006 7:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2ant

 

Hi list,

Now Flash player 9 (beta) for Linux has been released we can finally
develop Flex 2 and AS3 apps on Linux. I've been putting in a lof of
effort in the past week to create flex2ant.

With flex2ant you can develop Flex2/AS3 apps from within Eclipse. All
you need is the Flex 2 SDK, Eclipse and flex2ant and off you go.

If you are interessed in this type of development then please go over
to http://www.flex2ant http://www.flex2ant.org .org and download the
latest release.

regards,
Luke

 



Re: [flexcoders] Re: my event isn't sufficiently loaded to provide this information.

2007-01-09 Thread John Wilker

Mike! Thanks was just puzzinling over thise same error!!

Thanks!

On 10/22/06, Mike Morearty [EMAIL PROTECTED] wrote:


  Yes, I've seen this before. Although I don't know if it's a bug, I do
know the workaround.

If you call ObjectUtil.toString() on a UIComponent, you will get this,
because many of the members of UIComponent.systemManager.loaderInfo
throw this exception. In your case, I bet the 'target' property of
the event is a UIComponent.

The workaround is to exclude the 'loaderInfo' property from the dump,
like this:

ObjectUtil.toString(event, null, ['loaderInfo'])

I agree the error message seems suspicious, since the app has
completely finished loading.


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

 I see it. It may be that the deep recursive printing in the MouseEvent
 is hitting something it shouldn't be. Maybe try excluding some of the
 properties like target so it doesn't go too deep?



 

 From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
 Behalf Of David Harris
 Sent: Thursday, October 12, 2006 1:24 PM
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Subject: [flexcoders] my event isn't sufficiently loaded to provide
 this information.



 This is a bit weird. (Every other time I have said this it's been me
 but...)

 I have a custom event that I am broadcasting on a button click.

 The Button is clicked, which then calls a function.

 When I put a trace of the event.target I get the The loading object
 is not sufficiently loaded to provide this information. error.

 I am not sure why this is happening as the target is fully loaded
 before I click it.

 Any one else seen this?

 The below snippet causes this error for me. Do you see this error when
 you run the below code?:

 =

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 http://www.adobe.com/2006/mxml  layout=absolute
 mx:Script
 ![CDATA[
 import mx.utils.ObjectUtil;
 public function buttonClickHandler(event:MouseEvent):void
 {
 trace(ObjectUtil.toString(event));
 }
 ]]
 /mx:Script

 mx:HBox
 mx:Button id=thisButton click=buttonClickHandler(event) /
 /mx:HBox
 /mx:Application


 





--
John Wilker
Vice President Software Development/Writer
Red Omega Solutions, Inc.
www.johnwilker.com / www.red-omega.com

Everything changes, nothing remains without change. ~Buddha c.483 bc


[flexcoders] FABridge

2007-01-09 Thread john_69_11
Is anyone else out there using FABridge?  I'm testing it out on Safari
and getting js errors, has anyone else ran into this and possible
solutions? The exception I get is:

Value undefined (result of expression this.target.getRoot) is not object.
FABridge.js, line 191

If I could get any help at all with this I would really apprechiate it.

-John



[flexcoders] Re: flex 2.0.1 feedback from the trenches

2007-01-09 Thread mthielman11
I am getting the same 1023 and 1144 errors.  Using Flexbuilder plugin for 
eclipse.  Can NOT 
build ANY of my projects.  Not happy right now.  This is a HUGE bug and don't 
see how 
something like this gets through testing.  

Any way to fix this yet.  I have completely reinstalled eclipse and flexbuild 
and still have the 
issue.



Re: [flexcoders] odd script error - undefined property

2007-01-09 Thread Shannon Hicks

If you want to set a default value, your code needs to look like this:

public var foo:String = Hello World

Otherwise, you'll need some type of even handler:

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

mx:Script
![CDATA[
public var foo:String;
public function init():void {
   foo = Hello World;
}
]]
/mx:Script
/mx:Application

Shan



jmerrill_2001 wrote:


my entire MXML  Actionscript, which I can't see any errors with:

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

layout=absolute
mx:Script
![CDATA[
public var foo:String;
foo = Hello World;
]]
/mx:Script
/mx:Application

I am getting this error on that second line in the script:
1120: Access of undefined property foo.

??? Any ideas? Haven't I already defined the variable foo???

Thanks,

Jason

 




[flexcoders]Font embedding FlashType in 2.0.1 error

2007-01-09 Thread dorkie dork from dorktown

I cannot get Flash Type to work in my project. I have simplified everything
by going to the link below, using the example, !--
fonts/EmbeddedFontFaceActionScriptByName.mxml -- and specifying Times New
Roman. as the system font. Only changing that I get the following error.
You can try it too! Join the fun!

Example:
http://livedocs.macromedia.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=fonts_070_06.html


This is the code, I set to Times New Roman and added flashType='true'
/*
 * Embed a font by name.
 */
[Embed(systemFont='Times New Roman',
   fontName='myPlainFont',
   mimeType='application/x-font',
   flashType='true'
)]
private var font1:Class;

Here are the error I get:
transcoding parameter 'flashType' is not supported by '
flex2.compiler.media.FontTranscoder'ybmain/flexFontTest.mxml
/ybmain/flex/FontTest.mxml11683609591306828

dorkie in you font face dork from dorktown


Re: [flexcoders] Adobe Labs XMPP errors

2007-01-09 Thread Kevin Newman
Danny,

Sweet! I'll just wait for the update, but there's honestly no rush, I am 
really just playing around at this point.

Thanks for the quick response. :-)

Kevin N.


Daniel Dura wrote:
 Hey Kevin
  
 I am actually getting ready to move the XMPP library over to Google 
 Code today, and will fix that bug. Basically, there is a namespace 
 called 'xmpp_internal' that I am using. You should be able to define 
 it yourself (the package location for that namespace should be 
 specified in the imports for Packet.) and work around it until I 
 update. Or if you can wait until this afternoon I will have an update 
 for you.
  
 - Danny

  
 On 1/9/07, *Kevin Newman* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hello,

 I have been getting some errors trying to compile the XMPP library
 from
 Adobe Labs.

 It seems that the namespace xmpp_internal is not defined
 anywhere, and
 there is no class for PacketExtension which is used several
 times in
 Packet.as http://packet.as/.

 Is there a solution to these problems? Or should I wait for an
 update,
 or use XIFF?

 Thanks,

 Kevin N.

 P.S. Here are the errors:

 Severity Description Resource In Folder Location Creation
 Time Id
 2 1004: Namespace was not found or is not a compile-time constant.
 XMPPStream.as
 xmpp/src/actionscript3/mx/collaboration/xmpp/protocol line 48
 January 8, 2007 6:06:01 PM 68
 2 1004: Namespace was not found or is not a compile-time constant.
 Packet.as http://packet.as/
 xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packets line
 51 January 8, 2007 6:06:01 PM 67
 2 1004: Namespace was not found or is not a compile-time constant.
 Packet.as http://packet.as/
 xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packets line
 62 January 8, 2007 6:06:01 PM 66
 2 1046: Type was not found or was not a compile-time constant:
 PacketExtension. Packet.as http://packet.as/
 xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packets line
 187 January 8, 2007 6:06:01 PM 62
 2 1046: Type was not found or was not a compile-time constant:
 PacketExtension. Packet.as http://packet.as/
 xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packets line
 193 January 8, 2007 6:06:01 PM 63
 2 1046: Type was not found or was not a compile-time constant:
 PacketExtension. Packet.as http://packet.as/
 xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packets line
 207 January 8, 2007 6:06:01 PM 64
 2 1046: Type was not found or was not a compile-time constant:
 PacketExtension. Packet.as http://packet.as/
 xmpp/src/actionscript3/mx/collaboration/xmpp/protocol/packets line
 237 January 8, 2007 6:06:01 PM 65


  




RE: [flexcoders] DataGrid row

2007-01-09 Thread Tracy Spratt
That is because there is really no such thing.  The list controls are
windows into the data, and only the visible rows exist.  The visual
rendering elements are re-used when the data is scrolled or the
dataProvider is changed.

 

You cannot access the data through the control, but must work with the
dataProvider, in your case, something like:

myDataGrid.dataProvider.setItemAt();

 

The exact API you use depends on what the dataProvider is,
ArrayCollection, XMLList, XMLListCOllection are the main types.  If you
use the Collection api to modify the data, then the changes will
automatically be reflected in the control.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stembert Olivier (BIL)
Sent: Tuesday, January 09, 2007 4:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid row

 

Hi,

How can I get a pointer to a row in a DataGrid?
i.e. myDataGrid.getRow(index).setSomething()
I know the DataGridColumn but there's nothing like a DataGridRow

Thanks

-
An electronic message is not binding on its sender.
Any message referring to a binding engagement must be confirmed in
writing and duly signed.
-

 



RE: [flexcoders] Modules and ActionScript

2007-01-09 Thread Roger Gonzalez
This is called lost in translation between engineering and
documentation, because its somewhat subtle.
 
It means that if you are using modules for code that doesn't include any
frameworks code, you should extend ModuleBase.
 
If your modules use code that interacts directly with the frameworks (in
particular, does it rely on CSS, and do you expect the product of the
module to be able to be added as a visual component) then you need to
extend Module so that the compiler does the correct code generation.
 
If you extend Module in a non-frameworks AS project, you will pull in
lots of code that you don't want.
 
-rg




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel Freiman
Sent: Tuesday, January 09, 2007 7:01 AM
To: flexcoders
Subject: [flexcoders] Modules and ActionScript



The docs say that you should extend from Module if you are using
mxml and ModuleBase if you are using Actionscript, but these Classes are
drastically different.  One is a subclass of EventDispatcher (similar to
and Object) and one subclasses LayoutContainer (similar to Container).
This is a very important difference.  I've tried using actionscript to
subclass Module and it works perfectly fine.  Are the docs incorrect or
is there a more subtle reason why actionscript shouldn't extend Module? 

- Dan


 



[flexcoders] 64-bit Integers

2007-01-09 Thread adorritie
I didn't find a 64-bit integer datatype in the Flex docs and I would
like to work with a SQL Server database that uses BIGINT (64-bit
signed) datatype as a record identifier.  Is there a reason why Flex
doesn't have a 64-bit int?  How have others worked around this limitation?

Much thanks,

Adam



RE: [flexcoders] variable url on an httpservice

2007-01-09 Thread Tracy Spratt
Something like:

myHttpService.url = http://; + parameters.myPassedInVariable;

myHttpService.send();

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of darylgmyers
Sent: Tuesday, January 09, 2007 8:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] variable url on an httpservice

 

I am trying to make the url string a variable on the httpservice. I am 
passing the server in as a flashvar and want to use it as part of the 
httpservice url string. Can anyone point me in the right direction? 
Thanks.

 



[flexcoders] Drag and Drop within TileList - why does my code copy instead of move?

2007-01-09 Thread Rachel Maxim

Hello,

I would really appreciate another set of eyes taking a look at this code to
see what I'm doing wrong. I have several tile lists where tiles can be
dragged and dropped around. This code is pretty much straight out of the
docs plus a few rules, It's working fine except that the tiles are copying,
not moving as I want them to. Before I overrode the default drag-and-drop
functionality, they moved, but when I implemented my rules to ensure they
are being dragged to a list that accepts them, they started copying.

Thanks so much for any help!
Rachel Maxim

?xml version=1.0 encoding=utf-8?

mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml;
   verticalScrollPolicy=auto
   horizontalScrollPolicy=off

!-- component properties to identify this item for drag and drop listeners
--
mx:String id=userName{data.userName}/mx:String

   mx:Script
   ![CDATA[
   import mx.collections.ArrayCollection;
   import mx.controls.List;
   import mx.core.DragSource;
   import mx.events.DragEvent;
   import mx.managers.DragManager;
   import mx.containers.Tile;
   import mx.collections.IList;

   //drag enter handler
   private function doDragEnter(event:DragEvent):void {
   //drag target - where item is being dragged
   var dragInitiator:TileList = TileList(event.currentTarget);
   //dragged items
   var items:Array = event.dragSource.dataForFormat(items) as
Array;
   for (var i:uint = 0; i  items.length; i ++) {

   var fromCaseName:String = items[i].caseName; //the case
name that the deal is being dragged from
   var toCaseName:String = data.caseName; //the case name
that the deal is being dragged too
   //check to ensure drop is allowed on this object
   if (isDropAllowed(fromCaseName, toCaseName))
   {
   DragManager.acceptDragDrop(dragInitiator);
   }
   else
   {
   DragManager.NONE;
   }
   }
   }

   private function doDragOver(event:DragEvent):void
   {
   //dragged items
   var items:Array = event.dragSource.dataForFormat(items) as
Array;
   for (var i:uint = 0; i  items.length; i ++) {
   var fromCaseName:String = items[i].caseName; //the case
name that the deal is being dragged from
   var toCaseName:String = data.caseName; //the case name
that the deal is being dragged too

   //check to ensure drop is allowed on this object
   if (isDropAllowed(fromCaseName, toCaseName))
   {
   DragManager.showFeedback(DragManager.MOVE);
   }
   else
   {
   DragManager.showFeedback(DragManager.NONE);
   }
   }
   }

   //drop handler
   private function doDragDrop(event:DragEvent):void {
   //define the drop target
   var dropTarget:TileList = TileList(event.currentTarget);
   //dragged items
   var items:Array = event.dragSource.dataForFormat(items) as
Array;
   //get the drop location in the destination
   var dropLoc:int = dropTarget.calculateDropIndex(event);

   //loop over dragged items to get data from each
   for (var i:uint = 0; i  items.length; i ++) {
   trace(The deal  + items[i].caseID +   +
items[i].companyName +   + items[i].caseName +  was assigned to  +
userName); //debugging trace

   //add to drop target
   IList(dropTarget.dataProvider).addItemAt(items[i],
dropLoc);

   trace(the deal was dropped at  +
dropTarget.dataProvider.getItemAt(dropLoc).caseName);
   }
   //once complete, dispatch the drag complete event
   var dragComplete:Event = new Event('dragComplete',true);
   this.dispatchEvent(dragComplete);
   }

   //business rules that determine if this object can be dropped on
the intended target
   private function isDropAllowed(fromCaseName:String,
toCaseName:String):Boolean {
   //if deal is being dragged to the same caseName, drop is
allowed
   if (fromCaseName == toCaseName) {
   return true;
   }
   else {
   return false;
   }
   }
   ]]
   /mx:Script


   mx:Label text={data.userName} top=5 left=5 id=lblCreditName
fontWeight=bold width=231 textAlign=left/

   mx:TileList dataProvider={data.userDeals}
   itemRenderer=DealButton
   id=tlDeals
   columnCount=2
   verticalScrollPolicy=auto
   horizontalScrollPolicy=off
   

Re: [flexcoders] Svn Flex

2007-01-09 Thread Chris Hill
I just blogged this from our internal wiki:
http://ubergeek.tv/article.php?pid=127

Hope this helps,
C

Lieven Cardoen wrote:

 Hi,

 When compiling a Flex project, Flex copies all files to bin folder, 
 including hidden .svn folders. As a result, Tortoise goes crazy…

 Anyway to resolve this?

 Thx, Lieven Cardoen

 *Lieven Cardoen
 **Application developer
 **
 **indie**group**
 **interactive digital experience**
 **engelse wandeling 2 k18
 b8500 kortrijk ***

  



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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


[flexcoders] Re: function in a

2007-01-09 Thread Doug Lowder

You can find more info on the scope of variables and methods within a
Component here:

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


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

 i am trying to add a function into a datagrid i read the post about
 outerDocument.handleClick() but i am not sure how that works.
basically
 i want to call a function in a DataGrid.

 here is my code
 --
 mx:DataGridColumn headerText=Listings
 dataField=firm dgListingsCol
 mx:itemRenderer
 mx:Component
 mx:LinkButton x=30 y=250 label=XXX click=myfunction() /
 /mx:Component
 /mx:itemRenderer
 /mx:DataGridColumn





RE: [flexcoders] Flex Charts - call to recalculate min/max for axis?

2007-01-09 Thread Ely Greenfield
 
 
 
Hi Dana.  That should update automatically before the next render
pass...if you want to force it manually, you should be able to call
validateNow() on the chart to get everything to update.
 
Ely.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dana Gutride
Sent: Monday, January 08, 2007 1:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Charts - call to recalculate min/max for
axis?



Hi,

Does anybody know if there is a call to recalculate the minimum/maximum
values automatically for a axis?   I'm allowing the user to change the
minimum/maximum of the horizontal axis and I'd like for the vertical
axis to automatically update when that's complete.  Any ideas? 

Thanks,
Dana


 


RE: [flexcoders] Drag and Drop within TileList - why does my code copy instead of move?

2007-01-09 Thread Tracy Spratt
Have you found the line of code that changes the functionality?  If not,
do that.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rachel Maxim
Sent: Tuesday, January 09, 2007 12:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drag and Drop within TileList - why does my code
copy instead of move?

 

Hello,

I would really appreciate another set of eyes taking a look at this code
to see what I'm doing wrong. I have several tile lists where tiles can
be dragged and dropped around. This code is pretty much straight out of
the docs plus a few rules, It's working fine except that the tiles are
copying, not moving as I want them to. Before I overrode the default
drag-and-drop functionality, they moved, but when I implemented my rules
to ensure they are being dragged to a list that accepts them, they
started copying. 

Thanks so much for any help!
Rachel Maxim

?xml version=1.0 encoding=utf-8?

mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml 
verticalScrollPolicy=auto
horizontalScrollPolicy=off

!-- component properties to identify this item for drag and drop
listeners --
mx:String id=userName{ data.userName}/mx:String

mx:Script
![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.List;
import mx.core.DragSource; 
import mx.events.DragEvent;
import mx.managers.DragManager;
import mx.containers.Tile;
import mx.collections.IList;

//drag enter handler
private function doDragEnter(event:DragEvent):void {
//drag target - where item is being dragged
var dragInitiator:TileList =
TileList(event.currentTarget);
//dragged items
var items:Array =
event.dragSource.dataForFormat(items) as Array;
for (var i:uint = 0; i  items.length; i ++) {

var fromCaseName:String = items[i].caseName; //the
case name that the deal is being dragged from 
var toCaseName:String = data.caseName; //the case
name that the deal is being dragged too
//check to ensure drop is allowed on this object
if (isDropAllowed(fromCaseName, toCaseName)) 
{
DragManager.acceptDragDrop(dragInitiator);
}
else 
{
DragManager.NONE;
}
}
}

private function doDragOver(event:DragEvent):void 
{
//dragged items
var items:Array =
event.dragSource.dataForFormat(items) as Array;
for (var i:uint = 0; i  items.length; i ++) {
var fromCaseName:String = items[i].caseName; //the
case name that the deal is being dragged from 
var toCaseName:String = data.caseName; //the case
name that the deal is being dragged too

//check to ensure drop is allowed on this object
if (isDropAllowed(fromCaseName, toCaseName)) 
{
DragManager.showFeedback(DragManager.MOVE);
}
else 
{
DragManager.showFeedback (DragManager.NONE);
}
}
}

//drop handler
private function doDragDrop(event:DragEvent):void {
//define the drop target 
var dropTarget:TileList = TileList(event.currentTarget);
//dragged items
var items:Array =
event.dragSource.dataForFormat(items) as Array; 
//get the drop location in the destination
var dropLoc:int = dropTarget.calculateDropIndex(event);

//loop over dragged items to get data from each 
for (var i:uint = 0; i  items.length; i ++) {
trace(The deal  + items[i].caseID +   +
items[i].companyName +   + items[i].caseName +  was assigned to  +
userName); //debugging trace 

//add to drop target
IList(dropTarget.dataProvider).addItemAt(items[i],
dropLoc);

trace(the deal was dropped at  +
dropTarget.dataProvider.getItemAt(dropLoc).caseName);
}
//once complete, dispatch the drag complete event
var dragComplete:Event = new Event('dragComplete',true);

this.dispatchEvent(dragComplete);
}

//business rules that determine if this object can be
dropped on the intended 

[flexcoders] Re: How to include a Vertical Horizontal gap in a DataGrid?

2007-01-09 Thread zzwi89
--- In flexcoders@yahoogroups.com, zzwi89 [EMAIL PROTECTED] wrote:

 Hi,
 
 I would like to include a vertical and horizontal gap in my DataGrid
 so that the cells do not touch each other. I am eventually going to
 write custom renderers for the cells, but my first goal is to simply
 space them out by a few pixels. Does anyone know how to do this?



*bump*

anyone?



[flexcoders] HTTP Header with navigateToUrl

2007-01-09 Thread Harald Dehn
Hi, 

 

I am trying to submit a custom http-header with the navigateToUrl
function. Unfortunately my custom header SessionID will not transferred to
the iis. Where is my mistake?

 

Thanks for any help,

Harald

 

 

Code:

 

var urlReq:URLRequest = new URLRequest(Order.ashx?cmd=print);

 

  urlReq.method = URLRequestMethod.GET;

  urlReq.requestHeaders = [new URLRequestHeader(SessionID,
1234567)];

 

  navigateToURL(urlReq);

 

 

 

 

Http Request:

 

HTTP_CONNECTION:Keep-Alive

HTTP_ACCEPT:*/*

HTTP_ACCEPT_ENCODING:gzip, deflate

HTTP_ACCEPT_LANGUAGE:de

HTTP_HOST:www.project-fe.net

HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR
1.1.4322; .NET CLR 2.0.50727)

HTTP_UA_CPU:x86

Connection: Keep-Alive

Accept: */*

Accept-Encoding: gzip, deflate

Accept-Language: de

Host: www.project-fe.net

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR
1.1.4322; .NET CLR 2.0.50727)



[flexcoders] xmlList vs. Array

2007-01-09 Thread boy_trike
I am populating combo boxes and other lists with data that is either hardwired 
into the 
application or retrieved from a database.  An Array (or ArrayCollection) seems 
to fit the bill in 
most cases and is very easy to access / update.  What is the advantage of using 
an XMLList 
assuming that my data is rectangular (no nested children).  Is there any 
performance or other 
advantages to XMLList?  I notice that many of the flex examples seem to use XML 
and I was 
wondering what I am missing?

Bruce



[flexcoders] Re: Chart legend spacing

2007-01-09 Thread Tim Hoff

Hi Tom,

The horizontalGap property works for both of these in CSS.

/* controls the gap between LegendItems */
Legend {
  horizontalGap: 16;
}

/* controls the gap between the LegendItem marker and the label */
LegendItem {
  horizontalGap: 8;
}

-TH
__

Tim Hoff
Cynergy Systems, Inc.
http://www.cynergysystems.com
Office http://www.cynergysystems.comoffice/ : 866-CYNERGY

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

 What is the way to style the spacing in a chart's legend?

 Specifically, I'd like to control the spacing between legend markers
and
 their titles as well as between legend items. In a small column chart
 I'm building, the spacing is far enough off that the legend titles
seem
 to be aligned with the wrong markers.





Re: [flexcoders] Drag and Drop within TileList - why does my code copy instead of move?

2007-01-09 Thread Rachel Maxim

I'm gonna keep working on it, but that is exactly what I am trying to find!
Unfortunately this is pretty bare-bones as far as functionality goes, so if
I remove just a couple lines then the entire drag and drop won't work :)
I'll definitely post when I find the solution though!
R

On 1/9/07, Tracy Spratt [EMAIL PROTECTED] wrote:


 Have you found the line of code that changes the functionality?  If not,
do that.



Tracy


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Rachel Maxim
*Sent:* Tuesday, January 09, 2007 12:49 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Drag and Drop within TileList - why does my code
copy instead of move?



Hello,

I would really appreciate another set of eyes taking a look at this code
to see what I'm doing wrong. I have several tile lists where tiles can be
dragged and dropped around. This code is pretty much straight out of the
docs plus a few rules, It's working fine except that the tiles are copying,
not moving as I want them to. Before I overrode the default drag-and-drop
functionality, they moved, but when I implemented my rules to ensure they
are being dragged to a list that accepts them, they started copying.

Thanks so much for any help!
Rachel Maxim

?xml version=1.0 encoding=utf-8?

mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml 
verticalScrollPolicy=auto
horizontalScrollPolicy=off

!-- component properties to identify this item for drag and drop
listeners --
mx:String id=userName{ data.userName}/mx:String

mx:Script
![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.List;
import mx.core.DragSource;
import mx.events.DragEvent;
import mx.managers.DragManager;
import mx.containers.Tile;
import mx.collections.IList;

//drag enter handler
private function doDragEnter(event:DragEvent):void {
//drag target - where item is being dragged
var dragInitiator:TileList = TileList(event.currentTarget
);
//dragged items
var items:Array = event.dragSource.dataForFormat(items)
as Array;
for (var i:uint = 0; i  items.length; i ++) {

var fromCaseName:String = items[i].caseName; //the
case name that the deal is being dragged from
var toCaseName:String = data.caseName; //the case name
that the deal is being dragged too
//check to ensure drop is allowed on this object
if (isDropAllowed(fromCaseName, toCaseName))
{
DragManager.acceptDragDrop(dragInitiator);
}
else
{
DragManager.NONE;
}
}
}

private function doDragOver(event:DragEvent):void
{
//dragged items
var items:Array = event.dragSource.dataForFormat(items)
as Array;
for (var i:uint = 0; i  items.length; i ++) {
var fromCaseName:String = items[i].caseName; //the
case name that the deal is being dragged from
var toCaseName:String = data.caseName; //the case name
that the deal is being dragged too

//check to ensure drop is allowed on this object
if (isDropAllowed(fromCaseName, toCaseName))
{
DragManager.showFeedback(DragManager.MOVE);
}
else
{
DragManager.showFeedback (DragManager.NONE);
}
}
}

//drop handler
private function doDragDrop(event:DragEvent):void {
//define the drop target
var dropTarget:TileList = TileList(event.currentTarget);
//dragged items
var items:Array = event.dragSource.dataForFormat(items)
as Array;
//get the drop location in the destination
var dropLoc:int = dropTarget.calculateDropIndex(event);

//loop over dragged items to get data from each
for (var i:uint = 0; i  items.length; i ++) {
trace(The deal  + items[i].caseID +   +
items[i].companyName +   + items[i].caseName +  was assigned to  +
userName); //debugging trace

//add to drop target
IList(dropTarget.dataProvider).addItemAt(items[i],
dropLoc);

trace(the deal was dropped at  +
dropTarget.dataProvider.getItemAt(dropLoc).caseName);
}
//once complete, dispatch the drag complete event
var dragComplete:Event = new Event('dragComplete',true);
this.dispatchEvent(dragComplete);
 

[flexcoders] RTE when using itemRenderers in DataGrid.

2007-01-09 Thread michael_ramirez44
I have been struggling with this issue for about 2 weeks. I was able 
to reproduce it in a small example. I add and remove an itemRenderer 
to a datagrid column at run-time. This only won't cause the RTE but I 
also set the datagrids dataProvider again which causes the error. You 
will need the Flash Player Debug version to actually see the error. 
You can view the example application at 
http://develop.gurufaction.com/flexbug/App.swf . I have also include 
the source with this post.

--- App.mxml ---
?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
creationComplete=initApp()
mx:Script
![CDATA[
import mx.collections.*;

public var renderer:ClassFactory;

public function initApp():void
{
loadData(10);
}

public function loadData(rows:uint):void
{
var gridData:ArrayCollection = new ArrayCollection();
for( var x:int = 0; x  rows; x++)
{
var vo:Object = new Object();
vo.fname = John ;
vo.lname = Doe;
vo.job = Programmer;
gridData.addItem(vo);
}

dg.dataProvider = gridData;
}

public function withRenderer():void
{
renderer = new ClassFactory(LinkRenderer);
fname.itemRenderer = renderer;
loadData(50);
}

public function withOutRenderer():void
{
fname.itemRenderer = null;
loadData(100);
}
]]
/mx:Script
mx:TextArea text=To reproduce bug click 'With Item Renderer' and 
then scroll datagrid! width=300/
mx:HBox
mx:Button id=wBtn click=withRenderer() label=With Item 
Renderer/ 
mx:Button id=woBtn click=withOutRenderer() label=WithOut Item 
Renderer/
/mx:HBox
mx:DataGrid id=dg width=300 height=400
mx:columns
mx:DataGridColumn id=fname dataField=fname 
headerText=Firstname /
mx:DataGridColumn id=lname dataField=lname 
headerText=Lastname /
mx:DataGridColumn id=job dataField=job headerText=Job 
Description /
/mx:columns
/mx:DataGrid
/mx:Application

--- LinkRenderer.mxml --
?xml version=1.0 encoding=utf-8?
mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100% 
height=100% horizontalAlign=left
mx:Script
![CDATA[

]]
/mx:Script
mx:LinkButton id=linkBtn label=John/
/mx:HBox 



[flexcoders] Re: 64-bit Integers

2007-01-09 Thread michael_ramirez44
--- In flexcoders@yahoogroups.com, adorritie [EMAIL PROTECTED] wrote:

 I didn't find a 64-bit integer datatype in the Flex docs and I would
 like to work with a SQL Server database that uses BIGINT (64-bit
 signed) datatype as a record identifier.  Is there a reason why Flex
 doesn't have a 64-bit int?  How have others worked around this 
limitation?
 
 Much thanks,
 
 Adam


Adam,

The 64-bit integer limitation is an Actionscript 3 limit not Flex. 
The Number data type uses the 64-bit double-precision format as 
specified by the IEEE Standard for Binary Floating-Point Arithmetic 
(IEEE-754). This standard dictates how floating point numbers are 
stored using the 64 available bits. One bit is used to designate 
whether the number is positive or negative. Eleven bits are used for 
the exponent, which is stored as base 2. The remaining 52 bits are 
used to store the significand (also called the mantissa), which is 
the number that is raised to the power indicated by the exponent.

Michael 



[flexcoders] [Cairngorm] Command calling another command

2007-01-09 Thread Collin Peters
I don't see any Cairngorm specific mailing lists so I will post my
question here as I have seen some Cairngorm traffic

I am wondering if it is considered a good practice to call one command
from another.  This allows me to define a sequence of events, and also
to abstract the functionality of a certain feature to allow it to be
called from other places.  It all sounds good to me but I am wondering
if there are any reasons not to do this, or if there is another best
practice.

-- 
Collin Peters
Lead Software Developer
InTouch Technology


Re: [flexcoders] FLEX 2 FDS Hibernate Help

2007-01-09 Thread Carlos Rovira

Hope that helps... I'd personally like to see a little more Hibernate 
Flex information out there. It's a powerful combination.

I suggest to explore the following combo: FDS2 + Spring + JPA/EJB3
(Hibernate, Toplink,...), it's really a powerful combo!!
I'm really loving it :)


--
::| Carlos Rovira
::| http://www.carlosrovira.com
::| http://www.madeinflex.com


[flexcoders] Dispatching an Event from a Class

2007-01-09 Thread Mike Anderson
Hello All,

I am attempting to dispatch an Event from a generic Class File, and I
guess I'm not doing it correctly.

I was hoping, that I could simply do this:

import mx.events.IEventDispatcher

And then in my function, I could simply dispatch the event like this:

IEventDispatcher.dispatchEvent( event );

But it doesn't allow me to do this.  In the meantime, I extended my
Class to use the UIComponent, which automatically pulls in all the
EventDispatcher stuff.  Of course, it's silly for me to do this, since I
really don't have a need to extend the UIComponent class.

There must be a way, to import the proper Class, in order to simply
dispatch events.

Any advice?

Thanks in advance for your help,

Mike


[flexcoders] Text in a grid?

2007-01-09 Thread chuvakgu
(The grid I mean here is not DataGrid or a flex component;
I mean like on a graphing paper).

In other words, I want to present a text (like in a text area)
with an ability to draw arbitrary vertical lines in it.
That's easy - but I want to do it so that they go 
exactly between characters. Any ideas?



RE: [flexcoders] FABridge

2007-01-09 Thread David Mendels
Hi,
 
expect a new build on labs very soon (within a week it is expected, but
not guaranteed.)
 
-David



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of john_69_11
Sent: Tuesday, January 09, 2007 11:38 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FABridge



Is anyone else out there using FABridge? I'm testing it out on Safari
and getting js errors, has anyone else ran into this and possible
solutions? The exception I get is:

Value undefined (result of expression this.target.getRoot) is not
object.
FABridge.js, line 191

If I could get any help at all with this I would really apprechiate it.

-John



 


  1   2   >