[flexcoders] Contract job in Melbourne Australia

2012-05-02 Thread Guy Morton
Hi there Flexers,

If anyone on this list is interested in a short term (1 month) job on a Flex 
project let me know off-list. 

Ideally, you'd be in Melbourne Australia, but if not, a close timezone would do.

regards

Guy

Re: [flexcoders] Flex alternatives

2012-01-16 Thread Guy Morton
A thought on cross-browser hell…

If every web developer in the world today decided to drop support for IE, 
everyone would go get Chrome or Firefox. 

This would be a win-win, as they would get a better browser, and we would get a 
better development environment.

Who's with me?

Guy


On 16/01/2012, at 6:31 AM, Ron G wrote:

> 
> 
> Valdhor:
> 
> You are right about that. That is precisely why we went with Flex originally 
> (it insulated us from X-Browser issues). But, since we can't count on that 
> lasting, and even Adobe is telling developers to plan on moving to HTML5, it 
> seems like they're pushing us back into x-browser hell. 
> 
> I didn't want to go there, which is why we chose ZKoss. Yes, there is still 
> going to be HTML/JS/CSS ultimately used, but it's how much. Even Flex SWFs 
> are wrapped in HTML and JS when deployed. So, it's not that I'm against using 
> any amount of HTML/JS; it's how little can I get away with to avoid these 
> issues.
> 
> Even with HTML5 libraries, such as the much touted jQuery, is, to a large 
> degree, an insulator against x-browser issues. If you read the actual jQuery 
> code, it deals with those issues for you. 
> 
> Now, ZK has a ZK Client JS library, which includes jQuery, that is designed 
> to be a communicator mechanism between the client and the bulk of app logic 
> that resides on the server. So, your normal editing and data manipulation 
> that you might write in JS in a full blown HTML5 app is actually stored as 
> Java on the server, and executed as needed per the EDA (event driven 
> architecture). This type of JS is typically what breaks the page on different 
> browsers and versions thereof. By limiting the amount of client-side JS, as 
> does a jQuery type library, yes, you have some exposure to potential 
> x-browser issues, but not as much as a HTML5 app that does everything on the 
> client. And, when there are issues, they can be resolved in the ZK Client 
> library as a patch/fix. 
> 
> So, now it seems to me that developers have several choices. Stick with Flex 
> and you won't break the browser; you just won't be able to have your app 
> viewed by millions on iOS products. If that seems like a better solution that 
> minimal exposure to x-browser issues by using ZK or some other technology, 
> well, that's certainly a choice each company has to make.
> 
> Ron
> 
> --- In flexcoders@yahoogroups.com, "valdhor"  wrote:
> >
> > 
> > On a side note, I like the look of ZKoss. I don't know if there are cross 
> > browser issues with it seeing as we use older versions of browsers. One of 
> > the great features of Flex is we don't have to bother coding for 
> > compatibility between different browsers and versions. When IT deployed 
> > IE7, Flex applications worked just as they had before.
> > 
> > Anyway, just my 2c from the enterprise perspective.
> > 
> 
> 



Re: [flexcoders] Timed Progress bar for 2 minutes.

2012-01-10 Thread Guy Morton
The OP has said what it's doing - a firmware update. It takes 2-3 minutes. It's 
not a db transaction.


On 11/01/2012, at 4:01 AM, Paul Andrews wrote:

> On 10/01/2012 16:46, Venkat M wrote:
> 
>> My application will try to connect to a java framework, which in turn calls 
>> some scripts to execute on a server.
>> If it is a firmware update script that is called, it will typically wait for 
>> 2-3 minutes before the update on the server is complete. So I have to keep 
>> user understand that process is going on (or else, they may think the system 
>> is hanged or not responding with 2 minutes of spinning), to provide some 
>> understandably, I am thinking of static pooling a progress bar for 2-3 
>> (standard time which we know) minutes that looks more user friendly. What 
>> say?
> 
> I have never worked on a server that took two or three minutes to update. 
> Usually more than a few seconds is considered unacceptable.
> 
> Where there have been operations performed on the server that take a long 
> time, I usually have status changes informing the user what is happening. For 
> example, on one system, multiple printouts initiated by differrent users were 
> queued for printing. Each job included a processing element, so the jobhas 
> various statuses QUEUED/ACTIVE/PRINTING/PRINTED/PAUSED/CANCELLED and the user 
> had access to those statuses. I don't know if such a system would apply here, 
> or you just have a very bad database server doing incredibly slow updates.
> 
> What is your server doing?
> 
> Paul
> 
>>  
>> Cheers,
>> Venkat.
>>  
>>  
>> 
>> From: Paul Andrews 
>> To: flexcoders@yahoogroups.com 
>> Sent: Tuesday, January 10, 2012 4:13 AM
>> Subject: Re: [flexcoders] Timed Progress bar for 2 minutes.
>> 
>>  
>> On 10/01/2012 09:17, claudiu ursica wrote:
>>> Are you sure it is exactly 2 minutes?
>>> DO you really need to show progress? A spinning animation might suit you 
>>> better, keep it spinning until the load is done.
>> 
>> It would just look like the application had hung.
>> 
>> As Rick suggested, two minutes is a very long time. What is it that takes 
>> two minutes to be ready?
>> 
>> If it's a database query, I'd suggest sorting out the server, because two 
>> minutes is a ridiculous amount of time to be waiting for a result.
>> 
>> It really looks like your application has a fundamental problem.
>> 
>> Paul
>>> 
>>> C
>>> 
>>> From: Venkat M 
>>> To: "flexcoders@yahoogroups.com"  
>>> Sent: Tuesday, January 10, 2012 2:09 AM
>>> Subject: [flexcoders] Timed Progress bar for 2 minutes.
>>> 
>>>  
>>> Hi,
>>>  
>>> I have a scenario in my application.
>>>  
>>> I know that the wait time for the response is 2 minutes.
>>> Can someone let me know how we can run a progress bar for 2 minutes loading 
>>> from 0% to 100% in the same 2 minutes?
>>>  
>>> Or
>>> 
>>> 
>>>   
>>> Is there a better way to indicate the wait for 2 minutes? (This is a fixed 
>>> wait time)
>>>  
>>> Cheers,
>>> Venkat.
>>>  
>>>  
>> 
>> 
>> 
> 
> 
> 



Re: [flexcoders] You are the product

2011-12-17 Thread Guy Morton
Using HTML/JS/CSS you CAN do apps that look every bit as nice as Flash apps, 
and they run everywhere.

Yes, there are challenges. Yes, IE is still a problem, if you choose to support 
it directly (personally I like the Google Chrome Frame solution to IE), but 
libraries such as JQuery and Raphael solve a lot of problems. 

Yes, you will have to learn some new stuff. But, on the upside, you get a true 
cross-platform delivery - the ONLY one that delivers on all devices.

Guy


On 17/12/2011, at 8:36 AM, Scott Fanetti wrote:

> 
> Except for the fact that HTML 5 apps look like shit compared to flash, the 
> run like shit, they can be freely stolen by anyone - and generally they rely 
> on lots of browser and CSS hacks to be pseudo consistent. 
> 
> Html5 really sucks - its just a shame the world has decided Flash must no 
> longer be used for anything. 
> 
> Sent from my iPhone
> 
> On Dec 16, 2011, at 1:15 PM, Guy Morton  wrote:
> 
>>  
>> SVG + Javascript + Canvas ARE the equivalent to Flash in the web standards 
>> world.
>> 
>> 
>> 
>> On 17/12/2011, at 5:16 AM, Bill Brutzman wrote:
>> 
>>>  
>>> 
>>> My sense is that Adobe has realized that it close to impossible to port 
>>> Flash to the staggering proliferation of tablets, smart phones, and other 
>>> devices.
>>> 
>>>  
>>> 
>>> Does anybody expect Flash to run on a Kindle or a Nook?
>>> 
>>>  
>>> 
>>> In my little world of fantasy… I wish I knew how Flash worked… Perhaps a 
>>> standards-based Flash lite could be cranked into HTML-6.
>>> 
>>>  
>>> 
>>> --Bill
>>> 
>>>  
>>> 
>>> From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On 
>>> Behalf Of Kevin MacDonald
>>> Sent: Friday, December 16, 2011 12:50 PM
>>> To: flexcoders@yahoogroups.com
>>> Subject: Re: [flexcoders] You are the product
>>> 
>>>  
>>> 
>>>  
>>> 
>>> Good points. Thanks for responding. I'm not sure why you conflate me 
>>> knocking Adobe for a lack of willingness to learn. I code on a daily basis 
>>> in half a dozen languages for a small company struggling to reach 
>>> profitability. Our client application is one piece of that. The 'learning' 
>>> in this case is that some companies can be trusted more than others. Adobe 
>>> puts forth a consistent marketing message to software developers: "Trust 
>>> us! Follow us!", and they consistently fail to live up to that in order to 
>>> sell us the next round of developer tools. Microsoft, while clearly capable 
>>> of various brands of skulduggery, has consistently maintained a level of 
>>> loyalty to their developers, and it has succeeded famously for them. Have 
>>> you every noticed that 15 year old programs still run on Windows 7? I don't 
>>> expect that from Adobe. But the heavy sell job on AIR followed by stepping 
>>> at arms length from it irks me. 
>>> 
>>> Kevin
>>> 
>>> 
>>> 2011/12/16 Csomák Gábor 
>>> 
>>>  
>>> 
>>> technology simply changes. i met a guy who was the lead engineer of 
>>> commodore 64. do you think when he was on the top of his career, he stopped 
>>> learning? this segment changes a lot. it is a lifelong learning. get used 
>>> to it.
>>> 
>>>  
>>> 
>>> html5 is not ready. even w3c says it'll be in 2014 (as i remember). and i 
>>> think, it won't kill air. neither flash. of course it will depend on a lot 
>>> of things, but the two technologies are good in different segments. you 
>>> cannot do a prezi.com in html5, and you cannot do an entire webpage in 
>>> flash. (login remembers will not work, etc...)
>>> 
>>> the key is to know both, and know when to use what. 
>>> 
>>> On Wed, Dec 14, 2011 at 7:02 PM, Kevin MacDonald  
>>> wrote:
>>> 
>>>  
>>> 
>>> Hello developers,
>>> 
>>>  
>>> 
>>> I have come to some unfortunate conclusions about how Adobe operates. I 
>>> would be interested to get your opinions on the matter. 
>>> 
>>>  
>>> 
>>> Some years ago I helped build out a desktop application using Macromedia 
>>> Director. It ran on both Mac and Windows, and was heavily backed by web 
>>> services. In principle it was much like an Adobe AIR app might be today. 
>>> After a few years Adobe b

Re: [flexcoders] You are the product

2011-12-16 Thread Guy Morton
SVG + Javascript + Canvas ARE the equivalent to Flash in the web standards 
world.


On 17/12/2011, at 5:16 AM, Bill Brutzman wrote:

> 
> My sense is that Adobe has realized that it close to impossible to port Flash 
> to the staggering proliferation of tablets, smart phones, and other devices.
> 
>  
> 
> Does anybody expect Flash to run on a Kindle or a Nook?
> 
>  
> 
> In my little world of fantasy… I wish I knew how Flash worked… Perhaps a 
> standards-based Flash lite could be cranked into HTML-6.
> 
>  
> 
> --Bill
> 
>  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On 
> Behalf Of Kevin MacDonald
> Sent: Friday, December 16, 2011 12:50 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] You are the product
> 
>  
> 
>  
> 
> Good points. Thanks for responding. I'm not sure why you conflate me knocking 
> Adobe for a lack of willingness to learn. I code on a daily basis in half a 
> dozen languages for a small company struggling to reach profitability. Our 
> client application is one piece of that. The 'learning' in this case is that 
> some companies can be trusted more than others. Adobe puts forth a consistent 
> marketing message to software developers: "Trust us! Follow us!", and they 
> consistently fail to live up to that in order to sell us the next round of 
> developer tools. Microsoft, while clearly capable of various brands of 
> skulduggery, has consistently maintained a level of loyalty to their 
> developers, and it has succeeded famously for them. Have you every noticed 
> that 15 year old programs still run on Windows 7? I don't expect that from 
> Adobe. But the heavy sell job on AIR followed by stepping at arms length from 
> it irks me. 
> 
> Kevin
> 
> 
> 2011/12/16 Csomák Gábor 
> 
>  
> 
> technology simply changes. i met a guy who was the lead engineer of commodore 
> 64. do you think when he was on the top of his career, he stopped learning? 
> this segment changes a lot. it is a lifelong learning. get used to it.
> 
>  
> 
> html5 is not ready. even w3c says it'll be in 2014 (as i remember). and i 
> think, it won't kill air. neither flash. of course it will depend on a lot of 
> things, but the two technologies are good in different segments. you cannot 
> do a prezi.com in html5, and you cannot do an entire webpage in flash. (login 
> remembers will not work, etc...)
> 
> the key is to know both, and know when to use what. 
> 
> On Wed, Dec 14, 2011 at 7:02 PM, Kevin MacDonald  
> wrote:
> 
>  
> 
> Hello developers,
> 
>  
> 
> I have come to some unfortunate conclusions about how Adobe operates. I would 
> be interested to get your opinions on the matter. 
> 
>  
> 
> Some years ago I helped build out a desktop application using Macromedia 
> Director. It ran on both Mac and Windows, and was heavily backed by web 
> services. In principle it was much like an Adobe AIR app might be today. 
> After a few years Adobe bought Macromedia Director, with promises to the 
> developer community that they would continue to support it. They came out 
> with a few maintenance releases that were extremely buggy, enough so that we 
> tried to roll back to the previous version. However, Adobe made sure there 
> were some gotchas that made it painful to either stay on the current version 
> or roll back. Shortly thereafter they killed Director altogether. 
> 
>  
> 
> An Adobe evangelist came to our office and sold us hard on moving to Adobe 
> AIR, which we did. We completely re-wrote our application on that platform. 
> Now, several years later, Adobe is very obviously moving away from AIR and 
> towards HTML5, again with promises to their loyal developers to continue 
> supporting it. 
> 
>  
> 
> Based on their history what I expect Adobe to do is kill AIR before too long. 
> And you should have no doubts that they can make it very painful to remain on 
> that platform. For example, AIR apps use whatever version of Adobe Reader is 
> installed on the client machine. Adobe Reader updates happen independently of 
> updates to the AIR run time. The latest update to Adobe Reader broke certain 
> aspects of our client application, something that might directly hurt our 
> business. What can you do when the HTMLLoader object no longer correctly 
> displays a PDF? What I expected Adobe to do - and what the evangelist led me 
> to believe - was that Adobe would evolve AIR and Flash Builder towards HTML5 
> over time, bringing all of us along with them. But they don't do that. They 
> scorch the earth and start over.
> 
>  
> 
> So, what's next? I suppose we will hear from Adobe before too long that we 
> should run out, buy PhoneGap Builder 1.0, and once again chase their 
> code-once-deploy-everywhere carrot. 
> 
>  
> 
> We are not the customer. We are the product. We are the means by which Adobe 
> makes money for their shareholders, nothing more.  I suppose in true jaded 
> developer fashion this should come as no shock to me. But the truth is,

Re: [flexcoders] Flex and AIR on Mobile Platforms

2011-11-12 Thread Guy Morton
I think the only thing you should draw from this announcement is that Adobe has 
given up on trying to support  flash as a browser plugin on mobile devices. I 
think they have seen that a) performance is an issue they may struggle to fix 
while maintaining compatibility and b) there is market resistance to plugins on 
mobile platforms (see the Windows 8 Metro "plugin-less" IE as the final domino 
to fall there).

Flash is now in decline as a plugin technology. It will continue for a good few 
years yet, but it is trending downwards. Because its life as a plugin is 
drawing to an end, Adobe is seeking to reshape Flash as an app-building tool. 
This makes perfect sense, and if they do it well, they could manage to make an 
army of Flash/flex developers into app developers, which is not all bad.

Adobe has read the writing on the wall and is putting a lot of effort into 
re-shaping themselves as the tool provider for HTML5. Certainly there is a need 
for great tools in this area, so I hope they succeed in doing this.

Also, you might note with interest their purchase of nitobi, who make PhoneGap. 

Guy


On 13/11/2011, at 1:56 AM, e_val_soft wrote:

> I'd like to understand more about Adobe's latest annnouncement that they will 
> focus on HTML5 on mobile platforms(rather than Flash).
> 
> Obviously a kick in the head for flex/air developers targetting applications 
> that need or want a mobile client because mobile platform manufacturers will 
> drop Flash (in a flash) from their product plans.
> 
> I've seen some mixed messages - Adobe's version which is just a change in 
> focus while the industry reads it like a Flash obituary. Here are two bullets 
> from Adobe's announcement:
> --from Adobe.com
> 
> •Shifting resources to support even greater investment in HTML5, through 
> tools like Adobe® Dreamweaver, Adobe Edge and PhoneGap, recently added 
> through the acquisition of Nitobi
> 
> •Focusing Flash resources on delivering the most advanced PC web experiences, 
> including gaming and premium video, as well as mobile apps
> --
> I can almost see them sitting around the board room table debating whether to 
> stick that ", as well as mobile apps" on the end of bullet 2 just to leave 
> people like us (Flex developers I mean) confused. Pretend you're a Samsung or 
> Motorola executive planning the next release of your latest mobile device. Do 
> we spend $10 million and 40 developers integrating Flash?
> 
> Since the vast majority of new, innovative applications involve incorporation 
> or embracing of mobile clients, Flash's ubiquity, which is/was its greatest 
> selling point, is gone. I mean when Jobs took a stand to ban Flash from iOS - 
> that was a phaser blast to the holodeck, but this...this is a photon torpedo 
> to the bridge.
> 
> Am I reading this wrong, or should I be starting my new HTML5 career now? I 
> mean once flash is gone from mobile, it is gone as a general web application 
> framework so forget those desktop focused applications too, except some 
> specialized graphics oriented apps.
> 
> I think of what I'm developing now on Flex and it would be years away from 
> possible with HTML5 but maybe I should be focusing on HTML5 plus one of the 
> better JavaScript frameworks?
> 
> I'm really looking for some opinions here about what flex developers think of 
> the near term future based on this announcement. It'd be great to hear some 
> Adobe employee perspectives (probably on gag order) but anyone with some 
> insight, please do tell. I'd love to be told I'm exaggerating the consequence 
> of the announcement
> 
> 



Re: [flexcoders] Flash Player may be not creating Shared Object on Mac

2011-08-29 Thread Guy Morton
Shared objects work fine on the mac. You need to give us more details if you 
want help. 

On 29/08/2011, at 5:00 PM, jitendra jain  wrote:

> Hi Guys,
> 
>   Today I have installed Flash Builder on Mac Machine. The code doesn't work 
> .. I am using Shared Objects for storing the cookie..
>In windows it is working (same code). I changed the settings via Globel 
> Setting Panel on Adobe site. Please revert asap. Thanks for help in advance
>  
> Thanks,
> 
> with Regards,
> Jitendra Jain
> Software Engineer
> 91-9979960798
> 
> 


[flexcoders] Contract work

2010-08-19 Thread Guy Morton
Hello list

We are looking for contractors to work on our flex-based web application. 

Currently we are using FB3 and targeting FP9 but probably will move to FP10 for 
this work as we expect to need to use the vector data type to achieve the 
performance we need.

You will need to able to demonstrate advanced actionscript skills. Our app uses 
modules, so an understanding of modules and interfaces is also required.

We are based in Melbourne Australia, but if you live elsewhere that should not 
be a problem. We are an international company with offices in the US and 
Europe. You will be able to work remotely.

Please reply off-list, with details of your skills and experience, and desired 
hourly/daily/weekly rate & currency.

Thanks

Guy

Re: [flexcoders] Why isn't fB4 smart enough to generate it's templates

2010-05-22 Thread Guy Morton

On 22/05/2010, at 11:05 PM, Patrick wrote:

> Drives me nuts, i create a new project, usually in Actionscript, and the 
> software won't create my .html file correctly.
> 
> The most annoying problem in the world.
> 

That's a pretty big call there Patrick... :-)

Guy




Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-04 Thread Guy Morton
I agree that's a risk and would prefer to see some clear direction as to how 
patents covering h.264 will be enforced in the future.

Flash decodes h.264 video so it will still get swept up in the same issues as 
HTML5 will, should those issues arise, so I don't see how Flash is the answer 
to this problem.


On 05/05/2010, at 8:43 AM, Baz wrote:

> The best part is that HTML5 video is going to be based on H.264 - which is 
> not only a proprietary codec, BUT COSTS MONEY! At least flash is free. Here's 
> an excerpt of what happened with gif:
> 
> 
> The web in 1999 was a lot smaller than it is today, so a lot of people don’t 
> remember what happened back when Unisys decided to start to enforce their 
> GIF-related patents. GIF was already widely used on the web as a fundamental 
> web technology. Much like the codecs we’re talking about today it wasn’t in 
> any particular spec but thanks to network effects it was in use basically 
> everywhere.
> 
> Unisys was asking some web site owners $5,000-$7,500 to able to use GIFs on 
> their sites. Note that these patents expired about five years ago, so this 
> isn’t an issue today, but it’s still instructive. It’s scary to think of a 
> world where you would have to fork up $5000 just to be able to use images on 
> a web site. Think about all of the opportunity, the weblogs, the search 
> engines (even Google!) and all the other the simple ideas that became major 
> services that would never have been started because of a huge tax being put 
> on being able to use afundamental web technology. It makes the web as a 
> democratic technology distinctly un-democratic.
> 
> from 
> (http://www.0xdeadbeef.com/weblog/2010/01/html5-video-and-h-264-what-history-tells-us-and-why-were-standing-with-the-web/)
> 
> 



Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-04 Thread Guy Morton
I love how people with little or no actual experience of the Mac platform 
apparently know what it can and can't do.

I'm writing this on a an iMac that's running Mac OSX and Windows XP at the same 
time. Can your PC do that? That was a rhetorical question, by the way.

If you don't see any benefits to open standards then you're just not interested 
in looking, in which case there is no point in talking about them to you.

And yes, good apps and a 2Mb runtime, no problem, I'm sure there will continue 
to be a market for them. 


On 05/05/2010, at 6:57 AM, Clark Stevenson wrote:

> 
> I just dont care.
> 
> I have never went out my way to support Mac, ever. I think i made a mac 
> screensaver once. Sorry guys im just not interested in it. Lets buy an apple 
> which doesnt run anything versus a pc which does everything you throw at it.
> 
> No thanks. 
> 
> If iplatform wont support flash, then who really cares? We never have been 
> able to so whats the problem? Do people think you would be building a house 
> of gold bars just because you make some pod/pad/phone apps?
> 
> Have you even see the app store? 96% of it is total garbage. Even if you 
> could make a flash app, its almost "invisible" in a sea of garbage. As keith 
> peters once commented "its like winning the lottery to get it right".
> 
> Leave him to it. When HTML5 has 3d libraries and physics engines then ill 
> consider the move, right now its not about technology. People will always 
> download the flash runtime because it has a healthy community and its not a 
> burden for the user. People are used to it.
> 
> If you make a good app, people will embrace the platform it runs on. A 2+mb 
> player or whatever isnt going to burden anyone in 2020. Its so far off that 
> its comical.
> 
> 
> 
> 
> On 4 May 2010 17:42, Wally Kolcz  wrote:
>  
> I am failing to see what the issue is on having a proprietary player is 
> anyways. If the company is as devoted to making it better (as adobe 
> seems to be with the whole flash platform experience) what is the issue? 
> Most companies I know that product web/software products are closed and 
> proprietary. Ever seen the inner workings of MS Word or iPhoto? I am 
> all about committee standard projects and open source projects. Keeps my 
> budget down, but I am also just as ok with a company that makes a 
> product that I enjoy both as a developer and as a user. (Insert Kool-Aid 
> joke here).
> 
> Also can't help but giggle when Steve talks about openness. This coming 
> from the company that produces a phone where you can't even replace the 
> battery or screen. Also, wasn't he the guy who tried to sue people for 
> installing Mac OS on non Mac machines? Also, don't bitch about plugins 
> when your Quicktime is a plug in too...
> 
> If Steve Jobs doesn't want Flash Player on the iWhatever, so be it. 
> Stick to your guns and call it a life. Stop beating it publicly. I am 
> bored with it. Plenty of other Phones out there that will support it. 
> Trick is to make them better and the mobile experience better so the 
> iWhatever falls short. That is on us, the developers and designers of 
> Flash media, to do.
> 
> Committee standards are fine and there are a lot of things in the web 
> universe that are governed by committee. BUT having some things are just 
> fine when controlled by a company dedicated to improving and refining 
> the product. Seems ever since Steve Jobs opened his iMouth there is a 
> negative vibe about Abode solely owning a product thats its done a 
> pretty good job at improving. Keep it closed, keep it proprietary, and 
> keep it coming. (Even though they are opening a lot of it up).
> 
> With our without the iWhatever support, Flash will continue along side 
> of HTML5. I am still keen on Flash Player since I don't have to worry 
> about if the browser supports JS or not. My stuff always renders the 
> same as long as the plugin is there.
> 
> Jingle...jingle...there is my 2 cents (which worth about half of that)
> 
> 
> 
> 



Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-04 Thread Guy Morton
It's PUBLISHED. That's not the same as OPEN. 

Open formats, like SVG, are generally developed by a standards organisation, 
with input from any interested parties. Open formats, by definition, can be 
used without restriction by anyone.

Proprietary formats, like Flash, are defined and controlled by private 
organisations, like Adobe. They may publish their format spec to encourage use 
of it, but they don't hand over control of it to a standards organisation. 

So Flash is a published, but proprietary, format. HTML and SVG, are open 
formats.

Guy


On 04/05/2010, at 11:31 PM, Jeffry Houser wrote:

> 
> This is actually wrong. the SWF format is open and documented for all to use 
> ( http://www.adobe.com/devnet/swf/ ). Are you aware of any restrictions 
> placed upon use of the specification that do not make it open? 
> 
> Adobe's Flash Player, on the other hand, is very proprietary. 
> 
> --- In flexcoders@yahoogroups.com, Guy Morton  wrote:
> >
> > On 04/05/2010, at 9:39 AM, Oleg Sivokon wrote:
> > > SWF is not a proprietary format,
> > 
> > Yes. It. Is.
> 
> 



Re: [flexcoders] RE: Re: Thoughts on Flash by Steve Jobs

2010-05-04 Thread Guy Morton
On 04/05/2010, at 9:39 AM, Oleg Sivokon wrote:
> 
> That's again a newspaper trick, it may from the first sight seem like you are 
> making a point, however... You say that HTML5 is a good perspective, I say 
> it's a step back, you may not agree, but your personal belief doesn't make it 
> a fact, it is still a hypothesis, not an axiom.

It's neither. It's an opinion. And a step back from what? Flash? Who's saying 
HTML5 is more "advanced" or "capable" than Flash? I really don't think you've 
read (or understood) my post at all. 

> Did you really have to do anything in SVG? I mean not using the format, but, 
> say, making an editor for it - I think not. Because if you would, you'd know 
> how weirdly it is designed... well, it's not a good technology, no matter it 
> is free...

Ok, you should explain where you're coming from here, because again, it sounds 
like you have no idea what you are talking about. SVG is supported by every 
modern browser on the planet - even IE9. I wouldn't expect that level of 
support if the format were flawed. 

Perhaps you should communicate your understanding of the problems to the SVG 
working group...

> Besides, SWF is absolutely equally open if speaking about graphics.

That is total nonsense.

> SWF is not a proprietary format,

Yes. It. Is.

> there are many commercial and non-commercial tools (Maya, CorelXara, Swish, 
> Sothik, HaXe, SWFTools and so on) capable of generating / editing it.

Red herrings...

> You don't need any license of any kind to make your own SWF editor.

Ok, and...?

> What is proprietary is the AS3 extension to the ECMAScript language + several 
> video codecs + MP3 (the later, of course not in exclusive ownership of Adobe).

The whole format is proprietary. Published != Open.

> And what you are saying is, technically - whatever comes or whatever pays 
> more, regardless of consequences, you are on that wagon...

You have completely missed the whole point of just about everything I've said 
to date.

> well, I cannot disagree to this being a probably the best way to go about 
> almost everything in life, web technology being a marginal case. :)

And now I have no idea what you're talking about.

Sorry.

Guy
> 



Re: [flexcoders] RE: Re: Thoughts on Flash by Steve Jobs

2010-05-04 Thread Guy Morton
I've done the html, css, js thing too - started developing for the web in 1994, 
so I've been around the block once or twice too.

If you know everything about web technologies, past, present and future perhaps 
you should be heading up Apple. :-)

And before you issue silly challenges to people you should try reading what 
they say in their posts, and try replying to what they are saying not what you 
*imagine* they're saying... 

Guy


On 04/05/2010, at 11:40 AM, dorkie dork from dorktown wrote:

> Guy,
> 
> There is no way in hell I'm going to write an application in HTML5 and 
> Javascript. With Flash I can compile my code to a single swf. I've done the 
> HTML, JS, CSS thing dude. I've done both and there is no benefit to letting 
> everyone in the world see my code (no exaggerating here) or creating 
> prototype libraries in Javascript. 
> 
> Also, with Flash Builder I have nice debugging tools, a nice framework and 
> complimentary design and animation tools that integrate with it. 
> 
> You can have your HTML5. 
> 
> And any day of the week I'll accept a challenge to create an application. You 
> use HTML5 and I'll use Flex. ;)
> 
> Cheers
> 
> 
> 
> On Mon, May 3, 2010 at 5:17 PM, Guy Morton  wrote:
>  
> Adobe is a ruthless competitor too; let's not forget that they shafted SVG as 
> soon as they bought Flash.
> 
> 
> Personally, I find that harder to forgive, because it was about entrenching a 
> commercial advantage based on proprietary technology owned by Adobe and 
> blowing off a growing standard that competed with it.
> 
> Apple is doing the reverse - blowing off a proprietary tech in favour of a 
> growing standard. Ultimately that's much better for the web ecosystem.
> 
> And honestly, all the whining about this on this list is pathetically 
> self-serving. We all have to adapt, all the time. That's what keeps this 
> business interesting.
> 
> I'll continue to develop in Flex for many years to come, I'm sure, but I'm 
> also getting across what I can do without it and using the growing 
> capabilities of modern web browsers. We all have the personal choice whether 
> to adapt or not. 
> 
> Develop Flash for Android if you think Steve's a jerk. I'm sure no-one at 
> Apple will care, for the moment at least. If Android becomes bigger than 
> iPhone *because of Flash support*, then they might re-think. :-)
> 
> Guy
> 
> 
> On 03/05/2010, at 11:17 PM, Battershall, Jeff wrote:
> 
>>  
>> 
>> Let’s not get carried away here – no way is Apple going to stop supporting 
>> Flash on the Mac. That’s one of those “sky is falling’ rumors that always 
>> start up when something like this happens.
>> 
>>  
>> The recent events are concerning as they potentially affect our mutual 
>> livelihoods, but really, there’s so much business out there it doesn’t 
>> matter.  Personally, I think Jobs comes off has being biased and 
>> self-serving in his letter and clearly his ‘facts’ are skewed or outright 
>> wrong.  He’s like, “Adobe thinks they’re going to play in my sandbox? Think 
>> again”. He’s a ruthless competitor, you give him that, but he’s also a jerk, 
>> if we hadn’t figured that out already.
>> 
>>  
>> Jobs is really digging his status as an opinion leader in the industry but 
>> when he starts to outright attack another company’s business model, work 
>> ethic and so forth, he’s stepped over the line, and typically such tactics 
>> backfire.
>> 
>>  
>> Jeff
>> 
>> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
>> Behalf Of Mark A. DeMichele
>> Sent: Monday, May 03, 2010 8:27 AM
>> To: flexcoders@yahoogroups.com
>> Subject: [flexcoders] Re: Thoughts on Flash by Steve Jobs
>> 
>>  
>> 
>> 
>> 
>> 
>> Everybody is talking about “learning”  another language.  That’s the easy 
>> part.  It’s porting an entire application that has several 100,000 lines of 
>> code.  That’s that hard part.  Someone mentioned losing flash support on all 
>> Macs.  Is that true?  I hope not.  I have over a million users using my 
>> flash app and about 25% of them have macs.  That would be bad.
>> 
>> 
>> 
>> 
>> 
> 
> 
> 
> 



Re: [flexcoders] RE: Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Guy Morton
Adobe is a ruthless competitor too; let's not forget that they shafted SVG as 
soon as they bought Flash.

Personally, I find that harder to forgive, because it was about entrenching a 
commercial advantage based on proprietary technology owned by Adobe and blowing 
off a growing standard that competed with it.

Apple is doing the reverse - blowing off a proprietary tech in favour of a 
growing standard. Ultimately that's much better for the web ecosystem.

And honestly, all the whining about this on this list is pathetically 
self-serving. We all have to adapt, all the time. That's what keeps this 
business interesting.

I'll continue to develop in Flex for many years to come, I'm sure, but I'm also 
getting across what I can do without it and using the growing capabilities of 
modern web browsers. We all have the personal choice whether to adapt or not. 

Develop Flash for Android if you think Steve's a jerk. I'm sure no-one at Apple 
will care, for the moment at least. If Android becomes bigger than iPhone 
*because of Flash support*, then they might re-think. :-)

Guy


On 03/05/2010, at 11:17 PM, Battershall, Jeff wrote:

> 
> Let’s not get carried away here – no way is Apple going to stop supporting 
> Flash on the Mac. That’s one of those “sky is falling’ rumors that always 
> start up when something like this happens.
> 
>  
> 
> The recent events are concerning as they potentially affect our mutual 
> livelihoods, but really, there’s so much business out there it doesn’t 
> matter.  Personally, I think Jobs comes off has being biased and self-serving 
> in his letter and clearly his ‘facts’ are skewed or outright wrong.  He’s 
> like, “Adobe thinks they’re going to play in my sandbox? Think again”. He’s a 
> ruthless competitor, you give him that, but he’s also a jerk, if we hadn’t 
> figured that out already.
> 
>  
> 
> Jobs is really digging his status as an opinion leader in the industry but 
> when he starts to outright attack another company’s business model, work 
> ethic and so forth, he’s stepped over the line, and typically such tactics 
> backfire.
> 
>  
> 
> Jeff
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of Mark A. DeMichele
> Sent: Monday, May 03, 2010 8:27 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Thoughts on Flash by Steve Jobs
> 
>  
> 
> 
> 
> 
> 
> Everybody is talking about “learning”  another language.  That’s the easy 
> part.  It’s porting an entire application that has several 100,000 lines of 
> code.  That’s that hard part.  Someone mentioned losing flash support on all 
> Macs.  Is that true?  I hope not.  I have over a million users using my flash 
> app and about 25% of them have macs.  That would be bad.
> 
> 
> 
> 
> 
> 



Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Guy Morton
I think you meant "ludicrous"...

lubricious |loōˈbri sh əs| (also lubricous |ˈloōbrikəs|)
adjective
1 offensively displaying or intended to arouse sexual desire.
2 smooth and slippery with oil or a similar substance.

:-)


On 04/05/2010, at 1:04 AM, Jeffry Houser wrote:

> First time I explicitly that Apple would prevent Flash from being installed 
> on Macs. 
> 
> The specific rumor I heard was that the next version of OSX would move to an 
> App store model similar to their devices. It sounds so lubricious I can't 
> imagine it being true. 
> 
> --- In flexcoders@yahoogroups.com, "Battershall, Jeff"  
> wrote:
> >
> > Let's not get carried away here - no way is Apple going to stop supporting 
> > Flash on the Mac. That's one of those "sky is falling' rumors that always 
> > start up when something like this happens.
> 
> 



Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Guy Morton
Where does it say that Apple is dropping support for plugins like Flash on Mac 
OSX?

I can't see that happening. I can't even imagine how they'd do it if they 
wanted to.

Guy


On 03/05/2010, at 10:00 AM, Laurence wrote:

> 
> 
> --- In flexcoders@yahoogroups.com, Guy Morton  wrote:
> >
> > Jeez...it's *three* devices, and you *do* have a choice...
> 
> It's gonna be a hell of a lot more than just 3 portable devices, when Jobs 
> removes Flash from OSX. That's every Mac in the world. There are a LOT of 
> Macs out there...
> 
> The whole reason I chose to learn Flex is that it (at the time) ran on every 
> available platform. It was THE cross-platform language to learn.
> 
> > 
> > You're annoyed because you're being shut out of a market you want to be in, 
> > but your arguments as to why you should be allowed into that market are 
> > specious. 
> 
> My arguments are not specious -- I *was* a part of that market at one time. 
> I'm being shut out of a market through NO FAULT OF MY OWN. Every Apple 
> product in the world will soon have zero support for Flash -- that's NOT what 
> I signed up for when I learned Flex. The MAIN REASON I learned Flex was for 
> its cross-platform capabilites. I never had to worry about what system my 
> programs were running on. Now Apple is gone from that equation -- ergo 25% of 
> my customers just disappeared, unless I can get them all to buy PCs. Thanks, 
> Steve!
> 
> > 
> > If you buy an iPod/Pad/Phone, you buy it as is, knowing what it can and 
> > can't do. It can't do Flash. If you don't like that, don't buy the device, 
> > it's really very simple. If you want to hack it to make it capable of 
> > running Flash, then sure, go ahead, no-one is going to sue you. You might 
> > not be able to claim on your warranty or update the OS once you do that 
> > but, yes, it's your choice if you want to go that way. Most people don't 
> > because most people can actually live without Flash, believe it or not.
> 
> I agree with you here -- knowing in advance that it doesn't run Flash is a 
> good thing, and people can then make a choice accordingly. It just really 
> angers me if I were to own a device and some entity somewhere tells me I 
> cannot run my own software on it. I would be ranting against MS or Linux just 
> as angrily, if they were to suddenly come out and say I couldn't run a 
> particular piece of software just because they "don't like it anymore." (And, 
> yes I read that article where MS says that HTML5 is the 'future of the 
> internet.' They said nothing about removing Flash support from Microsoft 
> Windows in that article. Steve Jobs IS going to remove Flash from all Apple 
> products everywhere -- THAT'S my problem with this!)
> 
> > 
> > If you want to develop for the iP*, then learn objective C or use 
> > HTML5/Javascript. If you don't then don't. Again, it's a simple choice you 
> > can make.
> 
> It's NOT a simple choice -- learning a whole other programming language is 
> not a simple task. Before old Steve-o came out against Flash, I could write 
> one program that would work on Windows, Linux, and Mac. Now Mac is gone from 
> that equation -- thanks to some facist prick who thinks he knows everything 
> that everyone else should do.
> 
> > Technologies change, sometimes their fortunes rise and sometimes they fall. 
> > Flash has been the undisputed winner in the RIA wars up till now. Jobs is 
> > betting the future of the iP* platform on HTML5. Maybe he's wrong about it, 
> > but maybe he isn't. Time will tell.
> 
> Yes, technologies do change -- but it should be the free market that 
> determines which technologies survive and which don't, not some ivory-tower 
> egghead who determines by fiat what's best for everyone. THAT'S why I called 
> Steve Jobs a bastard. Perhaps I should've said elitist bastard to make it 
> clearer.
> 
> I truly DESPISE it when ONE person has the power to mess up things in my 
> life. If everyone decided ON THEIR OWN to stop using Adobe Flash, that would 
> be a completely different story -- the majority would have spoken, and I 
> could more easily accept the outcome. But Jobs is simply deciding that he 
> knows best, and we're going to all follow him because he's so damn smart. 
> THAT is not the free market!
> 
> 



Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-02 Thread Guy Morton
Jeez...it's *three* devices, and you *do* have a choice...

You're annoyed because you're being shut out of a market you want to be in, but 
your arguments as to why you should be allowed into that market are specious. 

If you buy an iPod/Pad/Phone, you buy it as is, knowing what it can and can't 
do. It can't do Flash. If you don't like that, don't buy the device, it's 
really very simple. If you want to hack it to make it capable of running Flash, 
then sure, go ahead, no-one is going to sue you. You might not be able to claim 
on your warranty or update the OS once you do that but, yes, it's your choice 
if you want to go that way. Most people don't because most people can actually 
live without Flash, believe it or not.

If you want to develop for the iP*, then learn objective C or use 
HTML5/Javascript. If you don't then don't. Again, it's a simple choice you can 
make.

Technologies change, sometimes their fortunes rise and sometimes they fall. 
Flash has been the undisputed winner in the RIA wars up till now. Jobs is 
betting the future of the iP* platform on HTML5. Maybe he's wrong about it, but 
maybe he isn't. Time will tell.

Guy



On 03/05/2010, at 8:22 AM, Laurence wrote:

> 
> 
> --- In flexcoders@yahoogroups.com, "Amy"  wrote:
> >
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "mitek17"  wrote:
> > >
> > > 
> > > 
> > > --- In flexcoders@yahoogroups.com, "Seth Caldwell"  wrote:
> > > >
> > > > Steve is employing several tactics used by politicians. The iphone is 
> > > > not
> > > > "open". 
> > > 
> > > iPhone is a device, not a technology. Technology should be open, device & 
> > > software could be proprietary. Steve stresses it particularly, please 
> > > read Job's message more throroughly. 
> > > 
> > > 
> > > I hope that the pressure from Jobs will finally make Adobe get cracking.
> > 
> > Get cracking at what? Steve Jobs is on record as saying that no matter what 
> > Adobe does with the player, the iPhone and iTampon won't support it.
> > 
> > -Amy
> 
> Frankly, I figured all this flap over Flash was because they wanted to try to 
> force Adobe to make Flash-player open-source... And now you're saying that 
> even if Adobe does that, they still won't allow Flash on their devices? 
> That's stupid and stubborn of Jobs...
> 
> And besides, if I own a device (I don't own any Apple devices, but if I did) 
> I should be allowed to run whatever software I want to on it. It's MY device, 
> not his. I own it, not him -- if he wants to give me one, and pay the monthly 
> service for it, then he can tell me what I can run on it. Only then. 
> Basically what Jobs is doing is screwing himself out of any potential 
> business that I would ever give him. (For the project I'm working on now, we 
> had plans to purchase about 50 iPads to use on-site. That's not gonna happen 
> now... Glad doin' business with you, Steve -- we'll be buying Google or Dell 
> tablets when they are available.)
> 
> And it also pisses me off that everyone talks about video on Flash, as if 
> that's the only thing it does. Jobs is singlehandedly ruining OUR jobs as 
> Flex developers. That's really what it boils down to -- he's trying to put us 
> out of business. We already can't write apps for Apple's portable devices -- 
> and when he cuts off Flash support in OSX, there goes every Mac in the world. 
> Thanks for ruining my job, Steve. Bastard.
> 
> Laurence MacNeill
> Mableton, Georgia, USA
> 
> 



Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-04-30 Thread Guy Morton
On 01/05/2010, at 1:54 PM, Amy wrote:
> It may be low, but there's a certain amount of logic to it, considering when 
> Steve Jobs was out, he was given a liver transplant. In ancient times, the 
> liver was considered to be the seat of anger. MPO is that there's been a lot 
> of angry behavior coming out of Apple lately, and not just aimed at Adobe.
> 
I'd say the anger has almost uniformly been directed *at* Apple (and Jobs). 
Re-read his articlethere are no angry words there. 

People who don't like Apple tend to see everything Apple does as an attack on 
them and their choices, but it's like the egocentric person who thinks 
everything is about them - Apple can be acting in their own interests and not 
in yours *without* wishing *you* harm. 

I don't see Apple lining people up and forcing them to buy iPods, iPads, 
iPhones or iMacs, so, y'know, people can and will vote with their feet if Apple 
does stuff they don't like. For me, not supporting Flash on iP*s doesn't 
outweigh the other good things about the platform and devices, and I like the 
new emphasis on supporting web standards.

Guy

Re: [flexcoders] Thoughts on Flash by Steve Jobs

2010-04-30 Thread Guy Morton
I think you are blurring the boundaries between networked applications and web 
applications.

Web applications run in a web browser and ideally use web standards to make 
their content 100% interoperable on different devices and platforms. That's a 
foundational idea of the web, after all.

Networked applications can be written for any device or platform you want to 
support, and can use whatever protocol they like to communicate over the 
network.

Flash/AIR will continue to be a good way to develop applications that can run 
on multiple platforms and devices but the fact that they are delivered through 
a web browser has always been a bit of a hack, insofar as Flash provided 
functionality that web browsers lacked and so was used to add missing features 
but that it also deviated from what the web is supposed to be about. They 
really are more like networked applications that happen to be wrapped in html, 
than web applications.

I see this debate as a healthy one about re-establishing what the web needs to 
be able to do, and the benefits of standards.

I also think it's worth re-evaluating the tools we use and the outcomes we want 
and how best to get there. 

There are many web apps out there today that use modern web technologies to do 
things that you used to need Flash for. That's a good thing as it leads to 
better interoperable on different devices and platforms. That doesn't mean 
there isn't a place for different technologies, like Flash, to deliver other 
types of applications on specific platforms or devices, but we should certainly 
start to reevaluate whether Flash really == Web Applications.

Guy


On 01/05/2010, at 12:38 PM, Oleg Sivokon wrote:

> 
> Guy Morton
> 
> Oh, I haven't seen your previous reply. Sorry.
> AS3 and h.246 codec support were available in 2005... just so you know.
> Also, there's a free version of Visual Studio (which I like and use a lot, 
> and the same way you can say that MS development tools are free), however, 
> this wasn't my point - Apple profits from selling their OS / software - the 
> more developers see it profitable to develop against their API, the more it 
> will pay back to Apple because it will escalate like this: you need software 
> - you need the OS to run it, you get the OS, you find out there's more 
> software you want and so on. This is good for Apple, but is bad for me 
> personally - I don't like their technology (I'm a long time Mac user, but 
> long time ago - I've used to work on G3-G4 computers). What their success 
> will mean for me is that I would rather have to adapt to the language that I 
> don't like, or I will have less job opportunities in the language I do like. 
> For my manager that would mean that if the company wants to support multiple 
> platforms they would need to hire more personal, buy more software (btw, 
> since when Mac OS became a freeware?). Apple doesn't care about that (not 
> that others care a lot, but that's not the point).
> 
> Why do I think that HTML and JavaScript are dead for web application (if your 
> mail doesn't support HTML formating, web application is in 
> ). This is because it is:
> - compiled in browser (nothing you can do with it, the JavaScript not 
> compiled in browser is ActionScript, well, at least the version implemented 
> by Mozilla).
> - inefficient rendering model. It is not because of the implementation, it is 
> engraved in the design, HTML / SVG are bad for describing graphics, HTML is 
> for text. Using HTML to make graphic content is similar to making typography 
> in MSWord, or book illustration in Excell (  
> http://www.youtube.com/watch?v=4YG_WWZYqUs ) I find it awesome btw :)
> - Absolutely no tools for basic optimizations, everything in the language is 
> reflection -> zillions of loops where you could use references or pointers... 
> JavaScript performs many orders of magnitude worse than native code, and it 
> is not only because of how it is implemented, it is the "feature" of the 
> language, it can never work even close to what your computer may do.
> 
> The side effects, which are not inherent to the technology, but also 
> associated with it are these: most of the JavaScript code I've seen so far is 
> a very low grade code, be it JQuery, Prototype and so on - it's lame... :) It 
> looks even worse then other mature now languages looked like back in 90-s...
> 90% of all HTML pages found on the web don't validate in the free validators 
> provided by Mozilla and W3C. They are bad software!
> All current browsers except FireFox are running JavaScript 1.5 (or somewhat 
> compatible JScript 5.5) version - do you know when this standard was 
> established? It is even funny to think about those tools as real programming 
>

[flexcoders] MS - "The future of the web is HTML 5"

2010-04-30 Thread Guy Morton
http://www.engadget.com/2010/04/30/microsoft-weighs-in-the-future-of-the-web-is-html5/

and

http://blogs.msdn.com/ie/archive/2010/04/29/html5-video.aspx


So, I wonder if the Steve/Apple bashing will now move on to MS-bashing? I'm 
guessing not...

Reposted here for posterity, from 
http://www.engadget.com/2010/04/30/microsoft-weighs-in-the-future-of-the-web-is-html5/:

"Where Steve Jobs leads, Microsoft follows -- how's that for shaking up the 
hornet's nest? It's said in jest, of course, but we've just come across a post 
from the General Manager for Internet Explorer, Dean Hachamovitch, and the 
perspective expressed by him on the subject of web content delivery broadly 
agrees with the essay penned by Jobs yesterday on the very same subject. 
Echoing the Apple CEO's words, Hachamovitch describes HTML5 as "the future of 
the web," praising it for allowing content to be played without the need for 
plug-ins and with native hardware acceleration (in both Windows 7 and Mac OS 
X). He goes on to identify H.264 as the best video codec for the job -- so much 
so that it'll be the only one supported in IE9's HTML5 implementation -- before 
turning to the dreaded subject of Flash. 

This is where it gets good, because he literally repeats one of Jobs' six 
pillars of Flash hate: "reliability, security, and performance" are not as good 
as Microsoft would like them. Where Hachamovitch diverges from Apple's messiah, 
however, is in describing Flash as an important part of "a good consumer 
experience on today's web," primarily because it's difficult for the typical 
consumer to access Flash-free content. Still, it's got to be depressing for 
Adobe's crew when the best thing either of the two biggest players in tech has 
to say about your wares is that they're ubiquitous. Wonder how Shantanu Narayen 
is gonna try and spin this one.

P.S. : it's notable that in multiple paragraphs of discussing "the future," 
Microsoft's IE general fails to once mention the fabled Silverlight, itself a 
rich media browser plug-in. Given Silverlight's featured role in the Windows 
Phone 7 infrastructure and other things like Netflix, we doubt it's on the 
outs, but there are sure to be some sour faces greeting Hachamovitch this 
morning."


And from http://blogs.msdn.com/ie/archive/2010/04/29/html5-video.aspx

"There’s been a lot of posting about video and video formats on the web 
recently. This is a good opportunity to talk about Microsoft’s point of view.

The future of the web is HTML5. Microsoft is deeply engaged in the HTML5 
process with the W3C. HTML5 will be very important in advancing rich, 
interactive web applications and site design. The HTML5 specification describes 
video support without specifying a particular video format. We think H.264 is 
an excellent format. In its HTML5 support, IE9 will support playback of H.264 
video only.

H.264 is an industry standard, with broad and strong hardware support. Because 
of this standardization, you can easily take what you record on a typical 
consumer video camera, put it on the web, and have it play in a web browser on 
any operating system or device with H.264 support (e.g. a PC with Windows 7). 
Recently, we publicly showed IE9 playing H.264-encoded video from YouTube.  You 
can read about the benefits of hardware acceleration here, or see an example of 
the benefits at the 26:35 mark here. For all these reasons, we’re focusing our 
HTML5 video support on H.264.

Other codecs often come up in these discussions. The distinction between the 
availability of source code and the ownership of the intellectual property in 
that available source code is critical. Today, intellectual property rights for 
H.264 are broadly available through a well-defined program managed by MPEG LA.  
 The rights to other codecs are often less clear, as has been described in the 
press.  Of course, developers can rely on the H.264 codec and hardware 
acceleration support of the underlying operating system, like Windows 7, 
without paying any additional royalty.

Today, video on the web is predominantly Flash-based. While video may be 
available in other formats, the ease of accessing video using just a browser on 
a particular website without using Flash is a challenge for typical consumers. 
Flash does have some issues, particularly around reliability, security, and 
performance. We work closely with engineers at Adobe, sharing information about 
the issues we know of in ongoing technical discussions. Despite these issues, 
Flash remains an important part of delivering a good consumer experience on 
today’s web.

Dean Hachamovitch
General Manager, Internet Explorer"



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups

Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-04-30 Thread Guy Morton

On 01/05/2010, at 11:37 AM, Oleg Sivokon wrote:

> 
> Guy Morton.
> 
> I've said that before, he is not wrong, he's just serving the facts in a way 
> that will most likely give you a wrong impression.
> He never says that h.264 codec is proprietary, but after reading what he says 
> you may think it is.

I disagree with your reading of his post. He says nothing to indicate that 
h.264 is even SLIGHTLY proprietary.

> It may also create a wrong impression, when he says that flash had recently 
> learned to play those videos using h/w rendering. The technology was released 
> about 6 years ago, but if you compare that to dinosaurs, than it may in fact 
> sound like very recently :) Well, if you know the context, then it doesn't 
> look that bad, but the less savvy people will understand it very differently.

He is pretty clearly speaking from the point of view of Flash's support of 
Apple's platforms.

> Oh, one more thing regarding the openness of the platform. On my Linux 
> installation I have HaXe and SWFTools compilers, GNash player (I have Adobe's 
> player too, but I'm testing against both players) and I do the coding in AXDT 
> and VIM with AS language coloring - none of these tools has anything to do 
> with Adobe, and all of them are OSS of different kinds. So, his statement 
> about flash being proprietary is not correct, however, you may put many 
> different meanings in that word, so, it may happen that some of those 
> meanings would not be false...

No, they're not. Flash is a proprietary *technology*. Only Adobe can say where 
it's heading, and how. There are open-source *tools* for making it, that's all.

> He also doesn't mention that what and how Apple had implemented in HTML5 is 
> not a standard, because HTML5 isn't a standard. It is about to became 
> standard in 2 years from now. You may call that "pushing technology forward", 
> but, then you would have to agree to call ActiveX a standard and a technology 
> break-through...
> Is that called "baked facts" in proper English? :)

If you've been around long enough to know how these things work you will see 
that they usually get a groundswell of support for elements of the proposal 
being built into browsers and used long before the w3c completes it's work. 
However, knowing what is proposed for the standard certainly helps to get all 
browsers aligned in terms of behaviour and capabilities, and the groundswell of 
support for various things is usually pretty obvious and reflects the demand 
for those features from developers and users.

ActiveX was always a bad idea as it could never be ported to platforms other 
than Windows. The web is about interoperability, something it took MS a long 
time to figure out.

Guy


> 
> 



Re: [flexcoders] Thoughts on Flash by Steve Jobs

2010-04-30 Thread Guy Morton

On 30/04/2010, at 7:50 AM, Seth Caldwell wrote:

> 
> Steve is employing several tactics used by politicians. The iphone is not 
> “open”. Their app store is a money making machine and they guard it fiercely. 
> If their web browser was able to deliver flash content, there would be no 
> need to deliver apps as you could just have a set of bookmarks of flash apps.
> 
If that was the reason why not allow Flash apps to be created using Adobe's 
iPhone packager?

Everyone's got a conspiracy theory, but I don't see too many people actually 
thinking through and rationally evaluating the arguments that Jobs has made. 
Conspiracy theories are easier and more fun I guess.

> How much money have they made off silly little animated games selling for 
> $1.99 that were developed YEARS ago in flash that had to be redeveloped for 
> their platform? And they have control over approving what apps are allowed.
> 
So?

How much money have Flash developers made from making silly little games that 
were developed YEARS ago in C or assembler that had to be redeveloped in 
Actionscript?
> He says that apple gave adobe some  support to make a flash player for the 
> mac… if that is the case perhaps those engineers purposely made it buggy on 
> their platform so people wouldn’t want to use flash? It’s no coincidence that 
> they are driving the “html 5” standard to fit within their own codebase, 
> which gives their developers a lead since they are the ones writing the code 
> that interprets/renders that content and others will have to do the slower 
> reverse-engineering which puts their platforms behind in the race. Every inch 
> counts.
> 
Rubbish. Every major modern browser is implementing HTML 5. HTML 5 support is 
well under way in Opera and Mozilla, and Google Chrome (the best browser for 
Windows) uses the WebKit engine. The only holdout on standards adoption has 
been Microsoft and even they are now getting on board.
 
>  Personally, I’m switching from my iphone to nexus… html 5 does not have 
> anywhere near the level of development tools that flash does… when my phone 
> can run an air app I will be a very happy camper indeed. I would bet all the 
> money in my bank account that we will have flash on a phone this year, so 
> just hold tight.
> 
Sure, but so what? You'll have html 5 on that phone too, probably. I don't 
think that proves anything.

> Don’t drink Steve’s koolaid guys… he’s declared war and the tactics he’s 
> using, the insults he’s throwing about adobe not being “open” and so on… they 
> are just plain immature.
> 
The standard of argument against his posting that I've seen on this list is 
MUCH lower.

Not being open is not an insult, and it's a fact. 

I think you should carefully re-read his arguments so you understand them.

It's not koolaid, it's a pina-colada, and he's making it plain you can take it 
or leave it.

> When the iphone first came out I loved it. I put an apple sticker on my 
> motorcycle helmet after having been a PC guy my entire life. But now.. now 
> I’m tearing that sticker off. I am shamed to represent this man.
> 
And you think Steve Jobs is being immature...?

Guy
> 



Re: [flexcoders] Thoughts on Flash by Steve Jobs

2010-04-30 Thread Guy Morton

On 30/04/2010, at 12:10 PM, Oleg Sivokon wrote:

> 
> I've got this same link from my friend, and it's funny how it serves the 
> facts... well, flash was in fact the first to use h.264 codec for video on 
> the web (could be that some other existed before, but the HTML5 wasn't the 
> first, that's for sure),


Quicktime 7 had H.264 support, so if you used that to view video content you'd 
have been able to see h.264 video as early as April 2005of course video on 
the web prior to html5 pretty much relied on Flash to make it work nicely, so 
of course Flash supporting h.264 in 2007 was arguably a bigger deal to all 
intents and purposes.


> and it does use hardware rendering to display that on Windows. It is true it 
> uses pure CPU rendering on Macs and both sides blame it on poor cooperation 
> of the other side.

Which kinda makes Steve's point, that a cross-platform runtime will never 
maximise the performance of individual platforms unless there is a commercial 
incentive to do so.


> I think, maybe one valid point that he makes is that Adobe didn't invest to 
> much into mobile market until very recently... and, to be honest, flash 
> rendering may be more optimized... like using platform available graphics 
> tools - be it DirectX or OpenGL. It is also true that flash is kind of stuck 
> in it's development... well, the language hadn't seen any significant change 
> in years...
> But I don't think that what Apple cares about is how flash performs... not is 
> it at all familiar with the situation around the product... For example I 
> have Adobe tools to develop for flash on my Windows installation, but on 
> Linux I have only non-Adobe tools, which is more by accident, but, anyway, 
> this kind of contradicts what he says about non openess of the platform.

Yes, but that's not the point he's making. He's saying they see Flash crashing 
macs more often than any other technology. They think it's insecure and 
inefficient and doesn't run well on their platform and they see an open 
alternative that they believe both performs better and makes better commercial 
sense for them, so that's what they are choosing to use.


> 
> I also think that the main profit from banning other popular development 
> tools like .NET and Java from Macs Apple may hope for good revenues from 
> selling their development tools...

Their development tools are free, go get them - 
http://developer.apple.com/technologies/xcode.html. So, interesting idea, but 
wrong.

> Think about that due to iProducts popularity the popularity of Obj-C grew a 
> lot. It was a marginal language in terms of penetration until iPhone... So, 
> they may hope to build a community of developers, who would develop in this 
> language and thus became dependent on Apple's tools and the entire 
> ecosystem... well, just like there's a lot of C# programmers in the world, 
> not because it's the best language ever, but because of the demand.

Yes, of course, I'm sure they do hope the success of the iPhone, iPad and the 
Mac in general will help drive developers to their platforms. What is your 
point?

> 
> I think that Mac world sees the surrounding world from the entrenchment 
> level, it's like "after all those years!" they are going to win one marketing 
> war. They won't think about that their "victory" may turn into much larger 
> loss on a general scale. Like, what good will come out of promoting obsolete 
> technologies like HTML and JavaScript?

LOL. Obsolete? Please. If you think that you are totally misguided.

> And that's after it's been proven many times that the disadvantages are 
> inherent to the technology and it is probably seeing it's last years... Well, 
> for me going back to making web apps in HTML and JavaScript would be like 
> dark ages comparing to any technology, not necessarily Flash, that offers 
> compiled language and better integration with the native API... 

No, Flash is not going to ever dominate in the way you imagine. Ever. It will 
see a decline over time as people adopt HTML5, and competing products such as 
Silverlight. I think it will continue to be the most-used plug-in for some 
time, but I think the need for it will wane over time.

Think about it. What is Flash MOSTLY used for today? Video players and simple 
animations? Both of those can and will soon be done in HTML 5. RIAs will 
continue to be done in Flash/Flex/Silverlight for years to come, but the 
ubiquity of Flash as a runtime will wane as the need most users have for it 
today evaporates over the next few years.

> 
> There may be to many marketing factors involved, of which I have little 
> knowledge... and this may sound out of place... but, what would be if Abobe 
> have cooperated with projects like HaXe and GNash? Or, offer to download the 
> SWFTools' AS3 compiler along with Flex / Flash Builder? Or, at least bring 
> their existence to the public attention somehow. 

What would that achieve? People who want those things today know where t

Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-04-30 Thread Guy Morton

On 01/05/2010, at 1:50 AM, PFD Studio wrote:

> 
> The talk about openness is completely disingenuous. Flash/Flex/ActionScript 
> is vastly more open than any of the relevant Apple technologies.
> 

How do you figure that HTML5 is less open than Flash?


> 
> Moreover, what Jobs really wants is for Quicktime to be the video technology 
> of choice.
> 

And Adobe wants everyone to use Flash...but at least Apple is driving adoption 
of bona-fide standards. Flash is not an open standard.


> 
> I believe Apple will eventually have to cave to market pressure on this one. 
> Unfortunately, the delay is a pain in the neck for everyone.
> 

It's an interesting battle. I'd have to say Jobs is running a pretty ballsy 
line on it. At this stage it doesn't seem to be doing Apple any harm at all and 
it's certainly helping to raise the profile of HTML5 and the benefits of 
standards in general, which I think is a good thing.

Guy


> 
> -pd
> 
> 



Re: [flexcoders] Thoughts on Flash by Steve Jobs

2010-04-30 Thread Guy Morton
On 30/04/2010, at 6:22 PM, Tom Chiverton wrote:




 




On Thursday 29 Apr 2010 21:08:42 you wrote:
> Hi, I want to share this
> (http://www.apple.com/hotnews/thoughts-on-flash/) with the people who
> hasn't read it before and maybe read your comments on this topic.

/me puts down his smart phone with a full Flash player with great performanceJobs isn't saying that Flash could never work on a smartphone, he's just saying he doesn't want it on Apple's smartphones, for the reasons he's listed.

That article is so wrong, in so many places, but the corrections will never 
get the same exposure. Good tactic, unfortunately.I'm interested to know where you think he is factually wrong. Guy












Re: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-04-30 Thread Guy Morton
Oh dude, come on, that's low. 

Either agree or disagree with what he says (I agree with most of it - HTML5 et 
al can replace the need for a lot of what Flash often does, and it's support is 
growing and standards are good for all of us) but don't make it personal.

Guy


On 01/05/2010, at 5:17 AM, Wally Kolcz wrote:

> I get it, Steve, no Flash on iWhatever...now just shut up.. My job and life 
> will move right along. Wasn't he supposed to be dead by now or something...or 
> did he replace his cancer with a iBodyPart...what a douche.
> 
> On 4/30/2010 11:50 AM, PFD Studio wrote:
> 
>>  
>> 
>> The talk about openness is completely disingenuous. Flash/Flex/ActionScript 
>> is vastly more open than any of the relevant Apple technologies.
>> 
>> Moreover, what Jobs really wants is for Quicktime to be the video technology 
>> of choice.
>> 
>> I believe Apple will eventually have to cave to market pressure on this one. 
>> Unfortunately, the delay is a pain in the neck for everyone.
>> 
>> -pd
>> 
> 
> 
> 



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

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

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


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

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



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

2010-04-14 Thread Guy Morton

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

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

I never said Flash's demise was imminent. 

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

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

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

Guy

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



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

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

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

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

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

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

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

eg check this out

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

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

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

Guy




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

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



Re: [flexcoders] Deep Object Copy?

2010-02-15 Thread Guy Morton
You can use ByteArray to deep copy an object. Can't recall off the top of my 
head the code but I'm sure you could find it via the Google. :-)

On 16/02/2010, at 8:00 AM, Nick Middleweek wrote:

> Hi,
> 
> Are there any working utilities/code out there that can help me with a deep 
> object copy?
> 
> I have an Object that is about 4-5 levels deep and some of the elements are 
> ArrayCollections of CustomObjects that have nested Objects. Basically it's 
> quite complex! :-)
> 
> My understanding is that ObjectUtils.copy(sourceObject) -> destinationObject  
> doesn't work properly.
> 
> 
> Thanks,
> Nick
> 
> 



Re: [flexcoders] Re: Steve Jobs on Flash .......

2010-02-08 Thread Guy Morton
That's nuts. We built a flash app that ran on the pocket PC 5 years ago - it's 
mad to think flash couldn't run on something as powerful as an iPhone.

On the other hand, if I was looking at a new project, I'd certainly be asking 
myself if something like the SVGWeb toolkit from google would allow me to build 
something that would run native in many browsers (and in the iPhone and iPad).

I do think Adobe should have been looking prior to now for ways to leverage SVG 
and javascript - all that platform needs is a good development environment - 
that's something Adobe could be making money from right now.

Anyway...it's all rather silly and the town hall thing is farcical. Steve 
should have spent some of that pent up energy doing something truly great with 
the iPad, instead of just scaling up an iPhone.

Guy


On 08/02/2010, at 10:20 PM, reflexactions wrote:

> Well after 10 years plus of AS development my feelings are that SJ isn't 
> wrong.
> 
> We have to fend of a constant stream of complaints from users that the app is 
> a memory hog and slow. We tell them it will improve soon but it never does, 
> we tell them flash is a million times better than the alternatives, but to be 
> honest JavaScript has caught up and is ahead in many things. 
> 
> Our app starts up at around 130Mb and reaches 250Mb before it levels out, 
> JavaScript apps are a fraction of that.
> 
> I hope his rant finally has some impact at Adobe and they pull there finger 
> out, becuase past experience has shown that years of complaining/requests/bug 
> reports gets nowhere then finally a rant in the face of someone who matters 
> gets them to shift, I have no idea why its like that but time and again thats 
> what happens.
> 
> For us it is probably too late as this week after SJ's rant we were told to 
> start planning the move away flash, the argument has been lost so badly it 
> wasn't even an argument this time.
> 
> For us to stay with flash, the next release would have to perform a miracle 
> in terms of memory and performace gains on Mac and PC.
> 
> Personally I don't think they can do it, I think they would be better of 
> making AS3 compile down to JavaScript. With maybe a lighterweight plugin for 
> somethings like video or graphics.
> 
> Whatever they really needed to realise all this a year ago with solutions to 
> be released now, not just smelling the coffee today.
> 
> --- In flexcoders@yahoogroups.com, Tim Romano  wrote:
> >
> > If the rumors about Bing are true, then this panning could also have 
> > something to do with Silverlight. If I were at MSFT and my role was to 
> > ensure that Silverlight succeeded in knocking Flash off (as Word knocked 
> > off WordPerfect back in the day, e.g.) then I'd be looking for chinks in 
> > Adobe's armor wherever they may be.
> > 
> > On 2/1/2010 2:26 PM, Paul Andrews wrote:
> > >
> > > It's just commercial tactics.
> > >
> > > You'd never guess he has his own tied-in development system to support.
> > > Why wouldn't he knock flash?
> > >
> > > hworke wrote:
> > > > 
> > > http://news.yahoo.com/s/pcworld/20100201/tc_pcworld/stevejobsdissesapplerivalsduringtownhallmeeting
> > >  
> > > 
> > > >
> > > >
> > > > Jobs has previously called out Adobe Flash, currently the
> > > > dominant animation platform on the Web, for being "too slow to be 
> > > useful" and Flash Lite, Adobe's versio n of Flash for mobile devices, 
> > > as not advanced enough for the iPhone. So it's no surprise to hear 
> > > Jobs called out Flash during Apple's Town Hall, but his language this 
> > > time sounds a little over the top. Jobs reportedly called Adobe a lazy 
> > > company, and said that when a Mac crashes it's usually because of Flash.
> > > >
> > > > Whether or not that's true, it's clear that Jobs is not a fan of 
> > > Adobe's multimedia platform. The iPhone is routinely criticized for 
> > > its inability to render Flash-based Web pages, videos and games, and 
> > > early criticisms about the iPad also decry the lack of Flash 
> > > compatibility on Apple's latest device.
> > > >
> > > >
> > > >
> > >
> > >
> >
> 
> 



Re: [SPAM] [flexcoders] Size of an application

2010-02-06 Thread Guy Morton
In my experience the smallest app using the flex framework weighs in at about 
120KB. I expect that will get bigger with each version iteration. 

The size of your app will depend on what parts of the framework you are using. 
eg, the charting classes add about 100KB to your app if you use them.

If size is an issue for you then you need to carefully look at what you include 
and perhaps consider using modules to split your app up a bit into pieces you 
can lazy-load.

Guy

On 07/02/2010, at 10:11 AM, Tracy Spratt wrote:

> 
> I doubt that that question can be answered.  Someone would have had to survey 
> the size of a large number of applications, and I have never participated in 
> such a survey.
> 
>  
> 
> Most of my apps are larger than that, but I have never had swf size as a 
> significant requirement.
> 
>  
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of Christophe
> Sent: Saturday, February 06, 2010 5:46 PM
> To: flexcoders@yahoogroups.com
> Subject: [SPAM] [flexcoders] Size of an application
> 
>  
> 
>  
> 
> Hello, 
> 
> My application has a size of 900 Kb. 
> 
> What is the meam size of a RIA application ? 
> 
> Thank you,
> Christophe,
> 
> 
> 



Re: [flexcoders] IP adress for Language

2010-01-20 Thread Guy Morton
You don't mention what sort of back-end setup you have but there is a free perl 
module for doing this called Geo::IP::PurePerl which uses a local .dat file to 
convert the client's IP to a country code. You can then use this info to derive 
a locale. I use it to find a local mirror for static content.


On 21/01/2010, at 2:58 AM, Christophe wrote:

> Hello, 
> 
> I have a bilingual Flex application. French and English.
> How to automatically set the French or English version in function of the IP 
> adress localisation of the client PC ?
> 
> Thank you,
> Christophe, 
> 
> 



Re: [flexcoders] Building to FP10 breaks code that works if I build to FP9...why?

2010-01-18 Thread Guy Morton
Yes, it looked like a scoping problem to me as well. Just curious as to why it 
works in 9 but not 10. I couldn't find any documentation that said there was a 
change in this area.


On 18/01/2010, at 10:37 PM, thomas parquier wrote:

> Hello,
> 
> I think your create function is not in class instance scope (because inline) 
> : should be static or from an instance of "Dohickey" to work, I think.
> 
> thomas parquier
> ---
> http://www.web-attitude.fr/realisations/
> msn : thomas.parqu...@web-attitude.fr
> softphone : sip:webattit...@ekiga.net
> téléphone portable : +33601 822 056
> 
> 
> 
> 2010/1/18 Guy Morton 
>  
> Hello people,
> 
> I hope someone here can point me in the right direction here.
> 
> I have a class in my codebase that defines objects that contain functions eg 
> (pseudocode):
> 
> package com.my.package {
> 
> import flash.events.EventDispatcher;
> 
> public class Dohickey extends EventDispatcher {
> 
> public var thingy:Whatsit;
> 
> public function init():void {
> 
> doThings.create();
> 
> }
> 
> public var doThings:Object = {
> 
> create: function():void {
> 
> if ( ! thingy ) {
> thingy = new Whatsit();
> }
> 
> }
> };
> 
> }
> }
> 
> Now, if I build to Flash Player 9, I can call init() on the above code and 
> doThings.create() will run and create a new Whatsit into the thingy variable. 
> 
> If I build it to Flash Player 10, I get an error saying 
> 
> ReferenceError: Error #1069: Property com.my.package:Dohickey::thingy not 
> found on Object and there is no default value.
> at ()[/Users/guy/Documents/Flex Builder 3/../Dohickey.as:19]
> at com.my.package::Dohickey/create()[/Users/guy/Documents/Flex Builder 
> 3/../Dohickey.as:11]
> 
> Can someone explain why?
> 
> Please? :-)
> 
> Guy
> 
> 
> 
> 



[flexcoders] Building to FP10 breaks code that works if I build to FP9...why?

2010-01-18 Thread Guy Morton
Hello people,

I hope someone here can point me in the right direction here.

I have a class in my codebase that defines objects that contain functions eg 
(pseudocode):

package com.my.package {

import flash.events.EventDispatcher;

public class Dohickey extends EventDispatcher {

public var thingy:Whatsit;

public function init():void {

doThings.create();

}

public var doThings:Object = {

create: function():void {

if ( ! thingy ) {
thingy = new Whatsit();
}

}
};

}
}

Now, if I build to Flash Player 9, I can call init() on the above code and 
doThings.create() will run and create a new Whatsit into the thingy variable. 

If I build it to Flash Player 10, I get an error saying 

ReferenceError: Error #1069: Property com.my.package:Dohickey::thingy not found 
on Object and there is no default value.
at ()[/Users/guy/Documents/Flex Builder 3/../Dohickey.as:19]
at com.my.package::Dohickey/create()[/Users/guy/Documents/Flex Builder 
3/../Dohickey.as:11]

Can someone explain why?

Please? :-)

Guy




Re: [flexcoders] Flex on MAC

2009-12-30 Thread Guy Morton
Try using 127.0.0.1 instead of "localhost"

You probably don't have "localhost" set up in your hosts file. You can open a 
terminal and edit your hosts file like so:

sudo vi /etc/hosts

then add

127.0.0.1   localhost

and save.

Guy


On 31/12/2009, at 9:33 AM, DavidW wrote:

> I have installed MAMP and according to the MAMP site, the install works.
> 
> However, when I want to get the flex php examples to work on my localhost, it 
> says localhost not found.
> 
> makes the thing a bit of a pain unless I abandon PHP. Seems like the wrong 
> solution.
> 
> I am extremeley experienced in using my Mac. Any ideas or pointers?
> 
> 



Re: [flexcoders] IE6 + SSL + Flex

2009-12-29 Thread Guy Morton
Hi Julian

There aren't any flaws in what I'm saying. You're not required to follow my 
advice, though. :-)

People get told they need to upgrade or install new software all the time so I 
don't agree that this is a situation we have to mutely accept. IE is a crappy 
piece of software. It has been the subject of numerous exploits. Why would any 
sensible corporate IT manager want to mandate the use of IE when there are 
alternatives that are faster, more secure and that better support standards? 

Hey, but no-one ever got sacked for buying IBM (or installing IE) right? ;-)

For the record, I mostly develop apps that are for the general public, so I 
work to support all browsers. I still make  a point of recommending the use of 
browsers other than IE when the opportunity arises though...

Anyway, glad you found a workaround.

Guy

PS, you could also try serving your swf via http and only doing your data calls 
via https.


On 29/12/2009, at 12:27 PM, Julian Alexander wrote:

> 
> Dear Guy,
> 
> While I generally see you're point, there are a few flaws in what you're 
> saying:
> 
> 1. Try saying that to a corporate executive who is expecting your software to 
> work in his existing infrastructure and see how far you get.
> 2. It is a problem in all version of IE anyway, so if you used the garbage 
> known as IE 8 you'd still be in the same boat.
> 3. It's solved anyway by hacking the hell out of the headers when it's IE 6 
> :) (will be posted somewhere online once I've got the solution 100%).
> 
> -Julian 
> 
> From: Guy Morton 
> To: flexcoders@yahoogroups.com
> Sent: Mon, December 28, 2009 5:03:44 PM
> Subject: Re: [flexcoders] IE6 + SSL + Flex
> 
>  
> Yes. Drop support for IE6. It has very little market share these days and is 
> about the worst browser out there.
> 
> 
> Use a little browser detection javascript to tell users of IE6 it's time to 
> update to something that isn't so crappy. Firefox, Google Chrome and Safari 
> are all far better browsers than any version of IE.
> 
> If developers stopped tying themselves in knots trying to work around all 
> IE's faults and instead encouraged everyone to install one of the 
> aforementioned browsers we'd soon see many of these sorts of problems go away 
> and we could concentrate instead on actually developing content. 
> 
> Guy
> 
> 
> On 29/12/2009, at 2:37 AM, Julian Alexander wrote:
> 
>>  
>> 
>> Dear Venkat, 
>> 
>> Thanks for the direction, but unfortunately that just made it worse.. Any 
>> other ideas?
>> 
>> -Julian
>> 
>> From: venkateswarlu naidu 
>> To: flexcoders@yahoogroups.com
>> Sent: Sat, December 26, 2009 10:43:39 PM
>> Subject: Re: [flexcoders] IE6 + SSL + Flex
>> 
>>  
>> 
>> If your SWF is not loading in IE6 + SSL + Flex combination, then try setting 
>> http-proxy-caching-of-cookies in app server configuration file (like 
>> weblogic.xml)
>>  
>> Thanks & Regards,Venkat.
>> 
>> 
>> From: "wb...@ymail. com" 
>> To: flexcod...@yahoogro ups.com
>> Sent: Sat, 26 December, 2009 7:54:57 PM
>> Subject: [flexcoders] IE6 + SSL + Flex
>> 
>>  
>> Dear All,
>> 
>> Having a bit of a rough time over here with getting IE6 + flex + ssl to play 
>> nicely together.
>> 
>> Everything works except that after the app has loaded once, if you go to a 
>> different URL and then go back it fails on loading, and unfortunately in my 
>> case this is a common scenario. 
>> 
>> If anyone is knowledgeable about this PLEASE (UL) let me know as I've been 
>> banging my head against the wall on this one for weeks on and off and now I 
>> have a bit of a deadline to meet and this is the primary stop.
>> 
>> Thanks in advance,
>> Julian
>> 
>> 
>> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
>> 
>> 
> 
> 
> 
> 



Re: [flexcoders] IE6 + SSL + Flex

2009-12-28 Thread Guy Morton
Yes. Drop support for IE6. It has very little market share these days and is 
about the worst browser out there.

Use a little browser detection javascript to tell users of IE6 it's time to 
update to something that isn't so crappy. Firefox, Google Chrome and Safari are 
all far better browsers than any version of IE.

If developers stopped tying themselves in knots trying to work around all IE's 
faults and instead encouraged everyone to install one of the aforementioned 
browsers we'd soon see many of these sorts of problems go away and we could 
concentrate instead on actually developing content. 

Guy


On 29/12/2009, at 2:37 AM, Julian Alexander wrote:

> 
> Dear Venkat, 
> 
> Thanks for the direction, but unfortunately that just made it worse. Any 
> other ideas?
> 
> -Julian
> 
> From: venkateswarlu naidu 
> To: flexcoders@yahoogroups.com
> Sent: Sat, December 26, 2009 10:43:39 PM
> Subject: Re: [flexcoders] IE6 + SSL + Flex
> 
>  
> 
> If your SWF is not loading in IE6 + SSL + Flex combination, then try setting 
> http-proxy-caching-of-cookies in app server configuration file (like 
> weblogic.xml)
>  
> Thanks & Regards,Venkat.
> 
> 
> From: "wb...@ymail. com" 
> To: flexcod...@yahoogro ups.com
> Sent: Sat, 26 December, 2009 7:54:57 PM
> Subject: [flexcoders] IE6 + SSL + Flex
> 
>  
> Dear All,
> 
> Having a bit of a rough time over here with getting IE6 + flex + ssl to play 
> nicely together.
> 
> Everything works except that after the app has loaded once, if you go to a 
> different URL and then go back it fails on loading, and unfortunately in my 
> case this is a common scenario. 
> 
> If anyone is knowledgeable about this PLEASE (UL) let me know as I've been 
> banging my head against the wall on this one for weeks on and off and now I 
> have a bit of a deadline to meet and this is the primary stop.
> 
> Thanks in advance,
> Julian
> 
> 
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> 
> 
> 



Re: [flexcoders] using system fonts in Flex

2009-12-08 Thread Guy Morton
Yes, the original post didn't state why he thought embedding was  
required, so you may be right and the requirement may have been to do  
something you can only do with an embedded font. In which case,  
neither of us has provided a useful answer, other that "yes you need  
to embed the font in a swf file"... :-)


Out of curiosity, why *can't* Flash do things like rotate text unless  
the corresponding font is embedded? Couldn't it just embed the  
necessary glyphs from the local font on an as-needed basis?


Guy




On 09/12/2009, at 10:16 AM, Alex Harui wrote:



It will if he wants to use device fonts.  I just assumed he wanted  
to use embedded fonts for various rendering effects.




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 Guy Morton

Sent: Tuesday, December 08, 2009 2:55 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] using system fonts in Flex





Are you sure it won't pick up locally available fonts? I'm fairly  
sure it will. If you use CSS to define the font to use you can  
specify a list of fonts to degrade to, so if your preferred font is  
unavailable the next one on the list will be used.




Have you tried that?



Guy





On 09/12/2009, at 7:12 AM, Glenn Jones wrote:




AFAIK, any fonts used in Flex ha! ve to be compiled into the SWF.

