RE: [flexcoders] Calling play() on VideoDisplayer from JS using Flex-Ajax bridge doesn't work

2007-11-16 Thread Samuel D. Colak
Umm - this may be an odd question but WHY on earth would you bother with AJAX 
when you have Flex?
 
Regards
Samuel



From: flexcoders@yahoogroups.com on behalf of s_tibrewal
Sent: Fri 11/16/2007 11:29
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Calling play() on VideoDisplayer from JS using Flex-Ajax 
bridge doesn't work



Hello Folks,

I have created a simple VideoDisplay where I can play a video file.

I have setup the Flex-Ajax bridge so that when I click a button on the
page, I can access the elapsed time using code as below

var elapsedTime = flexApp.getInstructorWindow().getPlayheadTime();

All this works fine. Now, instead of initiating the play from a button
on the Flash window I want to do it from outside the flash windo - a
button on the html page. I use that button to call a JS function as
below which calls the ActionScript function startSync - same function
that is called when the button on the flash player is pressed (and
that works).

function startPlayBack(){
alert('In startPlayBack');
flexApp.getInstructorWindow().startSync();

alert('Calling slideshow');
slideShow();
}

I get the first alert message but not the second one and my video
player doesn't play anything. The startSync ActionScript function is
as below.

public function startSync():void {
Alert.show(test1, test2);
instructorWindow.source = videoFile;
totalTimeArea.text = ;
stopTimeArea.text = ;
instructorWindow.play();
// start_sync.send();
}

The videoFile variable is initialized when the VideoDisplay loads up
using the code below

videoFile = Application.application.parameters.videoFile;

All this works fine when the button is pressed on the flash player but
I can't get it to play with a call from JS from the web page. Any
thoughts on what could be going wrong would be appreciated.

I am on Win XP using FireFox 2.0.0.9 and Flash Player 9.

Thanks much for any feedback.

Sanjay.

BTW: instructorWindow is the id of my VideoDisplay as below
mx:VideoDisplay id=instructorWindow width=291 height=264 x=6
y=7/



 
winmail.dat

Re: [flexcoders] Re: WebService - What's wrong with this code?

2006-08-21 Thread Samuel D. Colak
Is it thus by implication that FDS become some form of flash Hibernate ?

Because personally id like to know if that were the case. In terms of
data-sync, this is not part of any webservice specification and as for
poll-less server push - well that's just against the whole notion of
webservices in the first place and should be relegated to the area of
messaging services - not data-services.

By the way - it becomes more interesting that the Date format issue is
cropping up quite a bit now (even in the PHP world) - Is there per chance a
specific way of pushing this for implementation?

Being honest, String, Integer, Date, Boolean are standard datatypes which
should all be accessible via webservices - any reason why date isnt fully
supported yet?

Sorry if this sounds like a gripe but it is actually in a few cases, a deal
breaker.

Samuel

On 21/8/06 10:29, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Sunday 20 August 2006 16:55, Samuel D. Colak wrote:
 why - Its obvious that actionscript has taken a significant leap in
 development, so why is everyone here talking about a 3rd product (FDS) to
 do what you can really easily achieve under AS.
 
 There are some use cases, where what FDS gives you (data sync and poll-less
 server push) is usefull, and a pain to have to write yourself.



--
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/

* 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: [SPAM] Re: [flexcoders] Re: decimal numbers in financial applications

2006-08-18 Thread Samuel D. Colak
Title: Re: [SPAM] Re: [flexcoders] Re: decimal numbers in financial applications





Read the WIKI on floating multiplication particularly towards the bottom. Thats the reason why you get an error during arithmetic operations.

As I said, usually FP is 2^64-1 (double precision) - single is 2^32-1 and used most of the time unless specified  hence long (datatype) single (datatype) under c/c#/c++.

Since flash (I believe) was coded ontop of c++, it depends on the mapping between datatypes as to which one prevails most of the time. Long / double precision numbers take a hell of a lot of cpu processing (hence the release of celeron processors of intel using a less intensive FPU)  I could understand why its not the default type.

Matt  the datatype NUMBER  how is this translated into a datatype such as long etc?

Regards
Samuel 


On 18/8/06 03:54, Gordon Smith [EMAIL PROTECTED] wrote:

 



 Normally this is guaranteed to 2^64 1 

The Number data type is based on the IEEE-754 double-precision standard. It uses 64 bits to store a floating point number.

However, only 52 bits are used for the binary significand; 11 are for the binary exponent, and 1 is for the sign. So it cannot store integers up to 2^64 -1 exactly; only up to 2^52 - 1. It can of course also store some integers (and non-integers) much larger than 2^64 - 1, such as 1e100.

- Gordon






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel D. Colak
Sent: Thursday, August 17, 2006 3:58 PM
To: flexcoders@yahoogroups.com
Subject: Re: [SPAM] Re: [flexcoders] Re: decimal numbers in financial applications
 


Guys,

FP precision is based upon the machine capabilities. Normally this is guaranteed to 2^64 1 as FP is usually encoded using 2*32 bit registers on mac and on PC 32 bit. Big or Small Edian aside, the IEEE ratification is standard amongst all OS platforms however some have extended the format to cater for there own nuances. 

Try http://www.psc.edu/general/software/packages/ieee/ieee.html

Now when you perform arithmetic on 2 DP numbers, there are some failures which occur. Check out http://en.wikipedia.org/wiki/Floating_point for why.

Regards
Samuel

PS. So it isnt a fault with flexs use of the data type  it is just inherent to all OSs.


On 17/8/06 23:20, Anatole Tartakovsky [EMAIL PROTECTED] wrote:





Ryan,
With double, precision should not be an issue - usually money datatype is limited to 18 digits and in most practical applications is limited to 11-12 digits. If you work with doubles (16+ correct digits) t would take quite a few operations to get precision under 12 digits. In terms of individual operations, in order to get 1 cent rounding error for the original case 

