[flexcoders] Any official known issue for flashplayer 9 running playerglobal.swc 10?

2009-10-07 Thread yldleung
Hi Flexperts!

I am trying to figure out whether there is any known issues or protential 
problem by running a Flex 3 application compiled with playerglobal.swc in the 
player10 folder to be run on FlashPlayer 9? 

Does anyone have any idea, can someone share about it, please?

Thanks

Regards,
Dan



[flexcoders] advancedDataGridColumn.styleFunction question

2009-10-07 Thread MicC
private function formatSummary(data:Object,
col:AdvancedDataGridColumn):Object
{
   if (data.hasOwnProperty(summary))
   {
  return { color:0xFF, fontWeight:bold,
  textAlign:right };
   }

   return {};
}

mx:AdvancedDataGridColumn headerText = PI  textAlign=right
labelFunction=formatIntADG dataField=pirevenue
styleFunction=formatSummary/

This works perfectly and formats my grid summary rows in red, bold text. But 
advancedDataGridColumn also has Styles: backgroundColor=0x.. with which I 
was hoping to shade all my summary rows e.g. grey - has no effect. Should it? 
TIA,

Mic. 




[flexcoders] change decimal separator to comma on input field

2009-10-07 Thread awesome

Hi,

I am banging my head for a couple of hours with this problem and i'm drawing
a blank. Please anyone for some help on this subject..


I have a form which is updating mysql table with one of the columns named
'price' with data type decimal(5,2).

In flex i used php service generator to create php for crud db operations.
Everything works except i cannot enable input with decimal symbol comma
instead of dot.

valueObjects:Products id=products
price={parseFloat(priceTextInput.text)} /
mx:NumberFormatter id=euroPriceInput precision=2 rounding=none 
decimalSeparatorFrom=, decimalSeparatorTo=.
useThousandsSeparator=false /
mx:TextInput id=priceTextInput
text={euroPriceInput.format(products.price)} width=200/

If I type price in format 12.34 it updates correctly but when I use 12,34 it
saves 12,00. 
Use of numberformatter does not make a difference. What am I missing? 

Thank you in advance.
-- 
View this message in context: 
http://www.nabble.com/change-decimal-separator-to-comma-on-input-field-tp25780609p25780609.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Adobe Flex Dashboard

2009-10-07 Thread Angelo Anolin
Hi Paul,

I looked at the StateManager.as file and in the line which Vivian pointed out, 
this is it:

private static var sharedObject:SharedObject = 
SharedObject.getLocal(com.esria.sample.dashboard);

So, how do I know which file is the line above pointing to?

Pardon my lack of understanding but this is the first time I 
encountered/delving into the SharedObject thing.

Thanks.

Regards,

Angelo





From: Paul Andrews p...@ipauland.com
To: flexcoders@yahoogroups.com
Sent: Wednesday, 7 October, 2009 7:08:05
Subject: Re: [flexcoders] Adobe Flex Dashboard

  
Angelo Anolin wrote:


 Thanks a lot for pointing this one out Vivian.

 Although I still cannot fathom how the SharedObject is retained even 
 after the application (SWF) is recompiled. I even did a restart of 
 the machine and the settings are still there. Isn't it being retained 
 in some sort of file or something?
SharedObject is a file on the computer and retains it's content after 
the application is shut down, or recompiled, or the computer turned off!

Look in StateManager. as - the shared object is there..

