Re: [flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread hank williams
I think it is very good news, but I dont think its good news if you expect
to be doing stuff with flex.

http://whydoeseverythingsuck.com/2009/10/adobe-announces-flash-can-build-iphone.html

In summary, given that there has been no mention of flex in the
announcement, and the focus in the announcement on performance, I suspect
flex is either not supported, or for performance reasons, not encouraged at
this time, again for performance reasons.

Hank

On Mon, Oct 5, 2009 at 4:33 PM, napearson99 napearso...@yahoo.com wrote:



 I hope someone from adobe can chime in here.

 Here's my take. Flex is just a framework built on AS3. This middleware
 compiler should be able to compile Flex AS3 code into native iPhone code no
 problem.

 The new framework should also help reduce the weight of your app and make
 it run faster.

 This is really great news. Our skills just got a lot more valuable today.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 oneworld95 oneworl...@... wrote:
 
  You're welcome. My boss owns an iPhone and wants everything we build to
 run on it. So I've been hunting high and low for any way to run Flash on the
 iPhone without a jailbreak.
 
  Some wording from the press release caught my eye: The Apple iPhone SDK
 license terms do not allow runtime interpreted code, so Adobe is not able to
 deliver Flash Player in Safari on the iPhone without support from Apple.
 Applications for the iPhone built with Adobe Flash Professional CS5 do not
 include any runtime interpreted code.
 
  So the apps built with CS5 will not include any runtime interpreted
 code. Not sure what that means for Flex developers. Is that
 good/bad/indifferent?
 
  - Alex C
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Vivian
 Richard kanpsack@ wrote:
  
   Wow!!! Thanks for sharing the news. I also found this link in
   that news :
  
   http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
  
  
  
  
   On Mon, Oct 5, 2009 at 12:25 PM, oneworld95 oneworld95@ wrote:
  
   
   
This Adobe press release suggests that developers can build Flash
 apps
(Flash CS5) for the iPhone:
   
 http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en
   
Does this mean Flash Builder 4/Flex 4 will support the iPhone at some
point?
   
- Alex C
   
   
   
  
 

  




-- 
blog: whydoeseverythingsuck.com


[flexcoders] Is Adobe Customer Support (or worse yet adobe) falling apart

2009-09-11 Thread hank williams
I wrote a blog post about this today (
http://whydoeseverythingsuck.com/2009/09/is-adobe-falling-apart.html)

but to summarize, it appears that adobe customer service  is essentially
totally unavailable. I tried several times to reach them for an urgent
issue, and the last time waited on hold for 3 hours (after which point my
cordless phone ran out of steam) with no answer, just hold music.

THREE HOURS

They also dont respond to their support email address.

This can't mean good things are happening at adobe. Anyone have any insight?

Hank
-- 
blog: whydoeseverythingsuck.com


Re: [flexcoders] Is Adobe Customer Support (or worse yet adobe) falling apart

2009-09-11 Thread hank williams
Lets conduct an experiment. What number are you calling (we've called 3
times so far).

On Fri, Sep 11, 2009 at 12:00 PM, Paul Andrews p...@ipauland.com wrote:



 hank williams wrote:
 
  I wrote a blog post about this today
  (http://whydoeseverythingsuck.com/2009/09/is-adobe-falling-apart.html)
 
  but to summarize, it appears that adobe customer service is
  essentially totally unavailable. I tried several times to reach them
  for an urgent issue, and the last time waited on hold for 3 hours
  (after which point my cordless phone ran out of steam) with no answer,
  just hold music.
 
  THREE HOURS
 
  They also dont respond to their support email address.
 
  This can't mean good things are happening at adobe. Anyone have any
  insight?
 I can't say, but to stay on hold for three hours? It's ten minutes max
 for me, then try again.
 
  Hank
  --
  blog: whydoeseverythingsuck.com http://whydoeseverythingsuck.com
  




-- 
blog: whydoeseverythingsuck.com


Re: [flexcoders] Re: Is Adobe Customer Support (or worse yet adobe) falling apart

2009-09-11 Thread hank williams
what country are you in... and if US, what number did you dial?

On Fri, Sep 11, 2009 at 1:06 PM, turbo_vb timh...@aol.com wrote:



 Sounds like you're not having very good luck Hank. As an interesting
 coincidence, I had to contact Adobe customer service today to resolve an
 issue. I just switched from PC to Mac and at the same time upgraded from CS3
 to CS4. My issue was that the upgrade wouldn't recognize my previous
 product's serial number, because it was on a different platform. I went to
 the Adobe site, clicked the support button, selected my country and called
 the 800 number. They answered after 5 minutes. Pretty good compared to 3
 hours. The initial rep took my info and had to transfer me to another rep to
 resolve my issue. The second time on hold took 7 minutes. The second rep was
 able to assist me ad resolve my issue. The entire call took 22 minutes;
 which for something like this is completely reasonable. Sorry that you
 didn't have the same experience. But, for me, I couldn't expect any better
 customer service.

 -TH


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, hank
 williams hank...@... wrote:
 
  Lets conduct an experiment. What number are you calling (we've called 3
  times so far).
 
  On Fri, Sep 11, 2009 at 12:00 PM, Paul Andrews p...@... wrote:
 
  
  
   hank williams wrote:
   
I wrote a blog post about this today
(
 http://whydoeseverythingsuck.com/2009/09/is-adobe-falling-apart.html)
   
but to summarize, it appears that adobe customer service is
essentially totally unavailable. I tried several times to reach them
for an urgent issue, and the last time waited on hold for 3 hours
(after which point my cordless phone ran out of steam) with no
 answer,
just hold music.
   
THREE HOURS
   
They also dont respond to their support email address.
   
This can't mean good things are happening at adobe. Anyone have any
insight?
   I can't say, but to stay on hold for three hours? It's ten minutes max
   for me, then try again.
   
Hank
--
blog: whydoeseverythingsuck.com http://whydoeseverythingsuck.com
  
  
 
 
 
  --
  blog: whydoeseverythingsuck.com
 

  




-- 
blog: whydoeseverythingsuck.com


Re: [flexcoders] Re: Is Adobe Customer Support (or worse yet adobe) falling apart

2009-09-11 Thread hank williams
By the way, adobe admits there is a problem, so if you got that kind of
response, I promise it is not normal.

see: http://www.adobe.com/support/open_letter_to_adobe_customers/

On Fri, Sep 11, 2009 at 1:09 PM, hank williams hank...@gmail.com wrote:

 what country are you in... and if US, what number did you dial?


 On Fri, Sep 11, 2009 at 1:06 PM, turbo_vb timh...@aol.com wrote:



 Sounds like you're not having very good luck Hank. As an interesting
 coincidence, I had to contact Adobe customer service today to resolve an
 issue. I just switched from PC to Mac and at the same time upgraded from CS3
 to CS4. My issue was that the upgrade wouldn't recognize my previous
 product's serial number, because it was on a different platform. I went to
 the Adobe site, clicked the support button, selected my country and called
 the 800 number. They answered after 5 minutes. Pretty good compared to 3
 hours. The initial rep took my info and had to transfer me to another rep to
 resolve my issue. The second time on hold took 7 minutes. The second rep was
 able to assist me ad resolve my issue. The entire call took 22 minutes;
 which for something like this is completely reasonable. Sorry that you
 didn't have the same experience. But, for me, I couldn't expect any better
 customer service.

 -TH


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, hank
 williams hank...@... wrote:
 
  Lets conduct an experiment. What number are you calling (we've called 3
  times so far).
 
  On Fri, Sep 11, 2009 at 12:00 PM, Paul Andrews p...@... wrote:
 
  
  
   hank williams wrote:
   
I wrote a blog post about this today
(
 http://whydoeseverythingsuck.com/2009/09/is-adobe-falling-apart.html)
   
but to summarize, it appears that adobe customer service is
essentially totally unavailable. I tried several times to reach them
for an urgent issue, and the last time waited on hold for 3 hours
(after which point my cordless phone ran out of steam) with no
 answer,
just hold music.
   
THREE HOURS
   
They also dont respond to their support email address.
   
This can't mean good things are happening at adobe. Anyone have any
insight?
   I can't say, but to stay on hold for three hours? It's ten minutes max
   for me, then try again.
   
Hank
--
blog: whydoeseverythingsuck.com http://whydoeseverythingsuck.com
  
  
 
 
 
  --
  blog: whydoeseverythingsuck.com
 

  




 --
 blog: whydoeseverythingsuck.com




-- 
blog: whydoeseverythingsuck.com


Re: [flexcoders] Re: Is Adobe Customer Support (or worse yet adobe) falling apart

2009-09-11 Thread hank williams
Starting now. I dont have 3 hours again but lets see how far we get...

On Fri, Sep 11, 2009 at 1:19 PM, turbo_vb timh...@aol.com wrote:



 US - 800-833-6687.


 -TH

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, hank
 williams hank...@... wrote:
 
  By the way, adobe admits there is a problem, so if you got that kind of
  response, I promise it is not normal.
 
  see: http://www.adobe.com/support/open_letter_to_adobe_customers/
 
  On Fri, Sep 11, 2009 at 1:09 PM, hank williams hank...@... wrote:
 
   what country are you in... and if US, what number did you dial?
  
  
   On Fri, Sep 11, 2009 at 1:06 PM, turbo_vb timh...@... wrote:
  
  
  
   Sounds like you're not having very good luck Hank. As an interesting
   coincidence, I had to contact Adobe customer service today to resolve
 an
   issue. I just switched from PC to Mac and at the same time upgraded
 from CS3
   to CS4. My issue was that the upgrade wouldn't recognize my previous
   product's serial number, because it was on a different platform. I
 went to
   the Adobe site, clicked the support button, selected my country and
 called
   the 800 number. They answered after 5 minutes. Pretty good compared to
 3
   hours. The initial rep took my info and had to transfer me to another
 rep to
   resolve my issue. The second time on hold took 7 minutes. The second
 rep was
   able to assist me ad resolve my issue. The entire call took 22
 minutes;
   which for something like this is completely reasonable. Sorry that you
   didn't have the same experience. But, for me, I couldn't expect any
 better
   customer service.
  
   -TH
  
  
   --- In flexcoders@yahoogroups.com 
   flexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.com, hank
   williams hank777@ wrote:
   
Lets conduct an experiment. What number are you calling (we've
 called 3
times so far).
   
On Fri, Sep 11, 2009 at 12:00 PM, Paul Andrews paul@ wrote:
   


 hank williams wrote:
 
  I wrote a blog post about this today
  (
   http://whydoeseverythingsuck.com/2009/09/is-adobe-falling-apart.html)
 
  but to summarize, it appears that adobe customer service is
  essentially totally unavailable. I tried several times to reach
 them
  for an urgent issue, and the last time waited on hold for 3
 hours
  (after which point my cordless phone ran out of steam) with no
   answer,
  just hold music.
 
  THREE HOURS
 
  They also dont respond to their support email address.
 
  This can't mean good things are happening at adobe. Anyone have
 any
  insight?
 I can't say, but to stay on hold for three hours? It's ten minutes
 max
 for me, then try again.
 
  Hank
  --
  blog: whydoeseverythingsuck.com 
 http://whydoeseverythingsuck.com


   
   
   
--
blog: whydoeseverythingsuck.com
   
  
  
  
  
  
  
   --
   blog: whydoeseverythingsuck.com
  
 
 
 
  --
  blog: whydoeseverythingsuck.com
 

  




-- 
blog: whydoeseverythingsuck.com


Re: [flexcoders] Re: Is Adobe Customer Support (or worse yet adobe) falling apart

2009-09-11 Thread hank williams
Whether or not you answer the phone cant be issue dependent. And we are
talking about customer service issues not support issues. Customer service
(issues like installation serial numbers and such) should be swift. After
all its like taking someone's money and then not delivering the product. Its
almost like stealing. The product is not usable without the issue being
resolved.

On Fri, Sep 11, 2009 at 1:46 PM, Magnus Lassi magnus.la...@gmail.comwrote:



 It may depend on the issue you have. You may be more successful if you
 reach out to the user group manager of an Adobe group of the area you have a
 problem with and see if they can get a point of contact at Adobe.

 I've had nothing but great experience dealing with customer support but all
 my issues have so far been more complex that requires SDK changes or
 similar.


 On Fri, Sep 11, 2009 at 12:28 PM, hank williams hank...@gmail.com wrote:



 Starting now. I dont have 3 hours again but lets see how far we get...


 On Fri, Sep 11, 2009 at 1:19 PM, turbo_vb timh...@aol.com wrote:



 US - 800-833-6687.


 -TH

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, hank
 williams hank...@... wrote:
 
  By the way, adobe admits there is a problem, so if you got that kind of
  response, I promise it is not normal.
 
  see: http://www.adobe.com/support/open_letter_to_adobe_customers/
 
  On Fri, Sep 11, 2009 at 1:09 PM, hank williams hank...@... wrote:
 
   what country are you in... and if US, what number did you dial?
  
  
   On Fri, Sep 11, 2009 at 1:06 PM, turbo_vb timh...@... wrote:
  
  
  
   Sounds like you're not having very good luck Hank. As an interesting
   coincidence, I had to contact Adobe customer service today to
 resolve an
   issue. I just switched from PC to Mac and at the same time upgraded
 from CS3
   to CS4. My issue was that the upgrade wouldn't recognize my previous
   product's serial number, because it was on a different platform. I
 went to
   the Adobe site, clicked the support button, selected my country and
 called
   the 800 number. They answered after 5 minutes. Pretty good compared
 to 3
   hours. The initial rep took my info and had to transfer me to
 another rep to
   resolve my issue. The second time on hold took 7 minutes. The second
 rep was
   able to assist me ad resolve my issue. The entire call took 22
 minutes;
   which for something like this is completely reasonable. Sorry that
 you
   didn't have the same experience. But, for me, I couldn't expect any
 better
   customer service.
  
   -TH
  
  
   --- In flexcoders@yahoogroups.com 
   flexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.com, hank
   williams hank777@ wrote:
   
Lets conduct an experiment. What number are you calling (we've
 called 3
times so far).
   
On Fri, Sep 11, 2009 at 12:00 PM, Paul Andrews paul@ wrote:
   


 hank williams wrote:
 
  I wrote a blog post about this today
  (
  
 http://whydoeseverythingsuck.com/2009/09/is-adobe-falling-apart.html)
 
  but to summarize, it appears that adobe customer service is
  essentially totally unavailable. I tried several times to
 reach them
  for an urgent issue, and the last time waited on hold for 3
 hours
  (after which point my cordless phone ran out of steam) with no
   answer,
  just hold music.
 
  THREE HOURS
 
  They also dont respond to their support email address.
 
  This can't mean good things are happening at adobe. Anyone
 have any
  insight?
 I can't say, but to stay on hold for three hours? It's ten
 minutes max
 for me, then try again.
 
  Hank
  --
  blog: whydoeseverythingsuck.com 
 http://whydoeseverythingsuck.com


   
   
   
--
blog: whydoeseverythingsuck.com
   
  
  
  
  
  
  
   --
   blog: whydoeseverythingsuck.com
  
 
 
 
  --
  blog: whydoeseverythingsuck.com
 




 --
 blog: whydoeseverythingsuck.com


  




-- 
blog: whydoeseverythingsuck.com


Re: [flexcoders] Re: Is Adobe Customer Support (or worse yet adobe) falling apart

2009-09-11 Thread hank williams
I have to go out now and so cant leave the phone off hook. But 1hr 15mins
with no response. I am sure it would have been many more hours.

On Fri, Sep 11, 2009 at 1:28 PM, hank williams hank...@gmail.com wrote:

 Starting now. I dont have 3 hours again but lets see how far we get...


 On Fri, Sep 11, 2009 at 1:19 PM, turbo_vb timh...@aol.com wrote:



 US - 800-833-6687.


 -TH

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, hank
 williams hank...@... wrote:
 
  By the way, adobe admits there is a problem, so if you got that kind of
  response, I promise it is not normal.
 
  see: http://www.adobe.com/support/open_letter_to_adobe_customers/
 
  On Fri, Sep 11, 2009 at 1:09 PM, hank williams hank...@... wrote:
 
   what country are you in... and if US, what number did you dial?
  
  
   On Fri, Sep 11, 2009 at 1:06 PM, turbo_vb timh...@... wrote:
  
  
  
   Sounds like you're not having very good luck Hank. As an interesting
   coincidence, I had to contact Adobe customer service today to resolve
 an
   issue. I just switched from PC to Mac and at the same time upgraded
 from CS3
   to CS4. My issue was that the upgrade wouldn't recognize my previous
   product's serial number, because it was on a different platform. I
 went to
   the Adobe site, clicked the support button, selected my country and
 called
   the 800 number. They answered after 5 minutes. Pretty good compared
 to 3
   hours. The initial rep took my info and had to transfer me to another
 rep to
   resolve my issue. The second time on hold took 7 minutes. The second
 rep was
   able to assist me ad resolve my issue. The entire call took 22
 minutes;
   which for something like this is completely reasonable. Sorry that
 you
   didn't have the same experience. But, for me, I couldn't expect any
 better
   customer service.
  
   -TH
  
  
   --- In flexcoders@yahoogroups.com 
   flexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.com, hank
   williams hank777@ wrote:
   
Lets conduct an experiment. What number are you calling (we've
 called 3
times so far).
   
On Fri, Sep 11, 2009 at 12:00 PM, Paul Andrews paul@ wrote:
   


 hank williams wrote:
 
  I wrote a blog post about this today
  (
   http://whydoeseverythingsuck.com/2009/09/is-adobe-falling-apart.html
 )
 
  but to summarize, it appears that adobe customer service is
  essentially totally unavailable. I tried several times to reach
 them
  for an urgent issue, and the last time waited on hold for 3
 hours
  (after which point my cordless phone ran out of steam) with no
   answer,
  just hold music.
 
  THREE HOURS
 
  They also dont respond to their support email address.
 
  This can't mean good things are happening at adobe. Anyone have
 any
  insight?
 I can't say, but to stay on hold for three hours? It's ten
 minutes max
 for me, then try again.
 
  Hank
  --
  blog: whydoeseverythingsuck.com 
 http://whydoeseverythingsuck.com


   
   
   
--
blog: whydoeseverythingsuck.com
   
  
  
  
  
  
  
   --
   blog: whydoeseverythingsuck.com
  
 
 
 
  --
  blog: whydoeseverythingsuck.com
 

  




 --
 blog: whydoeseverythingsuck.com




-- 
blog: whydoeseverythingsuck.com


[flexcoders] wmode=opaque/transparent and linux

2009-06-24 Thread hank williams
Does this work? One of my developers is telling me that flash on linux
doesnt allow divs to overlap flash material. Is this true or is there
something wrong with his setup.

Thanks
Hank

-- 
blog: whydoeseverythingsuck.com


Re: [flexcoders] wmode=opaque/transparent and linux

2009-06-24 Thread hank williams
Thanks James.

On Wed, Jun 24, 2009 at 6:05 PM, James Wardjaw...@adobe.com wrote:


 This should work fine with a newer version of Firefox (minimum 3.1 I think)
 and Flash Player 10.

 I have Firefox 3.5 RC and FP 10 and it works fine.

 -James

 
 From: flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com
 Sent: Wed Jun 24 13:03:40 2009
 Subject: [flexcoders] wmode=opaque/transparent and linux

 Does this work? One of my developers is telling me that flash on linux
 doesnt allow divs to overlap flash material. Is this true or is there
 something wrong with his setup.

 Thanks
 Hank

 --
 blog: whydoeseverythingsuck.com

 



-- 
blog: whydoeseverythingsuck.com


[flexcoders] eclipse print selection on mac

2008-09-05 Thread hank williams
I just switched from PC eclipse to mac eclipse, At the same time I
also upgraded to ganymede from an older version of eclipse.

I am not sure whether it is the version change or the platform change
but I can no longer print selection, which is a huge bummer. Does
anybody know what the deal is?

Thanks,
Hank

-- 
blog: whydoeseverythingsuck.com


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

2008-08-14 Thread hank williams
http://whydoeseverythingsuck.com/2008/08/ru-roh-adobe-screwed-by-ecmascript.html

-- 
blog: whydoeseverythingsuck.com


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

2008-08-14 Thread hank williams
Troy,

This is not true. Much of ES4, things like packages and lots of other stuff
is going away.

What they are going to implement is much closer to the current javascript
than it is to AS3.

It is a big step backward caused by microsoft's unwillingness to support ES4
in Internet Explorer.


On Thu, Aug 14, 2008 at 1:33 PM, Troy Gilbert [EMAIL PROTECTED]wrote:

   It may not be an EcmaScript4 implementation, but that's just
 semantics. ES4 is becoming Harmony, which is a new project with a
 unified working group, but it is the continuation of what we know as
 ES4.

 So, if it makes you feel better, think of AS3 as an early preview of
 Harmony! ;-)

 Troy.
  




-- 
blog: whydoeseverythingsuck.com


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

2008-08-14 Thread hank williams
 I don't quite see how it's a big step backward *or* a black eye for
 Adobe (as your blog argued). There are dozens of languages in
 widespread use out there... AS3 being (approximately) based on a
 standard, while a good bullet point for marketing, never yielded any
 advantage as far as I could see.


This is a valid point, but the reason I call it a black eye is because
adobe spent a lot of time hanging their hat on the idea that this was
going to be a standard. To the extent that was helpful to them (I
presume it was otherwise they wouldnt have bothered) it is no longer
an accurate statement. Adobe wanted the industry to move one way, and
Microsoft forced it to move another way.

Hank

 Troy.
 


--
blog: whydoeseverythingsuck.com


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

2008-08-14 Thread hank williams
On Thu, Aug 14, 2008 at 1:39 PM, Johannes Nel [EMAIL PROTECTED] wrote:
 annotations, packages what else?


We dont know precisely, but Brendan Eich is telegraphing that it is
big steps backwards by saying the following:

1. Focus work on ES3.1 with full collaboration of all parties, and
target two interoperable implementations by early next year.
2. Collaborate on the next step beyond ES3.1, which will include
syntactic extensions but which will be more modest than ES4 in both
semantic and syntactic innovation.
3. Some ES4 proposals have been deemed unsound for the Web, and are
off the table for good: packages, namespaces and early binding. This
conclusion is key to Harmony.
4. Other goals and ideas from ES4 are being rephrased to keep
consensus in the committee; these include a notion of classes based
on existing ES3 concepts combined with proposed ES3.1 extensions.


To me #4 the idea that classes work the old way is also a big deal,
though exactly what that means I am not entirely sure. AS3 changed its
class model in what I think was a good way. I'd hate to go back.

Hank


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

2008-08-14 Thread hank williams
 You know the funny part to all this? Having Microsoft in a standards
 committee called Harmony is the ultimate oxymoron.

Hilarious!


Re: [flexcoders] Google Scheduling Framework question

2007-12-13 Thread hank williams
what is the Google Scheduling Framework?

Hank


Re: [flexcoders] How much can AIR and the OS interact?

2007-12-09 Thread hank williams
Yes, flash speaks to sockets and so you can communicate with any net
accessible object including localhost. So making a local webserver or
socketserver is a solution.

hank

On Dec 9, 2007 7:11 AM, justSteve [EMAIL PROTECTED] wrote:






 Ok...so Flex can't interact with DLLs but another thread (new to Flex)
 suggests that a possible alternative.

 
 lternatively, you can write a server application in
  C++, Java or C#/.NET that interact with those devices.
  Whenever the server gets input from the scanner, it
  forwards that to the Flex application using Sockets.
 

 The above comment is talking specifically to a bar code reader app but
 suggests that there is a way to write something that runs in the context of
 the given OS that can interact with Flex.

 It's be very interesting to hear this fleshed out in greater detail.




 On 12/8/07, hank williams [EMAIL PROTECTED]  wrote:
 
 
 
 
 
 
 
   I'm looking for an overview:
  
   Can AIR apps interact with services running locally? For example,
   could I create a .net DLL that permitted interaction with the
   clipboard at the native OS level?
  
 
  No. You cannot access DLLs.
 
  Hank
 
 
 

  


Re: [flexcoders] How much can AIR and the OS interact?

2007-12-08 Thread hank williams
 I'm looking for an overview:

  Can AIR apps interact with services running locally? For example,
  could I create a .net DLL that permitted interaction with the
  clipboard at the native OS level?


No. You cannot access DLLs.

Hank


Re: [flexcoders] Application without MXML: Is it possible?

2007-11-30 Thread hank williams
 Is what I'm trying to do impossible, at least without adding some amount of 
 setup code that is normally generated by the MXML preprocessor and isn't 
 documented anywhere? __


As I understand it, this is exactly correct. If you compile an MXML
with the option on that generates actionscript (I forget how you do
this) you will see a lot of generated code even in an MXML hello
world.

Regards,
Han


Re: [flexcoders] Flex grid to serve 100K-1mil rows

2007-11-12 Thread hank williams
On Nov 12, 2007 4:35 AM, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Friday 09 Nov 2007, letterpigeon wrote:
  Hi all,
  requirement is for the grid to be able to support up to 100K+ or even
  1 million rows

 Why ? It's utterly impossible for a user to cope with this much data at
 once,
 so what's the point ?


In general, the question of where to process data is totally legit. If you
read carefully, he did not say he wanted to *show* 100k rows at once. He
said he wanted to be able to do mass operations on it on the client side.
Without understanding his application and architecture I cannot opine on
whether it is better to do this on the client or server. But the idea, in
applications that may need to scale, of doing more work on the client, is a
good one. If you have lots of clients you can indeed save money on server
costs by having the clients help with the work.

Hank


Re: [flexcoders] Flex grid to serve 100K-1mil rows

2007-11-12 Thread hank williams
On Nov 12, 2007 4:56 AM, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Monday 12 Nov 2007, hank williams wrote:
  applications that may need to scale, of doing more work on the client,
 is a
  good one. If you have lots of clients you can indeed save money on
 server
  costs by having the clients help with the work.

 I'd still want to plumb for sending an operation, parameters and
 list/range of
 ids to the server though, as others have mentioned depending on what the
 operations are it might take minutes on the client, and the user
 experience
 here could be bad.



There are lots of depending ons here, but in general, there is nothing
about flash or AS3 that makes processing data slow. In fact it can be quite
fast. The issue is how to architect it on the client side. For example it
probably doesnt make sense to load all this data into a datagrid. But it can
still be on the client in stoage focused data structures. Really flash is
entirely capable of loading and handling large datasets. Adobe has announced
their desire to move all their apps to flex, and in general, I view flex as
just as capable as a regular desktop development environment for which one
would never say oh you cant load all that data into excel for example.
Flex isnt as fast as C++ but it really is getting there and for most
applications the speed difference doesnt matter. Just like today we do not
hesitate to do stuff in java vs C++. The point is you can build highly
performant client side apps in flex, and with things like AIR being
introduced, we need to get comfortable with that idea.

Hank


 --
 Tom Chiverton
 Helping to apprehensively unleash B2C CEOs
 on: http://thefalken.livejournal.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 St James's Court Brown Street Manchester M2 2JF.  A list of members is
 available for inspection at the registered office.  Any reference to a
 partner in relation to Halliwells LLP means a member of Halliwells LLP.
  Regulated by The Solicitors Regulation Authority.

 CONFIDENTIALITY

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

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


 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






[flexcoders] ADOBE CEO Steps Down, COO to Replace Him

2007-11-12 Thread hank williams
http://www.nytimes.com/aponline/technology/AP-Adobe-CEO-Personnel.html


Re: [flexcoders] Re: OT: Netiquette Question

2007-10-25 Thread hank williams
On 10/25/07, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Wednesday 24 Oct 2007, [EMAIL PROTECTED] wrote:
  ), is there anything you can do about that mammoth disclaimer of
  yours.



Maybe you could look in the archives.
/


Re: [flexcoders] Re: Flex is becoming unviable

2007-10-16 Thread hank williams
 Will adobe don't put flex framework inside flashplayer?


Framework caching is exactly this but better because it can be
upgraded on the fly and you dont have to wait for the next player
update to use a more recent framework. Why would you prefer the
framework being built into the player over frame

Hank


Re: [flexcoders] Re: why I want to see WebKit as a standard Flex control (not just for AIR)

2007-10-07 Thread hank williams
Flex is written in actionscript. WebKit is C and or C++ and so is not a
component but something that would have to be built in in the same way that
movieclip is built in.

They could add a mechanism for modularly adding code to the actual flash
player. The could just as well add a mechanism for allowing AIR code to run
not just in an external app but actually inside the browser. But that would
generally raise security issues.

Perhaps the best solution here would be to separate the things in AIR that
would not raise security issues, like WebKit, and allow those to be
accessible via the player if the user has downloaded AIR. But at the moment
they have their hands full just getting AIR out the door. Perhaps that is
something that could be lobbied for for flash 11. I think the train has left
the station for flash 10.

Hank

On 10/7/07, barry.beattie [EMAIL PROTECTED] wrote:


  The only reason not to include it (and its a big one) is the fact
 that adobe
  wants to keep the size of the player down.

 hang on, wouldn't it be seperate to the Flash player itself - just
 like all the other Flex controls - downloaded as part of the SWF?

 This caching stuff in Flex 3 (where the first hit downloads what's
 needed and subsequent ones download anything else needed) might help here.

  



Re: [flexcoders] why I want to see WebKit as a standard Flex control (not just for AIR)

2007-10-06 Thread hank williams
I gotta say I totally agree it would be incredibly cool. I am doing some
stuff in AIR with the HTML control that has nothing to do with local access.
The only reason not to include it (and its a big one) is the fact that adobe
wants to keep the size of the player down. Of course in the next few years
this should become totally irrelevant. There are those that would say its
irrelevant now but in a year or two there will be nothing to argue about. Of
course I would *love* to have it now.

Hank

On 10/6/07, barry.beattie [EMAIL PROTECTED] wrote:


 the code below is an app that I used Judah's HTMLcontrol.swc for - in
 three places. While it mostly works, the fact that it uses IFrames and
 javascript is still a compromise. No disrespect to Judah but I'm
 trying to totally remove the influence of the browser - that's why I'm
 using Flash in the first place.

 I realise people have a problem with a browser control within Flash
 within the browser but this app has the dynamically loaded HTML very
 much subservient to the Flex code. It just doesn't make sense to tear
 the app to pieces and have a DHTML app with Flash bits. The standard
 Flex text control that takes HTML just doesn't cut what I have to do.

 I need to control the app's environment. Webkit can give me that for
 external HTML content that has to be loaded into the SWF (I'm using
 dynamic bookmarks - named anchors in the HTML) - but this is only
 for AIR, or using Judah's HTMLControl.swc (which is a ticking
 time-bomb). Judah has already updated his control to address some
 issues I've had but the app is now out of my hands - I can't afford to
 repeat that). Who knows what future browser versions might do?

 the other reason is that I'm wanting to build both on-line (Flex) and
 desktop (AIR using Flex components) versions of apps. Ideally, this
 should be achievable with the minimum of fuss and maximin code re-use.

 Surely these reasons are good enough to see WebKit turned into a
 standard Flex control... yes?

 mx:TabNavigator width=100% height=100%
 mx:Canvas label=Diagnostic Tool width=100% height=100%
 mx:VBox width=100% height=100%

 mx:HBox width=100% height=45%
 mx:Canvas label=Protocol width=50% height=100%

 !--## use one ##--
 ns1:HTML elementType=iframe source={bookmark}
 id=myframe2 width=100% height=100% /
 /mx:Canvas
 mx:Accordion width=50% height=100%

 ...
 /mx:Accordion
 /mx:HBox

 mx:Panel width=100% height=55% layout=vertical
 title=Indicate your response by moving the slider

 ... /mx:Panel

 /mx:VBox
 /mx:Canvas
 mx:Canvas label=Protocol width=100% height=100%
 !--## use two ##--
 ns1:HTML width=100% height=100% elementType=iframe
 source={protocolDoc} id=protocol_html/
 /mx:Canvas

 mx:Canvas label=Help width=100% height=100%
 !--## use three ##--
 ns1:HTML width=100% height=100% elementType=iframe
 source={helpDoc} id=help_html/
 /mx:Canvas

 /mx:TabNavigator

  



[flexcoders] Thermo Cairngorm

2007-10-04 Thread hank williams
Do any adobe folks know whether thermo will easily support the
cairngorm architecture? Ideally I would like to either replace (or
ideally enhance) my view classes with thermo and keep all by business
and communications logic exactly the same as it is now. Will this
transition to Thermo workflow be supported?

Hank


Re: [flexcoders] Re: Thermo Cairngorm

2007-10-04 Thread hank williams
Check out David mendels earlier link.. http://snipurl.com/1rp0z

This URL just points the the macromedia aggregator.






Re: [flexcoders] Thermo Cairngorm

2007-10-04 Thread hank williams
Hmmm...

Thanks Jason, but I am not sure you quite got the gist of my question.
Perhaps I was unclear. I was under no illusion that one would be creating
business logic in Thermo. My question is whether the workflow between
caringorm delegates, commands, etc and the Thermo UI code will be easily
maintained separately. Will we be able to embed cairngorm commands and model
access in the UI stuff that is generated by Thermo. Will the round-tripping
work. Does the conceived work flow target the cairngorm developer along side
the designer in a smooth way.

Hank

On 10/4/07, Merrill, Jason [EMAIL PROTECTED] wrote:

I was there for the Thermo demo (which was awesome), and they basically
 said Thermo is for designing Flex apps and jump-starting the basic
 interactivity between components - it's not going to be targeted at doing
 the full-blown architecture/business logic/coding of am MXML app.  You can
 have a designer work with Thermo, while the developer works with Flex.


 Jason Merrill
 Bank of America
 GTO Learning  Leadership Development
 eTools  Multimedia Team



  --
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Paul Andrews
 *Sent:* Thursday, October 04, 2007 7:46 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Thermo  Cairngorm

  - Original Message -
 From: hank williams [EMAIL PROTECTED] hank777%40gmail.com
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Sent: Thursday, October 04, 2007 12:39 PM
 Subject: [flexcoders] Thermo  Cairngorm

  Do any adobe folks know whether thermo will easily support the
  cairngorm architecture? Ideally I would like to either replace (or
  ideally enhance) my view classes with thermo and keep all by business
  and communications logic exactly the same as it is now. Will this
  transition to Thermo workflow be supported?
 
  Hank

 From the videos, I would surmise that Thermo is a very nice screen design
 tool, but doesn't automatically include anything else besides basic
 interactions. You just need to add the other architectural layers (as per
 cairngorm) yourself. It really doesn't seem to affect business and
 communications logic at all.

 I'm not sure what transition is required. It replaces aspects of the
 current
 flexbuilder design view and includes extra functionality and intelligent
 importation of graphical elements.

 Paul

  



Re: [flexcoders] Thermo Cairngorm

2007-10-04 Thread hank williams
Yeah, thats why my initial post said Do any adobe folks know whether... :)

Hank

On 10/4/07, Merrill, Jason [EMAIL PROTECTED] wrote:

I don't think anyone knows the answer to that yet (at least from the
 Max demo) - except Adobe people and a few Adobe insiders.

 Jason Merrill
 Bank of America
 GTO Learning  Leadership Development
 eTools  Multimedia Team



  --
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *hank williams
 *Sent:* Thursday, October 04, 2007 4:58 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Thermo  Cairngorm

  Hmmm...

 Thanks Jason, but I am not sure you quite got the gist of my question.
 Perhaps I was unclear. I was under no illusion that one would be creating
 business logic in Thermo. My question is whether the workflow between
 caringorm delegates, commands, etc and the Thermo UI code will be easily
 maintained separately. Will we be able to embed cairngorm commands and model
 access in the UI stuff that is generated by Thermo. Will the round-tripping
 work. Does the conceived work flow target the cairngorm developer along side
 the designer in a smooth way.

 Hank

 On 10/4/07, Merrill, Jason [EMAIL PROTECTED] wrote:
 
I was there for the Thermo demo (which was awesome), and they
  basically said Thermo is for designing Flex apps and jump-starting the basic
  interactivity between components - it's not going to be targeted at doing
  the full-blown architecture/business logic/coding of am MXML app.  You can
  have a designer work with Thermo, while the developer works with Flex.
 
 
  Jason Merrill
  Bank of America
  GTO Learning  Leadership Development
  eTools  Multimedia Team
 
 
 
   --
  *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
  Behalf Of *Paul Andrews
  *Sent:* Thursday, October 04, 2007 7:46 AM
  *To:* flexcoders@yahoogroups.com
  *Subject:* Re: [flexcoders] Thermo  Cairngorm
 
- Original Message -
  From: hank williams [EMAIL PROTECTED] hank777%40gmail.com
  To:  flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Sent: Thursday, October 04, 2007 12:39 PM
  Subject: [flexcoders] Thermo  Cairngorm
 
   Do any adobe folks know whether thermo will easily support the
   cairngorm architecture? Ideally I would like to either replace (or
   ideally enhance) my view classes with thermo and keep all by business
   and communications logic exactly the same as it is now. Will this
   transition to Thermo workflow be supported?
  
   Hank
 
  From the videos, I would surmise that Thermo is a very nice screen
  design
  tool, but doesn't automatically include anything else besides basic
  interactions. You just need to add the other architectural layers (as
  per
  cairngorm) yourself. It really doesn't seem to affect business and
  communications logic at all.
 
  I'm not sure what transition is required. It replaces aspects of the
  current
  flexbuilder design view and includes extra functionality and intelligent
 
  importation of graphical elements.
 
  Paul
 
 
   



Re: [flexcoders] Thermo Cairngorm

2007-10-04 Thread hank williams
Thanks Matt,

It is as I would have guessed. As long as you guys have it as a design goal
you can for sure work it out. But I am sure you will find a fair number of
gotchas.

Hank

On 10/4/07, Matt Chotin [EMAIL PROTECTED] wrote:

The idea is that Thermo would not corrupt any code from the file that
 it is working on because we want designers and developers to be able to work
 on the same files.  But obviously as you get deeper into development it may
 be that a designer has to be a little more careful as they make
 modifications since there will now be dynamic code dependent on the UI.  But
 we're very early here so as we build the product out we'll want to test
 these kinds of scenarios very carefully.



 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *hank williams
 *Sent:* Thursday, October 04, 2007 2:13 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Thermo  Cairngorm



 Yeah, thats why my initial post said Do any adobe folks know whether...
 :)

 Hank

 On 10/4/07, *Merrill, Jason*  [EMAIL PROTECTED] wrote:

 I don't think anyone knows the answer to that yet (at least from the Max
 demo) - except Adobe people and a few Adobe insiders.

 Jason Merrill
 Bank of America
 GTO Learning  Leadership Development
 eTools  Multimedia Team






  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *hank williams
 *Sent:* Thursday, October 04, 2007 4:58 PM


 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Thermo  Cairngorm



 Hmmm...

 Thanks Jason, but I am not sure you quite got the gist of my question.
 Perhaps I was unclear. I was under no illusion that one would be creating
 business logic in Thermo. My question is whether the workflow between
 caringorm delegates, commands, etc and the Thermo UI code will be easily
 maintained separately. Will we be able to embed cairngorm commands and model
 access in the UI stuff that is generated by Thermo. Will the round-tripping
 work. Does the conceived work flow target the cairngorm developer along side
 the designer in a smooth way.

 Hank

 On 10/4/07, *Merrill, Jason* [EMAIL PROTECTED] wrote:

 I was there for the Thermo demo (which was awesome), and they basically
 said Thermo is for designing Flex apps and jump-starting the basic
 interactivity between components - it's not going to be targeted at doing
 the full-blown architecture/business logic/coding of am MXML app.  You can
 have a designer work with Thermo, while the developer works with Flex.



 Jason Merrill
 Bank of America
 GTO Learning  Leadership Development
 eTools  Multimedia Team






  --

 *From:* flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED] *On
 Behalf Of *Paul Andrews
 *Sent:* Thursday, October 04, 2007 7:46 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Thermo  Cairngorm

 - Original Message -
 From: hank williams [EMAIL PROTECTED] hank777%40gmail.com
 To:  flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Sent: Thursday, October 04, 2007 12:39 PM
 Subject: [flexcoders] Thermo  Cairngorm

  Do any adobe folks know whether thermo will easily support the
  cairngorm architecture? Ideally I would like to either replace (or
  ideally enhance) my view classes with thermo and keep all by business
  and communications logic exactly the same as it is now. Will this
  transition to Thermo workflow be supported?
 
  Hank

 From the videos, I would surmise that Thermo is a very nice screen design
 tool, but doesn't automatically include anything else besides basic
 interactions. You just need to add the other architectural layers (as per
 cairngorm) yourself. It really doesn't seem to affect business and
 communications logic at all.

 I'm not sure what transition is required. It replaces aspects of the
 current
 flexbuilder design view and includes extra functionality and intelligent
 importation of graphical elements.

 Paul





   



