RE: [flexcoders] Re: How to create a date timeline

2006-10-03 Thread Jeroen De Vos





I started to work on a similar project, but 
i have no working codetill now. My idea is to draw rectangles 
inside a canvas. Thex-position is the value of the begin of 
the reign and the lenght ofeach bar is the diffence between the end 
and start.Sounds simple, but i have a problem to set 
some variables. I postetthis problem in another message. If my 
problems will be solved, i cansend you an example. But my programming 
knowlegde is limited, don'texpect a perfect solution ;)If someone has 
another idea to solve a timeline visualization, anytips 
would be appreciated...

I 
startedlooking into the flexcharts, but I can't seem to 'force' the 
charts to behave in a timeline way.
I guesscharting is notthe way to go to 
solve this problem.

Jeroen.



Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail.

English Translation: This e-mail and all attached files are official documents of Antwerp Port Authority and may contain confidential or personal information. If you have received this e-mail in error, you are asked to inform the sender by e-mail or telephone immediately, and to remove it from your system without reading or reproducing it or passing it on to other parties. Antwerp Port Authority is in no way responsible for any errors or inaccuracies in the contents of this e-mail, nor can it be held liable for any direct or indirect loss, damage or inconvenience arising from any such errors or inaccuracies. [GHA#Disclaimer]


__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] mxmlc -increment not working.

2006-10-03 Thread Ralf Bokelberg
Hi Paul,

i can run it with ant wo problem. What does your ant target look like?
Cheers,
Ralf.

On 10/2/06, Paul Spitzer [EMAIL PROTECTED] wrote:
 Robert Wąs wrote:
  option is:
  -incremental
  and works for me


 w/ ANT?


  Robert Was
 
 
 
  Paul Spitzer wrote:
 
  Did anyone ever figure this out? I've having the same problem. I'm
  trying to use incremental compiling w/ ANT but am getting the following
  error...
 
  Failed to match the compile target with ... Administrator_405624.cache.
  The cache file will not be reused.
 
  The .cache file is created without any problems but the compiler is
  complaining about it.
 
  Any ideas? Thanks
 
  --- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com, Lance Linder [EMAIL PROTECTED]
  wrote:
  
   I am getting the following message from the MXMLC compiler when calling
   it from NAnt using the -increment parameter.
  
  
  
   [exec] Failed to match the compile target with myApp_411843.cache. The
   cache file will not be reused.
  
  
  
   I don' t see any reason why this wouldn't work if I run multiple
   compiles back to back using the -increment parameter and I don't even
   change any code.
  
  
  
   I do see _x.cache files showing up but as you can see the compiler
   refuses to use them.
  
  
  
   Any ideas?
  
 
 
 



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












-- 
Ralf Bokelberg [EMAIL PROTECTED]
Flex  Flash Consultant based in Cologne/Germany


--
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] Conditional Login inside curly braces for binding

2006-10-03 Thread Tom Chiverton
On Monday 02 October 2006 18:41, Sam Shrefler wrote:
 Is there anyway to put a condition inside { } for example:
 enabled={checkA == something  checkB == somethingElse}

Create a mx:Script block and encapsulate your logic in a function, then:
enabled={isThingEnabled(checkA,checkB)}

-- 
Tom Chiverton
Helping to centrally pursue cross-media segments



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

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





[flexcoders] Re: issue with progress bar loader becoming stuck

2006-10-03 Thread Dan Rossi






Hi which email were you referring to break it up, i
have an app init and app complete method, app init sets up logging,
event listeners on the video player controls, timers etc. on app
completion i setup the netconnection and once connected it plays a
file. as i explained with my problem, it only happens if i overwrite
the file on the server i setup the page to not cache to users get the
updated version all the time, but in particular when its newly uploaded
it takes up to 10 refreshes for the application to load properly and
all the elements draw.

public function onAppInit(event:FlexEvent):void
{ 
 initLogging();
 log.info(" STARTUP: " + event.target + ":" + event.type);
 initTimers();
 initControls();
}

public function onAppComplete(event:FlexEvent):void
{
 episodeID = Application.application.parameters.ep;
 bandwidth = Application.application.parameters.b;
 if (Application.application.parameters.path) path =
Application.application.parameters.path + "/";
 
 

 episodeID = "on2";
 bandwidth = "38";

 
 videoFileName = path + episodeID + "-" + bandwidth + ".flv";
 
 

 if (episodeID  bandwidth) 
 {
  initConnect();
 } else {
  showPreloadBar("Video Not Set");
 }
 

}


__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] exposing data in custom components

2006-10-03 Thread Tom Chiverton
On Monday 02 October 2006 03:52, Douglas Knudsen wrote:
 thoughts?

I've been writing components that expose the same variable they bind to 
(simple string or VO) or have a get/set for the complex type 
(getSelectedUser():UserVO and setSelectedUser(aUser:UserVO):void)

-- 
Tom Chiverton
Helping to apprehensively bully user-centric e-markets



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

* 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] Chart Axis Effects?

2006-10-03 Thread Tom Chiverton
On Monday 02 October 2006 17:01, Mark wrote:
 Thanks in advanced for any help.

Could you use a TweenEffect to adjust the min/max values on the axis 
yourself ?

-- 
Tom Chiverton
Helping to proactively network sticky e-commerce



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

* 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] How to save client data server-side?

2006-10-03 Thread Tom Chiverton
On Monday 02 October 2006 21:40, jeremyrichman wrote:
 I'm a complete newbie to the server-side of things, how can I do this?

What languages do you know ?

-- 
Tom Chiverton
Helping to dramatically build efficient products



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

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




[flexcoders] Re: Transferring Data through Cairngorm methodology

2006-10-03 Thread laidezmon
Sorry for the late reply. 

Ben you and Paul are correct your fixes work fine for me thanks. 

I also checked out that login example, but my problem with the login
example, is that instead of passing data into the backend service,
which is what my java beans are set to accept, they want to pass a
fully constructed AS object. 

Now I understand both could work, but I wanted to know specifically
how to do it passing data. The reason is, that in the instance I am
consulted to rewrite an existing java app, I want to be able to pass
exaclty what is there already so as little backend pieces need to be
re-written as possible.

Thanks all for your help.


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

 I didn't read every line of your code but I think this is your
 problem: You are creating and passing your custom AuthenticateEvent
 object, which has the loginName and password properties, but then you
 are trying to access data.loginName and data.password in your command. 
 
 Try this:
 
 var ae:AuthenticateEvent = event as AuthenticateEvent;
 delegate.doLogin(ae.loginName, ae.password);
 
 HTH,
 Ben
 
 --- In flexcoders@yahoogroups.com, laidezmon laidezmon@ wrote:
 
  I am trying to implement a simple login application in cairngorm. I am
  having all kinds of problems. 
  
  Heres the deal. 
  
  Basically I have a button which calls a doLogin() function.
  
  private function doLogin():void
  {
  var event : AuthenticateEvent = new
  AuthenticateEvent(AuthenticateEvent.EVENT_LOGIN);
  event.loginName = loginName.text;
  event.password = password.text;
  CairngormEventDispatcher.getInstance().dispatchEvent( event );
  }
  
  this is called from my mxml display page. loginName and password are
  text fields on my screen.
  
  The controller is loaded from the main.mxml file, and is already
  instantiated, but here is the add command reference for this login
  function.
  
   public function initialiseCommands() : void
 {
addCommand( AuthenticateEvent.EVENT_LOGIN, LoginCommand );
 }
  
  From there the loginCommand.as is called and runs its execute method:
  
  public function execute (event : CairngormEvent):void
  {
  if( !CruiseModelLocator.getInstance().authenticated  )
  {
  var delegate : LoginDelegate = new LoginDelegate( this );
  delegate.doLogin(event.data.loginName, event.data.password);
  }
  else
  {
  Alert.show( Logged In already! );
  return;
  }
  }
  
  The delegate is below:
  
  public function LoginDelegate( responder : Responder )
  {   
  this.service = ServiceLocator.getInstance().getService(
UserManager );
  this.responder = responder;
  }
  
  public function doLogin(loginName:String, password:String) : void
  {   
  var call : Object = service.login(loginName,password);
  call.resultHandler = responder.onResult;
  call.faultHandler = responder.onFault;  
  }
  
  I must be doing something wrong here. But basically I am getting lost
  trying to pass the values of those two text boxes, and getting them
  all the way through this methodology to the remote object service i am
  going to call. It looks for two parameters, loginName and password,
  and in this test case loginName actually equals the string loginName
  thats the value. 
  
  I have traced the debugger and even gone through the cairngorm ASDoc
  stuff, and cannot figure out what I am doing wrong. It mentions the
  data attribute, and when I pass into the execute function on the
  command, event.data or event.data.loginName I dont get a compile time
  error. However nothing is being passed to the service. 
  
  When I look at the debugger trace I see that event does have a
  event.data attribute, but its undefined, and also that event has a
  event.loginName, and a event.password. Note this is correct, its not
  event.data.loginName, but rather event.loginName, and the value is
  there from those text boxes.
  
  So it is there, but it dont work. If I pass into the command,
  event.loginName I get a compile time error. However it shows in the
  debugger as being there. I dont get it. 
  
  I am a newbie to OOP and flex and java, so this could be a really
  stupid question. Any help would be greatly appreciated.
 







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

[flexcoders] Re: How can we achieve this effect in flex??? Any Ideas???

2006-10-03 Thread omkarjoe
Thanks Brian, That are really valuable inputs. I am thinking of 
creating that effect as my RnD pro. As soon as I finish it I'll post 
it over here.

Omkar

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

 Not sure this will get you the effect you're looking for, but I 
have a
 feeling that Quasimondo's aqua glass effect would be extremely 
useful in a
 water/ripple effect:
 
 http://www.quasimondo.com/archives/000561.php
 
 Also, the 3d flip effect mentioned in the previous post can be 
found here
 (although not true 3d, it looks really close):
 
 http://www.reflektions.com/miniml/template_permalink.asp?id=227
 
 (Note: this is for ActionScript 2 I believe, and it would take 
some work to
 port to Flex 2 / AS3 likely).
 
 If any of you do achieve those effects, it would be much 
appreciated if you
 shared them with the community!
 
 Cheers,
 
 Brian
 
 On 10/2/06, greg h [EMAIL PROTECTED] wrote:
 
Not to hijack omkar's thread regarding the ripple effect, 
but ...
 
  I also love the metaphor of flipping the widgets to expose their 
customize
  controls (which is also demonstrated in the video).  It is a 
nice UI
  metaphor ... assuming we can make it sufficiently discoverable 
and get
  users conditioned to look for it.
 
  Regarding Igor's reference to waterEffect in the Gskinner 
blog, can
  anyone provide the link?  I used google to search Grant's site 
and the best
  I could find is a reference in the outline from last 
year's Flash 8
  
Workshophttp://www.gskinner.com/blog/archives/2005/11/flash_8_bootca
m.html
  :
  Demo: Water ripple effect with perlin noise
 
  Thanks omkar and Igor!
 
  g
 
  On 10/2/06, Igor Costa [EMAIL PROTECTED] wrote:
  
Ahh sorry.
  
   I just right now undrestood your request.
  
   It's really amazing effect. Just see the same at waterEffect 
in the
   Gskinner blog.
  
   regards
   --
   
   Igor Costa
   www.igorcosta.com
  
   On 10/2/06, omkarjoe  [EMAIL PROTECTED] wrote:

   Hi All,

 Plz go thru the following link
 http://www.apple.com/macosx/theater/dashboard.html

 When user drops a widget in to the dashboard, It gives a 
watery
 effect
 to the screen. Would anyone one has any ideas of 
implementing it in
 Flex... I really loved that effect...

 Thanks in Advance

   
   
   
   
   
 
 
 
 
 -- 
 Brian Dunphy







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





[flexcoders] Getting ServerVariables(LogOn_User)

2006-10-03 Thread Pramod
Hi,

In the past I used to get user information on my intranet 
applications using the ServerVariables(LOGON_USER) in ASP. Can we 
we acheive this in Flex? Using Flex can we access ServerVariables?

I need this to avoid the standard Log in screen into an 
application. From my point of view it's not a effective way atleast 
on a Intranet.

Any pointers will be appreciated.

Thanks in Advance,

Best Regards,
Pramod Dharani

Here's the sample function I used in the past:
'get the logged user
Function GET_LOGGEDUSER ()
strNTUser = RTrim(Request.ServerVariables(LOGON_USER))
iPos = Len(strNTUser) - InStr(1, strNTUser,\,1)
GET_LOGGEDUSER = Right(strNTUser, iPos)
End Function





--
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] Can I force a redraw of my dataGrid?

2006-10-03 Thread Tom Chiverton
On Monday 02 October 2006 22:12, livinginswitzerland wrote:
 redraw to occur programatically.

grid.dataprovider.refresh();
or maybe
t=grid.dataprovider;
grid.dataprovider=t;

?

-- 
Tom Chiverton
Helping to widespreadedly establish distributed e-commerce



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

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





[flexcoders] DataService with non-polling AMF channel

2006-10-03 Thread Kornelius . Elstner

Hi All,

we are trying to use a dataservice over an AMF channel that does not
require polling. So we've configured the service as in the following
snippets;

in data-management-config.xml:

...
destination id=contacts
channels
channel ref=amf/
/channels
properties
auto-sync-enabledfalse/auto-sync-enabled
...

and services-config.xml

...
channels
channel-definition id=amf class=mx.messaging.channels.AMFChannel
endpoint
uri=http://{server.name}:{server.port}/{context.root}/messagebroker/amf;
class=flex.messaging.endpoints.AMFEndpoint/
properties
polling-enabledfalse/polling-enabled
/properties
/channel-definition
...

