[flexcoders] Re: Apollo TShirt

2007-03-24 Thread Stefan Schmalhaus
--- In flexcoders@yahoogroups.com, scalenine [EMAIL PROTECTED] wrote:

 In case anyone is interested I made some Apollo TShirts based on
 community input and they are now for sale. 

I hope you don't get in trouble with Adobe because of using the Apollo
logo for commercial purposes.





[flexcoders] Re: How to asynchronously dispatch an event

2007-03-24 Thread pgp.coppens
 Ok, I have never really used AsyncToken so I don't really understand
 the benefits to it.  But what would you add to it that would be of any
 use? Could you not just have an object you pass in the doAction
 function that is added to the token? 
That would probably work just as well I guess. I am just exploring the
grounds looking for consistency. Besides the extra data one can assign
to the token, the fact you can add responders to it also seems an
interesting feature. I am still struggling with how to manage event
types and event listener's making sure no leaks are introduced or
handlers are invoked at the wrong or multiple times. A responder
attached to the token would be a possible 'solution', avoiding the
need to design an application specific event structure with associated
listeners that are added or removed as neededactually what I
really could use is synchronous service invocations, but as others
have stated introducing me to the flash/flex world:  Resistance is
futile ... :)


 Aside from all that, forget about doLater, use callLater, there is
 plenty of info on callLater in the help.
Thanks, that might actually be what I was looking for.



Re: [flexcoders] Multiple Selection Menu?

2007-03-24 Thread Kevin
thanks.  I guess I should have just looked at the built in  
components.  I don't know why I thought this was something custom!


- Kevin


On Mar 23, 2007, at 8:09 PM, Gordon Smith wrote:



The Menu component supports having multiple items of type check  
which can be toggled on or off by selecting them.


- Gordon

From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin

Sent: Friday, March 23, 2007 3:09 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Multiple Selection Menu?

i am looking for a menu type component that allows you to select
multiple items in the menu. This would be used to toggle values on 
off.

I know I have seen it, but I can't remember the name and where. Ring
a bell?

Thanks, Kevin







[flexcoders] services file

2007-03-24 Thread John Barrett
Hi,
I am trying to get Flex and ColdFusion to talk to each
other, but I can't seem to get it done. Currently, I
am not using Flex Builder, but I am planning to get it
Monday, as I just got my check today, sometimes being
is student you have to wait.

I think that the problem may be in that I get a 500
null error from the 
http://localhost/flex2gateway

Here is my services-conffig.xml file, is this correct,
or do I need to add something? I can't seem to get
this working, Is it really this hard?
?xml version=1.0 encoding=UTF-8?
services-config

services
service id=coldfusion-flashremoting-service

class=flex.messaging.services.RemotingService

messageTypes=flex.messaging.messages.RemotingMessage

adapters
adapter-definition id=cf-object
class=coldfusion.flash.messaging.ColdFusionAdapter
default=true/
/adapters

destination id=ColdFusion
channels
channel ref=my-cfamf/
/channels
properties
source*/source
!-- define the resolution rules
and access level of the cfc being invoked --
access
!-- Use the ColdFusion
mappings to find CFCs, by default only CFC files under
your webroot can be found. --
   
use-mappingsfalse/use-mappings
!-- allow public and remote
or just remote methods to be invoked --
   
method-access-levelremote/method-access-level
/access

property-case
!-- cfc property names --
   
force-cfc-lowercasefalse/force-cfc-lowercase
!-- Query column names --
   
force-query-lowercasefalse/force-query-lowercase
!-- struct keys --
   
force-struct-lowercasefalse/force-struct-lowercase
/property-case
/properties
/destination

/service
/services

channels
channel-definition id=my-cfamf
class=mx.messaging.channels.AMFChannel
endpoint
uri=http://{server.name}:{server.port}{context.root}/flex2gateway/;
class=flex.messaging.endpoints.AMFEndpoint/
properties
   
polling-enabledfalse/polling-enabled
serialization
   
instantiate-typesfalse/instantiate-types
/serialization
/properties
/channel-definition
/channels

logging
target
class=flex.messaging.log.ConsoleTarget
level=Error
properties
prefix[Flex] /prefix
includeDatefalse/includeDate
includeTimefalse/includeTime
includeLevelfalse/includeLevel
   
includeCategoryfalse/includeCategory
/properties
filters
patternEndpoint.*/pattern
patternService.*/pattern
patternConfiguration/pattern
patternMessage.*/pattern
/filters
/target
/logging

system
/system

/services-config


  
 



 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html


Re: [flexcoders] Re: Flex coldfusion simple question

2007-03-24 Thread John Barrett
Hi 
Maury,
Thanks so much for this link.
I will be trying to figure this out tomorrow. I keep getting that their is a n 
error connecting to localhost/flex2gateway

Thanks so much for your help
John
 

  
 


- Original Message 
From: Maury Sword [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, March 23, 2007 2:48:52 AM
Subject: [flexcoders] Re: Flex coldfusion simple question









  



John,



Here's a link to an article that I found helpful in getting this to 

work:



http://www.adobe. com/devnet/ flex/articles/ helloworld. html



Maury



--- In [EMAIL PROTECTED] ups.com, John Barrett [EMAIL PROTECTED] .. wrote:



 Hi Clint,

 Thanks so much

 I am looking forward to seeing the zip so I can finally get CF  

Flex to communicate` -` 

 Thanks,

 John

   

  

 

 

 - Original Message 

 From: Clint Tredway [EMAIL PROTECTED] 

 To: [EMAIL PROTECTED] ups.com

 Sent: Friday, March 23, 2007 2:01:13 AM

 Subject: Re: [flexcoders] Re: Flex coldfusion simple question

 

 

 

 

 

 

 

 

 

   

 

 

 

 I can send you the zip of the code as I know that 

works. 

 

 

 On 23 Mar 2007 03:15:01 -0700, John Barrett [EMAIL PROTECTED] com

  wrote:

 

 

 

 

 

 

 

 

 

 

 

 

   

 

 

 

 

 Hi Clint,

 I tried to reply to your blog, but I never got the conformation e-

mail.

 

 Thanks for the tutorial one this!

 I might be wrong, but on line 27 of the mxml file I think that it 

should say:

 

 mx:Label text={cfcResponse}  width=100%  /mx:Label

 Anyway, this is what I had to do for flex not too throw an error. 

It was saying it needed a closing tag.

 

 I was not able to get it to work in the end(the above is the only 

change that I made to the code) I get the errorCouldn' t establish a 

connection to ColdFusion I have a screen shot of the error message 

here:

 

 http://johnbarrett. net/flex_ error.jpg

 

 I am running ColdFusion 7.02 on the Mac.

 

 Any thoughts?

 Thanks,

 John

  

 

   

  

 

 

 

 - Original Message 

 From: Clint Tredway [EMAIL PROTECTED] com

 To: [EMAIL PROTECTED]

 ups.com

 Sent: Thursday, March 22, 2007 7:40:25 AM

 Subject: Re: [flexcoders] Re: Flex coldfusion simple question

 

 

 

 

 

 

 

 

 

 

 http://grumpee. instantspot. com/blog

 

 

 

 On 3/22/07, cardinalflexjeremy 

 [EMAIL PROTECTED] net wrote:

 

 

 

 

 

 

 

 

 

 

 

 

   

 

 

 

 Are there any code examples or tutorials on this? That 

is, any samples

 

 using coldfusion (not webservices or httpRequest) to access CFCs?

 

 

 

 thanks.

 

 

 

 --- In [EMAIL PROTECTED] ups.com, Tom Chiverton 

tom.chiverton@ ...

 

 wrote:

 

 

 

  On Thursday 22 Mar 2007, cardinalflexjeremy wrote:

 

   If I want to make a flex app to tie to a Database, and I want 

to use

 

   Coldfusion components to access the Database stuff, and connect 

Flex

 

   and coldfusion, do I need FDS to use the coldfusion adapter 

pieces?

 

  

 

  No.

 

  You can use Flex's RemoteObject straight to a CFC, no FDS (now

 

 called LCDS 

 

  btw) required.

 

  

 

   Please let me know if a company would require FDS in order to 

