[flexcoders] Possible to cancel a tooltip event?

2010-04-14 Thread G
I am trying to cancel a tooltip event (I only want it to display when the mouse 
is hovered over a certain area), and can't seem to figure it out. I tried 
stopPropagation, preventDefault, and stopImmediatePropagation, but none of them 
seem to work.

Here the code I am using:

private function toolTipCreateHandler(event:ToolTipEvent):void {
if(event.currentTarget.mouseX  130) {
var tooltip:PhotoToolTip = new PhotoToolTip();
tooltip.src = event.currentTarget.toolTip;
event.toolTip = tooltip;
}
else {
event.stopImmediatePropagation();
}
}   

Any ideas?

Thanks




[flexcoders] Re: Charts - complex label

2010-04-14 Thread pullzmag
Yes, even with validateNow()

--- In flexcoders@yahoogroups.com, thomas parquier mailingli...@... wrote:

 even with a validateNow() upon label ?
 
 ---
 thomas parquier
 http://www.web-attitude.fr/realisations/
 msn : thomas.parqu...@...
 softphone : sip:webattit...@... sip%3awebattit...@...
 téléphone portable : +33601 822 056
 
 
 2010/4/13 pullzmag deegregg_ml...@...
 
 
 
 
 
  I have tried your tip with the first label. The label is placed correctly
  (I traced its x and y values) but it's not showing up. The updated class:
 
  package com
 
  {
  import mx.controls.Label;
  import mx.core.IDataRenderer;
  import mx.core.UIComponent;
  import mx.events.FlexEvent;
 
  public class CustomLabelRenderer extends UIComponent implements
  IDataRenderer
  {
  private var _data:Object;
  private var _labelYear:Label;
 
  public function CustomLabelRenderer()
  {
  super();
  }
 
  [Bindable(dataChange)]
 
 
  public function get data():Object
  {
  return _data;
  }
 
  override protected function createChildren():void
  {
  super.createChildren();
 
  _labelYear = new Label();
 
  addChild(_labelYear);
 
  }
 
  public function set data(value:Object):void
  {
  _data = value;
 
  dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
 
  if(value != null)
  {
  _labelYear.text = String(value.text);
 
  }
  }
  }
  }
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, thomas
  parquier mailinglists@ wrote:
  
   I think your renderer should extend a uicomponent by adding to labels
   components within.
  
   ---
   thomas parquier
   http://www.web-attitude.fr/realisations/
   msn : thomas.parquier@
   softphone : sip:webattitude@ sip%3Awebattitude@
   téléphone portable : +33601 822 056
  
  
   2010/4/13 pullzmag deegregg_mlist@
  
   
   
The first one is the default one. The second one is retrieved from an
array. So I have no problem with retrieving their values but having
displayed the second one. I have been using the below class, assigned
  as
labelRenderer
   
package com
{
import mx.charts.AxisLabel;
import mx.controls.Label;
import mx.core.IDataRenderer;
   
public class CustomLabelRenderer extends Label implements IDataRenderer
{
private var _data:AxisLabel;
   
public function CustomLabelRenderer()
{
super();
}
   
override public function get data():Object
{
return _data;
}
   
override public function set data(value:Object):void
{
if(value != null)
{
this._data = value as AxisLabel;
this.text = String(value.text);
}
}
}
}
   
Basically, the above class does nothing special. It just displays the
  same
label as in case where no labelRenderer is defined. I was trying to add
  to
this class another label for storing the second value but that label
  was not
displayed at all (whether by adding as a child to the first label or to
  the
axis renderer).
   
   
--- In flexcoders@yahoogroups.com 
flexcoders%40yahoogroups.comflexcoders%
  40yahoogroups.com, thomas
 
parquier mailinglists@ wrote:

 where do you take labels from ?

 thomas parquier
 ---
 http://www.web-attitude.fr/realisations/
 msn : thomas.parquier@
 softphone : sip:webattitude@ sip%3Awebattitude@
 tÃÆ'©lÃÆ'©phone portable : +33601 822 056
 


 2010/4/13 pullzmag deegregg_mlist@

 
 
  Any ideas guys?
 
 
  --- In flexcoders@yahoogroups.com 
  flexcoders%40yahoogroups.comflexcoders%
  40yahoogroups.comflexcoders%
 
40yahoogroups.com,
   
  pullzmag deegregg_mlist@ wrote:
  
   For my line chart I need a label which will be made of two
  labels.
I
  was trying to use custom labelRenderer where I added another label
  but
this
  either not possible or I did something wrong. Can you give me some
  tips
for
  doing this in a right way?
  
   Thanks!
   G.
  
 
 
 

   
   
   
  
 
   
 





Re: [flexcoders] NumericStepper as itemRenders in DataGrid don't work as expected

2010-04-14 Thread Tom Chiverton
On Tuesday 13 Apr 2010, Tom Chiverton wrote:
 It's meant to Just Work.
 As it is, I think it's down to the labelFunction.

I put a test case up on http://bugs.adobe.com/jira/browse/SDK-26209


-- 
Helping to vitalistically lead sexy prospective eligible attention-grabbing 
convergence as part of the IT team of the year 2010, '09 and '08



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

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

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

Re: [flexcoders] Generate Flash Flv

2010-04-14 Thread Tom Chiverton
On Wednesday 14 Apr 2010, Christophe wrote:
 How to generate a flash video flv for YouTube from a flex application ?

From what source ?

-- 
Helping to simultaneously aggregate corporate cutting-edge products as part of 
the IT team of the year 2010, '09 and '08



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

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

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

Re: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-14 Thread Tom Chiverton
On Tuesday 13 Apr 2010, Fotis Chatzinikos wrote:
 What about reversing the arm byte code to objective-c? 

Read what he said. That would amount to open sourcing the Player.

-- 
Helping to centrally cluster seamless leading-edge users as part of the IT 
team of the year 2010, '09 and '08



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

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

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

Re: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-14 Thread Fotis Chatzinikos
I do not think you read what i said...

Just add an extra step that decompiles the already created arm code to a
quite difficult to read but working objective c code.

And if that amounts to open sourcing the player what stops me for example to
get the arm bytecode decompile it myself? I do not see the problem. The only
problem i see is that mention ...originally written in C,... ...

Now is a decompiled arm code originaly written in C? Can you somehow find
out?

Either way i think the whole situation is plain stupid...

With this EULA they can stop Adobe but not a freelancer that writes
something similar ...

+ Commodore/Amiga one of the best machines back then died because of closing
too many doors...

History will tell - we will wait and see what happens

On Wed, Apr 14, 2010 at 12:42 PM, Tom Chiverton 
tom.chiver...@halliwells.com wrote:



 On Tuesday 13 Apr 2010, Fotis Chatzinikos wrote:
  What about reversing the arm byte code to objective-c?

 Read what he said. That would amount to open sourcing the Player.

 --
 Helping to centrally cluster seamless leading-edge users as part of the IT
 team of the year 2010, '09 and '08

 

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

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
 of members is available for inspection at the registered office together
 with a list of those non members who are referred to as partners. We use the
 word ?partner? to refer to a member of the LLP, or an employee or consultant
 with equivalent standing and qualifications. Regulated by the Solicitors
 Regulation Authority.

 CONFIDENTIALITY

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

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




