RE: [flexcoders] Custom Container component and drag 'n drop support

2008-08-16 Thread Alex Harui
DragManager doesn't care whether you have a dropEnabled property, that's
just so List can turn on and off its handlers.

 

DragManager cares whether your component has graphics or children that
cover the area under the mouse (and are mouseEnabled=true) and whether
any other component or child higher up in the "z-order" has called
acceptDragDrop.

 

You can set a break point on the DragProxy.as mouseMoveHandler and see
what the list of objectsUnderPoint are.  If your component or its child
isn't in there, then it is probably a mouseEnabled issue, if it is in
there, it is likely that someone else higher up called acceptDragDrop

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Weyert de Boer
Sent: Saturday, August 16, 2008 4:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom Container component and drag 'n drop
support

 

I have been working on a custom component which descends from the 
Container class. Now I am trying to implement drag 'n drop support.
I have enabled "dragEnabled"-property on my other List-component in the 
MXML file. I also have add the following listeners in my custom
component:

this.addEventListener( DragEvent.DRAG_ENTER , onDragEnter 
); 
this.addEventListener( DragEvent.DRAG_DROP , onDragDrop 
); 
this.addEventListener( DragEvent.DRAG_OVER, onDragOver );

Only the events never are getting triggered when I am hovering my list 
item over my component. How can I enable the dropping of items for my 
custom component?
Container doesn't seem to have a dropEnabled-property!

Thanks in avance!

Weyert

 



RE: [flexcoders] creating a custom context menu on right click

2008-08-16 Thread Alex Harui
You can remove everything except the Settings...  Call hideBuiltInItems

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of venkateswarlu naidu
Sent: Saturday, August 16, 2008 8:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] creating a custom context menu on right click

 

Hi,

I dont want to show the options like 'Show redraw regions', 'settings'
on right click on the datagrid. i have to show my own options and have
to capture the selected row of the datagrid. In the documentation i saw
that we cant remove those options, but i want to remove them completely.


How can i achieve this requirement, any help is appreciated.

Thanks in advance,
Venkat.

Add more friends to your messenger and enjoy! Go to
http://in.messenger.yahoo.com/invite/
 

 



Re: [flexcoders] Re: Web-based Sync data - Flex/Air & VS.NET

2008-08-16 Thread greg h
Hi Danny,

Are you familiar with Flex/Flash Shared Objects?

A little synopsis regarding using SharedObject with Flex here:
http://sujitreddyg.wordpress.com/2008/01/24/shared-objects-in-flex/

When you write that your application has a "large volume of data", how
large?

With SharedObject the default storage size is 100KB.  Setting storage to
"unlimited" is easily accomplished on a user-by-user basis through the Flash
Player settings box.  The following technote covers "How to manage Local
Shared Objects":
http://kb.adobe.com/selfservice/viewContent.do?externalId=52697ee8

To really simplify the coding of data synchronization in Flex the key is
using LiveCycle Data Services on the backend.

Regarding "examples which related to database application", Adobe's
Christophe Coenraet's has several examples of a simple Contact Manager
application with full downloadable source code.  Of late, Christophe's
examples have been showcasing synchronization using AIR, but I think that
you may be able to adapt them to using Flex in browser with SharedObject for
storage.

This first post by Christophe mentions that in the early "AIR betas, the
Flex Data Management Service uses Local Shared Objects as the local data
store. For the AIR 1.0 release, we will use the SQLite database embedded in
the AIR runtime instead."
http://coenraets.org/blog/2007/10/offline-synchronization-using-air-and-livecycle-data-services/

Christophe's most recent update of this sample app is:

InSync: Automatic Offline Data Synchronization in AIR using LCDS 2.6
http://coenraets.org/blog/2008/05/insync-automatic-offline-data-synchronization-in-air-using-lcds-26/

An example not using Flex Data Services, but with just source on using
SharedObject with Flex is here:

Flex: Using Local Shared Object to store a serialized class instance
http://blog.flexmonkeypatches.com/2007/10/11/flex-using-local-shared-object-to-store-a-serialized-class-instance/

Please post back if the above helps?

Also please post back regarding what you management finally approves for the
project.

Best regards,

g


On Thu, Jul 24, 2008 at 9:45 PM, itdanny2002 <[EMAIL PROTECTED]> wrote:

> Cross Platform - depends on application. Our siutation - don't mind
> Cheaper - we bought VS.net already.
>
> This one sounds good:-
> "Standard (client-side) libraries are allegedly
> a lot broader in Flex than Silverlight."
>
> Anyone has examples which related to database application ?
>
>
>
> --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > Well the benefits (assuming silverlight as the other option) become:
> >
> > * Cross platform
> > * Much more traction and an established user base
> > * Standard (client-side) libraries are allegedly a lot broader in
> Flex than
> > Silverlight. Just repeating what I've heard here though, I don't
> know for
> > sure.
> > * Not evil - IMHO of course, but this _is_ a Flex list ;-)
> > * Don't quote me on this, but probably substantially cheaper (for a
> > commercial license) unless you already have VS
> >
> > I don't know what capabilities the Silverlight equivalent of AIR
> has. But
> > AIR apps will run on Mac Win and Linux, whereas Silverlight is
> Mac / Win
> > (client plugin) only, development is Win only. Also the AIR
> equivalent may
> > even be windows-clients only. Personally I avoid anything that
> means I'm
> > stuck with any one platform. I like choice, what if the next
> Windows / OS X
> > is awful?
> >
> > -Josh
> >
> > On Fri, Jul 25, 2008 at 2:00 PM, itdanny2002 <[EMAIL PROTECTED]> wrote:
> >
> > > But if the only to do the sync is to
> > > install a program in desktop. Then,
> > > any benefit of AIR is better than
> > > Microsoft'stuf ? Sorry, it is a management
> > > question so that we can sell our management
> > > while our other development is on MS platform.
> > > Inshort, any good point in AIR which is better ?
> > >
> > > Thanks
> > >
> > > --- In flexcoders@yahoogroups.com, "Josh McDonald" 
> wrote:
> > > >
> > > > Anything that lives in a browser is not going to be able to
> have a
> > > local
> > > > database, going to microsoft won't change that.
> > > >
> > > > On Fri, Jul 25, 2008 at 11:03 AM, itdanny2002 
> > > wrote:
> > > >
> > > > > I need to build a web-based Application which
> > > > > has data in Client & Server, sync is required.
> > > > >
> > > > > AIR
> > > > > ---
> > > > > Support SQLite in client side - It's ok but we
> > > > > want web-based so that installation is not
> > > > > required. Go to anywhere, just a click to see
> > > > > data.
> > > > >
> > > > > FLEX
> > > > > 
> > > > > It can't have database operation such as SQLite
> > > > > in client. I don't think cookie is a solution due
> > > > > to large volume of data.
> > > > >
> > > > > I need to defence and stay in Flex faction in
> > > > > my company. Any good point(s) that make me won't
> > > > > in camp of VS.Net ?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > 
> > > > >
>

Re: [flexcoders] Web-based Sync data - Flex/Air & VS.NET

2008-08-16 Thread Guy Morton
Oh yeah, market domination has never been on Bill's to-do list. Pull  
the other one, it plays Jingle Bells...


By "many" I refer to those people, myself included, who often balk at  
the idea of installing something without a compelling reason. Yes, I  
thought twice about downloading and installing an AIR app too.


And sorry Nancy, I did ask Scott to stop baiting me but he can't help  
himself. Must be something they put in the water at MS headquarters. ;-)



On 17/08/2008, at 10:54 AM, Scott Barnes wrote:



When you say "many", what % of the population are we referring to  
here? Are you also implying that since many do not wish to install  
Silverlight, thefore many will not wish to install Adobe AIR or are  
they seperate entities? If so why? (I'm actually curious as to where  
this is likely to go, as I hear it at times, but am wondering if i'm  
missing out on my newsletter to Human Factors / Ergnomics or  
something?)


World domination? I don't recall this being brought up in a meeting  
at all, but I last week ask for sharkes with lazer beams be added to  
Silverlight vNext, I fear my proposal was not taken seriously.


thnx.



On Sat, Aug 16, 2008 at 5:40 PM, Guy Morton <[EMAIL PROTECTED]>  
wrote:
Yes, and you are assiduously avoiding mentioning Silverlight's  
penetration, which will be MUCH lower than Flash.