But any client making use of the datasource issues a poll request
regardless and throws:
[RPC Fault faultString=error faultCode=Channel.Polling.Error
faultDetail=Poll request made on 'amf' when polling is not enabled.]

If we switch to a polling amf channel all works as intended, but of course
the clients will poll needlessly.
Is there a way to build the clients so that they heed the channel
configuration and don't poll?

regards

Kornelius



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





[flexcoders] Flex Deployment problem.

2006-10-03 Thread mamatha_tn
I am having some confusion about how to configure flex.war and 
myApp.war (or EAR) as two seperate apps.

Previously we had extracted flex jars and lib folders from fds2 and 
included as part of our project.
We merged the web.xml of our project with web.xml from flex.war.
This is working fine.

Now we want to have flex.war and our web application as 2 seperate 
apps.

case 1) Should I put all the flex related files(mxml,AS and other 
config files) in flex.war.In this case I dont know how to make a 
remote call using AMF(How do I configure the destination?).



case 2) If I put the above files in my web app,then since the flex 
jars and libs are not part my web app,how do I compile these files 
(MXML/AS).










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




[flexcoders] [Drag Drop][Trees]

2006-10-03 Thread nikko_leborgne
Hello !

I have a problem with the drag and drop between two trees.
Indeed, to drag  drop in an only tree, there is no problem.
Moreover, I know to drag  drop between two trees, but I only know
move files or folders.
And, I would like COPY a file from a tree to another. What is the
solution ?

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

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





[flexcoders] Re: How to create a date timeline

2006-10-03 Thread fsawitzki
Hi,

 I started looking into the flex charts, but I can't seem to 'force' the
 charts to behave in a timeline way.
 I guess charting is not the way to go to solve this problem.

The delivered charting components were to complicated for me to
understand, so i decided to build up my visualization from scratch. A
possible chart to base on is a gantt chart, which is used in time
management applications. But i found only one example which realized
it which flex2, it was a rocketboots space race entry from Gareth
Edwards.
(http://members.optusnet.com.au/gareth_edwards/flexwidget/myflex.html)

Maybe the upcoming calendar component will be a good base
(http://weblogs.macromedia.com/amcleod/archives/2006/08/open_source_fle.cfm),

but until now, there is no release date announced. 

Greets,
Frank





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




[flexcoders] How to lock columns

2006-10-03 Thread jlentz2112
Hi,

I see in the help screens that a data grid is supposed to be able to
have a locked column.  How do you do that?  I've searched through the
help area, but it doesn't say how to lock a particular column in a
grid.  Thanks for any help.

jlentz





--
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] mxmlc -increment not working.

2006-10-03 Thread Lance Linder










I made the original post and I never did get this working either. 
Sorry I don’t have a solution but for what its worth I still get the same error
you do and haven’t been able to figure out why.  I haven’t perused this problem
further because I have taken a different approach and no longer require incremental
compiling from the command line compiler.









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul
Spitzer
Sent: Monday, October 02, 2006 2:23 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] mxmlc -increment not working.













I'm not actually using increment as
the subject line suggests 
(increment reports an error). I have -incremental=true. ... Here's 
what it looks like in my ANT target.

target name=Administrator
java jar=${mxmlc.jar} fork=true
arg 
line=-local-fonts-snapshot='${flexsdk.home}/frameworks/winFonts.ser'/
arg 
line=-load-config='${flexsdk.home}/frameworks/flex-config.xml'
/
arg 
line=-load-config+='${basedir}/Administrator/build/Administrator-config.xml'

/
arg 
line=-load-config+='${basedir}/Administrator/build/Administrator-includes.xml'

/
arg line=-library-path+='${fluidas3.lib}'/
arg line=-library-path+='${flex.lib}'/
arg line=-library-path+='${locale.lib}'/
arg line=-library-path+='${admin.lib}'/
arg line=-incremental=true/
arg line=-output 
'${basedir}/Administrator/htdocs/bin/Administrator.swf'/
arg line=--/
arg line='${basedir}/Administrator/as3/Administrator.mxml'/
/java
/target

Igor Costa wrote:
 put -increment=true;


 -increment is a boolean paramater, just put true or false to get start 
 working

 On 10/2/06, *Paul Spitzer*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
 wrote:

 Did anyone ever figure this out? I've having the same problem. I'm
 trying to use incremental compiling w/ ANT but am getting the
 following
 error...

 Failed to match the compile target with ...
 Administrator_405624.cache.
 The cache file will not be reused.

 The .cache file is created without any problems but the compiler is
 complaining about it.

 Any ideas? Thanks

 --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com,
Lance Linder
 [EMAIL PROTECTED] wrote:
 
  I am getting the following message from the MXMLC compiler when
 calling
  it from NAnt using the -increment parameter.
 
 
 
  [exec] Failed to match the compile target with
 myApp_411843.cache. The
  cache file will not be reused.
 
 
 
  I don' t see any reason why this wouldn't work if I run multiple
  compiles back to back using the -increment parameter and I don't
 even
  change any code.
 
 
 
  I do see _x.cache files showing up but as you can see the
 compiler
  refuses to use them.
 
 
 
  Any ideas?
 







 




__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





[flexcoders] flex 2 starter

2006-10-03 Thread Husain Kitabi



HiI am having an application built a year ago on flex 1.5. Now i am upgrading it to flex 2 and have to add additional functionality. The app shall be integrated intoa JBoss 4.0.4 server.Can anyone please advise where to start from? Do i have to download the Flex Dataservices 2 pack and work with it. With 1.5 it was just download and un-war the file and set the web.xml accordingly. I have been trying to do a few things but have no success yet.Pl advise.Thanks  Husainhussain 
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Senior Flex and ActionScript Developer (Cape Town)

2006-10-03 Thread Simon Barber
ThoughtFaqtory seeks a Flex and ActionScript Architect/Developer to 
design, architect, and implement rich internet applications (RIA). 
The ideal candidate will be an expert ActionScript 2.0 and Flex 1.5 
developer with 2+ years of software development experience and a 
BS/MS in Computer Science or a related field.

Applicants should also have demonstrated experience/expertise with:
• Flex 2 and AS3
• Architecture of an enterprise level RIA
• Retrieval of dynamic data from data sources such as XML, web 
services, or databases
• OOP in ActionScript and at least one other programming language
• Implementation of an application framework (such as Cairngorm or 
ARP)
• Implementation of a Unit Testing framework (such as ASUnit or 
FlexUnit) 
• Strong foundation in Design Patterns (especially MVC)
• Excellent problem solving and communications skills

Additional skills considered a plus are:
• Java
• PHP
• Ant
• HTML, DHTML, JS and CSS
• Database design
• Flash Remoting (or alternatives such as AMFPHP, OpenAMF and WebORB)

Remuneration will depend on experience and will be negotiated.
This is a contract position.
Send your CV/resume to [EMAIL PROTECTED]






--
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] How to lock columns

2006-10-03 Thread EECOLOR



Hello,

What do you mean with locked.


Greetz Erik

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] subject

2006-10-03 Thread Bjorn Schultheiss





No Problemo Aldo,
Any time ;)

Regards,

Bjorn 
Schultheiss
Senior Flash 
Developer
QDC 
Technologies



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
CascaisSent: Tuesday, 3 October 2006 2:02 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
subject


You are very welcome!DanielOn 9/14/06, Aldo Bucchi aldo.bucchi@gmail.com 
wrote: Hi all, thanks, Aldo 
-- : Aldo Bucchi : mobile (56) 8 429 
8300 -- 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-- 
Daniel CascaisTel: +56 (0)2 4589495Cel: +56 (0)9 
9417355
__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Item Renderer -- Sorting in Data Grid...

2006-10-03 Thread Tom Chiverton
On Wednesday 27 September 2006 23:41, lrlarsonny wrote:
 It must be possible to sort currency formatted data?

Look into writing your own column sort function - sortCompareFunction property 
of DataGridColumn

-- 
Tom Chiverton
Helping to synergistically scale sexy interfaces



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

* 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: loading animated gifs at runtime

2006-10-03 Thread John Kirby
Title: quote






There is a hack for this:

http://www.deitte.com/archives/2006/08

By creating an IFRAME you can load an animated gif. I did it here:

http://infinitymedialabs.com/weather/WeatherFlex.html Click on
Radar.

This is still under construction but check out dieitte's blog... he has
some source to amke it happen

.j

Andrew Bourne said the following:


  
  Thanks, though not the answer I was hoping for I can work around
it in
this instance. 
  
Cheers, 
Andrew
  
  
passive_thoughts wrote:
  
  
I took the official Adobe Flex class back in August and the instructor
told us that animated gifs were not supported.

V

--- In [EMAIL PROTECTED]ups.com, Andrew Bourne [EMAIL PROTECTED] wrote:
  

  Is it possible to load and display animated gifs at runtime?

I have been unsuccessful in using the Loader, SWFLoader or Image 
components to display these. Livedocs nor other sites make any mention 
of whether this is possible. Any help would be much appreciated.

Cheers,
Andrew









--
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:flexcoders-[EMAIL PROTECTED]ps.com 
mailto:flexcoders-fullfeatured@yahoogroups.com

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

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






  
  
  
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 



__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Re: Navigating between Screens

2006-10-03 Thread Bela Hajzer



--- In flexcoders@yahoogroups.com, "jlentz2112" [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, "jlentz2112" jelentz@ wrote:   Hi,I'm new to Flex 2 development. I've seen some tutorials on  ViewStacks, but they used a navigator bar or tab bar to switch between  screens. I've got an ap that won't have the bars or tabs to switch  by. It starts with a login screen, then goes to a data screen that  has buttons that when clicked will either return to the login screen  or continue on to another screen. I've tried to have the component  screen select the next screen in the ViewStack, but the ViewStack  isn't in the scope of the child. What is the best way to implement  this kind of navigation? Thanks for the help.jlentz   Thanks for the help. I ended up using the selectedIndex method.  Worked nicely. Thanks again! jlentzHi, like to suggest the combination of TitleWindow / pop-up window.
See the FLEX 2 devguide for further direction and snippet.
Remember JDialog...
good luck Bela

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Can I force a redraw of my dataGrid?

2006-10-03 Thread EECOLOR



Hello,

its not best practice to refresh the whole grid if only 1 row changed. If the data in your array consists of instances of custom classes, make surethe properties in the custom class are bindable. Bindable causes them to broadcast an event if an item changes, which in turn will make sure the datagrid will update that record.


If the collection does not contain instances of a custom class but (for example) instances of Object, these changes will not be recognised. In that case you could use the itemUpdated mehod of the collection. This will notify the view (in your case the datagrid) to update the single item.



Greetz Erik

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] XML.prettyPrinting = false;

2006-10-03 Thread PERBIOAL
Hi everybody,

I have a problem with loading an external xml.
If I do not use XML.prettyPrinting = false; I get unwanted spaces
before some start tags and after some end tags.
If I use XML.prettyPrinting = false; I loose necessary spaces before
other start tags and after end tags.

Can somebody help me with an ideea about how to deal with this problem?

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

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





[flexcoders] Problem with extending mx.controls.DataGrid

2006-10-03 Thread Van De Velde Hans
Hi list,

I'm busy skinning the DataGrid by extending mx.controls.DataGrid,
but I get an error when using the mx:columns - tag with the extended
DataGrid component :

Could not resolve mx:columns to a component implementation.

Does anybody have a fix?


Wkr,
Hans.






--
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] Problem with extending mx.controls.DataGrid

2006-10-03 Thread Van De Velde Hans
Naturally, I can obtain my goal by setting the columns array with
DataGridColumns with code,
but it's less elegant I think.


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Van De Velde Hans
Sent: dinsdag 3 oktober 2006 14:48
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] Problem with extending mx.controls.DataGrid


Hi list,

I'm busy skinning the DataGrid by extending mx.controls.DataGrid, but I get
an error when using the mx:columns - tag with the extended DataGrid
component :

Could not resolve mx:columns to a component implementation.

Does anybody have a fix?


Wkr,
Hans.






--
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] Re: Chart Axis Effects?

2006-10-03 Thread Tom Chiverton
On Tuesday 03 October 2006 14:08, Mark wrote:
 Thanks for your reply Tom.  Unfortunately, I don't know what a
 TweenEffect is.  I'll hit the documentation and try to figure that out.

Their fairly obvious, you give them a time, duration, start and end values, 
and get a called back every so often with the next step value.
I was able to extend them fairly easily:
http://thefalken.livejournal.com/34576.html

-- 
Tom Chiverton
Helping to competently envisioneer 24/365 relationships



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

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




[flexcoders] Re: How to save client data server-side?

2006-10-03 Thread jeremyrichman
I know Java, and am learning Python.  I have co-workers I can call on 
who know .NET and possibly Javascript.

Jeremy

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

 On Monday 02 October 2006 21:40, jeremyrichman wrote:
  I'm a complete newbie to the server-side of things, how can I do 
this?
 
 What languages do you know ?
 
 -- 
 Tom Chiverton
 Helping to dramatically build efficient products
 
 
 
 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

* 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] Hslider problem

2006-10-03 Thread Matias Nicolas Sommi



Hello, you have the function: 
private function getSliderLabel(value:String): void it hasn't return value... you must specify a return type if you want to return something... like getSliderLabel(value:String):String... remember: function name(par:parType):funcReturnType.
2006/10/2, g_vaccarezza [EMAIL PROTECTED]:













  