-- 
Fotis Chatzinikos, Ph.D.
Founder,
LivinData Technologies
www.styledropper.com
fotis.chatzini...@gmail.com,


Re: [flexcoders] Flex Coloring with CMYK

2010-04-14 Thread Oleg Sivokon
Hi.
CMYK color separation is a science all by itself, you'd need to learn and
understand hardware color profiles, printing techniques and all that
involves rasterizing images before they get printed. I'm afraid there is
nothing built in in the framework for that purpose as it is a quite
particular field of computer usage. Though, depends on your task you may
come up with more or less acceptable results when you want to display a CMYK
image.
You'd probably want to elaborate on your question, because, otherwise the
answer may be to generic and confusing.

Best.

Oleg


Re: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-14 Thread Guy Morton
Flipping this whole discussion on its head for a moment

Adobe used to have the best SVG runtime player in the land. It was fast, had 
good support for the SVG standard and it was stable.

Then Adobe bought Macromedia. They discontinued development and support for 
their SVG player because now they had Flash!

Adobe could, I'm sure, alter their Flash development tools to output 
SVG+Javascript. In fact, I'd be surprised if they hadn't already experimented 
with this. 

If Adobe was as smart as they think they are, they'd RIGHT NOW fast-track 
SVG+Javascript export into Flex and Flash IDEs. This would let them become the 
premier tool for developing iPhone apps, standards-based web vector animations 
and would encourage adoption of open standards at such a rate that it'd hobble 
Silverlight into the bargain!

Of course that is just an idle dream, and instead they will keep pushing their 
proprietary solution and wait for the killer open-standards IDE that will allow 
developers to make full use of HTML 5 to pop up and change the market for them. 
Then we will see Flash become a thing of the past.

eg check this out

http://demo.sproutcore.com/sample_controls/

Look familiar? Look ma! NO plugins, just HTML 5!

Vale Flash, you have been good to us, but your time is drawing to a close. 
Steve Jobs has seen the future, and Flash ain't there.

Guy




On 14/04/2010, at 8:42 PM, Fotis Chatzinikos wrote:

 I do not think you read what i said...
 
 Just add an extra step that decompiles the already created arm code to a 
 quite difficult to read but working objective c code.
 
 And if that amounts to open sourcing the player what stops me for example to 
 get the arm bytecode decompile it myself? I do not see the problem. The only 
 problem i see is that mention ...originally written in C,... ...
 
 Now is a decompiled arm code originaly written in C? Can you somehow find out?
 
 Either way i think the whole situation is plain stupid...
 
 With this EULA they can stop Adobe but not a freelancer that writes something 
 similar ...
 
 + Commodore/Amiga one of the best machines back then died because of closing 
 too many doors...
 
 History will tell - we will wait and see what happens 
 
 
 On Wed, Apr 14, 2010 at 12:42 PM, Tom Chiverton 
 tom.chiver...@halliwells.com wrote:
  
 
 On Tuesday 13 Apr 2010, Fotis Chatzinikos wrote:
  What about reversing the arm byte code to objective-c? 
 
 Read what he said. That would amount to open sourcing the Player.
 
 -- 
 Helping to centrally cluster seamless leading-edge users as part of the IT 
 team of the year 2010, '09 and '08
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list 
 of members is available for inspection at the registered office together with 
 a list of those non members who are referred to as partners. We use the word 
 ?partner? to refer to a member of the LLP, or an employee or consultant with 
 equivalent standing and qualifications. Regulated by the Solicitors 
 Regulation Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged. If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents. If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit www.Halliwells.com.
 
 
 
 
 -- 
 Fotis Chatzinikos, Ph.D.
 Founder,
 LivinData Technologies
 www.styledropper.com
 fotis.chatzini...@gmail.com, 
 
 



Re: [flexcoders] Problems with crossdomain and upload

2010-04-14 Thread Oleg Sivokon
Hi.

crossdomain.xml should be deployed like so:
MUST HAVE: root site folder of the destination server.
possible: additional policy files in subfolders (if the top-level policy
file allows that).
If your server can accept HTTP uploads it can also host policy file, else,
it's not really an HTTP server (doesn't implement even a basic requirement
for HTTP protocol).

Best.

Oleg


Re: [flexcoders] Re: Charts - complex label

2010-04-14 Thread thomas parquier
Did you set any rotation to labels ?

---
thomas parquier
http://www.web-attitude.fr/realisations/
msn : thomas.parqu...@web-attitude.fr
softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net
téléphone portable : +33601 822 056


2010/4/14 pullzmag deegregg_ml...@poczta.fm



 Yes, even with validateNow()


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, thomas
 parquier mailingli...@... wrote:
 
  even with a validateNow() upon label ?
 
  ---
  thomas parquier
  http://www.web-attitude.fr/realisations/
  msn : thomas.parqu...@...
  softphone : sip:webattit...@... sip%3awebattit...@...
  téléphone portable : +33601 822 056
 
 
  2010/4/13 pullzmag deegregg_ml...@...
 
  
  
  
  
   I have tried your tip with the first label. The label is placed
 correctly
   (I traced its x and y values) but it's not showing up. The updated
 class:
  
   package com
  
   {
   import mx.controls.Label;
   import mx.core.IDataRenderer;
   import mx.core.UIComponent;
   import mx.events.FlexEvent;
  
   public class CustomLabelRenderer extends UIComponent implements
   IDataRenderer
   {
   private var _data:Object;
   private var _labelYear:Label;
  
   public function CustomLabelRenderer()
   {
   super();
   }
  
   [Bindable(dataChange)]
  
  
   public function get data():Object
   {
   return _data;
   }
  
   override protected function createChildren():void
   {
   super.createChildren();
  
   _labelYear = new Label();
  
   addChild(_labelYear);
  
   }
  
   public function set data(value:Object):void
   {
   _data = value;
  
   dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
  
   if(value != null)
   {
   _labelYear.text = String(value.text);
  
   }
   }
   }
   }
  
   --- In flexcoders@yahoogroups.com 
   flexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.com, thomas
   parquier mailinglists@ wrote:
   
I think your renderer should extend a uicomponent by adding to labels
components within.
   