Paul


 Regards,

 Angelo

  - - - - - -
 *From:* Vivian Richard kanps...@gmail. com
 *To:* flexcod...@yahoogro ups.com
 *Sent:* Wednesday, 7 October, 2009 0:50:37
 *Subject:* Re: [flexcoders] Adobe Flex Dashboard

 



 in the file StateManager. as line 17
 private static var sharedObject: SharedObject = SharedObject. 
 getLocal(com. esria.sample. dashboard);
  - - - - - 
 - - - - - - - 
 - - - -


 On Tue, Oct 6, 2009 at 9:23 AM, Angelo Anolin angelo_anolin@ 
 yahoo.com mailto:angelo_anolin@ yahoo.com wrote:

 
 I tried to locate if SharedObject was used in the application but
 I am unable to find one.

 I know it is being set somewhere but I just can't pinpoint it at
 this stage.

 Would still appreciate your inputs. In the meantime, let me dig
 through this haystack for the needle.

 THanks,

 Angelo

  - - - - - -
 *From:* Vivian Richard kanps...@gmail. com
 mailto:kanps...@gmail. com
 *To:* flexcod...@yahoogro ups.com mailto:flexcod...@yahoogro ups.com
 *Sent:* Wednesday, 7 October, 2009 0:02:22
 *Subject:* Re: [flexcoders] Adobe Flex Dashboard

 


 You can do this using SharedObject - I guess they are also
 using SharedObject somewhere. Please see this example
 here:

 http://livedocs. adobe.com/ flex/3/html/ help.html?
 content=lsos_ 5.html
 http://livedocs. adobe.com/ flex/3/html/ help.html? content=lsos_ 5.html




 On Tue, Oct 6, 2009 at 8:44 AM, Angelo Anolin angelo_anolin@
 yahoo.com mailto:angelo_anolin@ yahoo.com wrote:

 
 Hi Flexcoders!

 I started dabbling with the codes for the Adobe Flex Dashboard
 (http://examples. adobe.com/ flex3/devnet/ dashboard/
 main.html
 http://examples. adobe.com/ flex3/devnet/ dashboard/ main.html)
 and has been able to load properly all the necessary files and
 components to run the application.

 My question is that I think the last view settings are being
 retained but I do not know where these settings are. For
 example, in the first tab (Sales Tab), when I minimize all
 windows except the Yearly Revenue (the first pod) and close
 the browser and open it again, those pods which have been
 minimized remains minimized. If for example I closed the
 browser and I was on Marketing tab, opening the application
 will show me that the Marketing tab is the one currently
 displayed.

 I am having a hard time figuring out whether there is a
 setting which retains what the user has last viewed on this
 application. Even recompiling the application and replacing
 the deployed SWF on the server, the view still points back to
 the last view prior to the browser (application) being closed.

 What do you call this feature of Flex applications? Where do
 I configure it so that I could reset the application to
 default view (the view when SWF file was first deployed) when
 I open the application?

 Appreciate your advise.

 Thanks.

 Regards,

 Angelo







 





  

Re: [flexcoders] Adobe Flex Dashboard

2009-10-07 Thread Paul Andrews
Angelo Anolin wrote:


 Hi Paul,
  
 I looked at the StateManager.as file and in the line which Vivian 
 pointed out, this is it:
  
 private static var sharedObject:SharedObject = 
 SharedObject.getLocal(com.esria.sample.dashboard);
  
 So, how do I know which file is the line above pointing to?
The real question is - why should you care where the file is saved? It 
makes no difference to the application. You should never need to mess 
with the actual file, just interact with the shared object. Google 
flash shared objects.

Paul
  
 Pardon my lack of understanding but this is the first time I 
 encountered/delving into the SharedObject thing.
  
 Thanks.
  
 Regards,
  
 Angelo

 
 *From:* Paul Andrews p...@ipauland.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Wednesday, 7 October, 2009 7:08:05
 *Subject:* Re: [flexcoders] Adobe Flex Dashboard

  

 Angelo Anolin wrote:
 
 
  Thanks a lot for pointing this one out Vivian.
 
  Although I still cannot fathom how the SharedObject is retained even
  after the application (SWF) is recompiled. I even did a restart of
  the machine and the settings are still there. Isn't it being retained
  in some sort of file or something?
 SharedObject is a file on the computer and retains it's content after
 the application is shut down, or recompiled, or the computer turned off!

 Look in StateManager. as - the shared object is there..

 Paul

 
  Regards,
 
  Angelo
 
   - - - - - -
  *From:* Vivian Richard kanps...@gmail. com 
 mailto:kanpsack%40gmail.com
  *To:* flexcod...@yahoogro ups.com mailto:flexcoders%40yahoogroups.com
  *Sent:* Wednesday, 7 October, 2009 0:50:37
  *Subject:* Re: [flexcoders] Adobe Flex Dashboard
 
 
 
 
 
  in the file StateManager. as line 17
  private static var sharedObject: SharedObject = SharedObject.
  getLocal(com. esria.sample. dashboard);
   - - - - -
  - - - - - - -
  - - - -
 
 
  On Tue, Oct 6, 2009 at 9:23 AM, Angelo Anolin angelo_anolin@
  yahoo.com mailto:angelo_anolin@ yahoo.com 
 mailto:angelo_anolin%40yahoo.com wrote:
 
 
  I tried to locate if SharedObject was used in the application but
  I am unable to find one.
 
  I know it is being set somewhere but I just can't pinpoint it at
  this stage.
 
  Would still appreciate your inputs. In the meantime, let me dig
  through this haystack for the needle.
 
  THanks,
 
  Angelo
 
   - - - - - -
  *From:* Vivian Richard kanps...@gmail. com
  mailto:kanps...@gmail. com mailto:kanpsack%40gmail.com
  *To:* flexcod...@yahoogro ups.com mailto:flexcod...@yahoogro 
 ups.com mailto:flexcoders%40yahoogroups.com
  *Sent:* Wednesday, 7 October, 2009 0:02:22
  *Subject:* Re: [flexcoders] Adobe Flex Dashboard
 
 
 
 
  You can do this using SharedObject - I guess they are also
  using SharedObject somewhere. Please see this example
  here:
 
  http://livedocs. http://livedocs./ adobe.com/ flex/3/html/ help.html?
  content=lsos_ 5.html
  http://livedocs. adobe.com/ flex/3/html/ help.html? content=lsos_ 
 5.html 
 http://livedocs.adobe.com/flex/3/html/help.html?content=lsos_5.html
 
 
 
 
  On Tue, Oct 6, 2009 at 8:44 AM, Angelo Anolin angelo_anolin@
  yahoo.com mailto:angelo_anolin@ yahoo.com 
 mailto:angelo_anolin%40yahoo.com wrote:
 
 
  Hi Flexcoders!
 
  I started dabbling with the codes for the Adobe Flex Dashboard
  (http://examples. http://examples./ adobe.com/ flex3/devnet/ 
 dashboard/
  main.html
  http://examples. adobe.com/ flex3/devnet/ dashboard/ main.html 
 http://examples.adobe.com/flex3/devnet/dashboard/main.html)
  and has been able to load properly all the necessary files and
  components to run the application.
 
  My question is that I think the last view settings are being
  retained but I do not know where these settings are. For
  example, in the first tab (Sales Tab), when I minimize all
  windows except the Yearly Revenue (the first pod) and close
  the browser and open it again, those pods which have been
  minimized remains minimized. If for example I closed the
  browser and I was on Marketing tab, opening the application
  will show me that the Marketing tab is the one currently
  displayed.
 
  I am having a hard time figuring out whether there is a
  setting which retains what the user has last viewed on this
  application. Even recompiling the application and replacing
  the deployed SWF on the server, the view still points back to
  the last view prior to the browser (application) being closed.
 
  What do you call this feature of Flex applications? Where do
  I configure it so that I could reset the application to
  default view (the view when SWF file was first deployed) when
  I open the application?
 
  Appreciate your advise.
 
  Thanks.
 
  

[flexcoders] VerifyError: Error #1053: Illegal override of FlexModuleFactory in mx.core.FlexModuleFactory at global$init()

2009-10-07 Thread Dima Gutzeit
Hi,

I have a flex project that compiles and runs fine on all SDKs up to 3.4.0.6955.
When I try use any SDK version higher than that (3.4.0.9271, 3.4.1.10084) the 
project compiles but fails with the following when I try to run it:

VerifyError: Error #1053: Illegal override of FlexModuleFactory in 
mx.core.FlexModuleFactory
 at global$init()

It very frustrating ...

Does anyone has any clue ?


Thanks in advance.

Regards,
Dima Gutzeit.

P.S. - I am not loading any modules in my project.

[flexcoders] Persitent/interactive tooltip

2009-10-07 Thread Kevin Bowers
  Hi,
 
I'm trying to find some examples of tooltips that remain visible and allow
the user to interact with them, click on a link within the tip for example.
 
Does anyone know of any good sources
 
Many thanks,
 
Kev 



[flexcoders] Stylesheets and swcs.

2009-10-07 Thread Florian
I'm currently stuck and i hope somebody can give me a hint.

I'm trying to compile a swc with applied component styles, so i can use the 
components on the fly without referencing a theme or using a CSS file when 
compiling the application. I thought the -include-stylesheet compiler option 
would be the way to go, but it does not work as expected...

I'm just using typeselectors, no stylenames.

Best regards.



[flexcoders] Re: Loading Font Files at Runtime

2009-10-07 Thread cheran425
Well finally getting some idea abt it but can anyone pls say me how to generate 
a module with the uploaded font.



[flexcoders] Re: Persitent/interactive tooltip

2009-10-07 Thread mrcaraion
Hi, look at ToolTipManager class, it has a createToolTip() method, this class 
also provides a destroyToolTip() method which allows you to manage the creation 
and disposal of your tool tips, also you can set the toolTipClass property with 
the class you want to use for you tool tip: 
http://livedocs.adobe.com/flex/3/langref/mx/managers/ToolTipManager.html



[flexcoders] Data Grid as itemRenderer not getting mouse events

2009-10-07 Thread Nick Middleweek
Hello,

I have an Adv Data Grid and Column 1's itemRenderer is set to an MXML
component that has a DataGrid in it.

This (sub) DataGrid is shown when a button is clicked in another column.
Works great, but...

I'm trying to resize the columns of the sub DataGrid but the mouse events
don't seem to be getting through... Except for in Column 1 of the main Adv
DataGrid and also column 3 which has a custom itemRenderer set for that
column.

The (sub) DataGrid has *resizableColumns=true*.


I can see that where the columns of 1 and 3 start and finish, mouse events
are getting through and the (sub)DataGrid's rows are being highlighted on
mouseOver as well.

I guess I could create an itemRenderer for all the columns in the Adv
DataGrid but am wondering why this is happening. Is something else being set
on the AdvDataGrid to let the mouse events through when using a custom
itemRenderer? Is there a property I can set instead?


Thanks,
Nick


[flexcoders] Module to Module custom Events

2009-10-07 Thread Kevin Bowers
I think that this one has been asked before, but I not able to find the
answer.  Hopefully someone will be able to help.
 
I'm trying to dispatch a custom event from a module to a listener in another
module, but I'm not able to get it to work.
 
Can anyone point me in the direction of an example for this.
 
Many thanks

 
http://geo.yahoo.com/serv?s=97359714/grpId=12286167/grpspId=1705007207/msgI
d=148416/stime=1254905235/nc1=1/nc2=2/nc3=3 




[flexcoders] Re: embeding fonts of a style (Interstate RegularCondensed)

2009-10-07 Thread artur_desig2dev
we are having the same issue but with applying styles to Interstate
Light:
but we're trying to get this to work in AS3 ..and not FLEX..

first we tried doing it this way..

[Embed(source=../fonts/Interstate-Light.ttf,
fontName=Interstate-Light, mimeType=application/x-font-truetype)]
public static const InterstateTTF:String;

[Embed(source=../fonts/Interstate-Bold.ttf, fontWeight=bold,
fontName=Interstate-Bold, mimeType=application/x-font-truetype)]
public static const InterstateBoldTTF:String;

[Embed(source=../fonts/Interstate-Italic.ttf, fontStyle=italic,
fontName=Interstate-Italic, mimeType=application/x-font-truetype)]
public static const InterstateItalicTTF:String;


var defaultStyle:Object = new Object();
defaultStyle.fontFamily = Interstate;

var style:StyleSheet = new StyleSheet();
style.setStyle(.defaultStyle, defaultStyle);

var t:TextField = new TextField();
t.embedFonts = true;
t.styleSheet = style;
t.htmlText = span class='defaultStyle'My bbold/b text/span;


then we also tried it using CSS and embedding the font in a swf:


package
{
 import flash.display.*;
 import flash.events.*;
 import flash.net.*;
 import flash.text.*;

 [SWF(width='955', height='600', backgroundColor='#FF',
framerate='24')]

 public class Index extends Sprite
 {
 [Embed(
 source=font.swf,
 symbol=InterstateLight
 )]
 private var Interstate:Class;

 public function Index()
 {

 Font.registerFont(Interstate-Light);

 var style:StyleSheet = new StyleSheet();

   var normal:Object = new Object();
 normal.color = #FF4900;
 normal.fontFamily = Interstate-Light;
 normal.fontLeading = 2;
 normal.fontSize = 11;

 var bold:Object = new Object();
 bold.color = #FF4900;
 bold.fontFamily = Interstate-Bold;
 bold.fontLeading = 2;
 bold.fontSize = 11;
 bold.fontWeight = bold;

 var italic:Object = new Object();
 italic.color = #FF4900;
 italic.fontFamily = Interstate-Italic;
 italic.fontLeading = 2;
 italic.fontSize = 11;
 italic.fontStyle = italic;

 style.setStyle(.normal, normal);
 style.setStyle(.italic, italic);
 style.setStyle(.bold, bold);

 var label:TextField = new TextField();
 label.antiAliasType = AntiAliasType.ADVANCED;
 label.autoSize = TextFieldAutoSize.LEFT;
 //label.embedFonts = true;
 label.multiline = true;
 label.styleSheet = style;
 label.htmlText = span class='italic'HOLA HOLA HOLA HOLA
HOLAbrHOLA  DDDbrfont
color='#00'HOLAAA/font/span;
 addChild(label);

 var tf:TextFormat = new TextFormat(Interstate-Light, 11)
 var label1:TextField = new TextField();
 label1.defaultTextFormat = tf;
 label1.antiAliasType = AntiAliasType.ADVANCED;
 label1.autoSize = TextFieldAutoSize.LEFT;
 label1.embedFonts = true;
 label1.multiline = true;
 label1.htmlText = HOLA HOLA HOLA HOLA HOLA;
label1.y = 100;
 addChild(label1);
 }
 }
}


any ideas?!
time sensitive project.. thanks



[flexcoders] Key Return for button

2009-10-07 Thread Christophe
Hello,

I have a button on a page of a flex application. 

I want that a press on the key Return has the same effect as a click on the 
button. How to do that ?

Thank you,
Christophe, 




RE: [flexcoders] Key Return for button

2009-10-07 Thread Jake Churchill
defaultButton

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
 http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Christophe
Sent: Wednesday, October 07, 2009 8:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Key Return for button

 

  

Hello,

I have a button on a page of a flex application. 

I want that a press on the key Return has the same effect as a click on
the button. How to do that ?

Thank you,
Christophe, 



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.420 / Virus Database: 270.14.4/2417 - Release Date: 10/06/09
06:50:00



[flexcoders] Re: change decimal separator to comma on input field

2009-10-07 Thread seanmcmonahan
Try listening for TextInput's valueCommit event.  In you event handler do the 
number formatting.

--- In flexcoders@yahoogroups.com, awesome cubesp...@... wrote:

 
 Hi,
 
 I am banging my head for a couple of hours with this problem and i'm drawing
 a blank. Please anyone for some help on this subject..
 
 
 I have a form which is updating mysql table with one of the columns named
 'price' with data type decimal(5,2).
 
 In flex i used php service generator to create php for crud db operations.
 Everything works except i cannot enable input with decimal symbol comma
 instead of dot.
 
 valueObjects:Products id=products
 price={parseFloat(priceTextInput.text)} /
 mx:NumberFormatter id=euroPriceInput precision=2 rounding=none 
   decimalSeparatorFrom=, decimalSeparatorTo=.
 useThousandsSeparator=false /
 mx:TextInput id=priceTextInput
 text={euroPriceInput.format(products.price)} width=200/
 
 If I type price in format 12.34 it updates correctly but when I use 12,34 it
 saves 12,00. 
 Use of numberformatter does not make a difference. What am I missing? 
 
 Thank you in advance.
 -- 
 View this message in context: 
 http://www.nabble.com/change-decimal-separator-to-comma-on-input-field-tp25780609p25780609.html
 Sent from the FlexCoders mailing list archive at Nabble.com.





[flexcoders] .Net Web Services Polling Question

2009-10-07 Thread cjsteury2
Let me re-phrase my prior inquiry...

If Using .net with SQL db and web services to communicate with FLEX front end 
components Charting and Datagrid... my questions is this...

What is best way to get the components to 'auto-update'... with no page 
refresh...  the pages are in a .Net framework.

Right now the Webservices .send() the request to .Net WebService which updates 
an ArrayCollection to the Components.

I would like the components to auto-refresh() every 15 minutes with no page 
refresh.. So specifically...

1.  It's easy enough to setup a Timer for the Static components (static meaning 
those which do not require user intervention or a 'click' to specify the 
correct data to display).  Would that be the best way to do it ?

2. Also, I have a static page of DataGrid's that are updated via Webservices on 
the creation Complete() event using ArrayCollections...  if I were using some 
other type of Data Commm like say AMF or other HTTP type service would it be 
easier to setup a Polling capability or is the same just to set up  TIMER to 
Send() the Web Services Request?

3.  Because I need a user to click a Datagrid to select the correct 
SelectedItem to display from a DataGrid in a Chart Component... how would I use 
a Timer() event to update this request??

Ohhh, I think I know... The 'selectedItem' is a Public Variable so the Update 
Event would always know which item to request...

Otherwise, what other architecture issues should I be aware or?

Any? or is there a better way?



















[flexcoders] Re: Is it a Bug?

2009-10-07 Thread GeorgeB
Hi Alex.

Following your description of that behaviour, I resolved the case doing as you 
said, by handling menuEvent.MENU_HIDE for the menuBar control to disable 
processing itemEditBegin for the ADG.
Everything is now looking normal. Thanks for the advice.

BTW is there a published list of errors/bugs fixed in Flex SDK 3.4 as compared 
to SDK 3.2 ? (the one I use now). 

Thanks again
George


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

 Flex tries hard to make sure some component has focus and will restore focus 
 to the last thing in the app that had focus.  If that is the ADG, the ADG 
 will start a new edit session.  You can try to detect that situation and 
 cancel ITEM_EDIT_BEGINNING or ITEM_EDIT_BEGIN.
 
 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of GeorgeB
 Sent: Tuesday, October 06, 2009 6:04 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Is it a Bug?
 
 
 
 Hi all,
 
 I stumbled on the following and don't know if this is a bug, and if there are 
 is any fix.
 Environment is Eclipse Ganymede, Flex Pro Plugin 3 (3.2 SDK)
 
 The setup includes a MenuBar control with several submenus. Also there is a 
 AdvancedDataGrid with several columns and some itemEditors used in these 
 columns. Handling of the itemEditors is through a typical itemEditBegin event 
 function, that handles the event. This works OK as it should.
 
 Now let's first use any itemEditor on the ADG (and finish the operation). 
 Then clicking the menuBar, it opens the popup submenu through 
 nenuEvent:MENU_SHOW, as it has to. If I leave the popup open and click 
 anywhere outside, to close the popup, it closes allright, but the previously 
 used itemEditor comes open/selected. This is not supposed to be, but happens 
 all the time, even if I click outside the ADG, anywhere. (The function that 
 handles the itemEditBegin is triggered and the event.target shows the ADG 
 with columnIndex of the previously used itemEditor still selected)
 
 Any insight please?
 
 Thanks
 George





RE: [flexcoders] Data Grid as itemRenderer not getting mouse events

2009-10-07 Thread Alex Harui
Maybe try DG in DG just to see if it also blocks events.  Then we'll know where 
to start looking.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Nick Middleweek
Sent: Wednesday, October 07, 2009 5:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Data Grid as itemRenderer not getting mouse events



Hello,

I have an Adv Data Grid and Column 1's itemRenderer is set to an MXML component 
that has a DataGrid in it.

This (sub) DataGrid is shown when a button is clicked in another column. Works 
great, but...

I'm trying to resize the columns of the sub DataGrid but the mouse events don't 
seem to be getting through... Except for in Column 1 of the main Adv DataGrid 
and also column 3 which has a custom itemRenderer set for that column.

The (sub) DataGrid has resizableColumns=true.


I can see that where the columns of 1 and 3 start and finish, mouse events are 
getting through and the (sub)DataGrid's rows are being highlighted on mouseOver 
as well.

I guess I could create an itemRenderer for all the columns in the Adv DataGrid 
but am wondering why this is happening. Is something else being set on the 
AdvDataGrid to let the mouse events through when using a custom itemRenderer? 
Is there a property I can set instead?


Thanks,
Nick



RE: [flexcoders] Re: Is it a Bug?

2009-10-07 Thread Alex Harui
I'm sure there is but I don't know where it is.  Try release notes or there may 
be a list in JIRA (the bug system)

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of GeorgeB
Sent: Wednesday, October 07, 2009 8:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Is it a Bug?



Hi Alex.

Following your description of that behaviour, I resolved the case doing as you 
said, by handling menuEvent.MENU_HIDE for the menuBar control to disable 
processing itemEditBegin for the ADG.
Everything is now looking normal. Thanks for the advice.

BTW is there a published list of errors/bugs fixed in Flex SDK 3.4 as compared 
to SDK 3.2 ? (the one I use now).

Thanks again
George

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

 Flex tries hard to make sure some component has focus and will restore focus 
 to the last thing in the app that had focus. If that is the ADG, the ADG will 
 start a new edit session. You can try to detect that situation and cancel 
 ITEM_EDIT_BEGINNING or ITEM_EDIT_BEGIN.

 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui

 From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On 
 Behalf Of GeorgeB
 Sent: Tuesday, October 06, 2009 6:04 AM
 To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
 Subject: [flexcoders] Is it a Bug?



 Hi all,

 I stumbled on the following and don't know if this is a bug, and if there are 
 is any fix.
 Environment is Eclipse Ganymede, Flex Pro Plugin 3 (3.2 SDK)

 The setup includes a MenuBar control with several submenus. Also there is a 
 AdvancedDataGrid with several columns and some itemEditors used in these 
 columns. Handling of the itemEditors is through a typical itemEditBegin event 
 function, that handles the event. This works OK as it should.

 Now let's first use any itemEditor on the ADG (and finish the operation). 
 Then clicking the menuBar, it opens the popup submenu through 
 nenuEvent:MENU_SHOW, as it has to. If I leave the popup open and click 
 anywhere outside, to close the popup, it closes allright, but the previously 
 used itemEditor comes open/selected. This is not supposed to be, but happens 
 all the time, even if I click outside the ADG, anywhere. (The function that 
 handles the itemEditBegin is triggered and the event.target shows the ADG 
 with columnIndex of the previously used itemEditor still selected)

 Any insight please?

 Thanks
 George




RE: [flexcoders] Any official known issue for flashplayer 9 running playerglobal.swc 10?

2009-10-07 Thread Alex Harui
Some API calls will not work.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of yldleung
Sent: Tuesday, October 06, 2009 11:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Any official known issue for flashplayer 9 running 
playerglobal.swc 10?



Hi Flexperts!

I am trying to figure out whether there is any known issues or protential 
problem by running a Flex 3 application compiled with playerglobal.swc in the 
player10 folder to be run on FlashPlayer 9?

Does anyone have any idea, can someone share about it, please?

Thanks

Regards,
Dan



RE: [flexcoders] VerifyError: Error #1053: Illegal override of FlexModuleFactory in mx.core.FlexModuleFactory at global$init()

2009-10-07 Thread Alex Harui
Both the module and app that loads it must be on the same version of the SDK.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dima Gutzeit
Sent: Wednesday, October 07, 2009 1:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()


Hi,

I have a flex project that compiles and runs fine on all SDKs up to 3.4.0.6955.
When I try use any SDK version higher than that (3.4.0.9271, 3.4.1.10084) the 
project compiles but fails with the following when I try to run it:

VerifyError: Error #1053: Illegal override of FlexModuleFactory in 
mx.core.FlexModuleFactory
 at global$init()

It very frustrating ...

Does anyone has any clue ?


Thanks in advance.

Regards,
Dima Gutzeit.

P.S. - I am not loading any modules in my project.



Re: [flexcoders] VerifyError: Error #1053: Illegal override of FlexModuleFactory in mx.core.FlexModuleFactory at global$init()

2009-10-07 Thread Dima Gutzeit
The problem is that I do not load any modules  Using datavisualization 
loads a module behind the scenes ?

Thanks in advance.

Regards,
Dima Gutzeit.


From: Alex Harui 
Sent: Wednesday, October 07, 2009 5:39 PM
To: flexcoders@yahoogroups.com 
Subject: RE: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()


  
Both the module and app that loads it must be on the same version of the SDK.



Alex Harui

Flex SDK Developer

Adobe Systems Inc.

Blog: http://blogs.adobe.com/aharui



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dima Gutzeit
Sent: Wednesday, October 07, 2009 1:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()



  

Hi,



I have a flex project that compiles and runs fine on all SDKs up to 3.4.0.6955.

When I try use any SDK version higher than that (3.4.0.9271, 3.4.1.10084) the 
project compiles but fails with the following when I try to run it:



VerifyError: Error #1053: Illegal override of FlexModuleFactory in 
mx.core.FlexModuleFactory

 at global$init()



It very frustrating ...



Does anyone has any clue ?





Thanks in advance.



Regards,

Dima Gutzeit.



P.S. - I am not loading any modules in my project.





RE: [flexcoders] VerifyError: Error #1053: Illegal override of FlexModuleFactory in mx.core.FlexModuleFactory at global$init()

2009-10-07 Thread Alex Harui
Are you using 3rd party SWCs?   All SWCs must be on the same version and must 
match the compiler version.  If you are using RSLs, the RSLs must be the 
correct version.  CSS SWFs and Resource Modules have the same restriction.  The 
console should show that SWFs are being loaded.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dima Gutzeit
Sent: Wednesday, October 07, 2009 8:45 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()


The problem is that I do not load any modules  Using datavisualization 
loads a module behind the scenes ?

Thanks in advance.

Regards,
Dima Gutzeit.

From: Alex Haruimailto:aha...@adobe.com
Sent: Wednesday, October 07, 2009 5:39 PM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: RE: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()


Both the module and app that loads it must be on the same version of the SDK.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcod...@yahoogroups.com] On Behalf Of Dima Gutzeit
Sent: Wednesday, October 07, 2009 1:20 AM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()