Guys,
I got this XML

data
month label=Jan/
month label=Feb/
month label=Mar/
month label=Apr/
/data

I want to make a time range selector for a column chart. I copied 
this code from Macromedia's webblog: 
(http://weblogs.macromedia.com/flex_samples/charts_explorer/line/LineS

lider.mxml)



AS:

private function getSliderLabel(value:String): void {
   ### return results.gen[parseInt(value)].label;
}
private function sliceResults(): void {
slicedResults= myData.lastResult.data.slice(slider.values
[0],slider.values[1]);
}

MXML:

mx:HTTPService id=myData useProxy=false/
mx:Model id=results
gen{myData.lastResult.data.month}/gen 
/mx:Model



Unluckyly, it ain't working...I get and error on ### that says:

The resturned value must not be defined

Any ideas?
Thanks!


  













-- Matías Nicolás Sommi

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Chart Axis Effects?

2006-10-03 Thread Mark
Excellent Tom.  I will give that a try.  Thank you very much.

mark

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

 On Tuesday 03 October 2006 14:08, Mark wrote:
  Thanks for your reply Tom.  Unfortunately, I don't know what a
  TweenEffect is.  I'll hit the documentation and try to figure that
out.
 
 Their fairly obvious, you give them a time, duration, start and end
values, 
 and get a called back every so often with the next step value.
 I was able to extend them fairly easily:
 http://thefalken.livejournal.com/34576.html
 
 -- 
 Tom Chiverton
 Helping to competently envisioneer 24/365 relationships
 
 
 
 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

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




[flexcoders] DateChooser and it's dateGrid

2006-10-03 Thread Bas J. Brey










Im trying to highlight a selection of one or
more days in the dateChooser.

When inspecting the dateChooser and the
CalendarLayout component I see that the most important variables, dateGrid and dayBlocksArray
are internal vars.



Does anyone have a clue on how to override this? (Well
I can make new classes but its kind off not done to copy
the classes and alter them).








__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





Re: [flexcoders] Re: Flex pulling in data from the HTML and can HTML hold my XML dataprovider?

2006-10-03 Thread dorkie dork from dorktown



all i can say is... flipping sweet!On 10/2/06, ben.clinkinbeard [EMAIL PROTECTED] wrote:
http://www.onflex.org/FXT/--- In 
flexcoders@yahoogroups.com, dorkie dork from dorktown[EMAIL PROTECTED] wrote: I have a very complicated project that I would like your help with. The
 reason it's complicated is because I can't change anything in thebackend, the information getting pushed to the client. I can modify the html and rearrange it to my liking. So my only option is to do it the ghetto