Re: [flexcoders] flex 3 requirements?

2007-10-01 Thread hank williams

  Relating to FMS (Flash Media Server) - Is this a dead animal or is

 Yes, it's now 'LCDS' - Live Cycle Data Services.


Not true.

Flash Media Server is still Flash Media Server. It is not in any way
shape or form dead. Live Cycle Data Services (LCDS) is the new name
for Flex Data Services (FDS).

Hank


Re: [flexcoders] Re: Is there a fliping control in Flex

2007-09-28 Thread hank williams
Hey Alan  Leds,

Question. How big is this library to use. How much size will it add to my
swf. I ask because it says its based on sandy and I was just thinking sandy,
as a full 3d library might be kinda big.

Thanks
Hank


On 9/27/07, Alan Shaw [EMAIL PROTECTED] wrote:

   Hi Hank,


 http://weblogs.macromedia.com/auhlmann/archives/2007/03/distortion_effe.cfm

 -A


 On 9/27/07, hank williams [EMAIL PROTECTED] wrote:
 
  Thanks, but if you look at the link I provided you will see that they
  are somewhat different things. The link you provided is a book metaphor, and
  the link I provided is a rotation between front and back.
 
  Hank
 
 
  On 9/27/07, vic8427  [EMAIL PROTECTED] wrote:
  
   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
   hank williams [EMAIL PROTECTED] wrote:
   