Hi,
I have a flex project that compiles and runs fine on all SDKs up to 3.4.0.6955.
When I try use any SDK version higher than that (3.4.0.9271, 3.4.1.10084) the 
project compiles but fails with the following when I try to run it:
VerifyError: Error #1053: Illegal override of FlexModuleFactory in 
mx.core.FlexModuleFactory
 at global$init()
It very frustrating ...
Does anyone has any clue ?
Thanks in advance.
Regards,
Dima Gutzeit.
P.S. - I am not loading any modules in my project.



[flexcoders] any good effects for initial loading of a datagrid with text?

2009-10-07 Thread luvfotography
Hi are there any good effects for loading a datagrid with text?

Like having the text float in from all directions?
thanks,




[flexcoders] how light-weight is an array of custom objects if those custom objects already exist in another array?

2009-10-07 Thread Baz
Hi,

I have an ArrayCollection of custom objects, and I need to create a subset
of those custom objects based on a condition (without using the built-in
filter() functionality). I am thinking of storing that subset in a second
array, but that is not mandatory - performance is key in this piece of the
app. If I did use a second array, how light-weight would it be, are arrays
extremely effecient constructs in general? Also, in terms of the custom
objects, I believe that they would all be linked by reference, and not
duplicated in the second array - is this correct, and does that make the
array basically the same as if it were storing simple integers? Overall, is
this the most effecient way of getting a subset of an array?

Thanks!


Re: [flexcoders] Re: embeding fonts of a style (Interstate RegularCondensed)

2009-10-07 Thread grimmwerks
Found this about embedding font families and how using the Embed tag  
might not be seen by CSS:


http://www.kirupa.com/forum/archive/index.php/t-257913.html

On Oct 7, 2009, at 9:04 AM, artur_desig2dev wrote:




we are having the same issue but with applying styles to Interstate  
Light:

but we're trying to get this to work in AS3 ..and not FLEX..

first we tried doing it this way..

[Embed(source=../fonts/Interstate-Light.ttf, fontName=Interstate- 
Light, mimeType=application/x-font-truetype)]

public static const InterstateTTF:String;

[Embed(source=../fonts/Interstate-Bold.ttf, fontWeight=bold,  
fontName=Interstate-Bold, mimeType=application/x-font-truetype)]

public static const InterstateBoldTTF:String;

[Embed(source=../fonts/Interstate-Italic.ttf, fontStyle=italic,  
fontName=Interstate-Italic, mimeType=application/x-font-truetype)]

public static const InterstateItalicTTF:String;


var defaultStyle:Object = new Object();
defaultStyle.fontFamily = Interstate;

var style:StyleSheet = new StyleSheet();
style.setStyle(.defaultStyle, defaultStyle);

var t:TextField = new TextField();
t.embedFonts = true;
t.styleSheet = style;
t.htmlText = span class='defaultStyle'My bbold/b text/span;


then we also tried it using CSS and embedding the font in a swf:


package
{
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;

[SWF(width='955', height='600', backgroundColor='#FF',  
framerate='24')]


public class Index extends Sprite
{
[Embed(
source=font.swf,
symbol=InterstateLight
)]
 nb sp;  private var Interstate:Class;

public function Index()
{

Font.registerFont(Interstate-Light);

var style:StyleSheet = new StyleSheet();

  var normal:Object = new Object();
normal.color = #FF4900;
normal.fontFamily = Interstate-Light;
   nbs p;normal.fontLeading = 2;
normal.fontSize = 11;

var bold:Object = new Object();
bold.color = #FF4900;
bold.fontFamily = Interstate-Bold;
bold.fontLeading = 2;
bold.fontSize = 11;
bold.fontWeight = bold;

var italic:Object = new Object();
italic.color = #FF4900;
 italic.fontFamily = Interstate-Italic;
italic.fontLeading = 2;
italic.fontSize = 11;
italic.fontStyle = italic;

style.setStyle(.normal, normal);
style.setStyle(.italic, italic);
style.setStyle(.bold, bold);

var label:TextField = new TextField();
  ;   label.antiAliasType = AntiAliasType.ADVANCED;
label.autoSize = TextFieldAutoSize.LEFT;
//label.embedFonts = true;
label.multiline = true;
label.styleSheet = style;
label.htmlText = span class='italic'HOLA HOLA HOLA  
HOLA HOLAbrHOLA  DDDbrfont  
color='#00'HOLAAA/font/span;

addChild(label);

var tf:TextForm at = new TextFormat(Interstate-Light,  
11)

var label1:TextField = new TextField();
label1.defaultTextFormat = tf;
label1.antiAliasType = AntiAliasType.ADVANCED;
label1.autoSize = TextFieldAutoSize.LEFT;
label1.embedFonts = true;
label1.multiline = true;
label1.htmlText = HOLA HOLA HOLA HOLA HOLA;
   label1.y = 100;
addChild(label1);
}
}
}