---
thomas parquier
http://www.web-attitude.fr/realisations/
msn : thomas.parquier@
softphone : sip:webattitude@ sip%3Awebattitude@
téléphone portable : +33601 822 056
   
   
2010/4/13 pullzmag deegregg_mlist@
   


 The first one is the default one. The second one is retrieved from
 an
 array. So I have no problem with retrieving their values but having
 displayed the second one. I have been using the below class,
 assigned
   as
 labelRenderer

 package com
 {
 import mx.charts.AxisLabel;
 import mx.controls.Label;
 import mx.core.IDataRenderer;

 public class CustomLabelRenderer extends Label implements
 IDataRenderer
 {
 private var _data:AxisLabel;

 public function CustomLabelRenderer()
 {
 super();
 }

 override public function get data():Object
 {
 return _data;
 }

 override public function set data(value:Object):void
 {
 if(value != null)
 {
 this._data = value as AxisLabel;
 this.text = String(value.text);
 }
 }
 }
 }

 Basically, the above class does nothing special. It just displays
 the
   same
 label as in case where no labelRenderer is defined. I was trying to
 add
   to
 this class another label for storing the second value but that
 label
   was not
 displayed at all (whether by adding as a child to the first label
 or to
   the
 axis renderer).


 --- In flexcoders@yahoogroups.com 
 flexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.comflexcoders%

   40yahoogroups.com, thomas
  
 parquier mailinglists@ wrote:
 
  where do you take labels from ?
 
  thomas parquier
  ---
  http://www.web-attitude.fr/realisations/
  msn : thomas.parquier@
  softphone : sip:webattitude@ sip%3Awebattitude@
  tÃÆ'©lÃÆ'©phone portable : +33601 822 056

  
 
 
  2010/4/13 pullzmag deegregg_mlist@
 
  
  
   Any ideas guys?
  
  
   --- In 
   flexcoders@yahoogroups.comflexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.comflexcoders%
   40yahoogroups.comflexcoders%
  
 40yahoogroups.com,

   pullzmag deegregg_mlist@ wrote:
   
For my line chart I need a label which will be made of two
   labels.
 I
   was trying to use custom labelRenderer where I added another
 label
   but
 this
   either not possible or I did something wrong. Can you give me
 some
   tips
 for
   doing this in a right way?
   
Thanks!
G.
   
  
  
  
 



   
  
  
  
 

  



Re: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-14 Thread Adnan Doric

On 14/04/2010 13:10, Guy Morton wrote:


Flipping this whole discussion on its head for a moment


Adobe used to have the best SVG runtime player in the land. It was 
fast, had good support for the SVG standard and it was stable.


Then Adobe bought Macromedia. They discontinued development and 
support for their SVG player because now they had Flash!


Adobe could, I'm sure, alter their Flash development tools to output 
SVG+Javascript. In fact, I'd be surprised if they hadn't already 
experimented with this.


If Adobe was as smart as they think they are, they'd RIGHT NOW 
fast-track SVG+Javascript export into Flex and Flash IDEs. This would 
let them become the premier tool for developing iPhone apps, 
standards-based web vector animations and would encourage adoption of 
open standards at such a rate that it'd hobble Silverlight into the 
bargain!




Flash is here because standards sucks. When standards will be good 
enough, flash will disappear, bunt won't happen anytime soon.


Of course that is just an idle dream, and instead they will keep 
pushing their proprietary solution and wait for the killer 
open-standards IDE that will allow developers to make full use of HTML 
5 to pop up and change the market for them. Then we will see Flash 
become a thing of the past.


eg check this out

http://demo.sproutcore.com/sample_controls/ 
http://demo.sproutcore.com/sample_controls/


Look familiar? Look ma! NO plugins, just HTML 5!

I don't know for others, but it reminds me of Flash 5 ten years old with 
extra crossbrowser issues.

Let me think... hell no, don't want to go there :)

Maybe in few years HTML will be like flash 8, and few more years it will 
be like flash 10. There will be flash 16 and AS4 by the time, another 
gap for HTML to reach.


So, yeah, good luck with your HTML mate, I wish you good luck, really.

Vale Flash, you have been good to us, but your time is drawing to a 
close. Steve Jobs has seen the future, and Flash ain't there.


Guy

The future where Apple dictates what you can install on your phone, what 
you can see on the web, what music you can listen ?

Sound great, see you there :)



[flexcoders] Re: Charts - complex label

2010-04-14 Thread pullzmag
No, just a standard label, with a default font that is also used and working 
correctly in other parts of the application.

--- In flexcoders@yahoogroups.com, thomas parquier mailingli...@... wrote:

 Did you set any rotation to labels ?
 
 ---
 thomas parquier
 http://www.web-attitude.fr/realisations/
 msn : thomas.parqu...@...
 softphone : sip:webattit...@... sip%3awebattit...@...
 téléphone portable : +33601 822 056
 
 
 2010/4/14 pullzmag deegregg_ml...@...
 
 
 
  Yes, even with validateNow()
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, thomas
  parquier mailinglists@ wrote:
  
   even with a validateNow() upon label ?
  
   ---
   thomas parquier
   http://www.web-attitude.fr/realisations/
   msn : thomas.parquier@
   softphone : sip:webattitude@ sip%3Awebattitude@
   téléphone portable : +33601 822 056
  
  
   2010/4/13 pullzmag deegregg_mlist@
  
   
   
   
   
I have tried your tip with the first label. The label is placed
  correctly
(I traced its x and y values) but it's not showing up. The updated
  class:
   
package com
   
{
import mx.controls.Label;
import mx.core.IDataRenderer;
import mx.core.UIComponent;
import mx.events.FlexEvent;
   
public class CustomLabelRenderer extends UIComponent implements
IDataRenderer
{
private var _data:Object;
private var _labelYear:Label;
   
public function CustomLabelRenderer()
{
super();
}
   
[Bindable(dataChange)]
   
   
public function get data():Object
{
return _data;
}
   
override protected function createChildren():void
{
super.createChildren();
   
_labelYear = new Label();
   
addChild(_labelYear);
   
}
   
public function set data(value:Object):void
{
_data = value;
   
dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
   
if(value != null)
{
_labelYear.text = String(value.text);
   
}
}
}
}
   
--- In flexcoders@yahoogroups.com 
flexcoders%40yahoogroups.comflexcoders%
  40yahoogroups.com, thomas
parquier mailinglists@ wrote:

 I think your renderer should extend a uicomponent by adding to labels
 components within.

 ---
 thomas parquier
 http://www.web-attitude.fr/realisations/
 msn : thomas.parquier@
 softphone : sip:webattitude@ sip%3Awebattitude@
 tÃÆ'©lÃÆ'©phone portable : +33601 822 056


 2010/4/13 pullzmag deegregg_mlist@

 
 
  The first one is the default one. The second one is retrieved from
  an
  array. So I have no problem with retrieving their values but having
  displayed the second one. I have been using the below class,
  assigned
as
  labelRenderer
 
  package com
  {
  import mx.charts.AxisLabel;
  import mx.controls.Label;
  import mx.core.IDataRenderer;
 
  public class CustomLabelRenderer extends Label implements
  IDataRenderer
  {
  private var _data:AxisLabel;
 
  public function CustomLabelRenderer()
  {
  super();
  }
 
  override public function get data():Object
  {
  return _data;
  }
 
  override public function set data(value:Object):void
  {
  if(value != null)
  {
  this._data = value as AxisLabel;
  this.text = String(value.text);
  }
  }
  }
  }
 
  Basically, the above class does nothing special. It just displays
  the
