[flexcoders] AIR app as a controlled desktop

2009-07-21 Thread simonjpalmer
I have a requirement to prohibit users from accessing the desktop while using 
my app (it is for sitting exams).  Is there a way to get an AIR app to maximise 
itself, or to control the entire desktop region, capturing all clicks?  I want 
to be able to start my app, have it "take over" the user experience, a bit like 
PowerPoint in presentation mode, and only go back to the desktop when unlocked 
by an administrator.

Any pointers?



RE: [flexcoders] Datagrid won't let me select row

2009-07-21 Thread Alex Harui
Either binding or some other logic is restoring the selection (I'd watch the 
CHANGE events or set a breakpoint to see if that's true), or the data has 
non-unique UIDs

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 flexcoder2008
Sent: Tuesday, July 21, 2009 4:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Datagrid won't let me select row



What would cause a datagrid to keep it's current selection "locked".

In my application, I have a datagrid that is bound to an XMLListCollection. I 
can navigate away to another another module which shares the same data using 
Cairngorm, and then when I come back to the original module, I re-select the 
row I need in the datagrid programmatically by looping through the 
XMLListCollection and looking for the item with the same ID.

This all works fine. However, sometimes...but not all the time, if I click on 
another datagrid row, I can see the higlight of the row I want but when I 
release the mouse, the original row is still selected. It also seems to only 
happen when I have a top or bottom row selected and then try to select a row 
above or below this one.

Just curious if anyone else has had similar datagrid woes and if there is 
something I should be looking for. It seems that the databinding perhaps is 
locking in this selection but I am not sure where to look or what is causing 
this.



[flexcoders] Re: Horrible... 3 seconds initialization time for the first frame? Frustrated....

2009-07-21 Thread Dan
Wow, thanks for your advances, then i would like to ask, by replacing these 
class, how can i at the same time make use of the framework.swz to compile 
those small modules swf? As there may be case which Main App may not include 
all the class in framework.swc and thus in link-report does not include those 
class. Then the use of an modified SDK unsigned framework.swc means removed the 
ability to cached signed framework class. Or actually, during compilation of 
these small swfs, I should use load-extern for the modified SDK framework?

Dan

--- In flexcoders@yahoogroups.com, Anatole Tartakovsky 
 wrote:
>
> Dan,   The classes explicitly referenced in SystemManager are always linked
> in the first frame. That said, given the fact that you have open source SDK,
> you can play quite a few tricks on Flex/linker.
> First, if you are loading in the application domain you can place your own
> SystemManager of ~0 size with no references in your modules code hence
> removing all the baggage you are complaining about.
> Second, on
> RSLItem and more importantly on RSLItemsLoader classes - you can
> implement modifications in the source code to minimize number of
> server requests for RSLs already loaded, do multistreaming in some
> cases and customize loading process in runtime to your liking.
> You are on open source platform - anything goes.
> 
> I believe some of these tricks are documented in application performance
> chapter in our upcoming flex book from oreilly - should be out soon.
> Regards
> Anatole Tartakovsky
> Farata Systems
> 
> 
> 
> On Wed, Jul 8, 2009 at 12:46 AM, Alex Harui  wrote:
> 
> >
> >
> >  What goes on in server communications is not my area.  Try posting again
> > with RPC or AMF in the subject.  It might then get read by those experts.
> >
> >
> >
> > I thought utility.swc got folded into framework.swc as well.  Flex.swc is
> > for folks not using the UI framework.
> >
> >
> >
> > Any classes used in Frame1 cannot be offloaded to the RSL.  We did some
> > refactoring in Flex4 so more classes can get offloaded to the RSL.
> >
> >
> >
> > Anything you don't need at startup should be in a module that gets loaded
> > later.
> >
> >
> >
> > 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 *Dan
> > *Sent:* Tuesday, July 07, 2009 1:51 AM
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* [flexcoders] Re: Horrible... 3 seconds initialization time for
> > the first frame? Frustrated
> >
> >
> >
> >
> >
> >
> >  Hi,
> >
> > First of all, thanks for your response!
> > Thanks for reminding about the progressive download, I think the 3 seconds
> > is still to that response time which I mislead by the Charles figure and
> > think that it already downloaded.
> >
> > But there is still one thing that delay the first AMF call. I noticed there
> > is an unknown amfsecure (yes, i am using https) call before any amfsecure
> > call issue, and it make a one second delay. Is that for estabishing the
> > channel? Anyway to improve this?
> >
> > Cached framework for framework.swz, rpc.swz and datavisualization has been
> > used. BTW, why signed library for utility.swc and flex.swc are not
> > available, because they are too small???
> >
> > Last but not least, is it true that , some of the class like RSLItem from
> > Adobe, even we use link-report, cannot be removed from a swf? Cause with an
> > parent application with hundreds of modules to load, that small amount of
> > depulication in modules means a great issue in terms of total bandwitdh
> > cost..
> >
> > Regards
> > Dan
> >
> > --- In flexcoders@yahoogroups.com , Alex
> > Harui  wrote:
> > >
> > > Using the cached framework should help.
> > >
> > > If you test from FlexBuilder you may not get correct streaming. Try
> > testing using http: instead of file:
> > >
> > > Also, there is a bug if you use # in the URL. It blocks streaming of the
> > SWF and delays startup time. Do you see a progress bar at all?
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: flexcoders@yahoogroups.com  [mailto:
> > flexcoders@yahoogroups.com ] On Behalf Of
> > Dan
> > > Sent: Monday, July 06, 2009 8:56 PM
> > > To: flexcoders@yahoogroups.com 
> > > Subject: [flexcoders] Horrible... 3 seconds initialization time for the
> > first frame? Frustrated
> > >
> > >
> > >
> > >
> > >
> > > Hi,
> > >
> > > Does anyone have any idea on why it takes nearlly 3 to 4 seconds after a
> > swf completely downloaded, is it SystemManager initialized and go to the
> > second frame of the movie?
> > >
> > > It is such a great penality for an web application.
> > > Should I put tasks, such as automatic login to the preloader, in order to
> > shorten this penality period??? Otherwise, no matter what

Re: [flexcoders] Re: Adobe has open-sourced the Text Layout Framework (TLF)

2009-07-21 Thread Jeremy Lu
I didn't see that either, but since it's brought up, is there any plan to
have "table" implemented in TLF any time soon ? I thought there's a
ready-made solution in buzzword, probably the team consider sharing it ?

(and yes, I totally understand TLF != HTML, so it's a bit over to ask for
this feature but it's really a nice-to-have...)



On Wed, Jul 22, 2009 at 1:46 AM, Gordon Smith  wrote:

>
>
>  I searched the businesswire article for the word "table" and didn't find
> it. Where do you see this?
>
>
>
> Gordon Smith
>
> Adobe Flex SDK Team
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Dennis van Nooij
> *Sent:* Tuesday, July 21, 2009 5:07 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Re: Adobe has open-sourced the Text Layout
> Framework (TLF)
>
>
>
>
>
> that's great. The first article states that tables are also supported, but
> if I remember correct that used to be reserved for a later version?
>
> thanks,
> Dennis
>
> --- In flexcoders@yahoogroups.com , Gordon
> Smith  wrote:
> >
> >
> http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_view&newsId=20090720006233&newsLang=en
> >
> > http://opensource.adobe.com/wiki/display/tlf/Text+Layout+Framework
> >
> > Gordon Smith
> > Adobe Flex SDK Team
> >
>
>
>
> 
>


[flexcoders] Re: Synchronizing two ArrayCollections

2009-07-21 Thread Tim Hoff

Cool, I kind of like this way better though:

private function dgClick():void
{
  var curTick:String = dgOrdExt.selectedItem.Ticker;

  for each ( var exits:Exits in Array_Exits )
  {
   if ( exits.Ticker == curTick )
   {
dgExits.selectedIndex = Array_Exits.getItemIndex( exits
);
   }
  }
}

A little cleaner than using a counter.

-TH

--- In flexcoders@yahoogroups.com, "Craig"  wrote:
>
> Thanks that worked beautifully my final code follows:
>
> private function dgClick():void {
> var curTick:String = dgOrdExt.selectedItem.Ticker;
> for (var i:int = 0; i < Array_Exits.length; i++)
> {
> if ( Exits(Array_Exits.getItemAt(i).Ticker ==c urTick)
> {
> dgExits.selectedIndex = i;
> }
> }
> }
>
>
>
> --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote:
> >
> >
> > Going to have to loop:
> >
> > var curTick:String = dg1.selectedItem.Ticker;
> >
> > for (var i:int = 0; i < dg2.dataProvider.length; i++)
> > {
> > if ( Object(dg2.dataProvider.getItemAt(i)).Ticker == curTick )
> > {
> > dg2.selectedIndex = i;
> > }
> > }
> >
> > Depending on your model, you could use for each instead. Also,
replace
> > dg2.dataProivider with the appropriate ArrayCollection name and
replace
> > Object with your VO class name; if you're using one. I'd use the
> > "change" event instead of "click".
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com, "Craig"  wrote:
> > >
> > >
> > > Take 3... after further review, to simplify things I have bound 2
> > > separate ArrayCollection to separate DataGrids they both share one
> > > common field - Ticker.. I'd like to select the corresponding row
> > > programmatically in the second datagrid which contains the value
for
> > > 'Ticker' that is selected in the first datagrid.
> > >
> > > So far this does not work...
> > >
> > >  > > > result is Array_OrdExt and the second is Arrray_Exits.
> > > > The Array Build routines for both are below.
> > > >
> > > > [Bindable] public var Array_Exits:ArrayCollection;
> > > > public function Exits_Result(e:ResultEvent):void {
> > > > Array_Exits = e.result as ArrayCollection;
> > > > for (var i:int=0;i > > > {
> > > > var Current_exit:Exits = new Exits();
> > > > Current_exit = new
> > > > Exits(Array_Exits.getItemAt(i));
> > > > Array_Exits.setItemAt(Current_exit, i);
> > > > }
> > > > }
> > > >
> > > > [Bindable] public var Array_OrdExt:ArrayCollection;
> > > > private function OrdExt_result(e:ResultEvent):void {
> > > > Array_OrdExt = e.result as ArrayCollection;
> > > > for (var i:int=0;i > > > {
> > > > var Current_ordext:OrdExt = new OrdExt();
> > > > Current_ordext = new
> > > > OrdExt(Array_OrdExt.getItemAt(i));
> > > > Array_OrdExt.setItemAt(Current_ordext, i);
> > > > }
> > > > }
> > > >
> > > > These build from two WebsServices results WSDL format (XML). For
the
> > > > second one, which is Array_Exits... can I just add it to the
first
> > one
> > > > with the same result event? I would like to use the first field
of
> > > each
> > > > collection 'Ticker' as the WHERE Ticker=Ticker then do the Get
and
> > > > Set...
> > > >
> > > > The Data Model for each Array is OrdExt.as and Exits.as is
> > structured
> > > as
> > > > follows:
> > > >
> > > > package DTO.OrdEnt
> > > > {
> > > > [Bindable]
> > > > public class OrdEnt
> > > > {
> > > > public var Ticker:String = "";
> > > > public var Company:String = "";..continues
> > > >
> > > > public function OrdEnt(obj:Object=null){
> > > > if (obj!=null){
> > > > this.Ticker=obj.Ticker;
> > > > this.Company=obj.Company;..continues
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Craig" craigj@ wrote:
> > > > >
> > > > > I need to create a DataModel.as that will synchronize two
> > > > > arraycollections and allow me to update a Form based on the
> > contents
> > > > of
> > > > > the 2nd arraycollection.index.item(s) when the first
> > arraycollection
> > > > > selecteditem is clicked as the dataprovider for a datagrid.
> > > > >
> > > > >
> > > > > The 2 arraycollections are populated via webservices from sql
> > > > database,
> > > > > (which I can not InnerJoin from 4 different tables due to
> > > > > performance)... so I end with two separate arraycollections:
> > > > >
> > > > > One populates a Datagrid, the other is just resident in an
> > > > > ArrayCollection: Here is some of the sample code:
> > > > >
> > > > > 
> > > > >  > > > > headerText="Ticker"/>
> > > > >  > > > > headerText="Kind"
> > > > > dataField="Kind"
> > > > > itemRenderer="com.steury.baseClasses.CellFieldTrd"/>
> > > > >  > > > > labelFunction="{myPrice}"
> > > > > dataField="EnterPrice"
> > > > > headerText="EnterPrice"/>
> > > > >  > > > > labelFunction="{myClosePr}"
> > > > > dataField="Close"
> > > > > headerText="Price"/>
> > > > >  > > > > headerText="Profit"
> > > > > dataField="Profit"
> > > > > labelFunction="{perCent}"
> > > > > itemRenderer="com.steury.baseClasses.CellFieldInt"/>
> >

[flexcoders] Datagrid won't let me select row

2009-07-21 Thread flexcoder2008
What would cause a datagrid to keep it's current selection "locked".

In my application, I have a datagrid that is bound to an XMLListCollection. I 
can navigate away to another another module which shares the same data using 
Cairngorm, and then when I come back to the original module,  I re-select the 
row I need in the datagrid programmatically by looping through the 
XMLListCollection and looking for the item with the same ID.

This all works fine.  However, sometimes...but not all the time, if I click on 
another datagrid row, I can see the higlight of the row I want but when I 
release the mouse, the original row is still selected.  It also seems to only 
happen when I have a top or bottom row selected and then try to select a row 
above or below this one.

Just curious if anyone else has had similar datagrid woes and if there is 
something I should be looking for.  It seems that the databinding perhaps is 
locking in this selection but I am not sure where to look or what is causing 
this.



[flexcoders] Firefox + BitmapData + wmode transparent = blah

2009-07-21 Thread kris range
I'm having issues with a bitmapdata artifact staying on screen partly
( in an area that is not re-drawn ) after it is removed. It is only
happening in Firefox using a Bitmap with wmode = transprent. When I
drag the browser off the computer screen, or when i drag another
browser window or anything on top, it goes away.

Anyone know how to get Firefox to remove this artifact?


[flexcoders] Flex 4 Modules

2009-07-21 Thread Tyler Kocheran
Are modules in Flex 4 working correctly? When I load a simple module like
this:



http://ns.adobe.com/mxml/2009";
xmlns:mx="library://ns.adobe.com/flex/halo"
xmlns:s="library://ns.adobe.com/flex/spark">





And add it to the stage (addElement(IVisualElement(moduleLoader.child))),
the following error is thrown:

Error: removeChild() is not available in this class. Instead, use
removeElement() or modify the skin, if you have one.
 at
spark.components::Group/removeChild()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\Group.as:1786]
 at
mx.core::Container/addChildAt()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2536]
 at
mx.core::Container/addChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2467]
 at
mx.modules::ModuleLoader/moduleReadyHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\modules\ModuleLoader.as:430]
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at
ModuleInfoProxy/moduleEventHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\modules\ModuleManager.as:1136]
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at
ModuleInfo/readyHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\modules\ModuleManager.as:781]
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at
mx.core::FlexModuleFactory/update()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:390]
 at
mx.core::FlexModuleFactory/timerHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:619]
 at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()


-- 
And do this, knowing the time, that now it is high time to awake out of
sleep;
for now our salvation is nearer than when we first believed.


RE: [flexcoders] variables name are in array

2009-07-21 Thread Gordon Smith
It doesn't work because arrName[i] is the name string, not the value. This code 
is the equivalent of executing

"myvar" = 1

What are you actually trying to do? If you need to save name/value pairs, you 
would normally just use an Object. For example, you could declare

private var obj:Object = {};

and later set

obj[name1] = value1;
obj[name2] = value2;

You can then retrieve all the names and values like this:

for (var name:String in obj)
  trace(name, obj[name]);

Gordon Smith
Adobe Flex SDK Team

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Keith Reinfeld
Sent: Tuesday, July 21, 2009 2:28 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] variables name are in array