Is there some way to use system fonts that are already installed on  
a customer machine?


Specifically, I'd like to build an app that uses Microsoft's new  
Segoi UI font (included

with Vista and Office 2007) without compiling a TTF into my SWF.

Thanks,
Glenn










Re: [flexcoders] using system fonts in Flex

2009-12-08 Thread Guy Morton
Are you sure it won't pick up locally available fonts? I'm fairly sure  
it will. If you use CSS to define the font to use you can specify a  
list of fonts to degrade to, so if your preferred font is unavailable  
the next one on the list will be used.


Have you tried that?

Guy


On 09/12/2009, at 7:12 AM, Glenn Jones wrote:


AFAIK, any fonts used in Flex have to be compiled into the SWF.

Is there some way to use system fonts that are already installed on  
a customer machine?


Specifically, I'd like to build an app that uses Microsoft's new  
Segoi UI font (included

with Vista and Office 2007) without compiling a TTF into my SWF.

Thanks,
Glenn






Re: [flexcoders] When does 0.2 and 0.1 not equal 0.3?

2009-11-25 Thread Guy Morton
Yes, you've discovered the joys of floating point maths. Not a bug,  
just a fact of life for anyone working in just about every programming  
language there is.


Work in integers if you want integer results, or use the functions  
under the Math class to round things to suit your needs.


Guy


On 26/11/2009, at 7:33 AM, kidl33t wrote:

I have encountered an odd bug. In the process of creating a little  
numeric stepper component (a text box with an up/down stepper beside  
it) I have found an odd rounding error. Starting from 0.0 and adding  
0.1 increments, I get the follow console output.


currentNumber: 0 increment: 0.1
result: 0.1

currentNumber: 0.1 increment: 0.1
result: 0.2

currentNumber: 0.2 increment: 0.1
result: 0.30004

As you can see, .2 + .1 is yielding 0.30004. This  
behaviour happens at at many numbers actually.


You can verify this yourself by simply doing a: trace( (0.1 + 0.2) );

The other flex developer at our company can also see this error, so  
I don't think it's isolated to my box or particular build. Does  
anyone know anything about this?








Re: [flexcoders] Error: Problem finding external stylesheet:

2009-11-23 Thread Guy Morton
My guess is that the path isn't right for your operating system. "/"  
is an absolute path referring to the root of your application, but you  
may need to specify it as a relative path instead, eg "../ 
diagrammer" (or whatever) when running locally



On 23/11/2009, at 7:47 PM, cholid cholid wrote:



Hi all
i've new problem
when i compile some app
the message is show
Error: Problem finding external stylesheet: /diagrammer/assets/style/ 
style.css

actually the data is there
any help?
thanks
cholid.r







Re: [flexcoders] Re: How to save a bytearray to a database

2009-10-27 Thread Guy Morton
You should be able to store the data in binary format in your  
db...then you could use a binary encoding for transferring the data  
(like AMF) and leave the data in binary.


Note I've not tried this myself but in theory it should work, no?


On 28/10/2009, at 4:58 PM, bsyyu wrote:


encode the bytearray to base64
http://dynamicflash.com/goodies/base64/

--- In flexcoders@yahoogroups.com, "flexaustin"   
wrote:

>
> So I am trying to save a bytearray to a database. I tried  
bytearray.toString, which works as expected.

>
> But on retrieving the string (bytearray) from the database how  
would I convert it back to a bytearray?

>
> Thx, J
>







Re: [flexcoders] EVENT metatag handler

2009-10-24 Thread Guy Morton

try addEventListener("dragEnd",startPanAndZoom);

addEventListener expects a string containing the event name as its  
first argument.






On 25/10/2009, at 10:00 AM, hworke wrote:




Hello developers,

in a custom component, I defined an event in metatag like this

[Event(name="dragEnd", type="flash.events.Event")]
public class ta extends TextArea
{
}

Now inside this component how do I add the event listener for
this event which was defined in the metatag.

in the component constructor I tried to add the event listener
like this
addEventListener(dragEnd,startPanAndZoom);
or
addEventListener(this.dragEnd,startPanAndZoom);

None works. How do I do it then? Any help will be appreciated.

Regards







Re: [flexcoders] cannot convert mx.graphics::str...@205c5d61 to mx.graphics.IStroke

2009-09-04 Thread Guy Morton

Yes, thanks. I did find the answer shortly after posting here.

On 03/09/2009, at 4:51 PM, Alex Harui wrote:



Are you using modules?  It is a common problem.  Quick fix is to  
link IStroke in the main app.  If you google you’ll see past threads  
on this topic.




In a script block just do:



Import mx.graphics.IStroke; IStroke;



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 g...@alchemy.com.au

Sent: Wednesday, September 02, 2009 10:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] cannot convert mx.graphics::str...@205c5d61 to  
mx.graphics.IStroke






Any ideas why this would start occurring? Only thing that has changed
is I've updated from 3.1 to 3.2.

I've tried a clean and rebuild, to no avail.

Main Thread (Suspended: TypeError: Error #1034: Type Coercion failed:
cannot convert mx.graphics::str...@205c5d61 to mx.graphics.IStroke.)
mx.charts::AxisRenderer/measure
mx.core::UIComponent/measureSizes
mx.core::UIComponent/validateSize
mx.managers::LayoutManager/validateSize
mx.managers::LayoutManager/doPhasedInstantiation
Function/http://adobe.com/AS3/2006/builtin::apply [no source]
mx.core::UIComponent/callLaterDispatcher2
mx.core::UIComponent/callLaterDispatcher

--
This message was sent using IMP, the Internet Messaging Program.








Re: [flexcoders] Flex and REST

2009-09-02 Thread Guy Morton
Many REST-ish APIs just use POST and GET anyway, as support for other  
HTTP verbs can be patchy.



On 02/09/2009, at 10:10 PM, claudiu ursica wrote:



TO go RESTfull you'll have to use all teh methods like GET, POST,  
PUT,  DELETE, which is kind of hard to do. You probably end up using  
lots of post from flex, even instead of get... You still can build  
the REST api and use it like that only with GET and POST... not 100%  
rest but will work...


C



From: DannyT 
To: flexcoders@yahoogroups.com
Sent: Wednesday, September 2, 2009 2:55:31 PM
Subject: [flexcoders] Flex and REST


Can anyone give me the definitive answer to whether you can build  
REST based apps with Flex? There seems to be an incredible amount of  
FUD about the topic and whilst I appreciate it might not be  
supported in it's purest form I need to know what is involved in  
supporting a full REST implementation.


I have no experience with REST but we're in the position that a  
client is going to implement a RESTful service for us to build a  
Flex application against. If it will 'just work' then great, if not  
I need to educate them as to any considerations/ workarounds  
necesscary on the service side of things.


Can anyone offer any advice?

Cheers,
Dan

--
http://danny-t.co.uk







Re: [flexcoders] xml as dataprovider to datagrid

2009-08-01 Thread Guy Morton

Single item nodes get turned into objects, not arraycollections.

This is a common source of confusion and pain. AFAIK, there is no easy  
way to deal with this - your code must anticipate the two data types.


Guy

On 02/08/2009, at 11:34 AM, shizny wrote:


Hello,

I'm having some really weird issues with populating an  
advanceddatagrid with xmlList (quoteXMLList) data. Here is my  
situation. I've got an xmllist that, when looking at one entry  
(xmlList[0]), has xml looking like this.




20



Now I'm trying to get totalCost as a datafield and for it to show up  
in a adg column. So I tried something like this


variableRowHeight="true" id="quoteDataGrid"  
dataProvider="{this.quoteXMLList}">


headerText="Total Cost" />


But nothing shows up. So, I changed my dataprovider to  
this.quoteXMLList.cost and put dataField="totalCost" and it shows up  
fine. But I can't do that cause I have more info I need to gather  
for other columns that is in different areas of the xml in the  
current xmlList. So, can you not put e4x notation in datafield, if  
not what do I do here? Thanks in advance.


Josh








Re: [flexcoders] Font types getting Over written

2009-06-01 Thread Guy Morton
Clear your browser's cache? Check whether you are accessing your app  
via a web proxy cache, and disable it if possible?


On 01/06/2009, at 5:06 PM, sony antony wrote:




Can you suggest a way to get over this caching issue?

I think inth eentire project I face this issue, tried something but  
not working that well.


:((

Thanks,

Sony


--- On Mon, 1/6/09, Guy Morton  wrote:

From: Guy Morton 
Subject: Re: [flexcoders] Font types getting Over written
To: flexcoders@yahoogroups.com
Date: Monday, 1 June, 2009, 3:25 AM

That sounds like a caching issue to me. Things don't generally fail  
"sometimes".



On 01/06/2009, at 3:14 AM, sony antony wrote:


Hi there..

I had a problem with font types in ma application

I am using both "Plain" and "Caps" types of the same font.

Formerly only the "Plain" was there. Now when I used "Caps" along  
with.


At times it's working fine, but, sometimes  when I clean the  
project, all the "Plain" types of the same font family is getting  
converted to "Caps" type of the same font family.


and I tried removing the font embedding from the stylesheet which  
was common to the project, and embedded the font in the separate  
pages where, I needed the particular fonts. again it is working  
fine at sometimes only.


Please do help me to sort out this...

:)
Sony.





Explore and discover exciting holidays and getaways with Yahoo!  
India Travel  Click here!





Explore and discover exciting holidays and getaways with Yahoo!  
India Travel Click here!







Re: [flexcoders] Font types getting Over written

2009-05-31 Thread Guy Morton
That sounds like a caching issue to me. Things don't generally fail  
"sometimes".


On 01/06/2009, at 3:14 AM, sony antony wrote:




Hi there..

I had a problem with font types in ma application

I am using both "Plain" and "Caps" types of the same font.

Formerly only the "Plain" was there. Now when I used "Caps" along  
with.


At times it's working fine, but, sometimes  when I clean the  
project, all the "Plain" types of the same font family is getting  
converted to "Caps" type of the same font family.


and I tried removing the font embedding from the stylesheet which  
was common to the project, and embedded the font in the separate  
pages where, I needed the particular fonts. again it is working fine  
at sometimes only.


Please do help me to sort out this...

:)
Sony.





Explore and discover exciting holidays and getaways with Yahoo!  
India Travel Click here!







Re: [flexcoders] Re: HTTPService.send(params) and nothing happens?

2009-05-31 Thread Guy Morton
send(params) will do either a GET or a POST to the URL with the params  
sent as name=value pairs either as a query string (GET) or in the body  
of the request (POST). By default it uses GET. The form you post to  
has to look for the variables in the right place.


Are you able to see what URL is actually being requested on the server  
(ie, do you have access to the server logs)? Looking at what is  
actually being requested via either Firebug or Fiddler is then your  
next step.


Guy

On 01/06/2009, at 5:49 AM, ciminop wrote:




I tried that and the page does the same thing, which is why I tried  
the HTML calling the login script. I thought the problem on the http://www.postgradmed.com/index.php?page=login 
 is that there are multiple forms in the page. But if you paste the  
url into my application in the URL text input, you'll see the post  
Grad med page code. Even with a correct ID Password, the page source  
still shows the login form.


However, my point is still valid, or maybe I'm just confused  
(happens). If I point to my test login page and perform "send" is  
this supposed to return the page or try to submit the form? If it's  
supposed to submit the form, how come all I get back is the blank  
form/html code? If it supposed to submit, why don't I get back  
something different?


--- In flexcoders@yahoogroups.com, Pedro Sena  wrote:
>
> Your URL should point to http://www.postgradmed.com/index.php?page=login
> instead of http://www.translunardesigns.com/postgradmed/testlogin.html
>
> You need to point to the same page/script that the html does.
>
> HTH
>
> On Sun, May 31, 2009 at 10:53 AM, ciminop  wrote:
>
> >
> >
> > Not exactly nothing, I get the contents of the URL that I'm  
trying to send

> > the data to, and have it submit a form.
> >
> > I created a simple login form which logs into a remote site. If  
you submit
> > it, wven with no data or incorrect data it will take you to the  
remote site.

> > Here's the form:
> > http://www.translunardesigns.com/postgradmed/testlogin.html
> >
> > Next, I have a Flex app that uses the HTTPService to call my  
test HTML.
> > Whether I submit this with data, no data, incorrect data, the  
result is the
> > same: response code 200 (OK), and the results, which i expect to  
have the
> > html of the remote site, instead contain the html of the  
testlogin.html.

> >
> > The application is here, source viewable with right-click:
> > http://www.translunardesigns.com/postgradmed/PostGradMed.html
> >
> > So my question(s) is(are): Why is this not redirecting to the  
remote site
> > and how can I get this to actually get the response form the  
submitted form?

> >
> >
> >
>
>
>
> --
> /**
> * Pedro Sena
> * Systems Architect
> * Sun Certified Java Programmer
> * Sun Certified Web Component Developer
> */
>






Re: [flexcoders] Re: Flex Builder not rebuilding source

2009-05-26 Thread Guy Morton

Do a clean and try again?


On 27/05/2009, at 3:34 PM, Ron Wagner wrote:




> I've had this problem in the past and never got an answer. The  
problem is back. I'll be working on a project and constantly make  
micro changes and then debug, eventually the changes aren't compiled  
in anymore. In the small project I'm working on I have removed all  
Alerts. They don't exist in the source but when I run the debug all  
the Alerts are still popping up and none of the new code is executed.



I have this happen quite often. Clearing the browser cache after  
making sure there aren't any browser windows open with the swf  
loaded always clears it up for me. I'm running Safari on a Mac.


Ron








Re: [flexcoders] Adobe Flash Help Urgent

2009-05-19 Thread Guy Morton
Look at your web server compression settings. SSL. caching. All are  
things IE screws up on a regular basis.


Tell your users to download a browser that works. :-)

On 19/05/2009, at 5:49 PM, saritha wrote:




I have a web page with external swf file(.swf)in it.
The external swf file loads images dynamically.
The files are put up in web server.
If the web server is not clustered (say it runs in single instance  
mode) the external swf loads properly in Internet Explorer  
6.0,Internet Explorer 7.0 , Firefox 3.0 and Safari 3.0.

If the web server is clustered(say it runs with mulitple instances)
the external swf does not load in Internet Explorer 6.0 and Internet  
Explorer 7.0.But it still loads properly in firefox and safari.


Its has become a show stopper issue.
Any Help on this would be appreciated.

Thanks






Re: [flexcoders] link examples to sell Flex apps to small business clients

2009-05-07 Thread Guy Morton

How about http://syd.webtrak-lochard.com/?


On 08/05/2009, at 8:23 AM, Matt Garland wrote:




Hi,

I'd like to send an email with a variety of links to Flex apps. So:  
NO signing up, NO downloading, NO long start ups.


Also data-rich apps and product showcases would be better than media  
editors.


flex.org/showcase does not help. I'm afraid I'd scare clients away:  
bad links, irritating scrolling, etc. And many of the designs  
showcased there would have been better off with plain Halo.


I realize that most of the apps I want to see are not on the web.  
But maybe some are...links anyone?


Thanks

Matt Garland
pet-theory.com







Re: [flexcoders] Flex Builder on Linux been scrapped ?

2009-04-30 Thread Guy Morton
Wouldn't you still be able to build your own IDE using the free SDK?  
As I understand it a lot of people do this now to avoid having to buy  
FB, and I imagine Linux users would be relatively common within that  
group.


If sales for a linux version of FB are too low to justify the ongoing  
cost of development, you can hardly blame Adobe for that. Their  
support for *nix is better than most.


Guy


On 01/05/2009, at 9:35 AM, john fisher wrote:




If Adobe drops Linux support for Flex, then I will probably drop Flex.

I won't maintain a Windows or Mac box at home, and my company really
doesn't want to invest in any more Windows apps. I don't want to  
invest
myself in technology I can't run independently of whoever I happen  
to be

working for today. Seeing the fickleness of the corporate owners of
development tools is what sent us to Linux and open source tools in  
the
first place. We can't bet our products on some whim of Adobe. My  
current

all-Linux proof-of-concept project will be blown out of the water, and
I'll have to get up to speed on Java.

-grieving already

John

and at a time when Linux is gnawing away at laptop market from below  
and

the desktop market is dying...







Re: [flexcoders] How improve performance

2009-04-23 Thread Guy Morton
Use the profiler to see if you have a memory leak somewhere. Sounds  
like perhaps you are creating objects but not destroying them once  
you're done with them.


Guy

On 24/04/2009, at 6:03 AM, b.kotireddy wrote:




Hi,

In My application we are purly following Cairngorm framework. I am  
not much deep into the flex framework and its performance but my  
application is like the longer the application is in use, the slower  
it runs.


Is anyone have any suggestions to improve the performance.

I truly appreciate your valuable suggestions.







Re: [flexcoders] Re: Accessibility stopped working

2009-04-22 Thread Guy Morton
Well...it's certainly been the case that I could tab through my app  
before. I know I couldn't get the Mac OS to ever read the text out of  
my app on Mac (works with JAWS ok, sort of, though)



On 23/04/2009, at 1:38 PM, Gordon Smith wrote:





If the accessibility classes ever get initialized on Mac, I'd be  
very surprised. Doesn't Capabilities.hasAccessibility return false  
in all Mac Players?




Gordon Smith

Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]  
On Behalf Of Alex Harui

Sent: Tuesday, April 21, 2009 11:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Accessibility stopped working







Ok, I’m out of my area of knowledge.  I didn’t even think we had  
good accessibility for mac.  Did we not ship the sources for  
mx.accessibility.*




I’m off duty for the night.  Hopefully you’ll figure it out.



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 Guy Morton

Sent: Tuesday, April 21, 2009 10:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working








I'm developing on a mac. I tired restarting the computer anyway. :-)



How would I set a breakpoint in the accessibility classes?



Guy



On 22/04/2009, at 2:59 PM, Alex Harui wrote:









I guess you could set breakpoints to see if code in ! the accimpl  
classes is getting run.  When this happens, can you run some other  
Windows EXE that and use its accessibility features?  Did you try  
restarting the computer?




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 Guy Morton

Sent: Tuesday, April 21, 2009 5:39 PM
To! : flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working









I have previously done a full clean and rebuild, and it made no  
difference.




The link report from a month ago shows the accessibility classes  
were being included at that time.




I just did a clean and build and generated a link repor! t...it h as  
entries like this:




<tt>mod="1214927782165" size="3103" optimizedsize="1768">
</tt><pre style="margin: 0em;">

  <def id="mx.accessibility:AccImpl" />

  <pre id="flash.accessibility:AccessibilityImplementation" />

  <dep id="mx.core:mx_internal" />

  <dep id="flash.accessibility:Accessibi! lityProperties" />

  <dep ! id="mx.accessibility:UIComponentAccImpl" />

  <dep id="mx.core:UIComponent" />

  <dep id="flash.events:Event" />

  <dep id="AS3" />

  <dep id="flash.accessibility:Accessibility" />





But still, no accessibility appears i! n the actual binary.



If I turn it off in the compiler, the link report doesn't have these  
entries, so it's clearly *trying* to include the accessibility  
features. They just aren't working.




This is very frustrating.



Guy





On 22/04/2009, at 9:38 AM, Alex Harui wrote:










Not sure.  Do a full clean and rebuild.  Generate a link-report and  
see if the accessibility classes are in the SWF




Alex Harui

Flex SDK Dev! eloper

A! dobe Systems Inc.

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



From:! &nb sp;flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com 
] On Behalf Of Guy Morton

Sent: Tuesday, April 21, 2009 4:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working
Impor! tance: High










This is really annoying.



This happened to me back in January and now it has happened again.



I've followed all the advice in the previous posts to no avail.



Can someone from Adobe please throw me a clue here? Why would - 
accessible in the project properties suddenly stop working?




As you may have guessed, it has stopped working for me again. The  
cause is a complete mystery.




Guy





On 16/01/2009, at 12:49 PM, Guy Morton wrote:



!



And as mysteriously as it stopped working, it started working  
again *shrug*




Guy



On 16/01/2009, at 8:45 AM, Guy Morton wrote:







To answer your other question, I also wondered if it was my client,  
so have checked the binary in Safari, Firefox and Opera and all  
agree there is no accessibility!  on offer.






On 16/01! /2009, a t 4:21 AM, Anthony DeBonis wrote:







Try compiling with accessible turned off and get the ! swf size - when
y! ou turn accessible compile back on the swf size should be a bit
larger. This will tell you if the compile is backing in the needed
classes. If so it may be the client tool you're using to run the
application. 