any ideas?!
time sensitive project.. thanks







Re: [flexcoders] how light-weight is an array of custom objects if those custom objects already exist in another array?

2009-10-07 Thread Paul Andrews
Baz wrote:


 Hi,

 I have an ArrayCollection of custom objects, and I need to create a 
 subset of those custom objects based on a condition (without using the 
 built-in filter() functionality). I am thinking of storing that subset 
 in a second array, but that is not mandatory - performance is key in 
 this piece of the app. If I did use a second array, how light-weight 
 would it be, are arrays extremely effecient constructs in general? 
 Also, in terms of the custom objects, I believe that they would all be 
 linked by reference, and not duplicated in the second array - is this 
 correct, and does that make the array basically the same as if it were 
 storing simple integers? Overall, is this the most effecient way of 
 getting a subset of an array?

All objects are accessed by reference and essentially your proposed 
array would be an array of pointers, so it's about as lightweight as it 
can get.

Paul

 Thanks!




 



[flexcoders] Conditional compilation of CSS

2009-10-07 Thread Richard Rodseth
Is there any way to compile different CSS files based on a compile-time
flag?

For better or worse, I'm trying to avoid the build/deploy complexity of
multiple SWF artifacts.

I can't use the following because I get the error Data binding expressions
not supported with attributes processed at compile time

mx:Style source={styleSource()}/


Re: [flexcoders] VerifyError: Error #1053: Illegal override of FlexModuleFactory in mx.core.FlexModuleFactory at global$init()

2009-10-07 Thread Dima Gutzeit
Is this a new restriction that was introduced in 3.4.0.9271 ? I never had this 
problem when changing the SDK version before. 
Its kind of hard to make sure all the 3rd party SWC are updated to the specific 
SDK version ...

Regards,
Dima Gutzeit.


From: Alex Harui 
Sent: Wednesday, October 07, 2009 6:30 PM
To: flexcoders@yahoogroups.com 
Subject: RE: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()


  
Are you using 3rd party SWCs?   All SWCs must be on the same version and must 
match the compiler version.  If you are using RSLs, the RSLs must be the 
correct version.  CSS SWFs and Resource Modules have the same restriction.  The 
console should show that SWFs are being loaded.



Alex Harui

Flex SDK Developer

Adobe Systems Inc.

Blog: http://blogs.adobe.com/aharui



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dima Gutzeit
Sent: Wednesday, October 07, 2009 8:45 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()



  

The problem is that I do not load any modules  Using datavisualization 
loads a module behind the scenes ?



Thanks in advance.



Regards,

Dima Gutzeit.



From: Alex Harui 

Sent: Wednesday, October 07, 2009 5:39 PM

To: flexcoders@yahoogroups.com 

Subject: RE: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()



  

Both the module and app that loads it must be on the same version of the SDK.

Alex Harui

Flex SDK Developer

Adobe Systems Inc.

Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dima Gutzeit
Sent: Wednesday, October 07, 2009 1:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()

  

Hi,

I have a flex project that compiles and runs fine on all SDKs up to 3.4.0.6955.

When I try use any SDK version higher than that (3.4.0.9271, 3.4.1.10084) the 
project compiles but fails with the following when I try to run it:

VerifyError: Error #1053: Illegal override of FlexModuleFactory in 
mx.core.FlexModuleFactory

 at global$init()

It very frustrating ...

Does anyone has any clue ?

Thanks in advance.

Regards,

Dima Gutzeit.

P.S. - I am not loading any modules in my project.





Re: [flexcoders] how light-weight is an array of custom objects if those custom objects already exist in another array?

2009-10-07 Thread Baz
Great, thank you!


On Wed, Oct 7, 2009 at 11:13 AM, Paul Andrews p...@ipauland.com wrote:



 Baz wrote:
 
 
  Hi,
 
  I have an ArrayCollection of custom objects, and I need to create a
  subset of those custom objects based on a condition (without using the
  built-in filter() functionality). I am thinking of storing that subset
  in a second array, but that is not mandatory - performance is key in
  this piece of the app. If I did use a second array, how light-weight
  would it be, are arrays extremely effecient constructs in general?
  Also, in terms of the custom objects, I believe that they would all be
  linked by reference, and not duplicated in the second array - is this
  correct, and does that make the array basically the same as if it were
  storing simple integers? Overall, is this the most effecient way of
  getting a subset of an array?

 All objects are accessed by reference and essentially your proposed
 array would be an array of pointers, so it's about as lightweight as it
 can get.

 Paul
 
  Thanks!
 
 
 
 
 

  



RE: [flexcoders] Conditional compilation of CSS

2009-10-07 Thread Alex Harui
You could have conditional code that loads different style modules.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Richard Rodseth
Sent: Wednesday, October 07, 2009 11:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Conditional compilation of CSS



Is there any way to compile different CSS files based on a compile-time flag?

For better or worse, I'm trying to avoid the build/deploy complexity of 
multiple SWF artifacts.

I can't use the following because I get the error Data binding expressions not 
supported with attributes processed at compile time

mx:Style source={styleSource()}/






Re: [flexcoders] Conditional compilation of CSS

2009-10-07 Thread Richard Rodseth
But then I still have separate SWFs, right (or can modules be embedded) ?

On Wed, Oct 7, 2009 at 1:36 PM, Alex Harui aha...@adobe.com wrote:



  You could have conditional code that loads different style modules.



 Alex Harui

 Flex SDK Developer

 Adobe Systems Inc. http://www.adobe.com/

 Blog: http://blogs.adobe.com/aharui



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Richard Rodseth
 *Sent:* Wednesday, October 07, 2009 11:34 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Conditional compilation of CSS





 Is there any way to compile different CSS files based on a compile-time
 flag?

 For better or worse, I'm trying to avoid the build/deploy complexity of
 multiple SWF artifacts.

 I can't use the following because I get the error Data binding expressions
 not supported with attributes processed at compile time

 mx:Style source={styleSource()}/



 



RE: [flexcoders] VerifyError: Error #1053: Illegal override of FlexModuleFactory in mx.core.FlexModuleFactory at global$init()

2009-10-07 Thread Alex Harui
Flex SDK policy is that it is ok to make changes to class signatures in order 
to fix bugs and provide new features.  The only cross-versioning support we 
have is known as the Marshall Plan.  You can read about on the open source site.

I think your problem may be compiler version or RSL mismatch.  Do you only have 
one SWF?  Does this error happen at startup?

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dima Gutzeit
Sent: Wednesday, October 07, 2009 11:34 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()


Is this a new restriction that was introduced in 3.4.0.9271 ? I never had this 
problem when changing the SDK version before.
Its kind of hard to make sure all the 3rd party SWC are updated to the specific 
SDK version ...

Regards,
Dima Gutzeit.

From: Alex Haruimailto:aha...@adobe.com
Sent: Wednesday, October 07, 2009 6:30 PM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: RE: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()


Are you using 3rd party SWCs?   All SWCs must be on the same version and must 
match the compiler version.  If you are using RSLs, the RSLs must be the 
correct version.  CSS SWFs and Resource Modules have the same restriction.  The 
console should show that SWFs are being loaded.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dima Gutzeit
Sent: Wednesday, October 07, 2009 8:45 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()

The problem is that I do not load any modules  Using datavisualization 
loads a module behind the scenes ?
Thanks in advance.
Regards,
Dima Gutzeit.
From: Alex Haruimailto:aha...@adobe.com
Sent: Wednesday, October 07, 2009 5:39 PM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: RE: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()

Both the module and app that loads it must be on the same version of the SDK.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcod...@yahoogroups.com] On Behalf Of Dima Gutzeit
Sent: Wednesday, October 07, 2009 1:20 AM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: [flexcoders] VerifyError: Error #1053: Illegal override of 
FlexModuleFactory in mx.core.FlexModuleFactory at global$init()

Hi,
I have a flex project that compiles and runs fine on all SDKs up to 3.4.0.6955.
When I try use any SDK version higher than that (3.4.0.9271, 3.4.1.10084) the 
project compiles but fails with the following when I try to run it:
VerifyError: Error #1053: Illegal override of FlexModuleFactory in 
mx.core.FlexModuleFactory
 at global$init()
It very frustrating ...
Does anyone has any clue ?
Thanks in advance.
Regards,
Dima Gutzeit.
P.S. - I am not loading any modules in my project.