Because arrName.length == 0, perhaps?

Try:

for(var i:int = 0; arrValue.length; i++)
{
arrName[i] = arrValue[i];
}

Regards,

-Keith
http://keithreinfeld.home.comcast.net



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of markflex2007
Sent: Tuesday, July 21, 2009 3:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] variables name are in array



I use a array to save variable names and other to save values,but why the 
following code doesn't work.please give me a idea.

for(var i:int = 0;arrName.length; i++)
{
arrName[i] = arrValue[i];
}

Thanks a lot.

Mark



RE: [flexcoders] variables name are in array

2009-07-21 Thread Keith Reinfeld
Because arrName.length == 0, perhaps?

 

Try: 

 

for(var i:int = 0; arrValue.length; i++)
{
arrName[i] = arrValue[i]; 
}

Regards, 

-Keith 
http://keithreinfeld.home.comcast.net
 
 

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markflex2007
Sent: Tuesday, July 21, 2009 3:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] variables name are in array

 

  

I use a array to save variable names and other to save values,but why the
following code doesn't work.please give me a idea.

for(var i:int = 0;arrName.length; i++)
{
arrName[i] = arrValue[i]; 
} 

Thanks a lot.

Mark





[flexcoders] variables name are in array

2009-07-21 Thread markflex2007
I use a array to save variable names and other to save values,but why the 
following code doesn't work.please give me a idea.