Yes, people can and do install plugins, but many people don't like  
to do it, that's my point. With Flash content, the vast majority  
won't have to install a plugin to see it. Most of those with an  
older plugin will enjoy an incredibly easy upgrade. Silverlight will  
require the vast majority to install a new plugin they've never  
heard of.


Add to that the fact that supporting Silverlight has the side effect  
of supporting Microsoft's plans for world domination and you have a  
compelling case, IMHO, to avoid Silverlight.


DRM just gives us one more reason to run in the other direction.


On 17/08/2008, at 5:29 AM, Scott Barnes wrote:



Actually, you're assuming that Flash's plugins are all up to date  
on every desktop. One has to update sooner or later (especially as  
only ship Flash 6 with Windows XP - which may I add, Windows XP is  
on majority of the worlds desktops), one has to install Flash when  
they buy Windows Vista and OSX and in the end they do install it,  
but they rarely actually discuss the merits of the technology. It's  
usually a stepping point to get to the content behind the  
Technology, like "I want to watch xyz on YouTube ... Install" as in  
the end, the content is the reward, the technology is just the  
enabler for the "average" consumer.


Furthermore, the 4500 people that are sampled from around the world  
to determine the % of installed Flash clients are only Internet  
connected folks 18 years and over whom volunteer to be part of the  
survey. It's basically a "sample" and many have argued that the  
sample is like drilling a hole in Antarctica, analyzing it and then  
declaring the world "cold". Does every corporate firewall have  
Flash 9.xx installed?


Also by your rationale, if it requires a plug-in or something to be  
installed then not only will Silverlight ultimately fail, so will  
Adobe AIR, as does that not also require an installation  
experience? If you will, a plug-in? as given the average consumer  
will click on the Adobe AIR installer per Application via web page,  
are they able to consciously separate the difference between "plug- 
in" or "no-plug in". You may know, because you're a developer whom  
is conscious of the said technology, but is everyone? Not only  
that, but it has deeper access to your security conscious, given it  
uses the words at times "untrusted and full access"


If anything Flash has trained the world that the plug in  
installation / updating is simply a normal routine part of  
conditions of entry into the Internet today. Installing of software  
online is part of the stability model, as typically in both  
business software and games, you're always installing something  
online. As long as the brand is trusted and well known, the  
security risk analysis that consumers conduct in their mind  
diminishes.


*shrug*, there's always two sides to a story is more my point.

On Sat, Aug 16, 2008 at 6:11 AM, Guy Morton <[EMAIL PROTECTED]>  
wrote:
Scott, relax, you know the Flash plug-in is everywhere. :-) It's  
already on almost every desktop today. Ask most end users and  
they'll say they don't like installing plugins. Show them Flash  
content and they say "Cool. it works without a plugin!" See? They  
think it doesn't require a plugin because they didn't have to  
install one!



We could argue about innovation till the cows come home. I'm just  
dying to see Microsoft's iPhone killer, which I'm sure will do to  
the iPhone what the Zune did to the iPod! Watch out Apple!


BTW I installed v2 of the Silverlight plugin, noting it now has  
DRM! Mmm, DRM...useful AND popular. I'm sure that wi

Re: [flexcoders] Web-based Sync data - Flex/Air & VS.NET

2008-08-16 Thread Guy Morton
Yeah, most of those downloads would be from all those .NET developers  
you guys have... ;-)


On 17/08/2008, at 10:48 AM, Scott Barnes wrote:



Not nit-picking, just setting the record straight as some folks  
could imply "world wide" means every single computer that's  
connected with power? Given the pentetration methodologies don't  
indicate this i'm curious to see if this was a typo, or there is  
supporting evidence to back this claim is all.


We have, at MIX08, we reported 1.5million per day in downloads. As  
to when the next round of numbers will be published is something  
we're currently still deciding as like the below, numbers can be a  
funny thing if misinterpreted :)


HTH.

On Sat, Aug 16, 2008 at 5:41 PM, Guy Morton <[EMAIL PROTECTED]>  
wrote:

Scott,


Rather than nit-picking about Flash's penetration stats, why not  
release your own for Silverlight?


You won't, because they are low and don't suit your argument.

Guy

On 17/08/2008, at 10:24 AM, Scott Barnes wrote:



Hi Mike,

Just to clarify, when you say world-wide do you mean this is  
inclusive of behind the firewall? in that the are you saying 95% of  
Fortune 1000 companies have Flash 9 installed?




On Sat, Aug 16, 2008 at 3:04 PM, Mike Chambers  
<[EMAIL PROTECTED]>wrote:

Flash Player 9 is over 95% world wide (96% - 98%).

Flash Player 9.0.115 is around 80% world wide.

mike chambers

[EMAIL PROTECTED]



On Aug 16, 2008, at 12:29 PM, Scott Barnes wrote:

> Actually, you're assuming that Flash's plugins are all up to date  
on

> every desktop.






--

Regards,

Scott Barnes
Rich Client Platform Manager
Microsoft.

http://blogs.msdn.com/msmossyblog









--
Regards,

Scott Barnes
Rich Client Platform Manager
Microsoft.

http://blogs.msdn.com/msmossyblog






Re: [flexcoders] Web-based Sync data - Flex/Air & VS.NET

2008-08-16 Thread Scott Barnes
When you say "many", what % of the population are we referring to here? Are
you also implying that since many do not wish to install Silverlight,
thefore many will not wish to install Adobe AIR or are they seperate
entities? If so why? (I'm actually curious as to where this is likely to go,
as I hear it at times, but am wondering if i'm missing out on my newsletter
to Human Factors / Ergnomics or something?)

World domination? I don't recall this being brought up in a meeting at all,
but I last week ask for sharkes with lazer beams be added to Silverlight
vNext, I fear my proposal was not taken seriously.

thnx.



On Sat, Aug 16, 2008 at 5:40 PM, Guy Morton <[EMAIL PROTECTED]> wrote:

>   Yes, and you are assiduously avoiding mentioning Silverlight's
> penetration, which will be MUCH lower than Flash.
> Yes, people can and do install plugins, but many people don't like to do
> it, that's my point. With Flash content, the vast majority won't have to
> install a plugin to see it. Most of those with an older plugin will enjoy an
> incredibly easy upgrade. Silverlight will require the vast majority to
> install a new plugin they've never heard of.
>
> Add to that the fact that supporting Silverlight has the side effect of
> supporting Microsoft's plans for world domination and you have a compelling
> case, IMHO, to avoid Silverlight.
>
> DRM just gives us one more reason to run in the other direction.
>
>
>  On 17/08/2008, at 5:29 AM, Scott Barnes wrote:
>
>
>  Actually, you're assuming that Flash's plugins are all up to date on
> every desktop. One has to update sooner or later (especially as only ship
> Flash 6 with Windows XP - which may I add, Windows XP is on majority of the
> worlds desktops), one has to install Flash when they buy Windows Vista and
> OSX and in the end they do install it, but they rarely actually discuss the
> merits of the technology. It's usually a stepping point to get to the
> content behind the Technology, like "I want to watch xyz on YouTube ...
> Install" as in the end, the content is the reward, the technology is just
> the enabler for the "average" consumer.
>
> Furthermore, the 4500 people that are sampled from around the world to
> determine the % of installed Flash clients are only Internet connected folks
> 18 years and over whom volunteer to be part of the survey. It's basically a
> "sample" and many have argued that the sample is like drilling a hole in
> Antarctica, analyzing it and then declaring the world "cold". Does every
> corporate firewall have Flash 9.xx installed?
>
> Also by your rationale, if it requires a plug-in or something to be
> installed then not only will Silverlight ultimately fail, so will Adobe AIR,
> as does that not also require an installation experience? If you will, a
> plug-in? as given the average consumer will click on the Adobe AIR installer
> per Application via web page, are they able to consciously separate the
> difference between "plug-in" or "no-plug in". You may know, because you're a
> developer whom is conscious of the said technology, but is everyone? Not
> only that, but it has deeper access to your security conscious, given it
> uses the words at times "untrusted and full access"
>
> If anything Flash has trained the world that the plug in installation /
> updating is simply a normal routine part of conditions of entry into the
> Internet today. Installing of software online is part of the stability
> model, as typically in both business software and games, you're always
> installing something online. As long as the brand is trusted and well known,
> the security risk analysis that consumers conduct in their mind diminishes.
>
> *shrug*, there's always two sides to a story is more my point.
>
> On Sat, Aug 16, 2008 at 6:11 AM, Guy Morton <[EMAIL PROTECTED]> wrote:
>
>>   Scott, relax, you know the Flash plug-in is everywhere. :-) It's
>> already on almost every desktop today. Ask most end users and they'll say
>> they don't like installing plugins. Show them Flash content and they say
>> "Cool. it works without a plugin!" See? They think it doesn't require a
>> plugin because they didn't have to install one!
>>
>> We could argue about innovation till the cows come home. I'm just dying to
>> see Microsoft's iPhone killer, which I'm sure will do to the iPhone what the
>> Zune did to the iPod! Watch out Apple!
>>
>> BTW I installed v2 of the Silverlight plugin, noting it now has DRM! Mmm,
>> DRM...useful AND popular. I'm sure that will prove to be a big hit with the
>> punters.
>>
>> Guy
>>
>> PS I'm not allowed to view the Olympics on NBC as I'm not in America.
>>
>> PPS I'm going to take my medication now - stop baiting me Scott. :-)
>>
>>
>>  On 16/08/2008, at 4:49 PM, Scott Barnes wrote:
>>
>>
>>  I see innvoation daily, so do millions of other folks in the .NET
>> community, eye of the beholder maybe?
>>
>> As for Silverlight app running on an OS other than Vista? umm NBC
>> Olympics? As to how you can run Silverlight without