Re: [flexcoders] Signed RSL penetration

2009-04-22 Thread Guy Morton
Is "consistent and accurate and explainable" code for "big enough  
numbers"? ;-)



On 22/04/2009, at 4:10 PM, Matt Chotin wrote:




We’re hosting the RSLs starting with Flex 4, you’ll see them hosted  
in the public beta.


When we feel comfortable with the RSL penetration stats as far as  
being consistent and accurate and explainable we’ll begin publishing  
them.


Matt


On 4/21/09 11:01 PM, "Steve Mathews"  wrote:







No offence was intended, I was trying to state that as a selling  
point. The number of users who already have the SWZs should be  
icing, the real substance should be the benifit to every user  
visiting your site/app. Obviously if you only expect users to visit  
once or twice the benifit doesn't work out.


The problem with Adobe including the files with the first install is  
that there are new files for each update of the Flex Framework. I am  
currently on my third set of SWZs in my production environment. I  
would like to see Adobe host the files as an added benifit to using  
them.


I would also be interested in seeing some stats on the number of  
installed players that have one or more SWZs cached as it would be  
additional info to help sell the idea to clients.


Steve

On Tue, Apr 21, 2009 at 2:55 PM, Guy Morton   
wrote:



Yes, I know how it works...my point is that it's hard to sell to my  
current clients if for most it's going to translate into a bigger  
download for first time users.


This is why stats as to how many users are likely to already have  
the different versions of the RSLs would be handy.


I realise this is probably strategically sensitive for Adobe as they  
want to encourage use of RSLs as it improves the Flex download size  
story longer term.


Someone made the suggestion somewhere that when users upgrade or  
install the player, Adobe ought to download and install all the  
current RSLs as well. That seems a very sensible idea to me.


Even if they were a separate download available at the time (or  
available as a "Flash player professional" version) it would be  
better than forcing developers distributing apps to do it. We have  
app size as an imperative that we have to work with.


Guy

On 22/04/2009, at 4:19 AM, Steve Mathews wrote:




It would only be bigger the first download (assuming the user has  
9.0.115.0 or later). After that it would be smaller each time.



Steve

On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton   
wrote:



Well...yes, it's great if I do it...for the community n'all...but my  
users *are* sensitive to the download size.


If it were the same size either way, of course I would do it (as  
would everyone) but the fact that it's BIGGER as RSLs means I bet  
LOTS of developers DON'T do it, hence my question...


Guy


On 21/04/2009, at 6:19 PM, Tom Chiverton wrote:






On Tuesday 21 Apr 2009, g...@alchemy.com.au wrote:
> Maybe it's worth doing if 50%+ of users will get the benefit, but if
> only 10% will benefit it seems unlikely to be a way to increase the
> general happiness.

I think you are looking at it wrong. Assuming 200k is nothing on a  
modern

connection - I don't know anything about your users of course :-)
With RSL you either load quicker (win) or have to download app+RSL  
(same as
non-RSL), plus you have the benefit of making your (and others !)  
future RSL

deployments more likely to be win.


--
Helping to synergistically streamline proactive cross-platform  
seamless

ubiquitous interfaces as part of the IT team of the year, '09 and '08


Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099
tom.chiver...@halliwells.com

3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com <http://www.halliwells.com/>


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

Halliwells LLP is a limited liability partnership registered in  
England and Wales under registered number OC307980 whose registered  
office address is at 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 <http://www.halliwells.com/ 
> .






















Re: [flexcoders] Re: Accessibility stopped working

2009-04-21 Thread Guy Morton

I'm developing on a mac. I tired restarting the computer anyway. :-)

How would I set a breakpoint in the accessibility classes?

Guy

On 22/04/2009, at 2:59 PM, Alex Harui wrote:





I guess you could set breakpoints to see if code in the accimpl  
classes is getting run.  When this happens, can you run some other  
Windows EXE that and use its accessibility features?  Did you try  
restarting the computer?




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 Guy Morton

Sent: Tuesday, April 21, 2009 5:39 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working







I have previously done a full clean and rebuild, and it made no  
difference.




The link report from a month ago shows the accessibility classes  
were being included at that time.




I just did a clean and build and generated a link report...it has  
entries like this:




<tt>mod="1214927782165" size="3103" optimizedsize="1768">
</tt><pre style="margin: 0em;">

  <def id="mx.accessibility:AccImpl" />

  <pre id="flash.accessibility:AccessibilityImplementation" />

  <dep id="mx.core:mx_internal" />

  <dep id="flash.accessibility:AccessibilityProperties" />

  <dep ! id="mx.accessibility:UIComponentAccImpl" />

  <dep id="mx.core:UIComponent" />

  <dep id="flash.events:Event" />

  <dep id="AS3" />

  <dep id="flash.accessibility:Accessibility" />





But still, no accessibility appears in the actual binary.



If I turn it off in the compiler, the link report doesn't have these  
entries, so it's clearly *trying* to include the accessibility  
features. They just aren't working.




This is very frustrating.



Guy





On 22/04/2009, at 9:38 AM, Alex Harui wrote:








Not sure.  Do a full clean and rebuild.  Generate a link-report and  
see if the accessibility classes are in the SWF




Alex Harui

Flex SDK Dev! eloper

Adobe Systems Inc.

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



From:! &nb sp;flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com 
] On Behalf Of Guy Morton

Sent: Tuesday, April 21, 2009 4:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working
Importance: High








This is really annoying.



This happened to me back in January and now it has happened again.



I've followed all the advice in the previous posts to no avail.



Can someone from Adobe please throw me a clue here? Why would - 
accessible in the project properties suddenly stop working?




As you may have guessed, it has stopped working for me again. The  
cause is a complete mystery.




Guy





On 16/01/2009, at 12:49 PM, Guy Morton wrote:





And as mysteriously as it stopped working, it started working  
again *shrug*




Guy



On 16/01/2009, at 8:45 AM, Guy Morton wrote:





To answer your other question, I also wondered if it was my client,  
so have checked the binary in Safari, Firefox and Opera and all  
agree there is no accessibility!  on offer.






On 16/01! /2009, a t 4:21 AM, Anthony DeBonis wrote:





Try compiling with accessible turned off and get the ! swf size - when
you turn accessible compile back on the swf size should be a bit
larger. This will tell you if the compile is backing in the needed
classes. If so it may be the client tool you're using to run the
application. Can you give more information?

--- In flexcoders@yahoogroups.com, Guy Morton  wrote:
>
> I had been successfully compiling my app via flexbuilder 3 using the
-
> accessible compiler flag. Then it stopped working, for no apparent !
> reason. I tried reinstalling fb but it made no difference. The
> compiler option is still set but now my app gets compiled with no
> accessibility features.
>
> Anyone got any ideas as to why this might have happened or how to
fix > it?>
> Guy
>






















Re: [flexcoders] Re: Accessibility stopped working

2009-04-21 Thread Guy Morton

sorry, to answer your question...version 3.1

On 22/04/2009, at 9:38 AM, Matt Morgan-May wrote:




What version of the Flex SDK are you running? Have you tried it  
against a different install of the SDK?


I have to say that yours is the only case I've heard of this  
happening, so my guess is that it's got something to do with either  
some kind of corruption, or the project's config files.


-
m

From: Guy Morton 
Sent: Tuesday, April 21, 2009 4:08 PM
To: flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] Re: Accessibility stopped working


This is really annoying.


This happened to me back in January and now it has happened again.

I've followed all the advice in the previous posts to no avail.

Can someone from Adobe please throw me a clue here? Why would - 
accessible in the project properties suddenly stop working?


As you may have guessed, it has stopped working for me again. The  
cause is a complete mystery.


Guy


On 16/01/2009, at 12:49 PM, Guy Morton wrote:

And as mysteriously as it stopped working, it started working  
again *shrug*



Guy

On 16/01/2009, at 8:45 AM, Guy Morton wrote:

To answer your other question, I also wondered if it was my  
client, so have checked the binary in Safari, Firefox and Opera  
and all agree there is no accessibility!  on offer.




On 16/01! /2009, a t 4:21 AM, Anthony DeBonis wrote:

Try compiling with accessible turned off and get the swf size -  
when

you turn accessible compile back on the swf size should be a bit
larger. This will tell you if the compile is backing in the needed
classes. If so it may be the client tool you're using to run the
application. Can you give more information?

--- In flexcoders@yahoogroups.com, Guy Morton  wrote:
>
> I had been successfully compiling my app via flexbuilder 3  
using the

-
> accessible compiler flag. Then it stopped working, for no  
apparent

> reason. I tried reinstalling fb but it made no difference. The
> compiler option is still set but now my app gets compiled with no
> accessibility features.
>
> Anyone got any ideas as to why this might have happened or how to
fix
> it?>
> Guy
>

















Re: [flexcoders] Re: Accessibility stopped working

2009-04-21 Thread Guy Morton

Well aren't I the lucky one. :-)

The only thing I can think of is that mismatched hidden project files  
are being stored in CVS and getting updated into different installs of  
flex builder and that that is causing the problems.


That said, I've looked at the project files I'm aware of and can't see  
anything obvious.


Guy


On 22/04/2009, at 9:38 AM, Matt Morgan-May wrote:




What version of the Flex SDK are you running? Have you tried it  
against a different install of the SDK?


I have to say that yours is the only case I've heard of this  
happening, so my guess is that it's got something to do with either  
some kind of corruption, or the project's config files.


-
m

From: Guy Morton 
Sent: Tuesday, April 21, 2009 4:08 PM
To: flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] Re: Accessibility stopped working


This is really annoying.


This happened to me back in January and now it has happened again.

I've followed all the advice in the previous posts to no avail.

Can someone from Adobe please throw me a clue here? Why would - 
accessible in the project properties suddenly stop working?


As you may have guessed, it has stopped working for me again. The  
cause is a complete mystery.


Guy


On 16/01/2009, at 12:49 PM, Guy Morton wrote:

And as mysteriously as it stopped working, it started working  
again *shrug*



Guy

On 16/01/2009, at 8:45 AM, Guy Morton wrote:

To answer your other question, I also wondered if it was my  
client, so have checked the binary in Safari, Firefox and Opera  
and all agree there is no accessibility!  on offer.




On 16/01! /2009, a t 4:21 AM, Anthony DeBonis wrote:

Try compiling with accessible turned off and get the swf size -  
when

you turn accessible compile back on the swf size should be a bit
larger. This will tell you if the compile is backing in the needed
classes. If so it may be the client tool you're using to run the
application. Can you give more information?

--- In flexcoders@yahoogroups.com, Guy Morton  wrote:
>
> I had been successfully compiling my app via flexbuilder 3  
using the

-
> accessible compiler flag. Then it stopped working, for no  
apparent

> reason. I tried reinstalling fb but it made no difference. The
> compiler option is still set but now my app gets compiled with no
> accessibility features.
>
> Anyone got any ideas as to why this might have happened or how to
fix
> it?>
> Guy
>

















Re: [flexcoders] Re: Accessibility stopped working

2009-04-21 Thread Guy Morton
I have previously done a full clean and rebuild, and it made no  
difference.


The link report from a month ago shows the accessibility classes were  
being included at that time.


I just did a clean and build and generated a link report...it has  
entries like this:


<tt>mod="1214927782165" size="3103" optimizedsize="1768">
</tt><pre style="margin: 0em;">
  <def id="mx.accessibility:AccImpl" />
  <pre id="flash.accessibility:AccessibilityImplementation" />
  <dep id="mx.core:mx_internal" />
  <dep id="flash.accessibility:AccessibilityProperties" />
  <dep id="mx.accessibility:UIComponentAccImpl" />
  <dep id="mx.core:UIComponent" />
  <dep id="flash.events:Event" />
  <dep id="AS3" />
  <dep id="flash.accessibility:Accessibility" />


But still, no accessibility appears in the actual binary.

If I turn it off in the compiler, the link report doesn't have these  
entries, so it's clearly *trying* to include the accessibility  
features. They just aren't working.


This is very frustrating.

Guy


On 22/04/2009, at 9:38 AM, Alex Harui wrote:





Not sure.  Do a full clean and rebuild.  Generate a link-report and  
see if the accessibility classes are in the SWF




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 Guy Morton

Sent: Tuesday, April 21, 2009 4:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working
Importance: High







This is really annoying.



This happened to me back in January and now it has happened again.



I've followed all the advice in the previous posts to no avail.



Can someone from Adobe please throw me a clue here? Why would - 
accessible in the project properties suddenly stop working?




As you may have guessed, it has stopped working for me again. The  
cause is a complete mystery.




Guy





On 16/01/2009, at 12:49 PM, Guy Morton wrote:




And as mysteriously as it stopped working, it started working  
again *shrug*




Guy



On 16/01/2009, at 8:45 AM, Guy Morton wrote:




To answer your other question, I also wondered if it was my client,  
so have checked the binary in Safari, Firefox and Opera and all  
agree there is no accessibility!  on offer.






On 16/01! /2009, a t 4:21 AM, Anthony DeBonis wrote:




Try compiling with accessible turned off and get the swf size - when
you turn accessible compile back on the swf size should be a bit
larger. This will tell you if the compile is backing in the needed
classes. If so it may be the client tool you're using to run the
application. Can you give more information?

--- In flexcoders@yahoogroups.com, Guy Morton  wrote:
>
> I had been successfully compiling my app via flexbuilder 3 using the
-
> accessible compiler flag. Then it stopped working, for no apparent
> reason. I tried reinstalling fb but it made no difference. The
> compiler option is still set but now my app gets compiled with no
> accessibility features.
>
> Anyone got any ideas as to why this might have happened or how to
fix > it?>
> Guy
>


















Re: [flexcoders] Re: Accessibility stopped working

2009-04-21 Thread Guy Morton

This is really annoying.

This happened to me back in January and now it has happened again.

I've followed all the advice in the previous posts to no avail.

Can someone from Adobe please throw me a clue here? Why would - 
accessible in the project properties suddenly stop working?


As you may have guessed, it has stopped working for me again. The  
cause is a complete mystery.


Guy


On 16/01/2009, at 12:49 PM, Guy Morton wrote:

And as mysteriously as it stopped working, it started working  
again *shrug*



Guy

On 16/01/2009, at 8:45 AM, Guy Morton wrote:

To answer your other question, I also wondered if it was my client,  
so have checked the binary in Safari, Firefox and Opera and all  
agree there is no accessibility  on offer.




On 16/01/2009, at 4:21 AM, Anthony DeBonis wrote:


Try compiling with accessible turned off and get the swf size - when
you turn accessible compile back on the swf size should be a bit
larger. This will tell you if the compile is backing in the needed
classes. If so it may be the client tool you're using to run the
application. Can you give more information?

--- In flexcoders@yahoogroups.com, Guy Morton  wrote:
>
> I had been successfully compiling my app via flexbuilder 3 using  
the

-
> accessible compiler flag. Then it stopped working, for no apparent
> reason. I tried reinstalling fb but it made no difference. The
> compiler option is still set but now my app gets compiled with no
> accessibility features.
>
> Anyone got any ideas as to why this might have happened or how to
fix
> it?
>
> Guy
>













Re: [flexcoders] Signed RSL penetration

2009-04-21 Thread Guy Morton
Yes, I know how it works...my point is that it's hard to sell to my  
current clients if for most it's going to translate into a bigger  
download for first time users.


This is why stats as to how many users are likely to already have the  
different versions of the RSLs would be handy.


I realise this is probably strategically sensitive for Adobe as they  
want to encourage use of RSLs as it improves the Flex download size  
story longer term.


Someone made the suggestion somewhere that when users upgrade or  
install the player, Adobe ought to download and install all the  
current RSLs as well. That seems a very sensible idea to me.


Even if they were a separate download available at the time (or  
available as a "Flash player professional" version) it would be better  
than forcing developers distributing apps to do it. We have app size  
as an imperative that we have to work with.


Guy

On 22/04/2009, at 4:19 AM, Steve Mathews wrote:




It would only be bigger the first download (assuming the user has  
9.0.115.0 or later). After that it would be smaller each time.



Steve

On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton   
wrote:



Well...yes, it's great if I do it...for the community n'all...but my  
users *are* sensitive to the download size.


If it were the same size either way, of course I would do it (as  
would everyone) but the fact that it's BIGGER as RSLs means I bet  
LOTS of developers DON'T do it, hence my question...


Guy


On 21/04/2009, at 6:19 PM, Tom Chiverton wrote:






On Tuesday 21 Apr 2009, g...@alchemy.com.au wrote:
> Maybe it's worth doing if 50%+ of users will get the benefit, but  
if

> only 10% will benefit it seems unlikely to be a way to increase the
> general happiness.

I think you are looking at it wrong. Assuming 200k is nothing on a  
modern

connection - I don't know anything about your users of course :-)
With RSL you either load quicker (win) or have to download app+RSL  
(same as
non-RSL), plus you have the benefit of making your (and others !)  
future RSL

deployments more likely to be win.


--
Helping to synergistically streamline proactive cross-platform  
seamless

ubiquitous interfaces as part of the IT team of the year, '09 and '08




Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099
tom.chiver...@halliwells.com

3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com


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

Halliwells LLP is a limited liability partnership registered in  
England and Wales under registered number OC307980 whose registered  
office address is at 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] Signed RSL penetration

2009-04-21 Thread Guy Morton
Well...yes, it's great if I do it...for the community n'all...but my  
users *are* sensitive to the download size.


If it were the same size either way, of course I would do it (as would  
everyone) but the fact that it's BIGGER as RSLs means I bet LOTS of  
developers DON'T do it, hence my question...


Guy


On 21/04/2009, at 6:19 PM, Tom Chiverton wrote:






On Tuesday 21 Apr 2009, g...@alchemy.com.au wrote:
> Maybe it's worth doing if 50%+ of users will get the benefit, but if
> only 10% will benefit it seems unlikely to be a way to increase the
> general happiness.

I think you are looking at it wrong. Assuming 200k is nothing on a  
modern

connection - I don't know anything about your users of course :-)
With RSL you either load quicker (win) or have to download app+RSL  
(same as
non-RSL), plus you have the benefit of making your (and others !)  
future RSL

deployments more likely to be win.


--
Helping to synergistically streamline proactive cross-platform  
seamless

ubiquitous interfaces as part of the IT team of the year, '09 and '08




Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com


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

Halliwells LLP is a limited liability partnership registered in  
England and Wales under registered number OC307980 whose registered  
office address is at 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] Adobe's stimulus package!!!! FREE FLEX BUILDER!!!!

2009-04-04 Thread Guy Morton

That's a good idea, Adobe. Nice work.


On 05/04/2009, at 1:37 AM, hworke wrote:




https://freeriatools.adobe.com/learnflex/







Re: [flexcoders] Finding the stage xy of a nested object

2009-04-03 Thread Guy Morton

Hi Tracy

Thanks. Yes, I tried localToGlobal, however it's not really as helpful  
as I hoped it might be. It doesn't seem to work within an embedded  
module, for instance (it gives you the coordinates relative to the  
module container by the look).


I thought Flash would know the stage.x and y of everything and so  
there'd be some way to readily access this but I guess not...will I  
have to roll my own solution?


Guy

On 03/04/2009, at 12:39 PM, Tracy Spratt wrote:



You want the coordinate system methods like localToGlobal and  
globalToLocal.  Look for “coordinate system” in the docs for a full  
explanation.




Tracy Spratt,

Lariat Services, development services available

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]  
On Behalf Of Guy Morton

Sent: Thursday, April 02, 2009 9:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Finding the stage xy of a nested object



Hello

I though this ought to be easy but can't figure out how to do it. I
have controls that are nested in layout containers and I want to find
their xy in stage coordinates. Their x and y values are relative to
their containers, so that doesn't give me what I want. There must be
an easy way to find their stage x and y...is there?

Guy







[flexcoders] Finding the stage xy of a nested object

2009-04-02 Thread Guy Morton
Hello

I though this ought to be easy but can't figure out how to do it. I  
have controls that are nested in layout containers and I want to find  
their xy in stage coordinates. Their x and y values are relative to  
their containers, so that doesn't give me what I want. There must be  
an easy way to find their stage x and y...is there?

Guy


Re: [flexcoders] AutoComplete with multiple items

2009-04-01 Thread Guy Morton
Yahoo has a bundle of components you can drop into your projects.  
Google it (how ironic).



On 02/04/2009, at 2:57 PM, Mark Carter wrote:



I too, would like this?