[flexcoders] callLater in a non UI actionscript component (pseudo-threading)

2009-10-07 Thread Baz
I currently have an expensive process that I am pseudo-threading by
processing part of it, then using callLater to process the rest. This lets
me update the view after each batch is processed, giving the user feedback
during the process. Also, it gives the user a window to 'interrupt' the
process and change some parameters so that it continues processing the rest
of the data with those new paramaters.

I would like to move this batch pseudo-threading functionality to my service
layer (an AS component) but callLater is a UIComponent function. Is there a
way to get similar functionality in a NON-UIComponent component? Is there a
better way of going about this?

Thank you!


Re: [flexcoders] Adobe Flex Dashboard

2009-10-07 Thread Vivian Richard
   Angelo - comment out the definition and wherever you see the bug,
   that means it is used in those files. Personally speaking I never did
   use it before so will not be able to explain you how it is used.

   Regards..





On Wed, Oct 7, 2009 at 1:16 AM, Paul Andrews p...@ipauland.com wrote:



 Angelo Anolin wrote:
 
 
  Hi Paul,
 
  I looked at the StateManager.as file and in the line which Vivian
  pointed out, this is it:
 
  private static var sharedObject:SharedObject =
  SharedObject.getLocal(com.esria.sample.dashboard);
 
  So, how do I know which file is the line above pointing to?
 The real question is - why should you care where the file is saved? It
 makes no difference to the application. You should never need to mess
 with the actual file, just interact with the shared object. Google
 flash shared objects.

 Paul
 
  Pardon my lack of understanding but this is the first time I
  encountered/delving into the SharedObject thing.
 
  Thanks.
 
  Regards,
 
  Angelo
 
  --
  *From:* Paul Andrews p...@ipauland.com paul%40ipauland.com
  *To:* flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  *Sent:* Wednesday, 7 October, 2009 7:08:05
  *Subject:* Re: [flexcoders] Adobe Flex Dashboard
 
 
 
  Angelo Anolin wrote:
  
  
   Thanks a lot for pointing this one out Vivian.
  
   Although I still cannot fathom how the SharedObject is retained even
   after the application (SWF) is recompiled. I even did a restart of
   the machine and the settings are still there. Isn't it being retained
   in some sort of file or something?
  SharedObject is a file on the computer and retains it's content after
  the application is shut down, or recompiled, or the computer turned off!
 
  Look in StateManager. as - the shared object is there..
 
  Paul
 
  
   Regards,
  
   Angelo
  
    - - - - - -
   *From:* Vivian Richard kanps...@gmail. com
  mailto:kanpsack%40gmail.com kanpsack%2540gmail.com
   *To:* flexcod...@yahoogro ups.com 
   mailto:flexcoders%40yahoogroups.comflexcoders%2540yahoogroups.com
 
   *Sent:* Wednesday, 7 October, 2009 0:50:37
   *Subject:* Re: [flexcoders] Adobe Flex Dashboard
  
  
  
  
  
   in the file StateManager. as line 17
   private static var sharedObject: SharedObject = SharedObject.
   getLocal(com. esria.sample. dashboard);
    - - - - -
   - - - - - - -
   - - - -
  
  
   On Tue, Oct 6, 2009 at 9:23 AM, Angelo Anolin angelo_anolin@
   yahoo.com mailto:angelo_anolin@ yahoo.com
  mailto:angelo_anolin%40yahoo.com angelo_anolin%2540yahoo.com
 wrote:
  
  
   I tried to locate if SharedObject was used in the application but
   I am unable to find one.
  
   I know it is being set somewhere but I just can't pinpoint it at
   this stage.
  
   Would still appreciate your inputs. In the meantime, let me dig
   through this haystack for the needle.
  
   THanks,
  
   Angelo
  
    - - - - - -
   *From:* Vivian Richard kanps...@gmail. com
   mailto:kanps...@gmail. com 
   mailto:kanpsack%40gmail.comkanpsack%2540gmail.com
 
   *To:* flexcod...@yahoogro ups.com mailto:flexcod...@yahoogro
  ups.com mailto:flexcoders%40yahoogroups.comflexcoders%2540yahoogroups.com
 
   *Sent:* Wednesday, 7 October, 2009 0:02:22
   *Subject:* Re: [flexcoders] Adobe Flex Dashboard
  
  
  
  
   You can do this using SharedObject - I guess they are also
   using SharedObject somewhere. Please see this example
   here:
  
   http://livedocs. http://livedocs./ adobe.com/ flex/3/html/
 help.html?
   content=lsos_ 5.html
   http://livedocs. adobe.com/ flex/3/html/ help.html? content=lsos_
  5.html
  http://livedocs.adobe.com/flex/3/html/help.html?content=lsos_5.html
  
  
  
  
   On Tue, Oct 6, 2009 at 8:44 AM, Angelo Anolin angelo_anolin@
   yahoo.com mailto:angelo_anolin@ yahoo.com
  mailto:angelo_anolin%40yahoo.com angelo_anolin%2540yahoo.com
 wrote:
  
  
   Hi Flexcoders!
  
   I started dabbling with the codes for the Adobe Flex Dashboard
   (http://examples. http://examples./ adobe.com/ flex3/devnet/
  dashboard/
   main.html
   http://examples. adobe.com/ flex3/devnet/ dashboard/ main.html
  http://examples.adobe.com/flex3/devnet/dashboard/main.html)
   and has been able to load properly all the necessary files and
   components to run the application.
  
   My question is that I think the last view settings are being
   retained but I do not know where these settings are. For
   example, in the first tab (Sales Tab), when I minimize all
   windows except the Yearly Revenue (the first pod) and close
   the browser and open it again, those pods which have been
   minimized remains minimized. If for example I closed the
   browser and I was on Marketing tab, opening the application
   will show me that the 

Re: [flexcoders] change decimal separator to comma on input field

2009-10-07 Thread awesome

Thank you, that helped me a lot. 
On the end I used number formatting in update button click handler just
before the update part happens. I tried valuecommit event but its firing all
the time because the same input gets populated from database when item in
datagrid is selected. 


seanmcmonahan wrote:
 
 Try listening for TextInput's valueCommit event.  In you event handler do
 the number formatting.
 
 --- In flexcoders@yahoogroups.com, awesome cubesp...@... wrote:

 
 Hi,
 
 I am banging my head for a couple of hours with this problem and i'm
 drawing
 a blank. Please anyone for some help on this subject..
 
 
 I have a form which is updating mysql table with one of the columns named
 'price' with data type decimal(5,2).
 
 In flex i used php service generator to create php for crud db
 operations.
 Everything works except i cannot enable input with decimal symbol comma
 instead of dot.
 
 valueObjects:Products id=products
 price={parseFloat(priceTextInput.text)} /
 mx:NumberFormatter id=euroPriceInput precision=2 rounding=none 
  decimalSeparatorFrom=, decimalSeparatorTo=.
 useThousandsSeparator=false /
 mx:TextInput id=priceTextInput
 text={euroPriceInput.format(products.price)} width=200/
 
 If I type price in format 12.34 it updates correctly but when I use 12,34
 it
 saves 12,00. 
 Use of numberformatter does not make a difference. What am I missing? 
 
 Thank you in advance.
 -- 
 View this message in context:
 http://www.nabble.com/change-decimal-separator-to-comma-on-input-field-tp25780609p25780609.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/change-decimal-separator-to-comma-on-input-field-tp25780609p25795741.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Re: embeding fonts of a style (Interstate RegularCondensed)

2009-10-07 Thread grimmwerks
Has *no one* got any information on how to embed a font that is not a  
regular style?


I'm actually now opening up this font in FontLab and attempting to  
save it as it's own .ttf -- but it still thinks there's no 'normal'  
font for this type even though I'm saving it as such.  *REALLY*  
pissing me off.


Would appreciate a working example if anyone has one, PLEASE.


On Oct 7, 2009, at 2:09 PM, grimmwerks wrote:




Found this about embedding font families and how using the Embed tag  
might not be seen by CSS:


http://www.kirupa.com/forum/archive/index.php/t-257913.html

On Oct 7, 2009, at 9:04 AM, artur_desig2dev wrote:




we are having the same issue but with applying styles to Interstate  
Light:

but we're trying to get this to work in AS3 ..and not FLEX..

first we tried doing it this way..

[Embed(source=../fonts/Interstate-Light.ttf, fontName=Interstate- 
Light, mimeType=application/x-font-truetype)]

public static const InterstateTTF:String;

[Embed(source=../fonts/Interstate-Bold.ttf, fontWeight=bold,  
fontName=Interstate-Bold, mimeType=application/x-font-truetype)]

public static const InterstateBoldTTF:String;

[Embed(source=../fonts/Interstate-Italic.ttf, fontStyle=italic,  
fontName=Interstate-Italic, mimeType=application/x-font- 
truetype)]

public static const InterstateItalicTTF:String;


var defaultStyle:Object = new Object();
defaultStyle.fontFamily = Interstate;

var style:StyleSheet = new StyleSheet();
style.setStyle(.defaultStyle, defaultStyle);

var t:TextField = new TextField();
t.embedFonts = true;
t.styleSheet = style;
t.htmlText = span class='defaultStyle'My bbold/b text/span;


then we also tried it using CSS and embedding the font in a swf:


package
{
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;

[SWF(width='955', height='600', backgroundColor='#FF',  
framerate='24')]


public class Index extends Sprite
{
[Embed(
source=font.swf,
symbol=InterstateLight
)]
 nb sp;  private var Interstate:Class;

public function Index()
{

Font.registerFont(Interstate-Light);

var style:StyleSheet = new StyleSheet();

  var normal:Object = new Object();
normal.color = #FF4900;
normal.fontFamily = Interstate-Light;
   nbs p;normal.fontLeading = 2;
normal.fontSize = 11;

var bold:Object = new Object();
bold.color = #FF4900;
bold.fontFamily = Interstate-Bold;
bold.fontLeading = 2;
bold.fontSize = 11;
bold.fontWeight = bold;

var italic:Object = new Object();
italic.color = #FF4900;
 italic.fontFamily = Interstate-Italic;
italic.fontLeading = 2;
italic.fontSize = 11;
italic.fontStyle = italic;

style.setStyle(.normal, normal);
style.setStyle(.italic, italic);
style.setStyle(.bold, bold);

var label:TextField = new TextField();
  ;   label.antiAliasType = AntiAliasType.ADVANCED;
label.autoSize = TextFieldAutoSize.LEFT;
//label.embedFonts = true;
label.multiline = true;
label.styleSheet = style;
label.htmlText = span class='italic'HOLA HOLA HOLA  
HOLA HOLAbrHOLA  DDDbrfont  
color='#00'HOLAAA/font/span;

addChild(label);

var tf:TextForm at = new TextFormat(Interstate-Light,  
11)

var label1:TextField = new TextField();
label1.defaultTextFormat = tf;
label1.antiAliasType = AntiAliasType.ADVANCED;
label1.autoSize = TextFieldAutoSize.LEFT;
label1.embedFonts = true;
label1.multiline = true;
label1.htmlText = HOLA HOLA HOLA HOLA HOLA;
   label1.y = 100;
addChild(label1);
}
}
}


any ideas?!
time sensitive project.. thanks











Re: [flexcoders] Re: embeding fonts of a style (Interstate RegularCondensed)

2009-10-07 Thread grimmwerks
Spoke too soon - converting the font to .ttf and then embedding it did  
the trick:


 [Embed(source=styles/assets/InterRegCom.ttf,
fontName=EmbeddedFont,
mimeType=application/x-font)]
private var EmbeddedFont:Class;


On Oct 7, 2009, at 7:06 PM, grimmwerks wrote:




Found this about embedding font families and how using the Embed tag  
might not be seen by CSS:


http://www.kirupa.com/forum/archive/index.php/t-257913.html

On Oct 7, 2009, at 9:04 AM, artur_desig2dev wrote:




we are having the same issue but with applying styles to Interstate  
Light:

but we're trying to get this to work in AS3 ..and not FLEX..

first we tried doing it this way..

[Embed(source=../fonts/Interstate-Light.ttf, fontName=Interstate- 
Light, mimeType=application/x-font-truetype)]

public static const InterstateTTF:String;

[Embed(source=../fonts/Interstate-Bold.ttf, fontWeight=bold,  
fontName=Interstate-Bold, mimeType=application/x-font-truetype)]

public static const InterstateBoldTTF:String;

[Embed(source=../fonts/Interstate-Italic.ttf, fontStyle=italic,  
fontName=Interstate-Italic, mimeType=application/x-font- 
truetype)]

public static const InterstateItalicTTF:String;


var defaultStyle:Object = new Object();
defaultStyle.fontFamily = Interstate;

var style:StyleSheet = new StyleSheet();
style.setStyle(.defaultStyle, defaultStyle);

var t:TextField = new TextField();
t.embedFonts = true;
t.styleSheet = style;
t.htmlText = span class='defaultStyle'My bbold/b text/span;


then we also tried it using CSS and embedding the font in a swf:


package
{
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;

[SWF(width='955', height='600', backgroundColor='#FF',  
framerate='24')]


public class Index extends Sprite
{
[Embed(
source=font.swf,
symbol=InterstateLight
)]
 nb sp;  private var Interstate:Class;

public function Index()
{

Font.registerFont(Interstate-Light);

var style:StyleSheet = new StyleSheet();

  var normal:Object = new Object();
normal.color = #FF4900;
normal.fontFamily = Interstate-Light;
   nbs p;normal.fontLeading = 2;
normal.fontSize = 11;

var bold:Object = new Object();
bold.color = #FF4900;
bold.fontFamily = Interstate-Bold;
bold.fontLeading = 2;
bold.fontSize = 11;
bold.fontWeight = bold;

var italic:Object = new Object();
italic.color = #FF4900;
 italic.fontFamily = Interstate-Italic;
italic.fontLeading = 2;
italic.fontSize = 11;
italic.fontStyle = italic;

style.setStyle(.normal, normal);
style.setStyle(.italic, italic);
style.setStyle(.bold, bold);

var label:TextField = new TextField();
  ;   label.antiAliasType = AntiAliasType.ADVANCED;
label.autoSize = TextFieldAutoSize.LEFT;
//label.embedFonts = true;
label.multiline = true;
label.styleSheet = style;
label.htmlText = span class='italic'HOLA HOLA HOLA  
HOLA HOLAbrHOLA  DDDbrfont  
color='#00'HOLAAA/font/span;

addChild(label);

var tf:TextForm at = new TextFormat(Interstate-Light,  
11)

var label1:TextField = new TextField();
label1.defaultTextFormat = tf;
label1.antiAliasType = AntiAliasType.ADVANCED;
label1.autoSize = TextFieldAutoSize.LEFT;
label1.embedFonts = true;
label1.multiline = true;
label1.htmlText = HOLA HOLA HOLA HOLA HOLA;
   label1.y = 100;
addChild(label1);
}
}
}


any ideas?!
time sensitive project.. thanks











[flexcoders] Resources for compiling with asc.jar

2009-10-07 Thread dorkie dork from dorktown
I'm working on a project that is compiled using asc.jar. I know zero
about asc.jar. I don't even know how to compile / setup or run
asc.jar. I'm a Flex developer. Can someone send me links to resources
or advice on where to go to learn more? Thanks,

DDFD


[flexcoders] calling array names dinamically

2009-10-07 Thread David Pariente

Hi to all,

I'm sorry I had no idea how to name this subject.

I have 2 arrayCollections (actually more than 2), menu_e and menu_d,

[Bindable] public var menu_e:ArrayCollection=new 
ArrayCollection([HOME,COLLECTION,STORES,ABOUT,NEWS,CONTACT]);
[Bindable] public var menu_d:ArrayCollection=new 
ArrayCollection([HOMED,COLLECTIOND,STORESD,ABOUTD,NEWSD,CONTACTD]);


the 'e' stands for english language, 'd' for danish, and so on. That 
char is kept in a var called 'lang'.


then in the app i call it as {menu_e.getItemAt(0)}

What i try to do, and can't figure out how, is something like this:

{menu_+lang+.getItemAt(0)}

so depending of the 'lang' value i will be using one arrayCollection or 
the other.


Is it possible to do like this somehow?

Thank you very much!




[flexcoders] Re: Any official known issue for flashplayer 9 running playerglobal.swc 10?

2009-10-07 Thread yldleung
Thanks Alex,

Is it only those network service API? It's sound it isn't wise to upgrade to 
player 10 playerglobal if we are to say supporting player 9 users, right?

Dan

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

 Some API calls will not work.
 
 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of yldleung
 Sent: Tuesday, October 06, 2009 11:25 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Any official known issue for flashplayer 9 running 
 playerglobal.swc 10?
 
 
 
 Hi Flexperts!
 
 I am trying to figure out whether there is any known issues or protential 
 problem by running a Flex 3 application compiled with playerglobal.swc in the 
 player10 folder to be run on FlashPlayer 9?
 
 Does anyone have any idea, can someone share about it, please?
 
 Thanks
 
 Regards,
 Dan





Re: [flexcoders] Flex with .Net

2009-10-07 Thread David Pariente
I was searching for the same short ago, so i can tell you that the adobe 
flex page has plenty of examples, videos and articles on how to connect 
Flex with .Net.

At least it has enough to start with.
Did you google it or checked adobe flex website?



Ramkumar wrote:
 
Hi All,
We have the application on .Net and we have to replace the asp pages 
with flex UI.
I am little bit exposure only to flex(I am java developer) and dont 
have knowledge on .Net.
Please provide me sample codes(like the data passing from UI to db) 
and materials for doing the application.

from there i will try to manage my self.
 
Thanks and Regards,

N.Ramkumar



[flexcoders] Re: any good effects for initial loading of a datagrid with text?

2009-10-07 Thread droponrcll


--- In flexcoders@yahoogroups.com, luvfotography ygro...@... wrote:

 Hi are there any good effects for loading a datagrid with text?
 
 Like having the text float in from all directions?
 thanks,


You could probably look at List and TileList and extend Datagrid to do 
something like this:
http://www.adobe.com/livedocs/flex/3/html/createeffects_5.html

HTH;

Amy



Re: [flexcoders] calling array names dinamically

2009-10-07 Thread David Pariente

Hello again,

I found the solutioncan't believe i never heard of it before :O

{this['menu_e']}is the same as{menu_e}

that really solves it, i wanted to share solution with you ;)