way and pull data into flex off the html page somehow. I know what I want to do. That is, once Flex loads, go to the HTMLbrowser and get the value inside of some nodes and then put that value in my
Flex. I think I can probably find a way to do that with simple strings andnumbers but I also am trying to get XML off the page. Not even sure how orwhere to put xml in an html document but I can ask for that. Does that make
sense? Check this out: * Browser loads HTML page in browser -  Embedded Flex swf loads -  Embedded Flex swf looks at html page and gets values off page (maybetries
 to get the document as a string somehow and parse it in an xmlobject, maybe i can use external interface somehow, not sure what to do here) - Finds info it needs in html page and displays it in Flex (much cooler of
course) Anyone know how to do this and does anyone know how to put xml in html? Thanks guys, Judah PS i *have* been reading the manuals (which are well written btw)but the
 project is due this week and i was just given the specs :(--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/* Your email settings:Individual Email | Traditional* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)* To change settings via email:mailto:
[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/


__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: How to save client data server-side?

2006-10-03 Thread Tom Chiverton
On Tuesday 03 October 2006 14:49, jeremyrichman wrote:
 I know Java, and am learning Python.  I have co-workers I can call on
 who know .NET and possibly Javascript.

In that case your are well poised.
All you need is a JSP that takes form or URL variables and does whatever you 
need to be done with them, and then get Flex to call the URL the JSP lives 
at.

That's quick'n'dirty but should get you going with out delving into using 
Hibernate as a backend to FDS, or webservices.

-- 
Tom Chiverton
Helping to heterogeneously facilitate slick markets



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

* 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] DateChooser and it's dateGrid

2006-10-03 Thread Tom Chiverton
On Tuesday 03 October 2006 15:10, Bas J. Brey wrote:
 I'm trying to highlight a selection of one or more days in the dateChooser.

Why not use the dateChooser.selectedRanges property ?

-- 
Tom Chiverton
Helping to globally iterate proactive convergence



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

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





[flexcoders] WSDL 2 ActionScript classes?

2006-10-03 Thread Leo
Hi coders

I was wondering if you know a tool that let me create ActionScipt
classes that represent the complex structures defined in a WSDL file.
I've heard about WSDL 2 Java and some other automated tools that let
do that for other languages. I need that because I have several web
services already deployed that I need to use in my flex App and I
don't want to create that classes writing the code.

Sorry if the answer is obviuos or something but i did search google,
adobe and the mailing list and i dind't find a clue.

Regards

-- 
Leonardo Moreno Guzmán
http://leo.logtar.com
http://www.flickr.com/photos/leillo/ | http://www.flickr.com/people/leillo/


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




[flexcoders] preloader bar becomes stuck at times

2006-10-03 Thread Dan Rossi
Ive recreated a thread because mine got hijacked this is crap.

Here is a link to the screenshot of how it looks

http://www.electroteque.org/flex.png

see below:

Hi there, each time i make a change to my flex app, the default progress
bar becomes stuck and doesnt finish loading therefore the applicarton
wont load, it takes up to 12 refreshes to actually load properly.

It also seems that upon each page reload the progress bar will flash
briefly halfway even though the movie is loaded ! that is with pragma
cache enabled or even disabled ! Whats the go here ?

let me know thanks.

Dan


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

2006-10-03 Thread Douglas McCarroll
General Flex  FDS install info here:

http://www.adobe.com/support/documentation/en/flex/2/install.html


JBoss-specific FDS install info here:

http://www.adobe.com/support/documentation/en/flex/2/install.html#jboss



Husain Kitabi wrote:
 Hi
 I am having an application built a year ago on flex 1.5. Now i am 
 upgrading it to flex 2 and have to add additional functionality. The 
 app shall be integrated into a JBoss 4.0.4 server.
  
 Can anyone please advise where to start from? Do i have to download 
 the Flex Dataservices 2 pack and work with it. With 1.5 it was just 
 download and un-war the file and set the web.xml accordingly. I have 
 been trying to do a few things but have no success yet.
  
 Pl advise.
  
 Thanks
 Husain


 hussain



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




[flexcoders] Custom component inside custom component issues

2006-10-03 Thread Brian Dunphy
I'm having trouble with mx related packages when they are inside a
custom component.

My structure is as follows:

- I have a component, 'Widget', which is an ActionScript class that
extends the TitleWindow container (it just adds a few custom
show/hide/close methods, it doesn't override any default
functionality)

- I have a 'StatsWidget' in MXML that is just a few charts inside a
sl:Widget/sl:Widget as a custom component (xmlns:sl is defined
properly)

- I have declared xmlns:mx properly so that I can use the mx packages

- All mx related packages compile and work inside the 'StatsWidget'
component with the exception of mx:states which is giving me the
following error message: 'Could not resolve mx:states to a component
implementation'

I suspect I am missing something -- perhaps my states should be used
at the parent level (the 'Widget' class)?

Any ideas would be appreciated.

Thanks for your time,

Brian


--
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] DateChooser and it's dateGrid

2006-10-03 Thread Bas J. Brey
On Tuesday 03 October 2006 15:10, Bas J. Brey wrote:
 I'm trying to highlight a selection of one or more days in the
dateChooser.

 Why not use the dateChooser.selectedRanges property ?

I may need to give them different colors in the future.
But until then think I could use that option.




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





[flexcoders] Wrapping components within a container

2006-10-03 Thread David Katz
Does anyone know if it's possible to wrap components within a
container in Flex 2.0? I need to dynamically create a series of
LinkButtons, for example, and have them wrap when they reach the right
edge of their container. (Imagine a long clickable breadcrumb trail
that wraps to a second line if the items get too long to fit within
their container.)

This is trivial to do in html by placing the elements in a div, but I
can't figure out how to do it in Flex.

Any help is appreciated.

thanks,
David

-- 

David Katz
[EMAIL PROTECTED]


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




[flexcoders] READ THIS: Startup Needs Flex Architect/Developer ASAP!

2006-10-03 Thread jhaidar21
Hi All,

BuzzSpots is an exciting new startup that's looking for a seasoned 
Flex developer to help us build out or service.  The successfuly 
candidate is:

- A freelancer with their own development set up (i.e.home office)
- Able to architect and develop a user driven Flex application and 
provide insight and best practices to the rest of the team
- Able to provide examples of their Flex work
- Proficient in Flash, AS3, XML 
- Comfortable working as part of a virtual team and communicate 
effectively with project leads and other developers
- Available to dedicate time over the next three months
- Have knowledge and enthusiasm for everything Web 2.0
- Be excited to be working with a groundbreaking new startup that will 
change the web as you know it!

Please send resumes and examples to [EMAIL PROTECTED] ASAP as we are 
looking to staff this position this week!

We are located in Toronto, Canada but are willing to work with the 
right person no matter where they are!

Thanks,
Jaafer







--
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] Absolute Sizing

2006-10-03 Thread Daniel Freiman



I've seen this issue and didn't figure it out (although it was a lower priority so I doubt I spent too much time on it). If anyone wants to clarify what screenDPI actually means I'd be interested as well. Right now it seems like a constant equal to 72.
- DanOn 10/2/06, David Buitenveld [EMAIL PROTECTED] wrote:
Hi all -Does anyone know a strategy for creating an application window sizethat is an absolute size in inches (vs pixels) independent of screensize or reslution?My goal is to simulate one of these new UMPC devices with a 7 inch
screen, then compare the visual output to a 9 inch screen device -this simulation needs to run on whatever the client is running.My problem is that Capabilities.screenDPI is not returning a usefulvalue.
Example: on my laptop with 15 inch screen (12 inch horizontal, 9 inchvertical) is set to 1280x1024. Simple math tells me that I have 106.7pixels for each horizontal inch of screen, and 113.8 pixels per inch
of vertical. Skipping the math, I end up with a layout of 6.1x3.4inches for my 7 inch device, which (via pixels per inch) gives a pixelresoultion of 651x353. And, this works pretty well when actuallymeasured with a ruler.
However - Capatilities.screenDPI tells me that I have 72 pixels perinch (at least the docs say that dots = pixels).. in other words,using the screenDPI figure results in a completely missized window.
Is there a better way?thanks!david buitenveld--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/* Your email settings:Individual Email | Traditional* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)* To change settings via email:mailto:
[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/


__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Wrapping components within a container

2006-10-03 Thread Brian Dunphy



Trying to create a tag cloud eh? Maybe... :)Anyway, I created an FBox container based on some example code in the documentation (and some code from Flex 1 that I found), you can find the code in here: 
http://tech.groups.yahoo.com/group/flexcoders/message/40947Best of luck.BrianOn 10/3/06, David Katz 
[EMAIL PROTECTED] wrote:












  



Does anyone know if it's possible to wrap components within a
container in Flex 2.0? I need to dynamically create a series of
LinkButtons, for example, and have them wrap when they reach the right
edge of their container. (Imagine a long clickable breadcrumb trail
that wraps to a second line if the items get too long to fit within
their container.)

This is trivial to do in html by placing the elements in a div, but I
can't figure out how to do it in Flex.

Any help is appreciated.

thanks,
David

-- 

David Katz
[EMAIL PROTECTED]

  













-- Brian Dunphy

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Flex pulling in data from the HTML and can HTML hold my XML dataprovider?

2006-10-03 Thread Tom Chiverton
On Monday 02 October 2006 22:50, dorkie dork from dorktown wrote:
 * Browser loads HTML page in browser -  Embedded Flex swf loads - 
 Embedded Flex swf looks at html page and gets values off page (maybe tries

What we do is use flash vars with SWFObject by Geoff Stearns 
(http://blog.deconcept.com/).
In the HTML wrapper:
div id=HelloText
some stuff
/div
.
var so = new 
SWFObject(index.swf, sotester, 100%, 100%, 9, #8197A2);
so.addVariable(HelloText, 
document.getElementById('HelloText').innerHTML);
so.addParam(scale, noscale);
so.write(flashcontent);

The text from the div is then available in Application.application.parameters

-- 
Tom Chiverton
Helping to evangelistically promote revolutionary patterns



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

* 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] ColdFusion adapter for remoting forgets super classes.

2006-10-03 Thread Mike Nimer










There is an outstanding bug/ER to add support for super cfc
properties. I remember trying to get to it before we shipped CF702, however it
didnt make the cut. Right now your best option is to define a
CFPROPERTY tag for all of the properties (from the super classe) in the
main cfc you are calling.



Trust me you dont want to get access to the java code and
to try to extend it, it wont be as easy as you think it will be. Adding a
few more cfproperty tags is a very very simple workaround. 



---nimer







From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of EECOLOR
Sent: Monday, September 25, 2006 10:27 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] ColdFusion adapter for remoting forgets super
classes.















It indeed becomes quite unhandy and exposes you to another
set of human errors. I tried to use an init method in which i would
automatically check the super components for properties and add them to the
property array of the current component. This however was (for me) a bit
difficult because of my lack in good java skills: the properties array is not a
normal array on which you can use the arrayAppend method. 











I submitted it as a bug and hope they will give me the
source code of the 2 responsible methods in the flashremoting-update.jar so
that i can override the methods in order to use a modified version of the
ASToCFSerializer. The modification would be a very simple one: check the
extends property of the metadata and serialize those properties aswell. 

















Greetz Erik





 




__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





Re: [flexcoders] Flex pulling in data from the HTML and can HTML hold my XML dataprovider?

2006-10-03 Thread dorkie dork from dorktown
Tom,

That looks awesome too. Is that cross browser compatible? I'm assuming
it works well with all or almost all the xml you've put in it?

Ben or Ted,

Is FXT cross browser cross platform compatible? Any issues?

Judah

On 10/3/06, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Monday 02 October 2006 22:50, dorkie dork from dorktown wrote:
  * Browser loads HTML page in browser -  Embedded Flex swf loads - 
  Embedded Flex swf looks at html page and gets values off page (maybe tries

 What we do is use flash vars with SWFObject by Geoff Stearns
 (http://blog.deconcept.com/).
 In the HTML wrapper:
 div id=HelloText
 some stuff
 /div
 .
 var so = new
 SWFObject(index.swf, sotester, 100%, 100%, 9, #8197A2);
 so.addVariable(HelloText, 
 document.getElementById('HelloText').innerHTML);
 so.addParam(scale, noscale);
 so.write(flashcontent);

 The text from the div is then available in Application.application.parameters

 --
 Tom Chiverton
 Helping to evangelistically promote revolutionary patterns

 

 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

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




[flexcoders] Re: Problem with extending mx.controls.DataGrid

2006-10-03 Thread Oscar

Change mx:columns to your component namespace. For example if you 
have compgrid:MyDataGrid, change mx:columns to compgrid:columns.  
The namespace of the property must match the namespace of the 
component.

Oscar


--- In flexcoders@yahoogroups.com, Van De Velde Hans 
[EMAIL PROTECTED] wrote:

 Naturally, I can obtain my goal by setting the columns array with
 DataGridColumns with code,
 but it's less elegant I think.
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Van De Velde Hans
 Sent: dinsdag 3 oktober 2006 14:48
 To: 'flexcoders@yahoogroups.com'
 Subject: [flexcoders] Problem with extending mx.controls.DataGrid
 
 
 Hi list,
 
 I'm busy skinning the DataGrid by extending mx.controls.DataGrid, 
but I get
 an error when using the mx:columns - tag with the extended 
DataGrid
 component :
 
 Could not resolve mx:columns to a component implementation.
 
 Does anybody have a fix?
 
 
 Wkr,
 Hans.
 
 
 
 
 
 
 --
 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] mxmlc -increment not working.

2006-10-03 Thread Paul Spitzer
target name=Administrator
 java jar=${mxmlc.jar} fork=true
  arg 
line=-local-fonts-snapshot='${flexsdk.home}/frameworks/winFonts.ser'/
  arg line=-load-config='${flexsdk.home}/frameworks/flex-config.xml' /
  arg 
line=-load-config+='${basedir}/Administrator/build/Administrator-config.xml' 
/
  arg 
line=-load-config+='${basedir}/Administrator/build/Administrator-includes.xml' 
/
  arg line=-library-path+='${fluidas3.lib}'/
  arg line=-library-path+='${flex.lib}'/
  arg line=-library-path+='${locale.lib}'/
  arg line=-library-path+='${admin.lib}'/
  arg line=-incremental=true/
  arg line=-output 
'${basedir}/Administrator/htdocs/bin/Administrator.swf'/
  arg line=--/
  arg line='${basedir}/Administrator/as3/Administrator.mxml'/
 /java
/target

Ralf Bokelberg wrote:
 Hi Paul,

 i can run it with ant wo problem. What does your ant target look like?
 Cheers,
 Ralf.

 On 10/2/06, Paul Spitzer [EMAIL PROTECTED] wrote:
   
 Robert Wąs wrote:
 
 option is:
 -incremental
 and works for me
   
 w/ ANT?


 
 Robert Was



 Paul Spitzer wrote:
   
 Did anyone ever figure this out? I've having the same problem. I'm
 trying to use incremental compiling w/ ANT but am getting the following
 error...

 Failed to match the compile target with ... Administrator_405624.cache.
 The cache file will not be reused.

 The .cache file is created without any problems but the compiler is
 complaining about it.

 Any ideas? Thanks

 --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com, Lance Linder [EMAIL PROTECTED]
 wrote:
 
 I am getting the following message from the MXMLC compiler when calling
 it from NAnt using the -increment parameter.



 [exec] Failed to match the compile target with myApp_411843.cache. The
 cache file will not be reused.



 I don' t see any reason why this wouldn't work if I run multiple
 compiles back to back using the -increment parameter and I don't even
 change any code.



 I do see _x.cache files showing up but as you can see the compiler
 refuses to use them.



 Any idea




   


   



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




[flexcoders] Problem with Session Java/Flex

2006-10-03 Thread jonathan_merey



Hi, I have an application in which i have to threat the identification. In this identification I want to record some information in Session like login. The problem is that I don't know how. With a traditional application in Java with struts I know but in this case no.Here is my java code for the moment :public class LoginAction {  public LoginAction(){}  public int login(String login, String pass) {  request.getSession().setAttribute("login", login);  return 0; }}I don't know how get the HttpServletRequest request.I don't know to how do in Flex to record some information in this same session and how get them. Indeed, I have to threat different languages. When someone click on french or english at identification step he must stay in french or english after so how record information in session and how get them in flex because I think this must be done in flex this time.Here is the flex code :private function changeLanguage(language:String):void{ if (language == 'En') {  locale = localeEn; } if (language == 'Fr') {  locale = localeFr; }}Thank you.

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Set variable in custom component

2006-10-03 Thread fsawitzki
Many thanks for your correction of my code. It works fine, but i tried
to do some modifications, which will not work.

My problem is, that i also need the passed datestarty property to set
the size of my rectangle inside the createChildren() function. But
inside this function, the datestarty variable is still in its initial
value. The createChildren() function calls now a new function to
compute the length of the rectangle:


override protected function createChildren():void {
super.createChildren();

var mySprite:Sprite = new Sprite();
mySprite.graphics.beginFill(0x00);
mySprite.graphics.drawRect(0,0,getTimePeriod(datestarty,dateendy),20);

label = new TextField();
mySprite.addChild(label);
addChild(mySprite);
}



public function getTimePeriod(startDate:Number, endDate:Number):Number
{
if (!endDate || (startDate == endDate) ) dateLength = 10;
else dateLength = endDate-startDate;

return dateLength;
}

I looked at the livedocs into the implementing the component
section, but there was only mentioned that commitProperties() will be
called when the display has to be updated. But how can i commit the
variable to its new value before it is used to set the size of the
rectangle?

Frank





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





[flexcoders] Re: plug-in detection not working for IE

2006-10-03 Thread zenwarden
You really think that's the problem? The same pages work fine in frirefox.

Chris

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

 Try uninstalling and re-installing the Player.  Maybe it didn't get set
 up in the registry correctly?
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of zenwarden
 Sent: Wednesday, September 27, 2006 9:21 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] plug-in detection not working for IE
 
  
 
 The plug-in detection that is generated by the flex builder ( in the
 AC_OETags.js file) does not seem to be working for IE (or at least my
 version: 6. 0.2800).
 
 I know that IE has the right plug-in because I can run the swf file
 directly. But I get the Alternate HTML content should be placed here.
 This content requires the Adobe Flash Player. Get Flash message when
 I try to go through the myappname.html page. This happen both when I
 run through the builder and when I post files on a server.
 
 Is this a known bug? There is a plethora of information on the adobe
 site on browser detection, and I would appreciate it if someone could
 just narrow the field for me on how to fix this. I am not too keen on
 debugging the current AC_OETags.js.
 
 Chris Warden








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





[flexcoders] Start Up Needs Flex Developer ASAP (updated with Contact Info)

2006-10-03 Thread jhaidar21
Hi All,

BuzzSpots is an exciting new startup that's looking for a seasoned 
Flex developer to help us build out our service. The successful
candidate is:

- A freelancer with their own development set up (i.e.home office)
- Able to architect and develop a user driven Flex application and 
provide insight and best practices to the rest of the team
- Able to provide examples of their Flex work
- Proficient in Flash, AS3, XML 
- Comfortable working as part of a virtual team and communicate 
effectively with project leads and other developers
- Available to dedicate time over the next three months
- Have knowledge and enthusiasm for everything Web 2.0
- Be excited to be working with a groundbreaking new startup that 
will change the web as you know it!

Please send resumes and examples to [EMAIL PROTECTED] ASAP as we 
are looking to staff this position this week!

We are located in Toronto, Canada but are willing to work with the 
right person no matter where they are!

Thanks,
Jaafer






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





[flexcoders] Bug in Date class when using strings in constructor, with test case

2006-10-03 Thread Tom Chiverton
Compile up the following Flex 2 app, and enter
22/3/06
in the top box, then press the parse button.

I'm in the UK (where dates go dd/mm/yy) and would expect the answer to be 22nd 
March 2006, not 3rd October 1907 (I'm guessing this is 0006+22 months+3 
days).
But even in the US (where dates go mm/dd/yy), that can't be a sensible parse 
of the string, can it ? Shouldn't it throw an invalid date format at that 
point, because there aren't 22 months in a year ? Or at least start counting 
from the correct century ?

Can anyone (esp. in the UK) confirm this, in which case I'll enter it in the 
wish list - the Flash player should be able to get my locale and sort out 
date parsing correctly.

In the mean time, I suppose I'll have to write my own parser :-(

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

mx:Script
![CDATA[
  // Event handler to validate and format input.
  private function format():void {
var d:Date=new Date(str.text);
dat.text=d.toString();
dat2.text=d.toLocaleDateString();
  }
]]
/mx:Script

mx:TextInput id=str text= width=50%/
mx:Button label=parse click=format() /
mx:TextInput id=dat width=50% /
mx:TextInput id=dat2 width=50% /

/mx:Application
-- 
Tom Chiverton
Helping to collaboratively transition high-yield e-business



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

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




[flexcoders] Bug in Date class when using strings in constructor, with test case

2006-10-03 Thread Tom Chiverton
 Compile up the following Flex 2 app, and enter

It gets better*.
10 Dec 2006 is fine.
10 dec 2006 isn't.
Dec 10 2006 is fine.
dec 10 2006 isn't.
10 December 2006 isn't.
A dotted triplet (2.2.06) isn't.

-- 
Tom Chiverton, writing a date/time parser tommorrow :-(



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

* 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] Conditional Login inside curly braces for binding

2006-10-03 Thread Gordon Smith
Or write the  operator as amp;amp;

- Gordon

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Tuesday, October 03, 2006 2:50 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Conditional Login inside curly braces for
binding

On Monday 02 October 2006 18:41, Sam Shrefler wrote:
 Is there anyway to put a condition inside { } for example:
 enabled={checkA == something  checkB == somethingElse}

Create a mx:Script block and encapsulate your logic in a function, then:
enabled={isThingEnabled(checkA,checkB)}

-- 
Tom Chiverton
Helping to centrally pursue cross-media segments



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

* 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] Wrapping components within a container

2006-10-03 Thread David Katz



Thanks, Brian. This was very helpful.Best,DavidOn 10/3/06, Brian Dunphy [EMAIL PROTECTED]
 wrote:


Trying to create a tag cloud eh? Maybe... :)Anyway, I created an FBox container based on some example code in the documentation (and some code from Flex 1 that I found), you can find the code in here: 

http://tech.groups.yahoo.com/group/flexcoders/message/40947Best of luck.BrianOn 10/3/06, 
David Katz 
[EMAIL PROTECTED] wrote:












  



Does anyone know if it's possible to wrap components within a
container in Flex 2.0? I need to dynamically create a series of
LinkButtons, for example, and have them wrap when they reach the right
edge of their container. (Imagine a long clickable breadcrumb trail
that wraps to a second line if the items get too long to fit within
their container.)

This is trivial to do in html by placing the elements in a div, but I
can't figure out how to do it in Flex.

Any help is appreciated.

thanks,
David

-- 

David Katz
[EMAIL PROTECTED]

  













-- Brian Dunphy







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

   
  






  
  Your email settings: Individual Email|Traditional 
  
Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest
 | Switch to Fully Featured 
   

Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,__




__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Drag n Drop between 2 Datagrids

2006-10-03 Thread s_hernandez01
Would anyone have any source code on how to drag n drop between 2
datagrids using the Drag Manager?

-Sal





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





[flexcoders] Re: Format a datatip.

2006-10-03 Thread jnewport
This throws an error.

Cannot convert [EMAIL PROTECTED] to mx.chart.series.items.LineSeriesItem

/Start of datatipcode///
private function formatDataTip(hitData:HitData):String{

   var months:String = LineSeriesItem(hitData.item).yValue;
   var name:String = hitData.item.toString();
   var revenue:Number = hitData.item.revenue;
   return b+name+/bbr+months+br+cf.format(revenue);
}

//End datatip code

Any suggestions?

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

  
  
  
 LineSeriesItem(hitData.item).yValue
  
 Ely.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of jnewport
 Sent: Friday, September 29, 2006 12:35 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Format a datatip.
 
 
 
 I tried that, but didn't work correctly.
 
 LineSeries.(hitData.element).yField. which gave me the State name,
 but it won't give me the amount, which is what I am trying to get to
 do format.
 
 I have been trying to use chartItem, but no success. Flex can get me
 all the data on its own with the showDataTips=true, so it knows how to
 get the data out of my ArrayCollection. I just want to be able to get
 at what Flex knows. 
 
 I need to get at what showDataTips is doing when set to True. 
 
 Anyone know what it is?
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Mehdi, Agha Agha.Mehdi@ wrote:
 
  J,
  
  Try event.hitData.element.yField/.xField
  
  Agha Mehdi
  IDT - eBusiness Program Manager
  
  -Original Message-
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of jnewport
  Sent: Friday, September 29, 2006 9:11 AM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] Format a datatip.
  
  I was wondering how to format a datatip for a LineChart. If I use
  showDataTips everything looks good but the amounts are not formatted
  to $##,###. I have created an ArrayCollection that looks like the
  following.
  
  private var expensesAC:ArrayCollection = new ArrayCollection( [
  { Month: Jan, Texas: 2000, Utah: 1500, Kansas: 450 },
  { Month: Feb, Texas: 1000, Utah: 200, Kansas: 600 },
  { Month: Mar, Texas: 1500, Utah: 500, Kansas: 300 },
  { Month: Apr, Texas: 1800, Utah: 1200, Kansas: 900 },
  { Month: May, Texas: 2400, Utah: 575, Kansas: 500 } ]);
  
  I have tried to use cf.format(); on the data before its put into the
  ArrayCollection, which works so I get something like this.
  
  private var expensesAC:ArrayCollection = new ArrayCollection( [
  { Month: Jan, Texas: $2,000, Utah: $1,500, Kansas: $450 },
  
  But then Flex won't plot the dataguessing it doesn't like the $.
 
  
  
  So I am trying to use a function like this
  
  private function formatDataTip(hitData:HitData):String {
  var month:String = hitData.item.DONTKNOWWHATSHOULDGOHERE
  
  but I don't know what should come after item. I have tried to do a
  trace(hitData.item.toString), but I get object object. Is there a way
  to trace out whats in the hitData.item? 
  
  J
  
  
  
  
  
  
  --
  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
 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/
 





[flexcoders] e4x with XMLListCollections?

2006-10-03 Thread Clare Todd



I have a hunk of XML that I have 
loaded into an XMLListCollection. It describes a training course 
catalog. I'm trying to write a function to return the title of a course 
when passed the "KeyID" of a specific course instance, and am running into all 
sorts of problems (it ain't working being the worst of them).
Here's the 
XML:
catalogtrainingEvent 
keyID="1" title="Programming 101" eventCost="499.99"trainingEventInstance keyID="1" 
trainingEventID="1" location="Houston" eventDate="02/11/2007" 
instanceCost="499.99" /trainingEventInstance keyID="2" trainingEventID="1" 
location="Houston" eventDate="04/19/2007" instanceCost="499.99" /trainingEventInstance keyID="3" 
trainingEventID="1" location="Las Vegas" eventDate="04/19/2007" 
instanceCost="299.99" //trainingEventtrainingEvent keyID="2" title="Miter Saw 
Safety" eventCost="300.00"trainingEventInstance keyID="4" trainingEventID="2" 
location="Houston" eventDate="12/25/2006" instanceCost="300.00" //trainingEvent/catalog
... it's loaded into an 
XMLListCollection called myCollection using HTTP service with 
resultFormat=e4x
I'm trying to ignore the 
trainingEventID attribute, since it might be going away. I was trying to 
do some e4x magik to find the title like this, where the parameter is the KeyID 
of the trainingEventInstance:
public function getCourseTitle( 
instanceID:Number ):String {return 
myCollection.source.trainingEvent.trainingEventInstance.(@keyID == 
instanceID).parent()[EMAIL PROTECTED];}
so when the function is passed 4, it returns "Miter Saw Safety"
Am I doing something wrong? Can I 
not e4x using the "source" property? Any thoughts? 
Thanks!


__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___


[flexcoders] Reverse Geocoding

2006-10-03 Thread John Kirby
Title: quote






Does anyone know how in either Yahoo or Google maps to have the
lat/long and then do a reverse Geocode to get a city, state, zip?

Thanks
-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 



__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Updated for retail build: Re: [BETA3] I am still having a problem.

2006-10-03 Thread meathead
Would anyone have an idea on how to use a variable as the label?  It 
seems that since the node is an object I can't force a string 
concatenation over it.  I'd like to replace...

newNode = folder label='Sibling'/folder

With

newNode = folder label='strSomeVariable'/folder

Thanks,




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

 Thanks for putting me on the right track to being able to add 
items to
 my Tree that is bound to a XMLListCollection.  I had a heck of a 
time
 figuring out how to to an addItemAt to a XMLListCollection ... 
because
 it is not a valid method.  Using the ITreeDataDescriptor was the 
trick.
 
 I am still not sure how to work this into my UpdateTreeCommand.as 
when
 using Cairngorm.  The code below is a modification of the code you
 posted.  
 
 [CODE]
 ?xml version=1.0 encoding=utf-8?
 !-- Tree control example. --
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
   creationComplete=init(); 
 
   mx:Script
   ![CDATA[
   import mx.controls.List;
   import mx.collections.ICollectionView;  
   import mx.collections.XMLListCollection;

   import mx.controls.treeClasses.*;   
   
   [Bindable]
   public var selectedNode:Object;
   
   [Bindable]
   public var myXLC:XMLListCollection;
   //
   public function init():void{
   myXLC = new XMLListCollection(treeData.node);

   }
   //
   public function addMySibling(n:int):void{   

   var xm:ITreeDataDescriptor = 
myTree.dataDescriptor;  
 
   var newNode:XML = new XML();
   newNode = folder label='Sibling'/folder
   if (n == -1){
   myXLC.addItem(newNode); 

   } else {
   xm.addChildAt(myTree.getParentItem
(myTree.selectedItem),newNode,n);   
   }
   
   
   }
   //
   public function addMyChild(n:int):void{ 
   var xm:ITreeDataDescriptor = 
myTree.dataDescriptor;  
   
   var newNode:XML = new XML();
   newNode = folder label='Child'/folder
   
   if (n == -1){
   xm.addChildAt
(myTree.selectedItem,newNode,0);
   } else {
   xm.addChildAt
(myTree.selectedItem,newNode,n);
   }   
   /*
   // Code to select the newly created child.  
I cannot get this to
 work =(
   var selItem:ICollectionView = xm.getChildren
(myTree.selectedItem);
   trace(selItem: +selItem);
   trace(selItem.length: +selItem.length);
   myTree.selectedItem = 
myTree.selectedItem.childNodes[selItem.length];
   */  
   }
   
   //
   public function treeChanged(event:Event) : void
   {
   selectedNode=Tree(event.target).selectedItem;
   }
   ]]
   /mx:Script
 
   mx:XML id=treeData
   node
   node label=Mail Box
   node label=Inbox
   node label=Marketing/
   node label=Product Management/
   node label=Personal/
   /node
   node label=Outbox
   node label=Professional/
   node label=Personal/
   /node
   node label=Spam/
   node label=Sent/
   /node
   /node
   /mx:XML
   
   mx:Panel title=Tree Control Example height=75% 