Does anyone know of such a component?
--
View this message in context: 
http://www.nabble.com/AutoComplete-with-multiple-items-tp16840144p22840425.html
Sent from the FlexCoders mailing list archive at Nabble.com.







Re: [flexcoders] Re: Ribbon in FLEX

2009-04-01 Thread Guy Morton
There were two, but then I left.

"The only thing worse than being talked about is not being talked  
about."

Guy


On 02/04/2009, at 12:33 PM, Tim Hoff wrote:

>
> There's already two members on that list. I wonder if you can change
> the lauguage setting from English to MicroSpeak? :)
>
> -TH
>


Re: [flexcoders] Re: Ribbon in FLEX

2009-04-01 Thread Guy Morton

On 01/04/2009, at 11:49 AM, Jeffry Houser wrote:

>  Given the traffic on this list, I hardly think that the 2-3 on- 
> topic posts I've seen from Scott in the past week classify as spam.

Give him a chance, he's only just warming up. ;-)

Guy


Re: [flexcoders]Where does my SWF gain it's weight?

2009-04-01 Thread Guy Morton

FlexBuilder

How can I get individual reports? There's only one spot where I can  
request the link report, afaik.


Guy

On 02/04/2009, at 12:26 AM, Gregor Kiddie wrote:



If you name the link-reports differently, they shouldn’t overwrite  
themselves.


(Coming to this late) You using Ant?



Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London  
SW8 3QJ


Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk

The information in this internet email is confidential and is  
intended solely for the addressee. Access, copying or re-use of  
information in it by anyone else is not authorised. Any views or  
opinions presented are solely those of the author and do not  
necessarily represent those of INPS or any of its affiliates. If you  
are not the intended recipient please contact is.helpd...@inps.co.uk


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]  
On Behalf Of Guy Morton

Sent: 01 April 2009 13:11
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]Where does my SWF gain it's weight?



If you have multiple modules in the compile, am I right to think the  
link report only shows the info for the last module built?




That's how it seems, but perhaps I'm just missing something...



Guy



On 01/04/2009, at 4:32 PM, Alex Harui wrote:





Yeah, you can specify a more sophisticated path to get it to show up  
elsewhere.  There are some third-party link-report viewing tools  
available as well.  I don’t recall the names.




One final tip:  Don’t link in Donuts.SWC ;-)



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 dorkie dork from dorktown

Sent: Tuesday, March 31, 2009 10:17 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]Where does my SWF gain it's weight?



Hi Alex,

Thanks,

FFR - "–link-report outputfile.xml", shows up in bin-debug.

On Sat, Mar 28, 2009 at 11:15 AM, Alex Harui  wrote:

Use –link-report.  The sizes aren’t accurate as absolute, but are as  
relative sizes




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 Nicolas Noben

Sent: Friday, March 27, 2009 5:23 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]Where does my SWF gain it's weight?



Yeah make a search through all the files for 'Embed' and make sure  
that everything that is embedded really needs to be. That's the  
biggest hog.


Also make sure your final build is published using 'Export release  
build'. You will save a fair bit at release time.


But it's mostly assets' fault. Unless you've added plenty of custom  
components who extend default ones..


HTH

--
Nicolas Noben
P http://noben.org
B http://idletogether.com
T http://twitter.com/keyle

--- In flexcoders@yahoogroups.com, dorkie dork from dorktown  
 wrote:

>
> Is there a tool or a way to find out what classes are making my  
SWF fat?

>
> It's been a few months since I last checked my SWF file size and  
it's 1.2mb.
> It used to be 600kb and I've made so many changes since then I  
don't know

> where the weight is coming in.
>













Re: [flexcoders]Where does my SWF gain it's weight?

2009-04-01 Thread Guy Morton
If you have multiple modules in the compile, am I right to think the  
link report only shows the info for the last module built?


That's how it seems, but perhaps I'm just missing something...

Guy

On 01/04/2009, at 4:32 PM, Alex Harui wrote:



Yeah, you can specify a more sophisticated path to get it to show up  
elsewhere.  There are some third-party link-report viewing tools  
available as well.  I don’t recall the names.




One final tip:  Don’t link in Donuts.SWC ;-)



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 dorkie dork from dorktown

Sent: Tuesday, March 31, 2009 10:17 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]Where does my SWF gain it's weight?



Hi Alex,

Thanks,

FFR - "–link-report outputfile.xml", shows up in bin-debug.

On Sat, Mar 28, 2009 at 11:15 AM, Alex Harui  wrote:

Use –link-report.  The sizes aren’t accurate as absolute, but are as  
relative sizes




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 Nicolas Noben

Sent: Friday, March 27, 2009 5:23 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]Where does my SWF gain it's weight?



Yeah make a search through all the files for 'Embed' and make sure  
that everything that is embedded really needs to be. That's the  
biggest hog.


Also make sure your final build is published using 'Export release  
build'. You will save a fair bit at release time.


But it's mostly assets' fault. Unless you've added plenty of custom  
components who extend default ones..


HTH

--
Nicolas Noben
P http://noben.org
B http://idletogether.com
T http://twitter.com/keyle

--- In flexcoders@yahoogroups.com, dorkie dork from dorktown  
 wrote:

>
> Is there a tool or a way to find out what classes are making my  
SWF fat?

>
> It's been a few months since I last checked my SWF file size and  
it's 1.2mb.
> It used to be 600kb and I've made so many changes since then I  
don't know

> where the weight is coming in.
>










Re: [flexcoders] VSlider direction?

2009-03-30 Thread Guy Morton

Does slider.rotation = 180 do what you want?


On 31/03/2009, at 9:20 AM, gwangdesign wrote:

I am trying to make a VSlider but in a "reversed" direction than the  
default one, i.e., making it up side down, i.e., with the maximum  
value on the bottom and the minimum value on the top.


What would be the easiest/fastest way?

One of the innovative ways (but unsuccessful) I tried was setting  
the maximum value to the "minimum" property and the minimum value to  
the "maximum" property.


Thanks.







Re: [flexcoders] Formatting on Custom Item Renderer Sticking

2009-03-29 Thread Guy Morton
itemRenderers get reused, so you need to use the dataChange event to  
ensure you set the renderer to the right state for each new set of data.


I use the creationComplete event to initialise anything that can span  
datasets, and the dataChange event to reconfigure the renderer for the  
current data.


Guy


On 30/03/2009, at 4:24 PM, valkyrie77 wrote:


Hi folks,

I have a custom item renderer (see code attached below) that looks  
at a data subset and determines whether there exist a URL in it or  
not. If there does exist a URL, the item renderer sets a new bg  
color style for itself.


The item renderer is assigned to a list. Issue is when the  
dataprovider to the list is modified and refresh, seems like the  
formatting sticks to the same cell but new information is in the cell.


Is there a clenup function i should be running on the list or  
itemrenderers after my dataprovider is refreshed?


Thanks,


http://www.adobe.com/2006/mxml";  
cornerRadius="0" width="375" height="89" borderStyle="solid"  
backgroundColor="#3E3E3E" borderColor="#00"  
creationComplete="{determineURL(data._itemTitle)}">


.hrRule
{
border-bottom: dashed 2px #0066cc;
}
.twBody
{
font-family: Arial, sans-serif;
font-size: 11px;
line-height: 18px;

}

.twSig
{
font-family: Arial, sans-serif;
font-size: 10px;
font-style: italic;
line-height: 18px;
}






fontFamily="Arial" fontSize="11" htmlText="{data._itemTitle}"  
styleName="twBody" id="itemtit"/>
fontFamily="Arial" fontSize="10" text="ago by {data._itemAuthor}"  
textAlign="right"/>
text="{msgType(data._itemType)}"/>









Re: [flexcoders] Which mobile device can run flash ?

2009-03-25 Thread Guy Morton
I'm not sure it has anything to do with app store revenue. I can write  
an app in SVG/javascript and run it in safari today on the iPhone.  
Flash support wouldn't be much different...just like a web app but  
requiring a plugin. A flash app running in safari would have no access  
to the iPhone OS capabilities, so wouldn't have to be sold via the app  
store.


The app store sells apps that run natively on the iPhone OS. Of course  
apple wants to control that, and not solely for revenue reasons - they  
also have a vested interest in keeping malware off their platform.


The reasons Flash content doesn't run in safari on the iPhone are more  
technical than political, though of course there are political angles  
to all of it.


Guy


On 26/03/2009, at 10:21 AM, Paul Andrews wrote:



I can't see Apple releasing it's sticky fingers on AppStore revenue  
too easily. Maybe we'll have a 'special' flash player that only runs  
AppStore registered applications (no, I have no insider knowledge).

- Original Message -
From: Carlos Rovira
To: flexcoders@yahoogroups.com
Sent: Wednesday, March 25, 2009 7:25 PM
Subject: Re: [flexcoders] Which mobile device can run flash ?

What happen with this announcement?

http://www.engadget.com/2009/01/31/apple-teams-up-with-adobe-for-iphone-flash-at-long-last/

anybody knows more about when we will get Flash Player for iPhone?



2009/3/25 Scott 

I can say… NOT the iPhone.. (GRUMBLE) ;)


 I did see a list on Adobe’s website a while back but I couldn’t  
find it when I went to look just now.  Perhaps they weren’t updating  
it?  Or perhaps they are and I just couldn’t find it again…



 Scott


From: flexcoders@yahoogroups.com  
[mailto:flexcod...@yahoogroups.com]on Behalf Of Tom Chiverton

Sent: Wednesday, March 25, 2009 6:23 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Which mobile device can run flash ?


On Wednesday 25 Mar 2009, itdanny2002 wrote:
> Do you know which mobile can run flash
> at this moment ? Or, How can I do that ?

If not aware of any that run Flash v10, but there are many that run  
v9. There

isn't a definitive list, not even per-vendor, as far as I know.

--
Tom Chiverton
Helping to completely lead viral intuitive bricks-and-clicks slick e- 
markets

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.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.








Re: [flexcoders] Flex 2.0.1 constraint based layout

2009-03-22 Thread Guy Morton
Why is it inside a HBox container? Take it out of the HBox container  
and see if that helps.


On 23/03/2009, at 3:45 PM, Annette Spooner wrote:



Hi,

I am trying to use constraint based layout to have a datagrid adjust  
in size as the browser window is resized. I have put together a  
simplified example below, but it is not working. When the  
application is first displayed, the datagrid does not stretch to  
fill the width or height of the window. When I resize the window to  
be smaller then the datagrid, the datagrid simply disappears off the  
edge. Can you tell me what I am doing wrong please?


Thanks,

Annette







http://www.adobe.com/2006/mxml";

layout="absolute"

horizontalAlign="left"

horizontalScrollPolicy="off"

creationComplete="initApp();">













dataProvider="{citiesView1}" editable="true" rowCount="5"  
width="100%" height="100%" left="0" right="0" top="0" bottom="0">




 
editable="false"/>


 
editable="true"  />


 
editable="true"/>


 
editable="false"/>


 
editable="true"  />


 
editable="true"/>














package ascomponents

{

public class City

{

public var name:  
String;


public var state:  
String;


public var  
postcode:String;


public var  
country:String;




public function  
City(n:String, s:String, p:String, c:String)


{

name  
= n;


 
state = s;


 
postcode = p;


 
country = c;


}

}

}







Re: [flexcoders] Hiding Swf on a website

2009-03-13 Thread Guy Morton
Rick, I'm surprised setting the content-type to application/octet- 
stream worked...does it work in all browsers/OSes? Do you have to set  
the content type in the wrapper if you use that approach? If you don't  
it'd surprise me if all browsers were smart enough to do the right  
thing with the content.


On 14/03/2009, at 10:01 AM, Rick Winscot wrote:

> Christophe – not sure if this helps... but I put together a sample  
> of one approach that might work for you.
>
> http://www.quilix.com/node/31
>
> Rick Winscot
>
>
>
> On 3/13/09 7:08 AM, "christophe_jacquelin"  > wrote:
>
>>
>>
>>
>> Hello,
>>
>> How to hide swf files on a website, preventing their copy by a  
>> software like httptrack?
>>
>> Thank you,
>> Christophe,
>>
>>
>>
>>
>>
>
> 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:flexcoders-dig...@yahoogroups.com 
mailto:flexcoders-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

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



Re: [flexcoders] Hiding Swf on a website

2009-03-13 Thread Guy Morton

What is your actual objective, and why?

There's no way to stop users doing whatever they like with your files  
once they have them on their pc, so your only solution is to prevent  
them getting the file in the first place.


Are you going to allow access to the public? Your only hope is to  
obscure the nature of your content slightly (eg removing the file  
extension and serving it via a cgi script with correct content-type  
headers would make the files obscure to windows users).


If not, some kind of http auth could protect your content.

Guy



On 13/03/2009, at 10:08 PM, christophe_jacquelin wrote:


Hello,

How to hide swf files on a website, preventing their copy by a  
software like httptrack?


Thank you,
Christophe,







Re: [flexcoders] Re: flex + mysql unicode support

2009-03-12 Thread Guy Morton
We have an app with multilingual support and we just use the default  
system font. I haven't yet come across a character that Flash couldn't  
display. We get our text from mysql. You do have to fiddle with mysql  
a bit to make it talk unicode (set names=utf8 from memory)



On 13/03/2009, at 12:33 PM, Gordon Smith wrote:



Don't some device fonts (e.g., Arial on Windows?) include glyphs for  
large portions of Unicode?




BTW, I just wanted to point out that the String type in AS is  
Unicode, so all text in Flex apps is Unicode.




Gordon Smith

Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]  
On Behalf Of Alan K

Sent: Thursday, March 12, 2009 11:20 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: flex + mysql unicode support



>Can you please provide information on this?

Google embedding fonts with Flex. But keep in mind that the entire  
Unicode

library is something like 30 megs.

Also Google about localizing flex apps.

Alan








Re: [flexcoders] Re: Compressing messages/data: What binary/compression formats are workable in Flex?

2009-03-06 Thread Guy Morton
You don't change the content-type to reflect gzip compression being on  
on the server. Gzip is a content-encoding and the browser should  
seamlessly decode it. You do need to set the HTTP headers to tell the  
browser is gzipped though, eg here's a gzip-encoded response example:


Request
Accept  */*
Referer http://www.theage.com.au/
User-Agent	Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us)  
AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

Response
Accept-Ranges   bytes
Cache-Control   max-age=3600, public, proxy-revalidate
Connection  Keep-Alive
Content-Encodinggzip
Content-Length  1737
Content-Typeapplication/x-javascript
DateFri, 06 Mar 2009 22:37:15 GMT
Etag"17befe1-111d-775906c0"
Expires Fri, 06 Mar 2009 23:37:15 GMT
Keep-Alive  timeout=2, max=100
Last-Modified   Thu, 05 Mar 2009 07:53:39 GMT
P3p	policyref="http://f2.com.au/w3c/p3p.xml";, CP="CAO DSP LAW CURa  
ADMa DEVa TAIa PSAa PSDa IVAi IVDi OUR IND PHY ONL UNI PUR FIN COM NAV  
INT DEM CNT PRE GOV"

Server  Apache
VaryAccept-Encoding,User-Agent


On 07/03/2009, at 9:30 AM, David Adams wrote:

On Sat, Mar 7, 2009 at 9:24 AM, Maciek Sakrejda  
 wrote:
> I think (some) people were asking about the back-end to try to  
help you

> configure http compression, which is done differently with different
> servers.

Oh. Well, how nice for everyone that I went on at length about
completely unrelated details ;-)

On the server side, I've had to bolt on a compressor so all I'd really
like to know I suppose is what MIME type such files arrive with from
another server when everything is working. I've looked up the MIME
codes and am not trying to be lazy - I ended up with my files
automatically downloading, so I figured I'd ask other people what is
actually working for them.

Thanks!






Re: [flexcoders] Re: Compressing messages/data: What binary/compression formats are workable in Flex?

2009-03-05 Thread Guy Morton

You've still managed to avoid telling us about your back-end setup.

Tell us more about that and we could probably be of more assistance.  
No good me suggesting stuff that works for apache on linux to find  
that you're running openVMS...



On 06/03/2009, at 4:12 PM, David Adams wrote:

On Fri, Mar 6, 2009 at 11:55 AM, Guy Morton   
wrote:


> JSON isn't binary but is more compact than XML. OTOH, parsing it  
may not be

> as quick as XML.

I haven't tested it yet in the Flash player but the post I linked to
earlier claimed String.split (native to the player) is considerably
faster than the native XML parser - at least in some cases. That's not
hard to imagine, really. Either JSON or XML are text - both of which
should benefit - even quite dramatically - from compression.

> I wouldn't be manually zipping and unzipping data - a better idea  
would be
> to enable GZIP on the web server and let the browser do the work  
(not that

> that is trouble-free but still...).

That sounds great and I'd like to pursue this as a few other people
have made the same observation. In my tests, the gzipping wasn't
happing in the browser prior to the data being loaded into the Flash
player. I set the MIME type on the server to "application/gzip" or
similar (I looked up the correct-sounding type at the time.)

Can anyone point me to a working example of gzipping working
'passively' but effectively? Namely, that the Flash player gets
uncompressed data even though the server sends the data compressed.
That would be ideal.

> Here: 
http://www.jamesward.com/blog/2007/12/12/blazebench-why-you-want-amf-and-blazeds/
> That should help you see what combinations are fast.

Thanks - it's a great article. The author mentions gzipping but I
haven't found the specifics. I suspect he's comparing processes
without any compression.






Re: [flexcoders] Re: Compressing messages/data: What binary/compression formats are workable in Flex?

2009-03-05 Thread Guy Morton
I find it hard to believe you are running a back end that's incapable  
of sending AMF. I thought perl was problematic for AMF...but even it  
has a solution that works...so what *are* you using on the backend?  
You running a VAX machine or something? :-)


JSON isn't binary but is more compact than XML. OTOH, parsing it may  
not be as quick as XML.


I wouldn't be manually zipping and unzipping data - a better idea  
would be to enable GZIP on the web server and let the browser do the  
work (not that that is trouble-free but still...).


Here: 
http://www.jamesward.com/blog/2007/12/12/blazebench-why-you-want-amf-and-blazeds/

That should help you see what combinations are fast.

Guy


On 06/03/2009, at 8:31 AM, David Adams wrote:

On Fri, Mar 6, 2009 at 12:48 AM, valdhor  
 wrote:

> What kind of server do you have?
>
> I was fairly sure there was an implementation of AMF for every  
server out

> there.

Nope. I can bolt in zip/unzip and a JSON encoder/decoder - but not  
AMF.


Speaing of which, I think I've asked my question badly enough that no
one thought to suggest JSON. I guess my most general question is:

"What techniques can I explore for reducing message sizes that work
efficiently in Flex?"

As I understand it:
-- AMF is native & fast.
-- JSON is not native & I'm not sure how fast it is.
-- XML is native and relatively fast...for XML.
-- Unzipping is native and fast...but not many methods are supported.
-- Custom binary protocols are fine as long as I draw the data down
into a general object or ByteArray and then parse it myself. Of
course, that means the parser is running in ActionScript - not code
compiled into the player.

Any other ideas?

Thanks, as always, for any suggestions.






Re: [flexcoders] HTTPService vs URLRequest

2009-03-05 Thread Guy Morton
One good thing about URLLoader is that you can load binary data with  
it. HTTPService doesn't seem to allow this, though I could be wrong  
about that.


On 06/03/2009, at 2:56 AM, Osman Ullah wrote:

Surprisingly, I am having a very difficult time finding any  
discussion on the advantages of using HTTPService instead of  
URLRequest. I've always used URLRequest to handle my web API calls.  
What are some of the benefits of using the HTTPService instead? I  
like URLLoader because my network libraries aren't dependant on  
flex, but I don't quite understand why Adobe makes very little  
mention of URLLoader in their Flex documentation, and also doesn't  
have any articles comparing HTTPService to URLLoader.








Re: [flexcoders] Re: try, catch, finally ...

2009-03-04 Thread Guy Morton
I guess the other thing to consider is where you are using them. If  
you put them in code that's called frequently it's probably more of a  
problem than if you are using them in code that's called occasionally.



On 05/03/2009, at 10:42 AM, Sam Lai wrote:


I thought Alex said before that exceptions don't appear for users
running the standard Flash Player (i.e. not the debug one). Hence the
user won't even know something went wrong; rather the app will
probably just enter some unknown/unusable state and effectively
freeze.

There are cases for using try-catch when there is no other option. But
when there are, e.g. testing the type of a variable before casting it
or using a fault handler, try-catch should not be used. That could
make the code a bit convoluted though, so in cases where errors can
occur at many points (e.g. processing data files from an external
server) a try-catch may be preferable, not only for code style, but
also because you are unlikely to be able to pre-empt and mitigate all
the errors that might occur.

2009/3/5 Weyert de Boer :
> I respectfully disagree with not handling exceptions and let them  
raised

> in the player. Of course, eating exceptions is terribly bad. Yes,
> raising exceptions because user input is bad is a long stretch.
>
>> Hi Kevin,
>>
>> Try-Catch blocks are an absolute necessity as without them, you are
>> putting the operation of your software into the hands of user input
>> errors, http errors, unintended consequences as well as the  
myriad of

>> things that exist outside the "Happy Path".
>>
>> I respectfully disagree.  IMHO, try-catch is only useful in rare
>> situations; like file IO in an Air app.  User input should be  
handled
>> with restict and validators and http errors should be handled  
with a

>> fault handler.  What I'm saying is that well written/tested code
>> rarely needs the overhead and verboseness of a try-catch block.  In
>> the event of un-caught errors, I personally want the Flash window  
to
>> popup.  While the dialog could be more elegant, the stack trace  
makes
>> it easier to locate the problem and fix the bug quickly.  Again,  
just

>> my opinion.
>>
>> -TH
>>
>> --- In flexcoders@yahoogroups.com, "Kevin Benz"  wrote:
>> >
>> > Try-Catch blocks are an absolute necessity as without them, you  
are
>> > putting the operation of your software into the hands of user  
input
>> > errors, http errors, unintended consequences as well as the  
myriad of
>> > things that exist outside the "Happy Path". As functions/ 
methods only

>> > give you one return object, it is common practice to throw custom
>> > errors/exceptions as they are a great mechanism for handling  
dynamic

>> > environments.
>> >
>> >
>> >
>> > To answer your second question about a try-catch without  
statements in
>> > the catch block. If this method is nested inside of another try- 
catch
>> > block, then an exception here will be swallowed and not be  
caught in the

>> > calling objects try-catch.
>> >
>> >
>> >
>> > KFB
>> >
>> >
>> >
>> > From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com 
] On

>> > Behalf Of SJF
>> > Sent: Tuesday, March 03, 2009 6:54 PM
>> > To: flexcoders
>> > Subject: [flexcoders] try, catch, finally ...
>> >
>> >
>> >
>> > Technically, it's good practice/professional to use try-catch- 
finally

>> > blocks in your actionscript logic. This ensures a robust, easily
>> > debugg-able application.
>> >
>> > However, can anyone comment if they actually use try-catch- 
finally or

>> > whether anyone is for or against it's use.
>> >
>> > I ask because I've received an application (which streams  
vidoe) that
>> > was blowing out numerous users CPUs to 100%. Upon further  
investigation,
>> > it appears that a netstream event is firing 20 times a second,  
and
>> > within the listener (listener function that is) for the event,  
there is
>> > a try-catch-finally block. I removed the try-catch-finally and  
CPU usage

>> > halved on my machine.
>> >
>> > Anyone care to comment for or against try-catch-finally and  
it's use.

>> >
>> >
>> >
>> > Steve.
>> >
>> >
>> >
>> >
>> > --
>> > This message has been scanned for viruses and
>> > dangerous content by MailScanner  , and is

>> >
>> > believed to be clean.
>> >
>>
>>
>
>
>
> 
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/ 
flexcodersFAQ.txt

> Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo 
! Groups Links

>
>
>
>






Re: [flexcoders] Modules Communication

2009-03-02 Thread Guy Morton
Have you read the section "Using interfaces for module communication"  
in the docs? That's been working for me.



Re: [flexcoders] Re: Help the Flex Team by taking our survey!

2009-03-02 Thread Guy Morton
in the multiple choice questions. it's not that it's wrong per se,  
just not very intuitive.


On 03/03/2009, at 4:52 AM, Matt Chotin wrote:


Which questions do you see that?


On 2/28/09 9:43 PM, "Guy Morton"  wrote:





it doesn't accept something in the "other" section to be an answer  
in some cases, which is a bit counter-intuitive.



On 01/03/2009, at 10:01 AM, djhatrick wrote:


Matt, i had a problem with the survey, it wouldn't let me finish it,
it said my answer was needed on a question i answered already.

--- In flexcoders@yahoogroups.com <mailto:flexcoders 
%40yahoogroups.com> , Matt Chotin  wrote:

>
> That's what the "Other" section is for, help us figure out what
we're missing :-) So far according to the results I've looked at
we're not missing a huge swath though...
>
>
> On 2/28/09 2:00 PM, "Guy Morton"  wrote:
>
>
>
>
> Your survey is a bit frustrating. surely I can't be the only one to
have used SVG before using Flex? Also, you list Ruby as a back end
tech but not perl - I bet there's more perl serving data to Flex than
there is Ruby...
>&! nbsp;
>
> On 28/02/2009, at 6:01 AM, flex_coders wrote:
>
> Help the Flex team better understand who you are and what you're
> working on. This information is incredibly valuable to us. Please  
take

> 20 m! inutes and fill out our survey:
> http://www.surveymonkey.com/s.aspx?sm=vCfoIoZ0_2bLG6CTgVcntsVA_3d_3d
>
> Thanks for your time and help!
>












Re: [flexcoders] Re: Help the Flex Team by taking our survey!

2009-02-28 Thread Guy Morton
it doesn't accept something in the "other" section to be an answer in  
some cases, which is a bit counter-intuitive.



On 01/03/2009, at 10:01 AM, djhatrick wrote:



Matt, i had a problem with the survey, it wouldn't let me finish it,
it said my answer was needed on a question i answered already.

--- In flexcoders@yahoogroups.com, Matt Chotin  wrote:
>
> That's what the "Other" section is for, help us figure out what
we're missing :-) So far according to the results I've looked at
we're not missing a huge swath though...
>
>
> On 2/28/09 2:00 PM, "Guy Morton"  wrote:
>
>
>
>
> Your survey is a bit frustrating. surely I can't be the only one to
have used SVG before using Flex? Also, you list Ruby as a back end
tech but not perl - I bet there's more perl serving data to Flex than
there is Ruby...
>
>
> On 28/02/2009, at 6:01 AM, flex_coders wrote:
>
> Help the Flex team better understand who you are and what you're
> working on. This information is incredibly valuable to us. Please  
take

> 20 m! inutes and fill out our survey:
> http://www.surveymonkey.com/s.aspx?sm=vCfoIoZ0_2bLG6CTgVcntsVA_3d_3d
>
> Thanks for your time and help!
>







Re: [flexcoders] Help the Flex Team by taking our survey!

2009-02-28 Thread Guy Morton
Your survey is a bit frustrating. surely I can't be the only one to  
have used SVG before using Flex? Also, you list Ruby as a back end  
tech but not perl - I bet there's more perl serving data to Flex than  
there is Ruby...



On 28/02/2009, at 6:01 AM, flex_coders wrote:


Help the Flex team better understand who you are and what you're
working on. This information is incredibly valuable to us. Please take
20 minutes and fill out our survey:
http://www.surveymonkey.com/s.aspx?sm=vCfoIoZ0_2bLG6CTgVcntsVA_3d_3d

Thanks for your time and help!






Re: [flexcoders] New RIA Jobs Mailing List

2009-02-28 Thread Guy Morton

Well done! FlexJobs was useless.

On 28/02/2009, at 8:01 AM, Kelly wrote:


Hi

I got sick of Flex Jobs mailing list never updating so I started  
another one.


http://tech.groups.yahoo.com/group/riajobs/


I sent it to about 100 headhunters too so there may be some posts  
soon.




Just so you know...

--Kelly













Re: [flexcoders] Trying unsuccessfully to remove forward slash with this pattern /\// ?

2009-02-25 Thread Guy Morton
replace RETURNS the modified string, but doesn't modify the string  
itself.


try

asset = asset.replace(pattern,"");

This has caught me more than once too.

Guy

On 26/02/2009, at 7:12 AM, Jeremy P. McKay wrote:


package {
import flash.display.Sprite;

public class regExp extends Sprite
{
public function regExp()
{
var asset:String = new String;
asset = "Tissue/Cell";
var pattern:RegExp = /\//g;
asset.replace(pattern, "");
trace (asset + " ASSET " + pattern );
}
}
}

Using the above code my trace is:

Tissue/Cell ASSET /\//g

In perl the forward slash would be gone.

Any help appreciated.







Re: [flexcoders] Re: perl and AMF

2009-02-23 Thread Guy Morton

I used Storable::AMF, which supports AMF3.

On 24/02/2009, at 1:25 AM, Tom Chiverton wrote:


On Thursday 19 Feb 2009, Rob Kunkle wrote:
> I think you can force flex to use AMF0.

See RemoteObjectAMF0 from renaun.com

--  
Tom Chiverton

Helping to collaboratively grow appliances




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] ImageSnapshot sandbox problem

2009-02-17 Thread Guy Morton

Hi Tracy

Yes, a server-side proxy is simple enough to make, I just wondered if  
there was something Flex-specific that I should know about.


The fact that using a proxy circumvents the sandbox for this issue  
kinda defeats the whole security mechanism if you ask me.


Why should Flash developers have to jump through hoops that a "web  
1.0" developer wouldn't have to bother with? eg I could slurp an image  
off any public web site I like using perl, send it to my back end and  
read it using netpbm and process it's bits any way I care to. Why  
would I bother using Flash to do that?


*sigh*

Guy


On 18/02/2009, at 11:42 AM, Tracy Spratt wrote:



Hey, Guy.



You can read up on the rationale for all this security crap if you  
really want to know.  Adobe has whitepapers out the wazoo.  I say  
apply the death penalty to the jerks who make it necessary.




Proxy servers are not specific Flex/Flash technologies, but rather  
depend on the server platform/language  I saw a php one recently,  
and probably google would reveal examples for other platforms.




I just tried google and was dissappointed not to find more examples  
readily.  Lots of references to proxies, but few concrete examples.   
Probably because pros in those languages consider it a trivial  
exercise.




Next time I see one, I will start a collection.



This has not been an issue for me because all of my app to date have  
had a server-side business logic tier, which does all my external  
data access.




Tracy Spratt
Lariat Services

Flex development bandwidth available

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]  
On Behalf Of Guy Morton

Sent: Tuesday, February 17, 2009 6:47 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] ImageSnapshot sandbox problem



Hi Alex



Mm. ok... but if I were a bad guy wouldn't *I* just use a proxy  
server? :-)




It seems a bit of a stretch, frankly, that allowing flash to read  
the bitmap data constitutes a risk beyond that that simply rendering  
it poses, but I guess arguing that point won't fix my problem  
anytime soon.




When you say we could get around this using a proxy server, are you  
referring to some Flex/flash specific tech? Or are you just  
suggesting we whip up a web service that funnels the tile requests  
from our server to the original host?




We had considered that, but are not all that keen to do it that way  
as it increases server load and will increase round-trip times.




Is there really no other way?



Guy





On 18/02/2009, at 10:22 AM, Alex Harui wrote:





You can load foreign content, but you can’t touch it.  There are  
potential security issues involving sniffing through images of  
charts and what not.




Normally you get around this using a proxy server



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 Guy Morton

Sent: Tuesday, February 17, 2009 4:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ImageSnapshot sandbox problem



Hi all

I'm using Virtual Earth and the UMap component (afcomponents.com) to
display maps in my app. I want to use ImageSnapshot to capture the map
(and my overlays) and allow the user to save it to disk etc. However,
when I run the code on the server I get the dreaded sandbox issue:

SecurityError: Error #2122: Security sandbox violation:
BitmapData.draw: http://www.blergh.com/bin/myapp.swf cannot 
accesshttp://us.maps1.yimg.com/us.tile.maps.yimg.com/tl?v=4.2&md=2&x=0&y=0&z=2&r=1
. A policy file is required, but the checkPolicyFile flag was not set
when this media was loaded.
at flash.display::BitmapData/draw()
at mx.graphics::ImageSnapshot$/captureBitmapData()
at mx.graphics::ImageSnapshot$/captureImage()
at com.blergh.control::Map/saveSnapshot()
at com.blergh.view::SnapshotDialogue/generate()
at com.blergh.view::SnapshotDialogue/ 
___SnapshotDialogue_Button2_click()


Now, first of all I don't really understand why if I can LOAD the maps
in the first place (which I can) I'm not then able to copy them.

Secondly, MS doesn't put crossdomain.xml files on it's tile servers,
so does that mean I'm up the proverbial creek without a paddle?

Guy











Re: [flexcoders] ImageSnapshot sandbox problem

2009-02-17 Thread Guy Morton

Hi Alex

Mm. ok... but if I were a bad guy wouldn't *I* just use a proxy  
server? :-)


It seems a bit of a stretch, frankly, that allowing flash to read the  
bitmap data constitutes a risk beyond that that simply rendering it  
poses, but I guess arguing that point won't fix my problem anytime soon.


When you say we could get around this using a proxy server, are you  
referring to some Flex/flash specific tech? Or are you just suggesting  
we whip up a web service that funnels the tile requests from our  
server to the original host?


We had considered that, but are not all that keen to do it that way as  
it increases server load and will increase round-trip times.


Is there really no other way?

Guy


On 18/02/2009, at 10:22 AM, Alex Harui wrote:



You can load foreign content, but you can’t touch it.  There are  
potential security issues involving sniffing through images of  
charts and what not.




Normally you get around this using a proxy server



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 Guy Morton

Sent: Tuesday, February 17, 2009 4:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ImageSnapshot sandbox problem



Hi all

I'm using Virtual Earth and the UMap component (afcomponents.com) to
display maps in my app. I want to use ImageSnapshot to capture the map
(and my overlays) and allow the user to save it to disk etc. However,
when I run the code on the server I get the dreaded sandbox issue:

SecurityError: Error #2122: Security sandbox violation:
BitmapData.draw: http://www.blergh.com/bin/myapp.swf cannot 
accesshttp://us.maps1.yimg.com/us.tile.maps.yimg.com/tl?v=4.2&md=2&x=0&y=0&z=2&r=1
. A policy file is required, but the checkPolicyFile flag was not set
when this media was loaded.
at flash.display::BitmapData/draw()
at mx.graphics::ImageSnapshot$/captureBitmapData()
at mx.graphics::ImageSnapshot$/captureImage()
at com.blergh.control::Map/saveSnapshot()
at com.blergh.view::SnapshotDialogue/generate()
at com.blergh.view::SnapshotDialogue/ 
___SnapshotDialogue_Button2_click()


Now, first of all I don't really understand why if I can LOAD the maps
in the first place (which I can) I'm not then able to copy them.

Secondly, MS doesn't put crossdomain.xml files on it's tile servers,
so does that mean I'm up the proverbial creek without a paddle?

Guy








[flexcoders] ImageSnapshot sandbox problem

2009-02-17 Thread Guy Morton
Hi all

I'm using Virtual Earth and the UMap component (afcomponents.com) to  
display maps in my app. I want to use ImageSnapshot to capture the map  
(and my overlays) and allow the user to save it to disk etc. However,  
when I run the code on the server I get the dreaded sandbox issue:

SecurityError: Error #2122: Security sandbox violation:  
BitmapData.draw: http://www.blergh.com/bin/myapp.swf cannot access 
http://us.maps1.yimg.com/us.tile.maps.yimg.com/tl?v=4.2&md=2&x=0&y=0&z=2&r=1 
. A policy file is required, but the checkPolicyFile flag was not set  
when this media was loaded.
at flash.display::BitmapData/draw()
at mx.graphics::ImageSnapshot$/captureBitmapData()
at mx.graphics::ImageSnapshot$/captureImage()
at com.blergh.control::Map/saveSnapshot()
at com.blergh.view::SnapshotDialogue/generate()
at com.blergh.view::SnapshotDialogue/___SnapshotDialogue_Button2_click()

Now, first of all I don't really understand why if I can LOAD the maps  
in the first place (which I can) I'm not then able to copy them.

Secondly, MS doesn't put crossdomain.xml files on it's tile servers,  
so does that mean I'm up the proverbial creek without a paddle?

Guy


Re: [flexcoders] AMF instead of XML over http?

2009-02-17 Thread Guy Morton
Yes, thanks, I knew the tools were all there, just didn't know how to  
put it all together. The post Haykel Ben Jemia sent made it all clear.


On 17/02/2009, at 10:38 PM, Peter Hall wrote:


ByteArray supports readObject() and writeObject() which read and write
objects using AMF. The ByteArray can be written to disc as a file, or
sent to a server as a variable (you may have to 7bit- or base64-encode
it). Once you have this file, you can load it into your application
using any means you like (HTTP/GET, Socket, FileReference,...).

Peter

On Tue, Feb 17, 2009 at 11:05 AM, Johannes Nel  
 wrote:
> you mean build an swf and download that and get the "compiled in  
data" from

> that
>
> On Tue, Feb 17, 2009 at 12:45 PM, Guy Morton   
wrote:

>>
>> Is it possible to simply transfer data over http that has been  
encoded
>> in AMF format, ie to bypass all the other remoting stuff and just  
use
>> AMF as one might use XML? I've been looking at the docs and  
online and
>> all the docs seem to assume you want the whole remoting thing  
with a
>> gateway etc. I want to keep using http and just change the data  
format
>> to AMF3. Is this possible? If so, is there a right way to do it,  
and

>> can anyone point me in the right direction?
>>
>> TIA
>>
>> Guy
>
>
>
> --
> j:pn
> \\no comment
>






Re: [flexcoders] AMF instead of XML over http?

2009-02-17 Thread Guy Morton
No, I just meant to encode my data in AMF format instead of XML for  
faster/more compact transfer over http.


On 17/02/2009, at 10:05 PM, Johannes Nel wrote:

you mean build an swf and download that and get the "compiled in  
data" from that



On Tue, Feb 17, 2009 at 12:45 PM, Guy Morton   
wrote:

Is it possible to simply transfer data over http that has been encoded
in AMF format, ie to bypass all the other remoting stuff and just use
AMF as one might use XML? I've been looking at the docs and online and
all the docs seem to assume you want the whole remoting thing with a
gateway etc. I want to keep using http and just change the data format
to AMF3. Is this possible? If so, is there a right way to do it, and
can anyone point me in the right direction?

TIA

Guy




--
j:pn
\\no comment






Re: [flexcoders] AMF instead of XML over http?

2009-02-17 Thread Guy Morton

Thank you...that's exactly what I was missing!


On 17/02/2009, at 10:05 PM, Haykel BEN JEMIA wrote:



http://www.roboncode.com/articles/144

Haykel Ben Jemia

Allmas
Web & RIA Development
http://www.allmas-tn.com




On Tue, Feb 17, 2009 at 11:45 AM, Guy Morton   
wrote:

Is it possible to simply transfer data over http that has been encoded
in AMF format, ie to bypass all the other remoting stuff and just use
AMF as one might use XML? I've been looking at the docs and online and
all the docs seem to assume you want the whole remoting thing with a
gateway etc. I want to keep using http and just change the data format
to AMF3. Is this possible? If so, is there a right way to do it, and
can anyone point me in the right direction?

TIA

Guy








[flexcoders] AMF instead of XML over http?

2009-02-17 Thread Guy Morton
Is it possible to simply transfer data over http that has been encoded  
in AMF format, ie to bypass all the other remoting stuff and just use  
AMF as one might use XML? I've been looking at the docs and online and  
all the docs seem to assume you want the whole remoting thing with a  
gateway etc. I want to keep using http and just change the data format  
to AMF3. Is this possible? If so, is there a right way to do it, and  
can anyone point me in the right direction?

TIA

Guy


Re: [flexcoders] Re: perl and AMF

2009-02-17 Thread Guy Morton

Yes, that project was last updated over 4 years ago.

I'm not sure I want to invest time in developing a solution based on  
something that's not being actively developed (and that's assuming it  
even works with modern flash players).


Guy


On 17/02/2009, at 8:00 PM, sunild99 wrote:


I haven't used this but there is a Perl AMF library:

http://www.simonf.com/flap/

Perhaps this is the ancient implementation you're referring to.

--- In flexcoders@yahoogroups.com, Guy Morton  wrote:
>
> Is anyone using perl as a backend for remoting?
>
> I can't find a complete implementation that isn't fairly ancient,  
but

> perhaps i'm looking in the wrong places...
>
> Guy
>







  1   2   3   >