1.9199289457264239899814128875732421875 * amount, the amount has to be over 
50. 

You decide if it is practical or not 

Regards,
Anatole



On 8/17/06, ryanm [EMAIL PROTECTED] wrote: 
 Apparently you acknowledge that it would work but need to keep BigDecimal
 for other reasons.

I get the impresson that they want some calculations to be done real 
time on the client, and for that a BigDecimal object would be needed in the 
client as well as on the server.

ryanm 






 
 




__._,_.___





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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





Re: [flexcoders] Re: WebService - What's wrong with this code?

2006-08-18 Thread Samuel D. Colak
Title: Re: [flexcoders] Re: WebService - What's wrong with this code?





Umm  Franck  what issues with webservices?


On 15/8/06 20:00, Franck de Bruijn [EMAIL PROTECTED] wrote:

 



Thats exactly what Ben is hammering at.

Its too hard to get webservices up and running in a production-like application easy. Its true that Adobe is focussing more on FDS than on the support for webservices, which is truely a pity. Lets hope itll change in the (near) future. I already saw a good sign of an Adobe engineer trying to look into our problems.

Cheers,
Franck






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel D. Colak
Sent: Tuesday, August 15, 2006 10:22 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: WebService - What's wrong with this code?
 


Hold on VS buggy ?? My god, thats amazing news  there was I thinking for a moment that M$oft had got it right at least once - fraid to say im most disappointed  my world has surely shattered  frankly I would advise everyone that can to use the Eclipse plugin rather than the IDE under Windows. I have experienced far fewer issues with Eclipse ;) But I have experienced SOME !

Im working with both VS.Net 2005 and Eclipse/Flex  cant say that there have been any issues with WebServices AT-ALL categorically using actionscript. I must admit it wasnt easy but its a tad different getting use to asyncronous webservice calling though Flexs event model but I finally managed to make something very elegant and scalable. Obviously this isnt for the fainthearted and you might have to unlearn somethings from the VS world (as I did) to deal with the Flex logic.

If anyone is stuck, give me a shout..
Samuel


On 15/8/06 10:02, sinatosk [EMAIL PROTECTED] wrote:





ah white spaces. convert that URL using urlencode can't remember the function/method name but it's around

thats might do the trick :p

On 14/08/06, Tom Lee [EMAIL PROTECTED] wrote:




Thanks, Ben -

Your code works fine. My code, even after I manually edited to make it
identical to yours, does not. I can only conclude that Flex Builder is on
crack. Seriously, I went over it line by line... No differences except
whitespace. I hope this is not going to become a behavioral pattern in
Builder... I work with Visual Studio, and there's no room for more than one
buggy IDE in my life.

Thanks again,

-tom



-Original Message-
From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
Behalf Of ben.clinkinbeard
Sent: Friday, August 11, 2006 10:01 PM
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
Subject: [flexcoders] Re: WebService - What's wrong with this code?

 Does it compile for you without errors?

