RE: [flexcoders] Re: Vector graphics serialization format?

2007-09-25 Thread Jason Hawryluk
We are hoping to have a beta for Degrafa around the end of Oct. This
framework will do what your looking to do.

http://www.degrafa.com

cheers

jason



  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Borek
  Envoyé : mardi 25 septembre 2007 15:28
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Re: Vector graphics serialization format?


  Or thermo :) We shall see...

  --- In flexcoders@yahoogroups.com, "Daniel Cascais"
  <[EMAIL PROTECTED]> wrote:
  >
  > The closest to what you want is embedding SVG files.
  >
  > On 9/18/07, Borek <[EMAIL PROTECTED]> wrote:
  > >
  > > Hi all, is there some Flex-supported format for vector graphics
  > > serialization? I mean, I can use something like
  > >
  > > graphics.drawRect(1,2,3,4);
  > > graphics.drawEllipse(...);
  > > // etc.
  > >
  > > while I would appreciate something like
  > >
  > >  etc.
  > >
  > > It would seems logical to me to have this kind of declarative
  > > description rather than imperative method calls when the task -
  > > creating user interface - is practically the same as when creating
  > > containers and controls.
  > >
  > > Thanks,
  > > Borek
  > >
  > >
  > >
  >



  


RE: [flexcoders] Tree leafnodeicon

2007-06-04 Thread Jason Hawryluk
Have a look at the iconFunction

jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Christopher Olsen
  Envoyé : lundi 4 juin 2007 15:14
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Tree leafnodeicon


  Hello,

  What's the best way to dynamically control a leafnodeicon?

  I have my tree bound to xml variable inside the xml i have an property
  @online and i want if online = 1 the leafnode is one icon and if online
  = 0 the leafnode is a different icon

  -Christopher



  


RE: [flexcoders] Liquid layout with ActionScript instead of "%" values in MXML

2007-05-20 Thread Jason Hawryluk
Have a look at percentWidth, and percentHeight i think this might be what
your looking for.

jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de keith
  Envoyé : lundi 21 mai 2007 08:24
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Liquid layout with ActionScript instead of "%" values
in MXML


  QUESTION:
  Using MXML you can set width and height with percent values.
  How do I do this with ActionScript only?

  WHY:
  Because I'm dynamically generating a Form, filled with nested HBoxes and
  Vboxes containing InputFields, Buttons that I want to stretch as
  as the Form's container changes dimensions at times.

  Hope there is an elegant way.
  Thanks,

  -- Keith H --



  


RE: [flexcoders] Sliding HDividedBox

2007-04-24 Thread Jason Hawryluk
The below will get you well on your way.

http://flexibleexperiments.wordpress.com/2007/01/18/extending-the-flex-20-di
videdbox/


cheers

jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Flexing...
  Envoye : lundi 23 avril 2007 18:22
  A : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Sliding HDividedBox


  right.
  but I would like to add an icon to the divider and enable this
  functionality on the click of that icon.
  I am not sure how to customize the divider.
  Any pointer would be helpful.

  Thanks
  On Apr 23, 2007, at 8:29 PM, Tom Chiverton wrote:

  > On Monday 23 Apr 2007, Flexing... wrote:
  >> Has anyone created a Sliding HDividedBox i.e.
  >> HDividedBox in which when a use clicks on the Divider, it slides and
  >> hides the left container.
  >
  > All you need to do is fire an effect to animate the width to 0,
  > isn't it ?
  >
  > --
  > Tom Chiverton
  > Helping to elementarily target eigth-generation experiences
  > on: http://thefalken.livejournal.com
  >
  > 
  >
  > This email is sent for and on behalf of Halliwells LLP.
  >
  > Halliwells LLP is a limited liability partnership registered in
  > England and Wales under registered number OC307980 whose registered
  > office address is at St James's Court Brown Street Manchester M2
  > 2JF. A list of members is available for inspection at the
  > registered office. Any reference to a partner in relation to
  > Halliwells LLP means a member of Halliwells LLP. Regulated by the
  > Law Society.
  >
  > CONFIDENTIALITY
  >
  > This email is intended only for the use of the addressee named
  > above and may be confidential or legally privileged. If you are
  > not the addressee you must not read it and must not use any
  > information contained in nor copy it nor inform any person other
  > than Halliwells LLP or the addressee of its existence or contents.
  > If you have received this email in error please delete it and
  > notify Halliwells LLP IT Department on 0870 365 8008.
  >
  > For more information about Halliwells LLP visit www.halliwells.com.
  >
  >
  >
  > --
  > Flexcoders Mailing List
  > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  > Search Archives: http://www.mail-archive.com/flexcoders%
  > 40yahoogroups.com
  > Yahoo! Groups Links
  >
  >
  >



  


RE: [flexcoders] Re: Datagrid Button Renderer Performance

2007-03-16 Thread Jason Hawryluk
"I haven't changed it as it works and I have plenty of other stuff to
be getting on with!"

Is this the response that we should all expect from someone asking
questions? I took time out of *my* day to lend a helping hand. So that you
might learn from my experience. I pointed out something that did not make
sense to me.



Your response of “ it works and I have plenty of other stuff to be getting
on with!” is interesting, in the fact that I have other things to be getting
on with as well.

cheers.

jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de durnelln
  Envoyé : vendredi 16 mars 2007 13:40
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Re: Datagrid Button Renderer Performance


  --- In flexcoders@yahoogroups.com, "Jason Hawryluk" <[EMAIL PROTECTED]> wrote:
  >
  > Personally I have a huge preference for AS only itemrenderers
  however that
  > said, at first glance I would ask why are you adding a event
  listener when
  > the button has this built in?

  My button renderer listens for the click event and then dispatches a
  custom event containing the row data and the renderer's configured
  action string. I guess there could be a cleaner way of doing this
  (overrinding the button's clickHandler method?) but I must admit that
  I haven't changed it as it works and I have plenty of other stuff to
  be getting on with!

  > As for the updateDisplayList, I suggest you read up on what it's
  for and
  > just how important it is…

  I understand what updateDisplayList does. I am simply confused as to
  why all the button renderers are being continually redrawn when their
  size, position and visual appearance haven't changed!

  Nick.



  


RE: [flexcoders] Re: Funny appearance of TabNavigator icons

2007-03-16 Thread Jason Hawryluk
Can you be more specific.



Are you creating this in as/mxml?



Are the tabs being added at runtime?



Are the icons being assigned at runtime?



Etc..



Difficult to assist if we have no idea what might have led to this display?



Providing code helps.



jason



  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Danko Kozar
  Envoyé : vendredi 16 mars 2007 12:39
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Re: Funny appearance of TabNavigator icons


  I forgot to mention that the TabNavigator appears inside the
  TitleWindow..

  --- In flexcoders@yahoogroups.com, "Danko Kozar" <[EMAIL PROTECTED]>
  wrote:
  >
  > I really need help with this one.
  >
  > My tab navigator has icons that render on wrong positions.
  > Please look at this image:
  >
  > http://www.dkozar.com/images/bugs/tab_icons_1.gif
  >
  > After I mouse-over over the tab(s), the icon position is (magically)
  > fixed:
  >
  > http://www.dkozar.com/images/bugs/tab_icons_2.gif
  > http://www.dkozar.com/images/bugs/tab_icons_3.gif
  >
  > What's going on?
  >



  


RE: [flexcoders] Datagrid Button Renderer Performance

2007-03-16 Thread Jason Hawryluk
Personally I have a huge preference for AS only itemrenderers however that
said, at first glance I would ask why are you adding a event listener when
the button has this built in?



http://www.adobe.com/2006/mxml";
initialize="init();">

Take note of the (click="onClick(event);") above.

As for the updateDisplayList, I suggest you read up on what it’s for and
just how important it is…


jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de durnelln
  Envoyé : vendredi 16 mars 2007 11:22
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Datagrid Button Renderer Performance


  Hi all,

  I have a simple button renderer (below) which I use in my datagrids.
  All seemed fine but I now have four of these button renderers in each
  row of my datagrid(s) and performance starts to suffer when there are
  many rows on display at once (my app can easily have a hundred or
  more rows on display in various datagrids).

  I've noticed that when a row's data changes, the updateDisplayList
  function is called on every button renderer in that row. Does anyone
  know why this is or how I can stop it happening? The row data does
  not affect the visual appearance of the button so there is no need to
  redraw it every time the row data changes. I'm thinking this
  constant redrawing of the buttons might be the cause of the
  performance issues as I could quite easily have, say, 400 button
  renderers on screen at once and the row data changes quite frequently.

  Any ideas?

  This is my button renderer:

  
  http://www.adobe.com/2006/mxml"; initialize="init
  ();">
  
  
  
  

  Thanks,

  Nick.



  


RE: [flexcoders] Re: Are other developers hesitant to extend existing classes in Flex?

2007-03-12 Thread Jason Hawryluk
Gordon,

True that their have been times I was required to use the stopPropagation's
as well but for the question at hand it did the job. I find it quite rare
that I need to use either, however sometimes you just can’t let the event
bubble or get through.

Sean,



Wow. That could put you in a pickle at a later date.



If it's not top secret, what were some of the requirements/problems that
drove the decision to do this?

jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Sean Sell
  Envoyé : vendredi 9 mars 2007 21:12
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Re: Are other developers hesitant to extend
existing classes in Flex?



  I would like to chime in on this as well. I have practically re-written
the form classes to make them implement our "standard look and feel" all of
this should have been able to be done via sub-classing but SO MANY private
variables and functions prevented it, I basically copied and recreated all
the form classes for our application what w waist, can't wait to try to
update this stuff with the next version just updating them to have the hooks
for automation (Flex 2.0.1) has me concerned.


  - Original Message 
  From: Gordon Smith <[EMAIL PROTECTED]>
  To: flexcoders@yahoogroups.com
  Sent: Friday, March 9, 2007 1:50:14 PM
  Subject: RE: [flexcoders] Re: Are other developers hesitant to extend
existing classes in Flex?



  Actually, preventDefault( ) does NOT prevent other listeners from
executing; this is what stopPropagation( ) and stopImmediatePropag ation()
do.

  preventDefault( ) simply sets the flag returned by isDefaultPrevented( )
to be true. However, some event-dispatching code in the Player or the
framework is written like this (and you can do the same thing in your apps):

  dispatchEvent( event);
  if (!event.isDefaultPr evented() )
  doSomethingByDefaul t();

  So calling preventDefault( ) prevents doSomethingByDefaul t() from being
executed. But doSomethingByDefaul t() is not a listener.

  - Gordon




--
  From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On
Behalf Of Danko Kozar
  Sent: Friday, March 09, 2007 1:52 AM
  To: [EMAIL PROTECTED] ups.com
  Subject: [flexcoders] Re: Are other developers hesitant to extend existing
classes in Flex?


  Jason, this was an eye-opener!
  Till now I didn't realize that an event listener can cancel another
  listeners. But the "preventDefault( )" method of the Event class does
  exactly that.

  This is the way I should go with a PagableGrid.

  Thanks!

  --- In [EMAIL PROTECTED] ups.com, "Jason Hawryluk" <[EMAIL PROTECTED]> wrote:
  >
  > As a follow up to the last response, take note of the
  > event.preventDefaul t(); in the handler for HEADER_RELEASE, and the
  fact that
  > I don't do a refresh on the ListCollectionView after adding the
  >
  > sort to it.
  >
  > jason
  >
  >
  >
  >
  >
  > -Message d'origine--- --
  > De : [EMAIL PROTECTED] ups.com
  [mailto:[EMAIL PROTECTED] ups.com]De la
  > part de Danko Kozar
  > Envoyé : jeudi 8 mars 2007 11:48
  > À : [EMAIL PROTECTED] ups.com
  > Objet : [flexcoders] Re: Are other developers hesitant to extend
  existing
  > classes in Flex?
  >
  >
  > Private methods and variables drive me nuts..
  >
  > For example, I'd like to make a simple DataGrid change: make
  headers
  > clickable without refreshing the grid (just toggle a sort icon).
  > (I need this behaviour because I'd like to have a paging DataGrid
  > which only propagates the sort column/direction info to a record-
  > feching routine on a server)
  >
  > So, I try to remove a "collection. refresh() ;" line from
  > the "sortByColumn( )" function, but I can't - because it's
  private.
  >
  > Then, I try to make a new function called "sortByColumn2"
  (that's a
  > copy of the first one, but without "refresh" stuff) and alter
  > the "headerReleaseHandl er" which calls it, but I can't - cause
  it's
  > private.
  >
  > And finally, I am trying to add the following code to the
  > constructor (yes, the constructor is public, huh.. :-))
  > to "neutralize" the event listener:
  >
  > removeEventListener (DataGridEvent. HEADER_RELEASE,
  > headerReleaseHandle r,
  > false, EventPriority. DEFAULT_HANDLER) ;
  >
  > ... but I can't cause "headerReleaseHandl er" is private and
  can't be
  > seen from a subclass!
  >
  > And then, I give up.. :-)
  >
  > My conclussion is that Flex framework classes are not extensible
  > enough and I really can't see a reason.

RE: [flexcoders] Re: Are other developers hesitant to extend existing classes in Flex?

2007-03-08 Thread Jason Hawryluk
As a follow up to the last response, take note of the
event.preventDefault(); in the handler for HEADER_RELEASE, and the fact that
I don't do a refresh on the ListCollectionView after adding the

sort to it.

jason





  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Danko Kozar
  Envoyé : jeudi 8 mars 2007 11:48
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Re: Are other developers hesitant to extend existing
classes in Flex?


  Private methods and variables drive me nuts..

  For example, I'd like to make a simple DataGrid change: make headers
  clickable without refreshing the grid (just toggle a sort icon).
  (I need this behaviour because I'd like to have a paging DataGrid
  which only propagates the sort column/direction info to a record-
  feching routine on a server)

  So, I try to remove a "collection.refresh();" line from
  the "sortByColumn()" function, but I can't - because it's private.

  Then, I try to make a new function called "sortByColumn2" (that's a
  copy of the first one, but without "refresh" stuff) and alter
  the "headerReleaseHandler" which calls it, but I can't - cause it's
  private.

  And finally, I am trying to add the following code to the
  constructor (yes, the constructor is public, huh.. :-))
  to "neutralize" the event listener:

  removeEventListener(DataGridEvent.HEADER_RELEASE,
  headerReleaseHandler,
  false, EventPriority.DEFAULT_HANDLER);

  ... but I can't cause "headerReleaseHandler" is private and can't be
  seen from a subclass!

  And then, I give up.. :-)

  My conclussion is that Flex framework classes are not extensible
  enough and I really can't see a reason.
  Copying the whole DataGrid class and it's renderer, style, etc.
  classes isn't a solution, we all agree. If not other reason - it's
  not the OOP way.

  So, I'm tempted to go to a "C:\Program Files\Adobe\Flex Builder 2
  \Flex SDK 2\frameworks\source\mx\" folder and make a global search
  and replace on all files in this folder. You guess...
  replace "private" with "protected"... :-)

  --- In flexcoders@yahoogroups.com, "Dana Gutride" <[EMAIL PROTECTED]>
  wrote:
  >
  > Recently on this list, somebody said that the Flex framework team
  has been
  > surprised at the resistance many developers have to subclassing
  and they'd
  > like to understand it better. I'd like to put my 2 cents into this
  > discussion because maybe we can come up with some good answers.
  >
  > I think the ability to extend the existing framework is fabulous,
  but I find
  > that I am hesitant to subclass or extend the existing classes.
  Recently, I
  > spent several days trying to override the placeSortArrow function
  on the
  > datagrid. I ended up ditching my code because there were so many
  private
  > variables used by the existing placeSortArrow() function that I
  would need
  > to rewrite most of the datagrid.as file.
  >
  > I've bought books and searched online for answers, but I haven't
  found
  > anything satisfactory yet. Maybe if there were more resources
  (even if we
  > had to pay for them), we would find more developers extending the
  flex
  > framework.
  >
  > Dana
  >



  


RE: [flexcoders] Re: Are other developers hesitant to extend existing classes in Flex?

2007-03-08 Thread Jason Hawryluk
Danko,



See below extended datagrid and sample application to do what you want. I
realize it’s frustrating when you need to do things only to find yourself
blocked in the obvious way; but there is definitely more then one way to
skin a cat (so to speak).



I’m sure future versions of the flex framework will allow a more elegant
solutions for the day to day problems we are faced with. I too often find my
self perplexed at the reasoning to privatize certain functions and
properties; but more often then not, a work around can be found that does
not require one to rewrite the base components.



Frustration is part of the learning process. Things that seem obvious are
not always so.



Anyway, I hope the below code and sample set you on your way to
accomplishing your task.



cheers



jason

Here is the application code:


http://www.adobe.com/2006/mxml"; layout="absolute"
xmlns:com="com.*">

 
  
 
 
 
 
 
 
 
 
   
   
 
  
   



  
 



Here is the extended grid (place in a folder called com)

package com
{
 import mx.controls.DataGrid;
 import mx.events.DataGridEvent;
 import mx.collections.ListCollectionView;
 import mx.controls.dataGridClasses.DataGridColumn;
 import mx.collections.Sort;
 import mx.collections.SortField;

 public class DataGridEX extends DataGrid
 {

  private var collectioView:ListCollectionView;

  public function DataGridEX()
  {
   super();
   addEventListener(DataGridEvent.HEADER_RELEASE,handleSort);
  }



  private function handleSort(event:DataGridEvent):void{

   //don't let the normal sort go through
   event.preventDefault();

   var sort:Sort = new Sort();

   //get the column clicked
   var currentCol:DataGridColumn = DataGridColumn(event.itemRenderer.data);

   //reverse the current sort
   currentCol.sortDescending = !currentCol.sortDescending;

   //add the new sort to the collection so the grid can use it
   //to update the header display
   sort.fields = [new SortField(currentCol.dataField,
true,currentCol.sortDescending)];
  collectioView.sort = sort;

   //reset the colums array for our sort arrow display
   //to take effect
   columns = columns;

  }

  /**
  * override the setting of the dataprovider so we can get a
  * local listcollection set up
  **/
  override public function get dataProvider():Object
  {
   return super.dataProvider;
  }
 override public function set dataProvider(value:Object):void
 {
  super.dataProvider = value;
  collectioView = ListCollectionView(value);

 }

 }
}


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Danko Kozar
  Envoyé : jeudi 8 mars 2007 11:48
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Re: Are other developers hesitant to extend existing
classes in Flex?


  Private methods and variables drive me nuts..

  For example, I'd like to make a simple DataGrid change: make headers
  clickable without refreshing the grid (just toggle a sort icon).
  (I need this behaviour because I'd like to have a paging DataGrid
  which only propagates the sort column/direction info to a record-
  feching routine on a server)

  So, I try to remove a "collection.refresh();" line from
  the "sortByColumn()" function, but I can't - because it's private.

  Then, I try to make a new function called "sortByColumn2" (that's a
  copy of the first one, but without "refresh" stuff) and alter
  the "headerReleaseHandler" which calls it, but I can't - cause it's
  private.

  And finally, I am trying to add the following code to the
  constructor (yes, the constructor is public, huh.. :-))
  to "neutralize" the event listener:

  removeEventListener(DataGridEvent.HEADER_RELEASE,
  headerReleaseHandler,
  false, EventPriority.DEFAULT_HANDLER);

  ... but I can't cause "headerReleaseHandler" is private and can't be
  seen from a subclass!

  And then, I give up.. :-)

  My conclussion is that Flex framework classes are not extensible
  enough and I really can't see a reason.
  Copying the whole DataGrid class and it's renderer, style, etc.
  classes isn't a solution, we all agree. If not other reason - it's
  not the OOP way.

  So, I'm tempted to go to a "C:\Program Files\Adobe\Flex Builder 2
  \Flex SDK 2\frameworks\source\mx\" folder and make a global search
  and replace on all files in this folder. You guess...
  replace "private" with "protected"... :-)

  --- In flexcoders@yahoogroups.com, "Dana Gutride" <[EMAIL PROTECTED]>
  wrote:
  >
  > Recently on this list, somebody said that the Flex framework team
  has been
  > surprised at the resistance many developers have to subclassing
  and they'd
  > like to understand it better. I'd like to put my 2 cents into this
  > discussion because maybe we can come up with some good answers.
  >
  > I think the ability to extend the existing framework is fabulous,
  but I find
  > that I am hesitant to subclass o

RE: [flexcoders] DB access in Apollo

2007-03-07 Thread Jason Hawryluk
I think that if we could talk to a dll (Mac equivalent, Linux equivalent)
like via a local remote call type thing, then that would be the ultimate. I
don't think distributing the dll (etc..) would be a big deal. With that you'
d basically use any DB you like. Plus allot of other crazy stuff you could
do.

Anyway, guess we'll have to wait and see :°

jason

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Tom Chiverton
Envoyé : mercredi 7 mars 2007 17:18
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] DB access in Apollo


On Wednesday 07 Mar 2007, hank williams wrote:
> +1 sqlite. MySQL is impractical to put on everyones computer in the
> country.

Depends how it works.
Maybe there's an

tag, with a 'type' parameter :-)

--
Tom Chiverton
Helping to proactively lead leading-edge supply-chains
On: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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



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









 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

<*> 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] DB access in Apollo

2007-03-07 Thread Jason Hawryluk
My bad, there is an embedded version of MySQL.

Still think SQLLite is the best contender here.

jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Jason Hawryluk
  Envoye : mercredi 7 mars 2007 09:31
  A : flexcoders@yahoogroups.com
  Objet : RE: [flexcoders] DB access in Apollo



  +5 fro Sqlite absolutely. Why MySQL? It's a server product not a embedded
db.

  jason



-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Muzak
Envoye : mercredi 7 mars 2007 00:12
A : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] DB access in Apollo


SQLite ;-)
http://www.sqlite.org/

- Original Message -
From: "Russell Sprague" <[EMAIL PROTECTED]>
To: 
Sent: Monday, March 05, 2007 5:09 PM
Subject: Re: [flexcoders] DB access in Apollo

>I vote for MySQL.
>




  


RE: [flexcoders] DB access in Apollo

2007-03-07 Thread Jason Hawryluk
+5 fro Sqlite absolutely. Why MySQL? It's a server product not a embedded
db.

jason



  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Muzak
  Envoye : mercredi 7 mars 2007 00:12
  A : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] DB access in Apollo


  SQLite ;-)
  http://www.sqlite.org/

  - Original Message -
  From: "Russell Sprague" <[EMAIL PROTECTED]>
  To: 
  Sent: Monday, March 05, 2007 5:09 PM
  Subject: Re: [flexcoders] DB access in Apollo

  >I vote for MySQL.
  >



  


RE: [flexcoders] disabling COPY in drag/drop operations

2007-02-27 Thread Jason Hawryluk
Create a dragStart event and

if (event.altKey==true){
event.preventDefault();
return;
}

un tested but should get you on the right track...

jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de darvon4u
  Envoyé : lundi 26 février 2007 22:16
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] disabling COPY in drag/drop operations


  Hi everybody,

  Here is an interesting issue. We have a datagrid where the user should
  be able to reorder items by dragging/dropping. everything is nice an
  easy, except when they hold "ctrl" it copies and messed up the whole
  list :(

  I have tried to add the dragover and etc event handlers and set
  "event.ctrlKey = false" in there, but it does nothing.

  Can somebody recommend something? this is one of those things that
  should be really easy but it is not. it is easy to disable move
  operation, but i want to do the opposite and force move while
  disabling copy. anybody?

  Thanks!



  


RE: [flexcoders] Re: Gordon Smith - Some Answers about the Datagrid

2007-02-21 Thread Jason Hawryluk
I think the community will play a large part in this as well as professional
component development companies. I’m sure as time goes on well have a RAD
set of components that you can drop in and run.



I’m working on a bunch of free stuff as well and would love to hear other
ideas for interesting components that make sense to the developer coming
from a VB/.net type background. Unfortunately I have limited time to
dedicate to it as my own work and family life take precedence.



I feel though it may be harder for developers coming from a VB background
that are used to having a plethora of ready available and affordable
components at their disposal; but are not up to speed on the object oriented
development methodologies nor have skill sets required to really rapidly
grasp the whole extend the framework type development.



I know of at least one professional developer about ready to release a very
interesting package for Flex. I’m not sure how the 3rd party eco system for
Flex is shaping up, but I’d have to imagine that things are being worked on.



In any case I think the best thing for Flex at this stage is for component
developers 3rd party and experts to concentrate on the meat and potatoes and
leave the gravy for later.



Flex is still very young, it took VB et all until version 3.0 to really get
a good eco system built up. Rome wasn’t built in a day.



Oh and to me, *extensibility* is key for Flex's future.



Jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de boy_trike
  Envoyé : mercredi 21 février 2007 17:24
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Re: Gordon Smith - Some Answers about the Datagrid


  --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
  >
  How many of you would prefer
  > we make things more RAD capable at the potential expense of
  > extensibility? Are you willing to make a tradeoff? I know the answer
  > you really have is "both," but if you had to make a choice would you
  > tell us to go down the RAD path?

  Matt, You have already seen my posts and therefore opinion on this, but
please realize that
  while you sell a tool for building a Rich Internet Application, there seem
to be two different
  users who see this from a different perspective.
  One sees your tool being used for *** RICH *** internet applications
  and the other sees your tool perfect for rich internet *** APPLICATIONS
***

  Good luck juggling the product to keep both camps happy

  Bruce



  


RE: [flexcoders] Intellectual property or licensing of posted/blogged work

2007-02-06 Thread Jason Hawryluk
It's rather late here, so I’ll update all source and posts with a proper
license or something similar tomorrow. Thanks for the input Daniel it’s
cleared some things up. I want people to be safe using it, at the same time
I want to of course protect myself from liabilities.



jason




  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Daniel Freiman
  Envoyé : mardi 6 février 2007 23:51
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Intellectual property or licensing of
posted/blogged work


  As for copyrights vs. licenses

  If you own the code (which if you wrote it you probably do), then you own
the copyright.  A license is simply giving someone permission (limited or
otherwise) to use the copyrighted material.  If you give the copyright to
the public domain, then no one owns the copyright and thus there is no
reason why someone would have to license the copyrighted material.

  As far as practices and standards for people like us, we can talk the
issue into the ground on what we want, but the bottom line is that if
there's no licensing statement with the code, people aren't safe using it
(legally speaking).  If you want to be nice, include one.  If you're
paranoid, email the author.  Lastly, you don't need to be a lawyer to write
a license, especially if it's really simple.  For example, if you want to
let people use code as they see fit, simply state in plain English (or any
other language for that matter) something like "You can use this for
anything" or "I give this to the public domain."  If you're paranoid you
could include, "I am not responsible for any harm this code does to your
computer."  Done and done, no lawyer or standard needed.

  Lastly, if you're employed by a company you might not have the right to
give the copyright or licenses because (usually) anything you write on
company time is owned by the company.  (Don't ask me to define "on company
time.")  This is sometimes also true for freelance work, but not usually.

  Personally, I'd say look for the licenses, state what you want your code
used for in layman's terms or use a standard, and email the author if you're
confused.

  - Dan



  On 2/6/07, Jason Hawryluk < [EMAIL PROTECTED]> wrote:

I willing to do that creative commons license if it makes people feel
more comfortable. I'll have a look and see what's involved.



I fully understand the requirement to protect yourself. Very good topic
that I have to date just taken for granted. I just always assumed that if I
put it out there it's yours to do with as you wish.



I'd hate for people *not* to use this stuff for these kinds of reasons,
it goes against why I write about it in the first place.



Jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED]
la part de engkee
  Envoyé : mardi 6 février 2007 21:31
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Intellectual property or licensing of
posted/blogged work


  I have to commend you all for posting a lot of wonderful components
  and extensions to Flex... eg. Ely's calendar, Doug and Jason's tab
  navigator extensions, Ben and Trey's reflection effect, Alex's
  distortion effect, just to name a few.

  Unfortunately, in these day and age, I would have to ask... am I
  allowed to incorporate those wonderful works in commercial products?
  Am I even allowed to look at the source code, if I work for a company
  producing commercial software, without violating some IP issues.

  Most of them are not explicitly associated with any specific
  licensing terms.

  Sure would be nice if there could be some standard practice of
  associating these works with a common license, eg. the Creative
  Commons (http://creativecommons.org/licenses/by/2.5/)

  Maybe there already is some presumed license or disclaimer
  for "published" works. If so, please send a pointer.

  Just a thought.

  -Engkee







  


RE: [flexcoders] Intellectual property or licensing of posted/blogged work

2007-02-06 Thread Jason Hawryluk
I willing to do that creative commons license if it makes people feel more
comfortable. I’ll have a look and see what's involved.



I fully understand the requirement to protect yourself. Very good topic that
I have to date just taken for granted. I just always assumed that if I put
it out there it’s yours to do with as you wish.



I’d hate for people *not* to use this stuff for these kinds of reasons, it
goes against why I write about it in the first place.



Jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de engkee
  Envoyé : mardi 6 février 2007 21:31
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Intellectual property or licensing of posted/blogged
work


  I have to commend you all for posting a lot of wonderful components
  and extensions to Flex... eg. Ely's calendar, Doug and Jason's tab
  navigator extensions, Ben and Trey's reflection effect, Alex's
  distortion effect, just to name a few.

  Unfortunately, in these day and age, I would have to ask... am I
  allowed to incorporate those wonderful works in commercial products?
  Am I even allowed to look at the source code, if I work for a company
  producing commercial software, without violating some IP issues.

  Most of them are not explicitly associated with any specific
  licensing terms.

  Sure would be nice if there could be some standard practice of
  associating these works with a common license, eg. the Creative
  Commons (http://creativecommons.org/licenses/by/2.5/)

  Maybe there already is some presumed license or disclaimer
  for "published" works. If so, please send a pointer.

  Just a thought.

  -Engkee



  


RE: [flexcoders] Intellectual property or licensing of posted/blogged work

2007-02-06 Thread Jason Hawryluk
"So for me personally, if there's no licensing information in my code that
means I don't care what you do. If I don't want you to use the source code I
won't release it."

You can count the same for me. If I post it with source there is no
obligation unless specifically stated otherwise. That is at least in my
mind. However if some of you folks would like to see a more formal process
for this stuff I’m willing to adhere as long as it’s not to laborious.



Keep in mind I certainly appreciate the asking, as it allows us to know that
what we contribute, is valuable to the community.



Jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Doug McCune
  Envoyé : mardi 6 février 2007 22:33
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Intellectual property or licensing of
posted/blogged work


  I'd be interested in what a more legal understanding is, but for anything
that I post that includes source code, it's my understanding that you can go
and do whatever you want with it. Include it in other products, yadda yadda.
Basically if I don't include licensing terms I'm giving you whatever terms
you want. If you went and sold my code I'd be pissed and I'd try to go
directly to whoever you sold it to and tell them that it's free. But if you
use my code in some commercial project, more power to you.

  This probably isn't the "correct" way of viewing it, and it's more likely
closer to the "if I don't include a license then it's still protected" model
in some way or another. But often I'm too lazy to include a licensing block,
or more accurately, I'm too lazy to go out and research what the right
license is for "give this code away".

  So for me personally, if there's no licensing information in my code that
means I don't care what you do. If I don't want you to use the source code I
won't release it.

  Doug




  engkee wrote:

I have to commend you all for posting a lot of wonderful components
and extensions to Flex... eg. Ely's calendar, Doug and Jason's tab
navigator extensions, Ben and Trey's reflection effect, Alex's
distortion effect, just to name a few.

Unfortunately, in these day and age, I would have to ask... am I
allowed to incorporate those wonderful works in commercial products?
Am I even allowed to look at the source code, if I work for a company
producing commercial software, without violating some IP issues.

Most of them are not explicitly associated with any specific
licensing terms.

Sure would be nice if there could be some standard practice of
associating these works with a common license, eg. the Creative
Commons (http://creativecommons.org/licenses/by/2.5/)

Maybe there already is some presumed license or disclaimer
for "published" works. If so, please send a pointer.

Just a thought.

-Engkee






  


RE: [flexcoders] Apollo features

2007-02-06 Thread Jason Hawryluk
"embedded database" is a type of database destined for real time systems.
They can also be embedded in a .net program for example. When I mentioned
"embedded database" I was referring to the type. Typically they don't have
any server requirements unlike common RDMS (SQL Server, Oracle etc..).

All you require is the dll (as is the case for sqlite on windows) and are
usually platform independent.

I had mentioned it as they are an ideal choice for offline/disconnected data
storage. Giving you the power of a database without all the baggage that
comes with typical databases.

Just wanted to clear that up for everyone. I have no idea of the inner
workings of the Apollo product with regards to data storage or formats. or
anything else about it for that matter. Hoping to get on beta though ;)

Cheers

Jason

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Tom Chiverton
Envoyé : mardi 6 février 2007 11:27
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Apollo features


On Monday 05 Feb 2007, Mike Chambers wrote:
> Apollo offers one or more offline data stores.

So does Flash - with SharedObject.
I believe the question was about an embedded database, i.e. can talk SQL.

--
Tom Chiverton
Helping to vitalistically promote sexy architectures



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









--
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] Help Extending TabNavigator/ButtonBar

2007-02-06 Thread Jason Hawryluk
Bump...

My version is now up with source for those that wish to have a look.

http://flexibleexperiments.wordpress.com/2007/02/05/flex-201-extending-the-t
ab-navigator/

Enjoy.

Jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Doug McCune
  Envoyé : mardi 23 janvier 2007 09:45
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Help Extending TabNavigator/ButtonBar


  I know Jason said he's going to be releasing a new TabNavigator component,
but I couldn't resist trying my hand at it.

  Here's my enhanced TabNavigator:
http://dougmccune.com/blog/2007/01/23/the-quest-for-the-perfect-tabnavigator
/

  It uses existing code for closeable and draggable tabs, and adds in
functionality for scrolling tabs if there are too many, and also displaying
the drop-down list on the right side. No source code yet, but that will come
in another day or two after I clean it up a bit.

  Jason, I'll be interested to see how you approach it...


  Ciarán wrote:

Thanks Jason, would be a great help. Just subscribed to the feed. =)

-Ciarán

On 1/22/07, Jason Hawryluk <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I'm working on a blog post for something similar, but more toward the
way flex builder does it with a drop down at the end. Plus a bunch of other
goodies. ;)
>
>
>
> I may have it up this week, need to finish this current post first,
plus do some paying work. :)
>
>
>
> I'll also provide source.
>
>
>
> jason
>





  


RE: [flexcoders] Apollo features

2007-02-05 Thread Jason Hawryluk
I think all the speculation is based off of the fact that it's an exciting
product concept. Apollo will/could create a diverse set of new opportunities
for us all. The x features we request multiply those opportunities
significantly.



Many users are still disconnected. Nomad users are still common place. Most
sales people are getting out o the road in order to create opportunities as
opposed to staying in the office. Few rural areas are 100% covered by high
speed (wifi,gprs,gsm,3G) access. The concept of disconnected apps is
becoming more and more intriguing for business and the demands for such apps
more and more numerous.



The prospect of using an embedded db like sqlite(open source, cross platform
dll) to store data, Apollo being able to natively exploit that data directly
on the client when disconnected, and update the central data store when
connected; is one simple but enormous opportunity.



However if we can't talk to the dll from Apollo directly we need to create a
proxy exe to do it. This introduces more code to create, maintain, and
distribute.



I'm seriously hoping that Apollo is not just for partially disconnected
applications.

jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Jeffry Houser
  Envoye : samedi 3 fevrier 2007 17:15
  A : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Apollo features



  It seems to me there is a lot of speculation about Apollo, based on
  very little actual knowledge. All this speculation of "Apollo must
  have x feature" seems premature.

  I don't Grok Apollo and don't expect to until there is an actual
  product available or some documentation to read. Why would I want to
  deploy a web app to the desktop?

  The concept of partially connected applications was intriguing 10+
  years ago, when you were only connected in the office. Lotus Notes
  already implemented the partially connected app thing
  wonderfully. These days the only time you aren't connected is on an
  airplane.

  Is Apollo = partially connected apps? I don't know, but that's my
  best interpretation to date.
  Is Apollo something beyond partially connected apps? I have no idea.

  All that said, maybe this thread should move over to the
  ApolloCoders list. http://tech.groups.yahoo.com/group/apollocoders/

  --
  Jeffry Houser, Software Developer, Writer, Songwriter, Recording Engineer
  AIM: Reboog711 | Phone: 1-203-379-0773
  --
  My Company: 
  My Podcast: 
  My Blog: 
  Connecticut Macromedia User Group: 



  


RE: [flexcoders] Dynamic creation of from xml - placed over an image

2007-02-04 Thread Jason Hawryluk
addChild, removeChild and use a backgroundimage style for your jpg.

jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de oneproofdk
  Envoyé : dimanche 4 février 2007 01:05
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Dynamic creation of  from xml - placed over
an image


  I am looking into how to make a dynamic form, where I load some values
  into an array uisng a httpservice, then a ActionScript function would
  dynamic add  fields to the app.

  Can anyone help me out with some code (pseudo) or links to docs ?
  Donøt know where to look.

  Also : Is it possible to place  and other UI components, over
  a  ? I'm looking into using a jpg as "background" for the
  form, so I need to place the UI components on top of the jpg background.
  Is this possible ? Should I use a canvas with a image or ?

  Thanks for your help and time

  Mark



  


RE: [flexcoders] How I can modify and save a xml file in the server?

2007-02-04 Thread Jason Hawryluk
you can't

jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de alphaclass525
  Envoyé : dimanche 4 février 2007 18:06
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] How I can modify and save a xml file in the server?


  How I can modify and save a xml file in the server without PHP or ASP
  etc..?



  


RE: [flexcoders] Apollo features

2007-02-04 Thread Jason Hawryluk
I quote "I think support for dll’s is important (com, managed, other)."

 

How does this equate to me saying it's useless? I meant the “other” as being 
mac and linux equivalents. I don’t disagree with the fact that cross platform 
is important. The advantage over sticking with VB/.net etc.. is user 
experience. The price of that change has to coincide with the previous 
investments made in the other tiers of existing applications.

 

You said "Just because 80% of business applications are built on a proprietary 
platform doesn't mean that it's the best idea to continue building on such a 
limiting platform."

 

Perhaps, perhaps not. Businesses don’t think this way. A business that has 
invested in a solution wants to get maximum return from that investment. For 
the most part they don’t care if it’s platform specific or proprietary, as long 
as the solution fits their specific requirements and environment. I would have 
an extremely difficult time convincing a business to use Apollo strictly 
because it’s cross platform. 

 

If these were the only bullets I had to defend a proposal, I would hesitate to 
get involved at all.




jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de Shannon 
Hicks
  Envoyé : samedi 3 février 2007 16:38
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Apollo features


  You never said anything about this in your previous email. All you said in 
your previous email was, basically, that if you couldn't run dll's Apollo was 
useless. My response was targeted toward that.

  Even considering your new statements, I still stand by my original opinion 
that the value is being cross-platform. Just because 80% of business 
applications are built on a proprietary platform doesn't mean that it's the 
best idea to continue building on such a limiting platform. Don't get me 
wrong... Apollo is also a closed platform, but at least it will run on Windows, 
Mac and Linux. If a company isn't interested in investing in a project that has 
these potential long-term advantages, then Apollo might not be for them anyway.

  If a company is interested in sticking with Windows proprietary software, I 
don't see the advantages of Apollo over, say, VB... Or just sticking with the 
software they're currently using.

  Shan

  Jason Hawryluk wrote: 

 

So your saying it's better for a company to re create the wheel then to 
leverage their existing investments. 80%+ of business applications are specific 
to windows not leveraging that investment is just stupid. 



So now if I have a client that wants to leverage Apollo I have to let them 
know their going to need to dump everything they have built as it’s not cross 
platform, and even though they are a windows platform company they really need 
cross platform.  



I had never stated just target win dll's, and I had meant a value 
proposition for business. Do you honestly think that company is going to look 
at Apollo and say “sweet now I can target the other 5% of the market. Let’s 
dump everything and start over”?



I’m totally missing your logic here.



jason



  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de 
Shannon Hicks
  Envoyé : vendredi 2 février 2007 18:31
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Apollo features


  The real value of Apollo would be cross-platform applications. I can't 
run your DLL's on my Mac. If you need DLL's, use VB to build your app, and 
don't tease me with the false hope of a cross-platform application by building 
with Apollo and then ruining it with windows-only code. :)

  Shan



  Jason Hawryluk wrote: 

 

I have to agree here, if we can't extend it with our own dll's then 
what is the real value proposition for Apollo. 


I think support for dll’s is important (com, managed, other). Allowing 
us to reuse our existing middle tiers/frameworks, and use Apollo to create 
engaging user experiences.

jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de 
Jerome Clarke a.k.a sinatosk
  Envoyé : vendredi 2 février 2007 16:54
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Apollo features


  To be honest... all this talk I've been hearing about Apollo being 
used as desktop applications using web technologies... I would kinda expect 
that you can launch exe passing parameters ( like CLI style or something 
similar ), talk to dynamic libraries like .dll ( Windows ), .so ( Linux )... 
kinda surprised it doesn't support any of that yet... yet they call it desktop 
applications... it's more like their own browser in my opinion... I do

RE: [flexcoders] Apollo features

2007-02-04 Thread Jason Hawryluk
Not sure but I hope your not implying I don't build tiered enterprise apps.
I'll assume not. What you’ve stated is why dll access is important. This was
the whole point, separation of the application tiers. Not every app lends it
self to be a service oriented architecture. All this depends on the type of
application your creating, and the infrastructure your user(s) can support.



Chat, IM, mail, photo retouch (insert a gazillion others), type apps quickly
become impossible. I don't think Apollo is meat to target only enterprise
level applications.



How does your app function in a disconnected fashion?

If your app is service based, what is the point of using Apollo as opposed
to Flex? Why break out of the browser?



“A number of people I know are thrilled with the fact that there is no data
access in flex, which forces people to at least try to adhere to a proper
structure.”



You’ve lost me with the above comment. Layering an application into
different tiers is an architectural design decision that implies separation.
It has nothing to do with the technology or tools used to build those tiers.



Your “proper structure” implies different tools. What is the benefit of
this? I can only see having to train people on multiple tools, maintaining
multiple code bases, updates, unit testing problems, performance problems..
the list goes on and on.



jason




  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Andrey
  Envoyé : samedi 3 février 2007 16:39
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Apollo features


  Haven't replied too often, but this one struck a chord.

  In real enterprise-level applications, you are split up into tiers. you
have presentation layer (which apollo/flex/flash/etc fits very nicely in),
and you have your back-end with business logic and the storage). A number of
people I know are thrilled with the fact that there is no data access in
flex, which forces people to at least try to adhere to a proper structure.

  Now, in the situation at hand, you'd use apollo to make your pretty
applications which all they do serve as a frontend, and they'd just query
your services to get the actual data they're working with. This way, you can
have anything you want in the backend, the same dll's and the same business
logic which can be written in .net/java/vb or whatever else fancies you.
This way the businesses keep their existing investments, and get a much
better and more user-friendly (hopefully, if designed so) front-end which
runs as a desktop app instead of a browser.

  ... am I missing anything?



  On 2/3/07, Jason Hawryluk <[EMAIL PROTECTED]> wrote:

So your saying it's better for a company to re create the wheel then to
leverage their existing investments. 80%+ of business applications are
specific to windows not leveraging that investment is just stupid.



So now if I have a client that wants to leverage Apollo I have to let
them know their going to need to dump everything they have built as it's not
cross platform, and even though they are a windows platform company they
really need cross platform.



I had never stated just target win dll's, and I had meant a value
proposition for business. Do you honestly think that company is going to
look at Apollo and say "sweet now I can target the other 5% of the market.
Let's dump everything and start over"?



I'm totally missing your logic here.



jason



  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED]
la part de Shannon Hicks
  Envoyé : vendredi 2 février 2007 18:31
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Apollo features


  The real value of Apollo would be cross-platform applications. I can't
run your DLL's on my Mac. If you need DLL's, use VB to build your app, and
don't tease me with the false hope of a cross-platform application by
building with Apollo and then ruining it with windows-only code. :)

  Shan



  Jason Hawryluk wrote:


I have to agree here, if we can't extend it with our own dll's then
what is the real value proposition for Apollo.


I think support for dll's is important (com, managed, other).
Allowing us to reuse our existing middle tiers/frameworks, and use Apollo to
create engaging user experiences.

jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [
mailto:[EMAIL PROTECTED] la part de Jerome Clarke a.k.a sinatosk
  Envoyé : vendredi 2 février 2007 16:54
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Apollo features


  To be honest... all this talk I've been hearing about Apollo being
used as desktop applications using web technologies... I would kinda expect
that you can launch

RE: [flexcoders] Apollo features

2007-02-02 Thread Jason Hawryluk
So your saying it's better for a company to re create the wheel then to 
leverage their existing investments. 80%+ of business applications are specific 
to windows not leveraging that investment is just stupid. 

 

So now if I have a client that wants to leverage Apollo I have to let them know 
their going to need to dump everything they have built as it’s not cross 
platform, and even though they are a windows platform company they really need 
cross platform.  



I had never stated just target win dll's, and I had meant a value proposition 
for business. Do you honestly think that company is going to look at Apollo and 
say “sweet now I can target the other 5% of the market. Let’s dump everything 
and start over”?



I’m totally missing your logic here.

 

jason



  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de Shannon 
Hicks
  Envoyé : vendredi 2 février 2007 18:31
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Apollo features


  The real value of Apollo would be cross-platform applications. I can't run 
your DLL's on my Mac. If you need DLL's, use VB to build your app, and don't 
tease me with the false hope of a cross-platform application by building with 
Apollo and then ruining it with windows-only code. :)

  Shan



  Jason Hawryluk wrote: 

 

I have to agree here, if we can't extend it with our own dll's then what is 
the real value proposition for Apollo. 



I think support for dll’s is important (com, managed, other). Allowing us 
to reuse our existing middle tiers/frameworks, and use Apollo to create 
engaging user experiences.

jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de 
Jerome Clarke a.k.a sinatosk
  Envoyé : vendredi 2 février 2007 16:54
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Apollo features


  To be honest... all this talk I've been hearing about Apollo being used 
as desktop applications using web technologies... I would kinda expect that you 
can launch exe passing parameters ( like CLI style or something similar ), talk 
to dynamic libraries like .dll ( Windows ), .so ( Linux )... kinda surprised it 
doesn't support any of that yet... yet they call it desktop applications... 
it's more like their own browser in my opinion... I doubt this is how Apollo 
will be all the way. But if it does... can't say people will move to it quickly 
while MDM Zinc is there being able to do all of that ( regardless Zinc is free 
or not ) and WPF/E 

  I had plans to write applications where I can use SQLite, MySQL, GD2, run 
servers using TCP/IP on specific ports and ip addresses, video codecs like 
divx, xvid and others... if all I can do is talk to the file system then I may 
aswell stick with Flex 2... The only use I can see that for is for offline 
storage applications like the ebay application and Amazon application... Thats 
what alot of people want to do anyways but thats not the only thing they want 
to do... 

  but then again I'm assuming quite abit here... I havn't got full info 
about Apollo... but what I've been hearing about WPF/E compared to Apollo... 
I'm assuming Apollo can't do some of the things I said above and I'm not 
interested in WPF/E. As far as I know... only works on Windows but I still 
watch it to see what people say about it... I like to be cross platform 

  I use Flex 2 alot for the things I'm doing now. I don't think I will be 
using Apollo as much as I thought I predicted as I do with Flex 2



  On 2/2/07, Kevin Newman <[EMAIL PROTECTED]> wrote: 
Tom Chiverton wrote:
> Does anyone or has read somewhere, if Apollo will allow you to launch 
native 
> local applications ?
> 
As far as I know, Apollo is using webkit, does this include the ability 
to run other plugins besides Flash (like Java)?

If so, can you use one of those other plugins (java, or perhaps a 
custom 
plugin) to access native dlls and such by communicating from Flash to 
Javascript, then to the other plugin in Javascript?

Kevin N.









   

RE: [flexcoders] Apollo features

2007-02-02 Thread Jason Hawryluk
I have to agree here, if we can't extend it with our own dll's then what is the 
real value proposition for Apollo. 

 

I think support for dll’s is important (com, managed, other). Allowing us to 
reuse our existing middle tiers/frameworks, and use Apollo to create engaging 
user experiences.

jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de Jerome 
Clarke a.k.a sinatosk
  Envoyé : vendredi 2 février 2007 16:54
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Apollo features


  To be honest... all this talk I've been hearing about Apollo being used as 
desktop applications using web technologies... I would kinda expect that you 
can launch exe passing parameters ( like CLI style or something similar ), talk 
to dynamic libraries like .dll ( Windows ), .so ( Linux )... kinda surprised it 
doesn't support any of that yet... yet they call it desktop applications... 
it's more like their own browser in my opinion... I doubt this is how Apollo 
will be all the way. But if it does... can't say people will move to it quickly 
while MDM Zinc is there being able to do all of that ( regardless Zinc is free 
or not ) and WPF/E 

  I had plans to write applications where I can use SQLite, MySQL, GD2, run 
servers using TCP/IP on specific ports and ip addresses, video codecs like 
divx, xvid and others... if all I can do is talk to the file system then I may 
aswell stick with Flex 2... The only use I can see that for is for offline 
storage applications like the ebay application and Amazon application... Thats 
what alot of people want to do anyways but thats not the only thing they want 
to do... 

  but then again I'm assuming quite abit here... I havn't got full info about 
Apollo... but what I've been hearing about WPF/E compared to Apollo... I'm 
assuming Apollo can't do some of the things I said above and I'm not interested 
in WPF/E. As far as I know... only works on Windows but I still watch it to see 
what people say about it... I like to be cross platform 

  I use Flex 2 alot for the things I'm doing now. I don't think I will be using 
Apollo as much as I thought I predicted as I do with Flex 2



  On 2/2/07, Kevin Newman <[EMAIL PROTECTED]> wrote:
Tom Chiverton wrote:
> Does anyone or has read somewhere, if Apollo will allow you to launch 
native 
> local applications ?
> 
As far as I know, Apollo is using webkit, does this include the ability 
to run other plugins besides Flash (like Java)?

If so, can you use one of those other plugins (java, or perhaps a custom 
plugin) to access native dlls and such by communicating from Flash to 
Javascript, then to the other plugin in Javascript?

Kevin N.






   

[flexcoders] Whats up with MXNA

2007-01-31 Thread Jason Hawryluk
4 pages of Cynergy Systems Blog posts (old ones mind you), after page 4
nothing ??

Anyone else getting this..

jason





[flexcoders] RE: ItemRenderer Problem

2007-01-30 Thread Jason Hawryluk
Your problem is in the data override you need to let the itemrenderer
retrieve the data, so in this override you require a super.data = oItem; 

  

I have not tested, and this is just by looking at the function.

 

jason



  -Message d'origine-
  De : Robb Cundick [mailto:[EMAIL PROTECTED] la part de Robb
Cundick
  Envoyé : mardi 30 janvier 2007 07:00
  À : flexcoders@yahoogroups.com
  Objet : ItemRenderer Problem


  Hello, I'm a Flex newbie in need of some help.

  I'm grabbing an array of data from a Web service and displaying it in a
List component. On the Flex side I store the data in an ArrayCollection, the
name of which I set as the Data Provider for my list. I have a field called
"Display" which I set as the List's labelField. 

  Everything works fine, but then I wanted to get a little fancier and vary
the color of each line based on another field called "MemberStatus." To do
that I wrote an ItemRenderer component which contains a label that I use to
vary the text display.

  In the itemRenderer I override the "set data" function, expecting that I
can then use the supplied Object parameter to reference both the "Display"
field to set as the text of the label, and the "MemberStatus" field to
determine the text color I want for the label. Unfortunately, things don't
work as I think they should. If I override "set data" as follows:

  override public function set data(oItem:Object):void
  {
  displayItem.text = oItem.Display;
  (Followed by additional code using oItem.MemberStatus to determine the
color)
  }

  I get the following error:

  ReferenceError: Error #1069: Property Display not found on String and
there is no default value.
  at memberListRenderer/set data()
  at
mx.controls::List/http://www.adobe.com/2006/flex/mx/internal::setupRendererF
romData()
  at mx.controls::List/measureWidthOfItems()
  at mx.controls::List/mx.controls:List::commitProperties()
  at mx.core::UIComponent/validateProperties()
  at mx.managers::LayoutManager/::validateProperties()
  at mx.managers::LayoutManager/::doPhasedInstantiation()
  at Function/http://adobe.com/AS3/2006/builtin::apply()
  at mx.core::UIComponent/::callLaterDispatcher2()
  at mx.core::UIComponent/::callLaterDispatcher()

  Here's a sample of the output of the web service:

   
  http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns="http://tempuri.org/";>
  
  414 
  Doe, Jane 
  O 
  
  
  109 
  Smith, John 
  C 
  
  

  If I just insert the above data exactly "as is" in a test program as type
mx:Model I have no problem; the oItem.Display and oItem.MemberStatus fields
are "legal" and yield the results I want. But when I use the web service I
get the error. 

  I can set the label in the itemRenderer to have a data provider of
{data.Display} and it works using the web service. But that doesn't do me
any good because I have no way to access the MemberStatus field and alter
the color. Obviously the problem has something to do with the oItem field in
"set data" not being what I think it is. Does anyone know what I'm doing
wrong?

  TIA,
  Robb



   
<>

RE: [flexcoders] Help Extending TabNavigator/ButtonBar

2007-01-22 Thread Jason Hawryluk
I'm working on a blog post for something similar, but more toward the way
flex builder does it with a drop down at the end. Plus a bunch of other
goodies. ;)



I may have it up this week, need to finish this current post first, plus do
some paying work. :)



I'll also provide source.



jason



  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Ciarán
  Envoyé : lundi 22 janvier 2007 16:07
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Help Extending TabNavigator/ButtonBar


  Hi All,

  I've posted this to the flex forums as well. I'd like help with ideas
  on how to extend TabNavigator to include a "more" button, for when
  there are too many tabs.

  I'm a bit in the dark when it comes to depthy depths of the Flex
  framework, and need to make some interesting changes to a TabNavigator
  component in an application under development.

  In this case it's a single TabNavigator, but with a *lot* of tabs.
  Enough for them to be truncated down to the minimum (30 pixels or so),
  and just fit on the screen. The problem is with the squishy truncation
  part. I don't want that to happen.

  I want the tabs to match the width of the text on their respective
  titles. In addition to this, the final tab needs to be a "more" tab,
  which should "scroll across" in effect, revealing the remaining tabs.
  The button is prepended and the same effect achieved in reverse when
  the user wants to return to the tabs at the start.

  I'm looking at the Source for the ButtonBar right now, but I'm not
  getting very far in terms of understanding where to look. I know it
  sources buttons from it's dataProvider.

  Is it possible to draw these buttons offscreen and have them slide into
view?

  That said, does anyone know a clever way of accomplishing this or know
  someplace I could look where it's already implemented?

  Any clues/hints/ideas would be much appreciated =)

  Best Regards,
  Ciarán


  


RE: [flexcoders] Help Extending TabNavigator/ButtonBar

2007-01-22 Thread Jason Hawryluk
keep an eye out here http://flexibleexperiments.wordpress.com and on mxna

jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Ciarán
  Envoyé : lundi 22 janvier 2007 16:07
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Help Extending TabNavigator/ButtonBar


  Hi All,

  I've posted this to the flex forums as well. I'd like help with ideas
  on how to extend TabNavigator to include a "more" button, for when
  there are too many tabs.

  I'm a bit in the dark when it comes to depthy depths of the Flex
  framework, and need to make some interesting changes to a TabNavigator
  component in an application under development.

  In this case it's a single TabNavigator, but with a *lot* of tabs.
  Enough for them to be truncated down to the minimum (30 pixels or so),
  and just fit on the screen. The problem is with the squishy truncation
  part. I don't want that to happen.

  I want the tabs to match the width of the text on their respective
  titles. In addition to this, the final tab needs to be a "more" tab,
  which should "scroll across" in effect, revealing the remaining tabs.
  The button is prepended and the same effect achieved in reverse when
  the user wants to return to the tabs at the start.

  I'm looking at the Source for the ButtonBar right now, but I'm not
  getting very far in terms of understanding where to look. I know it
  sources buttons from it's dataProvider.

  Is it possible to draw these buttons offscreen and have them slide into