Thank you!



David Pariente wrote:
 


Hi to all,

I'm sorry I had no idea how to name this subject.

I have 2 arrayCollections (actually more than 2), menu_e and menu_d,

[Bindable] public var menu_e:ArrayCollection=new 
ArrayCollection([HOME,COLLECTION,STORES,ABOUT,NEWS,CONTACT]);
[Bindable] public var menu_d:ArrayCollection=new 
ArrayCollection([HOMED,COLLECTIOND,STORESD,ABOUTD,NEWSD,CONTACTD]);


the 'e' stands for english language, 'd' for danish, and so on. That 
char is kept in a var called 'lang'.


then in the app i call it as {menu_e.getItemAt(0)}

What i try to do, and can't figure out how, is something like this:

{menu_+lang+.getItemAt(0)}

so depending of the 'lang' value i will be using one arrayCollection 
or the other.


Is it possible to do like this somehow?

Thank you very much!





RE: [flexcoders] .Net Web Services Polling Question

2009-10-07 Thread Tracy Spratt
I have used polling with WebService and HTTPService and there is no
significant difference.  Be aware of BlazeDS, which provide push technology.

 

I don't understand #3.

 

Use a function to invoke send() and use result handler to handle the result.
Do not bind directly to lastResult.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of cjsteury2
Sent: Wednesday, October 07, 2009 10:49 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] .Net Web Services  Polling Question

 

  