use

 

   coldfusion with flex?

 

  

 

  Again with the no :-)

 

  

 

  -- 

 

  Tom Chiverton

 

  Helping to continually morph slick appliances

 

  On: http://thefalken. livejournal. com

 

  

 

   * * * * 

 

  

 

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

 

  

 

  Halliwells LLP is a limited liability partnership registered in

 

 England and Wales under registered number OC307980 whose registered

 

 office address is at St James's Court Brown Street Manchester M2 

2JF.

 

  A list of members is available for inspection at the registered

 

 office. Any reference to a partner in relation to Halliwells LLP 

means

 

 a member of Halliwells LLP. Regulated by the Law Society.

 

  

 

  CONFIDENTIALITY

 

  

 

  This email is intended only for the use of the addressee named 

above

 

 and may be confidential or legally privileged.  If you are not the

 

 addressee you must not read it and must not use any information

 

 contained in nor copy it nor inform any person other than Halliwells

 

 LLP or the addressee of its existence or contents.  If you have

 

 received this email in error please delete it and notify Halliwells

 

 LLP IT Department on 0870 365 8008.

 

  

 

  For more information about Halliwells LLP visit www.halliwells. 

com.

 

 

 

 

 

 

 

 

   

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 -- 

 http://indeegrumpee .spaces.live. com/

 

 

 

   

 

 

 

 

 

 

 

 

 

 

 It's here! Your new message!

 Get

  new email alerts with the free Yahoo! Toolbar.

 

 

 

   

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 -- 

 

RE: [flexcoders] services file

2007-03-24 Thread Peter Farland
Try, http://localhost/flex2gateway/ and note the trailing slash. This is
an issue in FDS 2.0.1 / CF 7.0.2 that will be fixed in the next version.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of John Barrett
Sent: Saturday, March 24, 2007 7:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] services file



Hi,
I am trying to get Flex and ColdFusion to talk to each
other, but I can't seem to get it done. Currently, I
am not using Flex Builder, but I am planning to get it
Monday, as I just got my check today, sometimes being
is student you have to wait.

I think that the problem may be in that I get a 500
null error from the 
http://localhost/flex2gateway http://localhost/flex2gateway 

Here is my services-conffig.xml file, is this correct,
or do I need to add something? I can't seem to get
this working, Is it really this hard?
?xml version=1.0 encoding=UTF-8?
services-config

services
service id=coldfusion-flashremoting-service

class=flex.messaging.services.RemotingService

messageTypes=flex.messaging.messages.RemotingMessage

adapters
adapter-definition id=cf-object
class=coldfusion.flash.messaging.ColdFusionAdapter
default=true/
/adapters

destination id=ColdFusion
channels
channel ref=my-cfamf/
/channels
properties
source*/source
!-- define the resolution rules
and access level of the cfc being invoked --
access
!-- Use the ColdFusion
mappings to find CFCs, by default only CFC files under
your webroot can be found. --

use-mappingsfalse/use-mappings
!-- allow public and remote
or just remote methods to be invoked --

method-access-levelremote/method-access-level
/access

property-case
!-- cfc property names --

force-cfc-lowercasefalse/force-cfc-lowercase
!-- Query column names --

force-query-lowercasefalse/force-query-lowercase
!-- struct keys --

force-struct-lowercasefalse/force-struct-lowercase
/property-case
/properties
/destination

/service
/services

channels
channel-definition id=my-cfamf
class=mx.messaging.channels.AMFChannel
endpoint
uri=http://{server.name}:{server.port}{context.root}/flex2gateway/;
class=flex.messaging.endpoints.AMFEndpoint/
properties

polling-enabledfalse/polling-enabled
serialization

instantiate-typesfalse/instantiate-types
/serialization
/properties
/channel-definition
/channels

logging
target
class=flex.messaging.log.ConsoleTarget
level=Error
properties
prefix[Flex] /prefix
includeDatefalse/includeDate
includeTimefalse/includeTime
includeLevelfalse/includeLevel

includeCategoryfalse/includeCategory
/properties
filters
patternEndpoint.*/pattern
patternService.*/pattern
patternConfiguration/pattern
patternMessage.*/pattern
/filters
/target
/logging

system
/system

/services-config

__
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
http://advision.webevents.yahoo.com/mailbeta/features_spam.html 


 


[flexcoders] Re: Component Required

2007-03-24 Thread simonjpalmer
Did you find one?  I'd be interested in one too...

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

 Hi All,
 
  
 
 I want some example for stock ticker or component for the same if
some one
 has already created that or 
 
  
 
 have some API through which I can implement stock ticker in flex.
 
  
 
 For refrence (yahoo stock ticker).
 
  
 
 Thanks
 
 Kumar





Re: [flexcoders] services file

2007-03-24 Thread John Barrett
Hi Peter,
Thanks for your response!
in the line:

 Do you mean that I should change it to:


I did try to view
http://localhost/flex2gateway/ 
no such luck.

Thanks so much for your help. I can't look at this anymore tonight, almost 3 in 
the morning, need sleep.
Hopefully, tomorrow I will have better luck. I really want to get this working, 
and it is all I have planned for the weekend!
I didn't think that it wold be so hard.

Thanks again for all your help, I really appreciate it very much,
John
  
 


- Original Message 
From: Peter Farland [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, March 24, 2007 2:22:12 AM
Subject: RE: [flexcoders] services file









  







Try, http://localhost/ flex2gateway/ and 
note the trailing slash. This is an issue in FDS 2.0.1 / CF 7.0.2 that 
will be fixed in the next version.




From: [EMAIL PROTECTED] ups.com 
[mailto:flexcoders@ yahoogroups. com] On Behalf Of John 
Barrett
Sent: Saturday, March 24, 2007 7:51 AM
To: 
[EMAIL PROTECTED] ups.com
Subject: [flexcoders] services 
file






Hi,
I am trying to get Flex and ColdFusion to talk to each
other, but I 
can't seem to get it done. Currently, I
am not using Flex Builder, but I am 
planning to get it
Monday, as I just got my check today, sometimes 
being
is student you have to wait.

I think that the problem may be in 
that I get a 500
null error from the 
http://localhost/ flex2gateway

Here 
is my services-conffig. xml file, is this correct,
or do I need to add 
something? I can't seem to get
this working, Is it really this 
hard?
?xml version=1.0 
encoding=UTF- 8?
services-config

services
service 
id=coldfusion- flashremoting- service

class=flex. messaging. services. RemotingService

messageTypes= flex.messaging. messages. RemotingMessage 

adapters
adapter-definition 
id=cf-object
class=coldfusion. flash.messaging. ColdFusionAdapte r
default=true /
/adapters

destination 
id=ColdFusion 
channels
channel 
ref=my-cfamf /
/channels
properties
source*/source
!-- 
define the resolution rules
and access level of the cfc being invoked 
--
access
!-- Use the ColdFusion
mappings to find CFCs, 
by default only CFC files under
your webroot can be found. 
--

use-mappings false/use- mappings
!-- 
allow public and remote
or just remote methods to be invoked 
--

method-access- levelremote /method-access- level
/access

property-case
!-- 
cfc property names 
--

force-cfc-lowercas efalse/ force-cfc- lowercase
!-- 
Query column names 
--

force-query- lowercase false/force- query-lowercase
!-- 
struct keys 
--

force-struct- lowercase false/force- struct-lowercase 
/property-case
/properties
/destination

/service
/services

channels
channel-definition 
id=my-cfamf
class=mx.messaging .channels. AMFChannel 
endpoint
uri=http:// {server.name} :{server. port}{context. root}/flex2gatew ay/
class=flex. messaging. endpoints. AMFEndpoint /
properties

polling-enabled false/polling- enabled
serialization

instantiate- typesfalse /instantiate- types
/serialization
/properties
/channel-definitio n
/channels

logging
target
class=flex. messaging. log.ConsoleTarge t
level=Error 
properties
prefix[Flex] 
/prefix
includeDate false/includeDa te
includeTime false/includeTi me
includeLevel false/includeLe vel

includeCategory false/includeCa tegory
/properties
filters
patternEndpoint. */pattern
patternService. */pattern
patternConfigurat ion/pattern
patternMessage. */pattern
/filters
/target
/logging

system
/system

/services-config

 _ _ _ _ _ _
Sucker-punch 
spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision. webevents. yahoo.com/ mailbeta/ features_ spam.html





  







!--

#ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, 
sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;}
#ygrp-vitnav{
padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
#ygrp-vitnav a{
padding:0 1px;}
#ygrp-actbar{
clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;}
#ygrp-actbar .left{
float:left;white-space:nowrap;}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;font-size:77%;padding:15px 0;}
#ygrp-ft{
font-family:verdana;font-size:77%;border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;}