width=75%
   paddingTop=10 paddingLeft=10 paddingRight=10
   paddingBottom=10
   
   mx:Label text=Select a node in the Tree control./
   mx:Button label=Add sibling to selected tree node
 click=addMySibling(myTree.selectedIndex)/
   mx:Button label=Add child to selected tree node
 click=addMyChild(myTree.selectedIndex)/
   mx:HDividedBox width=100% height=100%
   mx:Tree id=myTree width=50% 
height=100%
   labelField=@label
   showRoot=false dataProvider={myXLC} 
   change=treeChanged(event)/
   mx:TextArea height=100% width=50%
   text=Selected Item: [EMAIL PROTECTED]/
   /mx:HDividedBox
   
   /mx:Panel
 /mx:Application
 [/CODE]
 
 
 
 --- In flexcoders@yahoogroups.com, 

[flexcoders] ExternalInterface in Firefox

2006-10-03 Thread Rogerio Gonzalez
Hello people,

I am having a problem with Firefox. I do a javascript (window.open) by
an ExternalInterface.
Something like this:

var strJavaScript:String = 'window.open(test.html,Test,width=+
screen.width +,height=+ (screen.height - 30)
+,left=0,top=0,status=0)'
ExternalInterface.call(strJavaScript);

in IE, everything work just fine. But in Firefox (1.5.0.7) the browser
execute the Javascript code right, but the FlashPlayer goes funny.
Some things work, others don´t. ViewStacks, for example. Simple
doesn´t work after perform an ExternalInterface.call

Anybody have any ideias?

Thanks

Rogerio


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




[flexcoders] can NOT call method in component

2006-10-03 Thread boy_trike
in my application, i am asking for time input in many places.  right now I have 
a 
  change=processTime( event) in the text input of each time variable.  (my 
process time 
parses the input.  Of course, this requires that I import the ProcessTime 
function into each 
component that uses it.   I created a new component called TimeInput based on 
textInput and 
added a public function processTime.

When I try to use this component  i.e.
  comp:TimeText id=tt change=processTime (event) /

I get the error call to possibly undefined method

Help

Thanks
Bruce






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




[flexcoders] Re: Can I force a redraw of my dataGrid?

2006-10-03 Thread Derrick Grigg
A typed value object is basically an object that matches to some data
entity you are working with. You create a class to define the entity,
give it properites (that are bindable) and then put instances of that
class into the ArrayCollection instead of non descript Objects

ie

class BookVO {
   [Bindable]
   public var title: String;

   [Bindable]
   public var author: String;

   [Bindable]
   public var ISBN: String;

   public function BookVO():void {

   }
}

... and then loop through the results from the webservice and for each
item, create a new BookVO, fill in the properties and add that to the
ArrayCollection. I imagine you are probably currently doing something
similiar to 

var book = new Object();
book.author = xmlNode.ItemAttributes.author;
book.title =  xmlNode.ItemAttributes.title;
book.ISBN =  xmlNode.ItemAttributes.ISBN;

This is certainly very easy to start with, but in the long run causes
more headaches for a variety of reasons.

By using typed objects with bindable properties, it leverages the Flex
components awareness of changes in those objects, basically the
components listen to the objects for changes, which means you don't
have to manually refresh things when changes happen.

Derrick Grigg
-
www.dgrigg.com

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

 Thanks Derrick...
 
 I had tried invalidateDisplay list, but not invalidateList..which did 
 it.  interesting.  when you say typed value objects...can you elaborate 
 on that?  I am doing some 'non standard' things, and all of my data is 
 read into an ArrayCollection via a web service, but i'm not using XML 
 but text instead.  Curious if what you are saying regarding typed value 
 objects is something i'm bumping up against.
 
 thanks again!
 
 -rick
 
 --- In flexcoders@yahoogroups.com, Derrick Grigg dgrigg@ wrote:
 
  I think you can use the 'invalidateDisplayList()'  or possibly 
  the 'invalidateList()' to refresh your datagrid.
  
  Alternatively, if you use typed value objects in the dataProvider any 
  changes to those, should automatically be reflected (and viewed) in 
  the DataGrid if you are using databinding.
  
  Derrick Grigg
  
  www.dgrigg.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] DateChooser and it's dateGrid

2006-10-03 Thread Xavier Agnetti
On 10/3/06, Bas J. Brey [EMAIL PROTECTED] wrote:
 On Tuesday 03 October 2006 15:10, Bas J. Brey wrote:
   I'm trying to highlight a selection of one or more days in the
  dateChooser.

   Why not use the dateChooser.selectedRanges property ?

  I may need to give them different colors in the future.
  But until then think I could use that option.

Does anyone have an idea to emphasize some days (changing background
color, or font) with the DateChooser (in Flex 2.0) ?

Thanks,

-- 
Xavier Agnetti


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





[flexcoders] Re: ExternalInterface in Firefox

2006-10-03 Thread Santo
hello again,

Here is a example of the problem that I´m having.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:Script
![CDATA[
import mx.controls.Alert;
import flash.external.ExternalInterface;
private function doAlert():void{
var strJavaScript:String = 'alert(blablabla)'
ExternalInterface.call(strJavaScript);
}
]]
/mx:Script
mx:VBox width=100% height=100%
mx:Accordion width=100% height=100%
mx:Canvas label=Test 1
mx:VBox
mx:Button label=Button/
mx:CheckBox label=Checkbox/
/mx:VBox
/mx:Canvas
mx:Canvas label=Test 2
mx:VBox
mx:TextArea/
mx:Button label=Button/
/mx:VBox
/mx:Canvas
/mx:Accordion
mx:Button click=doAlert() label=Test ExternalInterface/
/mx:VBox
/mx:Application

Regards,

Rogerio


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

 Hello people,
 
 I am having a problem with Firefox. I do a javascript (window.open) by
 an ExternalInterface.
 Something like this:
 
 var strJavaScript:String = 'window.open(test.html,Test,width=+
 screen.width +,height=+ (screen.height - 30)
 +,left=0,top=0,status=0)'
 ExternalInterface.call(strJavaScript);
 
 in IE, everything work just fine. But in Firefox (1.5.0.7) the browser
 execute the Javascript code right, but the FlashPlayer goes funny.
 Some things work, others don´t. ViewStacks, for example. Simple
 doesn´t work after perform an ExternalInterface.call
 
 Anybody have any ideias?
 
 Thanks
 
 Rogerio







--
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] Bugs in Panel Component

2006-10-03 Thread Matt Chotin












Weve filed a bug for the 50% thing.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle
Sent: Sunday, October 01, 2006
3:33 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Bugs in
Panel Component











Hi,

The 'bugs' you listed for the borders are not bugs. If you look into the
HaloBorders class, you will find that roundedBottomCorners is only
rendered with the 'default' and 'alert' borderStyle.

As far as inset and outset, those are not rendered with corner radii either, so
that is not a bug. 

What you listed with the 50% bug, that might be a bug since the Flex class
proportionally measures and is supposed to allocate the percentages(if
they fit) from the parent container. 

Peace, Mike



On 10/1/06, omkarjoe
omkar.joshi24@gmail.com
wrote:









Hi all,

I think I have found a bug in Panel Component. Following are the 
details

 If you set borderStyle=solid then whatever you set for
roundedBottomCorners it doesn't effect.

 If you add controlBar to a panel then also setting 
roundedBottomCorner property to false doesn't work.

 If borderstyle property of a panel is set to inset / outset then 
border at the top corners remains squerish. Interestingly in this 
case fill at the top will have rounded corner but borders won't.

 For this bug, I am not quite sure if it's in a VBox or panel... 
Here is a scenaio,

Add two panels under a VBox and set their height to 50% each, set 
panels layout to vertical. Now add 10 to 20 components (Controls) to 
panel. Now according to my knowledge panel shudn't increase in size 
and both the panels shud have equal size. and if no. of components 
doesn't fit to the panels area it should display a scrollbar (I have 
kept the scrollPolicy of the panel to 'auto'), but instead it 
increases the height of a panel.

I think these all are bugs kindly let me know...

Cheers!!!














-- 
What goes up, does come down. 






__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] can NOT call method in component

2006-10-03 Thread Michael Schmalle



Hi,Since you are instantiating the component in an Application, the scope is off,
  comp:TimeText id=tt change=processTime (event) /needs to be
  comp:TimeText id=tt change=tt.processTime (event) /I know that isnt what you wanted to here but the scope always refers to the application everywhere except a component tag.
Why don't you add a listener in you custom component say in createChilren()IEoverride proected function createChildren():void{ super.createChildren(); addEventListener(Event.CHANGE, processTime, false, 0, true);
}Peace, MikeOn 10/3/06, boy_trike [EMAIL PROTECTED] wrote:













  



in my application, i am asking for time input in many places.  right now I have a 
  change=processTime( event) in the text input of each time variable.  (my process time 
parses the input.  Of course, this requires that I import the ProcessTime function into each 
component that uses it.   I created a new component called TimeInput based on textInput and 
added a public function processTime.

When I try to use this component  i.e.
  comp:TimeText id=tt change=processTime (event) /

I get the error call to possibly undefined method

Help

Thanks
Bruce


  













-- What goes up, does come down.

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] SQL Server and Flex 2

2006-10-03 Thread Joe
Okay, 
I'm pretty new to the Flex scene and am very impressed with the
development so far.  My company is wanting to start developing a
database application using an Ajax technology and realize I'm a little
behind the curve since Flex applications don't access data like the
.net applications I normally develop.  We've already bought Flex
Builder 2.0 and I am being pushed to develop there. 

So far the interface design and interaction development I'm catching,
but with the data access I'm lost.

Does anyone have any idea where to begin?  I've tried browsing the
forums and just keep getting more confused, and all of the examples
I've found on the web don't use IIS/MSSQL.

Please Help!

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

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





[flexcoders] Re: Saving TileList Drag Drop Reorder

2006-10-03 Thread He who runs with cattle
I am grabbing this array information with a DragEvent.DRAG_COMPLETE
listener if that helps. 


--- In flexcoders@yahoogroups.com, He who runs with cattle
[EMAIL PROTECTED] wrote:

 I have a TileList populated with a an array of images and using the
 default behavior of the allowDragSelection, dragEnabled, dropEnabled,
 dragMoveEnabled properties, the user can rearrange the list as needed. 
 
 What I'm having a problem with is accessing the new order that the
 user has rearranged the images to. The tileList's dataProvider
 arrayCollection seems to push another position onto the array as a
 temporary place holder while creating the new order. However, the new
 order of the dataProvider does not seem to directly correspond to the
 order displayed in the TileList.
 
 Is there an easy way to access the new order of the displayed tilelist
 after the user rearranges the list?
 
 Here is what the arrayCollection looks like when the application first
 starts:
 
 this.myArrayCollection = Array (@2998af1)
   [0] = Object (@26cff01)
   file_name = 1159664036.jpg
   id = 1
   [1] = Object (@295ffa1)
   file_name = 11596647771.jpg
   id = 33
   [2] = Object (@295ffe1)
   file_name = 11596647772.jpg
   id = 34
 
 Here is what the arrayCollection looks like after the user drags the
 first image to the right of the second image.
 
 this.myArrayCollection = Array (@2998af1)
   [0] = Object (@295ffa1)
   file_name = 11596647771.jpg
   id = 33
   [1] = Object (@26cff01)
   file_name = 1159664036.jpg
   id = 1
   [2] = Object (@26cff01)
   file_name = 1159664036.jpg
   id = 1
   [3] = Object (@295ffe1)
   file_name = 11596647772.jpg
   id = 34
 
 
 
 Thanks in advance.








--
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] SQL Server and Flex 2

2006-10-03 Thread Shannon Hicks





You would use .net to talk to SQL Server, and flex 2 would 
talk to .net.

There are many methods to do that... search the archives 
for .net

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JoeSent: 
Tuesday, October 03, 2006 4:24 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] SQL Server and Flex 
2


Okay, I'm pretty new to the Flex scene and am very impressed with 
thedevelopment so far. My company is wanting to start developing 
adatabase application using an Ajax technology and realize I'm a 
littlebehind the curve since Flex applications don't access data like 
the.net applications I normally develop. We've already bought 
FlexBuilder 2.0 and I am being pushed to develop there. So far the 
interface design and interaction development I'm catching,but with the data 
access I'm lost.Does anyone have any idea where to begin? I've tried 
browsing theforums and just keep getting more confused, and all of the 
examplesI've found on the web don't use IIS/MSSQL.Please 
Help!Thanks
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.407 / Virus Database: 268.12.12/461 - Release 
Date: 10/2/2006
__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date: 10/2/2006
 


RE: [flexcoders] Reverse Geocoding

2006-10-03 Thread Shannon Hicks
Title: quote





I don't know if Yahoo or Google do it, but I know that the 
lat/long information is usually tied to city/state/zip through zip code database 
subscriptions. I never did find anyone giving it away for free, but that were 
more than reasonable.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of John 
KirbySent: Tuesday, October 03, 2006 2:54 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Reverse 
Geocoding


Does anyone know how in either Yahoo or Google maps to have the lat/long and 
then do a reverse Geocode to get a city, state, zip?Thanks
-- Whether you think that 
you can, or that you can't, you are usually right.- Henry Ford 


--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.407 / Virus Database: 268.12.12/461 - Release 
Date: 10/2/2006
__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date: 10/2/2006
 


Re: [flexcoders] SQL Server and Flex 2

2006-10-03 Thread Rich Tretola



You could talk directly to SQL server 2005 using the new SQL server web services.RichOn 10/3/06, Shannon Hicks 
[EMAIL PROTECTED] wrote:








You would use .net to talk to SQL Server, and flex 2 would 
talk to .net.

There are many methods to do that... search the archives 
for .net

Shan


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of JoeSent: 
Tuesday, October 03, 2006 4:24 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] SQL Server and Flex 
2


Okay, I'm pretty new to the Flex scene and am very impressed with 
thedevelopment so far. My company is wanting to start developing 
adatabase application using an Ajax technology and realize I'm a 
littlebehind the curve since Flex applications don't access data like 
the.net applications I normally develop. We've already bought 
FlexBuilder 2.0 and I am being pushed to develop there. So far the 
interface design and interaction development I'm catching,but with the data 
access I'm lost.Does anyone have any idea where to begin? I've tried 
browsing theforums and just keep getting more confused, and all of the 
examplesI've found on the web don't use IIS/MSSQL.Please 
Help!Thanks
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.407 / Virus Database: 268.12.12/461 - Release 
Date: 10/2/2006




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date: 10/2/2006
 

-- Rich Tretolamx:EverythingFlex/http://www.EverythingFlex.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
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Reverse Geocoding

2006-10-03 Thread Rich Tretola



I found one for $5,but the link in on my machine at the office. I will send it tomorrow.RichOn 10/3/06, Shannon Hicks 
[EMAIL PROTECTED] wrote:








I don't know if Yahoo or Google do it, but I know that the 
lat/long information is usually tied to city/state/zip through zip code database 
subscriptions. I never did find anyone giving it away for free, but that were 
more than reasonable.

Shan


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of John 
KirbySent: Tuesday, October 03, 2006 2:54 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Reverse 
Geocoding


Does anyone know how in either Yahoo or Google maps to have the lat/long and 
then do a reverse Geocode to get a city, state, zip?Thanks
-- Whether you think that 
you can, or that you can't, you are usually right.- Henry Ford 


--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.407 / Virus Database: 268.12.12/461 - Release 
Date: 10/2/2006




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date: 10/2/2006
 

-- Rich Tretolamx:EverythingFlex/http://www.EverythingFlex.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
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: How to lock columns

2006-10-03 Thread Tim Hoff
Hi jlentz,

Your only option is to lock the left hand columns using the 
lockedColumnCount property of the DataGrid.

-TH

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

 Hi,
 
 I see in the help screens that a data grid is supposed to be able to
 have a locked column.  How do you do that?  I've searched through the
 help area, but it doesn't say how to lock a particular column in a
 grid.  Thanks for any help.
 
 jlentz








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





[flexcoders] does the CFC/AS namespace path have to match?

2006-10-03 Thread Brendan Meutzner



Hi,It seems that even when I type my cffunction argument inside my CFC, it looks for the object definition in the same location the AS object is placed... but they're not in my case.Eg.
AS fileimport com.blah.blah1.blah2.theDataStructure;delegate.insertFunction(event.theDataInstance as theDataStructure);CFCcfargument name=theDataInstance type=
com.blah.blah1.blah2.blah3.theDataStructure /Gives me an error message from CF saying it can't find com.blah.blah1.blah2.theDataStructure even though I'm typing it as 
com.blah.blah1.blah2.blah3.theDataStructureIs this the case?Brendan

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] SQL Server and Flex 2

2006-10-03 Thread Tariq Ahmed






Joe, the first learning step to just get something going is to write
.NET/ASP pages that output simple XML that your Flex app consumes. In
the Flex Docs lookup stuff on "HTTPService". Using HTTPService you can
just connect to any URL that spits back XML, and then in Flex you can
work with that XML data.

mx:HTTPService id="srv" url="" class="moz-txt-link-rfc2396E" href="http://localhost/somexml.asp">"http://localhost/somexml.asp"
useProxy="false" /

And you could then display the results in a datagrid

 mx:DataGrid dataProvider="{srv.lastResult.emps.employee}"
editable="true"
 mx:columns
 mx:Array 
 mx:DataGridColumn dataField="first"
headerText="First" editable="true" width="60"/
 mx:DataGridColumn dataField="last"
headerText="Last" width="60"/
 
 /mx:Array
 /mx:columns
 /mx:DataGrid

Where the XML output looks something like:

?xml version="1.0" encoding="utf-8" ? 
emps
 employee
  firstJeff/first
  lastSmith/last
 /employee
 employee
  firstJohn/first
  lastDoe/last
 /employee
/emps


BUT... ultimately you want to use WebServices, which is almost exactly
the same from the Flex side. But there may be some challenges with how
.NET WebServices handle certain object/data types.



Joe wrote:


  
  Okay, 
I'm pretty new to the Flex scene and am very impressed with the
development so far. My company is wanting to start developing a
database application using an Ajax technology and realize I'm a little
behind the curve since Flex applications don't access data like the
.net applications I normally develop. We've already bought Flex
Builder 2.0 and I am being pushed to develop there. 
  
So far the interface design and interaction development I'm catching,
but with the data access I'm lost.
  
Does anyone have any idea where to begin? I've tried browsing the
forums and just keep getting more confused, and all of the examples
I've found on the web don't use IIS/MSSQL.
  
Please Help!
  
Thanks
  
  
  
 __._,
  



__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___








Re: [flexcoders] Reverse Geocoding

2006-10-03 Thread Tariq Ahmed






There's a $40 product from ZipInfo.com

http://www.zipinfo.com/products/z5ll/z5ll.htm


Rich Tretola wrote:


  
  I found one for $5,but the link in on my machine at the office. I
will send it tomorrow.
  
Rich
  
  
  
  
  On 10/3/06, Shannon Hicks 
[EMAIL PROTECTED]com wrote:
  

I don't know if Yahoo or Google do it, but I know that the
lat/long information is usually tied to city/state/zip through zip code
database subscriptions. I never did find anyone giving it away for
free, but that were more than reasonable.

Shan


From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of John Kirby
Sent: Tuesday, October 03, 2006 2:54 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Reverse Geocoding




Does anyone know how in either Yahoo or Google maps to have the
lat/long and then do a reverse Geocode to get a city, state, zip?

Thanks

-- 
Whether you think that you can, or that
you can't, you are usually right.
- Henry Ford 




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date:
10/2/2006




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date:
10/2/2006
 

  
  
  
  
-- 
Rich Tretola
mx:EverythingFlex/
  http://www.EverythingFlex.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
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___









[flexcoders] Re: SQL Server and Flex 2

2006-10-03 Thread Tim Hoff



Hi Joe,
If you're using SQL Server 2005, you could use Rich's suggestion. However, if you're using SQL Server 2000, you could use ASP.Net as the middle tier. Here is an example of an ASP.Net webservice (VB.Net) that pulls data from SQL Server. 
View Example
On the Flex side, search the help docs for RPC and you'll find many examples. Hope that this helps out a fellow .net/Flex convert.
-TH--- In flexcoders@yahoogroups.com, "Rich Tretola" [EMAIL PROTECTED] wrote: You could talk directly to SQL server 2005 using the new SQL server web services.  Rich  On 10/3/06, Shannon Hicks [EMAIL PROTECTED] wrote:   You would use .net to talk to SQL Server, and flex 2 would talk to .net.   There are many methods to do that... search the archives for .net   Shan   --  *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On  Behalf Of *Joe  *Sent:* Tuesday, October 03, 2006 4:24 PM  *To:* flexcoders@yahoogroups.com  *Subject:* [flexcoders] SQL Server and Flex 2   Okay,  I'm pretty new to the Flex scene and am very impressed with the  development so far. My company is wanting to start developing a  database application using an Ajax technology and realize I'm a little  behind the curve since Flex applications don't access data like the  .net applications I normally develop. We've already bought Flex  Builder 2.0 and I am being pushed to develop there.   So far the interface design and interaction development I'm catching,  but with the data access I'm lost.   Does anyone have any idea where to begin? I've tried browsing the  forums and just keep getting more confused, and all of the examples  I've found on the web don't use IIS/MSSQL.   Please Help!   Thanks--  No virus found in this incoming message.  Checked by AVG Free Edition.  Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date: 10/2/2006 --  No virus found in this outgoing message.  Checked by AVG Free Edition.  Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date: 10/2/2006 --  Rich Tretola mx:EverythingFlex/ http://www.EverythingFlex.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
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Xpost. moving flex builder projects from one machine to another??

2006-10-03 Thread Mark Rausch












Have you done a File - Import -
Existing projects into Workspace?











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Wilker
Sent: Tuesday, October 03, 2006
2:16 PM
To: Flex@houseoffusion.com;
flexcoders@yahoogroups.com
Subject: [flexcoders] Xpost.
moving flex builder projects from one machine to another??











Can it be
done?

I've copied all the files over. including the .project and such. But FB still
doesn't show them in the navigator.

J

-- 
John Wilker
Vice President Software Development/Writer 
Red Omega Solutions, Inc.
www.johnwilker.com / www.red-omega.com

Everything changes, nothing remains without change. ~Buddha c.483
bc 






__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Stats on flash player 9 penetration.

2006-10-03 Thread John Dowdell
Clint Modien wrote:
 I'm totally confused now.  Isn't the only thing requiring a player upgrade
 to 9.0 flex 2?  Without auto-update turned on what is causing such a 
 blazing fast adoption rate?

I think it's the content. While YouTube requires Adobe Flash Player 8 or 
better, anyone still upgrading from v7 or previous will now get the 
current version, Flash Player 9.

Rephrased, a site doesn't *have* to specify FP9... anytime that they 
specify a minimum version greater than what someone has installed, then 
(as of the end of June) they'll be getting FP9.

MySpace going to SWF9 did increase adoption rates, but even if they have 
90 million regular visitors, that's still only about three weeks' worth 
of normal Flash Player distribution... from what I'm told, we've been 
seeing five to six million successful installations per day anyway. 
MySpace *did* have an effect in bunching upgrade requests together, but 
the total Flash Player 9 audience is already far larger than the MySpace 
audience.

There's a virtuous circle going on with Flash work now... the 
application developers benefit from the video sites, from the 
advertisers, from the newspaper infographics, from the personality sites.

More on the different sociology of Adobe Flash Player 9 here:
http://weblogs.macromedia.com/jd/archives/2006/08/linux_observati.cfm

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

* 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] Reverse Geocoding

2006-10-03 Thread John Kirby
Title: quote






I did find this for free:

http://geocoder.ca

It returns back an xml document. I was hoping since Yahoo/Google
derived lat/long from address they could provide reverse geocoding? I
was hoping for a more "integrated" solution?

Rich Tretola said the following:


  
  I found one for $5,but the link in on my machine at the office. I
will send it tomorrow.
  
Rich
  
  
  
  
  On 10/3/06, Shannon Hicks 
[EMAIL PROTECTED]com wrote:
  

I don't know if Yahoo or Google do it, but I know that the
lat/long information is usually tied to city/state/zip through zip code
database subscriptions. I never did find anyone giving it away for
free, but that were more than reasonable.

Shan


From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of John Kirby
Sent: Tuesday, October 03, 2006 2:54 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Reverse Geocoding




Does anyone know how in either Yahoo or Google maps to have the
lat/long and then do a reverse Geocode to get a city, state, zip?

Thanks

-- 
Whether you think that you can, or that
you can't, you are usually right.
- Henry Ford 




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date:
10/2/2006




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.12/461 - Release Date:
10/2/2006
 

  
  
  
  
-- 
Rich Tretola
mx:EverythingFlex/
  http://www.EverythingFlex.com
  



-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 



__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] How to create a date timeline

2006-10-03 Thread greg h



Jeroen,

You might want to start with The Timeline Creator here:
http://timeline.cer.jhu.edu/

You might offer the developers to help update the project. For
instance they have a Java app for creating the XML storage file
(timeline.xml). Now that Flex/Flash have flash.net.FileReference
the project could be Flex/Flash from end to end.

And here is another project:
http://dmc.umn.edu/objects/timeline/

hth,

g

On 10/2/06, Jeroen De Vos [EMAIL PROTECTED] wrote:












Guys,


I want to create a timeline to visualize dates, for example to show the reignlengths of the kings of a country.

How can I do this?


Jeroen.




__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Xpost. moving flex builder projects from one machine to another??

2006-10-03 Thread John Wilker



Can it be done?I've copied all the files over. including the .project and such. But FB still doesn't show them in the navigator.J-- John WilkerVice President Software Development/Writer
Red Omega Solutions, Inc.www.johnwilker.com / www.red-omega.comEverything changes, nothing remains without change. 	~Buddha 
c.483 bc

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: can NOT call method in component

2006-10-03 Thread boy_trike
Well Thanks, of course, it works FINE now, with your suggestion.  

Now here is the important question..

I feel like I know flex pretty well (not too difficult to figure out how all of 
the components 
work...maybe a 9 on a 0 - 10 scale).

However, my actionscript knowledge seems to be a 1 MINUS!.  I would have had NO 
idea to 
look for the createChildren function.  where the heck do I learn that info?  
would going to 
MAXX help ??  any books you want to recomend?  (wanna consult for $$$  ??? )

Bruce



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

 Hi,
 
 Since you are instantiating the component in an Application, the scope is
 off,
 
 comp:TimeText id=tt change=processTime (event) /
 
 needs to be
 
 comp:TimeText id=tt change=tt.processTime (event) /
 
 I know that isnt what you wanted to here but the scope always refers to the
 application everywhere except a component tag.
 
 Why don't you add a listener in you custom component say in createChilren()
 
 IE
 
 override proected function createChildren():void
 {
super.createChildren();
addEventListener(Event.CHANGE, processTime, false, 0, true);
 }
 
 
 Peace, Mike
 
 On 10/3/06, boy_trike [EMAIL PROTECTED] wrote:
 
in my application, i am asking for time input in many places. right now
  I have a
  change=processTime( event) in the text input of each time variable. (my
  process time
  parses the input. Of course, this requires that I import the ProcessTime
  function into each
  component that uses it. I created a new component called TimeInput based
  on textInput and
  added a public function processTime.
 
  When I try to use this component i.e.
  comp:TimeText id=tt change=processTime (event) /
 
  I get the error call to possibly undefined method
 
  Help
 
  Thanks
  Bruce
 
   
 
 
 
 
 -- 
 What goes up, does come down.







--
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] Problem with extending mx.controls.DataGrid

2006-10-03 Thread Bas J. Brey












You have to use the
package name when creating the columns inside a custom class.



For example if you have a
DataGridEx.class in package Classes and you want to create columns for it do it
as following:



Classes:DataGridEx


Classes:columns


mx:DataGridColumn /


/Classes:columns

/Classes:DataGridEx



And yes this is weird J











Van:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Van De Velde Hans
Verzonden: dinsdag 3 oktober 2006
15:14
Aan: 'flexcoders@yahoogroups.com'
Onderwerp: RE: [flexcoders]
Problem with extending mx.controls.DataGrid











Naturally, I can obtain my goal by setting the columns
array with
DataGridColumns with code,
but it's less elegant I think.

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of Van De Velde Hans
Sent: dinsdag 3 oktober 2006 14:48
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] Problem with extending mx.controls.DataGrid

Hi list,

I'm busy skinning the DataGrid by extending mx.controls.DataGrid, but I
get
an error when using the mx:columns - tag with the extended DataGrid
component :

Could not resolve mx:columns to a component implementation.

Does anybody have a fix?

Wkr,
Hans.

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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: DataGrid source when dropEnabled?

2006-10-03 Thread trevor_corevx
--- In flexcoders@yahoogroups.com, trevor_corevxwrote:
 What would the datasource for this DataGrid be so I can remove the
 item based on selectedIndex or otherwise?

For those interested the simple solution I was looking for was the
dataProvider method.

public function removeItemFromDG():void {
  if (myDG.selectedIndex = 0) {
myDG.dataProvider.removeItemAt(myDG.selectedIndex);
  }
}









--
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] e4x with XMLListCollections?

2006-10-03 Thread Prakash Bajracharya



I'm not sure if you will be able to directly access the trainingEvent title using the return statement you have given below.

Looking at the structure of the XML, it seems inevitable that you'll have to iterate through each and every node to search for the KeyID you are looking for and when you find one grab the title from the parent node.


Here is a code that works:

the XML:

mx:XML id=theCatalogcatalog
trainingEvent keyID=1 title=Programming 101 eventCost=499.99trainingEventInstance keyID=1 trainingEventID=1 location=Houston eventDate=02/11/2007 instanceCost=
499.99 /trainingEventInstance keyID=2 trainingEventID=1 location=Houston eventDate=04/19/2007 instanceCost=499.99 /trainingEventInstance keyID=3 trainingEventID=1 location=Las Vegas eventDate=04/19/2007 instanceCost=
299.99 //trainingEventtrainingEvent keyID=2 title=Miter Saw Safety eventCost=300.00trainingEventInstance keyID=4 trainingEventID=2 location=Houston eventDate=12/25/2006 instanceCost=
300.00 /trainingEventInstance keyID=5 trainingEventID=2 location=Houston eventDate=12/25/2006 instanceCost=300.00 /trainingEventInstance keyID=6 trainingEventID=2 location=Houston eventDate=12/25/2006 instanceCost=
300.00 /trainingEventInstance keyID=7 trainingEventID=2 location=Houston eventDate=12/25/2006 instanceCost=300.00 //trainingEvent
/catalog/mx:XML