Yep, this exact code works for me.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute creationComplete=init()
mx:Script
![CDATA[
import mx.rpc.soap.LoadEvent;
import mx.rpc.soap.WebService;

private function init():void
{
var myWebService:WebService;
myWebService = new WebService();


myWebService.loadWSDL(http://webservices.amazon.com/AWSECommerceService/AWS 
ECommerceService.wsdl);
myWebService.addEventListener(load,
loadComplete);
}

private function loadComplete(event:LoadEvent):void
{
trace(ALL GOOD);
}
]]
/mx:Script
/mx:Application

 
 -Original Message-
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
 Behalf Of ben.clinkinbeard
 Sent: Friday, August 11, 2006 12:42 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Re: WebService - What's wrong with this code?
 
 For your second example, if you wrap the lines other than the import
 inside of a function it should work.
 
 HTH,
 Ben
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tom Lee design@ wrote:
 
  I can't figure this out for the life of me - I'm following other
 people's
  examples, but still getting errors. This must be something obvious.
 Here's
  my code (I've removed the actual WSDL url):
  
  
  
  ?xml version=1.0 encoding=utf-8?
  
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=absolute
  
  mx:Script
  
  ![CDATA[
  
  import mx.rpc.soap.WebService;
  
  var myWebService:WebService;
  
  function initWS(){
  
  myWebService = new
  WebService();
  
  
  myWebService.loadWSDL(**);
  
  }
  
  ]]
  
  /mx:Script
  
  /mx:Application
  
  
  
  
  
  And here's my error:
  
  
  
  1061: Call to a possibly undefined method loadWSDL through a
 reference with
  static type WebService. (Line 9)
  
  
  
  I've tried a bunch of different stuff - here's another variation,
which
  throws different errors:
  
  
  
  ?xml version=1.0 encoding=utf-8?
  
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=absolute
  
  mx:Script

Re: [SPAM] Re: [flexcoders] Re: decimal numbers in financial applications

2006-08-17 Thread Samuel D. Colak
Title: Re: [SPAM] Re: [flexcoders] Re: decimal numbers in financial applications






Guys,

FP precision is based upon the machine capabilities. Normally this is guaranteed to 2^64 1 as FP is usually encoded using 2*32 bit registers on mac and on PC 32 bit. Big or Small Edian aside, the IEEE ratification is standard amongst all OS platforms however some have extended the format to cater for there own nuances. 

Try http://www.psc.edu/general/software/packages/ieee/ieee.html

Now when you perform arithmetic on 2 DP numbers, there are some failures which occur. Check out http://en.wikipedia.org/wiki/Floating_point for why.

Regards
Samuel

PS. So it isnt a fault with flexs use of the data type  it is just inherent to all OSs.


On 17/8/06 23:20, Anatole Tartakovsky [EMAIL PROTECTED] wrote:

 



Ryan,
With double, precision should not be an issue - usually money datatype is limited to 18 digits and in most practical applications is limited to 11-12 digits. If you work with doubles (16+ correct digits) t would take quite a few operations to get precision under 12 digits. In terms of individual operations, in order to get 1 cent rounding error for the original case 

1.9199289457264239899814128875732421875 * amount, the amount has to be over 
50. 

You decide if it is practical or not 

Regards,
Anatole



On 8/17/06, ryanm [EMAIL PROTECTED] wrote: 
 Apparently you acknowledge that it would work but need to keep BigDecimal
 for other reasons.

I get the impresson that they want some calculations to be done real 
time on the client, and for that a BigDecimal object would be needed in the 
client as well as on the server.

ryanm 









__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





Re: [flexcoders] Re: Web services or FDS: which are you using?

2006-08-16 Thread Samuel D. Colak
Title: Re: [flexcoders] Re: Web services or FDS: which are you using?





Flex cant interpret the (dotNet anyway for sure) date structure in a web service return code  try returning the string variant of the construct rather than the data structure

Regards
Samuel


On 15/8/06 23:56, ldyhwke24 [EMAIL PROTECTED] wrote:

 



I'm using Flex right now with .NET Web Services. For now, it's been an 
interesting learning curve!

Thank goodness for newsgroups, forums, and blogs!!

By the way, anyone have an issue with passing a null date to a Web 
Service Method? I've tried hard coding it in the Flex code, but I'm 
still coming up with an error.

Error #1009: Cannot access a property or method of a null object 
reference.

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , ben.clinkinbeard 
[EMAIL PROTECTED] wrote:

 In my ongoing crusade to increase the attention given by Adobe to web
 service support in Flex, I decided to do a little impromptu survey. My
 feeling is that its a mistake to focus so heavily on FDS in regards to
 articles, tutorials and the like when such a small percentage of
 organizations will actually deploy the technology.
 
 So, which are you using? I am more interested in actual production
 apps, rather than personal projects used for learning or
 experimentation purposes.
 
 Personally, I am evaluating Flex as the front end for an application
 that relies heavily on .NET web services.
 
 Ben
 http://www.returnundefined.com/







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





[flexcoders] Parent Application Space?

2006-08-16 Thread Samuel D. Colak
Title: Parent Application Space?






Matt / All,

Under the definition of an MXML object, what is the object type?

Regards
Samuel

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





Re: [flexcoders] Parent Application Space?

2006-08-16 Thread Samuel D. Colak
Title: Re: [flexcoders] Parent Application Space?





I mean the derived type  not the class with the same name as the project.


On 16/8/06 12:05, Samuel D. Colak [EMAIL PROTECTED] wrote:

 




Matt / All,

Under the definition of an MXML object, what is the object type?

Regards
Samuel 





__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





Re: [flexcoders] Re: WebService - What's wrong with this code?

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Re: WebService - What's wrong with this code?






Hold on VS buggy ?? My god, thats amazing news  there was I thinking for a moment that M$oft had got it right at least once - fraid to say im most disappointed  my world has surely shattered  frankly I would advise everyone that can to use the Eclipse plugin rather than the IDE under Windows. I have experienced far fewer issues with Eclipse ;) But I have experienced SOME !

Im working with both VS.Net 2005 and Eclipse/Flex  cant say that there have been any issues with WebServices AT-ALL categorically using actionscript. I must admit it wasnt easy but its a tad different getting use to asyncronous webservice calling though Flexs event model but I finally managed to make something very elegant and scalable. Obviously this isnt for the fainthearted and you might have to unlearn somethings from the VS world (as I did) to deal with the Flex logic.

If anyone is stuck, give me a shout..
Samuel


On 15/8/06 10:02, sinatosk [EMAIL PROTECTED] wrote:

 



ah white spaces. convert that URL using urlencode can't remember the function/method name but it's around

thats might do the trick :p

On 14/08/06, Tom Lee [EMAIL PROTECTED] wrote:
 



Thanks, Ben -

Your code works fine. My code, even after I manually edited to make it
identical to yours, does not. I can only conclude that Flex Builder is on
crack. Seriously, I went over it line by line... No differences except
whitespace. I hope this is not going to become a behavioral pattern in
Builder... I work with Visual Studio, and there's no room for more than one
buggy IDE in my life.

Thanks again,

-tom



-Original Message-
From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
Behalf Of ben.clinkinbeard
Sent: Friday, August 11, 2006 10:01 PM
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
Subject: [flexcoders] Re: WebService - What's wrong with this code?

 Does it compile for you without errors?