same
  label as in case where no labelRenderer is defined. I was trying to
  add
to
  this class another label for storing the second value but that
  label
was not
  displayed at all (whether by adding as a child to the first label
  or to
the
  axis renderer).
 
 
  --- In flexcoders@yahoogroups.com 
  flexcoders%40yahoogroups.comflexcoders%
  40yahoogroups.comflexcoders%
 
40yahoogroups.com, thomas
   
  parquier mailinglists@ wrote:
  
   where do you take labels from ?
  
   thomas parquier
   ---
   http://www.web-attitude.fr/realisations/
   msn : thomas.parquier@
   softphone : sip:webattitude@ sip%3Awebattitude@
   tÃÆ'Æ'©lÃÆ'Æ'©phone portable : +33601 822 056
 
   
  
  
   2010/4/13 pullzmag deegregg_mlist@
  
   
   
Any ideas guys?
   
   
--- In 
flexcoders@yahoogroups.comflexcoders%40yahoogroups.comflexcoders%
  40yahoogroups.comflexcoders%
40yahoogroups.comflexcoders%
   
  40yahoogroups.com,
 
pullzmag deegregg_mlist@ wrote:

 For my line chart I need a label which will be made of two
labels.
  I
was trying to use custom labelRenderer where I added another
  label
but
  this
either not possible or I did something wrong. Can you give me
  some
tips
  for
doing this in a right way?

 

[flexcoders] Feature request i am adding to go wish

2010-04-14 Thread Patrick
It would be nice if hexadecimal colors in the ide text editor would show the 
color they reference, how handy, huh? (well maybe not for white on white... but 
you get the idea



RE: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-14 Thread Battershall, Jeff
Reports of Flash's demise are premature to say the least.  I think Flash will 
likely be around for some time and will live long and prosper in a variety of 
contexts.  Steve isn't seeing the future so much as trying to create a future 
that provides best competitive advantage to Apple.  And of course, as Adobe is 
fond of saying, Flash will push the envelope as to what is possible. It will 
remains to be seen how compelling a case Flash makes for itself, but I'm not 
going to drop kick Flash just Steve Jobs says I should. He ain't my pal.

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Adnan Doric
Sent: Wednesday, April 14, 2010 10:25 AM
To: flexcoders@yahoogroups.com
Cc: Guy Morton
Subject: Re: [flexcoders] Re: With the latest eula agreement from Apple



On 14/04/2010 13:10, Guy Morton wrote:


Flipping this whole discussion on its head for a moment

Adobe used to have the best SVG runtime player in the land. It was fast, had 
good support for the SVG standard and it was stable.

Then Adobe bought Macromedia. They discontinued development and support for 
their SVG player because now they had Flash!

Adobe could, I'm sure, alter their Flash development tools to output 
SVG+Javascript. In fact, I'd be surprised if they hadn't already experimented 
with this.

If Adobe was as smart as they think they are, they'd RIGHT NOW fast-track 
SVG+Javascript export into Flex and Flash IDEs. This would let them become the 
premier tool for developing iPhone apps, standards-based web vector animations 
and would encourage adoption of open standards at such a rate that it'd hobble 
Silverlight into the bargain!


Flash is here because standards sucks. When standards will be good enough, 
flash will disappear, bunt won't happen anytime soon.


Of course that is just an idle dream, and instead they will keep pushing their 
proprietary solution and wait for the killer open-standards IDE that will allow 
developers to make full use of HTML 5 to pop up and change the market for them. 
Then we will see Flash become a thing of the past.

eg check this out

http://demo.sproutcore.com/sample_controls/

Look familiar? Look ma! NO plugins, just HTML 5!

I don't know for others, but it reminds me of Flash 5 ten years old with extra 
crossbrowser issues.
Let me think... hell no, don't want to go there :)

Maybe in few years HTML will be like flash 8, and few more years it will be 
like flash 10. There will be flash 16 and AS4 by the time, another gap for HTML 
to reach.

So, yeah, good luck with your HTML mate, I wish you good luck, really.


Vale Flash, you have been good to us, but your time is drawing to a close. 
Steve Jobs has seen the future, and Flash ain't there.

Guy

The future where Apple dictates what you can install on your phone, what you 
can see on the web, what music you can listen ?
Sound great, see you there :)







[flexcoders] Re: I get these random errors when using tree and viewstack?