for(var i:int = 0;arrName.length; i++)
{
 arrName[i] = arrValue[i]; 
}   

Thanks a lot.

Mark



[flexcoders] channel.connect.failed error netconnection.call.badversion Exception

2009-07-21 Thread b.kotireddy
Hi,

I could not able to find the way to solve this error message. We are in
production now ans some of the users are getting
Channel.Connection.Failed error NetConnection.Call.BadVersion

We are not using any secure line to access this application.
We used the flex sdk 3.1.0 version.

The channels we declared in config file are

   
   


Do we need to make any changes to avoid this error message.

I appreciate you response.

Thanks in advance
Koti



RE: [flexcoders] Re: Adobe has open-sourced the Text Layout Framework (TLF)

2009-07-21 Thread Gordon Smith
I searched the businesswire article for the word "table" and didn't find it. 
Where do you see this?

Gordon Smith
Adobe Flex SDK Team

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Dennis van Nooij
Sent: Tuesday, July 21, 2009 5:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Adobe has open-sourced the Text Layout Framework (TLF)



that's great. The first article states that tables are also supported, but if I 
remember correct that used to be reserved for a later version?

thanks,
Dennis

--- In flexcoders@yahoogroups.com, Gordon 
Smith  wrote:
>
> http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_view&newsId=20090720006233&newsLang=en
>
> http://opensource.adobe.com/wiki/display/tlf/Text+Layout+Framework
>
> Gordon Smith
> Adobe Flex SDK Team
>