Yep, this exact code works for me.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute creationComplete=init()
mx:Script
![CDATA[
import mx.rpc.soap.LoadEvent;
import mx.rpc.soap.WebService;

private function init():void
{
var myWebService:WebService;
myWebService = new WebService();


myWebService.loadWSDL(http://webservices.amazon.com/AWSECommerceService/AWS 
ECommerceService.wsdl);
myWebService.addEventListener(load,
loadComplete);
}

private function loadComplete(event:LoadEvent):void
{
trace(ALL GOOD);
}
]]
/mx:Script
/mx:Application

 
 -Original Message-
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
 Behalf Of ben.clinkinbeard
 Sent: Friday, August 11, 2006 12:42 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Re: WebService - What's wrong with this code?
 
 For your second example, if you wrap the lines other than the import
 inside of a function it should work.
 
 HTH,
 Ben
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tom Lee design@ wrote:
 
  I can't figure this out for the life of me - I'm following other
 people's
  examples, but still getting errors. This must be something obvious.
 Here's
  my code (I've removed the actual WSDL url):
  
  
  
  ?xml version=1.0 encoding=utf-8?
  
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=absolute
  
  mx:Script
  
  ![CDATA[
  
  import mx.rpc.soap.WebService;
  
  var myWebService:WebService;
  
  function initWS(){
  
  myWebService = new
  WebService();
  
  
  myWebService.loadWSDL(**);
  
  }
  
  ]]
  
  /mx:Script
  
  /mx:Application
  
  
  
  
  
  And here's my error:
  
  
  
  1061: Call to a possibly undefined method loadWSDL through a
 reference with
  static type WebService. (Line 9)
  
  
  
  I've tried a bunch of different stuff - here's another variation,
which
  throws different errors:
  
  
  
  ?xml version=1.0 encoding=utf-8?
  
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=absolute
  
  mx:Script
  
  ![CDATA[
  
  import mx.rpc.soap.WebService;
  
  var myWebService:WebService;
  
  
  
  myWebService = new WebService();
  
  
  myWebService.loadWSDL(**);
  
  
  
  ]]
  
  /mx:Script
  
  /mx:Application
  
  
  
  And the errors:
  
  
  
  1120: Access of undefined property myWebService. (Lines 8  9)
  
  
  
  Thanks!
  
  
  
  - tom
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 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: 

Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Flex / Eclipse under Mac OS X





Matt,

Im actually surprised as this implies specific coding for the browser... I know IE doesnt have this effect and camino (under OSX) appears to run fine.

Oh by the way, this is also true for the debugger too (Flash 9 r16  which by the way hasnt been updated to the same level as the one posted on Adobe last week) under OSX.

BTW thanks for checking  much appreciated for the feedback

Regards
Samuel


On 15/8/06 01:13, Matt Chotin [EMAIL PROTECTED] wrote:

 



According to the Player team the Player slow-down when sending Safari to the background is actually intentional. The browser actually reduces the number of CPU cycles dedicated to plugins in a browser when it doesnt have focus. 

Matt






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel Colak
Sent: Sunday, August 13, 2006 4:31 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex / Eclipse under Mac OS X
 

 

Matt,

 

im working with the Eclipse group (former IBM team) and wondered if there was a bug tracker internally to adobe on what issues etc exist at the moment and how i can submit issues. 

 

In particular, i noticed alot of issues around flex binding to the help system and trying to link into the dynamic environment. Additionally, you might like to know that working with eclipse under windows has an issue that whilst building a project with a flash-9 movie running in the background, results in serious cpu performance issues resulting in a longer build time despite the flash window not having focus.

 

Finally, if no-one noticed, adobe released the intel binary of flash 9, although its really unclear what is different in this release to 9.0 r16 one thing is very noticable is that whilst running in Safari or any other browser, when you lose focus on the browser window to something other, that the flash animation performance drops considerably.

 

Im not sure if this is the place to post these kind of posts - if not could someone indicate if adobe themselves are recording these issues at Labs or at the tech forum.

 

Regards

Samuel

 


On 13 Aug 2006, at 21:24, Matt Chotin wrote:


 

Sorry, fixed internally (and still being fixed). Supported platforms as mentioned in our release notes and whatnot still holds.

Matt






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williams
Sent: Sunday, August 13, 2006 12:22 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex / Eclipse under Mac OS X
 

 

On 8/13/06, Matt Chotin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  wrote:

Flex Builder definitely had some probs in 3.2 but it doesn't mean it won't run at all.



Oh, thats good to know. My impression based on other statements that I had heard here was that critical things did not work with 3.2. You say had, does that mean that the problems were fixed? And is eclipse 2.3 a safe bet.

Hank
 

 However we do need 3.2 support for the Mac release to work. We are building it right now and as mentioned hope to get it out before the end of the year (though the release date is not announced).

 

Matt

 





From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of hank williams
Sent: Sunday, August 13, 2006 7:11 AM
To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] Flex / Eclipse under Mac OS X

 

 