Re: [flexcoders] Web-based Sync data - Flex/Air & VS.NET

2008-08-16 Thread Scott Barnes
Not nit-picking, just setting the record straight as some folks could imply
"world wide" means every single computer that's connected with power? Given
the pentetration methodologies don't indicate this i'm curious to see if
this was a typo, or there is supporting evidence to back this claim is all.

We have, at MIX08, we reported 1.5million per day in downloads. As to when
the next round of numbers will be published is something we're currently
still deciding as like the below, numbers can be a funny thing if
misinterpreted :)

HTH.

On Sat, Aug 16, 2008 at 5:41 PM, Guy Morton <[EMAIL PROTECTED]> wrote:

>   Scott,
> Rather than nit-picking about Flash's penetration stats, why not release
> your own for Silverlight?
>
> You won't, because they are low and don't suit your argument.
>
> Guy
>
>  On 17/08/2008, at 10:24 AM, Scott Barnes wrote:
>
>
>  Hi Mike,
>
> Just to clarify, when you say world-wide do you mean this is inclusive of
> behind the firewall? in that the are you saying 95% of Fortune 1000
> companies have Flash 9 installed?
>
>
>
> On Sat, Aug 16, 2008 at 3:04 PM, Mike Chambers <[EMAIL PROTECTED]>wrote:
>
>>   Flash Player 9 is over 95% world wide (96% - 98%).
>>
>> Flash Player 9.0.115 is around 80% world wide.
>>
>> mike chambers
>>
>> [EMAIL PROTECTED] 
>>
>>
>> On Aug 16, 2008, at 12:29 PM, Scott Barnes wrote:
>>
>> > Actually, you're assuming that Flash's plugins are all up to date on
>> > every desktop.
>>
>>
>>
>>
>
>
> --
> Regards,
>
> Scott Barnes
> Rich Client Platform Manager
> Microsoft.
>
> http://blogs.msdn.com/msmossyblog
>
>
> 




-- 
Regards,

Scott Barnes
Rich Client Platform Manager
Microsoft.

http://blogs.msdn.com/msmossyblog


Re: [flexcoders] Web-based Sync data - Flex/Air & VS.NET

2008-08-16 Thread Guy Morton

Scott,

Rather than nit-picking about Flash's penetration stats, why not  
release your own for Silverlight?


You won't, because they are low and don't suit your argument.

Guy

On 17/08/2008, at 10:24 AM, Scott Barnes wrote:



Hi Mike,

Just to clarify, when you say world-wide do you mean this is  
inclusive of behind the firewall? in that the are you saying 95% of  
Fortune 1000 companies have Flash 9 installed?




On Sat, Aug 16, 2008 at 3:04 PM, Mike Chambers  
<[EMAIL PROTECTED]>wrote:

Flash Player 9 is over 95% world wide (96% - 98%).

Flash Player 9.0.115 is around 80% world wide.

mike chambers

[EMAIL PROTECTED]



On Aug 16, 2008, at 12:29 PM, Scott Barnes wrote:

> Actually, you're assuming that Flash's plugins are all up to date on
> every desktop.






--
Regards,

Scott Barnes
Rich Client Platform Manager
Microsoft.

http://blogs.msdn.com/msmossyblog






Re: [flexcoders] Web-based Sync data - Flex/Air & VS.NET

2008-08-16 Thread Guy Morton
Yes, and you are assiduously avoiding mentioning Silverlight's  
penetration, which will be MUCH lower than Flash.


Yes, people can and do install plugins, but many people don't like to  
do it, that's my point. With Flash content, the vast majority won't  
have to install a plugin to see it. Most of those with an older plugin  
will enjoy an incredibly easy upgrade. Silverlight will require the  
vast majority to install a new plugin they've never heard of.


Add to that the fact that supporting Silverlight has the side effect  
of supporting Microsoft's plans for world domination and you have a  
compelling case, IMHO, to avoid Silverlight.


DRM just gives us one more reason to run in the other direction.


On 17/08/2008, at 5:29 AM, Scott Barnes wrote:



Actually, you're assuming that Flash's plugins are all up to date on  
every desktop. One has to update sooner or later (especially as only  
ship Flash 6 with Windows XP - which may I add, Windows XP is on  
majority of the worlds desktops), one has to install Flash when they  
buy Windows Vista and OSX and in the end they do install it, but  
they rarely actually discuss the merits of the technology. It's  
usually a stepping point to get to the content behind the  
Technology, like "I want to watch xyz on YouTube ... Install" as in  
the end, the content is the reward, the technology is just the  
enabler for the "average" consumer.


Furthermore, the 4500 people that are sampled from around the world  
to determine the % of installed Flash clients are only Internet  
connected folks 18 years and over whom volunteer to be part of the  
survey. It's basically a "sample" and many have argued that the  
sample is like drilling a hole in Antarctica, analyzing it and then  
declaring the world "cold". Does every corporate firewall have Flash  
9.xx installed?


Also by your rationale, if it requires a plug-in or something to be  
installed then not only will Silverlight ultimately fail, so will  
Adobe AIR, as does that not also require an installation experience?  
If you will, a plug-in? as given the average consumer will click on  
the Adobe AIR installer per Application via web page, are they able  
to consciously separate the difference between "plug-in" or "no-plug  
in". You may know, because you're a developer whom is conscious of  
the said technology, but is everyone? Not only that, but it has  
deeper access to your security conscious, given it uses the words at  
times "untrusted and full access"


If anything Flash has trained the world that the plug in  
installation / updating is simply a normal routine part of  
conditions of entry into the Internet today. Installing of software  
online is part of the stability model, as typically in both business  
software and games, you're always installing something online. As  
long as the brand is trusted and well known, the security risk  
analysis that consumers conduct in their mind diminishes.


*shrug*, there's always two sides to a story is more my point.

On Sat, Aug 16, 2008 at 6:11 AM, Guy Morton <[EMAIL PROTECTED]>  
wrote:
Scott, relax, you know the Flash plug-in is everywhere. :-) It's  
already on almost every desktop today. Ask most end users and  
they'll say they don't like installing plugins. Show them Flash  
content and they say "Cool. it works without a plugin!" See? They  
think it doesn't require a plugin because they didn't have to  
install one!



We could argue about innovation till the cows come home. I'm just  
dying to see Microsoft's iPhone killer, which I'm sure will do to  
the iPhone what the Zune did to the iPod! Watch out Apple!


BTW I installed v2 of the Silverlight plugin, noting it now has DRM!  
Mmm, DRM...useful AND popular. I'm sure that will prove to be a big  
hit with the punters.


Guy

PS I'm not allowed to view the Olympics on NBC as I'm not in America.

PPS I'm going to take my medication now - stop baiting me Scott. :-)