Has anyone done a flipping control for flex that works like this:
   
   
   http://www.flashloaded.com/flashcomponents/flipnavigation/?id2=260907
   
   
Hank
   
   This guy did.
  
   http://www.quietlyscheming.com/blog/components/flexbook/
  
  
 
  



Re: [flexcoders] Re: Is there a fliping control in Flex

2007-09-28 Thread hank williams
Yeah, Im sure thats true. But I am in java mode right now working on back
end stuff for probably another week, so I am not in a Flex head space. In
this context its easier to have someone who knows the answer tell me than
for me to do the work myself :)

Hank

On 9/28/07, Alan Shaw [EMAIL PROTECTED] wrote:

   It does not bring in the entire sandy library.  It just uses three
 classes from sandy.util.  I think if you download it and look at it you
 will get the answers you need pretty quickly ;)


 On 9/28/07, hank williams [EMAIL PROTECTED] wrote:
 
  Hey Alan  Leds,
 
  Question. How big is this library to use. How much size will it add to
  my swf. I ask because it says its based on sandy and I was just thinking
  sandy, as a full 3d library might be kinda big.
 
  Thanks
  Hank
 
 
  On 9/27/07, Alan Shaw  [EMAIL PROTECTED] wrote:
  
   Hi Hank,
  
   http://weblogs.macromedia.com/auhlmann/archives/2007/03/distortion_effe.cfm
  
  
   -A
  
  
   On 9/27/07, hank williams  [EMAIL PROTECTED] wrote:
   
Thanks, but if you look at the link I provided you will see that
they are somewhat different things. The link you provided is a book
metaphor, and the link I provided is a rotation between front and back.
   
Hank
   
   
On 9/27/07, vic8427  [EMAIL PROTECTED] wrote:

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 hank williams [EMAIL PROTECTED] wrote:
 
  Has anyone done a flipping control for flex that works like
 this:
 
 
 http://www.flashloaded.com/flashcomponents/flipnavigation/?id2=260907
 
 
  Hank
 
 This guy did.

 http://www.quietlyscheming.com/blog/components/flexbook/


   
  
 
  



[flexcoders] Is there a fliping control in Flex

2007-09-27 Thread hank williams
Has anyone done a flipping control for flex that works like this:

http://www.flashloaded.com/flashcomponents/flipnavigation/?id2=260907


Hank


Re: [flexcoders] Re: Is there a fliping control in Flex

2007-09-27 Thread hank williams
Thanks, but if you look at the link I provided you will see that they are
somewhat different things. The link you provided is a book metaphor, and the
link I provided is a rotation between front and back.

Hank


On 9/27/07, vic8427 [EMAIL PROTECTED] wrote:

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, hank
 williams [EMAIL PROTECTED] wrote:
 
  Has anyone done a flipping control for flex that works like this:
 
  http://www.flashloaded.com/flashcomponents/flipnavigation/?id2=260907
 
 
  Hank
 
 This guy did.

 http://www.quietlyscheming.com/blog/components/flexbook/

 



[flexcoders] Using Cairngorm with amazon SQS (polling based remote access)

2007-09-04 Thread hank williams
I am wondering if anyone has an familiarity with using cairngorm with a back
end where polling is required to get the result. Amazon SQS is a queue based
messaging server where you send messages that get enqueued and ultimately
handled by presumably a server farm. When the results are in, the answer
becomes available. The only way to find the answer is to poll to see if the
answer is in fact available.

This sounds like a wonderfully scalable system, but I am wondering if anyone
has either done anything to support sqs from cairngorm or if anyone has any
thoughts on the best way to put polling based result handling into
cairngorm.

It seems to me this is a much more scalable solution than FDS or standard
remoting for large scale web apps, and that a good generalized cairngorm
solution would be very helpful.

Hank


Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-27 Thread hank williams

  Software as a service feels like a move back to the 'dumb client'
  model  of mainframes.  Even if it does take off en masse, I don't expect
  it to replace traditional desktop apps.


Naw dude, not at all.

Connected or software as service doesn't have to mean bad terminal
like software, though until recently I would agree that it did. The
software in browser thing was the bane of my existence for the last
10 years. Browser based software rolled back the progress we had made
in good user interface design in the 80's and 90's. Imagine being able
to scroll your toolbar off the top of the screen, as is standard
design in todays web pages. Just imagine if you had to *scroll* to get
to the adobe illustrator tool bar because it was off screen. The
browser took us back into the interface stone age for the last 10
years.

Unfortunately, not withstanding this fact, many major apps started to
appear in browsers using these bastardized user interfaces driven by
the fact that we did not have tools like flex and AJAX and now AIR.

Now most standard desktop apps are being re-architected around
connectedness, whether it is from a desktop codebase or a web based
code base. The reason this is happening (all the big software
companies have either launched such products or have announced them)
is because software is just better when it is connected. If you lament
the notion or disagree with the idea that most desktop productivity
apps will begin to be designed around internet awareness and/or
collaboration we should revist this in another 18 months.  You pick
the place - looser buys the beer :)

Hank


Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread hank williams

  
   Actually, AIR uses special non publicly available pieces of the flash
   platform to make installing totally seamless.   When you click on an AIR
   app to download, it it leverages this not publicly available stuff to
   download the AIR runtime in the background.

  That all sounds like heresay to me, since right now you have to
  download and install the SDK separately before you can install an AIR app.


Hmm… perhaps. I guess it depends on your definition of hearsay. If
it means that Adobe said it, and there are working apps that
demonstrate it, but you just choose not to believe it then perhaps so.

More specifically,

At this URL:
http://labs.adobe.com/technologies/air/samples/

There are AIR sample applications. The first one is labeled as follows:

Install Now
In order to run Employee directory this installer will also setup Adobe AIR.

When you click on it, in the little flash area it says:

Installing this application requires the Adobe Integrated Runtime
(AIR), which will also be downloaded and installed. Press yes to
continue

When you do click, if the machine you are on doesn't yet have AIR, as
the test machine I used did not, it did in fact install AIR.


  I wonder about non-web based distribution?  It stated in an FAQ
  somewhere on the labs site that the SDK will be distributable for CD
  projects.  Obviously in such a situation you won't be going to the web.


AIR apps *cannot* currently be distributed on CD. The SDK can, just as
the Flex SDK can or any library or compiler can. The SDK is just
libraries, and distributing them via CD does not mean that the
resulting apps can be distributed via CD.  I  believe I read they
intend to allow this at some point in the future but not  before 1.0.

 I wouldn't consider AIR a browser connected tool. It does have an
 embedded browser, but...

 The ability to integrate with the local system (Via an execute type
 command) is almost mandatory for non-connected applications.
  
   It sounds like you are saying that there is no market for AIR.

  I'm saying that there is no market for AIR in non-connected desktop
  applications.

  --
  Jeffry Houser, Technical Entrepreneur, Software Developer, Author,
  Recording Engineer
  AIM: Reboog711  | Phone: 1-203-379-0773
  --
  My Company: http://www.dot-com-it.com
  My Podcast: http://www.theflexshow.com
  My Blog: http://www.jeffryhouser.com




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread hank williams

  I'm saying that there is no market for AIR in non-connected desktop
  applications.

  --


 I think in 2007 we can almost safely say there is no market for *any*
non-connected desktop applications, with or without AIR.

Hank


Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread hank williams
The issue I was referring to was whether it would be possible to do so
without being online and Via CD. My understanding was that this was not the
case. These two concepts I suspect are not in conflict. The FAQ merely says
that people will be able to write their own installers. Writing your own
installer is not necessarily the same thing as being able to install an app
off line via CD though there is certainly at least good reason to question
my recollection/understanding.

I think I remember mike chambers talking about this but I am unable to cite
any references. Perhaps someone on the team can clarify.

Regards,
Hank

On 8/26/07, Thijs Triemstra | Collab [EMAIL PROTECTED] wrote:


 On Aug 26, 2007, at 10:52 AM, hank williams wrote:

 
  AIR apps *cannot* currently be distributed on CD. The SDK can, just as
  the Flex SDK can or any library or compiler can. The SDK is just
  libraries, and distributing them via CD does not mean that the
  resulting apps can be distributed via CD. I believe I read they
  intend to allow this at some point in the future but not before 1.0.

 It looks like it will be possible to distribute AIR apps (that
 include the runtime) with v1.0 according to the faq:

 http://labs.adobe.com/wiki/index.php/
 AIR:Developer_FAQ#Will_developers_be_able_to_distribute_the_Adobe_AIR_in
 staller_with_their_applications.3F

 Thijs
  



Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread hank williams


  AIR apps *cannot* currently be distributed on CD.

   I'm unsure of specifics, but why not?  It will be a 'version 1'
 feature, per this FAQ:


 http://labs.adobe.com/wiki/index.php/AIR:Developer_FAQ#Can_I_create_CD-ROM_or_Kiosk_applications_that_leverage_Adobe_AIR.3F

   If they have the automated installer built, why can't it be put onto a
 CD?



Ah you found the faq point that clarifies my confusion. You cant run from CD
but you can install from a CD.

Hank


Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread hank williams
  I disagree.  I am not certain how Director works, since I've never
  used it except to make movies that were then integrated into
  Authorware, but Authorware has the ability to either incorporate the
  runtime into the content file as a new exe or to provide it
  separately.  The fact that the AIR team chose only one of these
  strategies is not compelling to me.


Everything aint for everybody. But regarding the runtime issue, there
is a big difference between a shipping two separate files i.e. a
library and an application, and shipping a common runtime with the
intent to install that runtime on every computer on the planet.
Director never had that has a goal, and it would never have been a
reasonable one if they had.

  
  IMO, it does not make sense for Adobe to continue to develop Director
  when AIR and Flash have the potential ability to replace it.  Adobe
  has already stopped development on Director, and I can tell you they
  will never manage to convince Authorware users to pick up Director,
  regardless of its innate capabilities, because we believe its days
  are also numbered. However, for the replacement to happen, Adobe will
  have to add more capability to AIR.


lol. Do you really think Adobe cares about supporting or capturing the
Director or Authorware markets. They will never admit it publicly, but
they are irrelevant. They are certainly not designing AIR with the
idea of making sure that Director or Authorware users are happy.

Hank


Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-26 Thread hank williams
lol. You cant take my statement 100% literally. Yeah I know this is a
programmers forum but how about allow for a  little err... creative license.
There is almost nothing that is 100% true. But there are *very* few programs
that are sold today that do not have a connected component. I used to write
software that I sold in a box that was sold a compUSA, That business is all
but gone. In fact there are very few programs sold today in the desktop
market at all. Years ago I could make money selling software. Today one must
sell services driven by software. Really only a handful of companies today
make money selling software, and they include Microsoft, Adobe, and a few
others. In fact developer tools will probably be one of the last categories
to go totally online. But most application categories are moving to a
software as service model. Microsoft Works is now free and makes money by
displaying ads. Even intuit is moving towards an online subscription based
version of quicken. The Microsoft Office franchise is under attack by Google
office and other online applications and ever microsoft has said the next
major release of office will be a connected application. The disconnected
application is *dying*.

Hank

On 8/26/07, Jeffry Houser [EMAIL PROTECTED] wrote:


 Interesting perspective. I believe it is incorrect. I use many
 desktop applications that do not need /have connectivity. Flex Builder
 is one great example.


 hank williams wrote:
 
 
  
   I'm saying that there is no market for AIR in non-connected desktop
   applications.
  
   --
 
  I think in 2007 we can almost safely say there is no market for *any*
  non-connected desktop applications, with or without AIR.
 
  Hank
 
 

 --
 Jeffry Houser, Technical Entrepreneur, Software Developer, Author,
 Recording Engineer
 AIM: Reboog711 | Phone: 1-203-379-0773
 --
 My Company: http://www.dot-com-it.com
 My Podcast: http://www.theflexshow.com
 My Blog: http://www.jeffryhouser.com

  



Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-25 Thread hank williams
 --- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED]
  wrote:
  
  
   So in your mind, Adobe's goal of being cross platform should be
   abandoned since there is no way to do cross-platform COM? Would you
   find it acceptable if it allowed you to do Mac only desktop stuff or
   does windows only compatible == desktop software?

  I think Adobe should provide hooks that allow extension, for instance
  by Java.  If it so happens that a third-party or homegrown extension
  *happens* not to be cross-platform, AIR itself will still be cross-
  platform.  It shouldn't be Adobe's business to enforce that
  everything that could ever be used by AIR would have to be cross-
  platform.

  For example, both Authorware and Director (Adobe's desktop
  application building programs) are both cross-platform but allow
  extension via Xtras and other means.  Not all of those Xtras are
  cross-platform, but developers still find them incredibly useful,
  either because they are only working on one platform or because they
  can work around the gap in some other way on the other platform.

You cant really compare AIR to authorware and director. These were
both very thinly deployed tools (compared to flash) and they never had
runtimes that were, essentially, built into the operating system (as
flash effectively is at 98% or 99%). The responsibility that adobe
shoulders in making tools that do things like seamlessly download,
auto update, etc and dont crash the system are substantial. They cant
afford to use their position to facilitate installation of 3rd party
DLLs that can easily crash the local system.

I think they may eventually add additional layers of access to the
system, but I doubt that they will ever go as far as you would like
because the responsibility is too great for a browser connected tool.
The good news is there are already so many alternatives if all you
really want to do is build an exe, such as Zinc, screenweaver hx, etc.
There is absolutely nothing standing in the way of making fully
functional exes. I am personally happy to trade full system level
access in return for having a pre-installed runtime that leverages the
seamless flash download and upgrade system.

Hank


Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-25 Thread hank williams
On 8/25/07, Jeffry Houser [EMAIL PROTECTED] wrote:







  hank williams wrote:
  
  
  So in your mind, Adobe's goal of being cross platform should be
  abandoned since there is no way to do cross-platform COM? Would you
  find it acceptable if it allowed you to do Mac only desktop stuff or
  does windows only compatible == desktop software?

 I think Adobe should provide hooks that allow extension, for instance
 by Java. If it so happens that a third-party or homegrown extension
 *happens* not to be cross-platform, AIR itself will still be cross-
 platform. It shouldn't be Adobe's business to enforce that
 everything that could ever be used by AIR would have to be cross-
 platform.

 For example, both Authorware and Director (Adobe's desktop
 application building programs) are both cross-platform but allow
 extension via Xtras and other means. Not all of those Xtras are
 cross-platform, but developers still find them incredibly useful,
 either because they are only working on one platform or because they
 can work around the gap in some other way on the other platform.
  
   You cant really compare AIR to authorware and director. These were
   both very thinly deployed tools (compared to flash)

  Shouldn't we be comparing them to AIR in this case?  I'd be willing to
  bet that AIR's deployment (at this stage) is very thinly deployed.  Yes,
  AIR has Flash Player embedded, but AIR != Flash


Actually, AIR uses special non publicly available pieces of the flash
platform to make installing totally seamless. When you click on an AIR
app to download, it it leverages this not publicly available stuff to
download the AIR runtime in the background. So they are leveraging the
presence of flash to facilitate the installation of the runtime. This
is a *big* deal and feels very different from downloading an exe in
explorer.  If it's not a big deal for your apps you can, as I said,
just use one of the many flash to exe projectors out there. Also,
Director and Authorware cant really be compared to AIR because neither
of them was based on a runtime separate from the application being
installed on the users computer. Being a completely self contained
download made it more appropriate to allow these tools to bring DLLs
or Xtras with them. Anything can be bundled in a stand-alone download,
but AIR apps are not exe's and are dependent on the AIR runtime. This
is a critical architectural difference.


   I think they may eventually add additional layers of access to the
   system, but I doubt that they will ever go as far as you would like
   because the responsibility is too great for a browser connected tool.

  I wouldn't consider AIR a browser connected tool.  It does have an
  embedded browser, but...

  The ability to integrate with the local system (Via an execute type
  command) is almost mandatory for non-connected applications.

It sounds like you are saying that there is no market for AIR. Based
on the general reaction from the developer community, I would have to
disagree. Of course perhaps you are just trying to say that given that
AIR's focus on occasionally connected applications, that there isnt
such a need for access to DLLs and such. If so I would whole heartedly
agree.

At this
  time, it does not appear that AIR fits that market very well (nor are
  they targeting the market.. )

  If you need to run DLLs / COM / etc... then AIR probably isn't a good
  choice.


This is clearly true.

Hank


Re: [flexcoders] Re: Flex is Broken

2007-05-18 Thread hank williams

On 5/18/07, Matt [EMAIL PROTECTED] wrote:


  That actually does fix it...shouldn't I be able to add and remove