#ygrp-vital{
background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
#ygrp-vital #vithd{
font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
#ygrp-vital ul{
padding:0;margin:2px 0;}
#ygrp-vital ul li{
list-style-type:none;clear:both;border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{

[flexcoders] MovieData property

2007-03-24 Thread athavan_raja
I am new to flex. i am trying to use flex player ocx. It has got a 
attribute called MovieData. Can somebody tell me what is this used for.

Thanks in advance.

Regards
Raja



[flexcoders] Whatever happened to Peter Ent's scrolling text ticker?

2007-03-24 Thread simonjpalmer
Anyone know what became of it?  The markme.com code link on his blog
leads nowhere.  Anyone have the code they could share with me?

http://weblogs.macromedia.com/pent/archives/2004/12/ticker.cfm

Thanks

Simon



[flexcoders] embed source mp3 : unsupported sample rate

2007-03-24 Thread chrisnoeflex
hi,

I try to execute following line of codes, to import an mp3 :

[Embed(source=music/cl1.mp3)]
[Bindable]
public var Song1:Class;
public var mySong1:SoundAsset = new Song1() as SoundAsset;
mySong1.play();

But then my flex builder gives me the error :
'unsupported sampling rate (32000Hz)'

So i can't compile.
What is wrong here. Can't i imported just any kind of mp3 ?
plz help.

grtz,
Chris.



Re: [flexcoders] Re: Flex coldfusion simple question

2007-03-24 Thread Clint Tredway

John, a couple things to check, what version of CF are you running? The
version of CF you need to have is 7.02, and Flash Remoting needs to be
turned on in the CF admin.

The example zip I sent you works if you just put the contents in your web
root.

On 24 Mar 2007 05:04:24 -0700, John Barrett [EMAIL PROTECTED] wrote:


  Hi Maury,
Thanks so much for this link.
I will be trying to figure this out tomorrow. I keep getting that their is
a n error connecting to localhost/flex2gateway

Thanks so much for your help
John






- Original Message 
From: Maury Sword [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, March 23, 2007 2:48:52 AM
Subject: [flexcoders] Re: Flex coldfusion simple question

 John,

Here's a link to an article that I found helpful in getting this to
work:

http://www.adobe. com/devnet/ flex/articles/ helloworld. 
htmlhttp://www.adobe.com/devnet/flex/articles/helloworld.html

Maury

--- In [EMAIL PROTECTED] ups.com flexcoders%40yahoogroups.com, John
Barrett [EMAIL PROTECTED] .. wrote:

 Hi Clint,
 Thanks so much
 I am looking forward to seeing the zip so I can finally get CF 
Flex to communicate` -`
 Thanks,
 John




 - Original Message 
 From: Clint Tredway [EMAIL PROTECTED] 
 To: [EMAIL PROTECTED] ups.com flexcoders%40yahoogroups.com
 Sent: Friday, March 23, 2007 2:01:13 AM
 Subject: Re: [flexcoders] Re: Flex coldfusion simple question













 I can send you the zip of the code as I know that
works.


 On 23 Mar 2007 03:15:01 -0700, John Barrett [EMAIL PROTECTED] com
  wrote:

















 Hi Clint,
 I tried to reply to your blog, but I never got the conformation e-
mail.

 Thanks for the tutorial one this!
 I might be wrong, but on line 27 of the mxml file I think that it
should say:

 mx:Label text={cfcResponse}  width=100%  /mx:Label
 Anyway, this is what I had to do for flex not too throw an error.
It was saying it needed a closing tag.

 I was not able to get it to work in the end(the above is the only
change that I made to the code) I get the errorCouldn' t establish a
connection to ColdFusion I have a screen shot of the error message
here:

 http://johnbarrett. net/flex_ error.jpg

 I am running ColdFusion 7.02 on the Mac.

 Any thoughts?
 Thanks,
 John







 - Original Message 
 From: Clint Tredway [EMAIL PROTECTED] com
 To: [EMAIL PROTECTED]
 ups.com
 Sent: Thursday, March 22, 2007 7:40:25 AM
 Subject: Re: [flexcoders] Re: Flex coldfusion simple question










 http://grumpee. instantspot. com/blog



 On 3/22/07, cardinalflexjeremy 
 [EMAIL PROTECTED] net wrote:
















 Are there any code examples or tutorials on this? That
is, any samples

 using coldfusion (not webservices or httpRequest) to access CFCs?



 thanks.



 --- In [EMAIL PROTECTED] ups.com, Tom Chiverton
tom.chiverton@ ...

 wrote:

 

  On Thursday 22 Mar 2007, cardinalflexjeremy wrote:

   If I want to make a flex app to tie to a Database, and I want
to use

   Coldfusion components to access the Database stuff, and connect
Flex

   and coldfusion, do I need FDS to use the coldfusion adapter
pieces?

 

  No.

  You can use Flex's RemoteObject straight to a CFC, no FDS (now

 called LCDS

  btw) required.

 

   Please let me know if a company would require FDS in order to
use

   coldfusion with flex?

 

  Again with the no :-)

 

  --

  Tom Chiverton

  Helping to continually morph slick appliances

  On: http://thefalken. livejournal. com

 

   * * * * 

 

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

 

  Halliwells LLP is a limited liability partnership registered in

 England and Wales under registered number OC307980 whose registered

 office address is at St James's Court Brown Street Manchester M2
2JF.

 A list of members is available for inspection at the registered

 office. Any reference to a partner in relation to Halliwells LLP
means

 a member of Halliwells LLP. Regulated by the Law Society.

 

  CONFIDENTIALITY

 

  This email is intended only for the use of the addressee named
above

 and may be confidential or legally privileged. If you are not the

 addressee you must not read it and must not use any information

 contained in nor copy it nor inform any person other than Halliwells

 LLP or the addressee of its existence or contents. If you have

 received this email in error please delete it and notify Halliwells

 LLP IT Department on 0870 365 8008.

 

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

 


























 --
 http://indeegrumpee .spaces.live. com/














 It's here! Your new message!
 Get
 new email alerts with the free Yahoo! Toolbar.























 --
 http://indeegrumpee .spaces.live. com/










 !--

 #ygrp-mlmsg {font-size:13px; font-family: arial, helvetica, clean,
sans-serif;}
 #ygrp-mlmsg table {font-size:inherit; font:100% ;}
 #ygrp-mlmsg select, input, textarea {font:99% arial, 

Re: [flexcoders] What is the correct way to detect activation of a Canvas in a ViewStack?

2007-03-24 Thread Tim Walling

You could try setting up a show event listener to trigger your
initialization code. Something like this:

mx:ViewStack
   mx:Canvas show=handleShowEvent()/
/mx:ViewStack


Whenever the ViewStack makes the canvas the visible/active one, the show
event would fire.

or if your Canvas is an mxml component, it could handle the show event
internally:

mx:ViewStack
   view:MyCanvas/
/mx:ViewStack

MyCanvas.mxml
mx:Canvas show=handleShowEvent()
   mx:Script
   private function handleShowEvent(event:FlexEvent):void
   {
   // call initialize code
   }
   /mx:Script
/mx:Canvas

Then each of your components in the ViewStack would manage their respective
show events.


Tim


On 23 Mar 2007 17:02:56 -0700, wdsnapper [EMAIL PROTECTED] wrote:


  I am using a ViewStack to contain a set of Canvas'. I switch between
items in the stack by clicking on buttons. I want to be able to
detect when a Canvas gains focus and run a method to initialize
content on that Canvas.

What is the correct event to monitor to achieve this behavior?

Thanks in advance.

 





--
Tim
timwalling.com


Re: [flexcoders] Whatever happened to Peter Ent's scrolling text ticker?

2007-03-24 Thread Steve Hagenlock
http://weblogs.macromedia.com/pent/archives/flex/ticker/tickerText.zip

simonjpalmer wrote:
 Anyone know what became of it?  The markme.com code link on his blog
 leads nowhere.  Anyone have the code they could share with me?

 http://weblogs.macromedia.com/pent/archives/2004/12/ticker.cfm

 Thanks

 Simon


   
 

 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.446 / Virus Database: 268.18.17/731 - Release Date: 3/23/2007 
 3:27 PM
   