On 16/08/2008, at 4:49 PM, Scott Barnes wrote:



I see innvoation daily, so do millions of other folks in the .NET  
community, eye of the beholder maybe?


As for Silverlight app running on an OS other than Vista? umm NBC  
Olympics? As to how you can run Silverlight without downloading a  
plug-in, is like saying how do you run flash without Flash?


HTH.

On Fri, Aug 15, 2008 at 9:00 PM, Guy Morton <[EMAIL PROTECTED]>  
wrote:
If MS had a reputation for innovation, great products and fair play  
instead of for abuse and misuse of market power, I would agree that  
you should just choose whichever tool is appropriate for the job,  
however, each technology choice includes an implicit acceptance of  
the ethical implications of that choice.



If you want to help reduce greenhouse emissions, don't drive a  
Hummer. If you believe in standards don't support technology from  
companies that undermine them, or manufacture them to suit their  
own commercial interests.  That's my view. YMMV.


BTW, I'm still waiting to be shown a s

Re: [flexcoders] Web-based Sync data - Flex/Air & VS.NET

2008-08-16 Thread Scott Barnes
Hi Mike,

Just to clarify, when you say world-wide do you mean this is inclusive of
behind the firewall? in that the are you saying 95% of Fortune 1000
companies have Flash 9 installed?



On Sat, Aug 16, 2008 at 3:04 PM, Mike Chambers <[EMAIL PROTECTED]> wrote:

>   Flash Player 9 is over 95% world wide (96% - 98%).
>
> Flash Player 9.0.115 is around 80% world wide.
>
> mike chambers
>
> [EMAIL PROTECTED] 
>
> On Aug 16, 2008, at 12:29 PM, Scott Barnes wrote:
>
> > Actually, you're assuming that Flash's plugins are all up to date on
> > every desktop.
>
> 
>



-- 
Regards,

Scott Barnes
Rich Client Platform Manager
Microsoft.

http://blogs.msdn.com/msmossyblog


[flexcoders] Re: Hiring Flex Developers ASAP!

2008-08-16 Thread jhaidar21
Thanks for the tip, will do!


--- In flexcoders@yahoogroups.com, "guillaumeracine"
<[EMAIL PROTECTED]> wrote:
>
> You should post your job offering at another group:
> 
> The group "flexjobs" was created specially for that, thank you.
> 
> --- In flexcoders@yahoogroups.com, "jhaidar21"  wrote:
> >
> > Hi All,
> > 
> > My company is looking for Flex gurus asap. We're building out a great
> > new enterprise widget offering and need your help.
> > 
> > The platform allows clients to author, order, track, distribute, and
> > even own Flash widgets. We're also working on technology that will be
> > the first of it's kind to allow cross-technology deployment of any
> > widget created on the platform (no more messing with Flash and JS for
> > different deployment channels...that's all we can say at this point or
> > we'll be shot :))
> > 
> > We're already working with some major clients and partnered with some
> > coll companies.
> > 
> > We're based in London, Ontario Canada and looking primarily for
> > developers in Ontario that are interested in contract work for now and
> > then possibly becoming employees (and enjoying in the growth).
> > 
> > Apply at careers@ - hurry!
> > 
> > Thanks,
> > Jaafer
> >
>




[flexcoders] Re: advice needed: air runtime & app - silent install

2008-08-16 Thread aphexyuri
hey mike
we already applied for the license, and all that...i'm working on the
flex / flash /air side of things, where someone else is doing the
installer (he's not on this forum), so let me paste his mail to me:

/*
In the course of setting up the AIR silent installer, I ran into a
problem.  I believe I have reached a sandbox limitation.  While in the
correct folder, the argument goes like this:

screenbird_gui.exe -silent { -eulaAccepted ( -location  ) }
screenbird_gui.air

Let me explain.  This is the command to launch the AIR runtime
installation
(screenbird_gui.exe is the renamed exe, as per their instructions).  It is
supposed to install into a directory called testy.sorry, I was
frustrated!  And this would also install the air app screenbird_gui.air.
The problem is i get "Access is denied" when I try to install into "testy"
folder.  The directions say to give an absolute path, but that's a
bunch of
crap.  It says it can't find file if I do that.


Any thoughts?
*/

i was maybe thinking that it had something to do with the digital
certificate?


--- In flexcoders@yahoogroups.com, Mike Chambers <[EMAIL PROTECTED]> wrote:
>
> First you need to get a license to redistribute the installer (which  
> shouldn't be an issue):
> 
>
http://www.mikechambers.com/blog/2008/04/07/redistributing-the-adobe-air-runtime-installer/
> 
> Once you do that, you will get SDK docs for the distributable player.
> 
> After that, you just need to create a native installer to install the  
> components of your app.
> 
> Hope that helps...
> 
> mike chambers
> 
> [EMAIL PROTECTED]
> 
> On Aug 16, 2008, at 9:09 AM, aphexyuri wrote:
> 
> > Hey all
> > Yes, not quite a flex issue, but was wondering if anyone here has some
> > experience with air runtime and .air deployable silent install.
> >
> > We're developing an app with app backend in eiffle, and gui in air.
> > Our current installer needs to install the eiffle part, the air
> > runtime, and the actual air app.
> >
> > Any help will be greatly appreciated ;)
> >
>




[flexcoders] Flash Player 10 RC

2008-08-16 Thread Sherif Abdou
Anyone Having trouble with the Debugger? When I was using the Beta2, The 
Debugger was 10. Now with the RC Flash Player the Debugger is not 10 but 9r115. 

[flexcoders] FlexBuilder3; Differences between Design View and Runtime ( Browser )

2008-08-16 Thread Aldo Bucchi
Hi guys,

In Flex Builder 3, Design View, I cannot see the IDs being set ( from
within an application ).
My guess is that this has to do something with the way design view
works, where the MXML document is in flux.

Is there a place where the differences between design view and runtime
are documented?
I need to make parts of my app run in design view...

Thx,
A

-- 
 Aldo Bucchi 
+56 9 7623 8653
skype:aldo.bucchi
http://aldobucchi.com/


[flexcoders] Custom Container component and drag 'n drop support

2008-08-16 Thread Weyert de Boer
I have been working on a custom component which descends from the 
Container class. Now I am trying to implement drag 'n drop support.
I have enabled "dragEnabled"-property on my other List-component in the 
MXML file. I also have add the following listeners in my custom component:

this.addEventListener( DragEvent.DRAG_ENTER , onDragEnter 
);   
this.addEventListener( DragEvent.DRAG_DROP , onDragDrop 
);   
this.addEventListener( DragEvent.DRAG_OVER, onDragOver );


Only the events never are getting triggered when I am hovering my list 
item over my component. How can I enable the dropping of items for my 
custom component?
Container doesn't seem to have a dropEnabled-property!

Thanks in avance!

Weyert


Re: [flexcoders] advice needed: air runtime & app - silent install

2008-08-16 Thread Mike Chambers
First you need to get a license to redistribute the installer (which  
shouldn't be an issue):

http://www.mikechambers.com/blog/2008/04/07/redistributing-the-adobe-air-runtime-installer/

Once you do that, you will get SDK docs for the distributable player.

After that, you just need to create a native installer to install the  
components of your app.

Hope that helps...

mike chambers

[EMAIL PROTECTED]

On Aug 16, 2008, at 9:09 AM, aphexyuri wrote:

> Hey all
> Yes, not quite a flex issue, but was wondering if anyone here has some
> experience with air runtime and .air deployable silent install.
>
> We're developing an app with app backend in eiffle, and gui in air.
> Our current installer needs to install the eiffle part, the air
> runtime, and the actual air app.
>
> Any help will be greatly appreciated ;)
>



[flexcoders] advice needed: air runtime & app - silent install

2008-08-16 Thread aphexyuri
Hey all
Yes, not quite a flex issue, but was wondering if anyone here has some
experience with air runtime and .air deployable silent install.

We're developing an app with app backend in eiffle, and gui in air.
Our current installer needs to install the eiffle part, the air
runtime, and the actual air app.

Any help will be greatly appreciated ;)




[flexcoders] creating a custom context menu on right click

2008-08-16 Thread venkateswarlu naidu
Hi,

I dont want to show the options like 'Show redraw regions', 'settings' on right 
click on the datagrid. i have to show my own options and have to capture the 
selected row of the datagrid.  In the documentation i saw that we cant remove 
those options, but i want to remove them completely. 

How can i achieve this requirement, any help is appreciated.


 Thanks in advance,
Venkat.



  Add more friends to your messenger and enjoy! Go to 
http://in.messenger.yahoo.com/invite/


[flexcoders] Re: Method variable scoping problem with Flex compiler

2008-08-16 Thread seulaterbuddy
no, lets say count was 10. 


for (var i:int=0; i < 10; i++)
{
   // do something
}

at the end of the loop I = 9, then it would i++, so at the very end 
it would be 10.



--- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "toofah_gm"  wrote:
> >
> > It seems to me and my co-workers that the Flex compiler is broken 
when
> > it comes to local variable scoping within methods.
> > 
> > For example:
> > 
> > for (var i:int=0; i > {
> >// do something
> > }
> > 
> > for (var i:int=0; i > {
> >// do something else
> > }
> 
> If you were to trace i after the loop, wouldn't you get count+1?
>




[flexcoders] Editable advanced datagrid

2008-08-16 Thread Nacho Glinsek
Hi, I need to create an advanced datagrid that looks like having two
states: edit mode, and view mode.

In the view mode, data is only displayed and cannot be changed.

In edit mode, SOME of the cells must be editable. Also, in this mode,
all editable cells have to look like a text input.

I have encountered the following problems:

Row height is variable. This causes that the custom editors have all
diferents height
The focus is lost or works not as it suposed to.

Can you help me?, Thanks in advance.



Re: [flexcoders] Web-based Sync data - Flex/Air & VS.NET

2008-08-16 Thread Mike Chambers
Flash Player 9 is over 95% world wide (96% - 98%).

Flash Player 9.0.115 is around 80% world wide.

mike chambers

[EMAIL PROTECTED]

On Aug 16, 2008, at 12:29 PM, Scott Barnes wrote:

> Actually, you're assuming that Flash's plugins are all up to date on  
> every desktop.



[flexcoders] Re: Calling Datagrid labelFunction from ActionScript

2008-08-16 Thread donvoltz
Thanks

This is what I was looking for

Don



RE: [flexcoders] Is there a way to embed flex swf in C++ instead of AIR?

2008-08-16 Thread Jim Hayes
You may want to have a look at Haxe / Neko, and the related screenweaverHx.
I believe you can extend it with c++ dlls but I'm far from an expert there so 
do your own research (The mailing list is full of helpful people), if so then 
you may save yourself a bunch of effort getting the basics working.

I'll have to leave it to others to comment on embedding the flash player in a 
c++ app, I've done it experimentally in .Net windows forms and c# (but I don't 
do c++ myself), heard it's possible to do on other platforms.

For me, however, it's always been the difficulty of legally distributing the 
flash player that's stopped me using any solution other than director or AIR as 
a wrapper for flash player. If it's a concern to you, then you may want to 
satisfy yourself as to whether you can obtain an agreement from adobe to do so. 
ScreenWeaverHx works around this by downloading the firefox plug-in from adobes 
site if a suitable version is not found locally, I believe.


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Jo Morano
Sent: Sat 16/08/2008 21:32
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Is there a way to embed flex swf in C++ instead of AIR?
 
Hi!

I need C++ and flex to work together. Can I embed flex swf in C++ and do
away with AIR?

Regards


__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__<>

[flexcoders] Re: Calling Datagrid labelFunction from ActionScript

2008-08-16 Thread Tim Hoff

Hi Donald,

Hope this helps:

// don't use parenthesis, no parameters required
newDGCol.labelFunction = showUserScheduleType;

private function showUserScheduleType(item:Object,
column:DataGridColumn):String
{
 // all of the fields in the data object (row of dataProvider fields)
are available in the item object
  return item.userSchedule + " - " + item.scheduleType;
}

-TH

--- In flexcoders@yahoogroups.com, "Sefi Ninio" <[EMAIL PROTECTED]> wrote:
>
> This might be what you are looking for:
>
http://www.returnundefined.com/2006/07/datagrid-labelfunction-and-namesp\
aces
>
> HTH
> Sefi
>
> On Sat, Aug 16, 2008 at 10:15 PM, donvoltz [EMAIL PROTECTED] wrote:
>
> > Hello,
> >
> > can someone provide an example of calling a datagrid labelFunction
> > from actionscript.
> >
> > I am currently creating a dynamic datagrid using actionscipt that
> > loops through the days of a month and I have added the labelFunction
> > as below. I am not sure what parameters I need to pass to the
> > labelFunction. I have set an arrayCollection as the datagrid's
> > dataProvider.
> >
> > for (var i:int=0; i< numDays; i++){
> > var newDGCol:DataGridColumn = new DataGridColumn();
> > newDGCol.headerText = String(i+1);
> > newDGCol.width = 25;
> > newDGCol.sortable = false;
> > newDGCol.dataField = "userSchedule";
> > newDGCol.labelFunction = showUserScheduleType(); //What parameter
> > do I pass to the labelFunction
> > cols.push(newDGCol);
> > }
> >
> > //Label Function I am using to test this
> >
> > private function showUserScheduleType(item:Object):void {
> >
> > trace('xml user schedule data ' + ObjectUtil.toString(item));
> > }
> >
> > Thanks for any help or direction on using actionscript to call a
> > labelFunction.
> >
> > Don
> > }
> >
> >
> >
>




[flexcoders] Is there a way to embed flex swf in C++ instead of AIR?

2008-08-16 Thread Jo Morano
Hi!

I need C++ and flex to work together. Can I embed flex swf in C++ and do
away with AIR?

Regards


Re: [flexcoders] Calling Datagrid labelFunction from ActionScript

2008-08-16 Thread Sefi Ninio
This might be what you are looking for:
http://www.returnundefined.com/2006/07/datagrid-labelfunction-and-namespaces

HTH
Sefi

On Sat, Aug 16, 2008 at 10:15 PM, donvoltz <[EMAIL PROTECTED]> wrote:

>   Hello,
>
> can someone provide an example of calling a datagrid labelFunction
> from actionscript.
>
> I am currently creating a dynamic datagrid using actionscipt that
> loops through the days of a month and I have added the labelFunction
> as below. I am not sure what parameters I need to pass to the
> labelFunction. I have set an arrayCollection as the datagrid's
> dataProvider.
>
> for (var i:int=0; i< numDays; i++){
> var newDGCol:DataGridColumn = new DataGridColumn();
> newDGCol.headerText = String(i+1);
> newDGCol.width = 25;
> newDGCol.sortable = false;
> newDGCol.dataField = "userSchedule";
> newDGCol.labelFunction = showUserScheduleType(); //What parameter
> do I pass to the labelFunction
> cols.push(newDGCol);
> }
>
> //Label Function I am using to test this
>
> private function showUserScheduleType(item:Object):void {
>
> trace('xml user schedule data ' + ObjectUtil.toString(item));
> }
>
> Thanks for any help or direction on using actionscript to call a
> labelFunction.
>
> Don
> }
>
>  
>


Re: [flexcoders] Web-based Sync data - Flex/Air & VS.NET

2008-08-16 Thread Scott Barnes
Actually, you're assuming that Flash's plugins are all up to date on every
desktop. One has to update sooner or later (especially as only ship Flash 6
with Windows XP - which may I add, Windows XP is on majority of the worlds
desktops), one has to install Flash when they buy Windows Vista and OSX and
in the end they do install it, but they rarely actually discuss the merits
of the technology. It's usually a stepping point to get to the content
behind the Technology, like "I want to watch xyz on YouTube ... Install" as
in the end, the content is the reward, the technology is just the enabler
for the "average" consumer.

Furthermore, the 4500 people that are sampled from around the world to
determine the % of installed Flash clients are only Internet connected folks
18 years and over whom volunteer to be part of the survey. It's basically a
"sample" and many have argued that the sample is like drilling a hole in
Antarctica, analyzing it and then declaring the world "cold". Does every
corporate firewall have Flash 9.xx installed?

Also by your rationale, if it requires a plug-in or something to be
installed then not only will Silverlight ultimately fail, so will Adobe AIR,
as does that not also require an installation experience? If you will, a
plug-in? as given the average consumer will click on the Adobe AIR installer
per Application via web page, are they able to consciously separate the
difference between "plug-in" or "no-plug in". You may know, because you're a
developer whom is conscious of the said technology, but is everyone? Not
only that, but it has deeper access to your security conscious, given it
uses the words at times "untrusted and full access"

If anything Flash has trained the world that the plug in installation /
updating is simply a normal routine part of conditions of entry into the
Internet today. Installing of software online is part of the stability
model, as typically in both business software and games, you're always
installing something online. As long as the brand is trusted and well known,
the security risk analysis that consumers conduct in their mind diminishes.

*shrug*, there's always two sides to a story is more my point.

On Sat, Aug 16, 2008 at 6:11 AM, Guy Morton <[EMAIL PROTECTED]> wrote:

>   Scott, relax, you know the Flash plug-in is everywhere. :-) It's already
> on almost every desktop today. Ask most end users and they'll say they don't
> like installing plugins. Show them Flash content and they say "Cool. it
> works without a plugin!" See? They think it doesn't require a plugin because
> they didn't have to install one!
> We could argue about innovation till the cows come home. I'm just dying to
> see Microsoft's iPhone killer, which I'm sure will do to the iPhone what the
> Zune did to the iPod! Watch out Apple!
>
> BTW I installed v2 of the Silverlight plugin, noting it now has DRM! Mmm,
> DRM...useful AND popular. I'm sure that will prove to be a big hit with the
> punters.
>
> Guy
>
> PS I'm not allowed to view the Olympics on NBC as I'm not in America.
>
> PPS I'm going to take my medication now - stop baiting me Scott. :-)
>
>
>  On 16/08/2008, at 4:49 PM, Scott Barnes wrote:
>
>
>  I see innvoation daily, so do millions of other folks in the .NET
> community, eye of the beholder maybe?
>
> As for Silverlight app running on an OS other than Vista? umm NBC Olympics?
> As to how you can run Silverlight without downloading a plug-in, is like
> saying how do you run flash without Flash?
>
> HTH.
>
> On Fri, Aug 15, 2008 at 9:00 PM, Guy Morton <[EMAIL PROTECTED]> wrote:
>
>>   If MS had a reputation for innovation, great products and fair play
>> instead of for abuse and misuse of market power, I would agree that you
>> should just choose whichever tool is appropriate for the job, however, each
>> technology choice includes an implicit acceptance of the ethical
>> implications of that choice.
>>
>> If you want to help reduce greenhouse emissions, don't drive a Hummer. If
>> you believe in standards don't support technology from companies that
>> undermine them, or manufacture them to suit their own commercial interests.
>>  That's my view. YMMV.
>>
>> BTW, I'm still waiting to be shown a silverlight app that will run on an
>> OS other than Vista without the user having to download a plugin, or in fact
>> any example of a compelling app I can run on Mac or Linux.
>>
>> Guy
>>
>>
>>On 16/08/2008, at 10:16 AM, Scott Barnes wrote:
>>
>>
>>   Let me clarify,
>>
>> My background was flex, my boss's background was the Product Designer for
>> Flex/Flash, educating us on what Flex is or should be etc, is something I'm
>> appreciative of, but in reality, it's not something you need to spend time
>> doing. Members of my team are from Adobe/Microsoft and so there's a cross
>> pollination here of ideas around the future, and to sit back and accept one
>> wins out on the other, isn't smart thinking imho :) as both will co-exist,
>> like they do today and tommorow.
>>
>> Fur

[flexcoders] Calling Datagrid labelFunction from ActionScript

2008-08-16 Thread donvoltz
Hello,

can someone provide an example of calling a datagrid labelFunction
from actionscript.

I am currently creating a dynamic datagrid using actionscipt that
loops through the days of a month and I have added the labelFunction
as below. I am not sure what parameters I need to pass to the
labelFunction. I have set an arrayCollection as the datagrid's
dataProvider.

for (var i:int=0; i< numDays; i++){
   var newDGCol:DataGridColumn = new DataGridColumn();
   newDGCol.headerText = String(i+1);
   newDGCol.width = 25;
   newDGCol.sortable = false;
   newDGCol.dataField = "userSchedule";
   newDGCol.labelFunction = showUserScheduleType(); //What parameter
do I pass to the labelFunction
   cols.push(newDGCol);
}  

//Label Function I am using to test this

private function showUserScheduleType(item:Object):void {

   trace('xml user schedule data ' + ObjectUtil.toString(item));
}

Thanks for any help or direction on using actionscript to call a
labelFunction.

Don
}



Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4 implementation

2008-08-16 Thread Scott Barnes
Understandable, at times folks can have different levels of Success. In that
right now China is ontop in the Gold Medal tally, therefore they are the
most successful right? Personally being an Australian, I'd consider the 7
gold medals we have now as being success as that's 7 gold medals that
someone in a given sport has that you or I don't?

Eye of the beholder is more the lesson here?

As for the Silverlight Video Quality, i'll let others echo what majority
have stated ( I have tonnes more of these ):

*"The online coverage of the Olympic Games on MSN is spectacular.  For this
Olympics, in the digital media realm, a milestone innovation will surely be
the entrance of Microsoft's Silverlight." – Andy Plesser, Beet.TV*
**
*"Initially, they [NBC] expected to use Adobe's Flash, given that is the
standard for video delivered over the Internet these days. But, as they
began to hash things out with Microsoft during a series of all-day meetings
at NBC's 30 Rockefeller Plaza headquarters, Microsoft was able to show NBC
some ways it could do more using its homegrown Silverlight technology." –
Ina Fried, CNET*
**
*"Like Michael Phelps, Microsoft is chasing gold at the Olympics. With its
Silverlight rich Internet application technology, Microsoft is helping NBC
break records in online viewership… If
Microsoft'sSilverlight
continues to have the success it has had in streaming
videocoverage
of the Olympic Games around the world, it could mean gold for
Microsoft as the software giant continues its competition with Adobe and
that company's ubiquitous Flash technology"  – Darryl Taft, eWeek*
**
*"Experts agree the enhanced features will boost usage of Microsoft's Web
technology. 'This is an opportunity for them to showcase key features,' said
Will Richmond, analyst and author of VideoNuze.com. 'It will certainly put
Silverlight on the map with tens of millions of downloads because of the
Olympics.'" – Daisy Whitney, TVWeek*
**
*"It's not often when a piece of  technology impresses me enough that I do
the 'wow' thing when I'm using it. But the Silverlight streaming video
implementation on NBCOlympics.com is truly awesome … I have to give
Microsoft and its technology partners that pulled this off for the Olympics
a huge round of applause." – Jon Perlow, ZDNET*
**
HTH.

On Sat, Aug 16, 2008 at 9:27 AM, Cole Joplin <[EMAIL PROTECTED]> wrote:

> Scott,
>
> I'm not exactly on board with "Silverlight will continue to have successes
> as it has today." It's far too early to make that broad a statement. One
> day, maybe, but today? No. The first real all-Silverlight site, Ice Cube's
> UVNTV.com, has not been successful. Big fanfare, bad video, losing traffic
> at the plugin download page, big dud. Second big fanfare is the Silverlight
> player for video of the Beijing Olympics. Again, video quality has been
> roundly criticized as awful. Online viewership is way down from what they
> expected. Today, people don't want to download the Silverlight plugin. That
> is not a success. Not yet.
>
> --Cole
>
> --- On *Sat, 8/16/08, Scott Barnes <[EMAIL PROTECTED]>* wrote:
>
> From: Scott Barnes <[EMAIL PROTECTED]>
> Subject: Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4
> implementation
> To: flexcoders@yahoogroups.com
> Date: Saturday, August 16, 2008, 1:30 AM
>
>
>  Anatole,
>
> I understand there is a sense of umbrage towards Microsoft over this
> decision; I disagree with some of the wild theories floating around as to
> what the real motivation behind this is. Seven entities in total disagreed
> with Mozilla and Adobe that the proposal was a right fit. I however look
> forward to seeing what the next phase of this standard will become, and
> overall Silverlight will continue to have successes as it has today, if
> either decision were to be blessed around this said standard.
>
> Silverlight has the DLR, so if folks want to spin-up their own iteration of
> an ECMA standard of their choosing, you're more than welcome to it and I'd
> be curious to see how you triumph!
> HTH.
>
>
> On Fri, Aug 15, 2008 at 8:36 PM, Anatole Tartakovsky <
> [EMAIL PROTECTED]> wrote:
>
>>Scott,I hope you realize that this goes beyond Silverlight or any
>> particular player - but to the heart of the  browsers problems today -
>> performance and robustness. If it was not for IE market share, ActionScript
>> would of been de-facto ES4 standard as it is supported by Mozilla and would
>> be quickly migrated to other OS browsers. And I have very low expectations
>> of Microsoft willingness to maintain IE on par with performance,
>> compatibility and robustness requirements - based on personal experience.
>>
>>The fact that this standard is blocked means war - and I would suggest
>> as the first step for the community to create a