2010-04-14 Thread advancedonsite
Turned out to be a caching issue on my browser :(



--- In flexcoders@yahoogroups.com, advancedonsite nos...@... wrote:

 I'm pulling my hair out on this problem which seems to me to be a problem 
 with the main framework not my code. I have a tree and then viewstacks on the 
 right side when a user clicks on a nav option in the tree the viewstack 
 appears on the right.
 
 I keep getting a 
 ReferenceError: Error #1065: Variable is not defined. getDefinitionByName()
 
 I'm using a call to get the child by name from the XML source
 
 mainviewstack.selectedChild = 
 Container(mainviewstack.getChildByName(selectedno...@...())); 
 
 But the viewstack works fine then on some occasions it randomly throws that 
 error issue?
 
 So I resorted to also I've trying to use a simple 
 mainviewstack.selectedIndex = selected_number;
 but still sometimes the error gets thrown?
 
 
 I've uploaded my code to for full source if anyone has a moment please tell 
 me what might be the issue
 http://www.megaupload.com/?d=E4A1X14T





RE: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-14 Thread Gregor Kiddie
I do agree that the main problem is that there isn't really an excellent
competitor to the App store. Once Flash is on absolutely everything, the
Flash Store will be that competitor. It doesn't matter what device you
use, mobile, PC, television, set top box, tablet, some future brain
implant, it's a one stop shop to get the app.

 

 Of course, what would really be the killer for the Flash store would be
making the app independent of the device.

Buy an app on your mobile, then turn on your PC. It checks the Flash
store, sees you have a purchased app it's not got installed, and fetches
and installs it itself.

 

The final nail would be persistent state. Buy and start playing a game
on your mobile on the train home. Get in, turn on your PC and continue
the same game. That's the app store killer right there!

 

Gk.



Re: [flexcoders] Re: Charts - complex label

2010-04-14 Thread thomas parquier
There's an issue with canStagger, rotation and fonts of labels along an
axisrenderer.
I look back at a previous work.

---
thomas parquier
http://www.web-attitude.fr/realisations/
msn : thomas.parqu...@web-attitude.fr
softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net
téléphone portable : +33601 822 056


2010/4/14 pullzmag deegregg_ml...@poczta.fm



 No, just a standard label, with a default font that is also used and
 working correctly in other parts of the application.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, thomas
 parquier mailingli...@... wrote:
 
  Did you set any rotation to labels ?
 
  ---
  thomas parquier
  http://www.web-attitude.fr/realisations/
  msn : thomas.parqu...@...
  softphone : sip:webattit...@... sip%3awebattit...@...
  téléphone portable : +33601 822 056
 
 
  2010/4/14 pullzmag deegregg_ml...@...
 
  
  
   Yes, even with validateNow()
  
  

   --- In flexcoders@yahoogroups.com 
   flexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.com, thomas
   parquier mailinglists@ wrote:
   
even with a validateNow() upon label ?
   
---
thomas parquier
http://www.web-attitude.fr/realisations/
msn : thomas.parquier@
softphone : sip:webattitude@ sip%3Awebattitude@
téléphone portable : +33601 822 056
   
   
2010/4/13 pullzmag deegregg_mlist@
   




 I have tried your tip with the first label. The label is placed
   correctly
 (I traced its x and y values) but it's not showing up. The updated
   class:

 package com

 {
 import mx.controls.Label;
 import mx.core.IDataRenderer;
 import mx.core.UIComponent;
 import mx.events.FlexEvent;

 public class CustomLabelRenderer extends UIComponent implements
 IDataRenderer
 {
 private var _data:Object;
 private var _labelYear:Label;

 public function CustomLabelRenderer()
 {
 super();
 }

 [Bindable(dataChange)]


 public function get data():Object
 {
 return _data;
 }

 override protected function createChildren():void
 {
 super.createChildren();

 _labelYear = new Label();

 addChild(_labelYear);

 }

 public function set data(value:Object):void
 {
 _data = value;

 dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));

 if(value != null)
 {
 _labelYear.text = String(value.text);

 }
 }
 }
 }

 --- In flexcoders@yahoogroups.com 
 flexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.comflexcoders%

   40yahoogroups.com, thomas
 parquier mailinglists@ wrote:
 
  I think your renderer should extend a uicomponent by adding to
 labels
  components within.
 
  ---
  thomas parquier
  http://www.web-attitude.fr/realisations/
  msn : thomas.parquier@
  softphone : sip:webattitude@ sip%3Awebattitude@
  tÃÆ'©lÃÆ'©phone portable : +33601 822 056
 
 
  2010/4/13 pullzmag deegregg_mlist@
 
  
  
   The first one is the default one. The second one is retrieved
 from
   an
   array. So I have no problem with retrieving their values but
 having
   displayed the second one. I have been using the below class,
   assigned
 as
   labelRenderer
  
   package com
   {
   import mx.charts.AxisLabel;
   import mx.controls.Label;
   import mx.core.IDataRenderer;
  
   public class CustomLabelRenderer extends Label implements
   IDataRenderer
   {
   private var _data:AxisLabel;
  
   public function CustomLabelRenderer()
   {
   super();
   }
  
   override public function get data():Object
   {
   return _data;
   }
  
   override public function set data(value:Object):void
   {
   if(value != null)
   {
   this._data = value as AxisLabel;
   this.text = String(value.text);
   }
   }
   }
   }
  
   Basically, the above class does nothing special. It just
 displays
   the
 same
   label as in case where no labelRenderer is defined. I was
 trying to
   add
 to
   this class another label for storing the second value but that
   label
 was not
   displayed at all (whether by adding as a child to the first
 label
   or to
 the
   axis renderer).
  
  
   --- In 
   flexcoders@yahoogroups.comflexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.comflexcoders%
   40yahoogroups.comflexcoders%
  
 40yahoogroups.com, thomas

   parquier mailinglists@ wrote:
   
where do you take labels from ?
   
thomas parquier
---
http://www.web-attitude.fr/realisations/
msn : thomas.parquier@
softphone : sip:webattitude@ sip%3Awebattitude@
tÃÆ'Æ'©lÃÆ'Æ'©phone portable : +33601 822
 056

  

   
 

Re: [flexcoders] Possible to cancel a tooltip event?

2010-04-14 Thread Alex Harui
One option would be to float an transparent UIComponent over the area in 
question and give it the tooltip.


On 4/13/10 11:37 PM, G gmonie...@yahoo.com wrote:






I am trying to cancel a tooltip event (I only want it to display when the mouse 
is hovered over a certain area), and can't seem to figure it out. I tried 
stopPropagation, preventDefault, and stopImmediatePropagation, but none of them 
seem to work.

Here the code I am using:

private function toolTipCreateHandler(event:ToolTipEvent):void {
 if(event.currentTarget.mouseX  130) {
 var tooltip:PhotoToolTip = new PhotoToolTip();
 tooltip.src = event.currentTarget.toolTip;
 event.toolTip = tooltip;
 }
 else {
 event.stopImmediatePropagation();
 }
 }

Any ideas?

Thanks






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


[flexcoders] Re: Is it possible to inspect a function (to determine it's and parameters)?

2010-04-14 Thread kidl33t
Indeed it is =)

tyvm for the link.

--- In flexcoders@yahoogroups.com, tntomek tnto...@... wrote:

 lol its rob
 
 --- In flexcoders@yahoogroups.com, kidl33t kidl33t@ wrote:
 
  I have a method which takes a function as one of its parameters.  Is there 
  any way to inspect this function and determine what parameters it takes? 
  
  I have tried both getClassInfo()and describeType().  describeType does in 
  fact return that information I need if the class passed to it has a public 
  method.  But I can't figure out how to inspect a function that isn't 
  attached to a class.  
  
  Thanks,
 





[flexcoders] Re: Possible to cancel a tooltip event?

2010-04-14 Thread G
Thats a good idea. I'll give that a shot.

--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 One option would be to float an transparent UIComponent over the area in 
 question and give it the tooltip.
 
 
 On 4/13/10 11:37 PM, G gmonie...@... wrote:
 
 
 
 
 
 
 I am trying to cancel a tooltip event (I only want it to display when the 
 mouse is hovered over a certain area), and can't seem to figure it out. I 
 tried stopPropagation, preventDefault, and stopImmediatePropagation, but none 
 of them seem to work.
 
 Here the code I am using:
 
 private function toolTipCreateHandler(event:ToolTipEvent):void {
  if(event.currentTarget.mouseX  130) {
  var tooltip:PhotoToolTip = new PhotoToolTip();
  tooltip.src = event.currentTarget.toolTip;
  event.toolTip = tooltip;
  }
  else {
  event.stopImmediatePropagation();
  }
  }
 
 Any ideas?
 
 Thanks
 
 
 
 
 
 
 --
 Alex Harui
 Flex SDK Team
 Adobe System, Inc.
 http://blogs.adobe.com/aharui





[flexcoders] SWC's vs. source

2010-04-14 Thread Scott
What are the ramifications of using precompiled SWC vs. source in a
project?  Does the whole SWC load into memory or just the classes that
are being used?  I'm experimenting with other libraries out there and
have access to both the source and SWC.  It seems accessing the SWC is a
lot easier, but I'm not necessarily looking for what's easier.  I want
what's most efficient.

 

 Thanks

   Scott



Re: [flexcoders] SWC's vs. source