Re: [flexcoders] Adobe Air related ANT task

2009-07-21 Thread Tandon, Rishi
I just find out the bug related to the flex ant tasks for referencing a embed 
assets in the project.
http://bugs.adobe.com/jira/browse/SDK-16991
But, it is related to Linux.

In my case, all the embedded assets reference in MXML or css file could not 
locate the assets inside the embedded assets.

For eg,.
Asset references inside action script:
backgroundImage="@Embed(source='embed_assets/ChipsSkins.swf#Chip_activeBlueBackground')"
 

whereas the actual Embed asset folder:
C:\proj\ProjectNAMe\src\embed_assets

As usual, I have added the source path to the ant task.

The small work around that  I got is to add the back slash at the beginning 
i.e. 
backgroundImage="@Embed(source='/embed_assets/ChipsSkins.swf#Chip_activeBlueBackground')"
  
It should start picking up from the source path. (No errors for this part)

But I don't want to change the hundreds references in different files.
As well as, by changing the path like that in the CSS file, it shows an error.

Please advice!

Rishi






From: "Tandon, Rishi" 
To: flexcoders@yahoogroups.com
Sent: Monday, July 20, 2009 5:29:28 PM
Subject: [flexcoders] Adobe Air related ANT task

   
Hi flex coders,

I am creating the build file for the Adobe AIR app.
It works for simple application i.e. compiling, launching and packaging.