view?

  That said, does anyone know a clever way of accomplishing this or know
  someplace I could look where it's already implemented?

  Any clues/hints/ideas would be much appreciated =)

  Best Regards,
  Ciarán


  


RE: [flexcoders] clickable functions in flex builder ? how to do that

2007-01-19 Thread Jason Hawryluk
I believe ctrl + click is what your after. When you ctrl + click on a call
it'll take you to the function.



jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de amigo_fd
  Envoyé : vendredi 19 janvier 2007 10:13
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] clickable functions in flex builder ? how to do that


  Hello, yesterday at a flex demo someone clicked on a function to get
  flex to open that part of the code. Any idea how to do that ? Change
  setting somewhere ? Forgot to ask yesterday ...



  


RE: [flexcoders] HDivideBox

2007-01-18 Thread Jason Hawryluk
Posted on http://flexibleexperiments.wordpress.com/

should give anyone wanting to get into this control a head start.

Jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Jason Hawryluk
  Envoyé : jeudi 18 janvier 2007 14:45
  À : flexcoders@yahoogroups.com
  Objet : RE: [flexcoders] HDivideBox



  I have something you'll be interested in, If your still looking? If
nothing else it'll give you a really good start toward a solution *nice*.



  Post back here, and I’ll take the time to post it on my blog in the next
hour or so.



  Jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Pablo
Envoyé : jeudi 18 janvier 2007 12:46
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] HDivideBox


Probably nobody occures this task :( among you and me. I guess that need
to write fully custom layout for this.



On 1/15/07, Lieven Cardoen < [EMAIL PROTECTED]> wrote:

  Hi guys,



  Is there a way to have a HdivideBox, but where the right part can be
opened and closed. I need a property kind of thing on the right which the
user can open and close + resize so that properties width gets
bigger/smaller.



  Thx, Lieven Cardoen



  Lieven Cardoen
  Application developer

  indie group
  interactive digital experience
  engelse wandeling 2 k18
  b8500 kortrijk










  


RE: [flexcoders] HDivideBox

2007-01-18 Thread Jason Hawryluk
I have something you'll be interested in, If your still looking? If nothing
else it'll give you a really good start toward a solution *nice*.



Post back here, and I’ll take the time to post it on my blog in the next
hour or so.



Jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Pablo
  Envoyé : jeudi 18 janvier 2007 12:46
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] HDivideBox


  Probably nobody occures this task :( among you and me. I guess that need
to write fully custom layout for this.



  On 1/15/07, Lieven Cardoen < [EMAIL PROTECTED]> wrote:

Hi guys,



Is there a way to have a HdivideBox, but where the right part can be
opened and closed. I need a property kind of thing on the right which the
user can open and close + resize so that properties width gets
bigger/smaller.



Thx, Lieven Cardoen



Lieven Cardoen
Application developer

indie group
interactive digital experience
engelse wandeling 2 k18
b8500 kortrijk









  


[flexcoders] Tree Multiple Drag and Drop (Sorting ?)

2007-01-17 Thread Jason Hawryluk
When dragging multiple items in the tree control the array is being sorted
or reversed (depends on it’s mood I suppose). I fully understand the reason
behind building the array in the order selected by the user when using ctrl,
but if I select top to bottom or bottom to top with shift; it's being
sorted...

This kind of makes it difficult to keep a backend version of the tree up to
date properly. I.e. sending updates as they happen as opposed to sending the
entire structure. I’m using a XMLListCollection here so that could be
related.

Any trick to turn this off/override it, without delving into the deepest
inner workings of the tree control?

There are several other problems I’m encountering with this control, which I
’ll post about when I’ve figured out a bit what is happening.

Has anyone managed to get this baby working flawlessly.

Thanks

Jason





RE: [flexcoders] Re: Datagrid Scrolling -- Is it really this complicated?

2007-01-11 Thread Jason Hawryluk
There is typically a padding around every container.. Either change this to
see if it helps, or set the vbox scroll policies to off.

Jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de phipzkillah
  Envoyé : jeudi 11 janvier 2007 18:18
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Re: Datagrid Scrolling -- Is it really this
complicated?


  Setting the horizontal scroll policy to auto produces 2 scroll bars.
  My datagrid is in a vbox (width=100% to fill the panel).  My
  datagrid's width is 100% to fill the vbox.

  When you set horizontal scroll policy to auto it creates a huge
  datagrid that will no longer fit into the vbox.  So now I get a scroll
  bar on the vbox.  To use the vertical scroll bar on the datagrid I
  need to scroll the vbox horizontal scroll bar all the way to the right.

  Still no fix for this problem.  Any thoughts.


  This is an image with the VBOX width = 100%, with the datagrid inside
  with a width=100%; the horizontal scroll policy is set to auto on the
  datagrid.



  --- In flexcoders@yahoogroups.com, "michael_ramirez44"
<[EMAIL PROTECTED]> wrote:
  >
  > --- In flexcoders@yahoogroups.com, "phipzkillah" pkrasko@ wrote:
  > >
  > >
  > > I have a Datagrid in a panel whose size is 80% width of the screen
  > > (panel width that is). My datagrid has 68 columns and its width is
  > set
  > > to 100% (to fill the panel). When the datagrid loads you can't
  > read a
  > > damn thing. If i set the minwidth I can read the data, but I have
  > to
  > > horizontally scroll all the way to the right to see the vertical
  > scroll
  > > bar!! SO I can't scroll down unless I scroll all the way to the
  > > right...how is that user friendly? Seems like a poor design that
  > the
  > > datagrid scroll bar doesn't float ontop of the grid itself. You
  > can see
  > > the problem here in a snapshot ! I took - vertical scroll bar not seen
  > > unless you scroll all the way to the right.
  > >
  > > Does anyone have a solution to this problem? I don't want any
  > scroll
  > > bars on my panel. I simply just want to be able to scroll
  > horizontally
  > > and vertically on my datagrid with ease.
  > >
  >
  > Set the DataGrid's horizontalScrollPolicy to "auto".
  >
  > dgResults.horizontalScrollPolicy = "auto";
  >


  


RE: [flexcoders] Re: Lexical scoping of variable declarations not working?

2007-01-11 Thread Jason Hawryluk
No use getting bent out of shape over language constructs. It’s a tool, and
I’m quite sure they have done the best they could. Given the non existence
of other tools available “for RIA” that provide a comparable experience, I
for one am quite happy dealing with it. It has it's quirks, but heck... what
tool dosn't.

jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de sbyrne_dorado
  Envoyé : jeudi 11 janvier 2007 14:21
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Re: Lexical scoping of variable declarations not
working?


  Ugh. I was hoping you were kidding, but it sounds like a dreadful
  oversight (and, knowing one of the main authors of the ECMA standard,
  a truly wizardly experienced guy, SHOCKING -- bad Quux, bad!).

  Down the road. Bah! [skipping snarky comments about language design
  here]. I guess we'll have to contort our 2400+ class application to
  deal with this silliness. Sigh.

  Thanks Michael for your response!!!

  --- In flexcoders@yahoogroups.com, "Michael Schmalle"
  <[EMAIL PROTECTED]> wrote:
  >
  > This has been brought up and it's going to be fixed down the road
  with ECMA.
  >
  > Search the archives for Gordon's response. You won't be able to use var,
  > it's some other weird keyword, I can't remember.
  >
  > Peace, Mike
  >
  > On 1/11/07, Jason Hawryluk <[EMAIL PROTECTED]> wrote:
  > >
  > > kind of like you can't do this
  > >
  > >
  > >
  > > public function clearTargetData(x:string):void{}
  > >
  > > public function clearTargetData():void{}
  > >
  > >
  > > which most support also, but I give Adobe the benefit of the doubt
  this is
  > > a completely new flex, built from the ground up, and they have
  done a bang
  > > up job.
  > >
  > > I can do with out these things, perhaps they'll implement this type of
  > > stuff in a later version.
  > >
  > > jason
  > >
  > >
  > >
  > >
  > > -Message d'origine-
  > > *De :* flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED]
  > > la part de* sbyrne_dorado
  > > *Envoyé :* jeudi 11 janvier 2007 10:09
  > > *À :* flexcoders@yahoogroups.com
  > > *Objet :* [flexcoders] Lexical scoping of variable declarations not
  > > working?
  > >
  > > I'm seeing some odd behavior with the AS3 compiler. I say it's "odd"
  > > because it's at variance with the vast majority of C language
  > > derivatives (in fact, I'll go out on a limb and say ALL of them). The
  > > behavior I'm seeing is this:
  > >
  > > If I have
  > >
  > > package {
  > > public class badscope {
  > >
  > > public function dummy() : void {
  > > if (new Date() != null) {
  > > var foo : Number = 3;
  > > } else {
  > > var foo : Number = 4;
  > > }
  > > }
  > >
  > > }
  > > }
  > >
  > > the cmopiler is telling me that "foo" is a duplicate declaration. Um.
  > > Every other block structured language I'm familiar with scopes local
  > > variable declaration to the enclosing block, so the foo's do not exist
  > > in the same lexical scope and there is no conflict. To me, if this
  > > behavior of placing all variable declarations in the top level
  > > function's scope is in fact the desired behavior, it's a HUGE step
  > > backwards.
  > >
  > > Please help me to understand why I'm seeing the behavior I am, and why
  > > it's not breaking lexical scoping rules common to C derivatives.
  > >
  > >
  > >
  >
  >
  >
  > --
  > 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] KeyBoardEvents

2007-01-11 Thread Jason Hawryluk
You need to make sure your container has the focus



//from the parent of the container

GroundPlan.setFocus();





//or try this after you have set the listeners.

setFocus();




jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Lieven Cardoen
  Envoye : jeudi 11 janvier 2007 10:58
  A : flexcoders@yahoogroups.com
  Objet : [flexcoders] KeyBoardEvents



  Why are my KeyboardEvents not working?



  GroundPlan is a chilc of a Canvas.



  I also tried catching keyboard events in my Application.application but it
doesn't work neither.



  I'm testing in Internet Explorer and my application has focus.  thx.





  public class GroundPlan extends Container

  {...



  public function addEventListeners():void{

this.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);

this.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);

this.addEventListener(KeyboardEvent.KEY_DOWN, myKeyDownHandler);

this.addEventListener(KeyboardEvent.KEY_UP, myKeyUpHandler);

  }



  /**

  *

   */

  private function myKeyDownHandler(event:KeyboardEvent):void {

trace("myKeyDownHandler(" + event + ")");

if(event.keyCode == Keyboard.CONTROL){

  this.controlKeyDown = true;

}

  }



  /**

   *

   */

  private function myKeyUpHandler(event:KeyboardEvent):void{

trace("myKeyUpHandler(" + event + ")");

if(event.keyCode == Keyboard.CONTROL){

  this.controlKeyDown = false;

}

  }

  Lieven Cardoen
  Application developer

  indiegroup
  interactive digital experience
  engelse wandeling 2 k18
  b8500 kortrijk






  


RE: [flexcoders] Lexical scoping of variable declarations not working?

2007-01-11 Thread Jason Hawryluk
kind of like you can't do this



public function clearTargetData(x:string):void{}

public function clearTargetData():void{}



which most support also, but I give Adobe the benefit of the doubt this is a
completely new flex, built from the ground up, and they have done a bang up
job.

I can do with out these things, perhaps they'll implement this type of stuff
in a later version.

jason



  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de sbyrne_dorado
  Envoyé : jeudi 11 janvier 2007 10:09
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Lexical scoping of variable declarations not working?


  I'm seeing some odd behavior with the AS3 compiler. I say it's "odd"
  because it's at variance with the vast majority of C language
  derivatives (in fact, I'll go out on a limb and say ALL of them). The
  behavior I'm seeing is this:

  If I have

  package {
  public class badscope {

  public function dummy() : void {
  if (new Date() != null) {
  var foo : Number = 3;
  } else {
  var foo : Number = 4;
  }
  }

  }
  }

  the cmopiler is telling me that "foo" is a duplicate declaration. Um.
  Every other block structured language I'm familiar with scopes local
  variable declaration to the enclosing block, so the foo's do not exist
  in the same lexical scope and there is no conflict. To me, if this
  behavior of placing all variable declarations in the top level
  function's scope is in fact the desired behavior, it's a HUGE step
  backwards.

  Please help me to understand why I'm seeing the behavior I am, and why
  it's not breaking lexical scoping rules common to C derivatives.



  


RE: [flexcoders] Re: XML manipulation

2007-01-10 Thread Jason Hawryluk
I had mentioned it was un tested :)

try the below (its tested), should get your on the right track, and i'm sure
it can be improved just a quick sample.


http://www.adobe.com/2006/mxml"; layout="absolute">


 
  
 






  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de phipzkillah
  Envoyé : mercredi 10 janvier 2007 23:01
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Re: XML manipulation


  I can't seem to get that to work...

  --- In flexcoders@yahoogroups.com, "Jason Hawryluk" <[EMAIL PROTECTED]> wrote:
  >
  > Yes in that case you would, and before deleting the level 2 append
  level3 to
  > level 2's parent.
  >
  >
  >
  > Kind of (not at all tested) like this..
  >
  >
  >
  > for each (var item:XML in myxml..level2) {
  > item.parent.append(item..level3);
  >
  > delete item;
  >
  > }
  >
  >
  >
  > you may actually need 2 loops one for the delete. If the above technique
  > doesn't work try the copy()
  >
  >
  >
  > item.parent.append(item..level3.copy());
  >
  >
  >
  > sorry no time to actually test anything here.
  >
  >
  >
  > jason
  >
  >
  >
  >
  > -Message d'origine-
  > De : flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] la
  > part de phipzkillah
  > Envoyé : mercredi 10 janvier 2007 21:58
  > À : flexcoders@yahoogroups.com
  > Objet : [flexcoders] Re: XML manipulation
  >
  >
  > That makes sense and I guess I should have rephrased my question. I
  > have multiple levels of level1 and I need to preserve the hierarchy.
  > I would assume you would need a for loop to do this. Any ideas?
  >
  > 
  > 
  >
  > 
  > 
  > 
  >
  > 
  > 
  >
  > 
  > 
  >
  > 
  > 
  >
  > 
  > 
  >
  > Transformed to...
  >
  > 
  >
  > 
  > 
  > 
  >
  > 
  >
  > 
  >
  > 
  > 
  >
  > 
  > --- In flexcoders@yahoogroups.com, "Jason Hawryluk"  wrote:
  > >
  > > Yes; basically
  > >
  > > Grab level3 into an xmllist var
  > >
  > > delete level 2 append level 3 to level 1.
  > >
  > > var tempxml:XMLList = myxml..level3;
  > > delete myxml.level2;
  > > myxml.append(tempxml);
  > >
  > > the above code is off the top of my head. May and may not work :)
  > >
  > > jason
  > >
  > >
  > > -Message d'origine-
  > > De : flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] la
  > > part de phipzkillah
  > > Envoyé : mercredi 10 janvier 2007 21:28
  > > À : flexcoders@yahoogroups.com
  > > Objet : [flexcoders] Re: XML manipulation
  > >
  > >
  > > Ben,
  > >
  > > Thanks for your help. It works great!
  > >
  > > I have another question that I'm not sure if you will be able to
  > > answer or not. If I have 3 levels of hierarchy in my XML and I want
  > > to remove level 2 (but not its children - level 3) how would you go
  > > about doing that? Eliminate level 2 while promoting level 3.
  > >
  > > 
  > > 
  > >
  > > 
  > > 
  > > 
  > >
  > > 
  > > 
  > >
  > > Transformed to...
  > >
  > > 
  > >
  > > 
  > > 
  > > 
  > >
  > > 
  > >
  > > --- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
  > >  wrote:
  > > >
  > > > Wow, I had no idea deleting a set of nodes would be this hard.
  > > > Apparently this is how its done:
  > > >
  > > > for each(var node:XML in myXML..remove)
  > > > {
  > > > delete(myXML..remove[node.childIndex()]);
  > > > }
  > > >
  > > > HTH,
  > > > Ben
  > > >
  > > >
  > > > --- In flexcoders@yahoogroups.com, "phipzkillah"  wrote:
  > > > >
  > > > > How can I remove a selection of children from an xml tree.
  > > > >
  > > > > var myXML:XML =
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > >
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > >
  > > > > ..
  > > > >
  > > > > Now I want to keep all the good stuff.
  > > > >
  > > > > I want the final xml tree to look like this:
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > > 
  > > > >
  > > > > I tried doing this with no luck:
  > > > >
  > > > > myXML = delete myXML..remove;
  > > > >
  > > > > Any ideas why that doesn't work?
  > > > >
  > > >
  > >
  >



  


RE: [flexcoders] Re: Html in Flex?

2007-01-10 Thread Jason Hawryluk
Funny i chose the same site email not getting through fast enough :p

jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Collin Peters
  Envoyé : mercredi 10 janvier 2007 22:18
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Re: Html in Flex?


  This is what you are looking for:
http://www.deitte.com/archives/2006/08/finally_updated.htm



  On 1/10/07, gtuhl <[EMAIL PROTECTED]> wrote:
Yes it is just for display/preview. My apologies if this is obvious,
fairly new to Flex2, but how do I use an IFrame? The only
html-related bits I can find in the help system concerns the htmlText
property of text controls and iframe isn't listed as an understood tag.

I appreciate the quick response.

--- In flexcoders@yahoogroups.com, "Jason Hawryluk" <[EMAIL PROTECTED]> 
wrote:
>
> Would an iframe work for this? I mean is it just for display/preview
not
> editing...
>
> jason
>
> -Message d'origine-
> De : flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED]
la
> part de gtuhl
> Envoyé : mercredi 10 janvier 2007 21:34
> À : flexcoders@yahoogroups.com
> Objet : [flexcoders] Html in Flex?
>
>
> We have an existing application that has a feature enabling a user to
> set content for and preview html newsletters. We are in the process
> of researching Flex2 and determining whether the client-side of this
> application (currently xul/html/js) should be converted.
>
> Is there any way to render html in Flex2? The htmlText property on
> Text won't cut it as it only supports a trivial subset of html.
>
> I essentially need to embed Gecko or another appropriate rendering
> engine so that the users can get a rough guess of what their content
> looks like. The same pages allow the user to quickly send test
> e-mails to whichever accounts they desire, but the quick-preview
> feature provided by the current version of the application is heavily
> used and cannot be cut.
>
> Ideally Flex2 has something similar to the  component in xul.
>






  --
  Collin Peters
  Lead Software Developer
  InTouch Technology

  


RE: [flexcoders] Re: Html in Flex?

2007-01-10 Thread Jason Hawryluk
It’s not an obvious solution. So no problem.

Google search “flex 2.0” + “iframe”

There are a couple of versions out there. The below has a good write up on
it.

http://www.deitte.com/archives/2006/05/update_to_embed.htm

try that; to have a look at the technique, I have my own version, but no use
uploading it to the group if it's available out there already.

jason

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de gtuhl
Envoyé : mercredi 10 janvier 2007 21:51
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Re: Html in Flex?


Yes it is just for display/preview. My apologies if this is obvious,
fairly new to Flex2, but how do I use an IFrame? The only
html-related bits I can find in the help system concerns the htmlText
property of text controls and iframe isn't listed as an understood tag.

I appreciate the quick response.

--- In flexcoders@yahoogroups.com, "Jason Hawryluk" <[EMAIL PROTECTED]> wrote:
>
> Would an iframe work for this? I mean is it just for display/preview not
> editing...
>
> jason
>
> -Message d'origine-
> De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
> part de gtuhl
> Envoyé : mercredi 10 janvier 2007 21:34
> À : flexcoders@yahoogroups.com
> Objet : [flexcoders] Html in Flex?
>
>
> We have an existing application that has a feature enabling a user to
> set content for and preview html newsletters. We are in the process
> of researching Flex2 and determining whether the client-side of this
> application (currently xul/html/js) should be converted.
>
> Is there any way to render html in Flex2? The htmlText property on
> Text won't cut it as it only supports a trivial subset of html.
>
> I essentially need to embed Gecko or another appropriate rendering
> engine so that the users can get a rough guess of what their content
> looks like. The same pages allow the user to quickly send test
> e-mails to whichever accounts they desire, but the quick-preview
> feature provided by the current version of the application is heavily
> used and cannot be cut.
>
> Ideally Flex2 has something similar to the  component in xul.
>








RE: [flexcoders] Re: XML manipulation

2007-01-10 Thread Jason Hawryluk
Yes in that case you would, and before deleting the level 2 append level3 to
level 2's parent.



Kind of (not at all tested) like this..



for each (var item:XML in myxml..level2) {
item.parent.append(item..level3);

delete item;

}



you may actually need 2 loops one for the delete. If the above technique
doesn’t work try the copy()



item.parent.append(item..level3.copy());



sorry no time to actually test anything here.



jason




  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de phipzkillah
  Envoyé : mercredi 10 janvier 2007 21:58
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Re: XML manipulation


  That makes sense and I guess I should have rephrased my question. I
  have multiple levels of level1 and I need to preserve the hierarchy.
  I would assume you would need a for loop to do this. Any ideas?

  
  

  
  
  

  
  

  
  

  
  

  
  

  Transformed to...

  

  
  
  

  

  

  
  

  
  --- In flexcoders@yahoogroups.com, "Jason Hawryluk" <[EMAIL PROTECTED]> wrote:
  >
  > Yes; basically
  >
  > Grab level3 into an xmllist var
  >
  > delete level 2 append level 3 to level 1.
  >
  > var tempxml:XMLList = myxml..level3;
  > delete myxml.level2;
  > myxml.append(tempxml);
  >
  > the above code is off the top of my head. May and may not work :)
  >
  > jason
  >
  >
  > -Message d'origine-
  > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
  > part de phipzkillah
  > Envoyé : mercredi 10 janvier 2007 21:28
  > À : flexcoders@yahoogroups.com
  > Objet : [flexcoders] Re: XML manipulation
  >
  >
  > Ben,
  >
  > Thanks for your help. It works great!
  >
  > I have another question that I'm not sure if you will be able to
  > answer or not. If I have 3 levels of hierarchy in my XML and I want
  > to remove level 2 (but not its children - level 3) how would you go
  > about doing that? Eliminate level 2 while promoting level 3.
  >
  > 
  > 
  >
  > 
  > 
  > 
  >
  > 
  > 
  >
  > Transformed to...
  >
  > 
  >
  > 
  > 
  > 
  >
  > 
  >
  > --- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
  >  wrote:
  > >
  > > Wow, I had no idea deleting a set of nodes would be this hard.
  > > Apparently this is how its done:
  > >
  > > for each(var node:XML in myXML..remove)
  > > {
  > > delete(myXML..remove[node.childIndex()]);
  > > }
  > >
  > > HTH,
  > > Ben
  > >
  > >
  > > --- In flexcoders@yahoogroups.com, "phipzkillah"  wrote:
  > > >
  > > > How can I remove a selection of children from an xml tree.
  > > >
  > > > var myXML:XML =
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > >
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > >
  > > > ..
  > > >
  > > > Now I want to keep all the good stuff.
  > > >
  > > > I want the final xml tree to look like this:
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > > 
  > > >
  > > > I tried doing this with no luck:
  > > >
  > > > myXML = delete myXML..remove;
  > > >
  > > > Any ideas why that doesn't work?
  > > >
  > >
  >



  


RE: [flexcoders] Re: IFlexModule

2007-01-10 Thread Jason Hawryluk
Did you delete this

C:\Program Files\Adobe\Flex Builder 2 Plug-in\

before the install of 2.01 ?

another thing to try just to see is add a reference to the module files in
your little clean test app that compiled.

import mx.modules.*;

see if it still chokes.

just trying to eliminate stuff.

jason



-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Greg Morphis
Envoyé : mercredi 10 janvier 2007 21:34
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Re: IFlexModule


I've got them installed in my Flex Data Services folder "C:\fds2" and
my Flex plugin folder (C:\Program Files\Adobe\Flex Builder 2
Plug-in\Flex SDK 2\frameworks\source\mx\core)

On 1/10/07, Jason Hawryluk <[EMAIL PROTECTED]> wrote:
> 
>
> I believe that flex builder installs eclipse 3.1 hence the question.
>
> So to use flex all you need is flex builder the full version. Eclipse is
not
> required, rather Adobe took eclipse 3.1 and modified it for flex
> builder==one in the same.
>
> Hope I'm making sense, it's late here :)
>
> jason
>
>
>
> -Message d'origine-
> De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
> part de Jason Hawryluk
> Envoyé : mercredi 10 janvier 2007 21:03
> À : flexcoders@yahoogroups.com
> Objet : RE: [flexcoders] Re: IFlexModule
>
>
> There was an old version of the modules framework from the original
creator
> (it was just a thought) it's probably not the problem.
>
> Ok so your pc.. On another post here i asked to take a look to make sure
> that the module framework is indeed where it is supposed to be.
>
> The fact you where able to create a new app with no module reference is a
> direction. I'm not sure where apache comes into play here.
>
> you should not have both eclipse and flex builder unless your using
eclipse
> for something else. Flex builder uses eclipse so there could be an
> incompatibility between the version flex builder is installing and the
> version 3.2.
>
> If you wish to use flex with eclipse 3.2 you should install the plug-in
not
> flex builder.
>
> Does this make sense or am i wrong in assuming this as your case. Do you
> have both eclipse 3.2 and flex builder 2.01 installed?
>
> If so; this is most likely the root of the problem. If not.. well we'll
keep
> witling it down.
>
> again just thinking out loud here..
>
> jason
>
> -Message d'origine-
> De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
> part de Greg Morphis
> Envoyé : mercredi 10 janvier 2007 20:55
> À : flexcoders@yahoogroups.com
> Objet : Re: [flexcoders] Re: IFlexModule
>
> Thanks Jason for the help.
> I'm on a PC..
> I was able to create a new project, add an HBox and Label and run it
> as a Flex Application.
> What do you mean by "older version"? Older version of what?
> I downloaded the Flex Builder 2.0.1 install file and Eclipse 3.2 on
> Apache Tomcat server.
>
> On 1/10/07, Jason Hawryluk <[EMAIL PROTECTED]> wrote:
> > Judging from the error I would think that perhaps your using an older
> > version or the modules or your existing project before the update was
> > referencing the older modules framework. If this is the case there may
> have
> > been changes between the older version and the release version that are
> > causing you grief. The fact that your project is failing on IFlexModule
> > leads me to this.
> >
> > Again excuse if off the mark.
> >
> > Jason
> >
> >
> >
> > -Message d'origine-
> > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
> > part de Greg Morphis
> > Envoyé : mercredi 10 janvier 2007 19:20
> > À : flexcoders@yahoogroups.com
> > Objet : Re: [flexcoders] Re: IFlexModule
> >
> >
> > Severity and Description Path Resource Location Creation Time Id
> > 1023: Incompatible override. aopscheduler line 11 1168453153048 2221
> > 1120: Access of undefined property IFlexModule. aopscheduler line
> > 22 1168453153048 
> > 1144: Interface method create in namespace mx.core:IFlexModuleFactory
> > is implemented with an incompatible signature in class
> > _index_mx_managers_SystemManager. aopscheduler line
> > 7 1168453153063 2224
> > 1172: Definition mx.binding:RepeaterComponentWatcher could not be
> > found. aopscheduler line 16 1168453155423 2226
> > 1172: Definition mx.core:IFlexModule could not be
> > found. aopscheduler line 6 1168453153063 2225
> > 1180: Call to a possibly undefined method
> > IFlexModule. aopscheduler line 24 1168453153063 2223
> >
> > On 1/10/07, Greg Morphis <[EMA

RE: [flexcoders] any possible way to use flash ocx without installing?

2007-01-10 Thread Jason Hawryluk
Yes, you can load a ocx without registering it, provided you give com the
required type information it needs. Basically you fake com into thinking the
ocx is registered. We have a very large product (not flex) that uses this
technique with a slew of custom ocx’s (100’s) all are not registered. That
is if you want to target all windows versions.

If your just targeting xp and above then a manifest file in the exe path
will provide this.

jason

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Pan Troglodytes
Envoyé : mercredi 10 janvier 2007 21:19
À : flexcoders
Objet : [flexcoders] any possible way to use flash ocx without installing?


Okay, this is only borderline Flex since it's a Flex app, but I hope you'll
indulge me.

Is there a way to use the flash ocx in a desktop application without having
flash installed on the machine?  Say I have just my application's exe and
Flash9.ocx.  Or am I stuck because the OCX has to be registered with
regsvr32 and there's just no way for a non-admin to do that?


It's probably a moot point, as further research says you aren't allowed to
redistribute Flash9.ocx anyway.  But I'm still curious if it's possible.

--
Jason






RE: [flexcoders] Re: IFlexModule

2007-01-10 Thread Jason Hawryluk
hmmm. I use the full version.

I'm not sure nor aware of any compatibility issues with regards to eclipse
3.2.

It may be a pain but could you try the full flex builder version not the
plug-in? If not well there has to be some file that is gorking(not a real
word) on your configuration.

Before flex 2.01 you hade flex 2.0 plug-in. Did you remove all flex related
files before install of the 2.01 version, from the eclipse plug-in location?

Did the 2.0 version work with eclipse 3.2 ?

Again grasping at straws here. Just throwing stuff out into the wind to see
if it fly’s.

Jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Greg Morphis
Envoyé : mercredi 10 janvier 2007 21:36
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Re: IFlexModule


I've got eclipse 3.2 an the plug-in, sorry for not clarifying earlier.

On 1/10/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> I've got them installed in my Flex Data Services folder "C:\fds2" and
> my Flex plugin folder (C:\Program Files\Adobe\Flex Builder 2
> Plug-in\Flex SDK 2\frameworks\source\mx\core)
>
>
>
> On 1/10/07, Jason Hawryluk <[EMAIL PROTECTED]> wrote:
> > 
> >
> > I believe that flex builder installs eclipse 3.1 hence the question.
> >
> > So to use flex all you need is flex builder the full version. Eclipse is
not
> > required, rather Adobe took eclipse 3.1 and modified it for flex
> > builder==one in the same.
> >
> > Hope I'm making sense, it's late here :)
> >
> > jason
> >
> >
> >
> > -Message d'origine-
> > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
> > part de Jason Hawryluk
> > Envoyé : mercredi 10 janvier 2007 21:03
> > À : flexcoders@yahoogroups.com
> > Objet : RE: [flexcoders] Re: IFlexModule
> >
> >
> > There was an old version of the modules framework from the original
creator
> > (it was just a thought) it's probably not the problem.
> >
> > Ok so your pc.. On another post here i asked to take a look to make sure
> > that the module framework is indeed where it is supposed to be.
> >
> > The fact you where able to create a new app with no module reference is
a
> > direction. I'm not sure where apache comes into play here.
> >
> > you should not have both eclipse and flex builder unless your using
eclipse
> > for something else. Flex builder uses eclipse so there could be an
> > incompatibility between the version flex builder is installing and the
> > version 3.2.
> >
> > If you wish to use flex with eclipse 3.2 you should install the plug-in
not
> > flex builder.
> >
> > Does this make sense or am i wrong in assuming this as your case. Do you
> > have both eclipse 3.2 and flex builder 2.01 installed?
> >
> > If so; this is most likely the root of the problem. If not.. well we'll
keep
> > witling it down.
> >
> > again just thinking out loud here..
> >
> > jason
> >
> > -Message d'origine-
> > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
> > part de Greg Morphis
> > Envoyé : mercredi 10 janvier 2007 20:55
> > À : flexcoders@yahoogroups.com
> > Objet : Re: [flexcoders] Re: IFlexModule
> >
> > Thanks Jason for the help.
> > I'm on a PC..
> > I was able to create a new project, add an HBox and Label and run it
> > as a Flex Application.
> > What do you mean by "older version"? Older version of what?
> > I downloaded the Flex Builder 2.0.1 install file and Eclipse 3.2 on
> > Apache Tomcat server.
> >
> > On 1/10/07, Jason Hawryluk <[EMAIL PROTECTED]> wrote:
> > > Judging from the error I would think that perhaps your using an older
> > > version or the modules or your existing project before the update was
> > > referencing the older modules framework. If this is the case there may
> > have
> > > been changes between the older version and the release version that
are
> > > causing you grief. The fact that your project is failing on
IFlexModule
> > > leads me to this.
> > >
> > > Again excuse if off the mark.
> > >
> > > Jason
> > >
> > >
> > >
> > > -Message d'origine-
> > > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
la
> > > part de Greg Morphis
> > > Envoyé : mercredi 10 janvier 2007 19:20
> > > À : flexcoders@yahoogroups.com
> > > Objet : Re: [flexcoders] Re: IFlexModule
> > >
> > >
> > > Severity and Desc

RE: [flexcoders] Html in Flex?

2007-01-10 Thread Jason Hawryluk
Would an iframe work for this? I mean is it just for display/preview not
editing...

jason

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de gtuhl
Envoyé : mercredi 10 janvier 2007 21:34
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Html in Flex?


We have an existing application that has a feature enabling a user to
set content for and preview html newsletters. We are in the process
of researching Flex2 and determining whether the client-side of this
application (currently xul/html/js) should be converted.

Is there any way to render html in Flex2? The htmlText property on
Text won't cut it as it only supports a trivial subset of html.

I essentially need to embed Gecko or another appropriate rendering
engine so that the users can get a rough guess of what their content
looks like. The same pages allow the user to quickly send test
e-mails to whichever accounts they desire, but the quick-preview
feature provided by the current version of the application is heavily
used and cannot be cut.

Ideally Flex2 has something similar to the  component in xul.








RE: [flexcoders] Re: XML manipulation

2007-01-10 Thread Jason Hawryluk
Yes; basically

Grab level3 into an xmllist var

delete level 2 append level 3 to level 1.

var tempxml:XMLList = myxml..level3;
delete myxml.level2;
myxml.append(tempxml);

the above code is off the top of my head. May and may not work :)

jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de phipzkillah
Envoyé : mercredi 10 janvier 2007 21:28
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Re: XML manipulation


Ben,

Thanks for your help. It works great!

I have another question that I'm not sure if you will be able to
answer or not. If I have 3 levels of hierarchy in my XML and I want
to remove level 2 (but not its children - level 3) how would you go
about doing that? Eliminate level 2 while promoting level 3.











Transformed to...









--- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
<[EMAIL PROTECTED]> wrote:
>
> Wow, I had no idea deleting a set of nodes would be this hard.
> Apparently this is how its done:
>
> for each(var node:XML in myXML..remove)
> {
> delete(myXML..remove[node.childIndex()]);
> }
>
> HTH,
> Ben
>
>
> --- In flexcoders@yahoogroups.com, "phipzkillah"  wrote:
> >
> > How can I remove a selection of children from an xml tree.
> >
> > var myXML:XML =
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > ..
> >
> > Now I want to keep all the good stuff.
> >
> > I want the final xml tree to look like this:
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > I tried doing this with no luck:
> >
> > myXML = delete myXML..remove;
> >
> > Any ideas why that doesn't work?
> >
>








RE: [flexcoders] Re: IFlexModule

2007-01-10 Thread Jason Hawryluk


I believe that flex builder installs eclipse 3.1 hence the question.

So to use flex all you need is flex builder the full version. Eclipse is not
required, rather Adobe took eclipse 3.1 and modified it for flex
builder==one in the same.

Hope I’m making sense, it's late here :)

jason



-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Jason Hawryluk
Envoyé : mercredi 10 janvier 2007 21:03
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] Re: IFlexModule


There was an old version of the modules framework from the original creator
(it was just a thought) it's probably not the problem.

Ok so your pc.. On another post here i asked to take a look to make sure
that the module framework is indeed where it is supposed to be.

The fact you where able to create a new app with no module reference is a
direction. I'm not sure where apache comes into play here.

you should not have both eclipse and flex builder unless your using eclipse
for something else. Flex builder uses eclipse so there could be an
incompatibility between the version flex builder is installing and the
version 3.2.

If you wish to use flex with eclipse 3.2 you should install the plug-in not
flex builder.

Does this make sense or am i wrong in assuming this as your case. Do you
have both eclipse 3.2 and flex builder 2.01 installed?

If so; this is most likely the root of the problem. If not.. well we'll keep
witling it down.

again just thinking out loud here..

jason

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Greg Morphis
Envoyé : mercredi 10 janvier 2007 20:55
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Re: IFlexModule

Thanks Jason for the help.
I'm on a PC..
I was able to create a new project, add an HBox and Label and run it
as a Flex Application.
What do you mean by "older version"? Older version of what?
I downloaded the Flex Builder 2.0.1 install file and Eclipse 3.2 on
Apache Tomcat server.

On 1/10/07, Jason Hawryluk <[EMAIL PROTECTED]> wrote:
> Judging from the error I would think that perhaps your using an older
> version or the modules or your existing project before the update was
> referencing the older modules framework. If this is the case there may
have
> been changes between the older version and the release version that are
> causing you grief. The fact that your project is failing on IFlexModule
> leads me to this.
>
> Again excuse if off the mark.
>
> Jason
>
>
>
> -Message d'origine-
> De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
> part de Greg Morphis
> Envoyé : mercredi 10 janvier 2007 19:20
> À : flexcoders@yahoogroups.com
> Objet : Re: [flexcoders] Re: IFlexModule
>
>
> Severity and Description Path Resource Location Creation Time Id
> 1023: Incompatible override. aopscheduler line 11 1168453153048 2221
> 1120: Access of undefined property IFlexModule. aopscheduler line
> 22 1168453153048 
> 1144: Interface method create in namespace mx.core:IFlexModuleFactory
> is implemented with an incompatible signature in class
> _index_mx_managers_SystemManager. aopscheduler line
> 7 1168453153063 2224
> 1172: Definition mx.binding:RepeaterComponentWatcher could not be
> found. aopscheduler line 16 1168453155423 2226
> 1172: Definition mx.core:IFlexModule could not be
> found. aopscheduler line 6 1168453153063 2225
> 1180: Call to a possibly undefined method
> IFlexModule. aopscheduler line 24 1168453153063 2223
>
> On 1/10/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> > Okay I'm fed up
> > I removed Flex Builder 2 entirely, the newly installed 2.0.1 and the
> > older installed 2, and I removed FDS2 also... I just reinstalled
> > Eclipse (unzipped the WTP zip file to the C: drive) and just ran the
> > FB2.0.1 installer. I chose default options for both questions.
> > Before going any further I wanted to test it.. so I started Eclipse
> > and guess what? There's the error!!
> >
> > On 1/10/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> > > It screwed up my old install of FB2.0/Eclipse3.1... I decided to go
> > > back to using that temporarily, so I loaded up Eclipse3.1, the
> > > Navigator view was empty!
> > > I right clicked, chose Import and chose my workspace. My projects were
> > > present in the dialog and were all checked. I hit finish and was told
> > > the projects existed.. If they did, I couldn't see them in the
> > > Navigator view...
> > > This sucks Adobe.. sucks
> > >
> > > On 1/10/07, Tom Sobut <[EMAIL PROTECTED]> wrote:
> > > > I'm having the same problem...
> > > >

RE: [flexcoders] Re: IFlexModule

2007-01-10 Thread Jason Hawryluk
There was an old version of the modules framework from the original creator
(it was just a thought) it's probably not the problem.

Ok so your pc.. On another post here i asked to take a look to make sure
that the module framework is indeed where it is supposed to be.

The fact you where able to create a new app with no module reference is a
direction. I'm not sure where apache comes into play here.

you should not have both eclipse and flex builder unless your using eclipse
for something else. Flex builder uses eclipse so there could be an
incompatibility between the version flex builder is installing and the
version 3.2.

If you wish to use flex with eclipse 3.2 you should install the plug-in not
flex builder.

Does this make sense or am i wrong in assuming this as your case. Do you
have both eclipse 3.2 and flex builder 2.01 installed?

If so; this is most likely the root of the problem. If not.. well we'll keep
witling it down.

again just thinking out loud here..

jason



-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Greg Morphis
Envoyé : mercredi 10 janvier 2007 20:55
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Re: IFlexModule


Thanks Jason for the help.
I'm on a PC..
I was able to create a new project, add an HBox and Label and run it
as a Flex Application.
What do you mean by "older version"? Older version of what?
I downloaded the Flex Builder 2.0.1 install file and Eclipse 3.2 on
Apache Tomcat server.

On 1/10/07, Jason Hawryluk <[EMAIL PROTECTED]> wrote:
> Judging from the error I would think that perhaps your using an older
> version or the modules or your existing project before the update was
> referencing the older modules framework. If this is the case there may
have
> been changes between the older version and the release version that are
> causing you grief. The fact that your project is failing on IFlexModule
> leads me to this.
>
> Again excuse if off the mark.
>
> Jason
>
>
>
> -Message d'origine-
> De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
> part de Greg Morphis
> Envoyé : mercredi 10 janvier 2007 19:20
> À : flexcoders@yahoogroups.com
> Objet : Re: [flexcoders] Re: IFlexModule
>
>
> Severity and Description Path Resource Location Creation Time Id
> 1023: Incompatible override. aopscheduler line 11 1168453153048 2221
> 1120: Access of undefined property IFlexModule. aopscheduler line
> 22 1168453153048 
> 1144: Interface method create in namespace mx.core:IFlexModuleFactory
> is implemented with an incompatible signature in class
> _index_mx_managers_SystemManager. aopscheduler line
> 7 1168453153063 2224
> 1172: Definition mx.binding:RepeaterComponentWatcher could not be
> found. aopscheduler line 16 1168453155423 2226
> 1172: Definition mx.core:IFlexModule could not be
> found. aopscheduler line 6 1168453153063 2225
> 1180: Call to a possibly undefined method
> IFlexModule. aopscheduler line 24 1168453153063 2223
>
> On 1/10/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> > Okay I'm fed up
> > I removed Flex Builder 2 entirely, the newly installed 2.0.1 and the
> > older installed 2, and I removed FDS2 also... I just reinstalled
> > Eclipse (unzipped the WTP zip file to the C: drive) and just ran the
> > FB2.0.1 installer. I chose default options for both questions.
> > Before going any further I wanted to test it.. so I started Eclipse
> > and guess what? There's the error!!
> >
> > On 1/10/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> > > It screwed up my old install of FB2.0/Eclipse3.1... I decided to go
> > > back to using that temporarily, so I loaded up Eclipse3.1, the
> > > Navigator view was empty!
> > > I right clicked, chose Import and chose my workspace. My projects were
> > > present in the dialog and were all checked. I hit finish and was told
> > > the projects existed.. If they did, I couldn't see them in the
> > > Navigator view...
> > > This sucks Adobe.. sucks
> > >
> > > On 1/10/07, Tom Sobut <[EMAIL PROTECTED]> wrote:
> > > > I'm having the same problem...
> > > >
> > > > In the 2.0.1 install instructions for the Mac, Adobe instructs that
> it's necessary to "refresh
> > > > the workspace by using the -clean option". I followed the links in
the
> instructions and did
> > > > a refresh in a terminal session by entering:
> > > >
> > > > /Applications/eclipse/eclipse -clean &
> > > >
> > > > That did seem to run. Problem still exists.
> > > >
> > > > I can compile wi

RE: [flexcoders] Re: IFlexModule

2007-01-10 Thread Jason Hawryluk
Could you if verify that the files exist in your application directory (not
sure with mac)

Yourpath\Flex Builder 2\Flex SDK 2\frameworks\source\mx\core”

FlexModuleFactory.as
IFlexModuleFactory.as
IFlexModule.as

And are you both trying this with eclipse 3.2? I’m thinking that if you both
upgraded to the 3.2 even if you uninstall there may be the java files that
are not compatible with flex on mac just a guess of course.

I really have no idea here just throwing out thoughts as they come to me to
try and pin point a direction, please bear with me.

Jason

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Tom Sobut
Envoyé : mercredi 10 janvier 2007 20:31
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Re: IFlexModule


My compile errors looked a bit different. I created a new project folder
named Test201.
Added an HBox and a Button. Compiled. Here are my compile errors:

Severity and Description Path Resource Location Creation Time
Id
1144: Interface method create in namespace mx.core:IFlexModuleFactory is
implemented
with an incompatible signature in class _Test201_mx_managers_SystemManager.
Test201 line 7 1168442502096 13267
1144: Interface method create in namespace mx.core:IFlexModuleFactory is
implemented
with an incompatible signature in class _Test201_mx_managers_SystemManager.
Test201 line 7 1168442502093 13266
1023: Incompatible override. Test201 line 11 1168442502088
13265
--- In flexcoders@yahoogroups.com, "Greg Morphis" <[EMAIL PROTECTED]> wrote:
>
> Severity and Description Path Resource Location Creation Time
Id
> 1023: Incompatible override. aopscheduler line 11 1168453153048
2221
> 1120: Access of undefined property IFlexModule. aopscheduler
line
> 22 1168453153048 
> 1144: Interface method create in namespace mx.core:IFlexModuleFactory
> is implemented with an incompatible signature in class
> _index_mx_managers_SystemManager. aopscheduler line
> 7 1168453153063 2224
> 1172: Definition mx.binding:RepeaterComponentWatcher could not be
> found. aopscheduler line 16 1168453155423 2226
> 1172: Definition mx.core:IFlexModule could not be
> found. aopscheduler line 6 1168453153063 2225
> 1180: Call to a possibly undefined method
> IFlexModule. aopscheduler line 24 1168453153063
2223
>
>
> On 1/10/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> > Okay I'm fed up
> > I removed Flex Builder 2 entirely, the newly installed 2.0.1 and the
> > older installed 2, and I removed FDS2 also... I just reinstalled
> > Eclipse (unzipped the WTP zip file to the C: drive) and just ran the
> > FB2.0.1 installer. I chose default options for both questions.
> > Before going any further I wanted to test it.. so I started Eclipse
> > and guess what? There's the error!!
> >
> > On 1/10/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> > > It screwed up my old install of FB2.0/Eclipse3.1... I decided to go
> > > back to using that temporarily, so I loaded up Eclipse3.1, the
> > > Navigator view was empty!
> > > I right clicked, chose Import and chose my workspace. My projects were
> > > present in the dialog and were all checked. I hit finish and was told
> > > the projects existed.. If they did, I couldn't see them in the
> > > Navigator view...
> > > This sucks Adobe.. sucks
> > >
> > > On 1/10/07, Tom Sobut <[EMAIL PROTECTED]> wrote:
> > > > I'm having the same problem...
> > > >
> > > > In the 2.0.1 install instructions for the Mac, Adobe instructs that
it's necessary to
"refresh
> > > > the workspace by using the -clean option". I followed the links in
the
instructions and did
> > > > a refresh in a terminal session by entering:
> > > >
> > > > /Applications/eclipse/eclipse -clean &
> > > >
> > > > That did seem to run. Problem still exists.
> > > >
> > > > I can compile without errors back in my 2.0 beta copy which I kept
(just in case).
> > > >
> > > > Something's wrong inside the black box.
> > > >
> > > > Hope someone can help here.
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Greg Morphis"  wrote:
> > > > >
> > > > > I downloaded Eclipse 3.2 (the all in one wtp package), Flex 2.0.1.
I
> > > > > did a clean install in new folders. Now when I open Eclipse and
open a
> > > > > project I'm getting some IFlexModule error.. I did a google search
and
> > > > > that didnt help much. Has anyone seen this error and know how to
fix
> > > > > it? It's getting on my nerves!
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> > > >
> > > >
> > > >
> > > >
> > >
> >
>








RE: [flexcoders] Re: IFlexModule

2007-01-10 Thread Jason Hawryluk
Are both of you on mac y/n?

jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Tom Sobut
Envoyé : mercredi 10 janvier 2007 20:31
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Re: IFlexModule


My compile errors looked a bit different. I created a new project folder
named Test201.
Added an HBox and a Button. Compiled. Here are my compile errors:

Severity and Description Path Resource Location Creation Time
Id
1144: Interface method create in namespace mx.core:IFlexModuleFactory is
implemented
with an incompatible signature in class _Test201_mx_managers_SystemManager.
Test201 line 7 1168442502096 13267
1144: Interface method create in namespace mx.core:IFlexModuleFactory is
implemented
with an incompatible signature in class _Test201_mx_managers_SystemManager.
Test201 line 7 1168442502093 13266
1023: Incompatible override. Test201 line 11 1168442502088
13265
--- In flexcoders@yahoogroups.com, "Greg Morphis" <[EMAIL PROTECTED]> wrote:
>
> Severity and Description Path Resource Location Creation Time
Id
> 1023: Incompatible override. aopscheduler line 11 1168453153048
2221
> 1120: Access of undefined property IFlexModule. aopscheduler
line
> 22 1168453153048 
> 1144: Interface method create in namespace mx.core:IFlexModuleFactory
> is implemented with an incompatible signature in class
> _index_mx_managers_SystemManager. aopscheduler line
> 7 1168453153063 2224
> 1172: Definition mx.binding:RepeaterComponentWatcher could not be
> found. aopscheduler line 16 1168453155423 2226
> 1172: Definition mx.core:IFlexModule could not be
> found. aopscheduler line 6 1168453153063 2225
> 1180: Call to a possibly undefined method
> IFlexModule. aopscheduler line 24 1168453153063
2223
>
>
> On 1/10/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> > Okay I'm fed up
> > I removed Flex Builder 2 entirely, the newly installed 2.0.1 and the
> > older installed 2, and I removed FDS2 also... I just reinstalled
> > Eclipse (unzipped the WTP zip file to the C: drive) and just ran the
> > FB2.0.1 installer. I chose default options for both questions.
> > Before going any further I wanted to test it.. so I started Eclipse
> > and guess what? There's the error!!
> >
> > On 1/10/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> > > It screwed up my old install of FB2.0/Eclipse3.1... I decided to go
> > > back to using that temporarily, so I loaded up Eclipse3.1, the
> > > Navigator view was empty!
> > > I right clicked, chose Import and chose my workspace. My projects were
> > > present in the dialog and were all checked. I hit finish and was told
> > > the projects existed.. If they did, I couldn't see them in the
> > > Navigator view...
> > > This sucks Adobe.. sucks
> > >
> > > On 1/10/07, Tom Sobut <[EMAIL PROTECTED]> wrote:
> > > > I'm having the same problem...
> > > >
> > > > In the 2.0.1 install instructions for the Mac, Adobe instructs that
it's necessary to
"refresh
> > > > the workspace by using the -clean option". I followed the links in
the
instructions and did
> > > > a refresh in a terminal session by entering:
> > > >
> > > > /Applications/eclipse/eclipse -clean &
> > > >
> > > > That did seem to run. Problem still exists.
> > > >
> > > > I can compile without errors back in my 2.0 beta copy which I kept
(just in case).
> > > >
> > > > Something's wrong inside the black box.
> > > >
> > > > Hope someone can help here.
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Greg Morphis"  wrote:
> > > > >
> > > > > I downloaded Eclipse 3.2 (the all in one wtp package), Flex 2.0.1.
I
> > > > > did a clean install in new folders. Now when I open Eclipse and
open a
> > > > > project I'm getting some IFlexModule error.. I did a google search
and
> > > > > that didnt help much. Has anyone seen this error and know how to
fix
> > > > > it? It's getting on my nerves!
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> > > >
> > > >
> > > >
> > > >
> > >
> >
>








RE: [flexcoders] Re: IFlexModule

2007-01-10 Thread Jason Hawryluk
Judging from the error I would think that perhaps your using an older
version or the modules or your existing project before the update was
referencing the older modules framework. If this is the case there may have
been changes between the older version and the release version that are
causing you grief. The fact that your project is failing on IFlexModule
leads me to this.

Again excuse if off the mark.

Jason



-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Greg Morphis
Envoyé : mercredi 10 janvier 2007 19:20
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Re: IFlexModule


Severity and Description Path Resource Location Creation Time Id
1023: Incompatible override. aopscheduler line 11 1168453153048 2221
1120: Access of undefined property IFlexModule. aopscheduler line
22 1168453153048 
1144: Interface method create in namespace mx.core:IFlexModuleFactory
is implemented with an incompatible signature in class
_index_mx_managers_SystemManager. aopscheduler line
7 1168453153063 2224
1172: Definition mx.binding:RepeaterComponentWatcher could not be
found. aopscheduler line 16 1168453155423 2226
1172: Definition mx.core:IFlexModule could not be
found. aopscheduler line 6 1168453153063 2225
1180: Call to a possibly undefined method
IFlexModule. aopscheduler line 24 1168453153063 2223

On 1/10/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> Okay I'm fed up
> I removed Flex Builder 2 entirely, the newly installed 2.0.1 and the
> older installed 2, and I removed FDS2 also... I just reinstalled
> Eclipse (unzipped the WTP zip file to the C: drive) and just ran the
> FB2.0.1 installer. I chose default options for both questions.
> Before going any further I wanted to test it.. so I started Eclipse
> and guess what? There's the error!!
>
> On 1/10/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> > It screwed up my old install of FB2.0/Eclipse3.1... I decided to go
> > back to using that temporarily, so I loaded up Eclipse3.1, the
> > Navigator view was empty!
> > I right clicked, chose Import and chose my workspace. My projects were
> > present in the dialog and were all checked. I hit finish and was told
> > the projects existed.. If they did, I couldn't see them in the
> > Navigator view...
> > This sucks Adobe.. sucks
> >
> > On 1/10/07, Tom Sobut <[EMAIL PROTECTED]> wrote:
> > > I'm having the same problem...
> > >
> > > In the 2.0.1 install instructions for the Mac, Adobe instructs that
it's necessary to "refresh
> > > the workspace by using the -clean option". I followed the links in the
instructions and did
> > > a refresh in a terminal session by entering:
> > >
> > > /Applications/eclipse/eclipse -clean &
> > >
> > > That did seem to run. Problem still exists.
> > >
> > > I can compile without errors back in my 2.0 beta copy which I kept
(just in case).
> > >
> > > Something's wrong inside the black box.
> > >
> > > Hope someone can help here.
> > >
> > > --- In flexcoders@yahoogroups.com, "Greg Morphis" <[EMAIL PROTECTED]>
wrote:
> > > >
> > > > I downloaded Eclipse 3.2 (the all in one wtp package), Flex 2.0.1. I
> > > > did a clean install in new folders. Now when I open Eclipse and open
a
> > > > project I'm getting some IFlexModule error.. I did a google search
and
> > > > that didnt help much. Has anyone seen this error and know how to fix
> > > > it? It's getting on my nerves!
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > 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
> > >
> > >
> > >
> > >
> >
>







RE: [flexcoders] Re: IFlexModule

2007-01-10 Thread Jason Hawryluk
Are you using an older version of the flash player per chance?

I’m assuming you’ve done a clean on the project(s)?

Could it be that there is a trace of the project(s) config?

If you close all projects, and create a brand new project with just the
application + a control; does the problem persist?


Have you already installed an older version of the modules framework before
this release? From the originators blog perhaps.


Excuse if I’m off the mark. I understand your frustration, and wish to try
and help…


Jason

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Greg Morphis
Envoyé : mercredi 10 janvier 2007 19:20
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Re: IFlexModule


Severity and Description Path Resource Location Creation Time Id
1023: Incompatible override. aopscheduler line 11 1168453153048 2221
1120: Access of undefined property IFlexModule. aopscheduler line
22 1168453153048 
1144: Interface method create in namespace mx.core:IFlexModuleFactory
is implemented with an incompatible signature in class
_index_mx_managers_SystemManager. aopscheduler line
7 1168453153063 2224
1172: Definition mx.binding:RepeaterComponentWatcher could not be
found. aopscheduler line 16 1168453155423 2226
1172: Definition mx.core:IFlexModule could not be
found. aopscheduler line 6 1168453153063 2225
1180: Call to a possibly undefined method
IFlexModule. aopscheduler line 24 1168453153063 2223

On 1/10/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> Okay I'm fed up
> I removed Flex Builder 2 entirely, the newly installed 2.0.1 and the
> older installed 2, and I removed FDS2 also... I just reinstalled
> Eclipse (unzipped the WTP zip file to the C: drive) and just ran the
> FB2.0.1 installer. I chose default options for both questions.
> Before going any further I wanted to test it.. so I started Eclipse
> and guess what? There's the error!!
>
> On 1/10/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> > It screwed up my old install of FB2.0/Eclipse3.1... I decided to go
> > back to using that temporarily, so I loaded up Eclipse3.1, the
> > Navigator view was empty!
> > I right clicked, chose Import and chose my workspace. My projects were
> > present in the dialog and were all checked. I hit finish and was told
> > the projects existed.. If they did, I couldn't see them in the
> > Navigator view...
> > This sucks Adobe.. sucks
> >
> > On 1/10/07, Tom Sobut <[EMAIL PROTECTED]> wrote:
> > > I'm having the same problem...
> > >
> > > In the 2.0.1 install instructions for the Mac, Adobe instructs that
it's necessary to "refresh
> > > the workspace by using the -clean option". I followed the links in the
instructions and did
> > > a refresh in a terminal session by entering:
> > >
> > > /Applications/eclipse/eclipse -clean &
> > >
> > > That did seem to run. Problem still exists.
> > >
> > > I can compile without errors back in my 2.0 beta copy which I kept
(just in case).
> > >
> > > Something's wrong inside the black box.
> > >
> > > Hope someone can help here.
> > >
> > > --- In flexcoders@yahoogroups.com, "Greg Morphis" <[EMAIL PROTECTED]>
wrote:
> > > >
> > > > I downloaded Eclipse 3.2 (the all in one wtp package), Flex 2.0.1. I
> > > > did a clean install in new folders. Now when I open Eclipse and open
a
> > > > project I'm getting some IFlexModule error.. I did a google search
and
> > > > that didnt help much. Has anyone seen this error and know how to fix
> > > > it? It's getting on my nerves!
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > 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
> > >
> > >
> > >
> > >
> >
>







RE: [flexcoders] Prevent DataGrid itemClick event from launching with header click

2007-01-10 Thread Jason Hawryluk
You could try an event.preventDefault(); you would have to be able to
identify the event to know if you want it to pass or not.

jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de pdflibpilot
Envoyé : mercredi 10 janvier 2007 14:22
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Prevent DataGrid itemClick event from launching with
header click


I have a dataGrid that I have set an itemClick event to launch a popup
canvas as an editor for the line item clicked. The dataGrid is set to
"editable" but each column is set to noneditable to prevent the cell
from being edited directly.

Everything works well for the editing the line items however if I
click on a column header to sort it also launchs my itemClick event
(editor). How can I prevent this ??

Not having much luck trapping the event source since both header
clicks and line item clicks return the same event.target.







RE: [flexcoders] FileReference Upload Chunk The File into smaller chunks

2007-01-10 Thread Jason Hawryluk
I'm not sure about security implications, but I for one would love to see
some added functionality on the client side for the file reference classes
at least in flex if possible, though I'm sure it would mess up the flash
player more then anything.

A: A handle to the byte array before upload starts.

First thought benefits:
Compression
Possible to send in chunks (multipart upload)
Validation
Upload is not protocol specific (rpc possible [1])
Immediate access to data [2]

B: A binary type shared client object that can accept the file reference
(size = to size of file)

First thought benefits:
If upload is interrupted then restart at the same byte offset possible
Same for download

C: Multiple file download. [3]

[1]Not sure if this is already possible or not as I've been using soap for
file upload.

[2]If the user has committed to an upload why do the round trip in order to
manipulate it.Good for image resizing, manipulation, and any kind of file
pre processing.

[3]If access to the binary data was to be allowed then one could decompress
the file on the fly. The user would not require a decompression program. Or
if data is compressed a user could select particular files to download from
the compressed file. This should be just using a folder dialog, as apposed
to a file dialog.

That said I'm sure Adobe has a particular reasoning behind the decision not
to allow these things. These couple things would just make it more of a
feature rich part of the experience.

Jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Merrill, Jason
Envoye : mercredi 10 janvier 2007 13:11
A : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] FileReference Upload Chunk The File into smaller
chunks


>>I need to split the file the user wants to upload into smaller chunks.
>>Is this possible within the confines of the FileReference object?

>From my experience with the FileReference, no - there are no methods to do
partial binary streams.

Jason Merrill
Bank of America
Learning & Organizational Effectiveness










RE: [flexcoders] Some help with a concept im working with

2007-01-04 Thread Jason Hawryluk
Correction sry, forgot the 'r' oops

jason dot hawryluk at 3gcomm dot fr

cherrs

jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Jason Hawryluk
  Envoyé : jeudi 4 janvier 2007 08:51
  À : flexcoders@yahoogroups.com
  Objet : RE: [flexcoders] Some help with a concept im working with



  I may have a solution for you. Email me off list.

  jason dot hawyluk at 3gcomm dot fr

  Jason

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de flashman1357
Envoyé : mercredi 3 janvier 2007 10:35
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Some help with a concept im working with


Hello all! Firstly let me start off by saying my knowledge of flex is
fairly limited - but my knowledge of flash and AS are as i would
describe as intermediate/advanced. Before i get into it - i just want
to make clear to everyone that, no - im not trying to phish for
someone to do this for me, i very much would like to learn for
myself, i just need direction! lol. So any thoughts, suggestions,
tactics! i would greatly appreciate it all!

I am trying to create an app for a community im involved with in
which we produce a monthly eZine. We have a team of some 20-30 people
working on different articles and content. What I am trying to
accomplish is build a very superficial CMS in essence. An online app
where firstly, the editor can specifiy the content for the upcomming
month (i.e what needs to be done) the team members may then submit
their articles and so forth for each section specified by the editor,
and finally where I (the publisher in this case) can view each piece
to finally compose a finished eZine. All this - each month!

Here is a little of my thought proccess.

Start with a Login screen. This is where i would split up the various
roles, allowing access to different parts of the app depending on
their role. The editor would be able to go the an admin section
where, each month, she may specifiy which sections are going to be
included this month. The team would be able login to see what needs
to be done each month, sign up for it, do it, then submit it. And
where the publisher can view what should basically be a summary of
the content submitted both thus far, and finally.

For the editor, I would have a list of all the possible sections that
could be included at any given time. Beside which would be a panel
with a list for what is to be included this month (i was thinking a
drag and drop from the list of possibles, over to the list of "to be
included") once she is satisfied with the content she has layed out,
she could hit save, and the list she dragged to ("to be included")
would be saved.

Team members would then see a list on the left with all the sections
needing to be done this month. Then some sort of system...be it color
coded, tick box, something to allow people to see what is being done,
whats completed, and what needs to yet be done, as well as what
has/has not been proofed by the checkers (explain about them later).
Perhaps when an item on the list is selected on the right it would
load up a few things: at the top a tick box reading "proof read"
(that only the checker role would be able to modify, but all could
see) if no one is yet signed up to do the selected item, there would
be a button they could sign up, which (based on their login name)
would assing them to that article and the article would then only
display who is doing it, not the button. and then a text box for
copy/pasting or typing in the article, and a field for uploading
images for the article. They could then save it. If the article has
no one assigned to it, the text box would be greyed out, and if
someone is viewing it that is not assigned to be doing it, they can
only read - not modify. (unless they are a checker).

Checkers would be able to modify all the articles, as well as sign
off on the article, by ticking the check box (perhaps adding their
name beside it so we know who proof read it, maybe not), as well as
apply to do articles themselves.

Publisher, would be able to login and have a summary button in which
all the content is compiled into one long document broken down by
headings so i know what is what, and can then bring into inDesign for
publishing.

Now, i know this is not a simple undertaking - and I have been
fiddling with ideas and what not. I was toying with text files, or
xml, all of which i have pretty much ruled out - not to mention the
fact i have had no luck with roles and such with a login, other than
by declairing simple "if" statements. Not ideal by any means. I have
managed to get a si

RE: [flexcoders] Some help with a concept im working with

2007-01-03 Thread Jason Hawryluk
I may have a solution for you. Email me off list.

jason dot hawyluk at 3gcomm dot fr

Jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de flashman1357
  Envoyé : mercredi 3 janvier 2007 10:35
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Some help with a concept im working with


  Hello all! Firstly let me start off by saying my knowledge of flex is
  fairly limited - but my knowledge of flash and AS are as i would
  describe as intermediate/advanced. Before i get into it - i just want
  to make clear to everyone that, no - im not trying to phish for
  someone to do this for me, i very much would like to learn for
  myself, i just need direction! lol. So any thoughts, suggestions,
  tactics! i would greatly appreciate it all!

  I am trying to create an app for a community im involved with in
  which we produce a monthly eZine. We have a team of some 20-30 people
  working on different articles and content. What I am trying to
  accomplish is build a very superficial CMS in essence. An online app
  where firstly, the editor can specifiy the content for the upcomming
  month (i.e what needs to be done) the team members may then submit
  their articles and so forth for each section specified by the editor,
  and finally where I (the publisher in this case) can view each piece
  to finally compose a finished eZine. All this - each month!

  Here is a little of my thought proccess.

  Start with a Login screen. This is where i would split up the various
  roles, allowing access to different parts of the app depending on
  their role. The editor would be able to go the an admin section
  where, each month, she may specifiy which sections are going to be
  included this month. The team would be able login to see what needs
  to be done each month, sign up for it, do it, then submit it. And
  where the publisher can view what should basically be a summary of
  the content submitted both thus far, and finally.

  For the editor, I would have a list of all the possible sections that
  could be included at any given time. Beside which would be a panel
  with a list for what is to be included this month (i was thinking a
  drag and drop from the list of possibles, over to the list of "to be
  included") once she is satisfied with the content she has layed out,
  she could hit save, and the list she dragged to ("to be included")
  would be saved.

  Team members would then see a list on the left with all the sections
  needing to be done this month. Then some sort of system...be it color
  coded, tick box, something to allow people to see what is being done,
  whats completed, and what needs to yet be done, as well as what
  has/has not been proofed by the checkers (explain about them later).
  Perhaps when an item on the list is selected on the right it would
  load up a few things: at the top a tick box reading "proof read"
  (that only the checker role would be able to modify, but all could
  see) if no one is yet signed up to do the selected item, there would
  be a button they could sign up, which (based on their login name)
  would assing them to that article and the article would then only
  display who is doing it, not the button. and then a text box for
  copy/pasting or typing in the article, and a field for uploading
  images for the article. They could then save it. If the article has
  no one assigned to it, the text box would be greyed out, and if
  someone is viewing it that is not assigned to be doing it, they can
  only read - not modify. (unless they are a checker).

  Checkers would be able to modify all the articles, as well as sign
  off on the article, by ticking the check box (perhaps adding their
  name beside it so we know who proof read it, maybe not), as well as
  apply to do articles themselves.

  Publisher, would be able to login and have a summary button in which
  all the content is compiled into one long document broken down by
  headings so i know what is what, and can then bring into inDesign for
  publishing.

  Now, i know this is not a simple undertaking - and I have been
  fiddling with ideas and what not. I was toying with text files, or
  xml, all of which i have pretty much ruled out - not to mention the
  fact i have had no luck with roles and such with a login, other than
  by declairing simple "if" statements. Not ideal by any means. I have
  managed to get a simple upload script working - nothing exciting
  there, nor entirely usefull at this point.

  I am using this as a method for me to learn, becase i learn by
  jumping in at the deep end. And to be completly honest - up to this
  point i have been slightly regretting the afformentioned metophor. If
  anyone has any idea, or better yet! the drive and enthusiasm to team
  up with me on this, I couldnt be happier. Anything anyone can offer
  would be great! After all, im floundering here! Cheers everyone - and
  thanks for staying with me up till now.

 

RE: [flexcoders] AddChild() Exceptions

2006-11-02 Thread Jason Hawryluk
I'm having the exact same type of problem swapping containers in a
TabNavigator using this type of command

main.setChildIndex(main.getChildAt(2),1);

The behind code seems to choke on the getChildAt of the container.


I had the some index problems on other things with this component and for
that one found that using callLater solved part of it. Perhaps you could
give that a try, failing that if you find a simple answer to your problem I’
d be interested in hearing about your solution. I’ll do likewise if I find a
solution to the current index problem.

Anyway Frustrating to say the least.

jason





-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Ciarán
Envoyé : jeudi 2 novembre 2006 14:29
À : flexcoders@yahoogroups.com
Objet : [flexcoders] AddChild() Exceptions


Hi All,

I'm having a slight problem building a custom component. The basic
idea is a combination of a primary image container, and a Tile()
container providing a selection of images. When selected, each image
would appear as a primary image.

This sounds tediously simple. I'm implementing it upon the principle
that a change event is broadcast when a setter is called, which has a
registered listener that updates the component. It attempts to replace
the at index 0.

The annoying thing is that if I implement this from a vanilla
perspective (blank text file), it works fine (making things much
harder to debug since I can't reproduce the behaviour) - however in
the context of the application I'm developing, it throws an exception:

RangeError: Error #2006: The supplied index is out of bounds.
at flash.display::DisplayObjectContainer/getChildAt()
at
mx.core::Container/getChildAt()[C:\dev\GMC\sdk\frameworks\mx\core\Container.
as:2384]
at
mx.core::UIComponent/notifyStyleChangeInChildren()[C:\dev\GMC\sdk\frameworks
\mx\core\UIComponent.as:7099]
at
mx.core::Container/mx.core:Container::commitProperties()[C:\dev\GMC\sdk\fram
eworks\mx\core\Container.as:2680]
at
mx.core::UIComponent/validateProperties()[C:\dev\GMC\sdk\frameworks\mx\core\
UIComponent.as:5218]
at
mx.managers::LayoutManager/mx.managers:LayoutManager::validateProperties()[C
:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:517]
at
mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation(
)[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:628]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\GMC\
sdk\frameworks\mx\core\UIComponent.as:7789]
at
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\GMC\s
dk\frameworks\mx\core\UIComponent.as:7732]

This happens when the addChildAt() method gets called. Without
divulging context, is there any obvious reason why I'm getting this
exception? I've been battling this for hours now and it won't yield.
If I'm not doing something incredibly stupid that would cause this,
please let me know.

Intuitively, it seems like the addChild() is triggering something at
the wrong moment in time, giving something similar to an "Array out
of bounds" as it looks for stuff to render. I understand most of the
trace atomically speaking, but on the whole I have no idea how to
remedy it.

Also, I have an annoying problem with Flexbuilder. Breakpoints dont
seem to work for me at all. I can't find any setting that implies this
might've been turned off, so I'm not sure what to do about it. Perhaps
find the checkbox that says "Don't work properly" and untick it.

Any clues would be much appreciated =)

Kind Regards,

Ciarán






--
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] Bin folder removed - how to restore

2006-10-09 Thread Jason Hawryluk





Try re 
starting Flex builder, and then clean again.
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Sönke RohdeEnvoyé : lundi 9 octobre 2006 
  11:54À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Bin folder removed - how to restore
  
  
  that worked, thanks.
  anyway I still have the problem that my changes to mxml 
  are not in the new compiled version? I still see an older 
  version.
  How do I force to compile the new 
one?
   
  Thanks,
  Sönke
  


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jason 
HawrylukSent: Monday, October 09, 2006 11:43 AMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Bin 
folder removed - how to restore

Project-Clean
 

  -Message d'origine-De : 
  [EMAIL PROTECTED]ups.com 
  [mailto:flexcoders@yahoogroups.com]De la part de Sönke 
  RohdeEnvoyé : lundi 9 octobre 2006 
  11:32À : 
  [EMAIL PROTECTED]ups.comObjet : [flexcoders] Bin 
  folder removed - how to restore
  
  Hi,I had a problem that I recompiled my application but changes 
  where notvisible.So I decided to remove the contents of the bin 
  (output) folder to let Flexcompile all new.Now when I try to Run 
  or Debug I get the error message that the html-filesis missing which 
  is of course true because I removed it.How do I make Flex to build 
  all new and to recreate the contents of the 
  binfolder?Thanks,Sönke
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



RE: [flexcoders] Bin folder removed - how to restore

2006-10-09 Thread Jason Hawryluk





Project-Clean
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Sönke RohdeEnvoyé : lundi 9 octobre 2006 
  11:32À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Bin folder removed - how to restore
  
  Hi,I had a problem that I recompiled my application but changes 
  where notvisible.So I decided to remove the contents of the bin 
  (output) folder to let Flexcompile all new.Now when I try to Run or 
  Debug I get the error message that the html-filesis missing which is of 
  course true because I removed it.How do I make Flex to build all new 
  and to recreate the contents of the 
  binfolder?Thanks,Sönke
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



RE: [flexcoders] READ THIS: Startup Needs Flex Architect/Developer ASAP!

2006-10-06 Thread Jason Hawryluk





How do 
i run the demo opening does not run it...
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Dima UlichEnvoyé : vendredi 6 octobre 2006 
  10:25À : flexcoders@yahoogroups.comObjet : Re: 
  [flexcoders] READ THIS: Startup Needs Flex Architect/Developer 
  ASAP!
  
  
  
  Here 
  is the demo.  Let me know what you think about it. I didn't have much 
  time so it's a fast made demo. No nice skinning, just for functionality. 

  I 
  think flex is so flexible so you can do lot's and lot's of cool things with 
  it. I hope you like what I did. 
   
  Dmitriy
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



RE: [flexcoders] Re: how to cancel down arrow on a combobox

2006-09-10 Thread Jason Hawryluk





oh; 
sorry i though it might be about the same. No Flex1.5 here.
 
 
Jason
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de shemeshkaleEnvoyé : dimanche 10 septembre 2006 
  11:21À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Re: how to cancel down arrow on a combobox
  
  Jason, tnx.it seems pretty easy, BUT!!!i m using flex 1.5 
  !tried the preventDefault() but its not working 
  here.?--- In [EMAIL PROTECTED]ups.com, 
  "Jason Hawryluk" <[EMAIL PROTECTED]> wrote:>> Listen to the key 
  events and prevent the default> > Paste below in a new 
  application to test> > > 
  > > > > "{ComboDS.children()}" 
  labelField="@label"> keyUp="DisableKey(event);" 
  keyDown="DisableKey(event);" />> > hope this 
  helps> > Jason
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



RE: [flexcoders] Re: how to cancel down arrow on a combobox

2006-09-10 Thread Jason Hawryluk





Listen 
to the key events and prevent the default
 
Paste 
below in a new application to test
 
 
 

 
hope this helps
 
Jason
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de shemeshkaleEnvoyé : dimanche 10 septembre 2006 
  09:01À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Re: how to cancel down arrow on a combobox
  
  anyone have an idea how to do this?--- In [EMAIL PROTECTED]ups.com, 
  "shemeshkale" ...> wrote:>> hello> 
  i m using FLEX 1.5 !!> the ComboBox have a default behavior that when 
  pressing the down/up> arrows it selects the next/previous object in its 
  list.> > how do i cancel this behavior???> > i 
  need that arrow down/up on a ComboBox will do NOTHING !!> 
  how?>
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] switch (expression)? I think not

2006-07-16 Thread Jason Hawryluk
not sure of the reason but could be a type casting problem.

try

switch (MyType([EMAIL PROTECTED]))

jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de ben.clinkinbeard
Envoyé : lundi 17 juillet 2006 05:17
À : flexcoders@yahoogroups.com
Objet : [flexcoders] switch (expression)? I think not


Posting this mostly for reference in case anyone else spends 30
minutes uttering WTF over and over... Although the documentation for
the switch statement purports to accept "any expression", that is most
certainly not the case. See below.

// will always fall through to the default case.
switch ([EMAIL PROTECTED])

// will work as expected
var myVar:MyType = [EMAIL PROTECTED];
switch (myVar)

Is there a valid reason for this behavior?

Ben







 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




RE: [flexcoders] Re: WebORB for .net beta5: feedback

2006-07-13 Thread Jason Hawryluk





I'm 
about to start trying it out. So I’ll post me experiences as 
well.
 
Jason
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Jonas WindeyEnvoyé : jeudi 13 juillet 2006 
  12:02À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Re: WebORB for .net beta5: feedback
  
  
  
  Hi 
  Tim,
  
  Well, my first 
  impression is that it’s pretty complex, at least a lot more complex than just 
  creating ASP.NET Web services and calling them from 
  flex.
  Apparently you need 
  to place all your remote methods in xml config files. Etc. The tutorials from 
  http://www.themidnightcoders.com/articles/datamanagement-part3.htm 
  help a lot, but it’s still a huge change, also in the way of thinking. (eg 
  updating data with the sync methods, changeobjects etc). Also you use a lot 
  more databinding, whereas with web services you just fill your datagrid or 
  treeview with the data you receive, and in the case of an update, you will 
  probably use a web service too to update the current row. Here you just omit 
  your changes to your dataService, and he handles all the 
  rest.
  
  I think the Flex + 
  .NET + WebORB community is pretty small at the moment though, so it would be 
  nice of some gurus from this list play a bit with it like I’m doing right 
  now.
  
  Jonas
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: donderdag 13 juli 2006 
  11:32To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: WebORB for .net 
  beta5: feedback
  
  
  
  
  Hey 
  Jonas,Please let us know what your impressions of WebORB are after you 
  have had a chance to work with it a little. I'll be switching from 
  .NET WebServices to RemoteObject soon, so I would love to hear about your 
  experience.Thanks,Tim Hoff--- In [EMAIL PROTECTED]ups.com, 
  "Jonas Windey" <[EMAIL PROTECTED]> wrote:>> Ok, I forgot to read 
  my mails last night. Apparantly Mark Piler from> 
  themidnightcoders.com sent me a mail after noticing that I had 
  downloaded> the beta 5 (which had just been released), writing the 
  following:> > > > A quick workaround is to open 
  web.config from /Inetpub/wwwroot/weborb and> remove the 
  following two lines:> > > > > > > > > 
  > Please make sure that the closing tags for  and 
  > stay in the file (they are on the same line as 
  the BlueDragon reference).> > > > You can 
  always check if web.config is valid by opening the following URL:> 
  > http://localhost/weborb/examples/testsuite/client/testsuite.aspx> 
  > > > How nice is this? :-) I guess he must get a 
  notification every time someone> downloads his product, and check 
  if everything is working.> > > > So, I got the 
  Contact Manager sample working now, let's play around a bit.> 
  > > > Jonas>
  __ NOD32 1.1656 (20060712) 
  Information __This message was checked by NOD32 antivirus 
  system.http://www.eset.com
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] viewstack design pattern issue

2006-07-12 Thread Jason Hawryluk





Ok, 
thanks for clearing that stuff up, makes sense.
 
Jason
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de JesterXLEnvoyé : mercredi 12 juillet 2006 
  14:51À : flexcoders@yahoogroups.comObjet : Re: 
  [flexcoders] viewstack design pattern issue
  
  
  Well, either way, thanks for bringing it to my 
  attention.  I dig the low level things, and this is pretty cool to know 
  that it's that common across all UIComponents, in both 1.5 and 2.
   
  The TextInput thing I mentioned, I didn't 
  build.  I was using TextInputs everywhere, and my team members were like, 
  "Dude, what are you doing?".  They said to use one they built.  It 
  had basically 3 things; a specific look the client liked, made 2 events into 
  1, and maxChar as a public property.  There were 2 other minor 
  things.  I think the reason it was built was because the most common use 
  case was needing both enter & focusOut to fire update events, and since 
  they were using this in forms everywhere, they reduced a ton of code by 
  refactoring it this way.
   
  In Flex 1.5, yes, this has a cost.  
  Inheritance in Flash Player 8 and below has a cost, mainly because of the 
  inheritance chain and method lookups.  If a method is invoked, and it's 
  not on "you", it asks its parent class.  This chain lookup is 
  expensive.  So gregarious extending does cause performance 
  impacts.
   
  This problem doesn't exist in Flex 2 because of 
  the new traits object (vs. prototype).  So, now, it's more of a decision 
  of "should we use inteheritance" with no need to worry about performance 
  impacts.
   
  As far as consolidition, I think the above 
  example is extremely helpful.  We have a common use case for the control, 
  and it has a specific design, so yeah man, extending it for that simple reason 
  has helped a lot.  It's easier to handle the look in Flex 2 because CSS 
  is soo much cooler now.
   
  Well, yeah, the change thing is an issue.  
  However, I'm usually the one digging around in base classes.  I have to 
  the balls to know if I do one thing wrong, I've broken like 200 uses of the 
  control... so it better not be wrong!  Seriously, though, we do some 
  refactoring, but I think my boss & the rest of the team's early decisions 
  were good ones with forethought, so I havent' run into that problem too 
  much.
   
  Naw, thanks again for letting me know, 
  I had no clue that property existed.
   
  - Original Message - 
  From: Jason Hawryluk 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, July 12, 2006 3:02 AM
  Subject: RE: [flexcoders] viewstack design pattern 
  issue
  
  
  I didn't hear about 
  it, I just kind of came across it while working on a runtime xml double 
  binding solution for a future product. I tried various events but not worked 
  as well as that one. I only used  1.5 for about 2 months while I was 
  learning flex so can't comment on that one. Agreed that when you need 
  immediate updates it would not work, I guess everything has it's 
  limitations.
   
  Do you think (any 
  sorry for being off topic) that when you have the same events being used in 
  multiple controls of the same, type that it is better to refactor that into a 
  separate extended control? For example buttons on a menu. If they all use the 
  same style, height, language tags for tool tip, and text, and all call the 
  same command controller. I’ve been pondering this for a while, and though it 
  is easier to code, and cleaner to look at I thought it would bloat the final 
  product (I try not to go to far with regards to this stuff). What are your 
  experiences on this? 
  
  I’m thinking for 
  maintenance it has to be better, but if a little change is required on a 
  component that uses it, you can’t change that extended one, and would be 
  required to create another extended component, resulting in multiple extended 
  components all almost the same. I hope the question makes 
  sense.
  
  So to extend or not 
  to extend? :)
  
  back to 
  topic:
   
  I wasn’t questioning 
  your method here, just qualifying the way I do it, and found 
  myself questioning the methods I’d chosen after reading your 
  post.
   
  Jason
   
   
   -Message 
  d'origine- De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de JesterXLEnvoyé : mercredi 12 juillet 2006 
  02:02À : flexcoders@yahoogroups.comObjet : Re: 
  [flexcoders] viewstack design pattern issue
  

3 things.First, valueCommitted in Flex 1.5 does not always fire 
at the appropriate times. For example, it doesn't fire when you chang 
text in a TextInput field. Also, it doesn't fire when you hit the enter 
key. Sometimes, these are desirable events to set data. It only works 
for focusOut.So, using the default 

RE: [flexcoders] Explorer-like drag & drop tree

2006-07-12 Thread Jason Hawryluk






Also one last thing 
about the Delayedtimer.as The original was flex 1.5. The 
idea, and credit for it goes to someone else (not sure who) I think it was 
richinternet blog or something. I just made it work for flex 2.0 in a different 
context from the original. It is quite different though.
 
Credit where credit is 
due ;)
  
Jason
 
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Jason HawrylukEnvoyé : mercredi 12 juillet 2006 
  10:36À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Explorer-like drag & drop tree
  
  
  Forgot to mention how to see the effect.
   
  Drag 
  an item over any closed folder and it will open after a set period of time 
  (1sec)
   
  Jason
   
   
  
-Message d'origine-De : 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
de Jason HawrylukEnvoyé : mercredi 12 juillet 2006 
10:06À : flexcoders@yahoogroups.comObjet : 
RE: [flexcoders] Explorer-like drag & drop tree


I 
have a little support task to do first then i'll put it 
up.
 
:°
 
jason
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la 
  part de Jonas WindeyEnvoyé : mercredi 12 juillet 2006 
  09:45À : flexcoders@yahoogroups.comObjet : 
  RE: [flexcoders] Explorer-like drag & drop tree
  
  
  
  Cool, can’t wait. 
  I’ve now gotten so far that I can drag items on every node, but the only 
  thing I need to force now is that if you drag an item on a node on the 
  last level, it needs to be open for flex to allow dropping on 
  it.
  For now I’ll just 
  open every node in my tree in the initial state. That way at least it’s 
  working. 
  
  Now give me your 
  sample ;-)
  
  Jonas
  Lol <-> 
  Jason, we’re anagrammable
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason 
  HawrylukSent: dinsdag 11 
  juli 2006 23:55To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
  Explorer-like drag & drop tree
  
  
  
  
  
  I'm at home, and 
  it's late, but i'll put together a sample, and post it when i get back to 
  work ;)
  
  
  
  Jason
  
  
  
-Message 
d'origine-De : 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com]De la part de Pat 
BuchananEnvoyé : 
mardi 11 juillet 2006 22:58À : 
flexcoders@yahoogroups.comObjet : Re: [flexcoders] 
Explorer-like drag & drop tree


Jason:



Do you have an example of this for us 
current/future newbies?
    
    
    
Thanks! 

On 7/11/06, Jason Hawryluk <[EMAIL PROTECTED]> 
wrote: 






What I do is on 
dragover after a set time when over the folder i open it. The user 
is then free to drag into the folder.



If 
you want i can give you more details, if you think this would help solve 
your problem.



jason







  -Message 
  d'origine-De : flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]De la part de Jonas 
  WindeyEnvoyé : 
  mardi 11 juillet 2006 15:59 À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] 
  Explorer-like drag & drop tree 



Yea, go figure that every directory contains a 
dummy leaf. Wouldn't reallybe explorer-like wouldn't it 
:-)-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Tom 
ChivertonSent: dinsdag 11 juli 2006 15:33To: flexcoders@yahoogroups.comSubject: Re: 
[flexcoders] Explorer-like drag & drop tree On Tuesday 11 
July 2006 12:36, Jonas Windey wrote:> Since the directories in 
the deepest level won't ever have an open node,> this is 
impossible.If it really is the case that it needs an open node, 
just add a dummy child node.-- Tom 
ChivertonThis 
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 atSt James's Court Brown 
Street Manchester M2 2JF. A list of 
members isavailable for inspec

RE: [flexcoders] Explorer-like drag & drop tree

2006-07-12 Thread Jason Hawryluk





Found 
the original source (flex 1.5) for it. 
 
http://www.richinternet.de/blog/index.cfm?mode=entry&entry=71F7DA77-DE13-D55B-91A5E87F8040B02F
 
Thanks 
dirk, I make great use of it :)
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Jason HawrylukEnvoyé : mercredi 12 juillet 2006 
  10:36À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Explorer-like drag & drop tree
  
  
  Forgot to mention how to see the effect.
   
  Drag 
  an item over any closed folder and it will open after a set period of time 
  (1sec)
   
  Jason
   
   
  
-Message d'origine-De : 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
de Jason HawrylukEnvoyé : mercredi 12 juillet 2006 
10:06À : flexcoders@yahoogroups.comObjet : 
RE: [flexcoders] Explorer-like drag & drop tree


I 
have a little support task to do first then i'll put it 
up.
 
:°
 
jason
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la 
  part de Jonas WindeyEnvoyé : mercredi 12 juillet 2006 
  09:45À : flexcoders@yahoogroups.comObjet : 
  RE: [flexcoders] Explorer-like drag & drop tree
  
  
  
  Cool, can’t wait. 
  I’ve now gotten so far that I can drag items on every node, but the only 
  thing I need to force now is that if you drag an item on a node on the 
  last level, it needs to be open for flex to allow dropping on 
  it.
  For now I’ll just 
  open every node in my tree in the initial state. That way at least it’s 
  working. 
  
  Now give me your 
  sample ;-)
  
  Jonas
  Lol <-> 
  Jason, we’re anagrammable
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason 
  HawrylukSent: dinsdag 11 
  juli 2006 23:55To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
  Explorer-like drag & drop tree
  
  
  
  
  
  I'm at home, and 
  it's late, but i'll put together a sample, and post it when i get back to 
  work ;)
  
  
  
  Jason
  
  
  
-Message 
d'origine-De : 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com]De la part de Pat 
BuchananEnvoyé : 
mardi 11 juillet 2006 22:58À : 
flexcoders@yahoogroups.comObjet : Re: [flexcoders] 
Explorer-like drag & drop tree


Jason:



Do you have an example of this for us 
current/future newbies?
    


Thanks! 

On 7/11/06, Jason Hawryluk <[EMAIL PROTECTED]> 
wrote: 






What I do is on 
dragover after a set time when over the folder i open it. The user 
is then free to drag into the folder.



If 
you want i can give you more details, if you think this would help solve 
your problem.



jason







  -Message 
  d'origine-De : flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]De la part de Jonas 
  WindeyEnvoyé : 
  mardi 11 juillet 2006 15:59 À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] 
  Explorer-like drag & drop tree 



Yea, go figure that every directory contains a 
dummy leaf. Wouldn't reallybe explorer-like wouldn't it 
:-)-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Tom 
ChivertonSent: dinsdag 11 juli 2006 15:33To: flexcoders@yahoogroups.comSubject: Re: 
[flexcoders] Explorer-like drag & drop tree On Tuesday 11 
July 2006 12:36, Jonas Windey wrote:> Since the directories in 
the deepest level won't ever have an open node,> this is 
impossible.If it really is the case that it needs an open node, 
just add a dummy child node.-- Tom 
ChivertonThis 
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 atSt James's Court Brown 
Street Manchester M2 2JF. A list of 
members isavailable for inspection at the registered office. Any 
reference to a partner in relation to Halliwells LLP means a member 
of Halliwells LLP.Regulated by th

RE: [flexcoders] Explorer-like drag & drop tree (Delayed Open Example)

2006-07-12 Thread Jason Hawryluk





Here 
you guy's, gal's go don't forget to change the package location. I use this 
technique in allot of way's. Just let me know what you think ;) Code is below. 
The delayed class, and the sample use.
 
Cheers 

 
Jason
 
Begin: DelayedTimer.as
 
/** * This class provides a timer abstraction, and issues a 
callback to the  * desired function once the time event hit's. Create 
one instance for each * delayed timer you require * 
 * @langversion ActionScript 3.0 * @playerversion Flash 
8.5 * @tiptext *  **/ package 
com.vision.delayedTimer{  import 
flash.utils.Timer; import flash.events.Event; import 
flash.events.TimerEvent;   public class DelayedTimer 
extends Timer {private var 
_caller:Object;public function 
DelayedTimer  (){   //init the extended 
class   super(1000,1);}/**   
* getters and setters for the object passed   
**/  public function get 
caller():Object  {   return 
_caller;  }
 
  public function set 
caller(d:Object):void  {   _caller = 
d;  }   
/**   * Inicialize the timer for the delayed call   
*    * -Parameters   * @event = the event that set 
off this obejct   * @func = a function call to run   
* @caller = the actual object that called this object   * @delay = 
the delay in milliseconds between timer events   * @repeat = 
number of times to repeat 0= indefinit   *    * 
-verion   * @langversion ActionScript 3.0   * 
@playerversion Flash 8.5   * @tiptext   * 
   **/public function 
startDelayedTimer(event:Event,func:Function, 
callerin:Object=null,delay:Number=1000, repeat:uint=1):void 
{  if (func == 
null){return;} 
   if (caller 
!=null){caller=callerin;   }  if 
(caller != event.target){caller = 
event.target;if (running 
==true){ cancelDelayedTimer();} delay 
= 
delay;repeatCount=1;addEventListener(TimerEvent.TIMER,func);start();   } }/**   
* clean up the call and stop the running timer   * 
   * -verion   * @langversion ActionScript 
3.0   * @playerversion Flash 8.5   * 
@tiptext   **/public function 
cancelDelayedTimer():void{  if 
(running 
==true){_caller=null;stop();reset();   } } }  }
 

End: DelayedTimer.as
 
Begin: 
SampleDragDropOpen.mxml
 
http://www.adobe.com/2006/mxml" 
layout="absolute">
 
 
 
 
 
  id="XMLdc"/>dragEnabled="true" dataProvider="{XMLdc}" 
 dragMoveEnabled="true" dropEnabled="true" width="250" 
height="100%" 
/>  
 

End: 
SampleDragDropOpen.mxml
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Jason HawrylukEnvoyé : mercredi 12 juillet 2006 
  10:06À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Explorer-like drag & drop tree
  
  
  I 
  have a little support task to do first then i'll put it 
up.
   
  :°
   
  jason
   
  
-Message d'origine-De : 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
de Jonas WindeyEnvoyé : mercredi 12 juillet 2006 
09:45À : flexcoders@yahoogroups.comObjet : 
RE: [flexcoders] Explorer-like drag & drop tree



Cool, can’t wait. 
I’ve now gotten so far that I can drag items on every node, but the only 
thing I need to force now is that if you drag an item on a node on the last 
level, it needs to be open for flex to allow dropping on 
it.
For now I’ll just 
open every node in my tree in the initial state. That way at least it’s 
working. 

Now give me your 
sample ;-)

Jonas
Lol <-> 
Jason, we’re anagrammable





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jason HawrylukSent: dinsdag 11 juli 2006 
23:55To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Explorer-like 
drag & drop tree





I'm at home, and 
it's late, but i'll put together a sample, and post it when i get back to 
work ;)



Jason



  -Message 
  d'origine-De : 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com]De la part de Pat 
  BuchananEnvoyé : 
  mardi 11 juillet 2006 22:58À : 
  flexcoders@yahoogroups.comObjet : Re: [flexcoders] 
  Explorer-like drag & drop tree
  
  
  Jason:
  
  
  
  Do you have an example of this for us 
  current/future newbies?
  
  
  
  Thanks! 
  
  On 7/11/06, Jason Hawryluk <[EMAIL PROTECTED]> 
  wrote: 
  
  
  
  
  
  
  What 
  I do is on dragover after a set time when over the folder i open it. 
  The user is then free to drag into the 
  folder.
  
  
  
  If 
  you want i can

RE: [flexcoders] Explorer-like drag & drop tree

2006-07-12 Thread Jason Hawryluk





Forgot 
to mention how to see the effect.
 
Drag 
an item over any closed folder and it will open after a set period of time 
(1sec)
 
Jason
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Jason HawrylukEnvoyé : mercredi 12 juillet 2006 
  10:06À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Explorer-like drag & drop tree
  
  
  I 
  have a little support task to do first then i'll put it 
up.
   
  :°
   
  jason
   
  
-Message d'origine-De : 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
de Jonas WindeyEnvoyé : mercredi 12 juillet 2006 
09:45À : flexcoders@yahoogroups.comObjet : 
RE: [flexcoders] Explorer-like drag & drop tree



Cool, can’t wait. 
I’ve now gotten so far that I can drag items on every node, but the only 
thing I need to force now is that if you drag an item on a node on the last 
level, it needs to be open for flex to allow dropping on 
it.
For now I’ll just 
open every node in my tree in the initial state. That way at least it’s 
working. 

Now give me your 
sample ;-)

Jonas
Lol <-> 
Jason, we’re anagrammable





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jason HawrylukSent: dinsdag 11 juli 2006 
23:55To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Explorer-like 
drag & drop tree





I'm at home, and 
it's late, but i'll put together a sample, and post it when i get back to 
work ;)



Jason



  -Message 
  d'origine-De : 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com]De la part de Pat 
  BuchananEnvoyé : 
  mardi 11 juillet 2006 22:58À : 
  flexcoders@yahoogroups.comObjet : Re: [flexcoders] 
  Explorer-like drag & drop tree
  
  
  Jason:
  
  
  
  Do you have an example of this for us 
  current/future newbies?
  
      
  
  Thanks! 
  
  On 7/11/06, Jason Hawryluk <[EMAIL PROTECTED]> 
  wrote: 
  
  
  
  
  
  
  What 
  I do is on dragover after a set time when over the folder i open it. 
  The user is then free to drag into the 
  folder.
  
  
  
  If 
  you want i can give you more details, if you think this would help solve 
  your problem.
  
  
  
  jason
  
  
  
  
  
  
  
-Message 
d'origine-De : flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]De la part de Jonas 
WindeyEnvoyé : 
mardi 11 juillet 2006 15:59 À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] 
Explorer-like drag & drop tree 
  
  
  
  Yea, go figure that every directory contains a 
  dummy leaf. Wouldn't reallybe explorer-like wouldn't it 
  :-)-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Tom 
  ChivertonSent: dinsdag 11 juli 2006 15:33To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
  Explorer-like drag & drop tree On Tuesday 11 July 2006 12:36, 
  Jonas Windey wrote:> Since the directories in the deepest level 
  won't ever have an open node,> this is impossible.If it 
  really is the case that it needs an open node, just add a dummy child 
  node.-- Tom 
  ChivertonThis 
  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 atSt James's Court Brown 
  Street Manchester M2 2JF. A list of 
  members isavailable 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.CONFIDENTIALITYThis email is intended only for the 
  use of the addressee named above and maybe 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 itnor inform any person 
  other than Halliwells LLP or the addressee of itsexistence 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%40yahoogro

RE: [flexcoders] Explorer-like drag & drop tree

2006-07-12 Thread Jason Hawryluk





I have 
a little support task to do first then i'll put it up.
 
:°
 
jason
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Jonas WindeyEnvoyé : mercredi 12 juillet 2006 
  09:45À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Explorer-like drag & drop tree
  
  
  
  Cool, can’t wait. 
  I’ve now gotten so far that I can drag items on every node, but the only thing 
  I need to force now is that if you drag an item on a node on the last level, 
  it needs to be open for flex to allow dropping on it.
  For now I’ll just 
  open every node in my tree in the initial state. That way at least it’s 
  working. 
  
  Now give me your 
  sample ;-)
  
  Jonas
  Lol <-> Jason, 
  we’re anagrammable
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason HawrylukSent: dinsdag 11 juli 2006 
  23:55To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Explorer-like 
  drag & drop tree
  
  
  
  
  
  I'm at home, and it's 
  late, but i'll put together a sample, and post it when i get back to work 
  ;)
  
  
  
  Jason
  
  
  
-Message 
d'origine-De : 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com]De la part de Pat BuchananEnvoyé : mardi 11 juillet 2006 
22:58À : 
flexcoders@yahoogroups.comObjet : Re: [flexcoders] 
Explorer-like drag & drop tree


Jason:



Do you have an example of this for us current/future 
newbies?
    
    

Thanks! 

On 7/11/06, Jason Hawryluk <[EMAIL PROTECTED]> wrote: 







What I 
do is on dragover after a set time when over the folder i open it. The 
user is then free to drag into the folder.



If you 
want i can give you more details, if you think this would help solve your 
problem.



jason







  -Message 
  d'origine-De : 
  flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]De la part de Jonas 
  WindeyEnvoyé : 
  mardi 11 juillet 2006 15:59 À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] 
  Explorer-like drag & drop tree 



Yea, go figure that every directory contains a dummy 
leaf. Wouldn't reallybe explorer-like wouldn't it 
:-)-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Tom 
ChivertonSent: dinsdag 11 juli 2006 15:33To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
Explorer-like drag & drop tree On Tuesday 11 July 2006 12:36, 
Jonas Windey wrote:> Since the directories in the deepest level won't 
ever have an open node,> this is impossible.If it really is 
the case that it needs an open node, just add a dummy child 
node.-- Tom 
ChivertonThis 
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 atSt James's Court Brown 
Street Manchester M2 2JF. A list of 
members isavailable 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.CONFIDENTIALITYThis email is intended only for the 
use of the addressee named above and maybe 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 itnor inform any person 
other than Halliwells LLP or the addressee of itsexistence 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__ NOD32 1.1653 (20060711) 
Information __This message was checked by NOD32 antivirus 
system.http://www.eset.com

  __ 
  NOD32 1.1654 (20060711) Information __This message was checked 
  by NOD32 antivirus system.http://www.eset.com
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Comput

RE: [flexcoders] viewstack design pattern issue

2006-07-12 Thread Jason Hawryluk






I didn't hear about it, 
I just kind of came across it while working on a runtime xml double binding 
solution for a future product. I tried various events but not worked as well as 
that one. I only used  1.5 for about 2 months while I was learning flex so 
can't comment on that one. Agreed that when you need immediate updates it would 
not work, I guess everything has it's limitations.
 
Do you think (any sorry 
for being off topic) that when you have the same events being used in multiple 
controls of the same, type that it is better to refactor that into a separate 
extended control? For example buttons on a menu. If they all use the same style, 
height, language tags for tool tip, and text, and all call the same command 
controller. I’ve been pondering this for a while, and though it is easier to 
code, and cleaner to look at I thought it would bloat the final product (I try 
not to go to far with regards to this stuff). What are your experiences on this? 

 
I’m thinking for 
maintenance it has to be better, but if a little change is required on a 
component that uses it, you can’t change that extended one, and would be 
required to create another extended component, resulting in multiple extended 
components all almost the same. I hope the question makes 
sense.
 
So to extend or not to 
extend? :)
 
back to 
topic:
 
I wasn’t questioning 
your method here, just qualifying the way I do it, and found 
myself questioning the methods I’d chosen after reading your 
post.
 
Jason
 
 
 -Message 
d'origine- De : 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
de JesterXLEnvoyé : mercredi 12 juillet 2006 
02:02À : flexcoders@yahoogroups.comObjet : Re: 
[flexcoders] viewstack design pattern issue

  
  3 things.First, valueCommitted in Flex 1.5 does not always fire at 
  the appropriate times. For example, it doesn't fire when you chang text in 
  a TextInput field. Also, it doesn't fire when you hit the enter key. 
  Sometimes, these are desirable events to set data. It only works for 
  focusOut.So, using the default components in Flex 1.5, I have to 
  do:function doCommit(){myVal = 
  my_ti.text;}vs. using an extended component that makes both events 
  into 1:See?Second, in Flex 2, 
  it doesn't fire until the focus goes to another control. Finally, neither 
  work with change. Change is a valid event because sometimes you need 
  immediate updates. ValueCommitted / ValueCommit is a boilerplate event. I 
  wasn't aware of it in either versions of Flex until you mentioned it. It 
  seems as long as you don't need specific events, it is a good catch all to 
  use. :: shrugs :: Where did you hear about?- Original Message 
  - From: "Jason Hawryluk" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]ups.com>Sent: 
  Tuesday, July 11, 2006 6:03 PMSubject: RE: [flexcoders] viewstack design 
  pattern issueI don't quite understand how that could be less 
  code?>From the doc's"The valueCommit event is triggered when a 
  user completes data entry into acontrol or the value of the control is 
  changed programmatically"It has nothing to do with the change 
  event.>From what I gather valueCommit was designed for just that 
  purpose. Thefocusout + enter solution only works for some 
  scenarios.As every control has a valueCommit, and it's suggested to 
  use valueCommitwhen validating the data 
  entered.jason-Message d'origine-De : [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com]De 
  lapart de JesterXLEnvoyé : mardi 11 juillet 2006 18:25À : [EMAIL PROTECTED]ups.comObjet 
  : Re: [flexcoders] viewstack design pattern issue:: shrugs :: Never 
  used valueCommitted. Using change for a TextInput forexample causes 
  problems because sometimes updating every key stroke causesupdates to 
  happen too fast. focusOut ensures it only happens when the useris "done" 
  with the TextInput. You can use enter, as well.We have a component in 
  our apps that extends TextInput, and conslidates bothenter & focusOut 
  into a "valueComitted" event as it were. Less codinganyway.- 
  Original Message -From: Jason HawrylukTo: [EMAIL PROTECTED]ups.comSent: 
  Tuesday, July 11, 2006 11:47 AMSubject: RE: [flexcoders] viewstack design 
  pattern issueJesterXL ? Focusout changes data on the textinput ? What 
  if the user justget focus into the textinput, and does not change 
  it?I'm using valueCommit on all components. Is focus out better for 
  this ?Hank: Are you opening the same data multiple times, and you 
  require thatrelated screens are observed ? I.e. update one, the other 
  updates kind ofthing?Jason-Message 
  d'origine-De : [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com]De 
  lapart de JesterXLEnvoyé : mardi 11 juillet 2006 15:46À : [EMAIL PROTECTED]ups.comObjet 
  : Re: [flexcoders] viewstack design pat

RE: [flexcoders] viewstack design pattern issue

2006-07-11 Thread Jason Hawryluk
I don't quite understand how that could be less code?

>From the doc's
"The valueCommit event is triggered when a user completes data entry into a
control or the value of the control is changed programmatically"

It has nothing to do with the change event.

>From what I gather valueCommit was designed for just that purpose. The
focusout + enter solution only works for some scenarios.

As every control has a valueCommit, and it’s suggested to use valueCommit
when validating the data entered.

jason

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de JesterXL
Envoyé : mardi 11 juillet 2006 18:25
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] viewstack design pattern issue


:: shrugs :: Never used valueCommitted.  Using change for a TextInput for
example causes problems because sometimes updating every key stroke causes
updates to happen too fast.  focusOut ensures it only happens when the user
is "done" with the TextInput.  You can use enter, as well.

We have a component in our apps that extends TextInput, and conslidates both
enter & focusOut into a "valueComitted" event as it were.  Less coding
anyway.


- Original Message -
From: Jason Hawryluk
To: flexcoders@yahoogroups.com
Sent: Tuesday, July 11, 2006 11:47 AM
Subject: RE: [flexcoders] viewstack design pattern issue


JesterXL ? Focusout changes data on the textinput ? What if the user just
get focus into the textinput, and does not change it?

I'm using valueCommit on all components. Is focus out better for this ?

Hank: Are you opening the same data multiple times, and you require that
related screens are observed ?  I.e. update one, the other updates kind of
thing?

Jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de JesterXL
Envoyé : mardi 11 juillet 2006 15:46
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] viewstack design pattern issue


We use a dirty flag.  We set it to true whenever some data changes.  This
data change is detected by registering for control events that change data
(focusOut for TextInput, selectedDate != null for DateChooser, etc.).  These
events change the data if applicable, and set the dirty flag.

Other components can bind to the dirty flag and take appropriate actions,
whether via a getter / setter or the binding tag.

- Original Message -
From: hank williams
To: flexcoders@yahoogroups.com
Sent: Tuesday, July 11, 2006 9:20 AM
Subject: [flexcoders] viewstack design pattern issue


I have a viewstack (actually a tabnavigator) that has screens with data that
comes from a server.

I want to trigger the screen to go out and get new data only when:
   1. the user enters the specific viewstack sub screen, and
   2. when the data for that screen is dirty, based on some bound data that
has triggered a change

So as I see it, the screen needs to keep track of when the bound field has
changed which should cause a call to get fresh data. This means that the
screen must keep track of whether it is dirty.

This seems like it must be a common scenario, and I am curious about how
other people handle it. My first instinct was to create a base screen class
from which all my screens could inherit. But I am curious whether cairngorm
already handles this or whether this is even part of the scope of what it
tries to cover. I am not using cairngorm right now, but may in the future.
But understanding what is and isnt in its scope is important for me to start
to understand.

So anyway, this is a 2 part question.

1. how do people handle this situation
2. does cairngorm have some pre-packaged solution to this issue.


Hank







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

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

<*> 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] Explorer-like drag & drop tree

2006-07-11 Thread Jason Hawryluk





I'm at 
home, and it's late, but i'll put together a sample, and post it when i get back 
to work ;)
 
Jason
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Pat BuchananEnvoyé : mardi 11 juillet 2006 
  22:58À : flexcoders@yahoogroups.comObjet : Re: 
  [flexcoders] Explorer-like drag & drop tree
  
  
  Jason:
   
  Do you have an example of this for us current/future newbies?
   
  Thanks! 
  On 7/11/06, Jason 
  Hawryluk <[EMAIL PROTECTED]> 
  wrote: 
  






What I do is on dragover 
after a set time when over the folder i open it. The user is then free 
to drag into the folder.
 
If you want i can give you 
more details, if you think this would help solve your 
problem.
 
jason
 
 
 

  -Message 
  d'origine-De : flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]De la part de Jonas 
  WindeyEnvoyé : mardi 11 juillet 2006 15:59 
  À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Explorer-like drag & drop tree 




Yea, go figure that every directory contains a dummy leaf. Wouldn't 
reallybe explorer-like wouldn't it :-)-Original 
Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Tom 
ChivertonSent: dinsdag 11 juli 2006 15:33To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
Explorer-like drag & drop tree On Tuesday 11 July 2006 12:36, 
Jonas Windey wrote:> Since the directories in the deepest level won't 
ever have an open node,> this is impossible.If it really is 
the case that it needs an open node, just add a dummy child 
node.-- Tom 
ChivertonThis 
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 atSt 
James's Court Brown Street Manchester M2 2JF. A list of members 
isavailable 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.CONFIDENTIALITYThis 
email is intended only for the use of the addressee named above and 
maybe 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 itnor inform any person other than Halliwells LLP or the addressee 
of itsexistence 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__ NOD32 1.1653 (20060711) 
Information __This message was checked by NOD32 antivirus 
system.http://www.eset.com



  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Explorer-like drag & drop tree

2006-07-11 Thread Jason Hawryluk





What I 
do is on dragover after a set time when over the folder i open it. The user 
is then free to drag into the folder.
 
If you 
want i can give you more details, if you think this would help solve your 
problem.
 
jason
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Jonas WindeyEnvoyé : mardi 11 juillet 2006 
  15:59À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Explorer-like drag & drop tree
  
  Yea, go figure that every directory contains a dummy leaf. Wouldn't 
  reallybe explorer-like wouldn't it :-)-Original 
  Message-From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  OnBehalf Of Tom ChivertonSent: dinsdag 11 juli 2006 15:33To: [EMAIL PROTECTED]ups.comSubject: 
  Re: [flexcoders] Explorer-like drag & drop treeOn Tuesday 11 July 
  2006 12:36, Jonas Windey wrote:> Since the directories in the deepest 
  level won't ever have an open node,> this is impossible.If it 
  really is the case that it needs an open node, just add a dummy child 
  node.-- Tom 
  ChivertonThis 
  email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a 
  limited liability partnership registered in England andWales under 
  registered number OC307980 whose registered office address is atSt James's 
  Court Brown Street Manchester M2 2JF. A list of members isavailable for 
  inspection at the registered office. Any reference to apartner in relation 
  to Halliwells LLP means a member of Halliwells LLP.Regulated by the Law 
  Society.CONFIDENTIALITYThis email is intended only for the use 
  of the addressee named above and maybe confidential or legally privileged. 
  If you are not the addressee youmust not read it and must not use any 
  information contained in nor copy itnor inform any person other than 
  Halliwells LLP or the addressee of itsexistence or contents. If you have 
  received this email in error pleasedelete it and notify Halliwells LLP IT 
  Department on 0870 365 8008.For more information about Halliwells LLP 
  visit www.halliwells.com.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links__ NOD32 1.1653 (20060711) Information 
  __This message was checked by NOD32 antivirus system.http://www.eset.com
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] viewstack design pattern issue

2006-07-11 Thread Jason Hawryluk





JesterXL ? Focusout changes data on the textinput ? What if the user just 
get focus into the textinput, and does not change it?
 
I'm 
using valueCommit on all components. Is focus out better for this 
?
 
Hank: 
Are you opening the same data multiple times, and you require that 
related screens are observed ?  I.e. update one, the other updates kind of 
thing?
 
Jason
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de JesterXLEnvoyé : mardi 11 juillet 2006 
  15:46À : flexcoders@yahoogroups.comObjet : Re: 
  [flexcoders] viewstack design pattern issue
  
  
  We use a dirty flag.  We set it to true 
  whenever some data changes.  This data change is detected by registering 
  for control events that change data (focusOut for TextInput, selectedDate != 
  null for DateChooser, etc.).  These events change the data if applicable, 
  and set the dirty flag.
   
  Other components can bind to the dirty flag and 
  take appropriate actions, whether via a getter / setter or the binding 
  tag.
   
  - Original Message - 
  From: hank williams 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, July 11, 2006 9:20 AM
  Subject: [flexcoders] viewstack design pattern issue
  I have a viewstack (actually a tabnavigator) that has screens 
  with data that comes from a server.I want to trigger the screen to go 
  out and get new data only when:   1. the user enters the 
  specific viewstack sub screen, and    2. when the data for that 
  screen is dirty, based on some bound data that has triggered a 
  changeSo as I see it, the screen needs to keep track of when the bound 
  field has changed which should cause a call to get fresh data. This means that 
  the screen must keep track of whether it is dirty. This seems like it 
  must be a common scenario, and I am curious about how other people handle it. 
  My first instinct was to create a base screen class from which all my screens 
  could inherit. But I am curious whether cairngorm already handles this or 
  whether this is even part of the scope of what it tries to cover. I am not 
  using cairngorm right now, but may in the future. But understanding what is 
  and isnt in its scope is important for me to start to understand. So 
  anyway, this is a 2 part question.1. how do people handle this 
  situation2. does cairngorm have some pre-packaged solution to this 
  issue.Hank
  
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Pivot Tables

2006-07-11 Thread Jason Hawryluk
Let's discuss this further :) I agree it would be a killer component for
Flex.

A pivot table component is one thing, but first you need to start with a
spreadsheet type component (err maybe not, as the start data should not be
modifiable).

I guess any given itemrenderer would need to observe "all" other
itemrenderers in its parent. You would also have to have a special header
and row itemrenderers not to mention the specific ones for x and y axis
totals. You can then add the ability to drag and drop column headers (haven’
t figured this one out yet, as they seem glued to their axis). You need some
kind of formula parser, I guess regex could do it (once you define a formula
language). That language would most definitely need to be very similar to
excel, and map to action script through some sort of mapping/parsing process
(runtime).

As for a starting component I’m not sure extending the grid would be up to
the job. A pivot table usually requires allot of data (paging is not an
option). So support for multiple formats is required (xls, xml, csv, tab
separated etc..)

What am I missing here :)

Jason




-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Pan Troglodytes
Envoyé : mardi 11 juillet 2006 16:39
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Pivot Tables


If you'd used pivot tables much, you'd know why I chuckled at your comment.
:D

Pivot tables are a really cool Excel feature that allows you to graphically
fiddle with a set of data, with Excel converting your GUI actions into GROUP
BY and rollups and summaries.  To my boss, almost every problem looks like a
pivot table waiting to happen.

If someone would implement a robust, full-featured pivot table component in
Flex, they might be able to make a lot of money off it.


On 7/10/06, slangeberg <[EMAIL PROTECTED]> wrote:
You can perform column sorts automatically on a DataGrid component. What
kind of additional functionality are you looking for?

Scott



On 7/6/06, digitalnovanet <[EMAIL PROTECTED]> wrote:
Anyone ever seen a flex or flash based Pivot Table? If not, anyone
have an idea how it can be made?






--

: : ) Scott



--
Jason





 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





RE: [flexcoders] Re: Using the XMLListCollection class bug

2006-07-08 Thread Jason Hawryluk






On another note, you're 
correct that flex does add the uids, and my solution was just to get the sample 
working so that the poster could see it properly.
 
For you, and the original poster this is not best 
practice, be aware that the actual problem is that the items added to the bottom 
list were a reference 
to the item in the tree 
instead of a copy or new item, so the uid was not reset for the added item, this 
caused a double reference. A better solution for the sample would be 
changing
 
this line
listDP.addItem(prodTree.selectedItem);
 
to this
listDP.addItem(prodTree.selectedItem.copy());
 
I really did not think 
too much about it when I gave a quick solution. For the original poster Hal 
is correct in that you don't need to do this unless you need an "exact copy". It 
worked because you changed the item being added and flex did in that case change 
the uid. You should not add the uid yourself as an attribute unless 
you require it elsewhere.
 
The problem is not 
really a bug, the problem was references, 
and pointers getting out of wack and flex does not like that :)
 
Milan if you require a 
clearer explanation then feel free to ask. I hope this clears it up a bit better 
for you.
 
As for the sample I 
think it should be changed as it obviously can cause confusion for 
people.
 
Sorry for the 
confusion.
 
Jason
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de milan kosirEnvoyé : vendredi 7 juillet 2006 
  22:46À : flexcoders@yahoogroups.comObjet : Re: 
  [flexcoders] Re: Using the XMLListCollection class bug
  
  Sorry, but this is not true. I've seen this typo immediately, because 
  withouth this question mark flex builder does not color code. But the problem 
  I described remain. If Flex should generate UIDs, please take a look at 
  example and find out what is wrong with it. I don't have enought insight and 
  experience to find a problem, but I can say that jasons code works fine. 
  Thanks.Best regards,Milan
  On 7/7/06, hal_lichtin <[EMAIL PROTECTED]> wrote:
  




There is a bug in the example, but it is a one-character typo and 
doesnot require you to modify the doTreeSelect() method. Simply add 
aquestion mark as the next to the last character of the first line 
ofthe code, so it reads as follows:You should not have problems compiling or running 
the application then.Flex automatically generates UIDs for 
XMLListCollection objects andyou should not need do this 
yourself.Hal LichtinSenior Technical WriterAdobe 
Systems[EMAIL PROTECTED]
--- In flexcoders@yahoogroups.com, "milan kosir" 
<[EMAIL PROTECTED]> wrote:>> Yes, it works fine. 
Thanks!> Milan> 
> On 6/30/06, milan kosir <[EMAIL PROTECTED]> 
wrote:> >> > Thank you very much, Jason,> > I 
can't test it before tomorow, but I'm already happy :)> >> 
>> > Milan> >
> > On 6/30/06, Jason 
Hawryluk < [EMAIL PROTECTED]> wrote:> > >> > > That 
sample is buggy> > >> > >> > > 
replace the below code> > >> > > private function 
doTreeSelect():void> > > {> > > if 
(prodTree.selectedItem)> > > 
listDP.addItem(prodTree.selectedItem);> > > }> > 
>> > > with the below> > >> > > 
import mx.utils.UIDUtil;> > > private function 
doTreeSelect():void> > > {> > > if 
(prodTree.selectedItem)> > > var newnode:Object = 
prodTree.selectedItem.copy();> > >> > > 
[EMAIL PROTECTED] =mx.utils.UIDUtil.createUID().toString();> > 
>> > >> > > listDP.addItem(newnode);> 
> > }> > >> > > and it works as it 
should> > >> > > Jason> > >> 
> >> > >> > > -Message 
d'origine-> > > *De :* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]*De> > > la part 
de* milan kosir> > > *Envoyé :* vendredi 30 juin 2006 
15:26> > > *À :* flexcoders@yahoogroups.com> > > *Objet :* Re: 
[flexcoders] Using the XMLListCollection class bug> > >> 
> > Thank you, Jason,> > > this is a great news!> 
> >> > > As I said, maybe it is a bad example, or maybe I 
just don't knowhow to> > > use it?> > > 
    Because when I add some "bananas" to the list, first they are not> 
> > selectable except the last one,> > > then when they 
are removed, they are not properly removed fromthe tree,> > 
> and on the end the tree can't 

RE: [flexcoders] Re: Using the XMLListCollection class bug

2006-07-08 Thread Jason Hawryluk






Hal
 
In the example, even with your fix which 
does not help the problem, select the bananas, or some other item in the tree, 
and click "add to list" a few times (on the same item) then you will 
see the effect. Because the same item is being added over and over it throws it 
totally out of wack. Both the tree and the list are affected. Perhaps change the 
code to disallow duplicates.
 Jason
 
 
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de milan kosirEnvoyé : vendredi 7 juillet 2006 
  22:46À : flexcoders@yahoogroups.comObjet : Re: 
  [flexcoders] Re: Using the XMLListCollection class bug
  
  Sorry, but this is not true. I've seen this typo immediately, because 
  withouth this question mark flex builder does not color code. But the problem 
  I described remain. If Flex should generate UIDs, please take a look at 
  example and find out what is wrong with it. I don't have enought insight and 
  experience to find a problem, but I can say that jasons code works fine. 
  Thanks.Best regards,Milan
  On 7/7/06, hal_lichtin <[EMAIL PROTECTED]> wrote:
  




There is a bug in the example, but it is a one-character typo and 
doesnot require you to modify the doTreeSelect() method. Simply add 
aquestion mark as the next to the last character of the first line 
ofthe code, so it reads as follows:You should not have problems compiling or running 
the application then.Flex automatically generates UIDs for 
XMLListCollection objects andyou should not need do this 
yourself.Hal LichtinSenior Technical WriterAdobe 
Systems[EMAIL PROTECTED]
--- In flexcoders@yahoogroups.com, "milan kosir" 
<[EMAIL PROTECTED]> wrote:>> Yes, it works fine. 
Thanks!> Milan> 
> On 6/30/06, milan kosir <[EMAIL PROTECTED]> 
wrote:> >> > Thank you very much, Jason,> > I 
can't test it before tomorow, but I'm already happy :)> >> 
>> > Milan> >
> > On 6/30/06, Jason 
Hawryluk < [EMAIL PROTECTED]> wrote:> > >> > > That 
sample is buggy> > >> > >> > > 
replace the below code> > >> > > private function 
doTreeSelect():void> > > {> > > if 
(prodTree.selectedItem)> > > 
listDP.addItem(prodTree.selectedItem);> > > }> > 
>> > > with the below> > >> > > 
import mx.utils.UIDUtil;> > > private function 
doTreeSelect():void> > > {> > > if 
(prodTree.selectedItem)> > > var newnode:Object = 
prodTree.selectedItem.copy();> > >> > > 
[EMAIL PROTECTED] =mx.utils.UIDUtil.createUID().toString();> > 
>> > >> > > listDP.addItem(newnode);> 
> > }> > >> > > and it works as it 
should> > >> > > Jason> > >> 
> >> > >> > > -Message 
d'origine-> > > *De :* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]*De> > > la part 
de* milan kosir> > > *Envoyé :* vendredi 30 juin 2006 
15:26> > > *À :* flexcoders@yahoogroups.com> > > *Objet :* Re: 
[flexcoders] Using the XMLListCollection class bug> > >> 
> > Thank you, Jason,> > > this is a great news!> 
> >> > > As I said, maybe it is a bad example, or maybe I 
just don't knowhow to> > > use it?> > > 
Because when I add some "bananas" to the list, first they are not> 
> > selectable except the last one,> > > then when they 
are removed, they are not properly removed fromthe tree,> > 
> and on the end the tree can't render anymore.> > > I'm 
interesting in this because I'd like to write a "lazy tree",to 
get> > > child items from database when they are needed (when 
the node isopened).> > > If anybody has done this and could 
give me a hint, I'd be gratefull.> > >> > > 
Thanks, Milan> > >
> > > On 6/30/06, Jason 
Hawryluk < [EMAIL PROTECTED]> wrote:> > > >> > > 
> I'm very happy to report that the tree component is 
workingvery> > > > well. All the outstanding bugs I've 
checked have beencorrected (i have a> > > > few left to 
look into). The binding is working.> > > >> > > 
> jason> > > >> > > >> > > 
> -Message d'origine-> > > > *De :* flexcoders@yahoogroups.com [mailto:flexcoders

RE: [flexcoders] Re: Flex 2 Icon in PopUpMenuButton

2006-07-05 Thread Jason Hawryluk






Thanks for your help, 
but no, it does not solve the problem. Perhaps 
Adobe or others could contribute to this for a better solution, or be aware of 
the bugs/items/work arounds. 
 
A couple of things with 
this control. After a little 
testing.
 
1: The lableFunction 
does not work at all. No matter what method chosen.
    

2: Icons 
are not working at all.
    2a: 
not with out 3a and/or 3b
 
3: There is no 
iconField like in the menu. there 
is in the popup menu component however can't get at it design time and it's set 
to icon (which = no icon for xml as I need to use @icon).
    3a: 
The solution to the above for an icon in the popup is on the creation complete 
event set it to @label like so "event.currentTarget.popUp.iconField = 
"@icon";"
    3b: 
or subclass the popupmenubutton, add the property, and do it there.
 
4: I think that 
checking or un-checking the menu check spot should not close the popup, but 
still dispatch item Click, or change event. 
 
5: The icon shows when 
bound to a object array only. As per the docs, specify xml possibilities as 
well.
    5a: 
See 3a and 3b for solution
 
6: When bound to and 
object array, and icon is showing. In the menu drop down portion with each click 
on the menu item in the drop down the icon becomes progressively muddy, seems 
it's not be cleared for each drop down. Or being redrawn over top 
of.
    6a: 
Solution is to use xml and 3a or 3b then the icon displays properly
 
7: When using a xml 
data source and icons working the icon will not show in the button itself until 
you select an item as the object method does.
    7a: 
3b may be able to fix this.
 
 
This 
is the code to demonstrate the behavior described above. Hopefully with all this 
others will not have the same problems I 
have.
 
Cheers,
 
Jason
 
http://www.adobe.com/2006/mxml" 
layout="absolute">
  
 
   
   
   
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Tim HoffEnvoyé : mardi 4 juillet 2006 
  21:10À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Re: Flex 2 Icon in PopUpMenuButton
  
  
  Hi Jason,
  Kelly Birr addressed this topic a week ago for a MenuBar.  The same 
  solution will work for a PopUpMenuButton.  They both use the Menu 
  class.
  http://groups.yahoo.com/group/flexcoders/message/41282?l=1 
  The icon string in your dataProvider has to be the same name as the class 
  variable that references the icon asset.
  -TH--- In flexcoders@yahoogroups.com, "sourcecoderia" 
  <[EMAIL PROTECTED]> wrote:>> Any Idea how one could set the icon, 
  tried a few things but dosn't seem > to be working. I want an icon on 
  the individual menu items. The data > source does have the icon set as 
  a string and the asset is available to > the control.> > 
  Any Ideas ?> > Jason>
  
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Please Adobe. Unanswered questions, and building the community

2006-07-03 Thread Jason Hawryluk






Thanks for responding, 
My initial worry was not that all my questions are not getting answered. It was 
more like if Adobe wants to get into the dev realm and be active in convincing 
existing MS dev people to make a switch to Flex from the upcoming WPF/e and WPF 
platforms, their community support and involvement needs to be greater then that 
of MS on a per dev basis. The product is only 20% of the work effort to see a 
real success, the other 80% is execution, and actions required to get a user 
base that makes future development worth while.
 
Convincing developers 
to change platforms will be much harder then convincing designers. MS has to 
convince the designers, and Adobe need to convince the developers. Adobes task 
is much greater.
 
I’m afraid that the 
post came off as someone whining cause his questions don’t get answered which 
was not at all the intent.
 
I frequent the MS 
channle9 and MS forums often as I use their products, there is no talk about 
Flex/Apollo only WPF/Ajax/WPFE. I’m an avid tech blog reader, tech magazine 
reader, all around anything tech, and see no mention or little thereof of Flex. 
I heard the first time of Flex 1.5 last June? How long has it been out? I’m a 
dev that’s always looking for new technology to solve problems, so how is this 
possible.
 
This worries me too the 
core about the future of Flex. It’s a viable platform, and very powerful, 
however Macromedia has/had a reputation in the Dev world (animations etc..) 
Adobe has a rep in the Dev world (it’s just for designers). So how can Adobe 
hope to unclench the Dev world that MS fights so much to protect? It takes much 
more then a superior product to make it happen. MS is a PR machine. Unless Adobe 
gets very involved (very being an understatement) how does Adobe hope to 
accomplish this? The only way is better execution combined with superior 
involvement/support, and then hope that the word of mouth becomes viral. 

 
To become viral you 
need the story which Flex has, and the people to spread that. The story of Flex 
is not getting out there enough. 
 
I believe that Flex has 
the potential to stop MS WPF/e in it’s tracks, but the buck starts here, not in 
6 months, and not in 2.
 
Anyway enough rambling, 
I’ll just continue to do my part where I can to ensure my investment pay’s 
off.
 
Again my apologies if 
it came off the wrong way.
 
Jason
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Gordon SmithEnvoyé : vendredi 23 juin 2006 
  08:10À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Please Adobe. Unanswered questions, and building the 
  community
  
  My understanding is that Adobe support engineers don't generally start 
  supporting products until they are released (and therefore the product is 
  stable). It's up to the development team to support alpha, beta, and GMC 
  releases and we do that to the best of our abilities as we have spare time. 
  We're currently helping to train the Flex support engineers to take over this 
  work since we are about to release.Also, some of us are paying a bit 
  more attention to the "official" adobe.com forums and a bit less to 
  flexcoders, but we try to monitor multiple places if possible.Finally, 
  we're also missing Matt Chotins's contribution... he got promoted to 
  Product Manager.- Gordon-Original Message-From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  On Behalf Of Jason HawrylukSent: Thursday, June 22, 2006 7:58 AMTo: [EMAIL PROTECTED]ups.comSubject: 
  RE: [flexcoders] Please Adobe. Unanswered questions, and building the 
  communityIf they would confirm it's a bug then yes I agree, If they 
  read them all howhard is it to respond with a simple it's a bug, should be 
  able to do that,try looking into here or this. The questions asked are not 
  consideredtrivial in my mind, it's not like I've ever asked how to build a 
  cellrenderer or anything (not that that's bad). It's rare I do not have 
  the helpup at the same time as flex, I refer to it very often.I 
  feel the post has been taken in a critical sense. I want to see 
  Flexsucceed as much as the next person, however to think that a strong 
  communitycan be built without considerable contributions from the maker, 
  is kind ofhard to imagine. Where would Java be today if Sun did spend a 
  considerableeffort, and expense in its community building?"A 
  couple of questions answered here, and there will not do it. " May 
  havebeen out of line :)Anyway thanks for the 
  input.Jason-Message d'origine-De : [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com]De 
  lapart de Tom ChivertonEnvoyé : jeudi 22 juin 2006 10:56À : [EMAIL PROTECTED]ups.comObjet 
  : Re: [flexcoders] Please Adobe. Unanswered questions, andbuilding the 
  communityOn Thursday 22 June 2006 09:16, sourcecoderia wrote:> 
  bothered, or it's a bug. Since the first thought is that they can't> be 
  

RE: [flexcoders] Arrangement, front back?

2006-07-03 Thread Jason Hawryluk





swapChildren and swapChildrenAt on the container...
 
Jason
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Phil MarstonEnvoyé : mercredi 28 juin 2006 
  15:04À : flexcoders@yahoogroups.comObjet : Re: 
  [flexcoders] Arrangement, front back?
  
  put the button tags inside the box tags?mthielman11 wrote:> 
  OK this may be a really dumb question. But, if I have two items say a box and 
  then a button > and I want the box to be layered behind the button how 
  do i do that? I do not see arrange > front/back commands 
  anywhere.>>> --> 
  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 
   -- 
  __ 
  Phil Marston Learning TechnologistLearning Technology Unit 
  Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK[EMAIL PROTECTED]ac.uk Tel: 
  +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/http://www.abdn.ac.uk/diss/ltu/__The 
  University of Aberdeen Open Day 29th August 2006Booking is 
  essentialwww.abdn.ac.uk/opendayemail [EMAIL PROTECTED]ac.ukor call 0800 
  027 1495
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: Flash player is not a debugger?

2006-07-02 Thread Jason Hawryluk





Thank you! That worked. 
I would like to know however what the exact problem was, I did clean out 
the registry, and any reference to the flash player. Among the 
million other things i tried :)
 
Was it just a version 
incompatibility ?
 
In 
any case as long as it works. I was really dreading having to reformat my post 
today. :)
 
Happy person here :)
 
Jason
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Matt ChotinEnvoyé : vendredi 30 juin 2006 
  01:16À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Re: Flash player is not a debugger?
  
  
  
  Howdy all, go here: 
  http://www.adobe.com/support/flashplayer/downloads.html 
  and take a look at the tech note and resolution.  New debugger players 
  are available for download.
  
  Thanks for your 
  patience and sorry for the inconvenience, this one fell through the 
  cracks…
  
  Matt
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Thursday, June 29, 2006 11:08 
  AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Flash 
  player is not a debugger?
  
  
  
  
  Hey 
  folks, I have some people on the Player team thinking about this and 
  we have atheory that I'm not quite ready to share. Give us a few hours to 
  workon this more internally, we think you're running into a 
  securityrestriction.Thanks for your 
  patience,Matt-Original Message-From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  OnBehalf Of Tom ChivertonSent: Thursday, June 29, 2006 8:44 AMTo: 
  [EMAIL PROTECTED]ups.comSubject: 
  Re: [flexcoders] Re: Flash player is not a debugger?On Thursday 29 
  June 2006 16:26, Daniel Tuppeny wrote:> you meant the clever stuff you 
  see if you edit things likeexplorer.exe> - they get copied back 
  from a secret copy! (I even wiped that at theI thought that was 
  that.Oh well. Stupid O/S.-- Tom 
  ChivertonThis 
  email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a 
  limited liability partnership registered in 
  Englandand Wales under registered number OC307980 
  whose registered officeaddress is at St James's Court Brown 
  Street Manchester M2 2JF. A listof 
  members is available for inspection at the registered office. Anyreference 
  to a partner in relation to Halliwells LLP means a member ofHalliwells 
  LLP. Regulated by the Law Society.CONFIDENTIALITYThis email is 
  intended only for the use of the addressee named above andmay be 
  confidential or legally privileged. If you are not the addresseeyou must 
  not read it and must not use any information contained in norcopy it nor 
  inform any person other than Halliwells LLP or the addresseeof its 
  existence or contents. If you have received this email in errorplease 
  delete it and notify Halliwells LLP IT Department on 0870 
  3658008.For more information about Halliwells LLP visit 
  www.halliwells.com.We are pleased to announce that Halliwells LLP 
  has been voted AIM Lawyerof the Year at the 2005 Growth Company 
  Awards--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
  
  
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: Tree and allowMultipleSelection functionality not working

2006-07-01 Thread Jason Hawryluk





I'm guessing bug here. 
Most definitely.
 
Jason
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Renaun EricksonEnvoyé : samedi 1 juillet 2006 
  18:47À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Re: Tree and allowMultipleSelection functionality not 
  working
  
  So the next question is this is a bug? or a very confusing 
  feature?Renaun--- In [EMAIL PROTECTED]ups.com, 
  "Tim Hoff" <[EMAIL PROTECTED]> wrote:>> Didn't work for me. 
  Nor did the Help Example: Tree Control.> > -TH> > 
  --- In [EMAIL PROTECTED]ups.com, 
  "Renaun Erickson"  > wrote:> >> > 
  This is with Flex 2 released version.> > > > Will someone 
  please run the code below and tell me if the> > 
  allowMultipleSelection="true" works for you?> > > > 
  It should allow you to select multiple items in the Tree, at least> 
  > this is what I get from all the documentation?> > > > 
  8"?>> > 
  http://www.adobe.com/2006/mxml"> 
  > layout="absolute">> > > > 
  > > 
  > > > > id="firstList" 
  > > dataProvider="{ new ArrayCollection( dp ) }"> > 
  allowMultipleSelection="true" > > height="100%" 
  width="300"/>> > > 
  >>
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Select a Tree item on Right click

2006-06-30 Thread Jason Hawryluk






What do you all think 
about a double-click context menu, in stead of the right click context menu that 
flex provides. The problem with the flex one is that it confuses a user as to 
whether they are still in your app or some browser menu. Hence I see the oops 
syndrome.
 
Create a double click 
flex context menu using the mx:menu ? would it work. Another benefit is mac 
users only have 1 button so I avoid right click like the plague. Although I also 
try to avoid double click as, in all my years of software development on thing 
you can be guaranteed in a user that continuously double clicks everything or 
randomly clicks stuff.
 
Also 
basing things on the context menu when that is not common in a web app may place 
confusion. I might user test the double click idea though. It's not standard,but it could work 
and long as no vital actions are tied to it. An experianced user would soon 
discover it. 
 
Thoughts ?
 
Jason
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Michael SchmalleEnvoyé : samedi 1 juillet 2006 
  01:24À : flexcoders@yahoogroups.comObjet : Re: 
  [flexcoders] Select a Tree item on Right click
  
  Yes, I did this back in Flash.You have to write an event handler 
  for the itemRollOver (if the event is still called) that. Record the index 
  from the event. Then in your contextMenu handler have the first thing it does 
  set the selectedIndex of the tree. At this time you can also access the node 
  info, which is handy for populating the menu before it is 
  'rendered'.Peace, Mike
  On 6/30/06, Pottavathini, Sathish <[EMAIL PROTECTED]> 
  wrote:
  




Hi,I have a tree control and i added custom contextual menus on 
that tree.I'm trying to read the value of the tree node when i right 
click and select a custom contaxtual menu, i did not find a way to do this 
because right click is not selecting the tree item.If i left-click 
before right-clicking on it then i can get to it by using 
myTree.selectedItem. Is there any way i can get to the tree item that i 
right clicked on(without a left click)? Or force it to select the item when 
i right click on it?Thanks-- What goes up, does come down. 
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: Flex Debug - I am allmost giving up - this is my last message

2006-06-30 Thread Jason Hawryluk





Have 
you tried this ?
 

Matt 
Said:

>Howdy all, go here: http://www.adobe.com/support/flashplayer/downloads.html 
and take a look at the tech note and resolution.  New debugger players are 
available for download.
>
>Thanks for your patience and sorry for the 
inconvenience, this one fell through the cracks…
>
>Matt
 
I reposted it a while ago but didn't seem to show up 
?
 
Jason
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Daniel TuppenyEnvoyé : vendredi 30 juin 2006 
  17:46À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Re: Flex Debug - I am allmost giving up - this is my last 
  message
  
  Have you tried turning the Windows Firewall off while you test it? 
  (If you're not behind a corporate firewall/nat, I'd disconnect from the web 
  before you try).-Original Message-From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  On Behalf Of mvbaffaSent: 30 June 2006 15:59To: [EMAIL PROTECTED]ups.comSubject: 
  [flexcoders] Re: Flex Debug - I am allmost giving up - this is my last 
  messageThanks Jason,I have only Unistalled Beta 3. But I have 
  already run the flash player uninstaller before installing the new debug 
  version of Flash 9.With Beta 2 it was working OK, When I have 
  installed beta 3, IE stopped working and I have installed FireFox that worked 
  for some time. I remember that just before a debugging session The 
  Windows Firewall insformed that java was trying go out and asked me if I 
  wanted to block it, and I choose to continue blocking. Since then the debugger 
  stopped for FireFox too and I could not debug.I am sure this is a 
  security issue but I am not able to find it Thanks--- In 
  [EMAIL PROTECTED]ups.com, 
  "Jason Hawryluk" <[EMAIL PROTECTED]> wrote:>> Did you uninstall flex 
  b3, and did you runPlayer_B3_Uninstaller_05-08.exe> 
  before installing the final version?> > Also ensure that you 
  have removed the older flash9.ocx from yourcomputer?> > 
  Jason> > > -Message d'origine-> De : 
  [EMAIL PROTECTED]ups.com[mailto:[EMAIL PROTECTED]ups.com]De 
  la> part de mvbaffa> Envoyé : vendredi 30 juin 2006 
  15:56> À : [EMAIL PROTECTED]ups.com> 
  Objet : [flexcoders] Flex Debug - I am allmost giving up - thisis my 
  last> message> > > Hi everybody,> > 
  This is my last message about this problem. Flex is fantastic, Iam> 
  using it since alpha version.> > I have an application ready to 
  deploy that I have finishedwithout a> debug (the older will 
  remember old times when debugging was done> with Alert boxes).> 
  > I hoped that with the release version I could debug again, 
  butthis> is not true. I cannot use a development tool that does not 
  have a> debugger and I cannot reinstall my development 
  workstationeverytime> a new nersion is released.> > I 
  have downloaded the new debug version of Flash player 9,installed> 
  it and after that the version is still 16 (standard version),not 
  15> (debug version).> > And  the browser is still 
  crashing.> > The problem is occuring since I have installed beta 
  3 (two months> ago). My problem is that the browser craches and Windows 
  showsme a> message box telling that IE encountered a problem with 
  an add-onand> needs to close. And the add-on is Fldbg9.ocx.> 
  > This is the fourth message and I beleive that Adobe should 
  takecare> of it.> > Thanks in 
  advance> Yahoo! Groups 
  Sponsor ~--> Something is new at Yahoo! 
  Groups. Check out the enhanced email design.http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM--~-> 
  --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  Groups Links[Inbound Mail Scanned by 
  MessageLabs]__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Softwar

RE: [flexcoders] Re: Read Local File

2006-06-30 Thread Jason Hawryluk





Yes 
that is possible.
 
In 
flex look at the external interface to pass data to flex.
 
Jason
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Torey MaerzEnvoyé : vendredi 30 juin 2006 
  16:49À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Re: Read Local File
  
  Thanks for the help. Now at least I know the direction that I need to 
  go in. Uploading then downloading and eventually posting the modified data 
  may increase the time too much for larger files.Possibly I could 
  create a java applet that does the file read then pass the file via 
  _javascript_ to the flex application???--- In [EMAIL PROTECTED]ups.com, 
  "Jason Hawryluk" <[EMAIL PROTECTED]> wrote:>> This is not possible 
  due to browser security restrictions. You will have to> ask the 
  client to upload to the server, pass the data back to the client,> 
  modif, and send back to server. On the server side you will have to 
  accept> the down load, parse, and have the client the poll the 
  server till the file> is ready to get back to the client.> 
  > Hope this helps> > Jason> > > 
  > -Message d'origine-> De : [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com]De 
  la> part de Torey Maerz> Envoyé : vendredi 30 juin 2006 
  15:35> À : [EMAIL PROTECTED]ups.com> 
  Objet : [flexcoders] Read Local File> > > I would like to 
  create a flex application (hosted on the internet) that> could read 
  in a client's local file, parse that file and then display> in a 
  datagrid for manipulation and eventually posting the data to my> 
  server. My problem is on the reading of the local file piece. It> seems 
  that the only way that I can do this is to have the swf running> on 
  the client's machine. That is not an option so I have been in the> 
  search for finding a solution that would allow me to sign my swf 
  or> something similar so that it could be trusted on the client's 
  machine> and allow the user to parse their local file.> 
  > So what can I do to give my internet based application read 
  access on> the client's machine?> > Thanks in 
  advance!> > -Torey>
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: Flex Debug - I am allmost giving up - this is my last message

2006-06-30 Thread Jason Hawryluk





Did 
you try this?
 

Matt 
Said:

>Howdy all, go here: http://www.adobe.com/support/flashplayer/downloads.html 
and take a look at the tech note and resolution.  New debugger players are 
available for download.
>
>Thanks for your patience and sorry for the 
inconvenience, this one fell through the cracks…
>
 
jason
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de mvbaffaEnvoyé : vendredi 30 juin 2006 
  16:59À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Re: Flex Debug - I am allmost giving up - this is my last 
  message
  
  Thanks Jason,I have only Unistalled Beta 3. But I have already run 
  the flash player uninstaller before installing the new debug version of 
  Flash 9.With Beta 2 it was working OK, When I have installed beta 
  3, IE stopped working and I have installed FireFox that worked for some 
  time. I remember that just before a debugging session The Windows 
  Firewall insformed that java was trying go out and asked me if I wanted to 
  block it, and I choose to continue blocking. Since then the debugger 
  stopped for FireFox too and I could not debug.I am sure this is a 
  security issue but I am not able to find it Thanks--- In 
  [EMAIL PROTECTED]ups.com, 
  "Jason Hawryluk" <[EMAIL PROTECTED]> wrote:>> Did you uninstall flex 
  b3, and did you run Player_B3_Uninstaller_05-08.exe> 
  before installing the final version?> > Also ensure that you 
  have removed the older flash9.ocx from your computer?> > 
  Jason> > > -Message d'origine-> De : 
  [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com]De 
  la> part de mvbaffa> Envoyé : vendredi 30 juin 2006 
  15:56> À : [EMAIL PROTECTED]ups.com> 
  Objet : [flexcoders] Flex Debug - I am allmost giving up - this is my 
  last> message> > > Hi everybody,> > 
  This is my last message about this problem. Flex is fantastic, I 
  am> using it since alpha version.> > I have an 
  application ready to deploy that I have finished without a> debug 
  (the older will remember old times when debugging was done> with Alert 
  boxes).> > I hoped that with the release version I could debug 
  again, but this> is not true. I cannot use a development tool that 
  does not have a> debugger and I cannot reinstall my development 
  workstation everytime> a new nersion is released.> > 
  I have downloaded the new debug version of Flash player 9, 
  installed> it and after that the version is still 16 (standard 
  version), not 15> (debug version).> > And  the 
  browser is still crashing.> > The problem is occuring since I 
  have installed beta 3 (two months> ago). My problem is that the browser 
  craches and Windows shows me a> message box telling that IE 
  encountered a problem with an add-on and> needs to close. And the 
  add-on is Fldbg9.ocx.> > This is the fourth message and I 
  beleive that Adobe should take care> of it.> > Thanks 
  in advance>
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Using the XMLListCollection class bug

2006-06-30 Thread Jason Hawryluk





That 
sample is buggy
 
 
replace the below code
 
private function 
doTreeSelect():void    
{    if 
(prodTree.selectedItem)    
listDP.addItem(prodTree.selectedItem);    
}
 
with 
the below
 
    import 
mx.utils.UIDUtil;    private function 
doTreeSelect():void    
{    if 
(prodTree.selectedItem)    
 var newnode:Object = 
prodTree.selectedItem.copy();    
 
 [EMAIL PROTECTED] = 
mx.utils.UIDUtil.createUID().toString(); 
    
 
listDP.addItem(newnode);    
}
 
and it 
works as it should
 
Jason
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de milan kosirEnvoyé : vendredi 30 juin 2006 
  15:26À : flexcoders@yahoogroups.comObjet : Re: 
  [flexcoders] Using the XMLListCollection class bug
  
  Thank you, Jason,this is a great news!As I said, maybe it is a 
  bad example, or maybe I just don't know how to use it?Because when I add 
  some "bananas" to the list, first they are not selectable except the last one, 
  then when they are removed, they are not properly removed from the tree, 
  and on the end the tree can't render anymore.I'm interesting in this 
  because I'd like to write a "lazy tree", to get child items from database when 
  they are needed (when the node is opened). If anybody has done this and 
  could give me a hint, I'd be gratefull.Thanks, Milan 
  On 6/30/06, Jason 
  Hawryluk < [EMAIL PROTECTED]> 
  wrote:
  





I'm very happy to report 
that the tree component is working very well. All the outstanding bugs I've 
checked have been corrected (i have a few left to look into). The binding is 
working.
 
jason
 

  -Message 
  d'origine-De : flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com]De la part de 
  kosir.milanEnvoyé : vendredi 30 juin 2006 
  12:03À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Using the XMLListCollection class 
bug


Hi,I'd like to report that example in chapter "Using 
theXMLListCollection class"(http://livedocs.macromedia.com/flex/2/docs/0513.html#406668 
)which can be found under (Flex 2 Developer's Guide > Building 
UserInterfaces for Flex Applications > Using Data Providers 
andCollections > Using hierarchical data providers) does not work 
asexpected and produces very strange results.Could somebody confirm 
that f2b3 bug in tree dataproviders is removedor not? Maybe there is 
problem only with example.I'd really like to know if Flex 2 allow to 
make dynamic databindingfor Tree component. Any hint or working example 
would be highlyappreciated. Milan


  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Using the XMLListCollection class bug

2006-06-30 Thread Jason Hawryluk





The 
situation you describe occurs when the xml nodes are the same 
i.e.
 



 
There 
needs to be a difference between the items in order for flex to react 
properly.
 
so the 
below would work
 




 
notice 
the @label here
 

 
hope 
this clears things up, if your still having problems after this then post 
back an example to show what it is doing.
 
Just 
remember nodes have to be unique, and it works like a charm. I ensure this with 
a guid.
 
Jason
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de milan kosirEnvoyé : vendredi 30 juin 2006 
  15:26À : flexcoders@yahoogroups.comObjet : Re: 
  [flexcoders] Using the XMLListCollection class bug
  
  Thank you, Jason,this is a great news!As I said, maybe it is a 
  bad example, or maybe I just don't know how to use it?Because when I add 
  some "bananas" to the list, first they are not selectable except the last one, 
  then when they are removed, they are not properly removed from the tree, 
  and on the end the tree can't render anymore.I'm interesting in this 
  because I'd like to write a "lazy tree", to get child items from database when 
  they are needed (when the node is opened). If anybody has done this and 
  could give me a hint, I'd be gratefull.Thanks, Milan 
  On 6/30/06, Jason 
  Hawryluk < [EMAIL PROTECTED]> 
  wrote:
  





I'm very happy to report 
that the tree component is working very well. All the outstanding bugs I've 
checked have been corrected (i have a few left to look into). The binding is 
working.
 
jason
 

  -Message 
  d'origine-De : flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com]De la part de 
  kosir.milanEnvoyé : vendredi 30 juin 2006 
  12:03À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Using the XMLListCollection class 
bug


Hi,I'd like to report that example in chapter "Using 
theXMLListCollection class"(http://livedocs.macromedia.com/flex/2/docs/0513.html#406668 
)which can be found under (Flex 2 Developer's Guide > Building 
UserInterfaces for Flex Applications > Using Data Providers 
andCollections > Using hierarchical data providers) does not work 
asexpected and produces very strange results.Could somebody confirm 
that f2b3 bug in tree dataproviders is removedor not? Maybe there is 
problem only with example.I'd really like to know if Flex 2 allow to 
make dynamic databindingfor Tree component. Any hint or working example 
would be highlyappreciated. Milan


  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Flex Debug - I am allmost giving up - this is my last message

2006-06-30 Thread Jason Hawryluk





Did 
you uninstall flex b3, and did you run Player_B3_Uninstaller_05-08.exe before 
installing the final version?
 
Also 
ensure that you have removed the older flash9.ocx from your 
computer?
 
Jason
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de mvbaffaEnvoyé : vendredi 30 juin 2006 
  15:56À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Flex Debug - I am allmost giving up - this is my last 
  message
  
  Hi everybody,This is my last message about this problem. Flex is 
  fantastic, I am using it since alpha version.I have an application 
  ready to deploy that I have finished without a debug (the older will 
  remember old times when debugging was done with Alert boxes). I 
  hoped that with the release version I could debug again, but this is not 
  true. I cannot use a development tool that does not have a debugger and I 
  cannot reinstall my development workstation everytime a new nersion is 
  released.I have downloaded the new debug version of Flash player 9, 
  installed it and after that the version is still 16 (standard version), 
  not 15 (debug version).And  the browser is still 
  crashing.The problem is occuring since I have installed beta 3 (two 
  months ago). My problem is that the browser craches and Windows shows me a 
  message box telling that IE encountered a problem with an add-on and 
  needs to close. And the add-on is Fldbg9.ocx.This is the fourth 
  message and I beleive that Adobe should take care of it.Thanks in 
  advance
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Read Local File

2006-06-30 Thread Jason Hawryluk





This 
is not possible due to browser security restrictions. You will have to ask the 
client to upload to the server, pass the data back to the client, modif, and 
send back to server. On the server side you will have to accept the down load, 
parse, and have the client the poll the server till the file is ready to get 
back to the client.
 
Hope 
this helps
 
Jason
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Torey MaerzEnvoyé : vendredi 30 juin 2006 
  15:35À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Read Local File
  
  I would like to create a flex application (hosted on the internet) that 
  could read in a client's local file, parse that file and then display 
  in a datagrid for manipulation and eventually posting the data to my 
  server. My problem is on the reading of the local file piece. It seems 
  that the only way that I can do this is to have the swf running on the 
  client's machine. That is not an option so I have been in the search for 
  finding a solution that would allow me to sign my swf or something similar 
  so that it could be trusted on the client's machine and allow the user to 
  parse their local file.So what can I do to give my internet based 
  application read access on the client's machine?Thanks in 
  advance!-Torey 
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Scrollbar bug (with sample code)

2006-06-30 Thread Jason Hawryluk





I 
added this to your vscroll, it worked but not the best, you may want to 
play around with this a bit. Perhaps the binding is not getting called until 
hscroll is created they are not created at the same time, so if hscroll is not 
fully created the height would in fact be 0.
 
creationComplete="vscroll.y=hscroll.height;"
 
Hope 
this helps
 
Jason
 
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Daniel TuppenyEnvoyé : vendredi 30 juin 2006 
  15:19À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Scrollbar bug (with sample code)
  
  
  Here's some code 
  to show the problem I'm having. When I load the page, the VScrollBar goes 
  right to the bottom edge of the page (ignoring the bottom attribute). If 
  I resize the window, everything jumps into place 
correctly.
   
  This worked fine 
  in beta 3. Any ideas? I've attached a screenshot of what I 
  see.
   
   
  http://www.adobe.com/2006/mxml" 
  layout="absolute">
   
  
   
  __This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Using the XMLListCollection class bug

2006-06-30 Thread Jason Hawryluk





I'm 
very happy to report that the tree component is working very well. All the 
outstanding bugs I've checked have been corrected (i have a few left to look 
into). The binding is working.
 
jason
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de kosir.milanEnvoyé : vendredi 30 juin 2006 
  12:03À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Using the XMLListCollection class bug
  
  Hi,I'd like to report that example in chapter "Using 
  theXMLListCollection class"(http://livedocs.macromedia.com/flex/2/docs/0513.html#406668)which 
  can be found under (Flex 2 Developer's Guide > Building UserInterfaces 
  for Flex Applications > Using Data Providers andCollections > Using 
  hierarchical data providers) does not work asexpected and produces very 
  strange results.Could somebody confirm that f2b3 bug in tree dataproviders 
  is removedor not? Maybe there is problem only with example.I'd really 
  like to know if Flex 2 allow to make dynamic databindingfor Tree 
  component. Any hint or working example would be highlyappreciated. 
  Milan
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Jason Hawryluk: Flash debug player - a workaround

2006-06-30 Thread Jason Hawryluk





Did 
you not try this ? It did work for me.
 
Matt 
Said:

>Howdy all, go here: http://www.adobe.com/support/flashplayer/downloads.html 
and take a look at the tech note and resolution.  New debugger players are 
available for download.
>
>Thanks for your patience and sorry for the 
inconvenience, this one fell through the cracks…
>
>Matt
 
Basicly a new version of the debug player that matches that of the 
flash9.ocx version.
 
Did 
you still have problems even after this version ?
 
Jason
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Daniel TuppenyEnvoyé : vendredi 30 juin 2006 
  13:17À : flexcoders@yahoogroups.comObjet : 
  [flexcoders] Jason Hawryluk: Flash debug player - a 
  workaround
  
  
  
  For Jason Hawryluk, and anyone else that'd been having issues getting the 
  debug player working, I've found a way, but it's not very 
  "nice"...!
   
  I 
  uninstalled/reinstalled anything with no joy, so I got the release player from 
  the Adobe site, and made sure I can run Flex projects in Run mode, but get the 
  error when trying in Debug mode.
   
  Then I renamed the 
  Flash9.ocx file, and duplicated the debug version, and named it that. Now it 
  loads the debug player in place of the release player all the time. Not ideal, 
  but it means I can debug! Since all other machines are fine, we can still run 
  it in the proper release player for testing elsewhere.
   
  It'll keep me 
  going for today, and if there's no real fix from Adobe, my machine will be 
  rebuilt next week.
   
  Danny
  
  
  The 
  information contained in this e-mail and/or any attachments is confidential 
  and intended only for the individual(s) to which it is addressed. If you are 
  not named as an addressee you must not disclose, copy or take any action in 
  reliance of this transmission. This e-mail and its attachments have been 
  scanned for viruses by MessageLabs Ltd. 
  
   
  __This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] FlexStore damn slow when there is 250 items in the shop

2006-06-30 Thread Jason Hawryluk






No that's funny :) And 
very true. 
 As 
for the 250 items is there a was to logically categorize them so that it's only 
showing a subset at a time?
 
Jason
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Douglas KnudsenEnvoyé : vendredi 30 juin 2006 
  06:58À : flexcoders@yahoogroups.comObjet : Re: 
  [flexcoders] FlexStore damn slow when there is 250 items in the 
  shop
  
  users ALWAYS want more then they should get!  lol.  You know we 
  are going to see people ask why 10k rows in a datagrid is slow...cause some VP 
  somewhere just has to have all that data at once or his golf game is going to 
  suffer. DK
  On 6/29/06, Michael 
  Schmalle <[EMAIL PROTECTED]> 
  wrote:
  
Yeah, don't show 250 products at once.Who wants to see 250 
products at once? I think I UI redesign is in order Just because 
you can doesn't mean you should.Peace, Mike

On 6/29/06, pioplacz < [EMAIL PROTECTED]> wrote:

  
  
  
  
  
  Last year i've made a movie catalog based on the flexstore so i wanted 
  once again give it a try. But experience wasn't the same :( i love the 
  effect and all the new stuff i could do with flex2 but the speed wast 
  not as i hoped. When trying to sort 250 products in the flex store it 
  feels like i'm sitting on a i386. It takes 20sec before i can se the 
  result and ofcourse without any effects. Is there anything i can to to 
  omptimize the code and make it work better?-- 
What goes up, does come down. -- 
  Douglas Knudsenhttp://www.cubicleman.comthis is my 
  signature, like it? 
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: Flash player is not a debugger?

2006-06-29 Thread Jason Hawryluk
We have already tried that several times and it's not working.

I just tried the environment variables as a last hope and still nothing.
What the heck is different between the beta 3 and the final version of the
debug player? Win 2000 Pro does not like it, I have uninstalled even my
Norton 2006, flash 8.0, captivate, shockwave...

Re-installed beta 3 uninstalled again differently = not

2 day’s for this ? Can’t be that difficult. I don’t get it, I just don’t.

Why won't it register?

Jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Thomas Rühl -akitogo-
Envoyé : jeudi 29 juin 2006 16:12
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Re: Flash player is not a debugger?


Hi, for me this did it...

# Deinstall FlexBuilder
# Download the FlashPlayer-Uninstaller from
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14157
<http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14157>
# …execute it…
# Best to close your browsers befor the deinstallation, otherwise it will
be done for you
# Reinstall FlexBuilder including the packaged Player (9.0.15)


cheers, thomas.



Jason Hawryluk wrote:
>
> Ok I give up, someone wanna help us out here? Almost 2 day's working
> on this stupid problem, and no forward movement what so ever.
>
> Windows is not allowing me to register the ocx no matter what I have
> tried it just don't like it. The ocx is FlDbg9.ocx in the
> C:\WINNT\system32\Macromed\Flash.
>
> There are no registry keys being entered like in the beta (that worked
> fine), so there must be some kind of conflict with either security
> (unlikely). Incompatibility (more likely).
>
> I'm lost.
>
> It would certainly help if Adobe could chime in here, and propose an
> idea or 2 that we could try out. Or suggest something we should look for.
>
> What are the exact dependencies of the Ocx?
>
> It's just not registering properly, and I don't get that. Never in all
> the ocx files I’ve developed have I seen one occurrence of such a problem.
>
> Jason
>
>     -Message d'origine-
> *De :* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] la part de* Jason Hawryluk
> *Envoyé :* jeudi 29 juin 2006 15:26
> *À :* flexcoders@yahoogroups.com
> *Objet :* RE: [flexcoders] Re: Flash player is not a debugger?
>
> Nope that unfortunatly did not work
>
> What is different between the new debug player and the beta
> version? The beta sets the keys properly in the registry the new
> final version does not. I can't see it being a security issue on
> my part as the beta worked fine. I don’t see any diff in the cab
> nor the inf files between the 2.
>
> I even tried uninstalling Norton 2006 and still nothing.
>
> There is definitely a bug here.
> On diff i see is the advpack.dll in the cab file for th installer
> I'm trying out by hand cutome install right now. Of the debug ocx
> jason
>
> -Message d'origine-
> *De :* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] la part de* Daniel Tuppeny
> *Envoyé :* jeudi 29 juin 2006 15:01
> *À :* flexcoders@yahoogroups.com
> *Objet :* RE: [flexcoders] Re: Flash player is not a debugger?
>
> Let me know if that works, and if so, I might have to try the
> same! :-(
>
> --
--
> *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Jason Hawryluk
> *Sent:* 29 June 2006 12:48
> *To:* flexcoders@yahoogroups.com
> *Subject:* RE: [flexcoders] Re: Flash player is not a debugger?
>
> So after installing beta 3 again i have debug for beta 3, and
> the ocx is correctly registered.
>
> I will now uninstall and reinstall final.
>
> This is weird
>
> -Message d'origine-
> *De :* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] la part de* Daniel
> Tuppeny
> *Envoyé :* jeudi 29 juin 2006 12:48
> *À :* flexcoders@yahoogroups.com
> *Objet :* RE: [flexcoders] Re: Flash player is not a debugger?
>
> I've got the same issues. I've got a file at c:\DELETE_ME
> which was originall one of the beta flash plugins, but
> although I can rename it, I can never delete it, even
> after reboots. I suspect XP is being clever and realising
> I'm moving it!
> I've got other stuff to do now, so no Flex for a 

RE: [flexcoders] Re: Flash player is not a debugger?

2006-06-29 Thread Jason Hawryluk





Ok I give up, someone 
wanna help us out here? Almost 
2 day's working on this stupid problem, and no forward movement what so 
ever.
Windows is not allowing 
me to register the ocx no matter what I have tried it just don't like it. The ocx is FlDbg9.ocx in the 
C:\WINNT\system32\Macromed\Flash.
 
There are no registry 
keys being entered like in the beta (that worked fine), so there must be some 
kind of conflict with either security (unlikely). Incompatibility (more 
likely).
 
I'm lost. 
 
It would certainly help 
if Adobe could chime in here, and propose an idea or 2 that we could try out. Or 
suggest something we should look for.
 
What are the exact 
dependencies of the Ocx? 
 
It's 
just not registering properly, and I don't get that. Never in all the ocx files 
I’ve developed have I seen one occurrence of such a 
problem.
 
Jason
 
 
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Jason HawrylukEnvoyé : jeudi 29 juin 2006 
  15:26À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Re: Flash player is not a debugger?
  
  
  Nope 
  that unfortunatly did not work
   
  What is different 
  between the new debug player and the beta version? The beta sets the keys 
  properly in the registry the new final version does not. I can't see it being 
  a security issue on my part as the beta worked fine. I don’t see any diff in 
  the cab nor the inf files between the 2.
  
  I even tried 
  uninstalling Norton 2006 and still nothing.
  
  There is definitely a 
  bug here.
   
  On diff i see is the advpack.dll in the cab file for 
  th installer
   
  I'm trying out by hand cutome install 
  right now. Of the debug ocx
   
  jason
   
   
   
   
  
-Message d'origine-De : 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
de Daniel TuppenyEnvoyé : jeudi 29 juin 2006 
15:01À : flexcoders@yahoogroups.comObjet : 
RE: [flexcoders] Re: Flash player is not a debugger?


Let me know if that works, and if so, I might have to 
try the same! :-(


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jason 
HawrylukSent: 29 June 2006 12:48To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Flash 
player is not a debugger?


So after installing 
beta 3 again i have debug for beta 3, and the ocx is correctly 
registered.

I will now 
uninstall and reinstall final.
This is 
weird
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la 
  part de Daniel TuppenyEnvoyé : jeudi 29 juin 2006 
  12:48À : flexcoders@yahoogroups.comObjet : 
  RE: [flexcoders] Re: Flash player is not a debugger?
  
  
  I've got the same issues. I've got a file at 
  c:\DELETE_ME which was originall one of the beta flash plugins, but 
  although I can rename it, I can never delete it, even after reboots. I 
  suspect XP is being clever and realising I'm moving 
it!
   
  I've got other stuff to do now, so no Flex for a 
  while, but if I can't find a solution soon, it's going to have to be a 
  reinstall, and that really annoys me! :-
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Jason 
  HawrylukSent: 29 June 2006 11:36To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Flash 
  player is not a debugger?
  
  I'm also still 
  having the same problem 1.5 day's getting frustrated here :)
  
  I did however 
  notice that the debug ocx is not getting registered and no matter what I 
  do I can't get it registered properly. I had a look on a machine where it 
  worked and it has all the necessary registry key's. After installing Flex 
  builder final. on my machine (and it seems I’m not alone) There is no keys 
  for the inproc/guid/classid's etc in the registry. I'm now convinced we 
  have entered dll/com Hell.
  
  I tried copying 
  the keys and importing to my machine but had no effect.
  
  The only thing I 
  did different between the 2 machines was launch 
  Player_B3_Uninstaller_05-08.exe on the working machine before flex final. 
  I failed to do this on my dev machine for reasons of pure 
  excitement.
  
  After trying 
  about 15 different combinations, I’m now going to try to reinstall flex 
  beta 3 then uninstall and use the above exe, then reinstall flex final. 
  Short of that I’m looking at a format c:\ :(
  
  So I have 
  completely cleaned my registry of all flash related ocx keys. Unistalled 
  everything flex.
  
  I’ll try the beta 
  3, attempt to debug, uninstall, install final.
  
  Back in a bit 
  :) Still can't belive this is happening 
  :(
   

RE: [flexcoders] Re: Flash player is not a debugger?

2006-06-29 Thread Jason Hawryluk





Nope 
that unfortunatly did not work
 
What is different 
between the new debug player and the beta version? The beta sets the keys 
properly in the registry the new final version does not. I can't see it being a 
security issue on my part as the beta worked fine. I don’t see any diff in the 
cab nor the inf files between the 2.
 
I even tried 
uninstalling Norton 2006 and still nothing.
 
There 
is definitely a bug here.
 
On diff i see is the advpack.dll in the cab file for th 
installer
 
I'm trying out by hand cutome install 
right now. Of the debug ocx
 
jason
 
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Daniel TuppenyEnvoyé : jeudi 29 juin 2006 
  15:01À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Re: Flash player is not a debugger?
  
  
  Let me know if that works, and if so, I might have to try 
  the same! :-(
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Jason 
  HawrylukSent: 29 June 2006 12:48To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Flash 
  player is not a debugger?
  
  
  So after installing 
  beta 3 again i have debug for beta 3, and the ocx is correctly 
  registered.
  
  I will now uninstall 
  and reinstall final.
  This is 
  weird
   
   
   
  
-Message d'origine-De : 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
de Daniel TuppenyEnvoyé : jeudi 29 juin 2006 
12:48À : flexcoders@yahoogroups.comObjet : 
RE: [flexcoders] Re: Flash player is not a debugger?


I've got the same issues. I've got a file at 
c:\DELETE_ME which was originall one of the beta flash plugins, but although 
I can rename it, I can never delete it, even after reboots. I suspect XP is 
being clever and realising I'm moving it!
 
I've got other stuff to do now, so no Flex for a while, 
but if I can't find a solution soon, it's going to have to be a reinstall, 
and that really annoys me! :-


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jason 
HawrylukSent: 29 June 2006 11:36To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Flash 
player is not a debugger?

I'm also still 
having the same problem 1.5 day's getting frustrated here :)

I did however 
notice that the debug ocx is not getting registered and no matter what I do 
I can't get it registered properly. I had a look on a machine where it 
worked and it has all the necessary registry key's. After installing Flex 
builder final. on my machine (and it seems I’m not alone) There is no keys 
for the inproc/guid/classid's etc in the registry. I'm now convinced we have 
entered dll/com Hell.

I tried copying the 
keys and importing to my machine but had no effect.

The only thing I 
did different between the 2 machines was launch 
Player_B3_Uninstaller_05-08.exe on the working machine before flex final. I 
failed to do this on my dev machine for reasons of pure 
excitement.

After trying about 
15 different combinations, I’m now going to try to reinstall flex beta 3 
then uninstall and use the above exe, then reinstall flex final. Short of 
that I’m looking at a format c:\ :(

So I have 
completely cleaned my registry of all flash related ocx keys. Unistalled 
everything flex.

I’ll try the beta 
3, attempt to debug, uninstall, install final.

Back in a bit 
:) Still can't belive this is happening 
:(
 
Jason
 
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la 
  part de Harald DehnEnvoyé : jeudi 29 juin 2006 
  11:30À : flexcoders@yahoogroups.comObjet : 
  WG: [flexcoders] Re: Flash player is not a debugger?
  
  
  I still have excact the the same problem!  :-( 
  
  ... and no solution.
  
  
  Von: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] Im Auftrag von Daniel 
  TuppenyGesendet: Donnerstag, 29. Juni 2006 09:56An: 
  flexcoders@yahoogroups.comBetreff: RE: [flexcoders] Re: Flash 
  player is not a debugger?
  
  
  
  I've tried that many times!
   
  If I just install the debug player, FlexBuilder 
  complains there's no FP9, so then I went an installed the release player 
  from the Adobe site, and can run, but not debug.
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Maerz, 
  ToreySent: 28 June 2006 15:51To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Flash 
  player is not a debugger?
  
  
  I 
  had this problem a couple days ago too.
  
  Here 
  is how I fixed it.
  
  Use 
  add remove programs to Uninstall all fl

  1   2   3   >