Let me re-phrase my prior inquiry...

If Using .net with SQL db and web services to communicate with FLEX front
end components Charting and Datagrid... my questions is this...

What is best way to get the components to 'auto-update'... with no page
refresh... the pages are in a .Net framework.

Right now the Webservices .send() the request to .Net WebService which
updates an ArrayCollection to the Components.

I would like the components to auto-refresh() every 15 minutes with no page
refresh.. So specifically...

1. It's easy enough to setup a Timer for the Static components (static
meaning those which do not require user intervention or a 'click' to specify
the correct data to display). Would that be the best way to do it ?

2. Also, I have a static page of DataGrid's that are updated via Webservices
on the creation Complete() event using ArrayCollections... if I were using
some other type of Data Commm like say AMF or other HTTP type service would
it be easier to setup a Polling capability or is the same just to set up
TIMER to Send() the Web Services Request?

3. Because I need a user to click a Datagrid to select the correct
SelectedItem to display from a DataGrid in a Chart Component... how would I
use a Timer() event to update this request??

Ohhh, I think I know... The 'selectedItem' is a Public Variable so the
Update Event would always know which item to request...

Otherwise, what other architecture issues should I be aware or?

Any? or is there a better way?





RE: [SPAM] Re: [flexcoders] calling array names dinamically

2009-10-07 Thread Tracy Spratt
Note that bracket notation works on both sides of an = assignment.  So if
you have a dynamic object, you can do:

myObject['myPropertyName'] = someValue;

 

Not directly bearing on your case, but a good think to know.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of David Pariente
Sent: Wednesday, October 07, 2009 10:34 PM
To: flexcoders@yahoogroups.com
Subject: [SPAM] Re: [flexcoders] calling array names dinamically

 

  

Hello again, 

I found the solutioncan't believe i never heard of it before :O

{this['menu_e']}is the same as{menu_e}

that really solves it, i wanted to share solution with you ;)

Thank you! 



David Pariente wrote: 

  

Hi to all,

I'm sorry I had no idea how to name this subject.

I have 2 arrayCollections (actually more than 2), menu_e and menu_d,

[Bindable] public var menu_e:ArrayCollection=new
ArrayCollection([HOME,COLLECTION,STORES,ABOUT,NEWS,CONTACT]);
[Bindable] public var menu_d:ArrayCollection=new
ArrayCollection([HOMED,COLLECTIOND,STORESD,ABOUTD,NEWSD,CONTACTD
]);

the 'e' stands for english language, 'd' for danish, and so on. That char is
kept in a var called 'lang'.

then in the app i call it as {menu_e.getItemAt(0)}

What i try to do, and can't figure out how, is something like this:

{menu_+lang+.getItemAt(0)}

so depending of the 'lang' value i will be using one arrayCollection or the
other.

Is it possible to do like this somehow? 

Thank you very much!







[flexcoders] Last character truncate in the Flex Printing

2009-10-07 Thread cap
Hi Flexpert,

 I have faced an issue on Printing in Flex.i used the Flex for printing 
simple report. The report may included different country character (Chinese, 
French , English , Japanese). 

  I found in the printout, some of the last character (mainly English or 
Number) will partly truncate . i have search for the internet that someone 
suggest to embed the font to the print form mxml and then it will works fine. 
But if i need to so do i need to embed too many kind of the font in different 
country. is there any other solution?
  
  thx

capho



RE: [flexcoders] Re: Any official known issue for flashplayer 9 running playerglobal.swc 10?

2009-10-07 Thread Alex Harui
I wouldn't.  If you become dependent on any of the new APIs (like 3d as well) 
then it won't run on 9.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of yldleung
Sent: Wednesday, October 07, 2009 6:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Any official known issue for flashplayer 9 running 
playerglobal.swc 10?



Thanks Alex,

Is it only those network service API? It's sound it isn't wise to upgrade to 
player 10 playerglobal if we are to say supporting player 9 users, right?

Dan

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

 Some API calls will not work.

 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui

 From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On 
 Behalf Of yldleung
 Sent: Tuesday, October 06, 2009 11:25 PM
 To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
 Subject: [flexcoders] Any official known issue for flashplayer 9 running 
 playerglobal.swc 10?



 Hi Flexperts!

 I am trying to figure out whether there is any known issues or protential 
 problem by running a Flex 3 application compiled with playerglobal.swc in the 
 player10 folder to be run on FlashPlayer 9?

 Does anyone have any idea, can someone share about it, please?

 Thanks

 Regards,
 Dan




RE: [flexcoders] Conditional compilation of CSS

2009-10-07 Thread Alex Harui
Yes.  You might be able to embed the style modules as byte arrays

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Richard Rodseth
Sent: Wednesday, October 07, 2009 1:39 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Conditional compilation of CSS



But then I still have separate SWFs, right (or can modules be embedded) ?
On Wed, Oct 7, 2009 at 1:36 PM, Alex Harui 
aha...@adobe.commailto:aha...@adobe.com wrote:

You could have conditional code that loads different style modules.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com] On 
Behalf Of Richard Rodseth
Sent: Wednesday, October 07, 2009 11:34 AM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: [flexcoders] Conditional compilation of CSS



Is there any way to compile different CSS files based on a compile-time flag?

For better or worse, I'm trying to avoid the build/deploy complexity of 
multiple SWF artifacts.

I can't use the following because I get the error Data binding expressions not 
supported with attributes processed at compile time

mx:Style source={styleSource()}/






RE: [flexcoders] callLater in a non UI actionscript component (pseudo-threading)

2009-10-07 Thread Alex Harui
Calllater is just using enterFrame and render events.  If you have any Flex 
code in the app, you can use Application.application.callLater

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Baz
Sent: Wednesday, October 07, 2009 2:32 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] callLater in a non UI actionscript component 
(pseudo-threading)



I currently have an expensive process that I am pseudo-threading by processing 
part of it, then using callLater to process the rest. This lets me update the 
view after each batch is processed, giving the user feedback during the 
process. Also, it gives the user a window to 'interrupt' the process and change 
some parameters so that it continues processing the rest of the data with those 
new paramaters.

I would like to move this batch pseudo-threading functionality to my service 
layer (an AS component) but callLater is a UIComponent function. Is there a way 
to get similar functionality in a NON-UIComponent component? Is there a better 
way of going about this?

Thank you!