But in my case the application is large with lots of sub directories.

The point I am facing the problem is who to add "embed-assets" into the 
application.

i.e. during the build it is showing me unable to resolve 'embed-assets/ 
abc.swf' for transcoding error.

actually it could not find the path to the assets which is inside some 
sub-directory.

So how can I point to the compile target for the same.

If I know the equivalent compiler option for the same, that would be a great 
help

Using the Flex Builder, I could easily compile and run the application.

Rishi

 
   


  

RE: [flexcoders] Exploit.SWF.Gen virus reported by BitDefender

2009-07-21 Thread Alex Harui
Adobe  is investigating.

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 Margo Powell
Sent: Tuesday, July 21, 2009 9:57 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Exploit.SWF.Gen virus reported by BitDefender



Yes, it has occurred on my pc at home. It just started to happen this week.



On 7/20/2009 10:31 PM, arieljake wrote:


Has anyone else seen this?

All of a sudden, BitDefender is reporting a virus called Exploit.SWF.Gen in the 
every copy of the applicationupdater_ui.swc file inthe Update Framework code, 
even when I download a new copy from the project webpage.




--

Margo Powell

Applications Analyst

MS Computer Science

Department of Nutrition

University of North Carolina at Chapel Hill

800 Eastowne Dr, Suite 100