Re: [flexcoders] Printing and PDF creation

2008-08-16 Thread Sefi Ninio
I actually just googled for it.. You could do the same...

http://christophrooms.com/2007/03/23/lc-ds-25-generating-pdf-from-within-a-flex-application/

http://blogs.adobe.com/mikepotter/2006/09/create_pdf_from.html

http://flexblog.faratasystems.com/?p=237

HTH
Sefi


On Sat, Aug 16, 2008 at 8:35 PM, cox.blair <[EMAIL PROTECTED]> wrote:

>   Just wondering if anyone could provide some information on general
> printing concepts and creating PDF reports from an application.
>
> With regards to printing, I really only need to allow the user to
> correctly print what is displayed in their browser - the application
> interface. As a bonus, allowing the user to print a report would be
> even better. I've heard a lot of talk about printing DG's, but how
> about printing charts? If you could pass along some links to read more
> on this, it would be a great help.
>
> PDF creation - Is it possible to create a pdf directly from the
> application within the browser (not AIR)? An example would be within
> Goggle Analytics, you can create a PDF report containing all the data
> and charts displayed online. Nothing complex here, simple plain
> reports full justified, center aligned - the way the business folk
> like it.
>
> Cheers,
> Blair
>
>  
>


[flexcoders] Printing and PDF creation

2008-08-16 Thread cox.blair
Just wondering if anyone could provide some information on general
printing concepts and creating PDF reports from an application.

With regards to printing, I really only need to allow the user to
correctly print what is displayed in their browser - the application
interface. As a bonus, allowing the user to print a report would be
even better. I've heard a lot of talk about printing DG's, but how
about printing charts? If you could pass along some links to read more
on this, it would be a great help.

PDF creation - Is it possible to create a pdf directly from the
application within the browser (not AIR)? An example would be within
Goggle Analytics, you can create a PDF report containing all the data
and charts displayed online. Nothing complex here, simple plain
reports full justified, center aligned - the way the business folk
like it.

Cheers,
Blair



Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4 implementation

2008-08-16 Thread Cole Joplin
Scott,

I'm not exactly on board with "Silverlight will continue to have successes as 
it has today." It's far too early to make that broad a statement. One day, 
maybe, but today? No. The first real all-Silverlight site, Ice Cube's 
UVNTV.com, has not been successful. Big fanfare, bad video, losing traffic at 
the plugin download page, big dud. Second big fanfare is the Silverlight player 
for video of the Beijing Olympics. Again, video quality has been roundly 
criticized as awful. Online viewership is way down from what they expected. 
Today, people don't want to download the Silverlight plugin. That is not a 
success. Not yet.

--Cole

--- On Sat, 8/16/08, Scott Barnes <[EMAIL PROTECTED]> wrote:
From: Scott Barnes <[EMAIL PROTECTED]>
Subject: Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4 
implementation
To: flexcoders@yahoogroups.com
Date: Saturday, August 16, 2008, 1:30 AM









Anatole,
 
I understand there is a sense of umbrage towards Microsoft over this decision; 
I disagree with some of the wild theories floating around as to what the real 
motivation behind this is. Seven entities in total disagreed with Mozilla and 
Adobe that the proposal was a right fit. I however look forward to seeing what 
the next phase of this standard will become, and overall Silverlight will 
continue to have successes as it has today, if either decision were to be 
blessed around this said standard.


Silverlight has the DLR, so if folks want to spin-up their own iteration of an 
ECMA standard of their choosing, you're more than welcome to it and I'd be 
curious to see how you triumph!

HTH.
 
 
On Fri, Aug 15, 2008 at 8:36 PM, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:







Scott, 
   I hope you realize that this goes beyond Silverlight or any particular 
player - but to the heart of the  browsers problems today - performance and 
robustness. If it was not for IE market share, ActionScript would of been 
de-facto ES4 standard as it is supported by Mozilla and would be quickly 
migrated to other OS browsers. And I have very low expectations of Microsoft 
willingness to maintain IE on par with performance, compatibility and 
robustness requirements - based on personal experience. 



   The fact that this standard is blocked means war - and I would suggest as 