2010-04-14 Thread Oleg Sivokon
Generally, SWC should be more efficient in terms of compilation time since
you will be using already compiled code vs the code the compiler still needs
to analyse or resources to encode.
However, I haven't benchmarked that. So, could be there's something which
escaped my attention.

Best.

Oleg


RE: [flexcoders] SWC's vs. source

2010-04-14 Thread Scott
What about file size?  Does it link the whole SWC into the final
product?

 

 Scott

 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Oleg Sivokon
Sent: Wednesday, April 14, 2010 1:04 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] SWC's vs. source

 

  

Generally, SWC should be more efficient in terms of compilation time
since you will be using already compiled code vs the code the compiler
still needs to analyse or resources to encode.

However, I haven't benchmarked that. So, could be there's something
which escaped my attention.

 

Best.

 

Oleg




-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean. 


[flexcoders] Re: SWC's vs. source

2010-04-14 Thread Jeffry Houser
We are told that the SWF compiler optimizes to remove unused classes.

However, I have had some inconsistent results:

http://www.flextras.com/blog/index.cfm/2009/6/25/How-does-SWC-size-affet-SWF-size

I suspect--but never verified--that this is due to static classes or classes w/ 
static methods.  

--- In flexcoders@yahoogroups.com, Scott h...@... wrote:

 What about file size?  Does it link the whole SWC into the final
 product?
 
  
 
  Scott
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Oleg Sivokon
 Sent: Wednesday, April 14, 2010 1:04 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] SWC's vs. source
 
  
 
   
 
 Generally, SWC should be more efficient in terms of compilation time
 since you will be using already compiled code vs the code the compiler
 still needs to analyse or resources to encode.
 
 However, I haven't benchmarked that. So, could be there's something
 which escaped my attention.
 
  
 
 Best.
 
  
 
 Oleg
 
 
 
 
 -- 
 This message has been scanned for viruses and 
 dangerous content by MailScanner http://www.mailscanner.info/ , and is
 
 believed to be clean.





[flexcoders] Flex 4 State Names and Binding

2010-04-14 Thread turbo_vb
Hi All,

Unlike Flex 3, it seems that Flex 4 doesn't allow state names to be bound to 
constants anymore.  An example that no longer works would be something like 
this:

mx:State name={ MyNavigationConstants.STATE_OPEN }/

While I appreciate the improvements that have been made to Flex 4 states, this 
can be a problem for MVC oriented navigation frameworks.  Just wondering what 
the rational was for making this change.

Thanks,
-TH



[flexcoders] VideoPlayer Skinning

2010-04-14 Thread Dan Pride
I am trying to skin a videoplayer so that when you hover over it with a mouse 
it enlarges but when you remove the mouse it goes back to normal.
When I set up a skinclass however I see no hover state.
How do I go about this and is skinning the player the most appropriate way to 
do this. Suggestions / a sample skin would be really appreciated
Dan Pride


  


[flexcoders] What is the MXML syntax for this?

2010-04-14 Thread Christopher McArthur
I have a component, that has a property of type Image. I need to assign
a new Image component to it. this is trivial to do in action script.
But, how do I do it in MXML?

 

Example:

mxml:

local:myContainerComponent id=containerComponent/

 

actionscript: 

var myImage:Image = new Image(myTestImage.jpg);

containerComponent.imageVar = myImage;

 

 

Is there anyway to do that creation of the image, and assignment purely
from MXML? The image cant be a child of anything else, so I cant just
declare it randomly somewhere in the same container.

 

 

For context, im using the Flash Component Kit, and the
myContainerComponent is a container exported from flash a
mx.flash.ContainerMovieClip. And it requires you to assign a component
to its content property. Ideally, id like to create and assign this
content component using mxml only.

 

 

 

 



[flexcoders] Re: Custom Gridline Help

2010-04-14 Thread Jason
Anybody?  I can't figure this out :(




[flexcoders] iwobanas MDatagrid Control

2010-04-14 Thread Angelo Anolin
Has anyone here already used Iwo Banas MDatagrid control?
 
I am having problem when I try to use an XMLListCollection as my data provider 
for the MDatagrid.
 
Using an ordinary datagrid, the data contained in my XMLListCollection is 
displayed.
 
My XMLListCollection is defined as:
 
mx:XMLListCollection id=xmllcData source={_xmlData.Table} /
 
The _xmlData is being populated through an external web service call.
 
Using an ordinary datagrid, setting the dataProvider={xmllcData}, the data is 
displayed.
 
Using MDatagrid, setting the dataProvider={xmllcData}, no data is displayed.
 
Using MDatagrid, setting the dataProvider={_xmlData.table), data is then 
displayed.
 
I am already stumped on this.
 
Any advice? Thanks.
 
Angelo


  

Re: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-14 Thread Guy Morton

On 15/04/2010, at 1:34 AM, Battershall, Jeff wrote:

 
 Reports of Flash’s demise are premature to say the least.  I think Flash will 
 likely be around for some time and will live long and prosper in a variety of 
 contexts.  Steve isn’t seeing the future so much as trying to create a future 
 that provides best competitive advantage to Apple.  And of course, as Adobe 
 is fond of saying, Flash will push the envelope as to what is possible. It 
 will remains to be seen how compelling a case Flash makes for itself, but I’m 
 not going to drop kick Flash just Steve Jobs says I should. He ain’t my pal.
 

I never said Flash's demise was imminent. 

I see flash continuing in some form for decades. I hope it will continue to 
make cool things possible.

I see HTML5 becoming and increasingly popular way to do what many people use 
Flash to do today. I think over the next 3 years we will see many many apps 
developed in HTML 5 instead of Flash/Flex/Silverlight, because what they need 
to do will be possible in HTML 5.

Given that one reason for Flash's dominance has been it was the only way to do 
simple animations, I see it losing a lot of market share unless Adobe adapts to 
the new reality.  That's my point.