On 8/13/06, Samuel Colak [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  wrote:

 

 

Yes, Eclipse does run under Mac OSX - it was because version 3.2 had issues under MacOSX that adobe didnt port Flex at the same time as the windows release - now this has occurred, it strikes me as a little odd that there isnt a mac version announced.


Hmm...

Not sure where you're getting your info from.

FlexBuilder doesnt even run under 3.2 under windows, so I doubt the issues had anything to do with 3.2. And adobe has said on this forum that there were issues in porting to the mac so they decided to push and get windows out rather than delaying. While on the surface mac and windows clips are fairly compatible, there are differences and apparently some of what flexBuilder is doing relies on one or some of those features that either dont work or are not implemented in mac. 

Adobe has said that there will be a mac version and if I am not mistaken the timeframe was estimated at some time towards the end of the year (oct or nov) if I remember right. But in any case its software so who knows. But in any case they have said they are hard at work on it. 

Regards
Hank



 

As for the extensions - yes you are right in some respects. The compiler is the only bite-code dependant product specific to the OS but you could hash something using the sdk for the mac.

 

Regards

Samuel

 

PS. No i havent done it ;(

 

On 13 Aug 2006, at 13:53, tomkrcha wrote:

 

Hi,

does anybody already tried to run 

Re: [flexcoders] How to create just clickable box?

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] How to create just clickable box?







Best to subclass UIComponent and then do the work yourself  it seems heavy handed but its very reliable and by default the property objects are all there  remember if you want to avoid it affecting the layout design, try

IncludeInLayout = false

You would simply trap all messages to MouseEvent.MOUSE_DOWN using a standard event listener. By doing this you could simply add this object into the parent window without any assertion issues.

Regards
Samuel


On 15/8/06 09:04, Sergey Kovalyov [EMAIL PROTECTED] wrote:

 



Hi All!

I do not need Box container. Only box shape that could change its
background and stroke colors and handle mouse events. Sure, I can use
box itself, but it seems like heavyweight solution. Do I need to
subclass InteractiveObject and override method... Which one method?

Sergey.





__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





Re: [flexcoders] Re: WSDLError:Element not resolvable = LoadEvent doesn't imply service ready

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Re: WSDLError:Element not resolvable = LoadEvent doesn't imply service ready






Hey Sahlas  actually the only test for a correctly loaded wsdl is the canLoadWSDL property. If this fails it is back to the drawing board.

As for a publicly accessible wsdl try my server http://www.ifeel3.com/webservices/services.asmx?WDSL - there is a complex type under the function doQuery if interested. If you go to the same address minus the ?WSDL then you can see all the operations and the parameters out/in etc.

Regards
Samuel


On 9/8/06 14:47, Bill Sahlas [EMAIL PROTECTED] wrote:

 



Howdy, 

Id like to reproduce this internally here in the FDS QA lab using some of your examples.  Can someone on this list forward me a link to a WSDL that is publicly accessible with sample code to execute?

Thanks, Bill

FDS QA  Adobe Systems Inc.






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Franck de Bruijn
Sent: Tuesday, August 08, 2006 1:59 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: WSDLError:Element not resolvable = LoadEvent doesn't imply service ready
 

Hi Kaleb,

Cool! Great stuff.

My guess is that the delay is machine dependent, but not necessarily network dependent. I do believe that the LOAD event does indicate that the WSDL actually has loaded successfully. Flex will not need any more access to the network in order to initialize the web service.

Anyway, its a little bit sloppy that the LOAD event does not indicate that the webservice is actually ready for use. I consider this a bug if you ask me. So, maybe this is something we can put on the wish list???

Thanks,
Franck






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kaleb_pederson
Sent: Tuesday, August 08, 2006 7:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: WSDLError:Element not resolvable = LoadEvent doesn't imply service ready
 

Frank,

I did a bit more research into this. I don't need nearly a second 
for the WebService to be ready after the load event. I just put the 
whole process in a loop to see what kind of delay I need to make it 
work on my box (with the service running on my box). Unfortunately, 
the delay is probably machine and network dependent and, therefore, 
would have to be different on other machines.

My results were:

res[delay in ms] = # successes (out of 100)
res[1] = 0
res[2] = 5 ...
res[10] = 13 ...
res[15] = 42 ...
res[20] = 53 ...
res[30] = 77 ...
res[38] = 100
(and the rest were 100 also)

Somebody else had what may have been a similar problem and he just 
re-fired the request 
(http://groups.yahoo.com/group/flexcoders/message/46401). That's 
certainly not an elegant solution

So, I still don't have a solution, just a work-around. Does anybody 
else have any ideas or suggestions?

Thanks.

--Kaleb

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Franck de Bruijn 
[EMAIL PROTECTED] wrote:

 Hi Kaleb,
 
 
 
 I always expected the web service to be ready after the load event
 completed. Probably it's a matter of milliseconds. I never 
encountered your
 problem before, since I don't automatically call web services 
after loading.
 So far, my webservices are only invoked behind a button.
 
 
 
 But sooner or later I probably will, since I will want to push 
master data
 from the server into the application (like a country table or 
something like
 that) directly after startup.
 
 
 
 So, this does not sound good ...
 
 
 
 I expect that your workaround is the only solution.
 
 
 
 Cheers,
 
 Franck
 
 
 
 
 
 
 
 _ 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
 Behalf Of kaleb_pederson
 Sent: Tuesday, August 08, 2006 1:38 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] WSDLError:Element not resolvable = 
LoadEvent doesn't
 imply service ready
 
 
 
 I have been struggling with the Element not resolvable error 
today 
 in some of my unit tests using FlexUnit. As far as I can tell, the 
 LoadEvent doesn't imply that the service is ready. If I put a 
timer 
 in and wait 1 second after the load event to make my service call, 
 everything works correctly. If I don't wait 1 second, however, 
then 
 I receive the Element not resolvable error. This appears to be a 
 bug in the WebService class.
 
 Here's my sample code:
 
 import mx.rpc.soap.WebService;
 import flash.events.Event;
 import mx.rpc.events.ResultEvent;
 import mx.rpc.soap.LoadEvent;
 import flash.utils.Timer;
 import flash.events.TimerEvent;
 
 public class SoapDemoTest {
 
 public function testListVocabularies():void {
 trace('testListVocabularies');
 ws = new mx.rpc.soap.WebService();
 ws.addEventListener(LoadEvent.LOAD, onLoadCompleted);
 ws.loadWSDL(http://192.168. 
http://192.168.1.1:8080/myserv/myserv?wsdl
 1.1:8080/myserv/myserv?wsdl);
 }
 
 private function 

Re: [flexcoders] Flex Data Services

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Flex Data Services





You can use Flex alone with its webservice support.
Im not sure what all the fuss is with FDS but webservices were never meant to be that hard in general.


On 15/8/06 08:10, scott.kinder [EMAIL PROTECTED] wrote:

 



Hi All,

I'm new to Flex 2 and Flex Data Services. I have a problem and I need
to find out if I need Flex 2 Data Services. I have an external server
serving up a SWF, and then a server behind the firewall that contains
.NET web services. If I want my users to be able to browse to the SWF,
and then communicate with the .NET services behind the firewall, do I
need to use Flex Data Services or can I use regular Flex 2?

Cheers

Scott Kinder






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





Re: [flexcoders] Flex / Eclipse under Mac OS X

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Flex / Eclipse under Mac OS X





Oops  yep  you are right  my apologies Matt and Adam (and ze group!)
Regards
Samuel


On 15/8/06 16:21, Adam Dorritie [EMAIL PROTECTED] wrote:

 



On 8/15/06, Samuel D. Colak [EMAIL PROTECTED] wrote:
Matt,

Im actually surprised as this implies specific coding for the browser... I know IE doesn't have this effect and camino (under OSX) appears to run fine.


I think that you may be misunderstanding what Matt said. He said that,  The browser actually reduces the number of CPU cycles dedicated to plugins in a browser when it doesn't have focus. I believe he is saying that this is a Safari behavior which is independent of the Flash player.

Adam
 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





Re: [flexcoders] Flex/Cairngorm Syntax

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Flex/Cairngorm Syntax





The * is an approximation of the Object keyword. Can be any type. Im not sure whether the typing is preserved or not but im sure Matt can confirm this. In effect event is cast as any object rather than having a strongly typed function call. Be aware in doing this though as type coercion issues may occur later on when dealing with the result.

Since all event classes usually subclass from Event, you might use Event rather than * for type safety.

Regards
Samuel

On 15/8/06 15:02, grahampengelly [EMAIL PROTECTED] wrote:

 



Hi

I am just embarking on my first Cairngorm based Flex app. In one of the sample apps there is the following syntax
public function onResult(event:* = null):void
{

}
Could somebody please explain exactly what the argument (event:* = null) is actually doing. Obviously the argument is called 'event', I have got that far. Is the asterisk a wildcard for the type, and if so why, and is the null a default value if the argument is not supplied?

I have had a look around the web and the docs but can't find any explanation of this syntax. What is more, I am not getting it to work but as I don't understand what it is supposed to be I'm not sure where the problem lies.

Thanks for your help in advance...

Graham







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





[flexcoders] Awe

2006-08-15 Thread Samuel D. Colak
Title: Awe






Dear All,

Ive been a member of this group for the last 2 days and frankly am very amazed regarding the quality of the posts and replies given. Its fun to be part of a group that has an interest in this new technology.

Just thought id leave my 2 cents.

Regards
Samuel

__._,_.___





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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript





Hey Franck,

You use how many wsdls? Wow  I always thought that one wsdl caters for many functions. What I do, in psuedo code, is create a queue (array of objects) inside a class  the class instantiates the wsdl reference, and keeps this connected (until the app dies or the world ends)  I only need to do this once per wsdl and then when I call a webservice, I instantiate a AbstactOperation as a class inside the array. Add a couple of event catchers and you have a capability to call many webservices asynchronously and very very little code to burn. You have to be careful with the AsyncToken, as you mentioned a number of sleepless nights, as you cant guarantee that you see something in there after the send operation. This took about 2 days to work out before I suddenly homerd.

Samuel

On 15/8/06 06:34, Franck de Bruijn [EMAIL PROTECTED] wrote:

 



Hi Samuel,

Good to hear that it works now. Its the tedious hours chasing a stupid bug that gives the greatest learning curve!

When I start up my application I load all the WSDLs I need. For each load I register on the LoadEvent. I know how much WSDLs Im loading, so I count the number of events that I receive back. Only when I have received all WSDLs I unlock the Login button. In my opinion you have to wait until all WSDLs have loaded successfully, otherwise it has no use to start your application.

I only (try to) use MXML for the visual parts. For all other parts like models, controllers, webservices and the like Im using actionscript.

Cheers,
Franck






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel Colak
Sent: Sunday, August 13, 2006 5:43 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript
 

 

Franck,

 

i managed to get it working without any issues - yes i own ifeel3.com, so there arent any security violations as the flash file is originating from the same site.

 

The code issue you mention is very valid for the startup - once the wsdl is cached it doesnt take much more time - i forgot to take into account that when you query an iis server running dotNet framework, the system takes 1-2 seconds to load in the dlls etc to run the application framework - in all it was a learning curve involving a few hours of banging my head against the wall.. finally it works ;)

 

The async stuff is usefull for dealing with multiple calls simultaneously to the wsdl. When you do what you propose, you lock the wsdl from doing anything else than one call at a time. 

 

Thanks for the headsup on the doc/literal issue - you are quite right, but i think i got that sneaky thing covered ;)

 