without having to write work-arounds for bugs in Flex though?







Of course... we should outlaw bugs :)

Hank

If I wanted that kind of development experience I'd go back to writing

HTML and JavaScript. ;)

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Andrew
Trice [EMAIL PROTECTED]
wrote:

 I noticed that you are using removeEffects on the components. That is
 the root of your problem. I bet it you took those off, you wouldn't get
 the error anymore. In my experience with Flex, I've noticed that the
 child indexes change when an item is actually removed (when the effect
 has completed). There is a synchronization issue that occurs while the
 effect is playing.



 Adding children while a remove effect is playing usually causes errors
 very similar to what you are experiencing. If you are adding another
 child, try adding it after the remove effect has finished playing. Hope
 that helps.



 -Andy



 _

 Andrew Trice

 Technical Lead



 Cynergy Systems, Inc.

 http://www.cynergysystems.com



 Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

 Email: [EMAIL PROTECTED]

 Office: 866-CYNERGY



 

 From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
 Behalf Of Matt Wicks
 Sent: Friday, May 18, 2007 10:23 AM
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Subject: Re: [flexcoders] Re: Flex is Broken



 I had a similar problem .. never really got to the bottom of it but I
 found that addChildAt worked while addChild didn't ?

 On 18 May 2007, at 15:03, Matt wrote:





 The exact error message I'm currently getting is as follows:

 RangeError: Error #2006: The supplied index is out of bounds.
 at flash.display::DisplayObjectContainer/addChildAt()
 at
 mx.core::UIComponent/http://www.adobe.
 http://www.adobe.com/2006/flex/mx/internal::$addChildAt
 com/2006/flex/mx/internal::$addChildAt()
 at mx.core::Container/addChildAt()
 at mx.effects::EffectManager$/::removedEffectHandler()
 at Function/http://adobe. http://adobe.com/AS3/2006/builtin::apply
 com/AS3/2006/builtin::apply()
 at mx.core::UIComponent/::callLaterDispatcher2()
 at mx.core::UIComponent/::callLaterDispatcher()
 at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
 at flash.utils::Timer/flash.utils:Timer::tick()

 Just to be clear here though, I'm calling addChild, not addChildAt
 (internally addChild calls addChildAt).

 --- In [EMAIL PROTECTED] mailto:flexcoders% flexcoders%25
40yahoogroups.com

 ups.com, Matt matt@ wrote:
 
  I have been using Flex for quite a while now and I've found quite a
  few moderate to serious bugs, but the one that keeps slapping my face
  when I approach something close to stability is this error:
 
  RangeError: Error #2006: The supplied index is out of bounds.
 
  This seems to occur due to ActionScript 3's lack of concurrency
  support. It would seem that if I quickly remove and add several
  components to a container this shows its ugly head. What makes this
  particularly scary is that the error message appears once and then any
  time I try to do anything at all to the container after that it throws
  the same message over and over.
 
  I originally saw this appear in reference to popups on the
  SystemManager container and created a work-around to pre-instantiate
  windows and just keep them hidden until needed. It was specifically a
  problem when I would use the popup manager to display a menu and the
  selection of a menu option would then display a window. What ended up
  happening was that the window would be created and popped up at the
  same time the popup was being removed and it would get its internal
  indexing off it would seem and never could you do anything to the
  SystemManager container again.
 
  Is there a way to add and remove items safely or is this a known bug
  and one I just have to live with until Adobe gets around to fixing it?
 


 



Re: [flexcoders] Sysdeo Tomcat Plugin

2007-05-09 Thread hank williams

I use sysdeo, but I use the flexbuilder plugin into a separate eclipse
install rather than using the flexbuilder eclipse. I dont know that it makes
a difference, but I have been using this combo since the early flex beta
days with no problems.

Regards
Hank

On 5/9/07, Nick Sophinos [EMAIL PROTECTED] wrote:


  Has anyone had success using the Tomcat Plugin from Sysdeo with Flex
Builder? When I drop it in the plugins directory, it does not get
recognized as it would with Eclipse.

- Nick
 



[flexcoders] using remoteObject with a parameter array

2007-04-26 Thread hank williams

 I am trying to figure out how to use remoteObject in such a way that the
parameters passed to the remote function come from an argument array as
shown below. What is the appropriate way to do this?

Hank

 function asynchGet(type:String,
  destination:String,
  funcName:String,
  resultHandler:Function,
  faultHandler:Function,
  argArray:Array):void{

   var ro:RemoteObject = new RemoteObject();
   ro.destination = destination;

  // can I do this below line?
   ro[funcName].addEventListener(result,resultHandler);

   ro.addEventListener(fault, faultHandler);

  // I know the below line isnt right but am trying to
figure out what is
ro[funcName].apply(argArray);
   }


[flexcoders] How can I do the kind of DRM in Adobe Media Player in my own app

2007-04-26 Thread hank williams

Is this possible? are there special API's for the DRM related stuff in
Apollo? Can I do this kind of thing with audio only (mp3) instead of FLV?

Thanks
Hank


[flexcoders] Is it possible to buile a parameter list programatically

2007-04-26 Thread hank williams

I want to call a function, call it foo in a circumstance where, at compile
time, I dont know what the parameters to foo are going to be. In the past
perhaps I could have used something like Eval to construct the call, but
that is no longer available.

As an example, in one circumstance I might want to call:

foo(a);

and in another circumstance I would want to call

foo(a,b)

but in each case the exact number of parameters is indeterminate and must be
constructed on the fly. Unfortunately, I cannot pass an array into foo, I
must actually have an independent parameter for each passed value.

Any ideas?

Thanks,
Hank


Re: [flexcoders] Re: Is it possible to buile a parameter list programatically

2007-04-26 Thread hank williams

I should have explained that I cant use apply because it is a proxyed
function so it doesnt really exist. I am trying to do this with remoteObject
so the actual function I am calling is not real but is handled by an
overridden callProperty function.

Hank

On 4/26/07, Troy Gilbert [EMAIL PROTECTED] wrote:


  Look up the Function class in your favorite API reference, and check out
its apply method... it'll let you call a function with an array of
arguments.

Troy.



On 4/26/07, Doug Lowder [EMAIL PROTECTED] wrote:

   Sounds like you may be able to use ...rest for that.
 http://livedocs.adobe.com/flex/201/langref/statements.html#..._(rest)
 _parameter

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, hank
 williams [EMAIL PROTECTED]
 wrote:
 
  I want to call a function, call it foo in a circumstance where,
 at compile
  time, I dont know what the parameters to foo are going to be. In
 the past
  perhaps I could have used something like Eval to construct the
 call, but
  that is no longer available.
 
  As an example, in one circumstance I might want to call:
 
  foo(a);
 
  and in another circumstance I would want to call
 
  foo(a,b)
 
  but in each case the exact number of parameters is indeterminate
 and must be
  constructed on the fly. Unfortunately, I cannot pass an array into
 foo, I
  must actually have an independent parameter for each passed value.
 
  Any ideas?
 
  Thanks,
  Hank
 


 



[flexcoders] accessing amf3 remote services using netConnection instead of removteObject

2007-04-26 Thread hank williams

Does anybody have any example on how to access amf3 remote services, which
need to deal with new concepts like destination, using a netConnection
call? I am finding that remoteObject doesnt do everything I need.

Thanks
Hank


Re: [flexcoders] accessing amf3 remote services using netConnection instead of removteObject

2007-04-26 Thread hank williams

Thanks Sam!

One question. Is there any way to use the destination concept since I
already have all of that defined on the FDS/Server side of things?

Thanks
Hank

On 4/26/07, Samuel R. Neff [EMAIL PROTECTED] wrote:



It's not well documented, but basically you create a NetConnection, set
the
encoding, and run NetConnection.call() where the first param is the fully
qualified class and method name and remaining params are the params to
pass
on to the server side method.

See classes below (watch wrapping).

HTH,

Sam


---
We're Hiring! Seeking a passionate developer to join our team building
Flex
based products. Position is in the Washington D.C. metro area. If
interested
contact [EMAIL PROTECTED] careers%40blinemedical.com


package com.atellis.rpc
{
import flash.net.*;
import flash.events.EventDispatcher;
import flash.events.Event;
import mx.rpc.AsyncToken;
import mx.rpc.events.ResultEvent;

public class RemotingServiceBase extends EventDispatcher
{
private var _connection:NetConnection;
private var _remoteClassName:String;

public function RemotingServiceBase(remoteClassName:String,
encoding:uint = 3) {

_remoteClassName = remoteClassName;

_connection = new NetConnection();
_connection.objectEncoding = encoding;
_connection.connect(URLInfo.instance.gatewayUrl);
}

protected function callService(method:String,
eventPrefix:String, responder:Function, fault:Function, ...
rest):AsyncToken
{

var token:AsyncToken = new AsyncToken(null);

var r:DispatchingResponder = new
DispatchingResponder(

this,

eventPrefix,

token,

responder,

fault);


var a:Array = new Array(rest.length + 2);
a[0] = _remoteClassName + . + method;
a[1] = r;
var i:uint = 2;
for each(var o:Object in rest) {
a[i++] = o;
}
_connection.call.apply(_connection, a);
return token;
}

}
}

package com.atellis.rpc
{
import flash.net.Responder;
import flash.events.EventDispatcher;
import flash.events.Event;
import mx.rpc.events.ResultEvent;
import mx.rpc.AsyncToken;
import mx.rpc.events.FaultEvent;
import mx.rpc.Fault;

public class DispatchingResponder extends Responder
{
private var _eventDispatcher:EventDispatcher;
private var _eventPrefix:String;
private var _token:AsyncToken;
private var _responder:Function;
private var _fault:Function;

public function DispatchingResponder(

eventDispatcher:EventDispatcher,

eventPrefix:String,

token:AsyncToken,

responder:Function,

fault:Function) {
super(doRelay, doFault);
_eventDispatcher = eventDispatcher;
_eventPrefix = eventPrefix;
_responder = responder;
_fault = fault;
_token = token;
}

private function doRelay(... rest):void {
var event:ResultEvent = new ResultEvent(

_eventPrefix + Result,

false,

false,

rest == null || rest.length != 1 ? rest : rest[0],

_token,

null);


_eventDispatcher.dispatchEvent(event);
if (_responder != null) {
_responder(event);
}
}

private function doFault(netFault:Object):void {
var f:Fault;

if(netFault) {
var typ:Array = netFault.type.split(.);

f = new Fault(typ[typ.length - 1],
netFault.description, netFault.details);
} else {
f = new Fault(Unkown, An error occurred
and no fault details are available, Unknown);
}
var event:FaultEvent = new FaultEvent(_eventPrefix +
Fault, false, false, f, _token, null);
_eventDispatcher.dispatchEvent(event);
if (_fault != null) {
_fault(event);
}
}
}
}



From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
Behalf Of hank williams
Sent: Thursday, April 26, 2007 4:38 PM
To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
Subject: [flexcoders] accessing amf3 remote services using netConnection
instead of removteObject


Does anybody have any example on how to access amf3 remote services, which
need to deal with new concepts like destination, using a netConnection
call? I am finding that remoteObject doesnt do everything I need.

Thanks
Hank

 



Re: [flexcoders] Re: accessing amf3 remote services using netConnection instead of removteObject

2007-04-26 Thread hank williams

Hey Mark,

No I am really just trying to create a very compact replacement for
remoteObject. I want to create a single function that can do everything that
remoteObject does with instantiation setting destinations and listeners etc.
The problem is that actually invoking the remote function cant be done with
an args array with remote object.

The reason I want to do all of this is to bottleneck all remoting calls in
this library I am building in one place. It is being ported to an alternate
platform and device and all the remoting stuff is going to have to be
swapped out so I want to have it exist in one place and have all the pieces
of the code that need it to use this one routine. Because of the args issue
above remoteObject doesnt lend itself to this strategy.

Hank

On 4/26/07, Mark Piller [EMAIL PROTECTED] wrote:


  Hi Hank,

Is the end goal to route the invocation via RTMP?

Cheers,
Mark

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, hank
williams [EMAIL PROTECTED] wrote:

 Thanks Sam!

 One question. Is there any way to use the destination concept since I
 already have all of that defined on the FDS/Server side of things?

 Thanks
 Hank

 On 4/26/07, Samuel R. Neff [EMAIL PROTECTED] wrote:
 
 
  It's not well documented, but basically you create a
NetConnection, set
  the
  encoding, and run NetConnection.call() where the first param is
the fully
  qualified class and method name and remaining params are the params to
  pass
  on to the server side method.
 
  See classes below (watch wrapping).
 
  HTH,
 
  Sam
 
 
  ---
  We're Hiring! Seeking a passionate developer to join our team building
  Flex
  based products. Position is in the Washington D.C. metro area. If
  interested
  contact [EMAIL PROTECTED] careers%40blinemedical.com

 
 
  package com.atellis.rpc
  {
  import flash.net.*;
  import flash.events.EventDispatcher;
  import flash.events.Event;
  import mx.rpc.AsyncToken;
  import mx.rpc.events.ResultEvent;
 
  public class RemotingServiceBase extends EventDispatcher
  {
  private var _connection:NetConnection;
  private var _remoteClassName:String;
 
  public function RemotingServiceBase(remoteClassName:String,
  encoding:uint = 3) {
 
  _remoteClassName = remoteClassName;
 
  _connection = new NetConnection();
  _connection.objectEncoding = encoding;
  _connection.connect(URLInfo.instance.gatewayUrl);
  }
 
  protected function callService(method:String,
  eventPrefix:String, responder:Function, fault:Function, ...
  rest):AsyncToken
  {
 
  var token:AsyncToken = new AsyncToken(null);
 
  var r:DispatchingResponder = new
  DispatchingResponder(
 
  this,
 
  eventPrefix,
 
  token,
 
  responder,
 
  fault);
 
 
  var a:Array = new Array(rest.length + 2);
  a[0] = _remoteClassName + . + method;
  a[1] = r;
  var i:uint = 2;
  for each(var o:Object in rest) {
  a[i++] = o;
  }
  _connection.call.apply(_connection, a);
  return token;
  }
 
  }
  }
 
  package com.atellis.rpc
  {
  import flash.net.Responder;
  import flash.events.EventDispatcher;
  import flash.events.Event;
  import mx.rpc.events.ResultEvent;
  import mx.rpc.AsyncToken;
  import mx.rpc.events.FaultEvent;
  import mx.rpc.Fault;
 
  public class DispatchingResponder extends Responder
  {
  private var _eventDispatcher:EventDispatcher;
  private var _eventPrefix:String;
  private var _token:AsyncToken;
  private var _responder:Function;
  private var _fault:Function;
 
  public function DispatchingResponder(
 
  eventDispatcher:EventDispatcher,
 
  eventPrefix:String,
 
  token:AsyncToken,
 
  responder:Function,
 
  fault:Function) {
  super(doRelay, doFault);
  _eventDispatcher = eventDispatcher;
  _eventPrefix = eventPrefix;
  _responder = responder;
  _fault = fault;
  _token = token;
  }
 
  private function doRelay(... rest):void {
  var event:ResultEvent = new ResultEvent(
 
  _eventPrefix + Result,
 
  false,
 
  false,
 
  rest == null || rest.length != 1 ? rest : rest[0],
 
  _token,
 
  null);
 
 
  _eventDispatcher.dispatchEvent(event);
  if (_responder != null) {
  _responder(event);
  }
  }
 
  private function doFault(netFault:Object):void {
  var f:Fault;
 
  if(netFault) {
  var typ:Array = netFault.type.split(.);
 
  f = new Fault(typ[typ.length - 1],
  netFault.description, netFault.details);
  } else {
  f = new Fault(Unkown, An error occurred
  and no fault details are available, Unknown);
  }
  var event:FaultEvent = new FaultEvent(_eventPrefix +
  Fault, false, false, f, _token, null);
  _eventDispatcher.dispatchEvent(event);
  if (_fault != null) {
  _fault(event);
  }
  }
  }
  }
 
  
 
  From: flexcoders@yahoogroups.com 
flexcoders%40yahoogroups.comflexcoders%40yahoogroups.com
[mailto:
  flexcoders@yahoogroups.com 
flexcoders%40yahoogroups.comflexcoders%40yahoogroups.com] On
  Behalf Of hank williams
  Sent: Thursday, April 26, 2007 4:38 PM
  To: flexcoders@yahoogroups.com 
flexcoders

Re: [flexcoders] Re: accessing amf3 remote services using netConnection instead of removteObject

2007-04-26 Thread hank williams

Mark,

Thanks so much. After no one answered earlier in the day I figured there was
just no way to do this. But this is much better than using netConnection.

So get some sleep you midnightcoder :)

Hank

On 4/26/07, Mark Piller [EMAIL PROTECTED] wrote:


  Hey Hank,

I know you can invoke a remote object and pass the args in an array.
We just did this very thing in our data management implementation.
Here's some reference code:

// create remote object.
// notice the placeholder for the DESTINATION_NAME
var channelSet:ChannelSet = new ChannelSet();
var channel:Channel = ServerConfig.getChannel( my-amf );
channelSet.addChannel(channel);
var remoteObject:RemoteObject = new RemoteObject( DESTINATION_NAME );

remoteObject.channelSet = channelSet;

var remoteMethod:AbstractOperation;
// get a reference to the operation.
remoteMethod=remoteObject.getOperation( METHOD_YOU_NEED_TO_INVOKE );
// set the arguments. Notice it is an array
remoteMethod.arguments = args;
// invoke the function, get asyncToken
var asyncToken:AsyncToken = remoteMethod.send();

Hope this helps. Let me know if I am not answering your question :)

Thanks,
Mark

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, hank
williams [EMAIL PROTECTED] wrote:

 Hey Mark,

 No I am really just trying to create a very compact replacement for
 remoteObject. I want to create a single function that can do
everything that
 remoteObject does with instantiation setting destinations and
listeners etc.
 The problem is that actually invoking the remote function cant be
done with
 an args array with remote object.

 The reason I want to do all of this is to bottleneck all remoting
calls in
 this library I am building in one place. It is being ported to an
alternate
 platform and device and all the remoting stuff is going to have to be
 swapped out so I want to have it exist in one place and have all the
pieces
 of the code that need it to use this one routine. Because of the
args issue
 above remoteObject doesnt lend itself to this strategy.

 Hank

 On 4/26/07, Mark Piller [EMAIL PROTECTED] wrote:
 
  Hi Hank,
 
  Is the end goal to route the invocation via RTMP?
 
  Cheers,
  Mark
 
  --- In flexcoders@yahoogroups.com 
flexcoders%40yahoogroups.comflexcoders%40yahoogroups.com,

hank
  williams hank777@ wrote:
  
   Thanks Sam!
  
   One question. Is there any way to use the destination concept
since I
   already have all of that defined on the FDS/Server side of things?
  
   Thanks
   Hank
  
   On 4/26/07, Samuel R. Neff srneff.lists@ wrote:
   
   
It's not well documented, but basically you create a
  NetConnection, set
the
encoding, and run NetConnection.call() where the first param is
  the fully
qualified class and method name and remaining params are the
params to
pass
on to the server side method.
   
See classes below (watch wrapping).
   
HTH,
   
Sam
   
   
---
We're Hiring! Seeking a passionate developer to join our team
building
Flex
based products. Position is in the Washington D.C. metro area. If
interested
contact careers@ careers%40blinemedical.com
 
   
   