public function getCourseTitle(instanceID:Number){// Iterate through each Node of the XML
for each(var parentNodes:XML in theCatalog.trainingEvent){var childNodes:XMLList=parentNodes.trainingEventInstance;// Iterate through each Child Node of the XML
for each(var individualChild:XML in childNodes){if([EMAIL PROTECTED]){ // Found the bastard :-)// Return title of the parentreturn 
[EMAIL PROTECTED];
Usage:
if you call getCourseTitle(4) you'll get Miter Saw Safety and so on...
hope that helps,

Prakaz

On 10/4/06, Clare Todd [EMAIL PROTECTED] wrote:






I have a hunk of XML that I have loaded into an XMLListCollection. It describes a training course catalog. I'm trying to write a function to return the title of a course when passed the KeyID of a specific course instance, and am running into all sorts of problems (it ain't working being the worst of them).

Here's the XML:
catalogtrainingEvent keyID=1 title=Programming 101 eventCost=499.99
trainingEventInstance keyID=1 trainingEventID=1 location=Houston eventDate=02/11/2007 instanceCost=499.99
 /trainingEventInstance keyID=2 trainingEventID=1 location=Houston eventDate=04/19/2007 instanceCost=
499.99 /trainingEventInstance keyID=3 trainingEventID=1 location=Las Vegas eventDate=04/19/2007 instanceCost=
299.99 //trainingEventtrainingEvent keyID=2 title=Miter Saw Safety eventCost=
300.00trainingEventInstance keyID=4 trainingEventID=2 location=Houston eventDate=12/25/2006 instanceCost=
300.00 //trainingEvent/catalog
... it's loaded into an XMLListCollection called myCollection using HTTP service with resultFormat=e4x
I'm trying to ignore the trainingEventID attribute, since it might be going away. I was trying to do some e4x magik to find the title like this, where the parameter is the KeyID of the trainingEventInstance:

public function getCourseTitle( instanceID:Number ):String {return myCollection.source.trainingEvent.trainingEventInstance.(@keyID == instanceID).parent()[EMAIL PROTECTED];
}
so when the function is passed 4, it returns Miter Saw Safety
Am I doing something wrong? Can I not e4x using the source property? Any thoughts? Thanks!


 

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: How to lock columns

2006-10-03 Thread wayne_badu_johnson
Hi jlentz

You may be referring to the 'resizeable'colum property.

e.g.
mx:DataGridColumn dataField=Contact resizable=false/

Cheers
Wayne

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

 Hi,
 
 I see in the help screens that a data grid is supposed to be able to
 have a locked column.  How do you do that?  I've searched through the
 help area, but it doesn't say how to lock a particular column in a
 grid.  Thanks for any help.
 
 jlentz









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




[flexcoders] Re: SQL Server and Flex 2

2006-10-03 Thread jbeck_sound
You may also want to check out WebORB for .NET, which implements a
Flex Data Services structure. You can write your business objects are
.NET classes and let WebORB to the data translating for you. This
allows you to work with primitives and with complex objects.

You can find WebORB for .NET at http://www.themidnightcoders.com

Jurgen







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




[flexcoders] RemoteObject result as dataprovider for mx:List

2006-10-03 Thread bulldog65mustang
I am calling a cfc that return a query.  How do I set the result to a 
mx:List dataProvider?  I have tried a couple different thing, but can 
only get [Object Object] to display for each item in the list.







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





[flexcoders] Looking for drag and drop examples

2006-10-03 Thread jack_freud
Hi,
I wonder if anyone has got a quick sample of drag and drop where the
source image acts like the toolbar in the Flex IDE, i.e. after you
drag the image somewhere in the app, the source stays where it had
been but a new copy of that image appears whereever you performed the
drop.

I'm trying using the image drag sample in the docs but the only
behaviors I can produce are:

a) the original image is moved to the drop location 

or 

b) the new image disappears and the original stays in its place.

I'd really appreciate something quick and dirty that shows how to do this.

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

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





[flexcoders] Re: e4x with XMLListCollections?

2006-10-03 Thread Prakaz



I'm not sure if you will be able to directly access the trainingEvent title using the return statement you have given below.

Looking at the structure of the XML, it seems inevitable that you'll have to iterate through each and every node to search for the KeyID you are looking for and when you find one grab the title from the parent node. 

Here is a code that works:

the XML:

mx:XML id="theCatalog"

 catalogtrainingEvent keyID="1" title="Programming 101" eventCost="499.99"trainingEventInstance keyID="1" trainingEventID="1" location="Houston" eventDate="02/11/2007" instanceCost=" 499.99" /trainingEventInstance keyID="2" trainingEventID="1" location="Houston" eventDate="04/19/2007" instanceCost="499.99" /trainingEventInstance keyID="3" trainingEventID="1" location="Las Vegas" eventDate="04/19/2007" instanceCost=" 299.99" //trainingEventtrainingEvent keyID="2" title="Miter Saw Safety" eventCost="300.00"trainingEventInstance keyID="4" trainingEventID="2" location="Houston" eventDate="12/25/2006" instanceCost=" 300.00" /trainingEventInstance keyID="5" trainingEventID="2" location="Houston" eventDate="12/25/2006" instanceCost="300.00" /trainingEventInstance keyID="6" trainingEventID="2" location="Houston" eventDate="12/25/2006" instanceCost=" 300.00" /trainingEventInstance keyID="7" trainingEventID="2" location="Houston" eventDate="12/25/2006" instanceCost="300.00" //trainingEvent /catalog

/mx:XML

public function getCourseTitle(instanceID:Number){// Iterate through each Node of the XML for each(var parentNodes:XML in theCatalog.trainingEvent){var childNodes:XMLList=parentNodes.trainingEventInstance;// Iterate through each Child Node of the XML for each(var individualChild:XML in childNodes){if([EMAIL PROTECTED]){ // Found the bastard :-)// Return title of the parentreturn [EMAIL PROTECTED];
Usage:
if you call getCourseTitle(4) you'll get "Miter Saw Safety" and so on...
hope that helps,

Prakaz


--- In flexcoders@yahoogroups.com, "Clare Todd" [EMAIL PROTECTED] wrote: I have a hunk of XML that I have loaded into an XMLListCollection. It describes a training course catalog. I'm trying to write a function to return the title of a course when passed the "KeyID" of a specific course instance, and am running into all sorts of problems (it ain't working being the worst of them).  Here's the XML:  catalog trainingEvent keyID="1" title="Programming 101" eventCost="499.99" trainingEventInstance keyID="1" trainingEventID="1" location="Houston" eventDate="02/11/2007" instanceCost="499.99" / trainingEventInstance keyID="2" trainingEventID="1" location="Houston" eventDate="04/19/2007" instanceCost="499.99" / trainingEventInstance keyID="3" trainingEventID="1" location="Las Vegas" eventDate="04/19/2007" instanceCost="299.99" / /trainingEvent trainingEvent keyID="2" title="Miter Saw Safety" eventCost="300.00" trainingEventInstance keyID="4" trainingEventID="2" location="Houston" eventDate="12/25/2006" instanceCost="300.00" / /trainingEvent /catalog  ... it's loaded into an XMLListCollection called myCollection using HTTP service with resultFormat=e4x  I'm trying to ignore the trainingEventID attribute, since it might be going away. I was trying to do some e4x magik to find the title like this, where the parameter is the KeyID of the trainingEventInstance:  public function getCourseTitle( instanceID:Number ):String { return myCollection.source.trainingEvent.trainingEventInstance.(@keyID == instanceID).parent()[EMAIL PROTECTED]; }  so when the function is passed 4, it returns "Miter Saw Safety"  Am I doing something wrong? Can I not e4x using the "source" property? Any thoughts? Thanks!

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Setting a filter for the UITextField inside a button?

2006-10-03 Thread joshuajnoble
Hi, I'm trying to add a dropShadow to a button like so:

public class DropShadowButton extends Button
{

private var ds:DropShadowFilter;

public function DropShadowButton():void
{
super();
ds = new DropShadowFilter();
var a:Array = new Array();
a.push(ds);
this.textField = new UITextField();
this.textField.antiAliasType = 
flash.text.AntiAliasType.ADVANCED;
this.textField.filters = a;
this.addChild(textField);
}
}

which works fine until, inside UIComponent.as, I throw an error reading:

TypeError: Error #2007: Parameter antiAliasType must be non-null.
at flash.text::TextField/set antiAliasType()
at
mx.core::UITextField/validateNow()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:1427]
at mx.core::UITextField/set
nestLevel()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:956]

out of these lines of code:

if (child is ILayoutManagerClient)
ILayoutManagerClient(child).nestLevel = nestLevel + 1;
else if (child is UITextField)
UITextField(child).nestLevel = nestLevel + 1;

Can anyone shed any light on what's going on under the hood?








--
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: can NOT call method in component

2006-10-03 Thread Michael Schmalle



Hi,Well, createChildren() is only one spot. I am a component dev so createChildren is a nice place to put event listeners that have to do with user interaction such as a change event. You know the control has to be created before that handler will be called.
There are quite a few books that come with flex. I don't know, I have been learning by creating things. ;-) would going to MAXX help Ha, I don't think it would put you back any! :)Peace, Mike
On 10/3/06, boy_trike [EMAIL PROTECTED] wrote:













  



Well Thanks, of course, it works FINE now, with your suggestion.  

Now here is the important question..

I feel like I know flex pretty well (not too difficult to figure out how all of the components 
work...maybe a 9 on a 0 - 10 scale).

However, my actionscript knowledge seems to be a 1 MINUS!.  I would have had NO idea to 
look for the createChildren function.  where the heck do I learn that info?  would going to 
MAXX help ??  any books you want to recomend?  (wanna consult for $$$  ??? )

Bruce

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


 Hi,
 
 Since you are instantiating the component in an Application, the scope is
 off,
 
 comp:TimeText id=tt change=processTime (event) /
 
 needs to be
 
 comp:TimeText id=tt change=tt.processTime (event) /
 
 I know that isnt what you wanted to here but the scope always refers to the
 application everywhere except a component tag.
 
 Why don't you add a listener in you custom component say in createChilren()
 
 IE
 
 override proected function createChildren():void
 {
super.createChildren();
addEventListener(Event.CHANGE, processTime, false, 0, true);
 }
 
 
 Peace, Mike
 
 On 10/3/06, boy_trike [EMAIL PROTECTED] wrote:
 
in my application, i am asking for time input in many places. right now
  I have a
  change=processTime( event) in the text input of each time variable. (my
  process time
  parses the input. Of course, this requires that I import the ProcessTime
  function into each
  component that uses it. I created a new component called TimeInput based
  on textInput and
  added a public function processTime.
 
  When I try to use this component i.e.
  comp:TimeText id=tt change=processTime (event) /
 
  I get the error call to possibly undefined method
 
  Help
 
  Thanks
  Bruce
 
   
 
 
 
 
 -- 
 What goes up, does come down.



  













-- What goes up, does come down.

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Re: can NOT call method in component - Important MXML Lesson

2006-10-03 Thread Gordon Smith












I haven't been following this thread, but
if you find yourself putting the same 'change' handler on each instance of your
TimeText component, then you should instead make that handler part of the
DEFINITION of that component.



Although you could accomplish that by
registering it in an override of createChildren(), it would be more natural to
put it on the base tag of your component definition. It sounds like your
TimeText is an MXML component extending TextInput. In that case, TimeText.mxml
should look like this:



 TimeTextt.mxml:



 mx:TextInput
change=processTime(event)

 mx:Script


private function procesTime(event:Event):void


{


...


}


/mx:Script

 /mx:TextInput



That way, you can just write instances as comp:TimeTextt
and every one will automatically have processTime() as its change handler.



This is similar conceptually to defining
the component



 OKButton.mxml:




mx:Button label=OK/



and writing comp:OKButton/ instead
of mx:Button label=OK/. Here you've set a property, rather
than an event handler, as part of the component's definition so you don't have
to set it on each instance.



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of boy_trike
Sent: Tuesday, October 03, 2006
6:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: can NOT
call method in component











Well Thanks, of course, it works FINE now, with your
suggestion. 

Now here is the important question..

I feel like I know flex pretty well (not too difficult to figure out how all of
the components 
work...maybe a 9 on a 0 - 10 scale).

However, my actionscript knowledge seems to be a 1 MINUS!. I would have had NO
idea to 
look for the createChildren function. where the heck do I learn that info?
would going to 
MAXX help ?? any books you want to recomend? (wanna consult for $$$ ??? )

Bruce

--- In [EMAIL PROTECTED]ups.com,
Michael Schmalle teoti.graphix@... wrote:

 Hi,
 
 Since you are instantiating the component in an Application, the scope is
 off,
 
 comp:TimeText id=tt change=processTime (event)
/
 
 needs to be
 
 comp:TimeText id=tt change=tt.processTime
(event) /
 
 I know that isnt what you wanted to here but the scope always refers to
the
 application everywhere except a component tag.
 
 Why don't you add a listener in you custom component say in createChilren()
 
 IE
 
 override proected function createChildren():void
 {
 super.createChildren();
 addEventListener(Event.CHANGE, processTime, false, 0, true);
 }
 
 
 Peace, Mike
 
 On 10/3/06, boy_trike [EMAIL PROTECTED].. wrote:
 
  in my application, i am asking for time input in many places. right
now
  I have a
  change=processTime( event) in the text input of each
time variable. (my
  process time
  parses the input. Of course, this requires that I import the
ProcessTime
  function into each
  component that uses it. I created a new component called TimeInput
based
  on textInput and
  added a public function processTime.
 
  When I try to use this component i.e.
  comp:TimeText id=tt change=processTime
(event) /
 
  I get the error call to possibly undefined method
 
  Help
 
  Thanks
  Bruce
 
  
 
 
 
 
 -- 
 What goes up, does come down.







__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] SQL Server and Flex 2

2006-10-03 Thread Clint Modien



SqlServer - .NET - WebOrb - Flex


On 10/3/06, Joe [EMAIL PROTECTED] wrote:





Okay, I'm pretty new to the Flex scene and am very impressed with thedevelopment so far. My company is wanting to start developing adatabase application using an Ajax technology and realize I'm a little
behind the curve since Flex applications don't access data like the.net applications I normally develop. We've already bought FlexBuilder 2.0 and I am being pushed to develop there. So far the interface design and interaction development I'm catching,
but with the data access I'm lost.Does anyone have any idea where to begin? I've tried browsing theforums and just keep getting more confused, and all of the examplesI've found on the web don't use IIS/MSSQL.
Please Help!Thanks 

__._,_.___





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

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Problem with Session Java/Flex

2006-10-03 Thread Dimitrios Gianninas
Hi,

What you need to do is to keep track of the language selection once it is done 
in your Flex app, if I understand correctly. So a simple example that I can 
give you is that you will have a global variable that will hold this language 
selection, like so:

mx:Application
   mx:Script
  var language:String;

  ...
  language = en;
   /mx:Script
/mx:Application

But as your app gets complex you will need to hold this data in some AS class 
called a ModelLocator (you might have read about), so it might look like so:

public class ModelLocator {
  public var language:String;
}

then in some other MXML/AS, you do:

var myLanguage:String = ModelLocator.language;

Hope that helps.

Dimitrios Gianninas
Optimal Payments Inc.



-Original Message-
From: flexcoders@yahoogroups.com on behalf of jonathan_merey
Sent: Tue 10/3/2006 1:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with Session Java/Flex
 
Hi, I have an application in which i have to threat the identification.
In this identification I want to record some information in Session like
login. The problem is that I don't know how. With a traditional
application in Java with struts I know but in this case no.

Here is my java code for the moment :

public class LoginAction {

 public LoginAction(){}

 public int login(String login, String pass)
 {
 request.getSession().setAttribute(login, login);
 return 0;
 }
}

I don't know how get the HttpServletRequest request.

I don't know to how do in Flex to record some information in this same
session and how get them. Indeed, I have to  threat different languages.
When someone click on french or english at identification step he must
stay in french or english after so how record information in session and
how get them in flex because I think this must be done in flex this
time.

Here is the flex code :

private function changeLanguage(language:String):void
{
 if (language == 'En')
 {
 locale = localeEn;
 }
 if (language == 'Fr')
 {
 locale = localeFr;
 }
}

Thank you.


-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



--
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/
 
winmail.dat

  1   2   >