On another note its actually very interesting that the lack of clear actionscript documentation for the components - seems adobe is pushing everyone to use mxml which actually starts to tie your hands in a number of cases i can think of. But one thing for sure, i cant wait for Flex on Mac - it pains me to run two systems side by side and my trusty macbook pro no more than an mp3 player whilst coding on a dell ;(

 

Oh well - such is like ;) TTFN 

 


On 13 Aug 2006, at 07:47, Franck de Bruijn wrote:


 

Hi Samuel,

A few things:
Are you sure that you host your Flex application also at the www.ifeel3.com http://www.ifeel3.com/ site? This is a necessity for a Flex application to communicate with a webservice, due to Flashs security model. (unless there is somewhere a crossdomain.xml file with the correct content ... check the documentation) 
Your code might work, but not necessarily so.. The loadWSDL() operation is asynchronous, but takes quite some time to complete. Only after the loadWSDL() has completed (and then some milliseconds more ... see some recent threads in this mailing list) you can fire your operation. To accomplish this you have to register for the LoadEvent.LOAD event 
I dont know where all this AsyncToken stuff comes from, but invocation of webservices can be done much simpler. Just try: tsWS.createUser(sessionId, userName, dob). 
Expect some difficulties with Flex and the support of DOC/Literal webservices; I see that you are probably using .Net and DOC/Literal, and there are some issues with it. Also check the mailing list for this. 
 
HTH,
Franck






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel Colak
Sent: Sunday, August 13, 2006 1:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help regarding WebServices (FLEX) in Actionscript
 

var tsWS:WebService = new WebService();
tsWS.wsdl = http://www.ifeel3. http://www.ifeel3.com/webservices/service.asmx?WSDL com/webservices/service.asmx?WSDL; 
tsWS.loadWSDL();

var op:AbstractOperation = tsWS[createUser];
tsWS.addEventListener(result, doResults);
tsWS.addEventListener(fault, doFailed);
var token:AsyncToken = op.send();
token.responder = new Responder(resultOut, null);

-

All,

i am tring 

Re: [flexcoders] Web services or FDS: which are you using?

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Web services or FDS: which are you using?





YaHOOO ! Someone after my own heart  Welcome to the club  Now I count 2. F**k AJAX when you can use intelligent flex engines infront of Webservices :)