Chapel Hill, NC 27514

919-408-3320 ext 30

margo_pow...@unc.edu



RE: [flexcoders] Modulos ? Framework ? Flex 4 ?

2009-07-21 Thread Alex Harui
I would recommend modules.  I don't have any recommendations for an app 
framework.

Flex 4 will ship in early 2010.

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 ingelhornsistemas.fl...@gmail.com
Sent: Monday, July 20, 2009 3:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Modulos ? Framework ? Flex 4 ?



Dear listeros 

I come from using the Flex 2 version. And now version 3. But without any
modules and without Framework.

I want to start a project very important and big in size, so the
question is ..

Modules should I use?

Framework that I should Cairngorn, PureMVC, Mate or Switzerland?

Mate and Switzerland are not in production, some of you use it in
important developments?

Taking into account very close to Flex 4. I should start this new
venture with Flex 4?

When is the release of Flex 4?

Thank you very much for everything

Pablo Dario Ingelhorn
La Pampa
Argentina

Estimados listeros

Vengo utilizando Flex desde la versión 2., y actualmente la versión 3.;
pero sin Modulos y sin ningún Framework.

Quiero iniciar un proyecto bastante importante y grande en cuanto a
tamaño, por lo tanto la pregunta es ..

Me conviene utilizar Modulos ?

Que Framework me conviene , Cairngorn, PureMVC, Mate o Swiz ?

Mate y Swiz no estan en produccion, alguno de Uds. lo utiliza en
desarrollos importantes ?

Teniendo en cuenta a Flex 4 muy proximo., me conviene empezar este nuevo
emprendimiento con Flex 4 ?

Para cuando es la liberación de Flex 4 ?

Muchas gracias por todo

Pablo Dario Ingelhorn
La Pampa
Argentina



Re: [flexcoders] Exploit.SWF.Gen virus reported by BitDefender

2009-07-21 Thread Margo Powell

Yes, it has occurred on my pc at home. It just started to happen this week.



On 7/20/2009 10:31 PM, arieljake wrote:
 


Has anyone else seen this?

All of a sudden, BitDefender is reporting a virus called 
Exploit.SWF.Gen in the every copy of the applicationupdater_ui.swc 
file inthe Update Framework code, even when I download a new copy from 
the project webpage.






--
Margo Powell
Applications Analyst
MS Computer Science
Department of Nutrition
University of North Carolina at Chapel Hill
800 Eastowne Dr, Suite 100
Chapel Hill, NC 27514
919-408-3320 ext 30
margo_pow...@unc.edu

begin:vcard
fn:Margo Powell
n:Powell;Margo
email;internet:margo_pow...@unc.edu
tel;work:919-408-3320 x29
x-mozilla-html:TRUE
version:2.1
end:vcard



[flexcoders] Re: AMF, IE, and a non-trusted certificate

2009-07-21 Thread Anthony DeBonis
Tom,

More information on this IE issue - we don't think its a cert issue at all 
because if we compile with the Flex 4 SDK it works fine in IE.  Any ideas?

--- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
>
> On Friday 10 Jul 2009, jer_ela wrote:
> > calls still fail, and when you come back in an new session, IE still
> > complains about the certificate.
> 
> This suggests the cert. is not being correctly installed, or something in 
> Group Policy (etc) is nuking it.
> 
> -- 
> Helping to competently grow schemas as part of the IT team of the year, '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.
>




[flexcoders] AlivePDF 0.1.4.9 not generating pdf