package com.atellis.rpc
{
import flash.net.*;
import flash.events.EventDispatcher;
import flash.events.Event;
import mx.rpc.AsyncToken;
import mx.rpc.events.ResultEvent;
   
public class RemotingServiceBase extends EventDispatcher
{
private var _connection:NetConnection;
private var _remoteClassName:String;
   
public function RemotingServiceBase(remoteClassName:String,
encoding:uint = 3) {
   
_remoteClassName = remoteClassName;
   
_connection = new NetConnection();
_connection.objectEncoding = encoding;
_connection.connect(URLInfo.instance.gatewayUrl);
}
   
protected function callService(method:String,
eventPrefix:String, responder:Function, fault:Function, ...
rest):AsyncToken
{
   
var token:AsyncToken = new AsyncToken(null);
   
var r:DispatchingResponder = new
DispatchingResponder(
   
this,
   
eventPrefix,
   
token,
   
responder,
   
fault);
   
   
var a:Array = new Array(rest.length + 2);
a[0] = _remoteClassName + . + method;
a[1] = r;
var i:uint = 2;
for each(var o:Object in rest) {
a[i++] = o;
}
_connection.call.apply(_connection, a);
return token;
}
   
}
}
   
package com.atellis.rpc
{
import flash.net.Responder;
import flash.events.EventDispatcher;
import flash.events.Event;
import mx.rpc.events.ResultEvent;
import mx.rpc.AsyncToken;
import mx.rpc.events.FaultEvent;
import mx.rpc.Fault;
   
public class DispatchingResponder extends Responder
{
private var _eventDispatcher:EventDispatcher;
private var _eventPrefix:String;
private var _token:AsyncToken;
private var _responder:Function;
private var _fault:Function;
   
public

Re: [flexcoders] Re: accessing amf3 remote services using netConnection instead of removteObject

2007-04-26 Thread hank williams

Mark,

I spoke before I tested, which is always a mistake. I realized I am not
sure, in this scenario, how to set up the event handlers for the
remoteObject in this scenario.

Thanks
Hank

On 4/26/07, Mark Piller [EMAIL PROTECTED] wrote:


  Hey Hank,

I know you can invoke a remote object and pass the args in an array.
We just did this very thing in our data management implementation.
Here's some reference code:

// create remote object.
// notice the placeholder for the DESTINATION_NAME
var channelSet:ChannelSet = new ChannelSet();
var channel:Channel = ServerConfig.getChannel( my-amf );
channelSet.addChannel(channel);
var remoteObject:RemoteObject = new RemoteObject( DESTINATION_NAME );

remoteObject.channelSet = channelSet;

var remoteMethod:AbstractOperation;
// get a reference to the operation.
remoteMethod=remoteObject.getOperation( METHOD_YOU_NEED_TO_INVOKE );
// set the arguments. Notice it is an array
remoteMethod.arguments = args;
// invoke the function, get asyncToken
var asyncToken:AsyncToken = remoteMethod.send();

Hope this helps. Let me know if I am not answering your question :)

Thanks,
Mark

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, hank
williams [EMAIL PROTECTED] wrote:

 Hey Mark,

 No I am really just trying to create a very compact replacement for
 remoteObject. I want to create a single function that can do
everything that
 remoteObject does with instantiation setting destinations and
listeners etc.
 The problem is that actually invoking the remote function cant be
done with
 an args array with remote object.

 The reason I want to do all of this is to bottleneck all remoting
calls in
 this library I am building in one place. It is being ported to an
alternate
 platform and device and all the remoting stuff is going to have to be
 swapped out so I want to have it exist in one place and have all the
pieces
 of the code that need it to use this one routine. Because of the
args issue
 above remoteObject doesnt lend itself to this strategy.

 Hank

 On 4/26/07, Mark Piller [EMAIL PROTECTED] wrote:
 
  Hi Hank,
 
  Is the end goal to route the invocation via RTMP?
 
  Cheers,
  Mark
 
  --- In flexcoders@yahoogroups.com 
flexcoders%40yahoogroups.comflexcoders%40yahoogroups.com,

hank
  williams hank777@ wrote:
  
   Thanks Sam!
  
   One question. Is there any way to use the destination concept
since I
   already have all of that defined on the FDS/Server side of things?
  
   Thanks
   Hank
  
   On 4/26/07, Samuel R. Neff srneff.lists@ wrote:
   
   
It's not well documented, but basically you create a
  NetConnection, set
the
encoding, and run NetConnection.call() where the first param is
  the fully
qualified class and method name and remaining params are the
params to
pass
on to the server side method.
   
See classes below (watch wrapping).
   
HTH,
   
Sam
   
   
---
We're Hiring! Seeking a passionate developer to join our team
building
Flex
based products. Position is in the Washington D.C. metro area. If
interested
contact careers@ careers%40blinemedical.com
 
   
   
package com.atellis.rpc
{
import flash.net.*;
import flash.events.EventDispatcher;
import flash.events.Event;
import mx.rpc.AsyncToken;
import mx.rpc.events.ResultEvent;
   
public class RemotingServiceBase extends EventDispatcher
{
private var _connection:NetConnection;
private var _remoteClassName:String;
   
public function RemotingServiceBase(remoteClassName:String,
encoding:uint = 3) {
   
_remoteClassName = remoteClassName;
   
_connection = new NetConnection();
_connection.objectEncoding = encoding;
_connection.connect(URLInfo.instance.gatewayUrl);
}
   
protected function callService(method:String,
eventPrefix:String, responder:Function, fault:Function, ...
rest):AsyncToken
{
   
var token:AsyncToken = new AsyncToken(null);
   
var r:DispatchingResponder = new
DispatchingResponder(
   
this,
   
eventPrefix,
   
token,
   
responder,
   
fault);
   
   
var a:Array = new Array(rest.length + 2);
a[0] = _remoteClassName + . + method;
a[1] = r;
var i:uint = 2;
for each(var o:Object in rest) {
a[i++] = o;
}
_connection.call.apply(_connection, a);
return token;
}
   
}
}
   
package com.atellis.rpc
{
import flash.net.Responder;
import flash.events.EventDispatcher;
import flash.events.Event;
import mx.rpc.events.ResultEvent;
import mx.rpc.AsyncToken;
import mx.rpc.events.FaultEvent;
import mx.rpc.Fault;
   
public class DispatchingResponder extends Responder
{
private var _eventDispatcher:EventDispatcher;
private var _eventPrefix:String;
private var _token:AsyncToken;
private var _responder:Function;
private var _fault:Function;
   
public function

Re: [flexcoders] Anyone have a good example of an RSS feed reader?

2007-03-30 Thread hank williams
On 30 Mar 2007 03:23:33 -0700, Tom Chiverton
[EMAIL PROTECTED] wrote:
 On Thursday 29 Mar 2007, simonjpalmer wrote:
  I have been scratching around and found the as3syndicationlib but I
  have seen no decent examples of how to use it and have to confess to
  being a bit lost.

 Fresh.air :-)


It must be that British humor I am not getting.

Hank

 --
 Tom Chiverton
 Helping to advantageously engage error-free schemas
 on: http://thefalken.livejournal.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 
 St James's Court Brown Street Manchester M2 2JF.  A list of members is 
 available for inspection at the registered office. Any reference to a partner 
 in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by 
 the Law Society.

 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 8008.

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



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






Re: [flexcoders] Re: New Adobe Products and Flex

2007-03-27 Thread hank williams

wow. thats funny.

Hank

On 27 Mar 2007 18:42:52 -0700, Doug McCune [EMAIL PROTECTED] wrote:


  We're talking about a company (Macromedia) that had code names for
products like Blaze and 8 Ball. Somehow a product release date of 4/20
seems to make sense...



On 27 Mar 2007 17:02:19 -0700, Nancy Gill [EMAIL PROTECTED] wrote:

ah .. Amazon.  I heard they jumped their NDA by close to a week.  Too
 bad.
 Officially, there has been no specific date given .. at least not to the
 testing teams.


 Thanks,
 Nancy


 - Original Message -
  *From:* Paul Whitelock [EMAIL PROTECTED]
 *To:* flexcoders@yahoogroups.com
 *Sent:* Tuesday, March 27, 2007 4:57 PM
 *Subject:* [flexcoders] Re: New Adobe Products and Flex

  I've seen it pop up a few places on the web, but most notably it's the
 date that Amazon lists as the ship date. It's probably just a best
 guess that Adobe gave to retailers, but I'm hoping that it's an
 accurate guess :-)

 Paul

 --- In flexcoders@yahoogroups.com, Nancy Gill [EMAIL PROTECTED] wrote:
 
  Where did you hear April 20th? I have asked and looked extensively
 and haven't found anyone who knows a specific date. The press release
 says during April and May for the web and design suite products ..
 but nowhere have I found a specific published date.
 
  where did you see this date?
 
  Thanks,
 
  Nancy Gill
  Adobe Community Expert
  Author: Dreamweaver 8 e-book for the DMX Zone
  Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
  Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A
 Beginner''s
  Guide, Mastering Macromedia Contribute
  Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web
 Development

  --

 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.446 / Virus Database: 268.18.18/734 - Release Date:
 3/26/2007 2:31 PM


 



Re: [flexcoders] Re: DB access in Apollo

2007-03-10 Thread hank williams
Wow Shaun,

Lots of stuff to vehemently disagree with.



 Your overstating the importance of a db on the client.

Well, he may be. But let me just say this. For the last 20 years, most
desktop apps have use a client side database. Generally in the MS
world it used to be a library called Jet that was an embeddable
version of Access. And almost every pc based app used it. So the idea
that Dorkie is saying something out of the mainstream of thinking as
it relates to client side development is just wrong.

 Bringing the desktop and the 'net together is one of its(Apollo's)
 strong points. At least thats what it seems like from where i'm sitting.


Translation - bringing local file storage to web applications is
Apollo's strong point. What we are arguing about it *how* best to do
the local storage. You make your point as though the database issue is
not relevant to bringing desktop and 'net together. What other
important issues are there in this regard aside from storage?
 
  There are already apps in development that would use a database:
 
  - Java Docs Generator (in dev) - documents your code, stores and updates
  java docs in db

 You wouldnt want to store the documents in a DB, thats just dumb.
 Metadata perhaps, but there are other options.


No, is isn't dumb. It might be the right solution sometimes and
sometimes not. But its not dumb. Databases provide integrity which you
dont get with file system storage. This is a design decision and trade
off and it is not a clear cut decision.

  - Project management software (in dev) - keeps track of tasks, projects

 This information you would probably not want stored in a client DB, more
 likely this would be stored on a DB server and accessed from the client.
 Usually more than one person wants to see how a project is tracking.
 If you must have it on a client(no server) then, use a xml document, at
 least its portable, that way you could send it to another person so they
 could see the project details, and you can render it using XSLT in any
 format you like.


The entire point of Apollo is disconnected use with synchronization.
You seem to be arguing with your comment that for some apps this is a
bad idea. NEWSFLASH: You dont need Apollo if everything is going to be
server based.
To your point about XSLT this is just silly. The model you are
describing is not an app model its a web page model. Imagine saying to
microsoft hey guys lets just use XSLT to display those PERT or GANTT
charts.

  - Photo management software - accesses the filesystem like Adobe Bridge,
  search and sort

 Nah not really, simply use the filesystem to store the assets(images)
 and store the metadata in a file that points to the filesystem. Same as
 iTunes. You sort and search the metadata not the assets.


I cant say i'm sure about this - but I am *fairly* confident, that the
iTunes XML file is an output format and that it also uses a native
file format for its actual operation and management. I  think it just
periodically exports the database in XML format. But whether it does
or not, the issue is whether you want a RAM based application, or a
disk based application. Plain and Simple. Despite your implied
contention, it is a well established notion that there is value in
storing your data on a hard disk and only changing the bits that need
to be changed instead of writing out the whole file after every
modification. More importantly, deveoping this way is *much* more work
for table based applications. You have to create your own indexes for
sorting, etc. SQL *does* make life easier, and that is the point of
all this isnt it?

  - Music software (already created by an Adobe engineer) - keep track and
  sort mp3's (itunes, windows media player, winamp, etc use their own
  built in
  db)

 iTunes uses an xml file.. Dunno about the others. iTunes connects to the
 'net when it needs access to a DB, that hasnt stopped it being a huge
 success as far as I can tell.


What a silly comment. itunes is successful, therefore there is no need
for disk based applications!?

 So, a client side DB is not as critical to me, as it to you. Sure it
 might come in handy, but I can live without it.


Well, this is the first thing you have said that makes sense to me. It
is clear that depending on what you are developing and how you like to
develop that your mileage may vary. But I guarantee you this. If I had
a database and all you had was the flash api and text file storage,
that for any kind of data intensive application I would be able to
write a more robust application - or at least the data handling piece,
and I would be able to write it faster than you would with just file
storage.

Regards,
Hank


Re: [flexcoders] Re: cairngorm strategy question

2007-03-07 Thread hank williams

Russel,

This is very interesting. I am going to look at the article more  closely.
It sounds like this is exactly the right concept.

Thanks,
Hank

On 3/6/07, Russell Munro [EMAIL PROTECTED] wrote:


I ran into this similar problem with a mapping application I am creating.
There was allot of calculations require to render the map image that were:
 - nothing to with services
 - were too small to pass through the cairngorm micro-architecture
 - were definitely not part of the view

I umm  arrghh about it for ages then found my solution, in part in this  great
article on Adobehttp://www.adobe.com/devnet/flex/articles/blueprint.html.
It speaks of a means of creating RIA's without cairngorm (heaven forbid! ;)
)  The part that help me the most was the Controller mechanisms (page 7) A
Controller in the traditional MVC sence in that it has nothing to do
directly with services, unlike cairngorm.

I still am using a cairngorm based structure, it is too late to change
that if I wanted to. But now I have a Controller singleton (like the
modelLocator) that gives me access to all the key processing methods of the
app, basically a library of important methods.  It has been a great
addition, making things so much easier to access.

I access the methods on the Controller singleton inline like this as the
article does:
Controller.instance.registerInfoTip(data) As opposed to setting a 'var
model'  like we do with ModelLocator.

I found it so useful that I now access my Cairngorm services through the
Controller. It may seem a bit long-winded but serveral of my modules need
access to the same services so it make access reuse a breeze and really
keeps the code out of the view. Plus team member use of each services is now
a bit more seamless.

I hope that is helpful to you? It is working fantastically for me and
fixed my problem.  If you want more info or some sample code please ask.

Russell Munro
Corbell Web





Re: [flexcoders] Apollo and where do we start.

2007-03-07 Thread hank williams
On 3/7/07, nboulet [EMAIL PROTECTED] wrote:
 Hi guys :)
 I've been reading this mailing list since quite a bit and I have a
 question. Where can I start with Apollo development?

Hmm... I guess you missed the part about it not being released yet ;)

Sorry for being snarky, I just couldnt resist!

Regards,
Hank


Re: [flexcoders] DB access in Apollo

2007-03-07 Thread hank williams
Apollo is not supporting any DLL stuff at this time for security reasons.

Hank

On 3/7/07, Jason Hawryluk [EMAIL PROTECTED] wrote:
 I think that if we could talk to a dll (Mac equivalent, Linux equivalent)
 like via a local remote call type thing, then that would be the ultimate. I
 don't think distributing the dll (etc..) would be a big deal. With that you'
 d basically use any DB you like. Plus allot of other crazy stuff you could
 do.

 Anyway, guess we'll have to wait and see :°

 jason

 -Message d'origine-
 De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
 part de Tom Chiverton
 Envoyé : mercredi 7 mars 2007 17:18
 À : flexcoders@yahoogroups.com
 Objet : Re: [flexcoders] DB access in Apollo


 On Wednesday 07 Mar 2007, hank williams wrote:
  +1 sqlite. MySQL is impractical to put on everyones computer in the
  country.

 Depends how it works.
 Maybe there's an
 apollo:Database /
 tag, with a 'type' parameter :-)

 --
 Tom Chiverton
 Helping to proactively lead leading-edge supply-chains
 On: http://thefalken.livejournal.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
 St James's Court Brown Street Manchester M2 2JF.  A list of members is
 available for inspection at the registered office. Any reference to a
 partner in relation to Halliwells LLP means a member of Halliwells LLP.
 Regulated by the Law Society.

 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 8008.

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



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links










 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






Re: [flexcoders] DB access in Apollo

2007-03-07 Thread hank williams
On 3/7/07, Impudent1 [EMAIL PROTECTED] wrote:
 hank williams wrote:
  +1 sqlite. MySQL is impractical to put on everyones computer in the country.


 Hmm, well considering Adobe already does it with bridge I disagree :)

hmm... I dont have bridge on my computer. Dont even know what it is.
So I guess I would have to disagree that it is on every computer,
whereas flash and therefore apollo almost certainly will be :)

 That said I have never played with sqlite and will have to take look at it. 
 From
 the faqs, I did see that only one process can write to the db at a time vs 
 mysql
 being able to do multiple processes, so depending on what type of apps your
 creating if concurrency matters I would think mysql a better choice. I do love
 the simplicity of the sqlite concept tho :)

mysql is clearly more robust - and complex - than sqlite, which is
exactly the point. Its overkill, with the single benefit of being
familiar. But you will not be able to port code since sql is always
tied into the language that is used to access it, like php, or java or
whatever. AS3 will be a new language environment for accessing
databases, so there will not be much portability other than data
files, which isnt much of a benefit.

Regards,
Hank


Re: [flexcoders] Re: DB access in Apollo

2007-03-07 Thread hank williams
On 3/7/07, Paul DeCoursey [EMAIL PROTECTED] wrote:
 I think it really depends on the application.  I don't think there is
 any 1 database that could cover even 10% of the use cases.

really? Not even 10% eh. So in the server market, MySQL, Oracle, MsSQL
dont cover the majority of use cases with huge overlap? I think the
marketshare among those apps is well over 70 or 80% of the market.

In desktop applications, that microsoft library Jet (I think is/was
the name) used to have near 100% of the embedded app market. Of course
I dont know what the state of that market is anymore.


 If they do
 bundle a database it would have to be something small and easily
 replaceable, because everyone will want to replace it, no matter what
 it is.

I think the exact opposite of what you say is true. These databases
all do basically the same thing and whatever is bundled is what people
use. For any of these choices the performance will be exellent in the
context of a single user app, and almost *no one* will be motivated to
customize. I can think of very few things that any of the real
contenders couldnt do, that large numbers of people would want to do.
In fact Jason Williams has kinda proved that by asking (twice) what
specific benefits MySQL had and receiving *no* answers.

Regards,
Hank


Re: [flexcoders] Flex Data Services on Amazon EC2

2007-03-06 Thread hank williams
Sure, that is what EC2 is for. The only thing to be aware of is that
EC2 only runs linux instances. Of course this is not a problem for FDS
of course but just an FYI.

However, the big benefit of EC2 is inifinte scalability, and FDS
express edition will not allow you to run multiple instances. In fact,
because EC2 instances are less power than the fastest machines
available, running FDS on EC2 might not be the most economical option
from a license cost perspective.

Regards
Hank

On 3/6/07, Mark Lapasa [EMAIL PROTECTED] wrote:
 For those familiar with Amazon's Web Services (the side of the company
 that doesn't sell books), do you know if it is possible to have Flex
 Data Services Express Edition running under an instance of Amazon
 Elastic Compute Cloud (EC2)? The idea of having the server-side
 operations handled for $0.10/hr, turn it on and off at will, and be able
 to make an application public for access is a very attractive idea.

 Currently, I am not doing anything that would warrant it but I am very
 curious. This Flex licensing jargon is beyond me.

 (More info on EC2 @ http://aws.amazon.com/ec2)


 Thx,

 -mL
 http://knowledge.lapasa.net




 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






Re: [flexcoders] Re: cairngorm strategy question

2007-03-06 Thread hank williams
jwopitz,

Thanks for the feedback. I definitely would not use cairngorm just for
this feature, but my app is already fairly large and is based around
cairngorm. Thats why I have been trying to think about the best way I
might implement this with it.

Regards,
Hank

On 3/6/07, JWOpitz [EMAIL PROTECTED] wrote:
 Oooh good call.  I forgot about these little helpful tools.

 But Hank, I think you nailed it on the head.  There are no wrong
 answers.  Given the fact that you have thought about this as
 thoroughly as you have, I am sure that you will find the best solution
 for you and your app no matter what direction you take.

 Here is one more bit about Cairngorm.  Like Scott said, it might be a
 bit overkill to use this micro-tecture if you have a very simple
 application.  Now if you have already implemented it for other
 purposes, you will incur very little if any overhead for adding
 another command.  But if this is the one and only place that you will
 using this in this app, then it might be a bit overkill.

 Anyway, good luck and be sure to link us up to see your progress.

 Take care,
 jwopitz


 --- In flexcoders@yahoogroups.com, slangeberg [EMAIL PROTECTED] wrote:
 
  Actually, SoundManager doesn't seem to fit MVC. You have no view and
 no user
  input, correct? Why not just use a Command (or whatever patterns fit)
  structure without worrying too much about Cairngorm..? Cairngorm's
 great and
  all, but it is intended to manage large applications with many
 views, in the
  end.
 
  Looking back at your orig. post, looks like Command/Event structure
 may be
  just fine, but that also doesn't mean you need to use the
 CairngormCommand
  (if such exists). maybe what you really want is a state machine that
 fires
  some events (probably). That state machine could very well sit in
 your model
  and fire events. Or not!
 
  You might want to take a look at the concept of CRC's (
 
 http://en.wikipedia.org/wiki/Class-Responsibility-Collaboration_card) as a
  starting point. In the end, KISS works!
 
  -Scott
 
  On 05 Mar 2007 19:15:18 -0800, hank williams [EMAIL PROTECTED] wrote:
  
 Thanks guys,
  
   I still dont know what I am going to do, but it is very helpful to
   hear the arguments. Sometimes it is really helpful just to get other
   peoples views. Obviously this is a bit of a gray area and there is no
   *wrong* answer here, which is why nuance and opinion are quite
   helpful.
  
   Regards,
   Hank
  
  
   On 3/5/07, JWOpitz [EMAIL PROTECTED] jwopitz%40gmail.com wrote:
I should probably clarify a few things. If you have MVC, and I
 had to
qualify a SoundManager class as one of those, I would probably
 see it
first as a command class. Manager type classes generally are of this
nature anyway. But that can easily be argued to say Sound is also a
view type nature too and there is enough supporting information
 to be
so. Maybe this is more about personal preference as I can see both
sides.
   
As to why I don't like the Model doing command-ish like things
 is that
again it is not its responsibility. Now that is not too say that it
can't dispatch events. In fact when you have a [Bindable] class, it
automatically dispatches propertyChange events. So that is perfectly
acceptable in my book. In fact if you look in the flex2 reference
material and search metadata, it explains how this works internally
and how you can do it manually. I do not, however, like methods in
the Model aside from getters/setters.
   
Many of the developers on my team, however do like to stick methods
(not getters/setters) in the model. I don't like it and advocate
against it. For instance we have a customizable dataGrid where users
can add various column types with specific data. I suggested
 having a
command-type class build columns for it. However, my teammates
 wanted
to have a method in the model. For what reasons I do not now. All I
know is that although I love democracy in terms of politics, I
 cannot
stand it in application development. Sorry for that. Just a rant and
rave for a sec. Back to the point though, to maintain consistency
with the MVC framework, some sort of ColumnManager would be
appropriate and would be in the command family.
   
I am not any kind of MVC purist and occasionaly bend the rules or do
something questionable with regards to what we have been discussing.
But when developers start deviating dramatically from the core
purposes of what a model is, what a command is, what a view is,
 then I
will raise an eyebrow and possibly a stink.
   
Again my 2 cents. Hope it helps in your decision making.
   
--- In flexcoders@yahoogroups.com
 flexcoders%40yahoogroups.com, Troy
   Gilbert troy.gilbert@
wrote:

 Coming from a game development background, I always consider
 sound to
   be
 apart of the view. Generally, I consider anything directly
 consumed

[flexcoders] cairngorm strategy question

2007-03-05 Thread hank williams
I have a class that is basically a sound server. It both generates
events - like sound #1234 is finished and receives commands like
start playing sound #4567.

My problem is that I am not sure where to put this in the cairngorm universe.

If I were to put it in the model, thats kinda wierd since it generates
events, and models dont ususally generate cairngorm events. One
thought I had was not to have it generate events, but to use binding
to get information out of the object, but events really are better
since it may be playing multiple sounds and events allow me to specify
that multiple things are happening. Binding would be less clean
because my binding subscribers would have to bind to an array since
any number of sounds may be in play at one time.

If I were to make the class a view, thats wierd because views dont
generally get modified by cairngorm events.

Of course the third way is just to use standard AS3 events - which is
the way it currently works - but the architecture of commands in
cairngorm is so clean with a class for each command that it makes it
really easy to read the code.  So if I can, I would like to use the
cairngorm command structure for this piece if I can make it work.

Any thoughts greatly appreciated.

Hank


Re: [flexcoders] Re: cairngorm strategy question

2007-03-05 Thread hank williams
Thanks,

 Make a SoundManager Singleton class that extends the EventDispatcher.
  That way if you make use of the basic Flex events, you can then have
 the soundManager instance assign its event handlers.

This is the way the code currently works.


 As for using the Cairngorm class, I think that could also be a good
 idea.  I have written a little blog on it here:
 http://jwopitz.wordpress.com/2007/03/01/


I read your blog, and it seems to finish right where I am beginning. I
agree with your premise that commands can and should be used for
internal app communication and not just for remote access. In fact
that is why I posted my question. The issue is where in the cairngorm
architecture a singleton type class of this type should sit. In
cairngorm you have events, commands, delegates, views and model. As I
have spent time thinking about this today, I have started to think
that it is indeed closest to being an element of the model. It retains
state and can be queried as any element of the model can. The only
weird thing is that it can broadcast events. But it makes sense to me
that certain types of model information perhaps should be able to
generate events.

Currently models generate events surreptitiously via the binding
architecture. They really do generate events, just not in the
cairngorm way. So why not allow model elements to generate cairngorm
events?

 I would not start having the model do any command-ish activities since
 that is not its responsibility.

Why not?

If a model contains data that changes, why is it appropriate that the
only way to tell the world is via binding, when binding just doesnt
always match the need?

Regards,
Hank


Re: [flexcoders] Re: cairngorm strategy question

2007-03-05 Thread hank williams
Thanks guys,

I still dont know what I am going to do, but it is very helpful to
hear the arguments. Sometimes it is really helpful just to get other
peoples views. Obviously this is a bit of a gray area and there is no
*wrong* answer here, which is why nuance and opinion are quite
helpful.

Regards,
Hank

On 3/5/07, JWOpitz [EMAIL PROTECTED] wrote:
 I should probably clarify a few things.  If you have MVC, and I had to
 qualify a SoundManager class as one of those, I would probably see it
 first as a command class.  Manager type classes generally are of this
 nature anyway.  But that can easily be argued to say Sound is also a
 view type nature too and there is enough supporting information to be
 so.  Maybe this is more about personal preference as I can see both
 sides.

 As to why I don't like the Model doing command-ish like things is that
  again it is not its responsibility.  Now that is not too say that it
 can't dispatch events.  In fact when you have a [Bindable] class, it
 automatically dispatches propertyChange events.  So that is perfectly
 acceptable in my book.  In fact if you look in the flex2 reference
 material and search metadata, it explains how this works internally
 and how you can do it manually.  I do not, however, like methods in
 the Model aside from getters/setters.

 Many of the developers on my team, however do like to stick methods
 (not getters/setters) in the model.  I don't like it and advocate
 against it.  For instance we have a customizable dataGrid where users
 can add various column types with specific data.  I suggested having a
 command-type class build columns for it.  However, my teammates wanted
 to have a method in the model.  For what reasons I do not now.  All I
 know is that although I love democracy in terms of politics, I cannot
 stand it in application development. Sorry for that.  Just a rant and
 rave for a sec.  Back to the point though, to maintain consistency
 with the MVC framework, some sort of ColumnManager would be
 appropriate and would be in the command family.

 I am not any kind of MVC purist and occasionaly bend the rules or do
 something questionable with regards to what we have been discussing.
 But when developers start deviating dramatically from the core
 purposes of what a model is, what a command is, what a view is, then I
 will raise an eyebrow and possibly a stink.

 Again my 2 cents.  Hope it helps in your decision making.

 --- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED]
 wrote:
 
  Coming from a game development background, I always consider sound to be
  apart of the view. Generally, I consider anything directly consumed
 by the
  user to be view while internal state that has meaning independent
 of the
  view is the model.
 
  So, while your sound player does maintain state (the currently playing
  sound, the current position in the sound being played), you need to
 answer
  for yourself whether that state is on par with (to use a trivial
 example)
  the contacts in an address book or the position of a scroll bar on a
 text
  box. If the sounds are used to convey information about state, then it
  sounds to me they're more like scrollbars. If the sounds *are* your
 state
  that you're concerned with (like an audio editing application), then
 they
  should be in the model.
 
  Another way to judge it: if you were going to persist the current
 state of
  your application to disk, would you worry about persisting the state
 related
  to sound? Or to put it another way: if I was forced to manipulate
 the data
  in your application through an API instead of a UI, do I care about the
  sounds or are they only there for the pleasure of the human audience?
 
  Troy.
 
 
  On 3/5/07, hank williams [EMAIL PROTECTED] wrote:
  
 Thanks,
  
Make a SoundManager Singleton class that extends the
 EventDispatcher.
That way if you make use of the basic Flex events, you can then have
the soundManager instance assign its event handlers.
   
   This is the way the code currently works.
  
As for using the Cairngorm class, I think that could also be a good
idea. I have written a little blog on it here:
http://jwopitz.wordpress.com/2007/03/01/
   
  
   I read your blog, and it seems to finish right where I am beginning. I
   agree with your premise that commands can and should be used for
   internal app communication and not just for remote access. In fact
   that is why I posted my question. The issue is where in the cairngorm
   architecture a singleton type class of this type should sit. In
   cairngorm you have events, commands, delegates, views and model. As I
   have spent time thinking about this today, I have started to think
   that it is indeed closest to being an element of the model. It retains
   state and can be queried as any element of the model can. The only
   weird thing is that it can broadcast events. But it makes sense to me
   that certain types of model information perhaps should

Re: [flexcoders] Is it possible to build an actionscript only app that uses FDS remoting?

2007-02-26 Thread hank williams

Hey Brian,

Wow, not at all what I was thinking about but it looks like a better much
more flexible solution to the problem than what I had in mind.

Thanks
Hank

On 2/25/07, Brian Lesser [EMAIL PROTECTED] wrote:


Hi Hank,
I'm not using FDS, but do you mean like this:
http://www.mikenimer.com/index.cfm/2007/1/10/Bye-bye-services
Yours truly,
-Brian


hank williams wrote:

 I want to do java remoting, and I am currently using FDS. I would like
to
 build an actionscript project that uses java remoting via remoteObject.

 When you configure a flex project for remoting you indicate in the
 project
 settings where the flex server is, but these options are not available
 for
 an actionscript project. This would suggest that you cannot (or should
 not)
 do actionscript only projects that do FDS based remoting. My guess is
 that I
 am supposed to do this with a flex project but it does seem wierd that
an
 actionscript project is not supposed to be used for remoting.

 Any insight appreciated.

 Hank



--
__
Brian Lesser
Assistant Director, Application Development and Integration
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario   Phone: (416) 979-5000 ext. 6835
M5B 2K3Fax: (416) 979-5220
Office: POD??  E-mail: [EMAIL PROTECTED]
(Enter through LB99)   Web: http://www.ryerson.ca/~blesser
__




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






[flexcoders] Is it possible to build an actionscript only app that uses FDS remoting?

2007-02-25 Thread hank williams

I want to do java remoting, and I am currently using FDS. I would like to
build an actionscript project that uses java remoting via remoteObject.

When you configure a flex project for remoting you indicate in the project
settings where the flex server is, but these options are not available for
an actionscript project. This would suggest that you cannot (or should not)
do actionscript only projects that do FDS based remoting. My guess is that I
am supposed to do this with a flex project but it does seem wierd that an
actionscript project is not supposed to be used for remoting.

Any insight appreciated.

Hank


Re: [flexcoders] deep linking and seo

2007-02-21 Thread hank williams

On 2/21/07, Matt Chotin [EMAIL PROTECTED] wrote:


Quick little poll for you guys (written late at night, not validated by
my bosses, please be gentle...).  There has been plenty of discussion on
this list and elsewhere about deep linking and SEO for Flex apps.
Various solutions are available currently for deep linking like URLKit
or SWFAddress.  However a robust solution for SEO is not available,
primarily because the search engine vendors need to cooperate a little
bit




What could the search engine guys do to read the data presented in some flex
field based on a database search.