RE: [flexcoders] Adding Flash Library items to a Flex App

2007-03-24 Thread Matt Chotin
We're hoping to have good instructions and some supporting classes for
this around the time that CS3 ships.  It is admittedly too difficult
especially with the Preview.
 
Matt



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Parker
Sent: Thursday, March 22, 2007 10:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding Flash Library items to a Flex App



Ok, this should be simple but like all things critical to my flash
projects they end up being hacks or major work-arounds. Essentially, I
need to add a Flash Library item (set to export as a default class in
Flash 9 Preview) - to my Flex application. I won't go into why but just
consider the need for Flash interface for graphics creation a
requirement for now. Seeing as this was no big deal (attachMovieClip in
as2) before how would i go about this in as3/Flex? Please provide
example - not just theory, if you can as I've almost read every
theory/method out there but no up to date examples and nothing my
designer brain can grasp. 

Here's what im doing so far. 
- Created a flash movie with a graphic movieclip set to export on first
frame / class name as default of name of movieclip - this object doesn
not live on stage but in the library (unless the workflow needs to
change but i'd rather it not as there will be other objects to load in
as well) 
- Using the Image class to load in swf. All is good so far. 
- So how do actualy add a child of this swf (one of the classes compiled
in this swf) to a member of my Application? 

Heres what i was thinking i could do - 

var myLibObject:Image = new Image();
myLibObject.source = packages/MyLibrary.swf;
myCanvas.addChild(myLibObject.Circle); // Circle is a library item/class
in the flash library / Obviously this doesn't work but not sure how
classes within the flash document class are referenced 

 


RE: [flexcoders] Multiple Selection Menu?

2007-03-24 Thread Sascha
Hi,

 

Does somebody know how to toggle check/radio menu items from within
ActionScript? I've created a custom Menu class with ActionScript and at a
later point ActionScript should be able to change the check items on/off.
How do I access a specific menu item easily and toggle it's check mark?

 

Thanks for any help,

Sascha

 

 

-- 

[EMAIL PROTECTED]

 http://hiddenresource.corewatch.net/ http://hiddenresource.corewatch.net/

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: Saturday, March 24, 2007 09:09
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Multiple Selection Menu?

 

The Menu component supports having multiple items of type check which can
be toggled on or off by selecting them.

 

- Gordon

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Friday, March 23, 2007 3:09 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Multiple Selection Menu?

i am looking for a menu type component that allows you to select 
multiple items in the menu. This would be used to toggle values on  
off.

I know I have seen it, but I can't remember the name and where. Ring 
a bell?

Thanks, Kevin

 



RE: [flexcoders] Re: Apollo TShirt

2007-03-24 Thread Matt Chotin
license for our logos in general are here:
http://www.adobe.com/misc/agreement.html



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stefan Schmalhaus
Sent: Saturday, March 24, 2007 1:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Apollo TShirt



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

 In case anyone is interested I made some Apollo TShirts based on
 community input and they are now for sale. 

I hope you don't get in trouble with Adobe because of using the Apollo
logo for commercial purposes.



 


[flexcoders] icons

2007-03-24 Thread Kevin
Where do people go to get small icons for use in Flex apps?  I need  
the little things like arrows  check marks.  For example I would  
like to display a check mark when an address has been validated.   
Is there a library of these little symbols somewhere? OR does  
everyone just design their own.

Thanks, Kevin




RE: [flexcoders] Re: Apollo isn't loading my modules

2007-03-24 Thread Matt Chotin
We may need to turn this into a bug so we can make sure it's
straightforward to move between the web and Apollo.  can you please file
an issue at http://www.adobe.com/go/wish explaining how you were loading
your module originally and how you needed to change it for Apollo?
 
Matt



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Doberenz
Sent: Friday, March 23, 2007 10:03 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Apollo isn't loading my modules



In ended up figuring this one out.
It seems that Flex wants the full path to the modules, but apollo wants
the relative path.  Once I changed this, it worked just fine.

Hope that helps.


On 23 Mar 2007 09:20:05 -0700, mthielman11 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

I am having a similar problem, app works fine in flex and works
fine from apollo if I build 
it and run, but when I try exporting and running it will not
load the module. I got it to 
work once or twice initially and that was it. Any ideas?



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

 Is there something special I need to do to make Apollo load my
modules?
 Flex builder is showing them just fine, but when I run the
app, they don't
 show up in the view.
 The debugger is showing that the SWF is being loaded, but then
after
 clicking around on the app for a bit, the debugger says
[Unload SWF] and it
 unloads the module SWF.
 
 Any ideas on this one?
 
 Mark









 


Re: [flexcoders] icons

2007-03-24 Thread Steve Hagenlock
http://www.iconbase.com/

There are many others... you can purchase icon libraries from places 
like this.

-Steve

Kevin wrote:
 Where do people go to get small icons for use in Flex apps?  I need  
 the little things like arrows  check marks.  For example I would  
 like to display a check mark when an address has been validated.   
 Is there a library of these little symbols somewhere? OR does  
 everyone just design their own.

 Thanks, Kevin



   
 

 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.446 / Virus Database: 268.18.17/731 - Release Date: 3/23/2007 
 3:27 PM
   



[flexcoders] Repeater Refresh

2007-03-24 Thread Kevin
I have a repeater (adding TextInput fields) that is bound to an  
ArrayCollection on my model.  I was hoping that essentially I could  
add a row by just pushing a value into my ArrayCollection on the  
model.  However, this isn't working.  I assume I need to also  
refresh the repeater, but can't seem to figure out the best way to  
do that.

Thanks, Kevin


Re: [flexcoders] Repeater Refresh

2007-03-24 Thread Kevin
here is a little test to illustrate what I am trying to do (except it  
doesn't work.)  I was hoping that updating the dataProvider would add  
another item to the repeater...


mx:Script
![CDATA[
public var myArray:Array = ['test1','test2','test3'];

public function addItem():void{
myArray.push('test4');
}
]]
/mx:Script
mx:VBox
mx:Repeater id=rp dataProvider={myArray} 
mx:TextInput id=myRepeat /
/mx:Repeater
mx:Button label=click me click=addItem(); /
/mx:VBox




On Mar 24, 2007, at 5:16 PM, Kevin wrote:


I have a repeater (adding TextInput fields) that is bound to an
ArrayCollection on my model. I was hoping that essentially I could
add a row by just pushing a value into my ArrayCollection on the
model. However, this isn't working. I assume I need to also
refresh the repeater, but can't seem to figure out the best way to
do that.

Thanks, Kevin






Re: [flexcoders] Repeater Refresh

2007-03-24 Thread Jeffry Houser


 I've done this with an ArrayCollections, but never with an 
Array.  The code would be something like this:


mx:Script
![CDATA[
public var myArray:Array = ['test1','test2','test3'];
public var myArrayCollection = new ArrayCollection(myArray);

public function addItem():void{
myArrayCollection.addItem('test4');
}
]]
/mx:Script
mx:VBox
mx:Repeater id=rp dataProvider={myArrayCollection} 
mx:TextInput id=myRepeat /
/mx:Repeater
mx:Button label=click me click=addItem(); /
/mx:VBox


 A few caveats...
a) I didn't test this code
b) In my situation, I wasn't adding from the same component that was 
displaying things, so the 'add' and 'display were never shown at the 
same time.  There could have been other code that made the refresh 
work, but I don't remember anything explicit.
c) When accessing a repeater element you use currentIndex when it is 
repeating, but repeaterIndex after the fact.  I haven't found a 
simple way to switch between the two of them, but my solution was 
something like this:


try{
return myArrayCollection.getItemAt(loop.currentIndex );
}
catch (e:Error){
return myArrayCollection.getItemAt(loop.repeaterIndex );
}
 I imagine there must be a better way


At 05:35 PM 3/24/2007, you wrote:

here is a little test to illustrate what I am trying to do (except 
it doesn't work.)  I was hoping that updating the dataProvider would 
add another item to the repeater...


mx:Script
![CDATA[
public var myArray:Array = ['test1','test2','test3'];


public function addItem():void{
myArray.push('test4');
}
]]
/mx:Script
mx:VBox
mx:Repeater id=rp dataProvider={myArray} 
mx:TextInput id=myRepeat /
/mx:Repeater
mx:Button label=click me click=addItem(); /
/mx:VBox




On Mar 24, 2007, at 5:16 PM, Kevin wrote:


I have a repeater (adding TextInput fields) that is bound to an
ArrayCollection on my model. I was hoping that essentially I could
add a row by just pushing a value into my ArrayCollection on the
model. However, this isn't working. I assume I need to also
refresh the repeater, but can't seem to figure out the best way to
do that.

Thanks, Kevin





--
Jeffry Houser, Software Developer, Writer, Songwriter, Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: http://www.dot-com-it.com
My Podcast: http://www.theflexshow.com
My Blog: http://www.jeffryhouser.com
Connecticut Macromedia User Group: http://www.ctmug.com


Re: [flexcoders] Re: Flex coldfusion simple question

2007-03-24 Thread Mike Weiland
John,

I haven¹t been following this thread too closely, but I recall seeing you
are using mac os x. If so, I ran into a problem running CF 7.02 on a mac, I
couldn¹t get the flex gateway working. Look at the console when CF starts up
and make sure there aren¹t any errors. I don¹t remember what my particular
error was I didn¹t have time to debug the thing, I ended up using a windows
server.

Just make sure your flex gateway is working.

Good luck,

Mike Weiland

-
Mike Weiland
Aspen Tree Media
(877)659-1652 | FAX: (512)828-7105
http://www.AspenTreeMedia.com
http://www.CertificateCreator.com - Create  Print Awards and Certificates




On 3/24/07 7:04 AM, John Barrett [EMAIL PROTECTED] wrote:

  
  
  
 
 Hi Maury,
 Thanks so much for this link.
 I will be trying to figure this out tomorrow. I keep getting that their is a n
 error connecting to localhost/flex2gateway
 
 Thanks so much for your help
 John
  
 
   
  
 
 
 - Original Message 
 From: Maury Sword [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Friday, March 23, 2007 2:48:52 AM
 Subject: [flexcoders] Re: Flex coldfusion simple question
 
  
  
 
 John,
 
 Here's a link to an article that I found helpful in getting this to
 work:
 
 http://www.adobe. com/devnet/ flex/articles/ helloworld. html
 http://www.adobe.com/devnet/flex/articles/helloworld.html
 
 Maury
 
 --- In [EMAIL PROTECTED] ups.com mailto:flexcoders%40yahoogroups.com ,
 John Barrett [EMAIL PROTECTED] .. wrote:
 
  Hi Clint,
  Thanks so much
  I am looking forward to seeing the zip so I can finally get CF 
 Flex to communicate` -`
  Thanks,
  John

   
  
  
  - Original Message 
  From: Clint Tredway [EMAIL PROTECTED] 
  To: [EMAIL PROTECTED] ups.com mailto:flexcoders%40yahoogroups.com
  Sent: Friday, March 23, 2007 2:01:13 AM
  Subject: Re: [flexcoders] Re: Flex coldfusion simple question
  
  
  
  
  
  
  
  
  

  
  
  
  I can send you the zip of the code as I know that
 works. 
  
  
  On 23 Mar 2007 03:15:01 -0700, John Barrett [EMAIL PROTECTED] com
   wrote:
  
  
  
  
  
  
  
  
  
  
  
  

  
  
  
  
  Hi Clint,
  I tried to reply to your blog, but I never got the conformation e-
 mail.
  
  Thanks for the tutorial one this!
  I might be wrong, but on line 27 of the mxml file I think that it
 should say:
  
  mx:Label text={cfcResponse}  width=100%  /mx:Label
  Anyway, this is what I had to do for flex not too throw an error.
 It was saying it needed a closing tag.
  
  I was not able to get it to work in the end(the above is the only
 change that I made to the code) I get the errorCouldn' t establish a
 connection to ColdFusion I have a screen shot of the error message
 here:
  
  http://johnbarrett. net/flex_ error.jpg
  
  I am running ColdFusion 7.02 on the Mac.
  
  Any thoughts?
  Thanks,
  John
   
  

   
  
  
  
  - Original Message 
  From: Clint Tredway [EMAIL PROTECTED] com
  To: [EMAIL PROTECTED]
  ups.com
  Sent: Thursday, March 22, 2007 7:40:25 AM
  Subject: Re: [flexcoders] Re: Flex coldfusion simple question
  
  
  
  
  
  
  
  
  
  
  http://grumpee. instantspot. com/blog
  
  
  
  On 3/22/07, cardinalflexjeremy 
  [EMAIL PROTECTED] net wrote:
  
  
  
  
  
  
  
  
  
  
  
  

  
  
  
  Are there any code examples or tutorials on this? That
 is, any samples
  
  using coldfusion (not webservices or httpRequest) to access CFCs?
  
  
  
  thanks.
  
  
  
  --- In [EMAIL PROTECTED] ups.com, Tom Chiverton
 tom.chiverton@ ...
  
  wrote:
  
  
  
   On Thursday 22 Mar 2007, cardinalflexjeremy wrote:
  
If I want to make a flex app to tie to a Database, and I want
 to use
  
Coldfusion components to access the Database stuff, and connect
 Flex
  
and coldfusion, do I need FDS to use the coldfusion adapter
 pieces?
  
   
  
   No.
  
   You can use Flex's RemoteObject straight to a CFC, no FDS (now
  
  called LCDS 
  
   btw) required.
  
   
  
Please let me know if a company would require FDS in order to
 use
  
coldfusion with flex?
  
   
  
   Again with the no :-)
  
   
  
   -- 
  
   Tom Chiverton
  
   Helping to continually morph slick appliances
  
   On: http://thefalken. livejournal. com
  
   
  
    * * * * 
  
   
  
   This email is sent for and on behalf of Halliwells LLP.
  
   
  
   Halliwells LLP is a limited liability partnership registered in
  
  England and Wales under registered number OC307980 whose registered
  
  office address is at St James's Court Brown Street Manchester M2
 2JF.
  
   A list of members is available for inspection at the registered
  
  office. Any reference to a partner in relation to Halliwells LLP
 means
  
  a member of Halliwells LLP. Regulated by the Law Society.
  
   
  
   CONFIDENTIALITY
  
   
  
   This email is intended only for the use of the addressee named
 above
  
  and may be 

RE: [flexcoders] Re: Flex coldfusion simple question

2007-03-24 Thread Chad Gray
Im a correct in saying that if you hit the web site 
http://websitename/flex2gateway/

You should get back a blank page with no errors.

Typed in exactly like this.  It needs a trailing slash and it is case sensitive.

If you get that result then the gateway should be working.
Chad




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike 
Weiland
Sent: Saturday, March 24, 2007 7:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flex coldfusion simple question

John,

I haven't been following this thread too closely, but I recall seeing you are 
using mac os x. If so, I ran into a problem running CF 7.02 on a mac, I 
couldn't get the flex gateway working. Look at the console when CF starts up 
and make sure there aren't any errors. I don't remember what my particular 
error was I didn't have time to debug the thing, I ended up using a windows 
server.

Just make sure your flex gateway is working.

Good luck,

Mike Weiland

-
Mike Weiland
Aspen Tree Media
(877)659-1652 | FAX: (512)828-7105
http://www.AspenTreeMedia.com
http://www.CertificateCreator.com - Create  Print Awards and Certificates




On 3/24/07 7:04 AM, John Barrett [EMAIL PROTECTED] wrote:

 
 

Hi Maury,
Thanks so much for this link.
I will be trying to figure this out tomorrow. I keep getting that their is a n 
error connecting to localhost/flex2gateway

Thanks so much for your help
John
 

  
 


- Original Message 
From: Maury Sword [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, March 23, 2007 2:48:52 AM
Subject: [flexcoders] Re: Flex coldfusion simple question

 
 

John,

Here's a link to an article that I found helpful in getting this to 
work:

http://www.adobe. com/devnet/ flex/articles/ helloworld. html 
http://www.adobe.com/devnet/flex/articles/helloworld.html 

Maury

--- In [EMAIL PROTECTED] ups.com mailto:flexcoders%40yahoogroups.com , John 
Barrett [EMAIL PROTECTED] .. wrote:

 Hi Clint,
 Thanks so much
 I am looking forward to seeing the zip so I can finally get CF  
Flex to communicate` -` 
 Thanks,
 John
   
  
 
 
 - Original Message 
 From: Clint Tredway [EMAIL PROTECTED] 
 To: [EMAIL PROTECTED] ups.com mailto:flexcoders%40yahoogroups.com 
 Sent: Friday, March 23, 2007 2:01:13 AM
 Subject: Re: [flexcoders] Re: Flex coldfusion simple question
 
 
 
 
 
 
 
 
 
   
 
 
 
 I can send you the zip of the code as I know that 
works. 
 
 
 On 23 Mar 2007 03:15:01 -0700, John Barrett [EMAIL PROTECTED] com
  wrote:
 
 
 
 
 
 
 
 
 
 
 
 
   
 
 
 
 
 Hi Clint,
 I tried to reply to your blog, but I never got the conformation e-
mail.
 
 Thanks for the tutorial one this!
 I might be wrong, but on line 27 of the mxml file I think that it 
should say:
 
 mx:Label text={cfcResponse}  width=100%  /mx:Label
 Anyway, this is what I had to do for flex not too throw an error. 
It was saying it needed a closing tag.
 
 I was not able to get it to work in the end(the above is the only 
change that I made to the code) I get the errorCouldn' t establish a 
connection to ColdFusion I have a screen shot of the error message 
here:
 
 http://johnbarrett. net/flex_ error.jpg
 
 I am running ColdFusion 7.02 on the Mac.
 
 Any thoughts?
 Thanks,
 John
  
 
   
  
 
 
 
 - Original Message 
 From: Clint Tredway [EMAIL PROTECTED] com
 To: [EMAIL PROTECTED]
 ups.com
 Sent: Thursday, March 22, 2007 7:40:25 AM
 Subject: Re: [flexcoders] Re: Flex coldfusion simple question
 
 
 
 
 
 
 
 
 
 
 http://grumpee. instantspot. com/blog
 
 
 
 On 3/22/07, cardinalflexjeremy 
 [EMAIL PROTECTED] net wrote:
 
 
 
 
 
 
 
 
 
 
 
 
   
 
 
 
 Are there any code examples or tutorials on this? That 
is, any samples
 
 using coldfusion (not webservices or httpRequest) to access CFCs?
 
 
 
 thanks.
 
 
 
 --- In [EMAIL PROTECTED] ups.com, Tom Chiverton 
tom.chiverton@ ...
 
 wrote:
 
 
 
  On Thursday 22 Mar 2007, cardinalflexjeremy wrote:
 
   If I want to make a flex app to tie to a Database, and I want 
to use
 
   Coldfusion components to access the Database stuff, and connect 
Flex
 
   and coldfusion, do I need FDS to use the coldfusion adapter 
pieces?
 
  
 
  No.
 
  You can use Flex's RemoteObject straight to a CFC, no FDS (now
 
 called LCDS 
 
  btw) required.
 
  
 
   Please let me know if a company would require FDS in order to 
use
 
   coldfusion with flex?
 
  
 
  Again with the no :-)
 
  
 
  -- 
 
  Tom Chiverton
 
  Helping to continually morph slick appliances
 
  On: http://thefalken. livejournal. com
 
  
 
   * * * * 
 
  
 
  This email is sent for and on behalf of Halliwells LLP.
 
  
 
  Halliwells LLP is a limited liability partnership registered in
 
 England and Wales under registered number OC307980 whose registered
 
 office address is at St James's Court Brown Street Manchester M2 
2JF.
 
  

Re: [flexcoders] Apollo HTMLControl capabilities

2007-03-24 Thread Mike Chambers
The only plugins that will be supported for 1.0 is Flash and PDF.

mike chambers

[EMAIL PROTECTED]

Mark Doberenz wrote:
 
 
 This is more of a general question regarding capabilities of this class.
 
 What kind of things in an HTML file will be displayable using this class?
 What if an HTML file has an object definition in it, like for an ActiveX 
 control.  Will it display the ActiveX control like Internet Explorer does?
 
 I work for a company that has a 3D viewer, and I'd like to place an 
 instance of the 3D view in an Apollo window in some way shape or form.
 
 Any ideas on whether this would be possible or not using the HTMLControl?
 
 Mark
 


Re: [flexcoders] Apollo HTMLControl capabilities

2007-03-24 Thread Andrew Muller
Mark

What kind of 3D view do you need, could it be achived by utilising
Papervision3D which should be able to run in Apollo:

http://blog.papervision3d.org/

Andrew

On 24/03/07, Mark Doberenz [EMAIL PROTECTED] wrote:






 This is more of a general question regarding capabilities of this class.

 What kind of things in an HTML file will be displayable using this class?
 What if an HTML file has an object definition in it, like for an ActiveX
 control.  Will it display the ActiveX control like Internet Explorer does?

 I work for a company that has a 3D viewer, and I'd like to place an instance
 of the 3D view in an Apollo window in some way shape or form.

 Any ideas on whether this would be possible or not using the HTMLControl?

 Mark
  


-- 
---
Andrew Muller
http://www.webqem.com

linkedin: http://www.linkedin.com/pub/1/151/905


Re: [flexcoders] Apollo HTMLControl capabilities

2007-03-24 Thread Mark Doberenz

 Yeah, I just saw that yesterday.  It looks promising, but the whole
software renderer isn't going to quite cut it.
 I work for a software company called Right Hemisphere and we have a free
3D viewer called Deep
Viewhttp://www.righthemisphere.com/products/deeppub/DeepPub_View/index.html.
This is really what I'd need to hook into the project I'm working on.  We
have a need to push LOTS of polys and I don't think a software renderer
could cut it.  However, that said, I'm going to look into Papervision3D to
see what it can do.
 It's an ActiveX control, so I'm wondering if I can have apollo actually
open up another HTML webpage in IE and then using LocalConnections,
communicate with Deep View the way I've currently got it set up.  That might
be the way to go now that I think about it.

 I'm very open to other ideas though.

Mark

On 24 Mar 2007 17:20:35 -0700, Andrew Muller [EMAIL PROTECTED]
wrote:


  Mark

What kind of 3D view do you need, could it be achived by utilising
Papervision3D which should be able to run in Apollo:

http://blog.papervision3d.org/

Andrew


On 24/03/07, Mark Doberenz [EMAIL PROTECTED] dobieag01%40gmail.com
wrote:






 This is more of a general question regarding capabilities of this class.

 What kind of things in an HTML file will be displayable using this
class?
 What if an HTML file has an object definition in it, like for an ActiveX
 control. Will it display the ActiveX control like Internet Explorer
does?

 I work for a company that has a 3D viewer, and I'd like to place an
instance
 of the 3D view in an Apollo window in some way shape or form.

 Any ideas on whether this would be possible or not using the
HTMLControl?

 Mark


--
--
Andrew Muller
http://www.webqem.com

linkedin: http://www.linkedin.com/pub/1/151/905

 



Re: [flexcoders] Repeater Refresh

2007-03-24 Thread Douglas Knudsen

ArrayCollection is the path to enlightenment, yes, but a metaphysical nudge
along this path is binadability

[Bindable]
public var myArrayCollection = new ArrayCollection(myArray);

DK

On 3/24/07, Jeffry Houser [EMAIL PROTECTED] wrote:



 I've done this with an ArrayCollections, but never with an Array.  The
code would be something like this:

mx:Script
![CDATA[
public var myArray:Array = ['test1','test2','test3'];
public var myArrayCollection = new ArrayCollection(myArray);

public function addItem():void{
myArrayCollection.addItem('test4');
}
]]
/mx:Script
mx:VBox
mx:Repeater id=rp dataProvider={myArrayCollection} 
mx:TextInput id=myRepeat /
/mx:Repeater
mx:Button label=click me click=addItem(); /
/mx:VBox


 A few caveats...
a) I didn't test this code
b) In my situation, I wasn't adding from the same component that was
displaying things, so the 'add' and 'display were never shown at the same
time.  There could have been other code that made the refresh work, but I
don't remember anything explicit.
c) When accessing a repeater element you use currentIndex when it is
repeating, but repeaterIndex after the fact.  I haven't found a simple way
to switch between the two of them, but my solution was something like this:

try{
return myArrayCollection.getItemAt(loop.currentIndex );
}
catch (e:Error){
return myArrayCollection.getItemAt(loop.repeaterIndex );
}
 I imagine there must be a better way


At 05:35 PM 3/24/2007, you wrote:

here is a little test to illustrate what I am trying to do (except it
doesn't work.)  I was hoping that updating the dataProvider would add
another item to the repeater...

mx:Script
![CDATA[
public var myArray:Array = ['test1','test2' ,'test3'];


public function addItem():void{
myArray.push('test4');
}
]]
/mx:Script
mx:VBox
mx:Repeater id=rp dataProvider={ myArray} 
mx:TextInput id=myRepeat /
/mx:Repeater
mx:Button label=click me click=addItem(); /
/mx:VBox




On Mar 24, 2007, at 5:16 PM, Kevin wrote:

I have a repeater (adding TextInput fields) that is bound to an
ArrayCollection on my model. I was hoping that essentially I could
add a row by just pushing a value into my ArrayCollection on the
model. However, this isn't working. I assume I need to also
refresh the repeater, but can't seem to figure out the best way to
do that.

Thanks, Kevin


 --
Jeffry Houser, Software Developer, Writer, Songwriter, Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company:  http://www.dot-com-it.com
My Podcast:  http://www.theflexshow.com
My Blog:  http://www.jeffryhouser.com
Connecticut Macromedia User Group:  http://www.ctmug.com







--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


Re: [flexcoders] Repeater Refresh

2007-03-24 Thread Jeffry Houser


 Right you are! IF I had tested it, I would have caught that error.  ;)

At 09:48 PM 3/24/2007, you wrote:

ArrayCollection is the path to enlightenment, yes, but a 
metaphysical nudge along this path is binadability


[Bindable]
public var myArrayCollection = new ArrayCollection(myArray);

DK

On 3/24/07, Jeffry Houser 
mailto:[EMAIL PROTECTED][EMAIL PROTECTED]  wrote:



 I've done this with an ArrayCollections, but never with an 
Array.  The code would be something like this:


mx:Script
![CDATA[
public var myArray:Array = ['test1','test2','test3'];
public var myArrayCollection = new ArrayCollection(myArray);

public function addItem():void{
myArrayCollection.addItem('test4');
}
]]
/mx:Script
mx:VBox
mx:Repeater id=rp dataProvider={myArrayCollection} 
mx:TextInput id=myRepeat /
/mx:Repeater
mx:Button label=click me click=addItem(); /
/mx:VBox


 A few caveats...
a) I didn't test this code
b) In my situation, I wasn't adding from the same component that was 
displaying things, so the 'add' and 'display were never shown at the 
same time.  There could have been other code that made the refresh 
work, but I don't remember anything explicit.
c) When accessing a repeater element you use currentIndex when it is 
repeating, but repeaterIndex after the fact.  I haven't found a 
simple way to switch between the two of them, but my solution was 
something like this:


try{
return myArrayCollection.getItemAt(loop.currentIndex );
}
catch (e:Error){
return myArrayCollection.getItemAt(loop.repeaterIndex );
}
 I imagine there must be a better way


At 05:35 PM 3/24/2007, you wrote:

here is a little test to illustrate what I am trying to do (except 
it doesn't work.)  I was hoping that updating the dataProvider 
would add another item to the repeater...


mx:Script
![CDATA[
public var myArray:Array = ['test1','test2' ,'test3'];


public function addItem():void{
myArray.push('test4');
}
]]
/mx:Script
mx:VBox
mx:Repeater id=rp dataProvider={ myArray} 
mx:TextInput id=myRepeat /
/mx:Repeater
mx:Button label=click me click=addItem(); /
/mx:VBox




On Mar 24, 2007, at 5:16 PM, Kevin wrote:


I have a repeater (adding TextInput fields) that is bound to an
ArrayCollection on my model. I was hoping that essentially I could
add a row by just pushing a value into my ArrayCollection on the
model. However, this isn't working. I assume I need to also
refresh the repeater, but can't seem to figure out the best way to
do that.

Thanks, Kevin

--
Jeffry Houser, Software Developer, Writer, Songwriter, Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company:  http://www.dot-com-it.com
My Podcast:  http://www.theflexshow.com
My Blog:  http://www.jeffryhouser.com
Connecticut Macromedia User Group:  http://www.ctmug.com




--
Douglas Knudsen
http://www.cubicleman.comhttp://www.cubicleman.com
this is my signature, like it?



--
Jeffry Houser, Software Developer, Writer, Songwriter, Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: http://www.dot-com-it.com
My Podcast: http://www.theflexshow.com
My Blog: http://www.jeffryhouser.com
Connecticut Macromedia User Group: http://www.ctmug.com


[flexcoders] FDS 2 hosting

2007-03-24 Thread Stefan IONESCU

Hi, 

Does anyOne knows a webhosting with FDS 2 ? 

Thankx, 
Stefan





 

No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 


Re: [flexcoders] Repeater Refresh

2007-03-24 Thread Tim Walling

You need to use something like ArrayCollection which dispatches events. Your
repeater should then pick up the changes and add the new item.


Tim


On 3/24/07, Jeffry Houser [EMAIL PROTECTED] wrote:



 I've done this with an ArrayCollections, but never with an Array.  The
code would be something like this:

mx:Script
![CDATA[
public var myArray:Array = ['test1','test2','test3'];
public var myArrayCollection = new ArrayCollection(myArray);

public function addItem():void{
myArrayCollection.addItem('test4');
}
]]
/mx:Script
mx:VBox
mx:Repeater id=rp dataProvider={myArrayCollection} 
mx:TextInput id=myRepeat /
/mx:Repeater
mx:Button label=click me click=addItem(); /
/mx:VBox


 A few caveats...
a) I didn't test this code
b) In my situation, I wasn't adding from the same component that was
displaying things, so the 'add' and 'display were never shown at the same
time.  There could have been other code that made the refresh work, but I
don't remember anything explicit.
c) When accessing a repeater element you use currentIndex when it is
repeating, but repeaterIndex after the fact.  I haven't found a simple way
to switch between the two of them, but my solution was something like this:

try{
return myArrayCollection.getItemAt(loop.currentIndex );
}
catch (e:Error){
return myArrayCollection.getItemAt(loop.repeaterIndex );
}
 I imagine there must be a better way


At 05:35 PM 3/24/2007, you wrote:

here is a little test to illustrate what I am trying to do (except it
doesn't work.)  I was hoping that updating the dataProvider would add
another item to the repeater...

mx:Script
![CDATA[
public var myArray:Array = ['test1','test2' ,'test3'];


public function addItem():void{
myArray.push('test4');
}
]]
/mx:Script
mx:VBox
mx:Repeater id=rp dataProvider={ myArray} 
mx:TextInput id=myRepeat /
/mx:Repeater
mx:Button label=click me click=addItem(); /
/mx:VBox




On Mar 24, 2007, at 5:16 PM, Kevin wrote:

I have a repeater (adding TextInput fields) that is bound to an
ArrayCollection on my model. I was hoping that essentially I could
add a row by just pushing a value into my ArrayCollection on the
model. However, this isn't working. I assume I need to also
refresh the repeater, but can't seem to figure out the best way to
do that.

Thanks, Kevin


 --
Jeffry Houser, Software Developer, Writer, Songwriter, Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company:  http://www.dot-com-it.com
My Podcast:  http://www.theflexshow.com
My Blog:  http://www.jeffryhouser.com
Connecticut Macromedia User Group:  http://www.ctmug.com







--
Tim
timwalling.com


[flexcoders] Hi Hello

2007-03-24 Thread eshpaleti
  can some body give me the detail structure of Flex and its 
integration with JAVA backend,where to keep the classes,mxmls compiling 
Flex application etc etc...

regards,

   Eshwar



Re: [flexcoders] Re: Flex coldfusion simple question

2007-03-24 Thread ESHWAR PALETI
Hi,
   
 can you kindly send me the total code and stepwise integration of Flex 
with JAVA backend, please kindly do send all the details how to write code 
,where to write code in Flex and i mean total programming steps of Flex with 
JAVA.
   
   
regards,
   
  Eshwar.

Clint Tredway [EMAIL PROTECTED] wrote:
  John, a couple things to check, what version of CF are you running? 
The version of CF you need to have is 7.02, and Flash Remoting needs to be 
turned on in the CF admin.

The example zip I sent you works if you just put the contents in your web root. 

  On 24 Mar 2007 05:04:24 -0700, John Barrett [EMAIL PROTECTED] wrote:

  Hi Maury,
Thanks so much for this link.
I will be trying to figure this out tomorrow. I keep getting that their is a n 
error connecting to localhost/flex2gateway

Thanks so much for your help
John
   
  
  
 
  

  - Original Message 
From: Maury Sword [EMAIL PROTECTED]
To: [EMAIL PROTECTED] ups.com
Sent: Friday, March 23, 2007 2:48:52 AM
Subject: [flexcoders] Re: Flex coldfusion simple question

John,

Here's a link to an article that I found helpful in getting this to 
work:

http://www.adobe. com/devnet/ flex/articles/ helloworld. html

Maury

--- In [EMAIL PROTECTED] ups.com, John Barrett [EMAIL PROTECTED] .. wrote:

 Hi Clint,
 Thanks so much
 I am looking forward to seeing the zip so I can finally get CF  
Flex to communicate` -` 
 Thanks,
 John
 
 
 
 
 - Original Message 
 From: Clint Tredway [EMAIL PROTECTED] 

   To: [EMAIL PROTECTED] ups.com
 Sent: Friday, March 23, 2007 2:01:13 AM
 Subject: Re: [flexcoders] Re: Flex coldfusion simple question
 
 
 
 
 
 
 
 
 
 
 
 
 
 I can send you the zip of the code as I know that 
works. 
 
 
 On 23 Mar 2007 03:15:01 -0700, John Barrett [EMAIL PROTECTED] com
  wrote:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 Hi Clint,
 I tried to reply to your blog, but I never got the conformation e-
mail.
 
 Thanks for the tutorial one this!
 I might be wrong, but on line 27 of the mxml file I think that it 
should say:
 
 mx:Label text={cfcResponse}  width=100%  /mx:Label
 Anyway, this is what I had to do for flex not too throw an error. 
It was saying it needed a closing tag.
 
 I was not able to get it to work in the end(the above is the only 
change that I made to the code) I get the errorCouldn' t establish a 
connection to ColdFusion I have a screen shot of the error message 
here:
 
 http://johnbarrett. net/flex_ error.jpg
 
 I am running ColdFusion 7.02 on the Mac.
 
 Any thoughts?
 Thanks,
 John
 
 
 
 
 
 
 
 - Original Message 
 From: Clint Tredway [EMAIL PROTECTED] com
 To: [EMAIL PROTECTED]
 ups.com
 Sent: Thursday, March 22, 2007 7:40:25 AM
 Subject: Re: [flexcoders] Re: Flex coldfusion simple question
 
 
 
 
 
 
 
 
 
 
 http://grumpee. instantspot. com/blog
 
 
 

 On 3/22/07, cardinalflexjeremy 
 [EMAIL PROTECTED] net wrote:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 Are there any code examples or tutorials on this? That 
is, any samples
 
 using coldfusion (not webservices or httpRequest) to access CFCs?
 
 
 
 thanks.
 
 
 
 --- In [EMAIL PROTECTED] ups.com, Tom Chiverton   
tom.chiverton@ ...
 
 wrote:
 
 
 
  On Thursday 22 Mar 2007, cardinalflexjeremy wrote:
 
   If I want to make a flex app to tie to a Database, and I want 
to use
 
   Coldfusion components to access the Database stuff, and connect 
Flex
 
   and coldfusion, do I need FDS to use the coldfusion adapter 
pieces?
 
  
 
  No.
 
  You can use Flex's RemoteObject straight to a CFC, no FDS (now
 
 called LCDS 
 
  btw) required.
 
  
 
   Please let me know if a company would require FDS in order to 
use
 
   coldfusion with flex?
 
  
 
  Again with the no :-)
 
  
 
  -- 
 
  Tom Chiverton
 
  Helping to continually morph slick appliances
 
  On: http://thefalken. livejournal. com
 
  
 
   * * * * 
 
  
 
  This email is sent for and on behalf of Halliwells LLP.
 
  
 
  Halliwells LLP is a limited liability partnership registered in
 
 England and Wales under registered number OC307980 whose registered
 
 office address is at St James's Court Brown Street Manchester M2 
2JF.
 
 A list of members is available for inspection at the registered
 
 office. Any reference to a partner in relation to Halliwells LLP 
means
 
 a member of Halliwells LLP. Regulated by the Law Society.
 
  
 
  CONFIDENTIALITY
 
  
 
  This email is intended only for the use of the addressee named 
above
 
 and may be confidential or legally privileged. If you are not the
 
 addressee you must not read it and must not use any information
 
 contained in nor copy it nor inform any person other than Halliwells
 
 LLP or the addressee of its existence or contents. If you have
 
 received this email in error please delete it and notify Halliwells
 
 LLP IT Department on 0870 365 8008.
 
  
 
  For more information about Halliwells 

[flexcoders] Posting XML with httpservice

2007-03-24 Thread Thomas Newcomen

If I have contenttype of my httpservice set to application/xml  and I have
a variable that contains an xml document (?xml ?blah.../blah)
How do I just post that the service?

this doesn't seem to work:

mx:request
{xmlDocument}
/mx:request


Any ideas?

'preciate it.

Crit


RE: [flexcoders] Re: setting listeners and component parameters from the class

2007-03-24 Thread Alex Harui
I think your question wasn't clear.  You showed me an example of
creation presentation widgets in actionscript.

 

The best practice for separation model from presentation is actually
been a subject of much debate lately.  Various templates for
codebehind have been discussed, but I don't think we've settled on one
and maybe never will as application complexity might make you choose
from one of three ways to do it.

 

So, I'm going tell you it is possible, but not going to tell you exactly
how.

 

Note that for some mxml file, widgets with id's are essentially
variables in a class and emit events.  The model (or a controller) can
either discover or assume the existence of these widgets and initialize
them and listen for events on them.  You might want to structure
similarly.

 

-Alex

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lazylittleprince
Sent: Friday, March 23, 2007 5:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: setting listeners and component parameters
from the class

 

thanks for your reply. But i have a problem in this situation. Because
my main point is to seperate model (and/or data) from presentation.
Otherwise i would just put the code in the Script tag in mxml. From
what you have written here : Should i understand the fact that this
is not possible ? Because i m not interested in making a new
component or something like that. All i want is to have the
presentation data in the mxml file and do everything else externally
in the class file. If it's a simple thing, i would appreciate someone
modifying my code. Because i have an old machine and Eclipse just
stops after a few compiles :-
cheers ...

 



[flexcoders] Http Compression for Flex

2007-03-24 Thread ajudah987
Has anyone got any of the Webserver http compression tools working with 
Flex. I am trying to get the Remote object return stream, application/x-
amf stream compressed from my webserver without much luck. I have tried 
IIS6's default methods but they are limited to file types not mime 
types. I have trialed Port80's httpZip but this does not seem to work 
for the above mime type. It does work for the initial swf file but i 
loose the progress dialogue. Pulling my hair out trying to find a 
solution. Any advice or help would be appreciated.

Cheers,

AJ



[flexcoders] Randomizing Array (from actionscript cookbook3 and other places)

2007-03-24 Thread {reduxdj}
I am getting an error with the following code

TypeError: Error #1006: value is not a function.
at com.me.data::PictureProviderXML/::handleComplete()
  

function randomSort(a, b) {
return Math.random().5 ? -1 : 1;
}


var numbers:Array = new Array();
  
   for (var n:int=0;nphotos.length;n++){
   numbers[n] = n;
   }
   numbers.sort(randomSort);


any ideas, it looks like I am using this properly any ideas?

Thanks,
Patrick



Re: [flexcoders] icons

2007-03-24 Thread Troy Gilbert

http://famfamfam.com/

On 24 Mar 2007 13:54:27 -0700, Steve Hagenlock [EMAIL PROTECTED]
wrote:


  http://www.iconbase.com/

There are many others... you can purchase icon libraries from places
like this.

-Steve

Kevin wrote:
 Where do people go to get small icons for use in Flex apps? I need
 the little things like arrows  check marks. For example I would
 like to display a check mark when an address has been validated.
 Is there a library of these little symbols somewhere? OR does
 everyone just design their own.

 Thanks, Kevin




 --

 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.446 / Virus Database: 268.18.17/731 - Release Date:
3/23/2007 3:27 PM