the first step for the community to create a plugin script implementation ( 
recognized as attribute on 

[flexcoders] Re: Identifying row index relative to node vs. ADG

2008-08-16 Thread Amy
--- In flexcoders@yahoogroups.com, Adrian Williams <[EMAIL PROTECTED]> 
wrote:
>
> Hi all,
> 
> I have a challenge
> 
> I am using an ADG in tree mode on a flat array.  Everything 
looks 
> great.  One of the requirements is that whenever a user wants to 
> rearrange the order of the rows under a node, I have to store that 
index 
> value (display order). I.E. The 1st node of the ADG is collapsed.  
The 
> 2nd node is expanded.  The 5th row in the 2nd node gets dragged and 
> dropped to the 3rd row of the same node.  The 3rd row then becomes 
the 
> 4th and the 4th then becomes the 5th. The actual drag and drop 
functions 
> work beautifully.  The problem comes into play when I try to 
identify 
> the begin index and the end index for the row that was manipulated.
> 
> When I use:
> 
> var beginIndex:int = event.currentTarget.selectedIndex;

selectedItem.childIndex();

HTH;

Amy



[flexcoders] Re: Method variable scoping problem with Flex compiler

2008-08-16 Thread Amy
--- In flexcoders@yahoogroups.com, "toofah_gm" <[EMAIL PROTECTED]> wrote:
>
> It seems to me and my co-workers that the Flex compiler is broken when
> it comes to local variable scoping within methods.
> 
> For example:
> 
> for (var i:int=0; i {
>// do something
> }
> 
> for (var i:int=0; i {
>// do something else
> }

If you were to trace i after the loop, wouldn't you get count+1?



Re: [flexcoders] Web-based Sync data - Flex/Air & VS.NET

2008-08-16 Thread Guy Morton
Scott, relax, you know the Flash plug-in is everywhere. :-) It's  
already on almost every desktop today. Ask most end users and they'll  
say they don't like installing plugins. Show them Flash content and  
they say "Cool. it works without a plugin!" See? They think it doesn't  
require a plugin because they didn't have to install one!


We could argue about innovation till the cows come home. I'm just  
dying to see Microsoft's iPhone killer, which I'm sure will do to the  
iPhone what the Zune did to the iPod! Watch out Apple!


BTW I installed v2 of the Silverlight plugin, noting it now has DRM!  
Mmm, DRM...useful AND popular. I'm sure that will prove to be a big  
hit with the punters.


Guy

PS I'm not allowed to view the Olympics on NBC as I'm not in America.

PPS I'm going to take my medication now - stop baiting me Scott. :-)


On 16/08/2008, at 4:49 PM, Scott Barnes wrote:



I see innvoation daily, so do millions of other folks in the .NET  
community, eye of the beholder maybe?


As for Silverlight app running on an OS other than Vista? umm NBC  
Olympics? As to how you can run Silverlight without downloading a  
plug-in, is like saying how do you run flash without Flash?


HTH.

On Fri, Aug 15, 2008 at 9:00 PM, Guy Morton <[EMAIL PROTECTED]>  
wrote:
If MS had a reputation for innovation, great products and fair play  
instead of for abuse and misuse of market power, I would agree that  
you should just choose whichever tool is appropriate for the job,  
however, each technology choice includes an implicit acceptance of  
the ethical implications of that choice.



If you want to help reduce greenhouse emissions, don't drive a  
Hummer. If you believe in standards don't support technology from  
companies that undermine them, or manufacture them to suit their own  
commercial interests.  That's my view. YMMV.


BTW, I'm still waiting to be shown a silverlight app that will run  
on an OS other than Vista without the user having to download a  
plugin, or in fact any example of a compelling app I can run on Mac  
or Linux.


Guy


On 16/08/2008, at 10:16 AM, Scott Barnes wrote:



Let me clarify,

My background was flex, my boss's background was the Product  
Designer for Flex/Flash, educating us on what Flex is or should be  
etc, is something I'm appreciative of, but in reality, it's not  
something you need to spend time doing. Members of my team are from  
Adobe/Microsoft and so there's a cross pollination here of ideas  
around the future, and to sit back and accept one wins out on the  
other, isn't smart thinking imho :) as both will co-exist, like  
they do today and tommorow.


Furthermore, I'm not out to prove one is better than the other,  
neither is Microsoft. We have bets on where we are taking  
Silverlight, Adobe have bets on where they are taking Flash, you  
get to choose, and should one not work out, well you have a second  
choice? is that bad? if so how?


Ramming home points in aggressive manner as to why you should adopt  
one or the other is a fools errand, as in the end you'll know which  
one compliments your specific project based on a number of  
variables, and should you find Flex (which everyone here appears to  
be happy with) great, no harm, no foul. Hope you put forward some  
brilliant RIA solutions online and let me know if you need anything  
from Microsoft to help in anyway.


My posture is simple, correct the misinformed around Silverlight.  
If you want to trash the product with remarks like "SilverXYZ"  
that's entirely up to you, I've heard worse, but should you project  
information about the said product that's inaccurate, I in turn  
will be happy to step up and correct it. If this offends, then I  
apologise, if it helps, then I'm glad!.


Choice is on the table, mandatory obedience isn't :) What you do  
with the UX Platform today will define what RIA is tomorrow. You  
define RIA. Not me, Not Adobe, Not Sun etc..

HTH.
On Thu, Aug 14, 2008 at 11:54 PM, Link Mckinney <[EMAIL PROTECTED] 
> wrote:


Okay, first off I choose what gets the job done.

that said -- you should know I am a huge fan of FLEX, especially  
Flex 3 and

AS 3.0
My choice is ColdFusion and Flex Combination. My choice
But given what Guy said, I can certainly see his point, smokey!

Scott, you have not much claim in the RIA world with SilverLight  
compared to
Flex 3, I have seen what it can do and cannot do. Now give if  
Microsoft

stays with it, then eventually you can say some good stuff, maybe.

I would try my best to stay in the Flex world

P.S Scott, I am pretty sure that was a statement that guy madelol

Link



Scott Barnes wrote:
>
> Is this a question or statement? :)
>
> All the best.
>
> On Thu, Aug 14, 2008 at 10:56 PM, Guy Morton <[EMAIL PROTECTED]>  
wrote:

>
>> Oh and the way MS has stiffed SVG as a standard by refusing to  
support
>> it in IE definitely pushes them into the category of evil. They  
even
>> "embraced and extended" the acronym when they n

[flexcoders] Re: Resize from left to right

2008-08-16 Thread rleuthold
Hi Laurent,

Thank's for the reply. After a long search in the archiv i found the solution.

You can do the move and resize in parallel (don't remember the correct syntax):



   



_rico


--- In flexcoders@yahoogroups.com, Laurent Cozic <[EMAIL PROTECTED]> wrote:
>
> I usually do it by first moving the component and then applying the new width 
> and height 
to it. I don't know if Flex has any built in way to do that.
> 
> 
> var newWidth = 200;
> var newHeight = 200;
> 
> button.x = button.x + button.width - newWidth;
> button.y = button.y + button.height - newHeight;
> button.width = newWidth;
> button.height = newHeight;
> 
> 
> --
> Laurent Cozic
> 
> Flash, Flex and Web Application development
> http://pogopixels.com
> 
> --- On Thu, 8/14/08, Rico Leuthold <[EMAIL PROTECTED]> wrote:
> From: Rico Leuthold <[EMAIL PROTECTED]>
> Subject: [flexcoders] Resize from left to right
> To: flexcoders@yahoogroups.com
> Date: Thursday, August 14, 2008, 8:47 AM
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Hi,
> 
> 
> 
> I was pretty sure to find the answer in the archive - but nope ...  
> 
> couldn't find it.
> 
> 
> 
> Is there an easy way to have the resize of a component going from left  
> 
> to right ?
> 
> 
> 
> Thank's
> 
> 
> 
> _rico
>





[flexcoders] Re:SecurityError: Error #2060: Security sandbox violation-what is the r

2008-08-16 Thread Nicolas Noben
Hi

Either try to use navigateToURL instead of a javascript popup or
go with the modal approach, using lightbox js or similar?

HTH

Nicolas Noben
http://noben.org/
http://idletogether.com/



Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4 implementation

2008-08-16 Thread Paul Andrews
It's unfortunate that the rest of the online community is held back because MS 
and others are behind trend.
  - Original Message - 
  From: Scott Barnes 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, August 16, 2008 8:30 AM
  Subject: Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4 
implementation


  Anatole,

  I understand there is a sense of umbrage towards Microsoft over this 
decision; I disagree with some of the wild theories floating around as to what 
the real motivation behind this is. Seven entities in total disagreed with 
Mozilla and Adobe that the proposal was a right fit. I however look forward to 
seeing what the next phase of this standard will become, and overall 
Silverlight will continue to have successes as it has today, if either decision 
were to be blessed around this said standard.

  Silverlight has the DLR, so if folks want to spin-up their own iteration of 
an ECMA standard of their choosing, you're more than welcome to it and I'd be 
curious to see how you triumph!

  HTH.


  On Fri, Aug 15, 2008 at 8:36 PM, Anatole Tartakovsky <[EMAIL PROTECTED]> 
wrote:


Scott, 
   I hope you realize that this goes beyond Silverlight or any particular 
player - but to the heart of the  browsers problems today - performance and 
robustness. If it was not for IE market share, ActionScript would of been 
de-facto ES4 standard as it is supported by Mozilla and would be quickly 
migrated to other OS browsers. And I have very low expectations of Microsoft 
willingness to maintain IE on par with performance, compatibility and 
robustness requirements - based on personal experience. 


   The fact that this standard is blocked means war - and I would suggest 
as the first step for the community to create a plugin script implementation ( 
recognized as attribute on 

[flexcoders] SecurityError: Error #2060: Security sandbox violation-what is the real solution

2008-08-16 Thread vipinck
Hi All,

I am making a flex widget in which the .swf file will reside in my
server and people will embed them on their blog etc. I have to open a
bigger version of my widget when someone clicks on the widget. Here I
am using Externalinterface.call("function openwin(){window.open()}")

and getting the below runtime error message.

SecurityError: Error #2060: Security sandbox violation:
ExternalInterface caller http://x.x.com/xx/xx/xx.swf
cannot access http://www.xxx.com/.

What is the reason and real solution for this problem? I have
crossdomain.xml file placed in my widget server.

I have tried using -use-network=false/true also.

I am struck with this, can anyone shed some light?

-Vipin






Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4 implementation

2008-08-16 Thread Scott Barnes
Anatole,

I understand there is a sense of umbrage towards Microsoft over this
decision; I disagree with some of the wild theories floating around as to
what the real motivation behind this is. Seven entities in total disagreed
with Mozilla and Adobe that the proposal was a right fit. I however look
forward to seeing what the next phase of this standard will become, and
overall Silverlight will continue to have successes as it has today, if
either decision were to be blessed around this said standard.

Silverlight has the DLR, so if folks want to spin-up their own iteration of
an ECMA standard of their choosing, you're more than welcome to it and I'd
be curious to see how you triumph!
HTH.


On Fri, Aug 15, 2008 at 8:36 PM, Anatole Tartakovsky <
[EMAIL PROTECTED]> wrote:

>Scott,I hope you realize that this goes beyond Silverlight or any
> particular player - but to the heart of the  browsers problems today -
> performance and robustness. If it was not for IE market share, ActionScript
> would of been de-facto ES4 standard as it is supported by Mozilla and would
> be quickly migrated to other OS browsers. And I have very low expectations
> of Microsoft willingness to maintain IE on par with performance,
> compatibility and robustness requirements - based on personal experience.
>
>The fact that this standard is blocked means war - and I would suggest
> as the first step for the community to create a plugin script implementation
> ( recognized as attribute on