(the most popular suggestion these days is to return HTML instead of

a SWF when you think it's a search engine viewing your page, however
this is known as cloaking and the search engines frown upon it; think
about how porn sites operate and you'll know why).




This is not accurate. The search engines only consider this cloaking
and/or frown upon this when there is deception. It is considered perfectly
appropriate to have a page return data in different formats so long as the
content is the same and there is no effort to trick the user or the search
engines. This is not just me saying this, but is based on direct feedback
from people at Google.

Deep linking on its own of course has benefits, better URL support in

the address bar for bookmarking, copying into an IM or email, and even
cleaner history management.  But I would contend that most folks want
deep linking so that pages can show up in a search engine, that while
deep linking is nice, SEO is even more important.

Q1: Do you think about deep linking primarily in the context of SEO, or
do you often want deep linking for non-search-related tasks?



While I do not see deep linking as being only for SEO, I do think the
solutions should be integrated. You can't do SEO without deep linking, and
search is the primary revenue driver for the entire internet, so it is
clearly far more important that deep linking by itself.

We are currently investigating adding deep linking support into the Flex

framework (similar perhaps to URLKit, but more integrated, design still
TBD).  However I also want to get your opinion as to whether you think
we should be investing here at this time, knowing that we may not have
an SEO solution at the same time.  Note that as I said, SEO also
requires search engine help, so this is not a straightforward tradeoff.

Q2: Would you have us invest in deep linking before SEO, or is it of
more use to you if they come out together?  Are current deep-linking
solutions sufficient for you at this time?



I cannot imagine a scenario where these can be credibly separated. I think
URLKit is fine for now if you are not solving the search addressability
issue, so my vote would be for a comprehensive one. By the way, it sounds
like you guys are considering a solution that is different from returning
different data from the server if it is a search engine access - since you
guys have been considering that cloaking. I would really like to hear what
the alternate strategy you guys are considering is that would allow database
driven sites to work without returning alternate XHTML when hit by a search
engine, since I am having a hard time imagining conceptually, how such a
thing would work.

Regards,
Hank


Re: [flexcoders] Why doesn't Flash/Flex allow Basic Auth for uploads?

2007-02-11 Thread hank williams
I'm not sure I am clear on your problem. This is only an issue when
you are not running in a browser.  The reason for this is that flash
relies on the browsers code for doing this. In other words if you have
created a flash projector this will not work. Is that what you are
doing?

Hank

On 2/11/07, Steven Toth [EMAIL PROTECTED] wrote:
 I'm working on an application that's on a development server that is
 secured via Basic Auth over HTTPs.  The application has an upload
 feature that will not work on the development server because Flash/Flex
 does not allow authentication for uploads...

 Here's an excerpt from the SDK documentation of the
 flash.net.FileReference class (that is being used to upload files)...

 Note: If your server requires user authentication, only SWF files
 running in a browser — that is, using the browser plug-in or ActiveX
 control — can provide a dialog box to prompt the user for a username
 and password for authentication, and only for downloads. For uploads
 using the plug-in or ActiveX control, or for uploads and downloads
 using the stand-alone or external player, the file transfer fails.

 Any input or workarounds would be appreciated.  Thanks.

 -Steven



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


Re: [flexcoders] Flex 3.0 - What happened to letting Flex 2 bed in?

2007-01-25 Thread hank williams
Yeah, I would much prefer it if they slowed down their innovation
substantially. Because I am absolutely sure that is the way microsoft
looks at it. In fact I think Bruce Chizen should call Steve Balmer and
say something like this. you know, as a favor to our users lets agree
that we will give then at least three years between releases so we
dont bum them out with too much stuff, you know this stuff *is* kinda
hard dude.

And Balmer would say, Sure Bruce, I know what you mean. And even
though we do want to put you out of business, fair is fair. Lets agree
to a two year innovation pause. That'll give both our user bases time
to take a breather. And we can let our developers focus on putting
someone else out of business!

Yup, thats whats gonna happen!

Hank

On 1/25/07, Adam Reynolds [EMAIL PROTECTED] wrote:
 I don't know if anybody else has signed up for the Flex 3 beta, but does
 anyone else feel that Flex 3 is a little bit too close to Flex 2?

 I was discussing this with an editor of a PC magazine, here in the UK,
 and he was very surprised.

 I'm assuming Adobe will not be charging much for upgrades from 2 to 3
 and is it really such a good idea to be going up a whole new version
 when Flex 2 has literally been around for months, not even years.

 I really would like Adobe to comment on this as this seems a bit messed
 up. Can they assure the community that there will be a minor charge for
 upgrading from 2 to 3?

 Adam



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






Re: [flexcoders] simple ArrayCollection question

2007-01-14 Thread hank williams

I dont know the format that php uses for sending data, but in java when I
send data, the result also has a field called source which is already in the
form of an ArrayCollection. This I suspect depends on the data structure
used to send the data and how php does it.

Regards,
Hank


On 1/13/07, Kevin [EMAIL PROTECTED] wrote:


I solved my own problem!  I had forgotten to include the 'new'
keyword...it's getting late in NYC!

code should read:



public function result(data:Object):void {
var myList:ArrayCollection = new ArrayCollection(data as Array);
}






- Kevin



 On Jan 13, 2007, at 7:15 PM, Kevin wrote:

  I can't seem too create an ArrayCollection from and array.  I have data
being returned (type object) which I can successfully type into an array,
but when I try to then change it to an ArrayCollection it fails with the
follow error.  What am I doing wrong?


public function result(data:Object):void
{
var myList:ArrayCollection = ArrayCollection(data as Array);
}

ERROR: TypeError:  Type Coercion failed: cannot convert [EMAIL PROTECTED] to
mx.collections.ArrayCollection.



this works fine,

public function result(data:Object):void {
var myList:Array = data as Array;
}

this is what is being sent to result()


var sendList: Object = ['test 0','test 1','test 2','test 3','test 4','test
5','test 6'];
responder.result( sendList );
.



Thanks much,
- Kevin









Re: [flexcoders] Re: Tree: Resetting openItems after dataProvider change

2007-01-04 Thread hank williams

openIndices, huh?  Isn't there a problem wherein index is linear, but the

tree is hierarchical?



Yes, it would be a rather fragile value.


Hank.

--


*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Oliver Merk
*Sent:* Wednesday, January 03, 2007 9:35 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Re: Tree: Resetting openItems after dataProvider
change



@Tracy  Hank: Thanks very much for the feedback and suggestions.
Tracy, I clearly understand that the data drives the behavior of the
tree. I do, however, disagree with Adobe's changes to the tree control
in Flex 2.

Here's why: The concept of a node being opened or closed, has no
corollary in the ArrayCollection or XMLListCollection data structures.
That is, an ArrayCollection element has no concept of being open.
This is a concept related to the Tree control. So the act of restoring
the open/closed state of a tree's nodes should IMHO be a lot easier
than jumping through the hoops we've all suggested.

If, as I originally suggested, there was a openIndices property,
similar in concept to the openItems property which already exists, I'd
be able to restore the tree's visual appearance *independent* of the
data -- which, in my case of switching languages at runtime is exactly
what I need to do.

I have achieved a working prototype by adding an attribute to the
branch nodes' XML, tracking the open and close events and recursing
through the data to restore the opened states after the data has
changed; but again, IMHO it should not be this hard;)

Thanks again,
Oliver

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tracy
Spratt [EMAIL PROTECTED] wrote:

 Yes, Hank's solutionsis what I would do.



 Further, when you say ...Flex 2 tree control limits direct access to
 nodes..., you make me suspect you are making a conceptual mistake.
 With data-driven controls, you never directly access the controls
 themselves. Rather, you work with the dataProvider, to which you have
 full access.



 So in your case, you would have the unique id on each element(XML
 object/node) in your XMLListCollection, and you would store the open
 nodes in some list. I think an associative array(hash table) would be
 the most efficient. The function to open those nodes would need to be
 recursive. When your recursive function matches a node in the
 associative array, you would need to climb back up the tree, parent by
 parent, opening each node as you go, till you reach an alrady open node.
 Might be a bit more compilcated than that, since you want to reach the
 end of a recursion branch before you stop searching.



 If you post an example of two sample matching xml docs, with the above
 mentioned ids, I might try to implement this functionality as an
 example.



 Tracy





 

 From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
 Behalf Of hank williams
 Sent: Sunday, December 24, 2006 7:51 AM
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Subject: Re: [flexcoders] Tree: Resetting openItems after dataProvider
 change



 I think you are on track with the idea of needing an open indices
 property. But indicices are a bit messy in a tree. what would be best is
 a set of common unique identifiers. A field in each node that is unique.
 This will allow you to build a function that creates a list of the ids
 that are open, and another function that opens those nodes. The nodes
 will have the same id no matter what language the actual text of the
 tree item is. gathering the ids from the open items, and opening the
 items that have a given list of ids should be relatively straight
 forward.

 Regards,
 Hank

 On 12/23/06, Oliver Merk [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  wrote:

 I've been wrestling with this for over a week and haven't found a
 solution to this problem. Hoping someone can help.

 I have a tree control that, at runtime, changes its dataProvider. In
 this case, I'm switching languages and the dataProvider format is
 XMLListCollection. I'd like to restore the open items of the tree
 after the dataProvider has changed. I tried using the openItems
 property, but openItems stores a list of XML objects from the original
 dataProvider.

 When the provider changes, the XML objects are of course different,
 and trying to reset the openItems property fails. What I really need
 is an openIndices property that is not tied to the XML data in the
 provider.

 The example Adobe gives
 (http://www.adobe.com/devnet/flex/quickstart/working_with_tree/
 http://www.adobe.com/devnet/flex/quickstart/working_with_tree/ ) is
 not helpful since they switch between two dataProviders with the same
 content and they're using an ArrayCollection (I'm using an
 XMLListCollection).

 I've tried walking the tree but since the new Flex 2 tree control
 limits direct access to nodes, I

Re: [flexcoders] Re: project set up: FDS ?? AMFPHP ?? WebOrb ??

2007-01-03 Thread hank williams


To answer your question, I think it is a better practice to start a
project with the type of client/server communication it will
eventually use. Although it is possible to migrate from HttpService or
WebService to RemoteObject in the middle of a project (and thus change
the project type), I personally think it is an architectural type of
decision and must be addressed before you even start coding.



It's never a bad idea to know exactly what you want to do from the start,
but the great thing about cairngorm is that all of that is isolated at the
delegate level so that it is incredibly easy to change.

Of course this all assumes the request response model as opossed to the
dataService model where the data is updated by FDS without any requests at
all. I understand they are working on a new version of cairngorm to
accomodate this, but right now there are no clear cairngorm guidelines on
how to use dataServices. That said I wouldnt imagine it would be too hard to
integrate the two.

Regards,
Hank


Re: [flexcoders] Tree: Resetting openItems after dataProvider change

2006-12-28 Thread hank williams

On 12/27/06, Tracy Spratt [EMAIL PROTECTED] wrote:


 Hank, you are absolutely correct, the amazing e4x selection expressions
will replace the recursive function.  I guess I did so many recursive
functions for this in 1.5 that I was temporarily stupid.  And the ID
values can be stored in a simple Array, and looped over.



I believe he will still need to climb the ancestor chain to open the
parents of the found nodes though.



Tracy


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *hank williams
*Sent:* Wednesday, December 27, 2006 9:26 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Tree: Resetting openItems after dataProvider
change



Actually, Tracy, I dont think you need to do all of this work. The
openItems field of the tree does it for you. So you just need to go through
the openItems array of nodes and gather all the item IDs that I described in
the prior email.

To reopen them later, you just use the an e4x function (I forget the
syntax but I can look if necessary) to find all the items in the
dataprovider that have the given ID. You then open each one of these nodes.

Hank

On 12/26/06, *Tracy Spratt* [EMAIL PROTECTED] wrote:

Yes, Hank's solutionsis what I would do.



Further, when you say …Flex 2 tree control limits direct access to
nodes…, you make me suspect you are making a conceptual mistake.  With
data-driven controls, you never directly access the controls themselves.
Rather, you work with the dataProvider, to which you have full access.



So in your case, you would have the unique id on each element(XML
object/node) in your XMLListCollection, and you would store the open nodes
in some list.  I think an associative array(hash table) would be the most
efficient.  The function to open those nodes would need to be recursive.
When your recursive function matches a node in the associative array, you
would need to climb back up the tree, parent by parent, opening each node as
you go, till you reach an alrady open node.  Might be a bit more compilcated
than that, since you want to reach the end of a recursion branch before you
stop searching.



If you post an example of two sample matching xml docs, with the above
mentioned ids, I might try to implement this functionality as an example.



Tracy




 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *hank williams
*Sent:* Sunday, December 24, 2006 7:51 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Tree: Resetting openItems after dataProvider
change



I think you are on track with the idea of needing an open indices
property. But indicices are a bit messy in a tree. what would be best is a
set of common unique identifiers. A field in each node that is unique. This
will allow you to build  a function that creates a list of the ids that are
open, and another function that opens those nodes. The nodes will have the
same id no matter what language the actual text of the tree item is.
gathering the ids from the open items, and opening the items that have a
given list of ids should be relatively straight forward.

Regards,
Hank

On 12/23/06, *Oliver Merk* [EMAIL PROTECTED] wrote:

I've been wrestling with this for over a week and haven't found a
solution to this problem. Hoping someone can help.

I have a tree control that, at runtime, changes its dataProvider. In
this case, I'm switching languages and the dataProvider format is
XMLListCollection. I'd like to restore the open items of the tree
after the dataProvider has changed. I tried using the openItems
property, but openItems stores a list of XML objects from the original
dataProvider.

When the provider changes, the XML objects are of course different,
and trying to reset the openItems property fails. What I really need
is an openIndices property that is not tied to the XML data in the
provider.

The example Adobe gives
(http://www.adobe.com/devnet/flex/quickstart/working_with_tree/) is
not helpful since they switch between two dataProviders with the same
content and they're using an ArrayCollection (I'm using an
XMLListCollection).

I've tried walking the tree but since the new Flex 2 tree control
limits direct access to nodes, I could not find a way to detect the
open indexes of the tree directly.

Any ideas?

Thanks,
Oliver



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links











Re: [flexcoders] Tree: Resetting openItems after dataProvider change

2006-12-28 Thread hank williams

I believe he will still need to climb the ancestor chain to open the parents

of the found nodes though.



The only reason I dont think you need to do this is that I *believe* that
the openItems field captures all of the ancestors that are open, so that if
you take a snapshot of the open items gathering a list of ids of open items
you can later just open those because the openItems field captures
everything open in the hierarchy.

Hank

Tracy




Re: [flexcoders] Multiple Model Locators

2006-12-28 Thread hank williams

I'll just chime in an say I do exactly the same thing. In fact I actually
create separate projects for different pieces of my application to maintain
modularity and allow the different pieces to be worked on independently.

Regards,
Hank

On 12/28/06, Kevin Merritt [EMAIL PROTECTED] wrote:


I am migrating a fairly complex RIA from Flash to Flex and am trying
to redesign the entire framework using Cairngorm.   I have read
numerous examples and tutorials explaining the Model Locator, and am
sold on the idea of using business logic to manage views (per Alex's
blog) however, I am wondering if there are certain cases where it
would make sense to use multiple Model Locators and segregate them
based on the types of data they are locating them.

For example, I have grouped some of my data objects in the following
way:

Application Data - objects which allow me to customize the interface
and user experience for different clients.
User Data - objects with hold information about the user, including
preferences  access levels
Group Data - objects which hold user defined groups that hold
contacts  schedules
Contact Data - objects which hold lists of contacts and their
specific infor such as addresses, emails, phones
Sched Data - objects which hold info about event schedules for each
contact

what I am wondering is if in this case, it would make things more
manageable if I set up a couple different Model Locators such as:

AppModelLocator - to access Application Data
UserModelLocator - to access User Data
GroupsModelLocator - to access Group, Contact  Sched data

Is this a smart way to approach this OR am I creating potential
problems for myself by doing it this way.  What am I missing?  Is
there anything on the web that talks abotu multiple Model Locators in
a single app.

Thanks for the help!

- Kevin


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






Re: [flexcoders] Tree: Resetting openItems after dataProvider change

2006-12-27 Thread hank williams

Actually, Tracy, I dont think you need to do all of this work. The openItems
field of the tree does it for you. So you just need to go through the
openItems array of nodes and gather all the item IDs that I described in the
prior email.

To reopen them later, you just use the an e4x function (I forget the syntax
but I can look if necessary) to find all the items in the dataprovider that
have the given ID. You then open each one of these nodes.

Hank

On 12/26/06, Tracy Spratt [EMAIL PROTECTED] wrote:


 Yes, Hank's solutionsis what I would do.



Further, when you say …Flex 2 tree control limits direct access to
nodes…, you make me suspect you are making a conceptual mistake.  With
data-driven controls, you never directly access the controls themselves.
Rather, you work with the dataProvider, to which you have full access.



So in your case, you would have the unique id on each element(XML
object/node) in your XMLListCollection, and you would store the open nodes
in some list.  I think an associative array(hash table) would be the most
efficient.  The function to open those nodes would need to be recursive.
When your recursive function matches a node in the associative array, you
would need to climb back up the tree, parent by parent, opening each node as
you go, till you reach an alrady open node.  Might be a bit more compilcated
than that, since you want to reach the end of a recursion branch before you
stop searching.



If you post an example of two sample matching xml docs, with the above
mentioned ids, I might try to implement this functionality as an example.



Tracy




 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *hank williams
*Sent:* Sunday, December 24, 2006 7:51 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Tree: Resetting openItems after dataProvider
change



I think you are on track with the idea of needing an open indices
property. But indicices are a bit messy in a tree. what would be best is a
set of common unique identifiers. A field in each node that is unique. This
will allow you to build  a function that creates a list of the ids that are
open, and another function that opens those nodes. The nodes will have the
same id no matter what language the actual text of the tree item is.
gathering the ids from the open items, and opening the items that have a
given list of ids should be relatively straight forward.

Regards,
Hank

On 12/23/06, *Oliver Merk* [EMAIL PROTECTED] wrote:

I've been wrestling with this for over a week and haven't found a
solution to this problem. Hoping someone can help.

I have a tree control that, at runtime, changes its dataProvider. In
this case, I'm switching languages and the dataProvider format is
XMLListCollection. I'd like to restore the open items of the tree
after the dataProvider has changed. I tried using the openItems
property, but openItems stores a list of XML objects from the original
dataProvider.

When the provider changes, the XML objects are of course different,
and trying to reset the openItems property fails. What I really need
is an openIndices property that is not tied to the XML data in the
provider.

The example Adobe gives
(http://www.adobe.com/devnet/flex/quickstart/working_with_tree/) is
not helpful since they switch between two dataProviders with the same
content and they're using an ArrayCollection (I'm using an
XMLListCollection).

I've tried walking the tree but since the new Flex 2 tree control
limits direct access to nodes, I could not find a way to detect the
open indexes of the tree directly.

Any ideas?

Thanks,
Oliver



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links









Re: [flexcoders] Tree: Resetting openItems after dataProvider change

2006-12-24 Thread hank williams

I think you are on track with the idea of needing an open indices
property. But indicices are a bit messy in a tree. what would be best is a
set of common unique identifiers. A field in each node that is unique. This
will allow you to build  a function that creates a list of the ids that are
open, and another function that opens those nodes. The nodes will have the
same id no matter what language the actual text of the tree item is.
gathering the ids from the open items, and opening the items that have a
given list of ids should be relatively straight forward.

Regards,
Hank

On 12/23/06, Oliver Merk [EMAIL PROTECTED] wrote:


I've been wrestling with this for over a week and haven't found a
solution to this problem. Hoping someone can help.

I have a tree control that, at runtime, changes its dataProvider. In
this case, I'm switching languages and the dataProvider format is
XMLListCollection. I'd like to restore the open items of the tree
after the dataProvider has changed. I tried using the openItems
property, but openItems stores a list of XML objects from the original
dataProvider.

When the provider changes, the XML objects are of course different,
and trying to reset the openItems property fails. What I really need
is an openIndices property that is not tied to the XML data in the
provider.

The example Adobe gives
(http://www.adobe.com/devnet/flex/quickstart/working_with_tree/) is
not helpful since they switch between two dataProviders with the same
content and they're using an ArrayCollection (I'm using an
XMLListCollection).

I've tried walking the tree but since the new Flex 2 tree control
limits direct access to nodes, I could not find a way to detect the
open indexes of the tree directly.

Any ideas?

Thanks,
Oliver



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






Re: [flexcoders] Re: SEO Compatibility

2006-12-20 Thread hank williams

Thank Claus, I wah hoping you would pipe in on this!

Hank

On 12/20/06, Claus Wahlers [EMAIL PROTECTED] wrote:



  I dont think google needs to do much here. If we can get the server
  product to easily allow XML to enhance the HTML response then googles
  indexing will just work.


 I'd love to see this work in a concrete example. ;-)

 Again, I am not an HTML expert, (Claus is really the guy that has the
 expertise to be saying this) but this is really just the kind of stuff
 that he has been talking about. I am just putting a little more specific
 meat on the bone. I think Claus pointed to a flash website that does
 this that he mentioned earlier in this thread.

I don't know if i have any more expertise than you ;)

But let me just say that XHTML *is* XML, and XHTML is all about
semantics, ie. you *could* use XHTML both as the (perfect) format you
use to feed to search engine bots *and* as the datasource for your Flash
application/site. Of course you don't *need* to do the latter, you can
also pipe the (same) data to Flash via remoting or whatever, but for any
of your site's URLs the content a search engine bot sees and the content
a human with JS/Flash enabled browser sees must be the same.

The Flash website was http://guipaganini.com.br/
It supports deep linking, eg. http://guipaganini.com.br/12/75
View source (or switch off JS) to get the idea.
The XHTML is loaded as is into Flash.
I'm using the Symfony PHP5 framework on the server side.
(Disclaimer: don't look too close at the Flash site, it's been a low
budget project and i still need to finetune it)

Cheers,
Claus.

--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






Re: [flexcoders] Newbie Question: View states or view stack;

2006-12-20 Thread hank williams

On 12/20/06, Tolis Christomanos [EMAIL PROTECTED] wrote:


Hi all!

Can you tell me how to structure this..

I have a login form, a register form and then the main application.
Should i use states or the view stack to go from form to form and from
form to main application.

Thanks in advance.



I think in any context where you can, I would use a viewStack over
viewStates. ViewStates are very powerful when you need to do fancy
transitions, but they are more complex.

Regards,
Hank


--

Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






Re: [flexcoders] Re: SEO Compatibility

2006-12-20 Thread hank williams



Either way, it's reconciling the two urltypes that's the crux of the
problem as I see it.



Kevin,

You keep saying this, and maybe I am missing the big picture here, but I am
not clear why it is necessary to reconcile these two url types, or how
they relate to each other at all. It seems to me you can use them both, they
exist for different purposes and there is no problem. You seem to think that
that is not right, and below categorize it as so large a problem. What am
I not understanding?

Regards,
Hank


Re: [flexcoders] how to start editing a datagridcolumn programmatically

2006-12-19 Thread hank williams

The way I handled this was to put a little button in the actual
itemrenderer.

The itemRenderer contains a little button and then, to the right of it, the
text of the cell. When you click the button it actually opens up a small
floating window which is where you do the editing.

When I wrote this code I was a younger flex coder and couldnt get certain
aspects of it right regarding having the editing happen in the cell. But it
actually worked out better from a UI perspective because I can give the user
the opportunity to easily save or cancel. The reason I put the button in the
cell is that as far as I know, there is no good way to indicate that a
specific column is selected. All I can do is select a row. so if you have
multiple columns and only want to edit one, your options are that clicking
on the cell puts you in edting mode, or clicking on a small piece of the
cell (a button) causes you to go into editing mode.

Regards
Hank

On 12/19/06, Pan Troglodytes [EMAIL PROTECTED] wrote:


How can I create a button click event that will start editing of the
selected grid column?  I want to have a rename button for clarity (for
those users who won't guess to click on the item to rename it).

--
Jason 



Re: [flexcoders] SEO Compatibility

2006-12-19 Thread hank williams

On 12/19/06, John Dowdell [EMAIL PROTECTED] wrote:


hank williams wrote:
 I want to apologize for the stridency of my earlier remarks.

No worries, you've contributed a lot over the years, forget about it. :)

I'm not sure how the various search engines do with query terms in URLs,
though... some may index and/or rank on it, others may not. I don't know.



I may not have been clear. The info in the url is just the same kind of info
that a regular website would use to indicated what to display. So its not
that google is indexing the url. Its that the server is, when it sees an
extended url, sending indexable html along with the rest of the webpage that
contains the swf. In this way, URLs are used to identify a particular set of
content, just like a non flash website.


I do know that the various search engines explicitly warn against

cloaking (redirecting search results to different content), but for
understandable reasons they don't go into much detail on their
implementations.



I am not suggesting this. I am just suggesting that when a url is sent to
the server that describes a particular  content set, for example a
particular myspace page like www.myspace.com/hank that the server sends
along invisible html data that exactly matches what the swf is going to show
once it gets up and running.

It sounds like our core current problem is in figuring out how to get

search engine results for dynamic user-generated content piped through a
standard interface...



Well, piped into html when an appropriate URL is delivered to a server.

if someone types salmonella into a restaurant

review, eg. I'm still not sure whether the search engines will support
such a goal or not...



They will if we can get the data into html

the big thing this year for Google, Yahoo and MSN

was to support a standard sitemap protocol, but this is again for the
main static content, rather than the ongoing contributions held within a
database:
http://www.sitemaps.org/




The sitemap thing solves an important half the problem. It identifies the
URLs that the spider should search. But then you need the server to actually
send indexable data/html when the given URLs are hit. And what I am saying
is that when one of these URLs are hit, that the server needs to provide
both the swf, and the invisible html that contains the indexable data that
you will see in the swf. This means the content will be accessible in the
swf, and accessible to the search engines in html. This is the thrust of my
earlier described content.

Regards
Hank


Re: [flexcoders] Re: SEO Compatibility

2006-12-19 Thread hank williams


 This it seems is not that interesting a question because it is the
 easy part. Flash/Flex apps can easily read data in the URL and go to
 the right place in the app which can then use remoting to get the data
 in the right format for the app.
Yeah, but it has to run to do that, and then the displayed data has to
be interpretable by the bot - if that can be standardized enough for a
spider to understand what it's got back from the server (maybe an event
system that says hey I'm ready to be indexed, or read me now -
screen readers have to be able to do this, so I guess it might be
possible), that's great, but I don't know if spiders will be that smart,
or if companies like google would be willing to build such a bot that
can run apps like that. I suppose it would be more ideal than two
different types of links into the app (hash # and query ?).

Of course the bot would still need to know how to crawl the site (where
to get urls) - I guess sitemaps.org could come in handy here. A smart
enough bot wouldn't even have to reload the app (if the app don't break
at least).



The html can definitely be formatted in such a way that bots can read it. I
am not at all an HTML, XHTML, or JS expert, but as I understand it from lots
of other folks this is no big deal.




 I think the easiest way to do that would be with a small snippet of
 JavaScript that would detect for Flash Player (or whatever the app
 requires) then location.replace you into the appropriate location
 within
 the application (which would need deep linking support, and there
many
 ways to do that now).


 This, it seems to me is more complicated than necessary. I do this in
 my current app without any javascript snippet (cuz I dont know jack
 abou js!). I just read the parameter from the application object go to
 the right place in my app and load the appropriate data from the server.
Do you do this after the page loads, or when the app is requested?



Well, I guess I dont know when it happens. In flex, when an app loads, you
can get the URL parameters in an object that is part of the applications
object. I guess that happens when the page loads and then the page loads the
swf.




 What's needed now is a concrete example to follow, or a set of
 patterns
 or standards, or whatever, that will ease the development of this
 second
 view of your app's content.


 I think the server side code to do this is more than just a standard.
 I think we need an entry point on the current adobe remoting products
 for adding XML to the HTML response of a url with addition field or
 query information.
For Adobe's products, a tool that would help developers build something
like that into their content systems, would be useful.


 It would be nice if Google and Adobe (and whoever else) could get
 together and figure out what these standards/patterns should look
 like,
 but there's no reason the development community can't get this
figured
 out. :-)



 I dont think google needs to do much here. If we can get the server
 product to easily allow XML to enhance the HTML response then googles
 indexing will just work.
I'd love to see this work in a concrete example. ;-)



Again, I am not an HTML expert, (Claus is really the guy that has the
expertise to be saying this) but this is really just the kind of stuff that
he has been talking about. I am just putting a little more specific meat on
the bone. I think Claus pointed to a flash website that does this that he
mentioned earlier in this thread.

Regards,
Hank


Re: [flexcoders] SEO Compatibility

2006-12-19 Thread hank williams

On 12/19/06, Kevin Newman [EMAIL PROTECTED] wrote:


hank williams wrote:

 I do know that the various search engines explicitly warn against
 cloaking (redirecting search results to different content), but
for
 understandable reasons they don't go into much detail on their
 implementations.


 I am not suggesting this. I am just suggesting that when a url is sent
 to the server that describes a particular  content set, for example a
 particular myspace page like www.myspace.com/hank
 http://www.myspace.com/hank that the server sends along invisible
 html data that exactly matches what the swf is going to show once it
 gets up and running.
I think the problem is that Flex or any single page web app doesn't use
that style of url (which actually goes to the server and fetches another
page). They tend to use hash based urls (#) to avoid page refreshes. So
how to you reconcile the two url types - you don't want the
Flex/Flash/etc. app refreshing every time the url changes, that's not
cool. (more on this below).

 The sitemap thing solves an important half the problem. It identifies
 the URLs that the spider should search. But then you need the server
 to actually send indexable data/html when the given URLs are hit. And
 what I am saying is that when one of these URLs are hit, that the
 server needs to provide both the swf, and the invisible html that
 contains the indexable data that you will see in the swf. This means
 the content will be accessible in the swf, and accessible to the
 search engines in html. This is the thrust of my earlier described
 content.
That's correct, but how do you make sure to send the data back when your
server recieves a hit for something like http://www.unfocus.com/#Contact
- I'm not sure the hash portion of that url makes it to the server (I
would be ecstatic to learn I'm wrong here) - or even that indexers
(spiders) would use that part of the hash if it was in a link.



I dont think you need to use the hash based URL for the indexing thing. The
reason is that I dont think you need to use visible URLs to do this. The
only place these URLs would appear is in the sitemap, because all we are
concerned about is indexing. So you use a regular url using  ?foo=bar. When
the bot calls the URL, the server recognizes it and sends the additonal data
in the html wrapper, *and* the swf also gets the URL in the application
object so that the flex app can navigate to the appropriate screen and
dataset, possibly making a remoting call. I know this works because not
including the sitemap and the hiding of data in the html, I do this in my
current app. I am depending on Claus for the hiding of the data in the html
:).


If spider bots are willing to run web apps (using whatever technology)

and those apps are screen accessible, I guess it would be possible to
actually index the content from within the app, but I'm just not sure
how feasible such a setup would be (I have heard that google is playing
with search tech that would load a copy of firefox and actually index
based on what it's really displaying).



This seems way too complex to me. I think, as you suggest, it is
questionable whether one could make it work.

The other way is to just use two different link types, and Content views

- one hash based (#foo=bar) for the client app (Flash/Flex/etc.), and
one query string based (?foo=bar) for the html files that are indexed.
And if we should avoid automatically forwarding the user from the query
url to the hash url, then we are stuck presenting search engine users
with html content, or loading the application, and refreshing the url at
some point to main url (..com/?foo=bar#someother=location would just be
wrong) and the app along with it (no seemless transition from a search
engine link - which honestly, might not be the end of the world).



I think your basic thought here is right, and not too bad. For indexing you
use ?foo=bar. The user never needs to see this except in google as the link,
though if he did, and he used it, it would work no problem.
#foo=bar would be used for internal linking and what you see in the nav bar
when you navigate around the app. This doesnt seem too bad to me.

This is a tough nut. :-)


Aw come on... its not that bad - I think we are making good progress here!

Hank


Re: [flexcoders] Re: Cairngorm for Actionscript 3.0 projects

2006-12-18 Thread hank williams

I think he meant AS3 without Flex - right Bram?

Hank

On 12/18/06, edeustace [EMAIL PROTECTED] wrote:


Hi,
The most recent versions of Cairngorm works perfectly with AS3/flex 2
projects. be sure to download version 2 or 2.1.

http://labs.adobe.com/wiki/index.php/Cairngorm


later
ed


--- In flexcoders@yahoogroups.com, Webdevotion [EMAIL PROTECTED] wrote:

 Hello Flexcoders,

 Is it allright to use Cairngorm for AS 3 projects?
 I'm getting up to speed with Flex and AS 3.0 and
 want to start learning some relevant frameworks.

 Which ones are among the best choices for
 strictly AS 3 projects ?

 Bram





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






Re: [flexcoders] Re: Cairngorm for Actionscript 3.0 projects

2006-12-18 Thread hank williams

I dont think you can use Cairngorm without flex.

I dont know the source code, but it seems to rely on elements of the flex
framework in order to work. This would mean using at minimum the core flex
library which I think is about 100+ k without doing much of anything.

So the issue is whether you could put up with that kind of overhead in your
project.

Regards
Hank

On 12/18/06, Webdevotion [EMAIL PROTECTED] wrote:


That's correct Hank, AS 3 only projects.




Re: [flexcoders] Re: Cairngorm for Actionscript 3.0 projects

2006-12-18 Thread hank williams

Hmm... in looking at those links, they all seem to be about cairngorm .95
i.e. the version for as2.

In any case the author was, with some modification able to get things to run
without flex by making some mods to cairngorm. I would strongly suspect that
with some mods to the current version of cairngorm that you could do
cairngorm with AS3 only. But I would be curious if someone knew *how much*
work would be required in the current version.

Regards,
Hank

On 12/18/06, greg h [EMAIL PROTECTED] wrote:


Bram,

Yes, Cairngorm has been used on Flash only projects (although not by me
;-).  Following are 3 links related to 2 occasions that this question came
up last month on the FlashCoders list.


http://chattyfig.figleaf.com/pipermail/flashcoders/2006-November/175801.html

http://tech.groups.yahoo.com/group/cairngorm-documentation/message/156


http://chattyfig.figleaf.com/pipermail/flashcoders/2006-November/176244.html

hth,

g




Re: [flexcoders] SEO Compatibility

2006-12-18 Thread hank williams

On 12/18/06, John Dowdell [EMAIL PROTECTED] wrote:


sanjaypmg wrote:
 Is Flex SEO Compatible?
 If yes, How can I my flex application SEC compatible? so that it can
 be easily available for search engines available.


This was the original question. Other topics came up during discussion.
I'd like to confirm that I have the correct understanding of the main
action item here... is the following wishlist item accurate?

I'd like Adobe to provide examples on how to expose user-entered text,
stored within my database and displayed and entered through a Flex SWF's
UI, so that any search engine could search for that user text and return
the address of the interface.

I'm on the right page here for the subsequent discussion, true...?



John,

First of all I want to apologize for the stridency of my earlier remarks.
While I did not agree with the tone of your response to this subject, I
certainly could have addressed the issue in a more measured tone than I did.

Regarding your question, I think you are exactly clear, with one caveat.

Having thought about this a fair bit, I suspect that its more than just an
example, in the typical sense of the word.

In my thinking, what would be really good (needed?) is something that
requires some server side code. The idea is that certain urls need to return
data that is packaged along with the html wrapper and the swf.

for example, when a user accesses www.myapp.com it would get the standard
html wrapper and swf . But if an app provides an extended url like
www.myapp.com?field=yadayada then the field=yadayada might be a signal to
provide some specific XML data in the html along with the swf.

The swf could then also access the same data using the standard remoting
mechanism by reading the application parameters.

This would allow us to get data into the html and still use remoting as the
primary way of grabbing data from the server.

The best place for this kind of thing would be in adobe's server products,
FDS and cold fusion. Perhaps it could be done with some server side sample
code. It would require that the developer on the server side could read the
url and easily add XML type data to the html wrapper. Right now I don't know
that I could do this at all with FDS and I dont know much about cold fusion.
Amusingly, in this area, without using these tools one has much more control
of the form of the wrapper, and writing in a server language like php it
might be much easier.

I am not clear how this could be addressed on the client side alone, since
the only way to address it is to have additional information delivered when
querying certain URLs.

Regards,
Hank


Re: [flexcoders] Re: SEO Compatibility

2006-12-18 Thread hank williams

Kevin,

I had a few inline comments on some of what you wrote since I had a few
differences of opinion.

On 12/18/06, Kevin Newman [EMAIL PROTECTED] wrote:




I think that's great and don't necessarily think Adobe needs to fix the
problem, since I don't think it's Adobe's problem - I like the
flexibility.



I think its definitely adobe's problem to the extent that they offer
products that are client/server systems instead of just client tools.  FDS
and Cold Fusion should offer a way to facilitate this most important  of
issues. Adobe has defined a significant part of its business as building
servers in the flash ecosystem. I dont think solving this issue would limit
any flexibility.

This is a problem for Google and others, to fix, or perhaps one that

there is already a solution for.



I dont see why this would be googles issue really at all. More on this
below.

The problem with Flex/Flash/AJAX/Expression Blend apps, is that they are

not documents, they are applications.




Actually, many such apps are *both* apps and documents and that is where the
problem is. For example a discussion board is an app that manages and
displays document type data that deserves to be indexed.

How would Google or anyone else

index something like Microsoft Word, or Adobe Photoshop.




You correctly point out that these do not make sense for indexing, but these
are not the kinds of apps that we are talking about for user generated
content or webapps that have significant indexable data.




To me the answer is as Claus suggests - to build an alternative, server
side web app, that serves the documents to spiders and bots (BTW, this
can be produced before or after the UI - it's up to the developer ;-) ).

The interesting question, and the place that needs focus, is what is the
right way to direct traffic from those search pages back into the web
app.



This it seems is not that interesting a question because it is the easy
part. Flash/Flex apps can easily read data in the URL and go to the right
place in the app which can then use remoting to get the data in the right
format for the app.

I think the easiest way to do that would be with a small snippet of

JavaScript that would detect for Flash Player (or whatever the app
requires) then location.replace you into the appropriate location within
the application (which would need deep linking support, and there many
ways to do that now).



This, it seems to me is more complicated than necessary. I do this in my
current app without any javascript snippet (cuz I dont know jack abou js!).
I just read the parameter from the application object go to the right place
in my app and load the appropriate data from the server.

What's needed now is a concrete example to follow, or a set of patterns

or standards, or whatever, that will ease the development of this second
view of your app's content.



I think the server side code to do this is more than just a standard. I
think we need an entry point on the current adobe remoting products for
adding XML to the HTML response of a url with addition field or query
information.

It would be nice if Google and Adobe (and whoever else) could get

together and figure out what these standards/patterns should look like,
but there's no reason the development community can't get this figured
out. :-)




I dont think google needs to do much here. If we can get the server product
to easily allow XML to enhance the HTML response then googles indexing will
just work.


Regards,
Hank






Re: [flexcoders] SEO Compatibility

2006-12-18 Thread hank williams


I'm not as convinced that this is a problem that Adobe could solve. Flex
and Flash are so open ended, that there are dozens of combinations of
server and client technologies that can be used to produce a Flex or
Flash (or Ajax for that matter) application. I don't think a single
product could be made that would be flexible enough to be used with
every possible server side technology (and combination of technologies).



Without knowing for sure, I am going to guess that your are not an FDS  or
cold fusion user. If you are using one of these tools, things really aren't
that open ended. Adobe cant solve all problems, but they certainly can solve
it for use in their own products.

This entire thread is really a problem of understanding. If Adobe should

do anything to clear this up, they should explain the situation, and let
people know that a search engine, which indexes documents, will need
some documents to index, and some links to follow to get them. Search
engines are not going to be able to index a Flash, Flex, Ajax,
Expression Blend, etc. apps, any more than they could index a Windows or
Mac OS X app.



I don't have a problem of understanding that search engines need documents
to index. My problem is I am using adobe tools and do not believe I can
build this kind of a thing using these tools, or if I can hook in and do it
someone would definitely need to show me how because its not obvious.
Perhaps most importantly, this is the kind of non domain specific code that
is really not the kind of stuff app writers should be working on.

The solution is to create those html documents using a traditional

server side app (php, asp, etc.) and link them up.




Ahh.. reinforcing my suspicion that you aren't using adobe server side
tools. I agree that if I were using php, it would actually be easier to
solve this problem. But I don't think blending php with FDS or cold fusion
is practical. But even if I were writing in pure php, it would require
writing the kind of code that really can be put into a general library that
everyone can use. It basically involves taking data in the form of a table
(coming presumably from a database) and turning it into html that ends up
being transparently inserted into a the swf wrapper. This is certainly the
kind of canned generic work I don't want to do myself and is perfect for a
tools vendor. Even if adobe just did it for their tools, it would provide a
framework for everyone else to follow.



Regards,
Hank


Re: [flexcoders] Re: SEO Compatibility

2006-12-16 Thread hank williams

On 12/15/06, John Dowdell [EMAIL PROTECTED] wrote:


I'm out of this conversation, sorry... if I say start with the search
terms you're trying to be found on and don't get acknowledgment, I'll
just bow out now.



Real problem, no solution. As the adobe rep... how arrogant.

Hank


Re: [flexcoders] Re: SEO Compatibility

2006-12-16 Thread hank williams

On 12/15/06, John Dowdell [EMAIL PROTECTED] wrote:


I'm out of this conversation, sorry... if I say start with the search
terms you're trying to be found on and don't get acknowledgment, I'll
just bow out now.

of E Coli myself, and that's not
the common type of things people are looking for with search engine
optimization.




By the way the concept that E Coli is not a word that would be relevant
for SEO is one of the most ridiculous things I have heard from someone that
purports some level of expertise. The idea of being search friendly in the
context that was being discussed is obviously that people should be able to
use google to find things on postings or user generated content. I am sure
that Mr Dowdell understands this and must be trying to play some kind of
word games. The issue that is being brought forth here does not require a
phd to understand, so the fact that he feigns not understanding so that he
can claim the conversation invalid because its going round and round is
just amazing.

Hank

Recap:

 Work in Adobe Flex produces SWF files. Text within SWF files can be
 found and used by the search engines (contrary to widespread myth).
Example:
 http://www.google.com/search?q=%22contrary+evidence%22+filetype%3Aswf

 If your content includes material fed in via database, then the search
 engine would not usually see that you use those words.

 As with all SEO tasks, you'd first figure what search terms you have a
 chance to compete on (eg, you will never appear on the first page of
 results for search terms like buy flowers online). Then set up your
 HTML hosting page with TITLE, URL, metadata and reinforcement of the
 targeted text terms. Then make sure you get plenty of inbound links from
 authoritative sources, preferably with your targeted search terms as
 anchor text.



jd





--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






Re: [flexcoders] Re: SEO Compatibility

2006-12-16 Thread hank williams

On 12/15/06, Doug McCune [EMAIL PROTECTED] wrote:


 OK, right, we were talking about two different things. Sorry if this has
caused confusion. I was talking about dynamic data being indexable by search
engines. You were talking about search engine optimization for static
content (sorry again if I'm still misunderstanding).

I guess I never think about search engine optimization in terms other than
how to get your dynamic content indexed by search engines. If I have a
restaurant review website I want google to index every review that my users
write. I don't know what you call this is if doesn't count as search engine
optimization, but I guess that's not what the term means.

If I run a restaurant review website I don't want to show up for someone
searching restaurant reviews. I want to show up for someone searching El
Farolito burritos. And there's no way I can optimize static content with
restaurant names or with what users are going to write. But I guess that's
not SEO, my bad.




Doug,

Whether you were using the word SEO in exactly the right way is not the
point. The irony is that SEO means search engine *optimization*. If certain
types of data are not searchable at all, then optimization is clearly not
possible. Your examples were clear and everyone except Mr. Dowdell knew what
you were talking about because we probably unlike him) spend lots of time
trying to figure out how to deal with it. And the issue you are raising is a
real one that is an important one to address. It would indeed be much better
for adobe to say that they understand the issue and build something that
would be of assistance, the same way that they did with the history manager.

It is indeed frustrating to watch them play cute word games with the issue
instead of just saying yes it is a problem we realize, and at some point we
are going to put some resources on it.

In short, its not your bad and you have no reason to apologize. Mr.
Dowdell's response to you was inappropriate.

Regards,
Hank

John Dowdell wrote:


 I'm out of this conversation, sorry... if I say start with the search
terms you're trying to be found on and don't get acknowledgment, I'll
just bow out now.

(That restaurant sample applet, I have no idea if it's data-fed text or
internal text, and don't see mentions of E Coli myself, and that's not
the common type of things people are looking for with search engine
optimization. Undefined terms make the convo go 'round.)

Recap:
 Work in Adobe Flex produces SWF files. Text within SWF files can be
 found and used by the search engines (contrary to widespread myth).
Example:
 http://www.google.com/search?q=%22contrary+evidence%22+filetype%3Aswf

 If your content includes material fed in via database, then the search
 engine would not usually see that you use those words.

 As with all SEO tasks, you'd first figure what search terms you have a
 chance to compete on (eg, you will never appear on the first page of
 results for search terms like buy flowers online). Then set up your
 HTML hosting page with TITLE, URL, metadata and reinforcement of the
 targeted text terms. Then make sure you get plenty of inbound links from

 authoritative sources, preferably with your targeted search terms as
 anchor text.

jd

--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.






  1   2   3   4   5   >