Now we truly use client/server design  It continuously amazes me how often I come across people specifically trying to mesh php and AJAX together and really not getting the point. 

Are there any other people out there in the same boat  personally I managed to get dotNet WS and Flex working very happily together  wondered if I was a minority..

Samuel


On 15/8/06 16:58, ben.clinkinbeard [EMAIL PROTECTED] wrote:

 



In my ongoing crusade to increase the attention given by Adobe to web
service support in Flex, I decided to do a little impromptu survey. My
feeling is that its a mistake to focus so heavily on FDS in regards to
articles, tutorials and the like when such a small percentage of
organizations will actually deploy the technology.

So, which are you using? I am more interested in actual production
apps, rather than personal projects used for learning or
experimentation purposes.

Personally, I am evaluating Flex as the front end for an application
that relies heavily on .NET web services.

Ben
http://www.returnundefined.com/






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





Re: [flexcoders] hi

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] hi





Flex is a new up and coming technology and being honest one requirement is a sense of humor and a willingness (at least at the moment anyhow) to spend a lot of nights without sleep ;P

Welcome to the club, pull up a seat and try the coffee  Stay a while, Stay Forever !!

Samuel


On 15/8/06 19:52, bardnivar [EMAIL PROTECTED] wrote:

 



hi iam new to flex, for learning flex should i know java plz let
me know what is the minimum requirements to choose my career as a flex
coder, is there any jobs for flex coders (i know only flash) what
applications should know the flex coders.***plz let me know***






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





Re: [flexcoders] job opportunity in NYC

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] job opportunity in NYC





You have to be kidding me  job adverts in the flex group ?
Samuel


On 15/8/06 21:12, vgriffith1968 [EMAIL PROTECTED] wrote:

 



Software Engineer, Actionscript and Flex

We are seeking a Senior Software Engineer to be responsible for 
developing in Flex. In this role, you will contribute to the 
architecture, coding, debugging, and product release for solutions 
developed in Flex. Strong OOP and Actionscript skills are requi

Requirements 
 Bachelor's degree in Computer Science or equivalent. 
 Requires a minimum of four years' industry experience in OOP.
 Experience with the following technologies: Flex, 
Actionscript, Java / .NET / C#, SOAP, web services, HTML, CSS, XML, 
RSS, Flex, Eclipse Platform. 
 Knowledge of design patterns.
 Knowledge of Flex Frameworks (Cairngorm, FAST) a plus
 Excellent written and verbal communication skills. 
 Ability to balance team and individual responsibilities. 
 Commitment to the highest levels of quality. 
 Demonstrated ability to work with accuracy and thoroughness. 
 Ability to work with integrity and to uphold ethically and 
continuously organizational values. 

For immediate consideration, please email resume in confidence to 
[EMAIL PROTECTED] mailto:Victoria%40taskmanagement.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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





Re: [flexcoders] Re: ArrayCollection object to Model for Remoting Help

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Re: ArrayCollection object to Model for Remoting Help





To reference individual items in the array object simply do

object.EnvNum (replacing object for the array index property) - for instance...

for (var counter:Number = 0; counter  array.length; counter++) {
var objectInFocus:Object = array[counter];
// reference item as objectInFocus.EnvNum and do something with it.
}

MXML should reference individual entities in more or less the same manner.

Regards
Samuel


On 15/8/06 22:28, Nick Collins [EMAIL PROTECTED] wrote:

 



Doesn't anyone have any insight on this?

On 8/15/06, Nick Collins [EMAIL PROTECTED] wrote:
Ok, I've got a form that requires me to be able to have multiple subtransactions that can be submitted with one click.

The way I have it set up is when you've completed the form you click a button and it adds the values of the form fields to an object within an ArrayCollection. That ArrayCollection is bindable and is set as the dataprovider for a datagrid that lists these sub-transactions. I can add as many items to this queue as I like, and that part works just fine. 

The part I'm having trouble with is when I want to post those records to the database.

I have a model set up for the remoting. It worked fine when I was passing the values from the form to the model then to the DB, but I'm not sure how to pass the data from the ArrayCollection into the model to be submitted. 

In the save function I have the following code

for each (var item:Object in transactionArray)
{
saveItem(this.detailObject);
}

where transactionArray is the ArrayCollection and detailObject is the model. Now, it does run the remoting call for each of the line items, it's just not putting the data into the model, so I'm getting empty records. 

My ArrayCollection looks like this:

private var transactionArray:ArrayCollection = new ArrayCollection(
[{
EnvNum: '',
DateTrans: '', 
Currency: '', 
CheckNum: '', 
Fund: '', 
Amount: '', 
Comment: '', 
TransID: '',
UUID: ''
}]);

How can I bind an individual property of transactionArray, such as EnvNum to my model, detailObject 

model:Tithesgifts_d id=detailObject
model:ContribNum{this._key as String}/model:ContribNum
model:EnvNum{Number(subTransEnvNum.itemToLabel(this))}/model:EnvNum 
model:DateTrans{subTransDateTrans.itemToLabel(this) as Date}/model:DateTrans
model:Currency{subTransCurrency.itemToLabel(this) as String}/model:Currency
model:CheckNum{Number( subTransCheckNum.itemToLabel(this))}/model:CheckNum
model:Fund{subTransFund.itemToLabel(this) as String}/model:Fund
model:Amount{Number(subTransAmount.itemToLabel(this))}/model:Amount 
model:Comment{subTransComment.itemToLabel(this) as String}/model:Comment
model:TransID{subTransTransID.itemToLabel(this) as String}/model:TransID
model:UUID{ subTransUUID.itemToLabel(this) as String}/model:UUID
/model:Tithesgifts_d

this doesn't work, all the values come in as null. I was trying to pull the values from the DataGridColumns, but that wasn't working for me here. Please help! Thanks if advance. 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript

2006-08-15 Thread Samuel D. Colak
Title: Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript





Franck,

PM me directly on [EMAIL PROTECTED] and ill send though the code for the ws queue I developed. It will save you some sleepless nights believe me !

Samuel


On 15/8/06 20:28, Franck de Bruijn [EMAIL PROTECTED] wrote:

 



Hi Samuel,

H Sounds a little complicated to me :)

I have built a small demo-application that has all the intricacies of what I call an Enterprise Administrative System. The webservices look like this:
CustomerWebService (wsdl) http://localhost:8080/FlexTestWebServices/services/CustomerWebService?wsdl 
findCustomersByCriteria 
findCustomerByNumber 
createCustomer 
updateCustomer 
removeCustomer 
SecurityWebService (wsdl) http://localhost:8080/FlexTestWebServices/services/SecurityWebService?wsdl 
updateUser 
changePassword 
resetPassword 
findUserSessions 
timeoutSession 
findUsers 
findUser 
createUser 
deleteUser 
logoff 
LoginWebService (wsdl) http://localhost:8080/FlexTestWebServices/services/LoginWebService?wsdl 
login 
In Flex I have dynamic ActionScript classes that extend mx.rpc.soap.WebService. 

Lets take the LoginWebService as an example, to see how I deal with webservices.

Somewhere at application startup I do the following:
var loginService:LoginService; 
loginImpl = new LoginWebServiceImpl(); 
loginService.addEventListener(LoadEvent.LOAD, handleWsLoaded); 
loginService.addEventListener(fault, handleWsError); 
loginService.loadWSDL(your relative URL here); 
 
Then, in the handleWsLoaded() method you could for example enable the Login button (as I do). The loginService variable I keep somewhere statically available, so that I can always reuse it in my application.

After the user has entered his username/password combination, I do the following:
loginService.login.addEventListener(result, handleResultEvent); 
loginService.login.addEventListener(fault, handleFaultEvent); 
loginService.login(username, password) 
 
Then, in your handleResultEvent you can retrieve your results (my login method gives back a UserSession object, which has all kinds of properties and a sub-object):
private function handleResultEvent (aEvent:ResultEvent):void 
var userSession:UserSession; 
userSession = UserSession.parse(aEvent.result); 
 
Dont bother about the UserSession part; its the aEvent.result part where you get your info.

I have to admit that I did not try this yet in Flex 2, official release. Im still in the process of acquiring a license ... its a little bit of a political challenge :). But I presume that this code will still be valid; otherwise I have a huge problem myself.

Recently, I see al this AsyncToken stuff popping up ... I dont know where that comes from. I never used it ... and I hope Ill never will.

My 2 cents,
Cheers,
Franck





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel D. Colak
Sent: Tuesday, August 15, 2006 6:34 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript
 

Hey Franck,

You use how many wsdls? Wow  I always thought that one wsdl caters for many functions. What I do, in psuedo code, is create a queue (array of objects) inside a class  the class instantiates the wsdl reference, and keeps this connected (until the app dies or the world ends)  I only need to do this once per wsdl and then when I call a webservice, I instantiate a AbstactOperation as a class inside the array. Add a couple of event catchers and you have a capability to call many webservices asynchronously and very very little code to burn. You have to be careful with the AsyncToken, as you mentioned a number of sleepless nights, as you cant guarantee that you see something in there after the send operation. This took about 2 days to work out before I suddenly homerd.

Samuel

On 15/8/06 06:34, Franck de Bruijn [EMAIL PROTECTED] wrote:





Hi Samuel,

Good to hear that it works now. Its the tedious hours chasing a stupid bug that gives the greatest learning curve!

When I start up my application I load all the WSDLs I need. For each load I register on the LoadEvent. I know how much WSDLs Im loading, so I count the number of events that I receive back. Only when I have received all WSDLs I unlock the Login button. In my opinion you have to wait until all WSDLs have loaded successfully, otherwise it has no use to start your application.

I only (try to) use MXML for the visual parts. For all other parts like models, controllers, webservices and the like Im using actionscript.

Cheers,
Franck






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] On Behalf Of Samuel Colak
Sent: Sunday, August 13, 2006 5:43 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Help regarding WebServices (FLEX) in Actionscript




Franck,



i managed to get it working without any issues - yes i own ifeel3.com, so there arent any security violations as the flash file is originating from the same

Re: [flexcoders] Duplicate function error using setters

2006-08-14 Thread Samuel D. Colak
Title: Re: [flexcoders] Duplicate function error using setters






Ok  you have a cyclic error where the property is the same as a value object. Change the value object to something else, for instance the code below !

package com.example.vo {

import com.adobe.cairngorm.vo.ValueObject;

[RemoteClass(alias=com.example.vo.TestVO)]
[Bindable]
public class TestVO implements ValueObject 
{ 
public var __id : int = 0;

public function get id():int { return __id;}
public function set id(value:int):void { __id=value; }
} 

}

That should solve the issue
Regards
Samuel

On 14/8/06 11:26, Oriol Gual [EMAIL PROTECTED] wrote:

 



I haven't posted it cause it's very simple:

package com.example.vo {

import com.adobe.cairngorm.vo.ValueObject;

[RemoteClass(alias=com.example.vo.TestVO)]
[Bindable]
public class TestVO implements ValueObject 
{ 
public var id : int;

public function get id():int { return this.id http://this.id ;}
public function set id(value:int):void { this.id=value; }
} 
}

Wow, while writing the post I've found the error, when I add a var to the model locator, like:
public var test:TestVO;

the 1021 error appears on the setter!

2006/8/14, Tom Chiverton  [EMAIL PROTECTED]:
On Sunday 13 August 2006 18:22, Oriol Gual wrote: 
 What I'm doing wrong?

Not posting your code :-)

--
Tom Chiverton



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 http://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 

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

* 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/ http://docs.yahoo.com/info/terms/ 










__._,_.___





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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___