Guy

 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of Adnan Doric
 Sent: Wednesday, April 14, 2010 10:25 AM
 To: flexcoders@yahoogroups.com
 Cc: Guy Morton
 Subject: Re: [flexcoders] Re: With the latest eula agreement from Apple
 
  
 
 
 
 On 14/04/2010 13:10, Guy Morton wrote:
 
  
 
 Flipping this whole discussion on its head for a moment
 
  
 
 Adobe used to have the best SVG runtime player in the land. It was fast, had 
 good support for the SVG standard and it was stable.
 
  
 
 Then Adobe bought Macromedia. They discontinued development and support for 
 their SVG player because now they had Flash!
 
  
 
 Adobe could, I'm sure, alter their Flash development tools to output 
 SVG+Javascript. In fact, I'd be surprised if they hadn't already experimented 
 with this. 
 
  
 
 If Adobe was as smart as they think they are, they'd RIGHT NOW fast-track 
 SVG+Javascript export into Flex and Flash IDEs. This would let them become 
 the premier tool for developing iPhone apps, standards-based web vector 
 animations and would encourage adoption of open standards at such a rate that 
 it'd hobble Silverlight into the bargain!
 
  
 
 
 Flash is here because standards sucks. When standards will be good enough, 
 flash will disappear, bunt won't happen anytime soon.
 
 
 
 Of course that is just an idle dream, and instead they will keep pushing 
 their proprietary solution and wait for the killer open-standards IDE that 
 will allow developers to make full use of HTML 5 to pop up and change the 
 market for them. Then we will see Flash become a thing of the past.
 
  
 
 eg check this out
 
  
 
 http://demo.sproutcore.com/sample_controls/
 
  
 
 Look familiar? Look ma! NO plugins, just HTML 5!
 
  
 
 I don't know for others, but it reminds me of Flash 5 ten years old with 
 extra crossbrowser issues.
 Let me think... hell no, don't want to go there :)
 
 Maybe in few years HTML will be like flash 8, and few more years it will be 
 like flash 10. There will be flash 16 and AS4 by the time, another gap for 
 HTML to reach.
 
 So, yeah, good luck with your HTML mate, I wish you good luck, really.
 
 
 
 Vale Flash, you have been good to us, but your time is drawing to a close. 
 Steve Jobs has seen the future, and Flash ain't there.
 
  
 
 Guy
 
  
 
 The future where Apple dictates what you can install on your phone, what you 
 can see on the web, what music you can listen ? 
 Sound great, see you there :)
 
 
 
 
 
 



Re: [flexcoders] Re: SWC's vs. source

2010-04-14 Thread Alex Harui
Jeffry, it would be interesting to see the link-reports from your tests.


On 4/14/10 11:25 AM, Jeffry Houser j...@dot-com-it.com wrote:






We are told that the SWF compiler optimizes to remove unused classes.

However, I have had some inconsistent results:

http://www.flextras.com/blog/index.cfm/2009/6/25/How-does-SWC-size-affet-SWF-size

I suspect--but never verified--that this is due to static classes or classes w/ 
static methods.

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , 
Scott h...@... wrote:

 What about file size?  Does it link the whole SWC into the final
 product?



  Scott



 

 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com  
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
 Behalf Of Oleg Sivokon
 Sent: Wednesday, April 14, 2010 1:04 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 Subject: Re: [flexcoders] SWC's vs. source





 Generally, SWC should be more efficient in terms of compilation time
 since you will be using already compiled code vs the code the compiler
 still needs to analyse or resources to encode.

 However, I haven't benchmarked that. So, could be there's something
 which escaped my attention.



 Best.



 Oleg




 --
 This message has been scanned for viruses and
 dangerous content by MailScanner http://www.mailscanner.info/ , and is

 believed to be clean.







--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-14 Thread Guy Morton
Mmmm. As Adnan said to me Good luck with that :-)

I'm sure MS has the same dream of Silverlight everywhere. That ain't going to 
happen either.


On 15/04/2010, at 1:42 AM, Gregor Kiddie wrote:

 
 I do agree that the main problem is that there isn’t really an excellent 
 competitor to the App store. Once Flash is on absolutely everything, the 
 Flash Store will be that competitor. It doesn’t matter what device you use, 
 mobile, PC, television, set top box, tablet, some future brain implant, it’s 
 a one stop shop to get the app.
 
  
 
  Of course, what would really be the killer for the Flash store would be 
 making the app independent of the device.
 
 Buy an app on your mobile, then turn on your PC. It checks the Flash store, 
 sees you have a purchased app it’s not got installed, and fetches and 
 installs it itself.
 
  
 
 The final nail would be persistent state. Buy and start playing a game on 
 your mobile on the train home. Get in, turn on your PC and continue the same 
 game. That’s the app store killer right there!
 
  
 
 Gk.
 
 
 



RE: [flexcoders] Re: SWC's vs. source

2010-04-14 Thread Scott
Great; thanks.  I guess I'll play with the SWCs then which will make my
life easier anyway.

 

 sj

 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Jeffry Houser
Sent: Wednesday, April 14, 2010 1:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: SWC's vs. source

 

  

We are told that the SWF compiler optimizes to remove unused classes.

However, I have had some inconsistent results:

http://www.flextras.com/blog/index.cfm/2009/6/25/How-does-SWC-size-affet
-SWF-size
http://www.flextras.com/blog/index.cfm/2009/6/25/How-does-SWC-size-affe
t-SWF-size 

I suspect--but never verified--that this is due to static classes or
classes w/ static methods. 

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Scott h...@... wrote:

 What about file size? Does it link the whole SWC into the final
 product?
 
 
 
 Scott
 
 
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of Oleg Sivokon
 Sent: Wednesday, April 14, 2010 1:04 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: Re: [flexcoders] SWC's vs. source
 
 
 
 
 
 Generally, SWC should be more efficient in terms of compilation time
 since you will be using already compiled code vs the code the compiler
 still needs to analyse or resources to encode.
 
 However, I haven't benchmarked that. So, could be there's something
 which escaped my attention.
 
 
 
 Best.
 
 
 
 Oleg
 
 
 
 
 -- 
 This message has been scanned for viruses and 
 dangerous content by MailScanner http://www.mailscanner.info/
http://www.mailscanner.info/  , and is
 
 believed to be clean.





-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean. 


[flexcoders] Exceeding Flash's Capabilities?

2010-04-14 Thread trefalgar
The majority of my flex work revolves around graphing data. If for some reason 
a user picks a lot of statistics to graph, over an even longer period of time, 
the amount of data that comes back to the Flash application overwhelms flash, 
consuming all of the boxes resources and regularly crashing the browser.

Is there anything in the developers bag of tricks to help with this kind of 
problem, or is the sheer amount of data too much for the 
application/SDK/solution to handle?

I understand I can put a limit on the amount of data returned, but as the user 
states, I can pull it out of the database, via Excel, and it works.

Tref



Re: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-14 Thread Nick Collins
If that were the case, then OpenPlug wouldn't be able to to it with Elips
Studio, but they are. They basically are providing a modified Flex 3.x SDK
to use within Flex Builder. Then their IDE extensions output an XCode
project that even will give you hooks so you can tie into native services,
like the camera, address book, etc.

On Tue, Apr 13, 2010 at 9:23 AM, Gregor Kiddie 
gregor.kid...@channeladvisor.com wrote:



  That amounts to open sourcing the player, as anyone could take a look at
 the XCode project (or reverse engineer the player from it), which is a no-no
 from Adobe’s perspective. Turning the player into ARM code was about the
 only way they could get round the licensing problems associated with the
 player.



 Gk.



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *valdhor
 *Sent:* 13 April 2010 15:15
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Re: With the latest eula agreement from Apple





 Yes, I know that.

 What I was suggesting is that Adobe change the output from ARM code to to
 an XCode project. Wouldn't that get around the new Apple agreement?




  



[flexcoders] Re: SWC's vs. source

2010-04-14 Thread Jeffry Houser

 I'm not sure if I should feel foolish for asking or not; but what is a 
link-report and how do I get it?  Some compiler option?  

 I created the files; recorded the final file sizes.  It was close to a year 