2009-07-21 Thread netdeep
Does anyone here have experience with AlivePDF?

I am using 0.1.4.9. in Flex (tried both 3.0 and 3.3) and…nothing happens. I 
tried it with create.php, create.java, and looked into saving it with Flash 
Player 10 (but couldn't find any real documentation on how to make that work). 
I just get a blank new browser window. No error message, no anything.

I add the swc file to my library path, used the turotial sample code…and still 
nothing happens:

myPDF = new PDF();
var page:Page = new Page ( Orientation.PORTRAIT, Unit.MM, Size.A4 );
myPDF.addPage(page);
myPDF.lineStyle(new RGBColor(0×99), 1,1,1);
myPDF.drawCircle(20,20,20);
var path:String = getBaseURL() + "/terracotta/create.php";
myPDF.save(Method.REMOTE, path, Download.INLINE, "viewChart.pdf");



[flexcoders] Re: Synchronizing two ArrayCollections

2009-07-21 Thread Craig
Thanks that worked beautifully my final code follows:

private function dgClick():void {
   var curTick:String = dgOrdExt.selectedItem.Ticker;
   for (var i:int = 0; i < Array_Exits.length; i++)
  {
if ( Exits(Array_Exits.getItemAt(i).Ticker ==c urTick)
{
   dgExits.selectedIndex = i;
}
  }
   }



--- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
>
> 
> Going to have to loop:
> 
> var curTick:String = dg1.selectedItem.Ticker;
> 
> for (var i:int = 0; i < dg2.dataProvider.length; i++)
> {
>  if ( Object(dg2.dataProvider.getItemAt(i)).Ticker == curTick )
>  {
>   dg2.selectedIndex = i;
>  }
> }
> 
> Depending on your model, you could use for each instead.  Also, replace
> dg2.dataProivider with the appropriate ArrayCollection name and replace
> Object with your VO class name; if you're using one.  I'd use the
> "change" event instead of "click".
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "Craig"  wrote:
> >
> >
> > Take 3... after further review, to simplify things I have bound 2
> > separate ArrayCollection to separate DataGrids they both share one
> > common field - Ticker.. I'd like to select the corresponding row
> > programmatically in the second datagrid which contains the value for
> > 'Ticker' that is selected in the first datagrid.
> >
> > So far this does not work...
> >
> >  > > result is Array_OrdExt and the second is Arrray_Exits.
> > > The Array Build routines for both are below.
> > >
> > > [Bindable] public var Array_Exits:ArrayCollection;
> > > public function Exits_Result(e:ResultEvent):void {
> > > Array_Exits = e.result as ArrayCollection;
> > > for (var i:int=0;i > > {
> > > var Current_exit:Exits = new Exits();
> > > Current_exit = new
> > > Exits(Array_Exits.getItemAt(i));
> > > Array_Exits.setItemAt(Current_exit, i);
> > > }
> > > }
> > >
> > > [Bindable] public var Array_OrdExt:ArrayCollection;
> > > private function OrdExt_result(e:ResultEvent):void {
> > > Array_OrdExt = e.result as ArrayCollection;
> > > for (var i:int=0;i > > {
> > > var Current_ordext:OrdExt = new OrdExt();
> > > Current_ordext = new
> > > OrdExt(Array_OrdExt.getItemAt(i));
> > > Array_OrdExt.setItemAt(Current_ordext, i);
> > > }
> > > }
> > >
> > > These build from two WebsServices results WSDL format (XML). For the
> > > second one, which is Array_Exits... can I just add it to the first
> one
> > > with the same result event? I would like to use the first field of
> > each
> > > collection 'Ticker' as the WHERE Ticker=Ticker then do the Get and
> > > Set...
> > >
> > > The Data Model for each Array is OrdExt.as and Exits.as is
> structured
> > as
> > > follows:
> > >
> > > package DTO.OrdEnt
> > > {
> > > [Bindable]
> > > public class OrdEnt
> > > {
> > > public var Ticker:String = "";
> > > public var Company:String = "";..continues
> > >
> > > public function OrdEnt(obj:Object=null){
> > > if (obj!=null){
> > > this.Ticker=obj.Ticker;
> > > this.Company=obj.Company;..continues
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --- In flexcoders@yahoogroups.com, "Craig" craigj@ wrote:
> > > >
> > > > I need to create a DataModel.as that will synchronize two
> > > > arraycollections and allow me to update a Form based on the
> contents
> > > of
> > > > the 2nd arraycollection.index.item(s) when the first
> arraycollection
> > > > selecteditem is clicked as the dataprovider for a datagrid.
> > > >
> > > >
> > > > The 2 arraycollections are populated via webservices from sql
> > > database,
> > > > (which I can not InnerJoin from 4 different tables due to
> > > > performance)... so I end with two separate arraycollections:
> > > >
> > > > One populates a Datagrid, the other is just resident in an
> > > > ArrayCollection: Here is some of the sample code:
> > > >
> > > > 
> > > >  > > > headerText="Ticker"/>
> > > >  > > > headerText="Kind"
> > > > dataField="Kind"
> > > > itemRenderer="com.steury.baseClasses.CellFieldTrd"/>
> > > >  > > > labelFunction="{myPrice}"
> > > > dataField="EnterPrice"
> > > > headerText="EnterPrice"/>
> > > >  > > > labelFunction="{myClosePr}"
> > > > dataField="Close"
> > > > headerText="Price"/>
> > > >  > > > headerText="Profit"
> > > > dataField="Profit"
> > > > labelFunction="{perCent}"
> > > > itemRenderer="com.steury.baseClasses.CellFieldInt"/>
> > > > 
> > > >
> > > > __
> > > >
> > > >  > > > width="100%" height="50%"
> > > > textAlign="center"
> > > > dataProvider="{Array_OrdExt}"
> > > > itemClick="onTick4()" >
> > > >
> > > > One Array is Array_OrdEx and the other Array is Array_Exits.
> > > >
> > > > When I select an item on the dgOrdExt DataGrid, I simply want to
> > > > populate the text values of a Form with the appropriate Items in
> the
> > > > second datagrid... Here is the trick... they both share the same
> > > > 'Ticker' value, but just different other vari

[flexcoders] Re: Adobe has open-sourced the Text Layout Framework (TLF)

2009-07-21 Thread Dennis van Nooij
that's great. The first article states that tables are also supported, but if I 
remember correct that used to be reserved for a later version?

thanks,
Dennis

--- In flexcoders@yahoogroups.com, Gordon Smith  wrote:
>
> http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_view&newsId=20090720006233&newsLang=en
> 
> http://opensource.adobe.com/wiki/display/tlf/Text+Layout+Framework
> 
> Gordon Smith
> Adobe Flex SDK Team
>




[flexcoders] getStyleDefinition

2009-07-21 Thread Julian Tenney
Hi,

Maybe someone can shed some light on this.

I need to get at runtime a list of styles a particular component
supports. I am using the Flex 4 SDK.

I have read about ComponentClass.getStyleDefinition() but cannot get it
to work. I see this is a method inherited from UIComponent, but it
always returns undefined if I trace UIComponent.getStyleDefinition

Is this a Flash only feature or is it also in Flex? Am I missing
something?

Is there any other way of getting a list of supported styles for a
component class?

many thanks,

Jules

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



Re: [flexcoders] create www.example123.com/#/testing

2009-07-21 Thread Yesaya handoyo
Ic,how about using swfaddress?Is it the same?For the bug?

On 7/21/09, Tom Chiverton  wrote:
> On Monday 20 Jul 2009, Yesaya handoyo wrote:
>> Thanks Tom,are there any disadvantage using deep linking??
>
> Currently there is a player bug where it prevents 'streaming' which may
> effect
> any custom preloaders you have. I didn't find it a problem, given how nice
> Deep Linking is for users.
>
> --
> Helping to economically embrace metrics as part of the IT team of the
> year, '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] create www.example123.com/#/testing

2009-07-21 Thread Tom Chiverton
On Monday 20 Jul 2009, Yesaya handoyo wrote:
> Thanks Tom,are there any disadvantage using deep linking??

Currently there is a player bug where it prevents 'streaming' which may effect 
any custom preloaders you have. I didn't find it a problem, given how nice 
Deep Linking is for users.

-- 
Helping to economically embrace metrics as part of the IT team of the 
year, '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.