ago now; so to redo anything I'd have to start from scratch.  I could put it on 
my list of things to do; but it wouldn't be priority.

 

--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 Jeffry, it would be interesting to see the link-reports from your tests.
 
 
 On 4/14/10 11:25 AM, Jeffry Houser j...@... wrote:
 
 
 
 
 
 
 We are told that the SWF compiler optimizes to remove unused classes.
 
 However, I have had some inconsistent results:
 
 http://www.flextras.com/blog/index.cfm/2009/6/25/How-does-SWC-size-affet-SWF-size
 
 I suspect--but never verified--that this is due to static classes or classes 
 w/ static methods.
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , 
 Scott halo@ wrote:
 
  What about file size?  Does it link the whole SWC into the final
  product?
 
 
 
   Scott
 
 
 
  
 
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com  
  [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] 
  On
  Behalf Of Oleg Sivokon
  Sent: Wednesday, April 14, 2010 1:04 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
  Subject: Re: [flexcoders] SWC's vs. source
 
 
 
 
 
  Generally, SWC should be more efficient in terms of compilation time
  since you will be using already compiled code vs the code the compiler
  still needs to analyse or resources to encode.
 
  However, I haven't benchmarked that. So, could be there's something
  which escaped my attention.
 
 
 
  Best.
 
 
 
  Oleg
 
 
 
 
  --
  This message has been scanned for viruses and
  dangerous content by MailScanner http://www.mailscanner.info/ , and is
 
  believed to be clean.
 
 
 
 
 
 
 
 --
 Alex Harui
 Flex SDK Team
 Adobe System, Inc.
 http://blogs.adobe.com/aharui





Re: [flexcoders] Exceeding Flash's Capabilities?

2010-04-14 Thread Richard Rodseth
How many items are you (and the Excel user) talking about?
What sort of Flex charts are you using?
Are you using AMF, XML or JSON to retrieve the data?

On Wed, Apr 14, 2010 at 3:48 PM, trefalgar trefal...@yahoo.com wrote:



 The majority of my flex work revolves around graphing data. If for some
 reason a user picks a lot of statistics to graph, over an even longer period
 of time, the amount of data that comes back to the Flash application
 overwhelms flash, consuming all of the boxes resources and regularly
 crashing the browser.

 Is there anything in the developers bag of tricks to help with this kind of
 problem, or is the sheer amount of data too much for the
 application/SDK/solution to handle?

 I understand I can put a limit on the amount of data returned, but as the
 user states, I can pull it out of the database, via Excel, and it works.

 Tref

  



Re: [flexcoders] Exceeding Flash's Capabilities?

2010-04-14 Thread Paul Andrews
On 14/04/2010 23:48, trefalgar wrote:
 The majority of my flex work revolves around graphing data. If for some 
 reason a user picks a lot of statistics to graph, over an even longer period 
 of time, the amount of data that comes back to the Flash application 
 overwhelms flash, consuming all of the boxes resources and regularly crashing 
 the browser.


A lot gives nobody any clue of how much data is involved.
 Is there anything in the developers bag of tricks to help with this kind of 
 problem, or is the sheer amount of data too much for the 
 application/SDK/solution to handle?

If the crashes take place over time, it sounds as though your 
application is just consuming resources and not releasing or reusing 
them. In such cases it's often more a matter of programming technique 
rather than a flash limitation. You'll need to explain how you handle 
the data and plot the graphs.
 I understand I can put a limit on the amount of data returned, but as the 
 user states, I can pull it out of the database, via Excel, and it works

 Tref




Re: [flexcoders] Re: SWC's vs. source

2010-04-14 Thread Alex Harui
It is an MXMLC option.  -link-report=somexmlfile.

It will show you all classes in the SWF.   I think there is a tool called 
itDepends that can help you read one.

No big deal to me if you never get to it.


On 4/14/10 4:09 PM, Jeffry Houser j...@dot-com-it.com wrote:







 I'm not sure if I should feel foolish for asking or not; but what is a 
link-report and how do I get it?  Some compiler option?

I created the files; recorded the final file sizes.  It was close to a year ago 
now; so to redo anything I'd have to start from scratch.  I could put it on my 
list of things to do; but it wouldn't be priority.

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex 
Harui aha...@... wrote:

 Jeffry, it would be interesting to see the link-reports from your tests.


 On 4/14/10 11:25 AM, Jeffry Houser j...@... wrote:






 We are told that the SWF compiler optimizes to remove unused classes.

 However, I have had some inconsistent results:

 http://www.flextras.com/blog/index.cfm/2009/6/25/How-does-SWC-size-affet-SWF-size

 I suspect--but never verified--that this is due to static classes or classes 
 w/ static methods.

 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com  
 mailto:flexcoders%40yahoogroups.com , Scott halo@ wrote:
 
  What about file size?  Does it link the whole SWC into the final
  product?
 
 
 
   Scott
 
 
 
  
 
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com  
  mailto:flexcoders%40yahoogroups.com  [mailto:flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com  
  mailto:flexcoders%40yahoogroups.com ] On
  Behalf Of Oleg Sivokon
  Sent: Wednesday, April 14, 2010 1:04 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com  
  mailto:flexcoders%40yahoogroups.com
  Subject: Re: [flexcoders] SWC's vs. source
 
 
 
 
 
  Generally, SWC should be more efficient in terms of compilation time
  since you will be using already compiled code vs the code the compiler
  still needs to analyse or resources to encode.
 
  However, I haven't benchmarked that. So, could be there's something
  which escaped my attention.
 
 
 
  Best.
 
 
 
  Oleg
 
 
 
 
  --
  This message has been scanned for viruses and
  dangerous content by MailScanner http://www.mailscanner.info/ , and is
 
  believed to be clean.
 






 --
 Alex Harui
 Flex SDK Team
 Adobe System, Inc.
 http://blogs.adobe.com/aharui







--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] What is the MXML syntax for this?

2010-04-14 Thread Alex Harui
Are you looking for:

local:myContainerComponent id=”containerComponent”
local:imageVar
mx:Image source=”myTestImage.jpg” /
/local:imageVar
/local:myContainerComponent


On 4/14/10 12:53 PM, Christopher McArthur cmcart...@riotgames.com wrote:






I have a component, that has a property of type Image. I need to assign a new 
Image component to it. this is trivial to do in action script. But, how do I do 
it in MXML?

Example:
mxml:
local:myContainerComponent id=containerComponent/

actionscript:
var myImage:Image = new Image(myTestImage.jpg);
containerComponent.imageVar = myImage;


Is there anyway to do that creation of the image, and assignment purely from 
MXML? The image cant be a child of anything else, so I cant just declare it 
randomly somewhere in the same container.


For context, im using the Flash Component Kit, and the myContainerComponent is 
a container exported from flash a mx.flash.ContainerMovieClip. And it 
requires you to assign a component to its content property. Ideally, id like 
to create and assign this content component using mxml only.









--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui