RE: [flexcoders] Gradient Fill question

2006-02-08 Thread Gordon Smith
Does it work correctly for a linear gradient, but not for a radial one?

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Trey Long
Sent: Monday, February 06, 2006 2:19 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Gradient Fill question

So no one has used any gradients? Or had any problems with the ratio 
attributes?

Trey Long wrote:
> My question is about the RATIO attribute of the 
> Graphics.beginGradientFill() method.
> 
> Example:
>
graphics.beginGradientFill(GradientType.RADIAL,[0xFF,0x00F9FF],[.27,
1],[0,255]);
> graphics.drawCircle(0,0,size);
> graphics.endFill();
> 
> Now, if my understanding is correct, a Ratio attribute of [0,255] will

> basically set one color to the outside edge of my circle and the other

> color will occur at the direct center. In other words, the entire 
> gradient will be shown.
> 
> What I am getting is the first color pushes the second color way out
of 
> the circle, not even showing it.
> 
> Are the docs wrong? Is this not a ratio? Am I stupid? The answer to
the 
> last question is probably yes, but any help will be great.
> 
> Excerpt from API docs:
> 
>   |*ratios*:Array 
> | - An 
> array of color distribution ratios; valid values are 0 to 255. This 
> value defines the percentage of the width where the color is sampled
at 
> 100%. Specify a value for each value in the |colors| parameter.
> 
> For example, for a linear gradient that includes two colors, blue and 
> green, the following figure illustrates the placement of the colors in

> the gradient based on different values in the |ratios| array:
> 
> |ratios|  Gradient
> |[0, 127]|
> |[0, 255]|
> |[127, 255]|  
> 
> 


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

<*> 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 Components 508 Compliance

2006-02-08 Thread Gordon Smith
> Will the new Flex components be 508 compliant? 

They'll have the same or comparable accessibility features as in Flex
1.X.

> If so, will they be immediately available for use in Flash 8?

They won't work in Flash 8 because they're written for Player 8.5 and
ActionScript 3, while Flash 8 uses Player 8 and ActionScript 2.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Britton
Sent: Wednesday, February 08, 2006 1:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Components 508 Compliance

Hi, I'm new to this list but am an occasional poster on Flashcoders. 
My question: Will the new Flex components (when they come out) be 508
compliant?  If so, will they be immediately available for use in Flash
8?

Thanks in advance,

Mike Britton
mikebritton.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/

<*> 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.0 beta TextArea question

2006-02-08 Thread Gordon Smith
There should be no need for callLater() or a Timer. These are
workarounds from Flex 1.X that we want to banish in Flex 2.

Mac Martine wrote:
> I believe you will find a detailed answer in the thread
> from Feb 1 with > the Subject:
> [flexcoders] Scrolling a TextArea to the bottom?

This thread explained that setting a property like the 'text' of a
TextArea does not immediately update other properties such as
maxVPosition; by default this happens latter, for performance reasons.

However, you can force all properties to update immediately by calling
validateNow() on a UIComponent. So if you set the text, call
validateNow(), and then set the vPosition to the maxVPosition, it should
scroll to the bottom.

If there are problem with making this work, please file bugs.

- Gordon




-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Wednesday, February 08, 2006 12:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0 beta TextArea question

On 2/8/06, Manish Jethani <[EMAIL PROTECTED]> wrote:

> Okay, the problem is that the TextArea's maxVPosition is 0 even after
> the text is set.  The new value of maxVPosition is calculated only on
> the next screen update.

... and the solution for now is to use callLater() or a timer or
something.


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

<*> 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] Tilelist event question

2006-02-08 Thread Matt Chotin
Where is the click event?  Obviously you have access to it inside
Thumbnail.mxml, so are you saying that if you put a click handler on the
TileList how can you get the templateIdSel from the listItemRenderer?
The itemClick event that gets fired provides a reference to the cell
that was clicked, so you could then pull it off that way.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sufibaba
Sent: Wednesday, February 08, 2006 12:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tilelist event question

Hi All,

I have the following:

-TilelistContainer.mxml --

(contains a tilelist with listItemRenderer = "Thumbnail"

http://www.macromedia.com/2005/mxml"; >

---  Thumnail.mxml --- 


http://www.macromedia.com/2005/mxml";
  horizontalAlign="center"
  verticalGap="0" 
  horizontalGap="0"
  borderStyle=".5"
  width="100"
  height="150">

   








   

 http://xKc.seg2.net{dataObject.data.URL}";
click="templateIdSel= dataObject.data.ID"
scaleX=".7" scaleY=".7"
mouseOverEffect="zoomIn"
mouseOutEffect="zoomOut"/>
   




Question:  when the user clicks on a thumnail, how does one get the
templateIdSel.


Any help on this is greatly appreciated,

Cheers,

Tim





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

<*> 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] Difference between WebService and Remote Object

2006-02-08 Thread Matt Chotin
Title: Mercury Email Signature










Sounds like the registerClass didn’t
work, better double-check that the classnames match up…

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shlomi Cohen
Sent: Wednesday, February 08, 2006
4:04 AM
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] Difference
between WebService and Remote Object



 



Hi





 





 





while testing the performance of our
application , i changed the way we work with the server from WS to
RemoteObjects 





i found that there is a difference in the
way data is being received / transmitted although we use the registerClass
(as the POJO2AS does for you) .





for example a method that was saving user
info to DB did not work with RO - saying it could not convert ASObject to
typed object.





 





what is wrong here ?





 





here is a short snapshot 





 





 











    











 





function sendRequest(){





 





    service.getUser(111);





}





 





function getUser(event){





    var userVO:UserVO =
event.result;





 





    // we save with the
save object we got.





    saveUser(userVO);





}





 





function saveUser(userVO){





   
service.saveUser(userVO);  ///fails to convert ASobject to typed object





}





 





 





Shlomi




__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Problem to consum Complex return type from webservice

2006-02-08 Thread Matt Chotin
It's possible that we may have made the WSDL parser less forgiving, what
does the WSDL look like?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of durieuxnicolas
Sent: Tuesday, February 07, 2006 6:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem to consum Complex return type from
webservice

Hi

In Flex 1.5, it was easy to consum a webservice method which return
complex type like .NET Dataset, Vector in Java, custom class...
Now with Flex 2.0, Flex can't parse this type of data 
(I have this message: 
Element http://www.mysite.com/webservices/ws/:myTypeResponse  not
resolvable)

Do you know if Adobe will do something ?

I dont know coldfusion but I saw that macromedia webservices result
are consumned like an array of Object in Flex. Does someone have some
suggestion about the result type I have to use in a  Java webservice ?

Thanks
Nicolas





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

<*> 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-Struts configration

2006-02-08 Thread Matt Chotin
Title: RE: [flexcoders] Flex-Struts configration








This was there right?       result="alert(registrationRequest.result.registration.status)">        {firstName.text}    {lastName.text}    {phone.text}    {email.text}                                                                              {errorList.currentItem}     

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Srikanth, R
Sent: Wednesday, February 08, 2006
3:43 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Flex-Struts configration



 

I have not outpur. I think HTTP Service
tag is not Parsed in that application, where I had seen the view sourse in the
browser the entire code has same. Please advice me how to proceed?

 

Thanks in Advance,

Srikanth

 

 

 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Wednesday, February 08, 2006 1:36 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Flex-Struts configration

 

There’s nothing to
download from that tutorial, it’s all embedded in the pages.  In
example 1 the HTTPService tag is used to make a request against the servlet
that then executes the Struts action.  In example 2 the WebService tag is
what was used to hook up the connection to the extracted business logic, the
same logic that a modified Struts action would have called.

 

Matt

 













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Srikanth, R
Sent: Tuesday, February 07, 2006
11:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Flex-Struts configration



 

Hi David,

I had gone through the http://www.macromedia.com/devnet/flex/articles/struts.html.


I have  some doubt. Please clarify the following
doubts.

1. In that link they have given a Flex client
application. May I know what the extention of the file. Is?

2. How it process?

Thanks in Advance,

With regards,

Srikanth

 

-Original Message-

From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Srikanth, R

Sent: Monday, February 06,
2006 2:59 PM

To: flexcoders@yahoogroups.com

Subject: RE: [flexcoders]
Flex-Struts configration

Hi,

 I have seen in your
mentioned link. I have some doubt in that link. Where I have to save the Flex
client file and how it calls?

 Could you please
explain?

Thanks,

Kind regards,

Srikanth

-Original Message-

From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of David Mendels

Sent: Saturday, February 04,
2006 9:18 PM

To: flexcoders@yahoogroups.com

Subject: RE: [flexcoders]
Flex-Struts configration

Hope this helps: http://www.macromedia.com/devnet/flex/articles/struts.html

 

-David

Adobe

 

From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Husain Kitabi

Sent: Saturday, February 04,
2006 9:38 AM

To: flexcoders@yahoogroups.com

Subject: Re: [flexcoders]
Flex-Struts configration

I am just wondering why
would you require struts and flex.

anyway, look into web.xml
file

 

 

Srikanth <[EMAIL PROTECTED]>
wrote:

Hello,

Could you please explain the
confiration and Integration of the Flex 

and Struts? Please send a
sample code/link for that.

Thanks in advance,

with Regards,

Srikanth







YAHOO! GROUPS LINKS 

•  Visit your
group "flexcoders" on the web.

  

•  To unsubscribe
from this group, send an email to:

 [EMAIL PROTECTED]

  

•  Your use of
Yahoo! Groups is subject to the Yahoo! Terms of Service. 







hussain 

Yahoo! Mail - Helps protect
you from nasty viruses. 

 

--

Flexcoders Mailing List

FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com


 

SPONSORED LINKS 

Web site design development
Computer software development Software design and development Macromedia flex
Software development best practice 

YAHOO! GROUPS LINKS 

•  Visit your
group "flexcoders" on the web.

  

•  To unsubscribe
from this group, send an email to:

 [EMAIL PROTECTED]

  

•  Your use of
Yahoo! Groups is subject to the Yahoo! Terms of Service. 












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! 

RE: [flexcoders] Re: how to improve performance when calling a Java remoteobject?

2006-02-08 Thread Matt Chotin
Check out my articles on working with large data that are on my blog.
http://weblogs.macromedia.com/mchotin.  You are seeing the exact problem
of downloading lots of data.  The time spent with the cursor not moving
is the Player deserializing all of the data that comes back.  If you
only care about one field you will want to consider changing the data so
that it is an array of just those values instead of an array of value
objects.  You may also want to consider paging.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, February 07, 2006 1:47 PM
To: flexcoders@yahoogroups.com
Cc: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: how to improve performance when calling a
Java remoteobject?

I guess we are confused because the Onresult should only run when
results
are available. We added a timer to see when they are available, and they
are in the first 2 or 3 seconds of the 10-15 that it actually takes to
see
the clock go away. If we ask for the length of the result, it is
actually
available in those 2-3 first seconds after the clock stops. However, any
other process seems to go to a queue that runs after the 10-15 seconds,
including using the results.

Thanks,




|-+->
| | |
| |  "Dmitry Miller"|
| |  <[EMAIL PROTECTED]>   |
| |  Sent by:   |
| |  flexcoders@yahoogroups.com |
| |  02/07/2006 04:31 PM|
| |  Please respond to  |
| |  flexcoders |
| | |
|-+->
 
>---
--|
  |
|
  |  To: flexcoders@yahoogroups.com
|
  |  cc:
|
  |  Subject:  [flexcoders] Re: how to improve performance when
calling a Java remoteobject?|
 
>---
--|




Oscar, hi

I don't think that you can improve RemoteObject performance. I had a
similar problem and I ended up paginating the data. i.e. return the
following object

{
 items:Array;
 hasMoreRecords:Boolean;
}
Hopefully this helps

--- Dmitry



--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
>
>
>  We are doing some searches using a RemoteObject and displaying the
result
> on a grid.  We noticed that when getting more than 2000 records
aprox, it
> was taking some time( between 10 and 15 seconds)  before they were
> displayed . At the beginning we thought that it was the Grid which was
> slowing down the process. We thought that because after making the
call the
> busy cursor ( clock) would stop, but would not go away for another
10-15
> seconds, when we finally were able to see the results in the Grid.
>
>  However, we made another test. We simply made the call to the
RemoteObject
> and did not bind it to any component. We found that the 10-15
seconds were
> still there, so we are wondering what exactly Flex is doing that is
taking
> that time. We also debugged our backend at we saw that the busy cursor
> stops exactly when the server sends back the results to the client.
So what
> is happening in between?
>
> Is this something related to serialization?   Our RemoteOject
returns a VO,
> but we are only interested in one of the attributes that holds an
Array. So
> we do something like this...
>
>
> var myDataProvider:Array = new Array();
>
>Onresult ( result )
> {
>
>   myDataProvider = result.myArrayAttribute;
>
> }
>
>
> myDatagrid.dataProvider ="{myDataProvider}"
>
> Any ideas on how we can improve performance?
>
> Thanks
>
>

---
> This e-mail message (including attachments, if any) is intended for
the use
> of the individual or entity to which it is addressed and may contain
> information that is privileged, proprietary , confidential and
exempt from
> disclosure.  If you are not the intended recipient, you are notified
that
> any dissemination, distribution or copying of this communication is
> strictly prohibited.  If you have received this communication in
error,
> please notify the sender and erase this e-mail message immediately.
>

---
>






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













---
This e-mail message (including attachments, if any) is intended for the
use
of the individual or entity to which it is addressed and may contain
information that is p

RE: [flexcoders] RemoteObject connection not working on first view, requires refresh

2006-02-08 Thread Matt Chotin
Maybe a timing issue?  Do you see any errors on the server (turn on
debugging in gateway-config or flex-config)?  When do you make the
remote object call?

Matt 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of maxgsilverscape
Sent: Monday, February 06, 2006 10:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RemoteObject connection not working on first view,
requires refresh

I'm having a strange issue, pardon if this has been asked before but 
my searches couldn't find anything. 

On my application, when you first enter it, the busy cursor clock 
holds indefinitely and no data is retrieved from the server. The 
network monitor shows a SERVER.PROCESSING error but no details of any 
kind. 

If you then refresh the page or click the link to load the app up 
again, it works perfectly.

Has anyone else experienced this or know of a solution?

Thanks!

-Max





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

<*> 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] New Inline cell renderers

2006-02-08 Thread Matt Chotin










Does sound like a bug I guess, probably
the dataObject is being reset when you click on the row and that’s
overriding the click behavior on the checkbox.  Try overriding set dataObject
and see if it’s getting called a little too often.  If so you can maybe
react in there and just update the selected checkbox manually instead of
through binding?  Or some other workaround might appear if you figure out how
to predict the double behavior.

 

And please get a bug filed.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Wednesday, February 08, 2006
7:39 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] New
Inline cell renderers



 

Sorry to shamelessly bump this, but can
anyone think of a “fix” solution for this since it seems to be a
bug? If the CheckBox is tied to something actually in the dataProvider, it
takes 2 clicks (one for row focus, one to click the box) to change even though
I’m using a “isCellEditor” and not an editorClass (if I
change dataObject.compare to dataObject.somevar, it works…but then
doesn’t save the state obviously for sorting/scrolling the datagrid).
I’m trying right now to work with the “change” function of
the Datagrid, seeing if the mouse position is in the correct column then
toggling the checkbox, but then I can’t figure out how to disable the
checkbox so it doesn’t double toggle.

Ideas for a fix for this?



 

_

Jonathan Miranda

Flexible Master of the Web

"In the game
of chess, it's important to never let your opponent see your pieces."





 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 07, 2006
12:09 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] New
Inline cell renderers



 

This may be right in theory, but not in
practice. Try this out – in the dataProvider is a field called
“compare” that is always false. Everything takes 2 clicks.



   
       


   
       
  

   
   
   
   


   
       
   


   


   


   


   
   &nbs p;    {checkBox.selected}

   
 

   


   
   &nbs p;    selected="{dataObject.compare}"
/>

   


   


   
   
    

   
   
   
   


   
       


   
       


   
       


   
       


   
   
   



   
       


 



 

_

Jonathan Miranda

Flexible Master of the Web

"In the
game of chess, it's important to never let your opponent see your pieces."





 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manish Jethani
Sent: Tuesday, February 07, 2006
11:58 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] New Inline
cell renderers



 

On 2/7/06, Jonathan Miranda
<[EMAIL PROTECTED]> wrote:
> Awesome man, thanks - saved me an hour of
banging my head on the table.
> I've no clue why your example and mine cause
a 

Re: [flexcoders] Got embed SWF to call a function in Flex

2006-02-08 Thread JesterXL
...damn... I tried using this technique to run YahooMaps, but even though 
the zoomLevel setter was set, it was just a blank beize.  So, I tried using 
BitmapData.draw, both in the SWF and in Flex, but no dice...

- Original Message - 
From: "JesterXL" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, February 08, 2006 10:55 PM
Subject: Re: [flexcoders] Got embed SWF to call a function in Flex


Hrm... this line:

myMC.myRect = this.source();   //get function reference.

I think is backwards.  Like, this.source() fires the function that shows the
alert.  You're writing it like myMC is supposed to hold the return value of
the source function, but the source function doesn't return anything.
Additionally, while myMC.myRect is a reference to the function, does the box
actually get drawn in the SWF when you click the button?

:: goes to try this + Jason's code ::


- Original Message - 
From: "sufibaba" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, February 08, 2006 9:47 PM
Subject: [flexcoders] Got embed SWF to call a function in Flex


Hi guys,

Check this out, if you make the following changes to Jason Wong's
little example, then SWF is able to call a function in Flex2.  I got
it to fire a function -- no sending of arguments yet.



http://www.macromedia.com/2005/mxml";
xmlns="*" layout="absolute">
   
   







In the myClip.as file -- By the way, in order to get jason's
Simple.swf to compile in the flash IDE, you'll need to change the
following:

1. MyClip movie Linkage from "MyClip" to "myClip"
2. Change the "MyClip.as" file name to "myClip"


Make the following changes to myClip.as
-

class myClip extends MovieClip

{


function set myRect(funcRef: Object): Void
{
_parent.lineStyle(2, 0xff);
_parent.moveTo(60, 60);
_parent.lineTo(200, 60);
_parent.lineTo(200, 100);
_parent.lineTo(60, 100);
_parent.lineTo(60, 60);


funcRef;

}


}

-

What should happen  If you click on the button it should popup an
Alert box displaying the word "callback"

Cheers,

Tim













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







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

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

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

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




Re: [flexcoders] IFrame Example for Flex 2?

2006-02-08 Thread Manish Jethani
On 2/8/06, Mark Wales <[EMAIL PROTECTED]> wrote:

> Like a few before me I have tried to get the IFrame example that
> Christophe Coenraets put together for an earlier version of Flex. Has
> anyone been able to successfully port this to either the Alpha or Beta?

Brian has:
http://www.deitte.com/archives/2006/02/embedding_html.htm

> Also, as a conceptual question, might a working example of this allow
> Drag and Drop from the HTML pages that are loaded to Flex? I'm afraid I
> do not yet understand the Flex-HTML-Javascript combination well enough
> to grasp what is technically possible or not.

There's on direct drag-n-drop between HTML and Flash, although it
might be possible to implement it (primitive data like string/int can
be exchanged between these environments).


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

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

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

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





RE: [flexcoders] intialize not working

2006-02-08 Thread Matt Chotin
I think you're probably passing etel.fileNum too early, there may be
some instantiation that needs to happen first.  Maybe add a var called
fileNum to the application and just set that, then have the etel
component read the fileNum via binding?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeremy Rottman
Sent: Monday, February 06, 2006 8:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] intialize not working

I just migrated all of my flex 2.0 alpha code over to the beta
version. And I have found that initialize is not working. I have a
search that I am using (below) that calls a webservice to populate a
dg. When a user clicks on the desired record, it changes the current
state to an edit state. When the user enters the newstate, I have an
initialize in my mx:application tag, that uses a passed var from the
search to call and display data based on a pk. This worked great in
the alpha version, but it is not working now. Can someone give me some
insight on to why this wont work now.

I have also used creationComplete="" and this will call the databased
on the var fileNum, however when I search on a different file number
and click on it in my search, the same data as my first search is
still in the display.

search: 


http://www.macromedia.com/2005/mxml"; xmlns="*"
width="100%" height="100%">
http://*.*.*.*/cfc/adminHS2F.cfc?wsdl"; showBusyCursor="true" />


















fileEdit. (only the party with the initialize)


http://www.macromedia.com/2005/mxml";
initialize="qdListDisplay(fileNum);qdListDocs(fileNum)" xmlns="*">
http://*.*.*.*/cfc/adminHS2F.cfc?wsdl"; showBusyCursor="true" />









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

<*> 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] Recommended testing tool ? /Flex1.5

2006-02-08 Thread Matt Chotin
Unfortunately there really isn't one for 1.5.  We are working with
Mercury on getting a solution for Flex 2, it's in Alpha right now.  If
you'd be interested in testing that with us please contact me and I'll
forward you on to the right person.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kazuya Komon
Sent: Sunday, February 05, 2006 10:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Recommended testing tool ? /Flex1.5


Hi all,


Anyone have any ideas what to use testing tool ?

I trid to use QTP whick Mercury provided.
But I found it could not. Following is reason.

 1) It cannot recognize individual object in Flash.
 2) It cannot synchronize with application speed, positions of 
components and so on when it plays.

Any help is greatly appreciate.   :)



Thanks,
KAZUYA KOMON





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

<*> 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] Dashboard samples Error

2006-02-08 Thread Matt Chotin










Check the flex-enterprise-services.xml and
make sure that the rtmp channel is set up correctly (and other ports for that
matter).

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes
Sent: Monday, February 06, 2006
3:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dashboard
samples Error



 

Hi there,

 

I’m getting this error when trying to connect
to the dashboard sample:

Error #2044: Unhandled SecurityErrorEvent: text=Error
#2047: Security sandbox violation: 'LocalConnection.send': 'myserver' may not
access 'http://myserver:8700/samples/messageservice/dashboard/dashboard.mxml.swf'.

The graphs work fine but the chat system isn’t
working. 

 

Any ideias what this might be? 

 

João Fernandes

Secção de Desenvolvimento

Departamento de Informática

 









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: >< [flexcoders] Can someone explain this to me

2006-02-08 Thread Stacy Young










Have you installed the 8.5 flash player ?

 

-Stace

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, February 08, 2006
10:14 PM
To: flexcoders@yahoogroups.com
Subject: >< [flexcoders] Can
someone explain this to me



 



Ok I downloaded and installed the Adbote FlexBuilder 2 beta
then I made a project with the following code when I run it all I see is a
blank screen no label why is this?






http://www.macromedia.com/2005/mxml"
xmlns="*" layout="absolute">





 





  













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] IFrame Example for Flex 2?

2006-02-08 Thread Mark Wales

Like a few before me I have tried to get the IFrame example that
Christophe Coenraets put together for an earlier version of Flex. Has
anyone been able to successfully port this to either the Alpha or Beta?

Also, as a conceptual question, might a working example of this allow
Drag and Drop from the HTML pages that are loaded to Flex? I'm afraid I
do not yet understand the Flex-HTML-Javascript combination well enough
to grasp what is technically possible or not.

Thanks for anyone who can provide some insights...

-Mark


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

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

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

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




Re: [flexcoders] Re: Tilelist event question

2006-02-08 Thread Manish Jethani
On 2/8/06, sufibaba <[EMAIL PROTECTED]> wrote:
> To clarify the above situation, basically, below is the situation:
>
>   Form1.mxml --
> contains a Tilelist component that has a
> listItemRenderer="Thumbnail"
>
>   Thumbnail.mxml ---
> contains images
>
> Question:  When the thumbnail is clicked, it sends an event to
> Form1.mxml with the Id of the thumbnail.

What do you mean id of the thumbnail?  Do you mean the object reference?

The cell renderer can dispatch an event that would bubble up to the
Form1.mxml component.  The component can catch the event and get a
reference to the object using "event.target".

> Does anyone have a suggestion on how to do this with flex2.  Flex 1.5
> coding seem to not work -- flex2 doesn't have listowner.

If you're using a IDropInListItemRenderer as your renderer, your
"listData" property contains an "owner" property that holds a
reference to the parent TileList.


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

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

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

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





Re: [flexcoders] Can someone explain this to me

2006-02-08 Thread Manish Jethani
On 2/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> Ok I downloaded and installed the Adbote FlexBuilder 2 beta then I made a 
> project with the following code when I run it all I see is a blank screen no 
> label why is this?

Works for me!


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

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

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

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




Re: [flexcoders] set dataObject() and null properties

2006-02-08 Thread Manish Jethani
On 2/8/06, tobiaspatton <[EMAIL PROTECTED]> wrote:

> override public function set dataObject
> (value:Object):void
> {
> super.dataObject = value;
> trace( value.image, image);
>
> if( image != null )
> {
> image.source = value.image;
> }
> }

[snip]
> From the output we can see that the dataObject setter function is
> being called once when the image parameter is a real value, but for
> all subsequent calls, the image parameter is null.
>
> Why would this be? It's hard to set the source parameter of null.

Child objects are created in the component's "createChildren" method,
which is called only when the component is added to the display list -
which, in the case of cell renderers, is after their "dataObject"
property is set.  Property setters should be coded to assume that
child objects have not been created.  This is what I'd do:

 function set dataObject(value)
 {
   super.dataObject = value;
   invalidateDisplayList();
 }

 function updateDisplayList()
 {
  image.source = value.image;
 }

It's also more efficient if you set the image's source in updateDisplayList.


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

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

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

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





RE: [flexcoders] How to add

2006-02-08 Thread John Woo



Ely, I'm using flex 1.5, but I also like to know is there any solution in flex 2.Thanks a lot!JohnEly Greenfield <[EMAIL PROTECTED]> wrote:   Hi John. Are you using Flex 1.5, or Flex 2?   Thanks, Ely.-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wujunjr Sent: Wednesday, February 08, 2006 3:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to add  Hello,  I'm a newbie in flex(but have fruitful experience in java:). I tried following issues for several days but failed. Could you tell me how?  1.add a lable on the top of each column in a column chart.  2.set the color of a specified row in datagrid, I found it is possible to set the color of the
 column.  Thanks a lot!  John   -- 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  
	
		 Yahoo! Mail - Helps protect you from nasty viruses.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Got embed SWF to call a function in Flex

2006-02-08 Thread JesterXL
Hrm... this line:

myMC.myRect = this.source();   //get function reference.

I think is backwards.  Like, this.source() fires the function that shows the 
alert.  You're writing it like myMC is supposed to hold the return value of 
the source function, but the source function doesn't return anything. 
Additionally, while myMC.myRect is a reference to the function, does the box 
actually get drawn in the SWF when you click the button?

:: goes to try this + Jason's code ::


- Original Message - 
From: "sufibaba" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, February 08, 2006 9:47 PM
Subject: [flexcoders] Got embed SWF to call a function in Flex


Hi guys,

Check this out, if you make the following changes to Jason Wong's
little example, then SWF is able to call a function in Flex2.  I got
it to fire a function -- no sending of arguments yet.



http://www.macromedia.com/2005/mxml";
xmlns="*" layout="absolute">
   
   







In the myClip.as file -- By the way, in order to get jason's
Simple.swf to compile in the flash IDE, you'll need to change the
following:

1. MyClip movie Linkage from "MyClip" to "myClip"
2. Change the "MyClip.as" file name to "myClip"


Make the following changes to myClip.as
-

class myClip extends MovieClip

{


function set myRect(funcRef: Object): Void
{
_parent.lineStyle(2, 0xff);
_parent.moveTo(60, 60);
_parent.lineTo(200, 60);
_parent.lineTo(200, 100);
_parent.lineTo(60, 100);
_parent.lineTo(60, 60);


funcRef;

}


}

-

What should happen  If you click on the button it should popup an
Alert box displaying the word "callback"

Cheers,

Tim













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

<*> 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: Tilelist event question

2006-02-08 Thread sufibaba
To clarify the above situation, basically, below is the situation:

  Form1.mxml -- 
contains a Tilelist component that has a 
listItemRenderer="Thumbnail"

  Thumbnail.mxml ---
contains images

Question:  When the thumbnail is clicked, it sends an event to
Form1.mxml with the Id of the thumbnail.

Does anyone have a suggestion on how to do this with flex2.  Flex 1.5
coding seem to not work -- flex2 doesn't have listowner.

Thanks for any help on this.

Tim 





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

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

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

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




[flexcoders] Got embed SWF to call a function in Flex

2006-02-08 Thread sufibaba
Hi guys,

Check this out, if you make the following changes to Jason Wong's
little example, then SWF is able to call a function in Flex2.  I got
it to fire a function -- no sending of arguments yet.



http://www.macromedia.com/2005/mxml";
xmlns="*" layout="absolute">
   
   


   




In the myClip.as file -- By the way, in order to get jason's
Simple.swf to compile in the flash IDE, you'll need to change the
following:

1. MyClip movie Linkage from "MyClip" to "myClip" 
2. Change the "MyClip.as" file name to "myClip"


Make the following changes to myClip.as
-

class myClip extends MovieClip

{

 
function set myRect(funcRef: Object): Void
{
_parent.lineStyle(2, 0xff);
_parent.moveTo(60, 60);
_parent.lineTo(200, 60);
_parent.lineTo(200, 100);
_parent.lineTo(60, 100);
_parent.lineTo(60, 60);
 

funcRef;

}

 
}

-

What should happen  If you click on the button it should popup an
Alert box displaying the word "callback"

Cheers,

Tim













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

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

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

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




[flexcoders] Can someone explain this to me

2006-02-08 Thread nostra72




Ok I downloaded and installed the Adbote FlexBuilder 2 beta then I made a project with the following code when I run it all I see is a blank screen no label why is this?
http://www.macromedia.com/2005/mxml" xmlns="*" layout="absolute">
 
  





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] e4x XML question

2006-02-08 Thread Manish Jethani
On 2/8/06, thunderstumpgesatwork <[EMAIL PROTECTED]> wrote:

> x.employee.(lastName == "McGee") // nodes with lastName "McGee"
>
> I need to do this dynamically.. what if I don't know the element name
> (the 'lastName' portion above) ? How can I substitute a String
> variable for the 'lastName' ?

Try this:

 x.employee.([variable] == "McGee")


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

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

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

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





[flexcoders] e4x XML question

2006-02-08 Thread thunderstumpgesatwork
Hi,

I'm trying to filter a set of nodes based on an element value. For
instance in the documentation it shows I can do this:

x.employee.(lastName == "McGee") // nodes with lastName "McGee"

I need to do this dynamically.. what if I don't know the element name
(the 'lastName' portion above) ? How can I substitute a String
variable for the 'lastName' ?

// I need something like this..
var filterField:String="lastName";  // these will be dynamic
var filterValue:String="McGee"; // these will be dynamic

x.employee.(filterField == filterValue) // this doesn't work...


I sure hope there's something relatively simple. I sure can't think of
it now!

Thanks in advance,
Thunder






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

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

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

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




RE: [flexcoders] Application Background

2006-02-08 Thread Matt Chotin










Pooja,

 

One mail to this list is fine as the
position is relevant, but the personal emails aren’t necessary (and in
fact are a big no-no) and the responses to unrelated posts really are uncool.

 

If they haven’t already I’m
sure you will get banned by the admins if it keeps up.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Wednesday, February 08, 2006
1:43 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Application Background



 

Is it just me or is spam like this
annoying? At least spend the time to be grammatically correct - and stop
sending out personal emails too.



 

_

Jonathan Miranda

Flexible Master of the Web

"In the
game of chess, it's important to never let your opponent see your pieces."





 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pooja Sharma
Sent: Wednesday, February 08, 2006
2:18 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Application Background



 



Attention all Flex users!!





 





I am a Resource manager with a consulting firm.





 





I wanted to check If anyone is interested for a long term on-site





contract as Flex developer in Midwest.





 





I need help to find right candidate, my job is at stake ..





as I want to go for 10 days leave next week for a personal 





contact programme, before going there I have to close this 





opening.





 





It's been 4 months I could not give any positive result.





 





looking forward for assistance ..





 





Pooja 

"Mehdi, Agha"
<[EMAIL PROTECTED]> wrote:





Hi all,

Is there any way to make the application
background transparent so that it always gets the background of whatever html
container it sits on?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell  : 209.275.0482

Fax  :  408.284.2766





 









Jiyo cricket on Yahoo!
India cricket
Yahoo!
Messenger Mobile Stay in touch with your buddies all the time. 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Flex Components 508 Compliance

2006-02-08 Thread Mike Britton
Hi, I'm new to this list but am an occasional poster on Flashcoders. 
My question: Will the new Flex components (when they come out) be 508
compliant?  If so, will they be immediately available for use in Flash 8?

Thanks in advance,

Mike Britton
mikebritton.com





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

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

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

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




[flexcoders] set dataObject() and null properties

2006-02-08 Thread tobiaspatton
Hello;

I'm trying to get some understanding of renderers for lists and data 
grids. I'm working with, and adapting, the sample code presented in 
the Flex 2 documentation. Here's what I have (catalog.xml is from 
the flexstore example):

-- prototype.mxml -


http://www.macromedia.com/2005/mxml"; 
xmlns:local="*">






- Thumbnail.mxml -


http://www.macromedia.com/2005/mxml";
 horizontalAlign="center"
 verticalGap="0" 
 borderStyle="none" >




 
  


-- debugger output --

[SWF] C:\Documents and Settings\tpatton\My Documents\Flex\Prototype1
\bin\Prototype1-debug.swf - 615,987 bytes after decompression
assets/pic/Nokia_6010.gif 
Application_5._HorizontalList1:HorizontalList.ListBaseContentHolder_1
0.hiddenItem:VBox.image:Image
assets/pic/Nokia_6010.gif null
assets/pic/Nokia_3100_blue.gif null
assets/pic/Nokia_3100_pink.gif null
assets/pic/Nokia_3120.gif null
assets/pic/Nokia_3220.gif null
assets/pic/Nokia_3650.gif null
assets/pic/Nokia_6820.gif null
assets/pic/Nokia_6670.gif null
assets/pic/Nokia_6620.gif null
[Unload SWF] C:\Documents and Settings\tpatton\My 
Documents\Flex\Prototype1\bin\Prototype1-debug.swf


>From the output we can see that the dataObject setter function is 
being called once when the image parameter is a real value, but for 
all subsequent calls, the image parameter is null.

Why would this be? It's hard to set the source parameter of null.

Thanks.
Tobias.









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

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

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

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





Re: [flexcoders] embed a movieclip

2006-02-08 Thread nacho



thanksit works perfectlybuf now, how can i make a .gotoAndPlay to any frame in this SWF from FLEX?thanks againOn 2/8/06, Roger Gonzalez
 <[EMAIL PROTECTED]> wrote:



AS:

class Whatever
{
  [Embed(source="library.swf", symbol="asset")]
  public var a:Class;
  public function doStuff(parent:IDisplayObject):void
  {
    parent.addChild( new a() );
  }
}
 
or MXML:



There's also a way to do it from CSS, but I think you get the idea.

-rg


> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com] On Behalf Of nacho
> Sent: Wednesday, February 08, 2006 7:20 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] embed a movieclip
> 
> the section "embedding resources" in flex help it's not very 
> good i need an example of how to maniputale and control the 
> movieclip from flex
> 
> any ideas?
> 
> 
> On 2/8/06, Dominick Accattato <[EMAIL PROTECTED]> wrote:
> 
>   nacho:
>    
>   this can be done.  All sorts of resources can be 
> embedded such as sounds, mc's, images.  I suggest you take a 
> look at the section "Embedding Resources" in the help section.
>   
>    
>   On 2/8/06, nacho < [EMAIL PROTECTED] 
> [EMAIL PROTECTED]> > wrote: 
> 
>     i'm playing with Flex 2 beta 1 and I don't know 
> if it's possible to embed a .SWF file, made it with flash8, 
> as a MovieClip 
>     it's possible?
>     
>     -- 
>     
>     // nacho 
>     
>     
>     --
>     Flexcoders Mailing List
>     FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.t

> xt  
>     Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
>   
>     
>     
>     
>     
>     SPONSORED LINKS 
> Web site design development 
>  nt&w1=Web+site+design+development&w2=Computer+software+develop
> ment&w3=Software+design+and+development&w4=Macromedia+flex&w5=
Software+development+best+practice&c=5&s=166>
&.sig=L-4QTvxB_quFDtMyhrQaHQ>    Computer software 
> development 
>  ment&w1=Web+site+design+development&w2=Computer+software+devel
opment&w3=Software+design+and+development&w4=Macromedia+flex&w5>
=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfW
udJSe1lLjHw>    Software design and development >

=Computer+software+development&w3=Software+design+and+developm
ent&w4=Macromedia+flex&w5=Software+development+best+practice&c=5>
&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>    
> Macromedia flex 
> 
=Software+design+and+development&w4=Macromedia+flex&w5=Softwar
e+development+best+practice&c=5&s=166&.sig=OO6nPIrz7> _EpZI36cYzBjw>
Software development best practice 
> 
=Computer+software+development&w3=Software+design+and+developm
ent&w4=Macromedia+flex&w5=Software+development+best+practice&c=5>
&s=166&.sig=f89quyyulIDsnABLD6IXIw>    
> 
> 
> 
>     YAHOO! GROUPS LINKS 
> 
> 
>       
>     *   Visit your group "flexcoders 
>  " on the web.
>        
>       
>     *   To unsubscribe from this group, send 
> an email to:
>         
> [EMAIL PROTECTED] 
> [EMAIL PROTECTED]?subject=Unsubscribe> 
>        
>       
>     *   Your use of Yahoo! Groups is subject 
> to the Yahoo! Terms of Service  . 
> 
> 
> 
> 
> 
> 
> 
>   --
>   Flexcoders Mailing List
>   FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

>   Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
>   
>   
>   
>   
>   SPONSORED LINKS 
> Web site design development 
>  nt&w1=Web+site+design+development&w2=Computer+software+develop
> ment&w3=Software+design+and+development&w4=Macromedia+flex&w5=
Software+development+best+practice&c=5&s=166>
&.sig=L-4QTvxB_quFDtMyhrQaHQ>    Computer software 
> development 
>  ment&w1=Web+site+design+development&w2=Computer+software+devel
opment&w3=Software+design+and+development&w4=Macromedia+flex&w5>
=Software+development+best+practi

Re: [flexcoders] embed a movieclip

2006-02-08 Thread Jason Y. Kwong



For what it's worth, here's a quick little example:http://corefile.net/LoadSimpleSWF.zip






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] embed a movieclip

2006-02-08 Thread joeb
I understand what he's saying; I even tried it some time back.  It does work
with some unclear limitations.

It's just not supported, unfortunately.  Hence the lack of clarity.

If you feel strongly that this is important (and I do), hammer Adobe about
supporting what seems to work anyway at the moment, so they don't yank it out
again.




Quoting JesterXL <[EMAIL PROTECTED]>:

> But dude, he's saying he can set a getter in a Flash 8 SWF that is loaded
> in; that means you can talk to dynamically loaded SWF's if I am
> understanding correctly.  I always tried with functions, not getter/setters
> so maybe this will work!
>
> - Original Message -
> From: "Joe Berkovitz" <[EMAIL PROTECTED]>
> To: 
> Sent: Wednesday, February 08, 2006 5:23 PM
> Subject: Re: [flexcoders] embed a movieclip
>
>
> I played with this approach quite a lot a few months back, before giving
> up on it.  This technique is very limited and there is a lot of data
> that will not make it through the AS2/AS3 boundary (there are two
> separate AVMs running side by side in the 8.5 player, with totally
> different internal data structures).  In other words, you can't "set" an
> arbitrary object on your property.  Strings appear to work OK.
>
> What's much more sobering is that in both public postings and private
> conversations, Adobe has made it clear that this limited communication
> is not supported and will probably never be supported.  It could stop
> working in the next beta and they wouldn't bat an eye.  I recommend
> using LocalConnection to communicate between the movies, if you want
> something that you know you won't have to rip out tomorrow.  Maybe you
> don't care about that ;)
>
> You don't have to put an LC in each Flash 8 SWF.  You can have a
> "dispatcher" SWF that manages the LC communication and talks with the
> other Flash SWFs via something in _global.
>
> It's pretty awful, but there are no good choices here.
>
> ... .  ..   .j
>
>
> JesterXL wrote:
>> ...whoa... so, if I have an MC inside of the Flash 8 SWF, I can in fact
>> run code through a Flash Player 8.5 SWF?  Can you post your example
>> somewhere, this would be really valuable!
>>
>> - Original Message -
>> *From:* Jason Y. Kwong 
>> *To:* flexcoders@yahoogroups.com 
>> *Sent:* Wednesday, February 08, 2006 4:42 PM
>> *Subject:* Re: [flexcoders] embed a movieclip
>>
>> Yes, I was able to successfully call a setter property.  I put arbitrary
>> code in the function and it worked out fine.  The only gotcha is that
>> the getter/setter must be attached to a MovieClip instance inside the
>> SWF.  So you have to associate a class with a library MC, place it on
>> the stage and give it an instance name.  Then in the Flex code:
>>
>> var swf: MovieClip = MovieClip(myloader.content);
>> var mc: MovieClip = MovieClip(swf.getChildByName("myMC"));
>> mc.myText = "xxx";   //setter
>>
>> I'm really hoping there's an easier way...or this gets fixed in the next
>> release.
>>
>>
>> On 2/8/06, *JesterXL* <[EMAIL PROTECTED]
>> > wrote:
>>
>> Have you successfully set a getter/setter property?
>>
>> - Original Message -
>> *From:* Jason Y. Kwong 
>> *To:* flexcoders@yahoogroups.com 
>> *Sent:* Wednesday, February 08, 2006 3:08 PM
>> *Subject:* Re: [flexcoders] embed a movieclip
>>
>> Ok, I found something interesting about this.  You can actually
>> access properties in the loaded swf but trying to call a function
>> messes up.  The function is actually there, but it isn't recognized
>> as a function.  For example, my Flash8 swf has a function named
>> "callMe".  I load this into my Flex2 app and then trace "
>> swf.callMe" and I actually get "[object Object]".  But if try to
>> call it via swf.callMe(), I get a runtime error: Call attempted on
>> an object that is not a function.
>>
>> Ironically, you can actually access getter/setter functions.  Since
>> they're considered properties, I guess they're good to go.  It's a
>> useable workaround at this point.
>>
>>
>> On 2/8/06, *Jason Y. Kwong* <[EMAIL PROTECTED]
>> > wrote:
>>
>> I'm actually trying to do something similar.  What I've found so
>> far should be able to help you.  You need to load the SWF via
>> the Loader component and then use its content property:
>>
>> > complete="onComplete()"/>
>>
>> private function onComplete(): void
>> {
>>var swf: MovieClip = MovieClip(myloader.content);
>>swf.gotoAndPlay(...);
>> }
>>
>> My problem is that I can't access additional methods/properties
>> that are declared in the loaded swf.  I've seen a Flex 1.5
>> example where you can just go ahead and call those methods on
>> the 

[flexcoders] CSS not applying 1.5

2006-02-08 Thread Sauro, Nick
Title: Application Background












Hey coders, sorry to bombard people
today(this is number 3 :-x ).  

 

I have a css question this time:

 

I have populated my global.css style sheet
with various styles (etc Panel{…}, and selectors .footerBox{…}). 
Now, these styles work fine with any component within the Application tag,
however, when I try to apply a selector (filterBox) in an element in a
different mxml file, it doesn’t work.  Am I missing anything?

 



 

 However,  tag works just fine.

 

I tried doing this with global.css, and
alternately with a blank global.css and an imported independent style sheet
with the same values.  Both ways, I run into the same problem

 

Thanks everybody.

 

Nick











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] embed a movieclip

2006-02-08 Thread JesterXL
But dude, he's saying he can set a getter in a Flash 8 SWF that is loaded 
in; that means you can talk to dynamically loaded SWF's if I am 
understanding correctly.  I always tried with functions, not getter/setters 
so maybe this will work!

- Original Message - 
From: "Joe Berkovitz" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, February 08, 2006 5:23 PM
Subject: Re: [flexcoders] embed a movieclip


I played with this approach quite a lot a few months back, before giving
up on it.  This technique is very limited and there is a lot of data
that will not make it through the AS2/AS3 boundary (there are two
separate AVMs running side by side in the 8.5 player, with totally
different internal data structures).  In other words, you can't "set" an
arbitrary object on your property.  Strings appear to work OK.

What's much more sobering is that in both public postings and private
conversations, Adobe has made it clear that this limited communication
is not supported and will probably never be supported.  It could stop
working in the next beta and they wouldn't bat an eye.  I recommend
using LocalConnection to communicate between the movies, if you want
something that you know you won't have to rip out tomorrow.  Maybe you
don't care about that ;)

You don't have to put an LC in each Flash 8 SWF.  You can have a
"dispatcher" SWF that manages the LC communication and talks with the
other Flash SWFs via something in _global.

It's pretty awful, but there are no good choices here.

... .  ..   .j


JesterXL wrote:
> ...whoa... so, if I have an MC inside of the Flash 8 SWF, I can in fact
> run code through a Flash Player 8.5 SWF?  Can you post your example
> somewhere, this would be really valuable!
>
> - Original Message -
> *From:* Jason Y. Kwong 
> *To:* flexcoders@yahoogroups.com 
> *Sent:* Wednesday, February 08, 2006 4:42 PM
> *Subject:* Re: [flexcoders] embed a movieclip
>
> Yes, I was able to successfully call a setter property.  I put arbitrary
> code in the function and it worked out fine.  The only gotcha is that
> the getter/setter must be attached to a MovieClip instance inside the
> SWF.  So you have to associate a class with a library MC, place it on
> the stage and give it an instance name.  Then in the Flex code:
>
> var swf: MovieClip = MovieClip(myloader.content);
> var mc: MovieClip = MovieClip(swf.getChildByName("myMC"));
> mc.myText = "xxx";   //setter
>
> I'm really hoping there's an easier way...or this gets fixed in the next
> release.
>
>
> On 2/8/06, *JesterXL* <[EMAIL PROTECTED]
> > wrote:
>
> Have you successfully set a getter/setter property?
>
> - Original Message -
> *From:* Jason Y. Kwong 
> *To:* flexcoders@yahoogroups.com 
> *Sent:* Wednesday, February 08, 2006 3:08 PM
> *Subject:* Re: [flexcoders] embed a movieclip
>
> Ok, I found something interesting about this.  You can actually
> access properties in the loaded swf but trying to call a function
> messes up.  The function is actually there, but it isn't recognized
> as a function.  For example, my Flash8 swf has a function named
> "callMe".  I load this into my Flex2 app and then trace "
> swf.callMe" and I actually get "[object Object]".  But if try to
> call it via swf.callMe(), I get a runtime error: Call attempted on
> an object that is not a function.
>
> Ironically, you can actually access getter/setter functions.  Since
> they're considered properties, I guess they're good to go.  It's a
> useable workaround at this point.
>
>
> On 2/8/06, *Jason Y. Kwong* <[EMAIL PROTECTED]
> > wrote:
>
> I'm actually trying to do something similar.  What I've found so
> far should be able to help you.  You need to load the SWF via
> the Loader component and then use its content property:
>
>  complete="onComplete()"/>
>
> private function onComplete(): void
> {
>var swf: MovieClip = MovieClip(myloader.content);
>swf.gotoAndPlay(...);
> }
>
> My problem is that I can't access additional methods/properties
> that are declared in the loaded swf.  I've seen a Flex 1.5
> example where you can just go ahead and call those methods on
> the MovieClip instance, but that doesn't seem to work in Flex
> 2.  I've tried casting it to an Object to get around the
> compiler, but I just end up with a runtime error.
>
>
>
> On 2/8/06, *nacho* < [EMAIL PROTECTED]
> > wrote:
>
> what I want to do is load a .SWF file and control the
> timeline of this movieclip, with gotoAndPlay, etc...
> but i don't know how to load it
>
>
>
>
>
> --
> Flexcoders Mailing

Re: [flexcoders] embed a movieclip

2006-02-08 Thread Joe Berkovitz
Oh, and...

No communication techniques work for embedded clips, they only work for 
loaded external clips.  Embedded clips can't contain any AS code whatsoever.

... .  ..   .j


Joe Berkovitz wrote:
> I played with this approach quite a lot a few months back, before giving 
> up on it.  This technique is very limited and there is a lot of data 
> that will not make it through the AS2/AS3 boundary (there are two 
> separate AVMs running side by side in the 8.5 player, with totally 
> different internal data structures).  In other words, you can't "set" an 
> arbitrary object on your property.  Strings appear to work OK.
> 
> What's much more sobering is that in both public postings and private 
> conversations, Adobe has made it clear that this limited communication 
> is not supported and will probably never be supported.  It could stop 
> working in the next beta and they wouldn't bat an eye.  I recommend 
> using LocalConnection to communicate between the movies, if you want 
> something that you know you won't have to rip out tomorrow.  Maybe you 
> don't care about that ;)
> 
> You don't have to put an LC in each Flash 8 SWF.  You can have a 
> "dispatcher" SWF that manages the LC communication and talks with the 
> other Flash SWFs via something in _global.
> 
> It's pretty awful, but there are no good choices here.
> 
> ... .  ..   .j
> 
> 
> JesterXL wrote:
> 
>>...whoa... so, if I have an MC inside of the Flash 8 SWF, I can in fact 
>>run code through a Flash Player 8.5 SWF?  Can you post your example 
>>somewhere, this would be really valuable!
>> 
>>- Original Message -
>>*From:* Jason Y. Kwong 
>>*To:* flexcoders@yahoogroups.com 
>>*Sent:* Wednesday, February 08, 2006 4:42 PM
>>*Subject:* Re: [flexcoders] embed a movieclip
>>
>>Yes, I was able to successfully call a setter property.  I put arbitrary 
>>code in the function and it worked out fine.  The only gotcha is that 
>>the getter/setter must be attached to a MovieClip instance inside the 
>>SWF.  So you have to associate a class with a library MC, place it on 
>>the stage and give it an instance name.  Then in the Flex code:
>>
>>var swf: MovieClip = MovieClip(myloader.content);
>>var mc: MovieClip = MovieClip(swf.getChildByName("myMC"));
>>mc.myText = "xxx";   //setter
>>
>>I'm really hoping there's an easier way...or this gets fixed in the next 
>>release.
>>
>>
>>On 2/8/06, *JesterXL* <[EMAIL PROTECTED] 
>>> wrote:
>>
>>Have you successfully set a getter/setter property?
>> 
>>- Original Message -
>>*From:* Jason Y. Kwong 
>>*To:* flexcoders@yahoogroups.com 
>>*Sent:* Wednesday, February 08, 2006 3:08 PM
>>*Subject:* Re: [flexcoders] embed a movieclip
>>
>>Ok, I found something interesting about this.  You can actually
>>access properties in the loaded swf but trying to call a function
>>messes up.  The function is actually there, but it isn't recognized
>>as a function.  For example, my Flash8 swf has a function named
>>"callMe".  I load this into my Flex2 app and then trace "
>>swf.callMe" and I actually get "[object Object]".  But if try to
>>call it via swf.callMe(), I get a runtime error: Call attempted on
>>an object that is not a function.
>>
>>Ironically, you can actually access getter/setter functions.  Since
>>they're considered properties, I guess they're good to go.  It's a
>>useable workaround at this point.
>>
>>
>>On 2/8/06, *Jason Y. Kwong* <[EMAIL PROTECTED]
>>> wrote:
>>
>>I'm actually trying to do something similar.  What I've found so
>>far should be able to help you.  You need to load the SWF via
>>the Loader component and then use its content property:
>>
>>>complete="onComplete()"/>
>>
>>private function onComplete(): void
>>{
>>   var swf: MovieClip = MovieClip(myloader.content);
>>   swf.gotoAndPlay(...);
>>}
>>
>>My problem is that I can't access additional methods/properties
>>that are declared in the loaded swf.  I've seen a Flex 1.5
>>example where you can just go ahead and call those methods on
>>the MovieClip instance, but that doesn't seem to work in Flex
>>2.  I've tried casting it to an Object to get around the
>>compiler, but I just end up with a runtime error.
>>
>>
>>
>>On 2/8/06, *nacho* < [EMAIL PROTECTED]
>>> wrote:
>>
>>what I want to do is load a .SWF file and control the
>>timeline of this movieclip, with gotoAndPlay, etc...
>>but i don't know how to load it
>>
>>
>>
>>
>>
>>--
>>Flexcoders Mailing List
>>FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>

Re: [flexcoders] embed a movieclip

2006-02-08 Thread Joe Berkovitz
I played with this approach quite a lot a few months back, before giving 
up on it.  This technique is very limited and there is a lot of data 
that will not make it through the AS2/AS3 boundary (there are two 
separate AVMs running side by side in the 8.5 player, with totally 
different internal data structures).  In other words, you can't "set" an 
arbitrary object on your property.  Strings appear to work OK.

What's much more sobering is that in both public postings and private 
conversations, Adobe has made it clear that this limited communication 
is not supported and will probably never be supported.  It could stop 
working in the next beta and they wouldn't bat an eye.  I recommend 
using LocalConnection to communicate between the movies, if you want 
something that you know you won't have to rip out tomorrow.  Maybe you 
don't care about that ;)

You don't have to put an LC in each Flash 8 SWF.  You can have a 
"dispatcher" SWF that manages the LC communication and talks with the 
other Flash SWFs via something in _global.

It's pretty awful, but there are no good choices here.

... .  ..   .j


JesterXL wrote:
> ...whoa... so, if I have an MC inside of the Flash 8 SWF, I can in fact 
> run code through a Flash Player 8.5 SWF?  Can you post your example 
> somewhere, this would be really valuable!
>  
> - Original Message -
> *From:* Jason Y. Kwong 
> *To:* flexcoders@yahoogroups.com 
> *Sent:* Wednesday, February 08, 2006 4:42 PM
> *Subject:* Re: [flexcoders] embed a movieclip
> 
> Yes, I was able to successfully call a setter property.  I put arbitrary 
> code in the function and it worked out fine.  The only gotcha is that 
> the getter/setter must be attached to a MovieClip instance inside the 
> SWF.  So you have to associate a class with a library MC, place it on 
> the stage and give it an instance name.  Then in the Flex code:
> 
> var swf: MovieClip = MovieClip(myloader.content);
> var mc: MovieClip = MovieClip(swf.getChildByName("myMC"));
> mc.myText = "xxx";   //setter
> 
> I'm really hoping there's an easier way...or this gets fixed in the next 
> release.
> 
> 
> On 2/8/06, *JesterXL* <[EMAIL PROTECTED] 
> > wrote:
> 
> Have you successfully set a getter/setter property?
>  
> - Original Message -
> *From:* Jason Y. Kwong 
> *To:* flexcoders@yahoogroups.com 
> *Sent:* Wednesday, February 08, 2006 3:08 PM
> *Subject:* Re: [flexcoders] embed a movieclip
> 
> Ok, I found something interesting about this.  You can actually
> access properties in the loaded swf but trying to call a function
> messes up.  The function is actually there, but it isn't recognized
> as a function.  For example, my Flash8 swf has a function named
> "callMe".  I load this into my Flex2 app and then trace "
> swf.callMe" and I actually get "[object Object]".  But if try to
> call it via swf.callMe(), I get a runtime error: Call attempted on
> an object that is not a function.
> 
> Ironically, you can actually access getter/setter functions.  Since
> they're considered properties, I guess they're good to go.  It's a
> useable workaround at this point.
> 
> 
> On 2/8/06, *Jason Y. Kwong* <[EMAIL PROTECTED]
> > wrote:
> 
> I'm actually trying to do something similar.  What I've found so
> far should be able to help you.  You need to load the SWF via
> the Loader component and then use its content property:
> 
>  complete="onComplete()"/>
> 
> private function onComplete(): void
> {
>var swf: MovieClip = MovieClip(myloader.content);
>swf.gotoAndPlay(...);
> }
> 
> My problem is that I can't access additional methods/properties
> that are declared in the loaded swf.  I've seen a Flex 1.5
> example where you can just go ahead and call those methods on
> the MovieClip instance, but that doesn't seem to work in Flex
> 2.  I've tried casting it to an Object to get around the
> compiler, but I just end up with a runtime error.
> 
> 
> 
> On 2/8/06, *nacho* < [EMAIL PROTECTED]
> > wrote:
> 
> what I want to do is load a .SWF file and control the
> timeline of this movieclip, with gotoAndPlay, etc...
> but i don't know how to load it
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> 
> 
> 
> SPONSORED LINKS
> Web site design development
> 
> 

Re: [flexcoders] embed a movieclip

2006-02-08 Thread JesterXL





...whoa... so, if I have an MC inside of the Flash 
8 SWF, I can in fact run code through a Flash Player 8.5 SWF?  Can you post 
your example somewhere, this would be really valuable!
 
- Original Message - 
From: Jason Y. Kwong 

To: flexcoders@yahoogroups.com 
Sent: Wednesday, February 08, 2006 4:42 PM
Subject: Re: [flexcoders] embed a movieclip
Yes, I was able to successfully call a setter property.  I 
put arbitrary code in the function and it worked out fine.  The only gotcha 
is that the getter/setter must be attached to a MovieClip instance inside the 
SWF.  So you have to associate a class with a library MC, place it on the 
stage and give it an instance name.  Then in the Flex code: var 
swf: MovieClip = MovieClip(myloader.content);var mc: MovieClip = 
MovieClip(swf.getChildByName("myMC"));mc.myText = "xxx";   
//setterI'm really hoping there's an easier way...or this gets fixed in 
the next release. 
On 2/8/06, JesterXL 
<[EMAIL PROTECTED]> 
wrote:

  Have you successfully set a getter/setter 
  property?
   
  - 
  Original Message - 
  From: 
  Jason Y. Kwong 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, February 08, 2006 3:08 PM
  Subject: Re: [flexcoders] embed a movieclip
  
  Ok, I found something interesting 
  about this.  You can actually access properties in the loaded swf but 
  trying to call a function messes up.  The function is actually there, but 
  it isn't recognized as a function.  For example, my Flash8 swf has a 
  function named "callMe".  I load this into my Flex2 app and then trace " 
  swf.callMe" and I actually get "[object Object]".  But if try to call it 
  via swf.callMe(), I get a runtime error: Call attempted on an object that is 
  not a function.Ironically, you can actually access getter/setter 
  functions.  Since they're considered properties, I guess they're good to 
  go.  It's a useable workaround at this point. 
  On 2/8/06, Jason Y. 
  Kwong <[EMAIL PROTECTED]> 
  wrote: 
  I'm 
actually trying to do something similar.  What I've found so far should 
be able to help you.  You need to load the SWF via the Loader component 
and then use its content property:private function 
onComplete(): void{   var swf: MovieClip = 
MovieClip(myloader.content);   
swf.gotoAndPlay(...);}My problem is that I can't access 
additional methods/properties that are declared in the loaded swf.  
I've seen a Flex 1.5 example where you can just go ahead and call those 
methods on the MovieClip instance, but that doesn't seem to work in Flex 
2.  I've tried casting it to an Object to get around the compiler, but 
I just end up with a runtime error. 

On 2/8/06, nacho 
< [EMAIL PROTECTED]> 
wrote: 
what 
  I want to do is load a .SWF file and control the timeline of this 
  movieclip, with gotoAndPlay, etc...but i don't know how to load 
it
  --Flexcoders Mailing 
  ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  SPONSORED 
  LINKS 
  


  Web site design development 
  Computer software development 
  Software design and development 

  Macromedia flex 
  Software development best practice 
  
  
  
  YAHOO! GROUPS LINKS 
  
 Visit your group "flexcoders" on the web.  
 To unsubscribe from this group, send an email 
to:  [EMAIL PROTECTED]  

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service . 
  
  
  





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Application Background

2006-02-08 Thread Jonathan Miranda










Is it just me or is spam like this
annoying? At least spend the time to be grammatically correct - and stop
sending out personal emails too.



 

_

Jonathan Miranda

Flexible Master of the Web

"In the
game of chess, it's important to never let your opponent see your pieces."





 

From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pooja Sharma
Sent: Wednesday, February 08, 2006
2:18 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Application Background



 



Attention all Flex users!!





 





I am a Resource manager with a consulting firm.





 





I wanted to check If anyone is interested for a long term on-site





contract as Flex developer in Midwest.





 





I need help to find right candidate, my job is at stake ..





as I want to go for 10 days leave next week for a personal 





contact programme, before going there I have to close this 





opening.





 





It's been 4 months I could not give any positive result.





 





looking forward for assistance ..





 





Pooja 

"Mehdi, Agha"
<[EMAIL PROTECTED]> wrote:





Hi all,

Is there any way to make the application
background transparent so that it always gets the background of whatever html
container it sits on?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell  : 209.275.0482

Fax  :  408.284.2766





 









Jiyo cricket on Yahoo!
India cricket
Yahoo!
Messenger Mobile Stay in touch with your buddies all the time. 







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] embed a movieclip

2006-02-08 Thread Jason Y. Kwong



Yes, I was able to successfully call a setter property.  I put arbitrary code in the function and it worked out fine.  The only gotcha is that the getter/setter must be attached to a MovieClip instance inside the SWF.  So you have to associate a class with a library MC, place it on the stage and give it an instance name.  Then in the Flex code:
var swf: MovieClip = MovieClip(myloader.content);var mc: MovieClip = MovieClip(swf.getChildByName("myMC"));mc.myText = "xxx";   //setterI'm really hoping there's an easier way...or this gets fixed in the next release.
On 2/8/06, JesterXL <[EMAIL PROTECTED]> wrote:









Have you successfully set a getter/setter 
property?
 
- Original Message - 
From: 
Jason Y. Kwong 

To: flexcoders@yahoogroups.com 
Sent: Wednesday, February 08, 2006 3:08 PM
Subject: Re: [flexcoders] embed a movieclip
Ok, I found something interesting about this.  You can 
actually access properties in the loaded swf but trying to call a function 
messes up.  The function is actually there, but it isn't recognized as a 
function.  For example, my Flash8 swf has a function named "callMe".  
I load this into my Flex2 app and then trace " swf.callMe" and I actually get 
"[object Object]".  But if try to call it via swf.callMe(), I get a runtime 
error: Call attempted on an object that is not a function.Ironically, 
you can actually access getter/setter functions.  Since they're considered 
properties, I guess they're good to go.  It's a useable workaround at this 
point. 
On 2/8/06, Jason Y. 
Kwong <[EMAIL PROTECTED]> 
wrote:
I'm 
  actually trying to do something similar.  What I've found so far should 
  be able to help you.  You need to load the SWF via the Loader component 
  and then use its content property:private function 
  onComplete(): void{   var swf: MovieClip = 
  MovieClip(myloader.content);   
  swf.gotoAndPlay(...);}My problem is that I can't access additional 
  methods/properties that are declared in the loaded swf.  I've seen a Flex 
  1.5 example where you can just go ahead and call those methods on the 
  MovieClip instance, but that doesn't seem to work in Flex 2.  I've tried 
  casting it to an Object to get around the compiler, but I just end up with a 
  runtime error. 
  
  On 2/8/06, nacho 
  < [EMAIL PROTECTED]> 
  wrote:
  what 
I want to do is load a .SWF file and control the timeline of this movieclip, 
with gotoAndPlay, etc...but i don't know how to load 
  it





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



  















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Re: How to use SharedObject.getRemote with Flex 2 / AS3

2006-02-08 Thread Brian Lesser
Hi Philippe,
I went back and tried creating the SharedObject on the server side 
first. It didn't make any difference. Since SharedObject.getRemote() 
returns null al the time I can't check the data property on the client 
side. I've checked and the server is doing what it should.
Yours truly,
-Brian

Philippe Maegerman wrote:

>Have you tried creating the SO server side first? in the applicationStart 
>handler maybe, and see if it make any difference?
>Maybe also try to check SO.data.length.
> 
>Philippe
>
>
>
>From: flexcoders@yahoogroups.com on behalf of Matt Chotin
>Sent: Mon 2/6/2006 6:45
>To: flexcoders@yahoogroups.com
>Subject: RE: [flexcoders] Re: How to use SharedObject.getRemote with Flex 2 / 
>AS3
>
>
>http://www.macromedia.com/go/wish.  I'm not sure how much testing has
>been done yet with AS3 and FMS.
>
>Matt
>
>-Original Message-
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
>Behalf Of Brian Lesser
>Sent: Saturday, February 04, 2006 8:15 PM
>To: flexcoders@yahoogroups.com
>Subject: Re: [flexcoders] Re: How to use SharedObject.getRemote with
>Flex 2 / AS3
>
>Yeah,
>It looks broken to me too. I went and tried a simple test and got the 
>following error:
>
>TypeError: Error #1009: null has no properties.
>at flex2FMS/flex2FMS::netStatus()
>
>Where do we file bug reports again?
>Yours truly,
>-Brian
>
>
>flexargg wrote:
>
>  
>
>>Hi Brian,
>>
>>After adding your three lines, SharedObject.getRemote return NULL 
>>again !!!
>>
>>--- In flexcoders@yahoogroups.com, Brian Lesser <[EMAIL PROTECTED]> wrote:
>>
>>
>  
>


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



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

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

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

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





Re: [flexcoders] Application Background

2006-02-08 Thread Pooja Sharma



Attention all Flex users!!     I am a Resource manager with a consulting firm.     I wanted to check If anyone is interested for a long term on-site  contract as Flex developer in Midwest.     I need help to find right candidate, my job is at stake ..  as I want to go for 10 days leave next week for a personal   contact programme, before going there I have to close this   opening.     It's been 4 months I could not give any positive result.     looking forward for assistance ..     Pooja "Mehdi, Agha" <[EMAIL PROTECTED]> wrote:  Hi all,  Is there any way to make the application background transparent so that it always gets the background of whatever html container it sits on?  Thanks  Agha Mehdi  IDT - eBusiness Program Manager  Work: 408.284.8239  Cell  : 209.275.0482  Fax  :  408.284.2766
	

	
		 
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Pooja Sharma



Hi !     Please let me know if anybody is looking for on-site long term   contract as Flex developer.     Thanks   PoojaJonas Windey <[EMAIL PROTECTED]> wrote:  Yea, that example works too for me, I think the problem is somewhere else.private function setLogVPosition():void{  txtLog.vPosition = txtLog.maxVPosition;  }If I trigger this function on a button click, it worksBut I want to use it in a function that changes the txtLog's text, likethis:private function socketDataHandler(event:ProgressEvent):void {  txtLog.text += "\n" +
 oSocket.readUTFBytes(oSocket.bytesAvailable);      setLogVPosition();}And this one doesn't work. It sets the text with the correct data, but itcan't set the VPosition. It seems it has to be wired to some clientsideevent, and can't be triggered from code. Is that correct?-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of Manish JethaniSent: dinsdag 7 februari 2006 19:29To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex 2.0 beta TextArea questionOn 2/7/06, Jonas Windey <[EMAIL PROTECTED]> wrote:>> How would I set the scrollPosition of a textarea to it's maximum position?I'm trying to create an msn-like socket application, and need to have mytextArea scrolled to the lowest position.>> I tried txtLog.vPosition = txtLog.maxVPosition; and txtLog.vPosition
 =txtLog.textField.height, but no luck.This seems to work for me in Beta 1.        --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups
 Links
	

	
		 
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Cairngorm2 Store Example ?

2006-02-08 Thread sufibaba
Not a problem,

Understood :)

Tim

--- In flexcoders@yahoogroups.com, "Steven Webster" <[EMAIL PROTECTED]> wrote:
>
> Colloquialism problem ... "to use in anger" is "to use in real-life
> application".
> 
> :)
> 
> Steven
> 
> --
> Steven Webster
> Practice Director (Rich Internet Applications)
> Adobe Consulting
> Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
> p: +44 (0) 131 338 6108
> m: +44 (0) 7917 428 947 
> [EMAIL PROTECTED] 
> 
>  
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba
> > Sent: 08 February 2006 11:53
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Cairngorm2 Store Example ?
> > 
> > Steven,
> > 
> > I agree with you and this is what we are doing.  By the way, 
> > anger is a strong word, it is more like, major frustration.
> > 
> > All the best,
> > 
> > Tim
> > 
> > --- In flexcoders@yahoogroups.com, "Steven Webster" 
> >  wrote:
> > >
> > > Tim,
> > > 
> > > Just to be clear - cairngorm 0.99 and the accompanying 
> > flexstore will 
> > > help you to understand the principles behind the 
> > architecture, and how 
> > > it should be used in anger.  That knowledge will translate 
> > directly to 
> > > cairngorm 2.0 and Flex 2.
> > > 
> > > Best wishes,
> > > 
> > > Steven
> > > 
> > > --
> > > Steven Webster
> > > Practice Director (Rich Internet Applications) Adobe Consulting 
> > > Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
> > > p: +44 (0) 131 338 6108
> > > m: +44 (0) 7917 428 947
> > > swebster@ 
> > > 
> > >  
> > > 
> > > > -Original Message-
> > > > From: flexcoders@yahoogroups.com
> > > > [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba
> > > > Sent: 08 February 2006 09:46
> > > > To: flexcoders@yahoogroups.com
> > > > Subject: [flexcoders] Re: Cairngorm2 Store Example ?
> > > > 
> > > > Hi Steven,
> > > > 
> > > > Thanks for the reply.
> > > > 
> > > > First, I would like to say that we am greatful for all of 
> > the great 
> > > > work that you have put into cairngorm to make our life simpler.
> > >
> > 
> > 
> > 
> > 
> > 
> > --
> > 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/

<*> 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] Application Background

2006-02-08 Thread Mehdi, Agha
Title: Application Background










Great thanks guys. Works great.

 



Agha Mehdi 
IDT - eBusiness Program Manager 











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sreejith Unnikrishnan
Sent: Wednesday, February 08, 2006
12:53 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Application Background



 



It does work on Firefox and IE.





 





http://www.macromedia.com/2005/mxml"
xmlns="*" backgroundColor="#FF" backgroundAlpha="0">





.





 





Then in the generated HTML, you have to set 





Add the following parameter to the OBJECT tag:

Add the following parameter to the EMBED tag: 

wmode="transparent"And ofcourse the body css in the HTML has to be changed.









- Original Message - 





From: JesterXL






To: flexcoders@yahoogroups.com






Sent: Thursday, February
09, 2006 1:41 AM





Subject: Re: [flexcoders]
Application Background





 





setStyle("backgroundColor", 0xFF);





setStyle("backgroundAlpha", 0);





 





And then set the wmode attribute in HTML object/embed to
"transparent".  Doesn't work on all browsers.





 





- Original Message - 



From: Mehdi, Agha 





To: flexcoders@yahoogroups.com






Sent: Wednesday,
February 08, 2006 2:57 PM





Subject: [flexcoders]
Application Background







 



Hi all,

Is there any way to make the application
background transparent so that it always gets the background of whatever html
container it sits on?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell  : 209.275.0482

Fax  :  408.284.2766









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: Cairngorm2 Store Example ?

2006-02-08 Thread Steven Webster
Colloquialism problem ... "to use in anger" is "to use in real-life
application".

:)

Steven

--
Steven Webster
Practice Director (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6108
m: +44 (0) 7917 428 947 
[EMAIL PROTECTED] 

 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba
> Sent: 08 February 2006 11:53
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Cairngorm2 Store Example ?
> 
> Steven,
> 
> I agree with you and this is what we are doing.  By the way, 
> anger is a strong word, it is more like, major frustration.
> 
> All the best,
> 
> Tim
> 
> --- In flexcoders@yahoogroups.com, "Steven Webster" 
> <[EMAIL PROTECTED]> wrote:
> >
> > Tim,
> > 
> > Just to be clear - cairngorm 0.99 and the accompanying 
> flexstore will 
> > help you to understand the principles behind the 
> architecture, and how 
> > it should be used in anger.  That knowledge will translate 
> directly to 
> > cairngorm 2.0 and Flex 2.
> > 
> > Best wishes,
> > 
> > Steven
> > 
> > --
> > Steven Webster
> > Practice Director (Rich Internet Applications) Adobe Consulting 
> > Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
> > p: +44 (0) 131 338 6108
> > m: +44 (0) 7917 428 947
> > [EMAIL PROTECTED] 
> > 
> >  
> > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com
> > > [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba
> > > Sent: 08 February 2006 09:46
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: Cairngorm2 Store Example ?
> > > 
> > > Hi Steven,
> > > 
> > > Thanks for the reply.
> > > 
> > > First, I would like to say that we am greatful for all of 
> the great 
> > > work that you have put into cairngorm to make our life simpler.
> >
> 
> 
> 
> 
> 
> --
> 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/

<*> 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] Application Background

2006-02-08 Thread Sreejith Unnikrishnan
Title: Application Background





It does work on Firefox and IE.
 
http://www.macromedia.com/2005/mxml" 
xmlns="*" backgroundColor="#FF" 
backgroundAlpha="0">
.
 
Then in the generated HTML, you have to set 

Add the following parameter to the OBJECT 
tag:

Add the following parameter to the EMBED tag: wmode="transparent"
And ofcourse the body css in the HTML has to be changed.

  - Original Message - 
  From: 
  JesterXL 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, February 09, 2006 1:41 
  AM
  Subject: Re: [flexcoders] Application 
  Background
  
  setStyle("backgroundColor", 
  0xFF);
  setStyle("backgroundAlpha", 0);
   
  And then set the wmode attribute in HTML 
  object/embed to "transparent".  Doesn't work on all 
browsers.
   
  - Original Message - 
  From: Mehdi, Agha 
  
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, February 08, 2006 2:57 PM
  Subject: [flexcoders] Application Background
  
  Hi all,
  Is there any way to make 
  the application background transparent so that it always gets the background 
  of whatever html container it sits on?
  Thanks
  Agha Mehdi
  IDT - eBusiness Program 
  Manager
  Work: 
  408.284.8239
  Cell  : 
  209.275.0482
  Fax  :  
  408.284.2766
  





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] embed a movieclip

2006-02-08 Thread JesterXL





Have you successfully set a getter/setter 
property?
 
- Original Message - 
From: Jason Y. Kwong 

To: flexcoders@yahoogroups.com 
Sent: Wednesday, February 08, 2006 3:08 PM
Subject: Re: [flexcoders] embed a movieclip
Ok, I found something interesting about this.  You can 
actually access properties in the loaded swf but trying to call a function 
messes up.  The function is actually there, but it isn't recognized as a 
function.  For example, my Flash8 swf has a function named "callMe".  
I load this into my Flex2 app and then trace " swf.callMe" and I actually get 
"[object Object]".  But if try to call it via swf.callMe(), I get a runtime 
error: Call attempted on an object that is not a function.Ironically, 
you can actually access getter/setter functions.  Since they're considered 
properties, I guess they're good to go.  It's a useable workaround at this 
point. 
On 2/8/06, Jason Y. 
Kwong <[EMAIL PROTECTED]> 
wrote:
I'm 
  actually trying to do something similar.  What I've found so far should 
  be able to help you.  You need to load the SWF via the Loader component 
  and then use its content property:private function 
  onComplete(): void{   var swf: MovieClip = 
  MovieClip(myloader.content);   
  swf.gotoAndPlay(...);}My problem is that I can't access additional 
  methods/properties that are declared in the loaded swf.  I've seen a Flex 
  1.5 example where you can just go ahead and call those methods on the 
  MovieClip instance, but that doesn't seem to work in Flex 2.  I've tried 
  casting it to an Object to get around the compiler, but I just end up with a 
  runtime error. 
  
  On 2/8/06, nacho 
  < [EMAIL PROTECTED]> 
  wrote:
  what 
I want to do is load a .SWF file and control the timeline of this movieclip, 
with gotoAndPlay, etc...but i don't know how to load 
  it





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Re: datagrid.selectedIndex not correct in cellPress - flex2

2006-02-08 Thread Manish Jethani
On 2/8/06, bhaq1972 <[EMAIL PROTECTED]> wrote:

> If you run my test in flex 1.5 the result is different. the
> selectedIndex and event.itemIndex (aka rowIndex in flex2 beta) are the
> same, as long as your dg.selectable=true.
>
> i'm sure this is a bug in flex2 beta.

In Flex 2.0, the "cellPress" event is dispatched before the selection
is changed.  If you want to do something after the selection is
changed, you should do it in the "change" event.  That works?


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

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

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

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





Re: [flexcoders] Application Background

2006-02-08 Thread Sreejith Unnikrishnan
Title: Application Background





I vaguely remember seeing an "opaqueBackground" 
property that can be applied to the stage!
Setting it to false may let the HTML container see 
through!
 
If it works, please us know :-)
 
Sree

  - Original Message - 
  From: 
  Mehdi, Agha 
  
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, February 09, 2006 1:27 
  AM
  Subject: [flexcoders] Application 
  Background
  
  Hi all,
  Is there any way to make 
  the application background transparent so that it always gets the background 
  of whatever html container it sits on?
  Thanks
  Agha Mehdi
  IDT - eBusiness Program 
  Manager
  Work: 
  408.284.8239
  Cell  : 
  209.275.0482
  Fax  :  
  408.284.2766
  





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Dont Even know how to classify this.

2006-02-08 Thread Jeremy Rottman
That method is used for updating data it is in another as file. The
issue that I am having is that I am using creationCompelte. So once
the state is compelte and on the screen the data stays in that form
inputs no matter what state I change it to. Or if I search on a new
file number.

 I have tried everything I can think of to clear the data but nothing
works.

--- In flexcoders@yahoogroups.com, "Michael Montagna" <[EMAIL PROTECTED]>
wrote:
>
> Maybe I missed it in there, but where's the handler for the save
> action?  quAdminEditList(String, String, ...)
> 
> -M
> 
> 
> --- In flexcoders@yahoogroups.com, "Jeremy Rottman"  wrote:
> >
> > I currently have my beta app up and running. However I have ran into a
> > rather odd problem.
> > 
> > Right now I have a simple search that allows people to search on file
> > numbers. This works perfectly. When someone searches thier resuslts
> > are display below the input in a datagrid. When you click on the
> > selected record, it changes the state from the file search state to
> > the file edit state. Again this works. During the changing of the
> > states, a var called fileNum is passed into the edit file state. This
> > is used to populate the edit file inputs. AGain this also works. After
> > all the edits are done to the file in question, you can click save and
> > it will save all the data. Again this also works.
> > 
> > Now this is where things get weird. Once you click save, and your data
> > is saved, It changes the state back to the iniital state. When I go
> > back to search for a new file in my edit screen, my original search is
> > still in the datagrid. This is ok for now. I can search and the
> > results will be display below. When I click on the record I want to
> > edit, it takes me back to the edit file state. Instead of updating the
> > data with the new data of the record I selected, it still displays the
> > data from my origianl search. So if I stated my testing by search for
> > the file L061234, and view that data in the edit file screen. Then I
> > search again, and I select the record L061235. The data for L061234 is
> > still being displayed.
> > 
> > Can someone help me with this, It is driving me nuts. I have included
> > code below.
> > 
> > 
> > FileSearch.mxml--
> > 
> > 
> > http://www.macromedia.com/2005/mxml"; xmlns="*"
> > width="100%" initialize="qpListSearch(search)" height="100%">
> >  > wsdl="http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl";
> > showBusyCursor="true" />
> >  > title="View Transaction: Search">
> > 
> > 
> > 
> > 
> > 
> >  > click="qpListSearch(search.text)"
> > label="Button"/>
> >  > click="ListState(FSDG.selectedItem.FLD_FILENUM)"
> > dataProvider="{srv.qpListSearch.result}" y="71" width="100%"
> height="80%">
> > 
> >  > columnName="FLD_FILENUM"/>
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > adminEditList.mxml-- 
> > 
> > 
> >  >
>
creationComplete="qdListDisplayDocs(fileNum);qdListDisplayProp(fileNum);qdListDisplayReview(fileNum);qdListDisplayCode(fileNum)"
> > xmlns:mx="http://www.macromedia.com/2005/mxml"; xmlns="*">
> >  > wsdl="http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl";
> > showBusyCursor="true" />
> > 
> > 
> > 
> > 
> >  > height="100%" width="100%">
> > 
> >  > height="100%"
y="10">
> >  > width="100%"
> > height="100%">  
> >  > fontFamily="Verdana" fontWeight="bold"/>
> >  > fontSize="15" fontFamily="Verdana" fontWeight="bold"/>
> >   
> >  > text="Direction Prefix"/>
> > 
> > 
> >  > text="Direction Suffix"/>
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  > text="Commision Formula"/>
> > 
> > 
> > 
> > 
> >   
> >  
> > 
> >  > text="{srv.qdListDisplayProp.result.fld_propNum}" id="fld_propNum"/>
> >  

Re: [flexcoders] Application Background

2006-02-08 Thread JesterXL
Title: Application Background





setStyle("backgroundColor", 0xFF);
setStyle("backgroundAlpha", 0);
 
And then set the wmode attribute in HTML 
object/embed to "transparent".  Doesn't work on all browsers.
 
- Original Message - 
From: Mehdi, Agha 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, February 08, 2006 2:57 PM
Subject: [flexcoders] Application Background

Hi all,
Is there any way to make 
the application background transparent so that it always gets the background of 
whatever html container it sits on?
Thanks
Agha 
Mehdi
IDT - eBusiness Program 
Manager
Work: 
408.284.8239
Cell  : 
209.275.0482
Fax  :  
408.284.2766






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Manish Jethani
On 2/8/06, Manish Jethani <[EMAIL PROTECTED]> wrote:

> Okay, the problem is that the TextArea's maxVPosition is 0 even after
> the text is set.  The new value of maxVPosition is calculated only on
> the next screen update.

... and the solution for now is to use callLater() or a timer or something.


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

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

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

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





Re: [flexcoders] embed a movieclip

2006-02-08 Thread Jason Y. Kwong



Ok, I found something interesting about this.  You can actually access properties in the loaded swf but trying to call a function messes up.  The function is actually there, but it isn't recognized as a function.  For example, my Flash8 swf has a function named "callMe".  I load this into my Flex2 app and then trace "
swf.callMe" and I actually get "[object Object]".  But if try to call it via swf.callMe(), I get a runtime error: Call attempted on an object that is not a function.Ironically, you can actually access getter/setter functions.  Since they're considered properties, I guess they're good to go.  It's a useable workaround at this point.
On 2/8/06, Jason Y. Kwong <[EMAIL PROTECTED]> wrote:
I'm actually trying to do something similar.  What I've found so far should be able to help you.  You need to load the SWF via the Loader component and then use its content property:private function onComplete(): void{   var swf: MovieClip = MovieClip(myloader.content);   swf.gotoAndPlay(...);
}My problem is that I can't access additional methods/properties that are declared in the loaded swf.  I've seen a Flex 1.5 example where you can just go ahead and call those methods on the MovieClip instance, but that doesn't seem to work in Flex 2.  I've tried casting it to an Object to get around the compiler, but I just end up with a runtime error.
On 2/8/06, nacho <
[EMAIL PROTECTED]> wrote:



what I want to do is load a .SWF file and control the timeline of this movieclip, with gotoAndPlay, etc...but i don't know how to load it








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Manish Jethani
On 2/8/06, Jonas Windey <[EMAIL PROTECTED]> wrote:
> Yea, that example works too for me, I think the problem is somewhere else.

Okay, the problem is that the TextArea's maxVPosition is 0 even after
the text is set.  The new value of maxVPosition is calculated only on
the next screen update.  Here's a simplified test case:


http://www.macromedia.com/2005/mxml";>

   









I thought we'd solved this problem.  Somebody should log a bug.


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

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

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

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





Re: [flexcoders] embed a movieclip

2006-02-08 Thread Jason Y. Kwong



I'm actually trying to do something similar.  What I've found so far should be able to help you.  You need to load the SWF via the Loader component and then use its content property:private function onComplete(): void{   var swf: MovieClip = MovieClip(myloader.content);   swf.gotoAndPlay(...);
}My problem is that I can't access additional methods/properties that are declared in the loaded swf.  I've seen a Flex 1.5 example where you can just go ahead and call those methods on the MovieClip instance, but that doesn't seem to work in Flex 2.  I've tried casting it to an Object to get around the compiler, but I just end up with a runtime error.
On 2/8/06, nacho <[EMAIL PROTECTED]> wrote:



what I want to do is load a .SWF file and control the timeline of this movieclip, with gotoAndPlay, etc...but i don't know how to load it






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Cairngorm2 Store Example ?

2006-02-08 Thread sufibaba
Steven,

I agree with you and this is what we are doing.  By the way, anger is
a strong word, it is more like, major frustration.

All the best,

Tim

--- In flexcoders@yahoogroups.com, "Steven Webster" <[EMAIL PROTECTED]> wrote:
>
> Tim,
> 
> Just to be clear - cairngorm 0.99 and the accompanying flexstore will
> help you to understand the principles behind the architecture, and how
> it should be used in anger.  That knowledge will translate directly to
> cairngorm 2.0 and Flex 2.
> 
> Best wishes,
> 
> Steven
> 
> --
> Steven Webster
> Practice Director (Rich Internet Applications)
> Adobe Consulting
> Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
> p: +44 (0) 131 338 6108
> m: +44 (0) 7917 428 947 
> [EMAIL PROTECTED] 
> 
>  
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba
> > Sent: 08 February 2006 09:46
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Cairngorm2 Store Example ?
> > 
> > Hi Steven,
> > 
> > Thanks for the reply.
> > 
> > First, I would like to say that we am greatful for all of the 
> > great work that you have put into cairngorm to make our life 
> > simpler.
>





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

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

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

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




[flexcoders] Tilelist event question

2006-02-08 Thread sufibaba
Hi All,

I have the following:

-TilelistContainer.mxml --

(contains a tilelist with listItemRenderer = "Thumbnail"

http://www.macromedia.com/2005/mxml"; >

---  Thumnail.mxml --- 


http://www.macromedia.com/2005/mxml";
  horizontalAlign="center"
  verticalGap="0" 
  horizontalGap="0"
  borderStyle=".5"
  width="100"
  height="150">

   








   

 http://xKc.seg2.net{dataObject.data.URL}";
click="templateIdSel= dataObject.data.ID"
scaleX=".7" scaleY=".7"
mouseOverEffect="zoomIn"
mouseOutEffect="zoomOut"/>
   




Question:  when the user clicks on a thumnail, how does one get the
templateIdSel.


Any help on this is greatly appreciated,

Cheers,

Tim





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

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

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

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




[flexcoders] Application Background

2006-02-08 Thread Mehdi, Agha
Title: Application Background







Hi all,

Is there any way to make the application background transparent so that it always gets the background of whatever html container it sits on?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell  : 209.275.0482

Fax  :  408.284.2766









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Auto form focus

2006-02-08 Thread Jeremy Rottman
Worked like a charm, I have found that initialize has lot of issues
with working to fast. But all is well now, thanks michael.

--- In flexcoders@yahoogroups.com, "Michael Montagna" <[EMAIL PROTECTED]>
wrote:
>
> Initialize might be too early. 
> 
> 
> 
>   
> 
> 
> 
> -M
> 
> 
> --- In flexcoders@yahoogroups.com, "Jeremy Rottman"  wrote:
> >
> > Is there a way with in flex to auto foucs on a certain compoent upon
> > initialization. I have tried the AS2 way
> > Selection.setFocus("instanceName"); But this does not work. 
> > 
> > Can someone give me a hand with this.
> >
>






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

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

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

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





RE: [flexcoders] Re: Cairngorm2 Store Example ?

2006-02-08 Thread Mehdi, Agha
Title: RE: [flexcoders] Re: Cairngorm2 Store Example ?







Steven,


You might be able to tell me why it's happening with my Cairngorm apps. Most of my apps make Remote Object calls on Application Creation Complete event. The first call works fine but the next calls just result in the busy clock cursor for indefinite time with no results. The app starts to work normally only after I reload the app.

I have no idea what's going on. This problem doesn't occur with non-cairngorm apps.


Is there anything I'm doing wrong?


Thanks


Agha Mehdi
IDT - eBusiness Program Manager



-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Steven Webster
Sent: Wednesday, February 08, 2006 11:33 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Cairngorm2 Store Example ?


Tim,


Just to be clear - cairngorm 0.99 and the accompanying flexstore will
help you to understand the principles behind the architecture, and how
it should be used in anger.  That knowledge will translate directly to
cairngorm 2.0 and Flex 2.


Best wishes,


Steven


--
Steven Webster
Practice Director (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6108
m: +44 (0) 7917 428 947 
[EMAIL PROTECTED] 


 


> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com] On Behalf Of sufibaba
> Sent: 08 February 2006 09:46
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Cairngorm2 Store Example ?
> 
> Hi Steven,
> 
> Thanks for the reply.
> 
> First, I would like to say that we am greatful for all of the 
> great work that you have put into cairngorm to make our life 
> simpler.  



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


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


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


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









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Auto form focus

2006-02-08 Thread Michael Montagna
Initialize might be too early. 







-M


--- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]> wrote:
>
> Is there a way with in flex to auto foucs on a certain compoent upon
> initialization. I have tried the AS2 way
> Selection.setFocus("instanceName"); But this does not work. 
> 
> Can someone give me a hand with this.
>







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

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

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

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





RE: [flexcoders] Re: Cairngorm2 Store Example ?

2006-02-08 Thread Steven Webster
Tim,

Just to be clear - cairngorm 0.99 and the accompanying flexstore will
help you to understand the principles behind the architecture, and how
it should be used in anger.  That knowledge will translate directly to
cairngorm 2.0 and Flex 2.

Best wishes,

Steven

--
Steven Webster
Practice Director (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6108
m: +44 (0) 7917 428 947 
[EMAIL PROTECTED] 

 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba
> Sent: 08 February 2006 09:46
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Cairngorm2 Store Example ?
> 
> Hi Steven,
> 
> Thanks for the reply.
> 
> First, I would like to say that we am greatful for all of the 
> great work that you have put into cairngorm to make our life 
> simpler.  


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

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

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

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





[flexcoders] Re: Dont Even know how to classify this.

2006-02-08 Thread Michael Montagna
Maybe I missed it in there, but where's the handler for the save
action?  quAdminEditList(String, String, ...)

-M


--- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]> wrote:
>
> I currently have my beta app up and running. However I have ran into a
> rather odd problem.
> 
> Right now I have a simple search that allows people to search on file
> numbers. This works perfectly. When someone searches thier resuslts
> are display below the input in a datagrid. When you click on the
> selected record, it changes the state from the file search state to
> the file edit state. Again this works. During the changing of the
> states, a var called fileNum is passed into the edit file state. This
> is used to populate the edit file inputs. AGain this also works. After
> all the edits are done to the file in question, you can click save and
> it will save all the data. Again this also works.
> 
> Now this is where things get weird. Once you click save, and your data
> is saved, It changes the state back to the iniital state. When I go
> back to search for a new file in my edit screen, my original search is
> still in the datagrid. This is ok for now. I can search and the
> results will be display below. When I click on the record I want to
> edit, it takes me back to the edit file state. Instead of updating the
> data with the new data of the record I selected, it still displays the
> data from my origianl search. So if I stated my testing by search for
> the file L061234, and view that data in the edit file screen. Then I
> search again, and I select the record L061235. The data for L061234 is
> still being displayed.
> 
> Can someone help me with this, It is driving me nuts. I have included
> code below.
> 
> 
> FileSearch.mxml--
> 
> 
> http://www.macromedia.com/2005/mxml"; xmlns="*"
> width="100%" initialize="qpListSearch(search)" height="100%">
>  wsdl="http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl";
> showBusyCursor="true" />
>title="View Transaction: Search">
>   
>   
>   
>   
>   
>click="qpListSearch(search.text)"
> label="Button"/>
>click="ListState(FSDG.selectedItem.FLD_FILENUM)"
> dataProvider="{srv.qpListSearch.result}" y="71" width="100%"
height="80%">
>   
>columnName="FLD_FILENUM"/>
>columnName="FLD_PROPNUM"/>
>   
>   
>   
>   
>   
> 
> 
> 
> adminEditList.mxml-- 
> 
> 
> 
creationComplete="qdListDisplayDocs(fileNum);qdListDisplayProp(fileNum);qdListDisplayReview(fileNum);qdListDisplayCode(fileNum)"
> xmlns:mx="http://www.macromedia.com/2005/mxml"; xmlns="*">
>  wsdl="http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl";
> showBusyCursor="true" />
>   
>   
>   
>   
>height="100%" width="100%">
>   
>height="100%" y="10">
>width="100%"
> height="100%">
>fontFamily="Verdana" fontWeight="bold"/>
>fontSize="15" fontFamily="Verdana" fontWeight="bold"/>
> 
>text="Direction Prefix"/>
>   
>   
>text="Direction Suffix"/>
>   
>   
>   
>   
>   
>   
>   
>text="Commision Formula"/>
>   
>   
>   
>   
> 
>
> 
>text="{srv.qdListDisplayProp.result.fld_propNum}" id="fld_propNum"/>
>dataProvider="{dirPrefix}"
> id="fld_propDir">
>text="{srv.qdListDisplayProp.result.fld_propStreet}"
id="fld_propStreet"/>
>dataProvider="{streetDesig}"
> id="fld_propStreetDesignator">
>dataProvider="{dirSuffix}"
> id="fld_propDirSuffix">
>dataProvider="{unitType}"
> id="fld_propUnitType" >
>text="{srv.qdListDisplayProp.result.fld_propU

[flexcoders] Auto form focus

2006-02-08 Thread Jeremy Rottman
Is there a way with in flex to auto foucs on a certain compoent upon
initialization. I have tried the AS2 way
Selection.setFocus("instanceName"); But this does not work. 

Can someone give me a hand with this.





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

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

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

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





RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Mac Martine










I believe you will find a detailed answer
in the thread from Feb 1 with the Subject:

 

[flexcoders] Scrolling a TextArea to the
bottom?

 

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey
Sent: Wednesday, February 08, 2006
1:08 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2.0
beta TextArea question



 

Yea, that example works too
for me, I think the problem is somewhere else.

private function setLogVPosition():void
{
  txtLog.vPosition =
txtLog.maxVPosition;  
}

If I trigger this function on a button click, it
works



But I want to use it in a function that changes
the txtLog's text, like
this:

private function
socketDataHandler(event:ProgressEvent):void 
{
  txtLog.text +=
"\n" + oSocket.readUTFBytes(oSocket.bytesAvailable);
     
setLogVPosition();
}

And this one doesn't work. It sets the text with
the correct data, but it
can't set the VPosition. It seems it has to be
wired to some clientside
event, and can't be triggered from code. Is that
correct?


-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of Manish Jethani
Sent: dinsdag 7 februari 2006 19:29
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0 beta TextArea
question

On 2/7/06, Jonas Windey <[EMAIL PROTECTED]>
wrote:
>

> How would I set the scrollPosition of a
textarea to it's maximum position?
I'm trying to create an msn-like socket
application, and need to have my
textArea scrolled to the lowest position.

>
> I tried txtLog.vPosition =
txtLog.maxVPosition; and txtLog.vPosition =
txtLog.textField.height, but no luck.

This seems to work for me in Beta 1.


  
 
  
  




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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Difference between WebService and Remote Object

2006-02-08 Thread Clint Modien



I'm not sure that I understand the problem.  Is there anyway you can post the value object definitions?The public static final member "may" be causing a problem.I noticed this line of code may also be the problem.
 var 
  userVO:UserVO = event.result;try this instead var 
  userVO:UserVO = UserVO(event.result);if(userVO == null)  trace("Error: the cast failed");On 2/8/06, Shlomi Cohen
 <[EMAIL PROTECTED]> wrote:









How , 
i create the VO using Ant task (code generation) 
except 
for 1  public static final member - could that be the diff 
?
 
Shlomi
 


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Clint 
ModienSent: Wednesday, February 08, 2006 20:07To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
between WebService and Remote Object
More than likely the definitions for 
your java UserVO  and your ActionScript UserVO 
are 
different.
On 2/8/06, Shlomi 
Cohen <[EMAIL PROTECTED]> wrote:

  Hi
   
   
  while testing the 
  performance of our application , i changed the way we work with the server 
  from WS to RemoteObjects 
  i found that there 
  is a difference in the way data is being received / transmitted although we 
  use the registerClass (as the POJO2AS does 
  for you) .
  for example a method 
  that was saving user info to DB did not work with RO - saying it could 
  not convert ASObject to typed object.
   
  what is wrong 
  here ?
   
  here is a short 
  snapshot 
   
   
  
          
   
  function 
  sendRequest(){
   
      
  service.getUser(111);
  }
   
  function 
  getUser(event){
      var 
  userVO:UserVO = event.result;
   
      // we save with 
  the save object we got.
      
  saveUser(userVO);
  }
   
  function 
  saveUser(userVO){
      
  service.saveUser(userVO);  ///fails to convert ASobject to typed 
  object
  }
   
   
  Shlomi__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  SPONSORED 
  LINKS 
  


  
Web site design development 
  
Computer software development 
  
Software design and development 

  
Macromedia flex 
  
Software development best practice 
  
  
  
  YAHOO! GROUPS LINKS 
  
 Visit your group "flexcoders" on the web.  

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

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service . 
  
  
  __This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



  
















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from

RE: [flexcoders] Difference between WebService and Remote Object

2006-02-08 Thread Shlomi Cohen





it 
seems that if i create a new Instance of the UserVO everything is working 
.
 
for 
example referring the example below 
 

function 
getUser(event){
//var 
userVO:UserVO = event.result;   // does 
not work
 
    var userVO:UserVO  = new 
UserVO(); // works fine.
 
 
    // we save 
with the save object we got.
    
saveUser(userVO);
}
 
 
why 
the type is changing when the data comes from the event.result  ? is there 
a copy constructor utility available out there ?
 
 
shlomi


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Shlomi 
CohenSent: Wednesday, February 08, 2006 20:19To: 
'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Difference 
between WebService and Remote Object

How , 
i create the VO using Ant task (code generation) 
except 
for 1  public static final member - could that be the diff 
?
 
Shlomi
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: Wednesday, February 08, 2006 20:07To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
between WebService and Remote Object
More than likely the definitions for 
your java UserVO  and your ActionScript UserVO 
are 
different.
On 2/8/06, Shlomi 
Cohen <[EMAIL PROTECTED]> wrote: 

  Hi
   
   
  while testing the 
  performance of our application , i changed the way we work with the server 
  from WS to RemoteObjects 
  i found that there 
  is a difference in the way data is being received / transmitted although we 
  use the registerClass (as the POJO2AS does 
  for you) .
  for example a method 
  that was saving user info to DB did not work with RO - saying it could 
  not convert ASObject to typed object.
   
  what is wrong 
  here ?
   
  here is a short 
  snapshot 
   
   
  
      
  
   
  function 
  sendRequest(){
   
      
  service.getUser(111);
  }
   
  function 
  getUser(event){
      var 
  userVO:UserVO = event.result;
   
      // we save with 
  the save object we got.
      
  saveUser(userVO);
  }
   
  function 
  saveUser(userVO){
      
  service.saveUser(userVO);  ///fails to convert ASobject to typed 
  object
  }
   
   
  Shlomi__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  SPONSORED 
  LINKS 
  


  Web site design development 
  Computer software development 
  Software design and development 

  Macromedia flex 
  Software development best practice 
  
  
  
  YAHOO! GROUPS LINKS 
  
 Visit your group "flexcoders" on the web.  
 To unsubscribe from this group, send an email 
to:  [EMAIL PROTECTED]  

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service . 
  
  
  __This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Ma

RE: [flexcoders] Difference between WebService and Remote Object

2006-02-08 Thread Shlomi Cohen





How , 
i create the VO using Ant task (code generation) 
except 
for 1  public static final member - could that be the diff 
?
 
Shlomi
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: Wednesday, February 08, 2006 20:07To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
between WebService and Remote Object
More than likely the definitions for 
your java UserVO  and your ActionScript UserVO 
are 
different.
On 2/8/06, Shlomi 
Cohen <[EMAIL PROTECTED]> wrote:

  Hi
   
   
  while testing the 
  performance of our application , i changed the way we work with the server 
  from WS to RemoteObjects 
  i found that there 
  is a difference in the way data is being received / transmitted although we 
  use the registerClass (as the POJO2AS does 
  for you) .
  for example a method 
  that was saving user info to DB did not work with RO - saying it could 
  not convert ASObject to typed object.
   
  what is wrong 
  here ?
   
  here is a short 
  snapshot 
   
   
  
      
  
   
  function 
  sendRequest(){
   
      
  service.getUser(111);
  }
   
  function 
  getUser(event){
      var 
  userVO:UserVO = event.result;
   
      // we save with 
  the save object we got.
      
  saveUser(userVO);
  }
   
  function 
  saveUser(userVO){
      
  service.saveUser(userVO);  ///fails to convert ASobject to typed 
  object
  }
   
   
  Shlomi__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  SPONSORED 
  LINKS 
  


  Web site design development 
  Computer software development 
  Software design and development 

  Macromedia flex 
  Software development best practice 
  
  
  
  YAHOO! GROUPS LINKS 
  
 Visit your group "flexcoders" on the web.  
 To unsubscribe from this group, send an email 
to:  [EMAIL PROTECTED]  

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service . 
  
  
  __This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  










[flexcoders] Re: Flex/Coldfusion connectivity test app

2006-02-08 Thread sufibaba
Ben,

I would love to see a new reincarnation of Benorama.

Bravo to "Flex2/ColdFusion7 best practices!"

And of course with your excellent internationalization solutions.

Speaking of I18, how are you handling I18 with your current flex
coldfusion, coldspring, Modelglue architecture.

Cheers,

Tim


--- In flexcoders@yahoogroups.com, "Benoit Hediard" <[EMAIL PROTECTED]> wrote:
>
> Hi Tim,
> 
> > are you using Cairngorm2 yet?
> 
> Yes, we are using Cairngorm2 on a pretty large Flex/ColdFusion project.
> 
> Our architecture :
> - ColdFusion MX 7 Standard + Flash Media Server 2 + SQL Server 2005
(we do
> not plan to use Flex Enterprise Services),
> - Flash (Flex 2).
> 
> Frameworks used :
> - ColdSpring to handle our CFC-based model/service layers,
> - Model-Glue to handle our CFC/CFM-based view/controller layers for
the HTML
> client,
> - Cairngorm to handle our AS3/MXML model/view/controller layers for the
> Flash client. 
> 
> I'm a big fan of those three frameworks : lightweight and powerful.
> We never used ARP, so I have no opinions on it.
> 
> As soon as I have some times (maybe this week-end...), I'll write a
sample
> Flex/ColdFusion application (probably, a Cairngorm 2 version of Ben
Forta's
> Phones app).
> 
> Benoit Hediard
> 
> PS: Later this year, I also plan to rebuild entirely benorama.com (not
> updated since 2002 for CFMX launch...), in order to put all the latest
> Flex2/ColdFusion7 best practices!
>  
> 
> -Message d'origine-
> De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
De la
> part de sufibaba
> Envoyé : mardi 7 février 2006 23:08
> À : flexcoders@yahoogroups.com
> Objet : [flexcoders] Re: Flex/Coldfusion connectivity test app
> 
> Thanks for the excellent reply.   
> 
> You saved the day.  
> 
> We do have CF working with Flex.  There's also the Phones example on the
> Adobe Labs site that shows this connectivity.  All of this is
working fine.
> The challenge we were having was with the new version of Cairngorm.
 We have
> been using ARP for a flash application that is to be migrated to
flex2 and
> we need to get a bit of advice from the creator of Cairngorm -- who
is now
> Adobe, to suggest a best practice example that shows how coldfusion
is the
> "perfect mate" for flex2.
> 
> The login example that was given is a bit too simplified and also
did not
> include how coldfusion.  
> 
> If Adobe wants to sell coldfusion with flex, then it would be
beneficial to
> demonstrate via examples how things could work together.
> 
> Anyhow, aside from our wish list to Adobe, 
> 
> Merci Beaucoup for your excellent tutorial and sharing your experiences,
> especially the bugs.  
> 
> BTW, are you using Cairngorm2 yet? or what type of architecture are you
> using.  
> 
> P.S.  I used your Benorama architecture for a project and was very happy
> with it.  What are your thoughts on Cairngorm and the upcomming
> ARP3 for flex2.
> 
> Cheers,
> 
> Tim
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Benoit Hediard"  wrote:
> >
> > This sample app also shows how CFC/AS3 VO mappings (or remote class
> alias)
> > works.
> > 
> > Have fun!
> > 
> > Benoit Hediard
> > 
> > -Message d'origine-
> > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> De la
> > part de Benoit Hediard
> > Envoyé : mardi 7 février 2006 20:37
> > À : flexcoders@yahoogroups.com
> > Objet : [flexcoders] Flex/Coldfusion connectivity test app
> > 
> > Since some people seems to have issues to use the Flex/ColdFusion 
> > connectivity, here is a sample app to test your connectivity.
> > 
> > 
> > ColdFusion / Server side
> > 
> > 
> > Save the following value object CFC in 
> > {wwwroot}/com/mycompany/myapp/model/TestVO.cfc
> > 
> > 
> >   name="someNumber"
> > type="Numeric" />
> > 
> > 
> > 
> > this.someString = "test";
> > this.someNumber = 0;
> > 
> > 
> > 
> > 
> > 
> > 
> > Save the following remote service CFC in 
> > {wwwroot}/com/mycompany/myapp/service/TestService.cfc
> > 
> > 
> > 
> > 
> > var data = arrayNew(1);
> > arrayAppend(data, createObject("component", 
> > "com.mycompany.myapp.model.TestVO").init());
> > arrayAppend(data, createObject("component", 
> > "com.mycompany.myapp.model.TestVO").init());
> > 
> > 
> > 
> > 
> > 
> > 
> > var data = structNew();
> > data.firstData = createObject("component", 
> > "com.mycompany.myapp.model.TestVO").init();
> > data.secondData = createObject("component", 
> > "com.mycompany.myapp.model.TestVO").init();
> > 
> > 
> > 
> > 
> >  > returntype="com.mycompany.myapp.model.TestVO">
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > Flex / Client side
> > --
> > 
> > Save the following value object in {some test 
> > project}/com/mycompany/myapp/model/TestVO.as
> > package com.mycompany.myapp.model {
> > 
> > [Bindable]
> > [RemoteClass(alias="com.mycompany.myapp.model.TestVO")]
> > 
> > pu

Re: [flexcoders] Difference between WebService and Remote Object

2006-02-08 Thread Clint Modien



More than likely the definitions for your java UserVO  and your ActionScript 
UserVO are different.On 2/8/06, 
Shlomi Cohen <[EMAIL PROTECTED]> wrote:











Hi
 
 
while 
testing the performance of our application , i changed the way we work with the 
server from WS to RemoteObjects 
i 
found that there is a difference in the way data is being received / transmitted 
although we use the registerClass (as the POJO2AS does 
for you) .
for 
example a method that was saving user info to DB did not work with RO - 
saying it could not convert ASObject to typed 
object.
 
what is wrong here 
?
 
here is a short snapshot 

 
 

        
 
function 
sendRequest(){
 
    
service.getUser(111);
}
 
function 
getUser(event){
    var userVO:UserVO = 
event.result;
 
    // we save with the save object we 
got.
    
saveUser(userVO);
}
 
function 
saveUser(userVO){
    service.saveUser(userVO);  
///fails to convert ASobject to typed object
}
 
 
Shlomi

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



  
















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] html text to navigate tab navigator

2006-02-08 Thread rgwilson26
> I have a Tab navigator with HTML links as
> shown below. I want the user to be able to click on the text link,
> and navigate through each tab in the tab navigator depending on what
> link is clicked.
> 
> I am calling a funtion from my component "startingPoint" , 
> however it doesn't change the tabs. Instead I get a "no property 
error".
> 
> Any suggetions would be greatly appreciated.
> 
> **component startingPoint*
> 
> public function tabNavigation():Void{
navigator.selectedChild=definitions;

}

> 
> 
> 
> 
> 
> 
> 
> 
> 
> *Main app**
> http://www.macromedia.com/2003/mxml";>
> 
> 

>
>
> 
> 
> 






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

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

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

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





Re: [flexcoders] embed a movieclip

2006-02-08 Thread nacho



what I want to do is load a .SWF file and control the timeline of this movieclip, with gotoAndPlay, etc...but i don't know how to load itOn 2/8/06, nacho
 <[EMAIL PROTECTED]> wrote:the section "embedding resources" in flex help it's not very good
i need an example of how to maniputale and control the movieclip from flexany ideas?On 2/8/06, 

Dominick Accattato <[EMAIL PROTECTED]> wrote:




nacho:
 
this can be done.  All sorts of resources can be embedded such as sounds, mc's, images.  I suggest you take a look at the section "Embedding Resources" in the help section. 
On 2/8/06, nacho <
[EMAIL PROTECTED]> wrote:
i'm playing with Flex 2 beta 1 and I don't know if it's possible to embed a .SWF file, made it with flash8, as a MovieClip
it's possible?-- // nacho --Flexcoders Mailing ListFAQ: 


http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 


http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 






Web site design development 



Computer software development 



Software design and development 




Macromedia flex 



Software development best practice 


YAHOO! GROUPS LINKS 

 Visit your group "flexcoders" on the web. 

 
 To unsubscribe from this group, send an email to: 


[EMAIL PROTECTED]  
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

 










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt


Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com










  
  
SPONSORED LINKS
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 


   To unsubscribe from this group, send an email to: 

[EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service

.



  








-- // nacho

-- // nacho






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Cairngorm2 Store Example ?

2006-02-08 Thread sufibaba
Hi Steven,

Thanks for the reply.

First, I would like to say that we am greatful for all of the great
work that you have put into cairngorm to make our life simpler.  

The posting I made earlier was in a bit of frustration because I
wasn't getting a reply (wasn't aware that the Adobe engineers were
away on a conference). 

As for what we are trying to do: 

Two months before, we started a project on flex2 alpha, after 1 month
into the project, we ran into flex2 databinding issues so we had to
drop flex2 and do the project in flash and ARP. (At that time, I asked
when cairngorm was coming out and you replied saying soon after the
new years, we waited after the new years and was told that cairngorm
could not continue until the databinding issued was resolved).   Now
that Flex2 and Cairngorm has come out and flex2 has has the
databinding problem fixed, we decided to give Flex2 another try.

We do have your excellent book, "Developing Rich Clients
with Macromedia Flex".  However, because we jumped straight into flex2
instead of flex 1.5, we weren't able to fully see how the cairngorm
store worked.  

Now that you mentioned Cairngorm2 is basically the same as Cairngorm
0.99 then to understand the Cairngorm store, we will have to install
flex1.5 and cairngorm 0.99 and decipher the app. 

Based on our back and forth dance with flex2 alpha, Flash and now
Flex2 beta, we would like to move fully foward with flex2 instead of
backtracking to flex 1.5, deciphering and modifying for flex2.  This
is the reason why I asked when the Cairngorm store demo will be out
for Flex2.  

I hope you understand our situation and not think we are just being
ungrateful or abrasive. 


Cheers,

Tim












--- In flexcoders@yahoogroups.com, "Steven Webster" <[EMAIL PROTECTED]> wrote:
>
> Tim,
> 
> The priority for Cairngorm 2 was to give you guys a build that you could
> begin to work with in your own examples.  We achieved that the day after
> beta 1 was made available to you.
> 
> The *concepts* have not changed between Cairngorm 0.99 and Cairngorm 2.0
> - rather the implementation of the framework has changed to support
> ActionScript 3.0.   All of the resource around Cairngorm 0.99 should
> help you in understanding how to be successful.  Have you built anything
> with Cairngorm 0.99 yet, and followed those examples in detail ?  That
> sounds like a great starting place for your success.
> 
> Rest assured when Cairngorm 2.0 is final, we'll have all the detail
> you're looking for and more.  There will be an increasing amount of
> support from us in the months ahead around helping customers, partners
> and developers be successful with Flex 2.0 and Cairngorm 2.0. 
> 
> However, the alpha build you have just now is exactly that - it's
> something we're making available early for those that are wishing to
> embrace it in the spirit that this requires.
> 
> Once again, if you have any specific questions, I'm sure we'll be able
> to answer them for you.   
> 
> In the meantime, maybe you want to start by checking out Cairngorm 0.99
> and Flex 1.5, if you're still trying to grasp the concepts.  There is a
> lot of discussion of the Cairngorm concepts in "Developing Rich Clients
> with Macromedia Flex" (Macromedia Press), and there'll be a lot more
> information to follow.
> 
> What kind of apps are you trying to migrate from 1.5 to 2.0, or what
> kind of apps are you trying to build ?  Are you familiar with the J2EE
> patterns we work from, what's the problem you're trying to solve with
> Cairngorm ?  Have you built some of your app without Cairngorm yet - so
> that you appreciate the pain we're trying to alleviate for you ?  
> 
> These are all important steps IMHO.
> 
> Best,
> 
> Steven
> 
> --
> Steven Webster
> Practice Director (Rich Internet Applications)
> Adobe Consulting
> Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
> p: +44 (0) 131 338 6108
> m: +44 (0) 7917 428 947 
> [EMAIL PROTECTED] 
> 
>  
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba
> > Sent: 07 February 2006 16:24
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Cairngorm2 Store Example ?
> > 
> > Hi List,
> > 
> > Does anyone know if or when Cairngorm 0.99 Store will be 
> > updated to Cairngorm 2. As I understand it, the changes from 
> > 0.99 to version 2 is quite substantial yet the only 
> > substantial best practice example is the Cairngorm store, 
> > which does not work for Flex2. 
> > 
> > Perhaps migrating the Cairngorm store should be on the 
> > priority because It is hard to know how to properly structure 
> > an application for the new improved cairngorm without a solid 
> > working example.  The login example is good but doesn't show 
> > how Cairngorm as an architecture can handle large enterprise projects.
> > 
> > 
> > Tim
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/

RE: [flexcoders] embed a movieclip

2006-02-08 Thread Roger Gonzalez
AS:

class Whatever
{
  [Embed(source="library.swf", symbol="asset")]
  public var a:Class;
  public function doStuff(parent:IDisplayObject):void
  {
parent.addChild( new a() );
  }
}
 
or MXML:



There's also a way to do it from CSS, but I think you get the idea.

-rg


> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of nacho
> Sent: Wednesday, February 08, 2006 7:20 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] embed a movieclip
> 
> the section "embedding resources" in flex help it's not very 
> good i need an example of how to maniputale and control the 
> movieclip from flex
> 
> any ideas?
> 
> 
> On 2/8/06, Dominick Accattato <[EMAIL PROTECTED]> wrote:
> 
>   nacho:
>
>   this can be done.  All sorts of resources can be 
> embedded such as sounds, mc's, images.  I suggest you take a 
> look at the section "Embedding Resources" in the help section.
>   
>
>   On 2/8/06, nacho < [EMAIL PROTECTED] 
>  > wrote: 
> 
>   i'm playing with Flex 2 beta 1 and I don't know 
> if it's possible to embed a .SWF file, made it with flash8, 
> as a MovieClip 
>   it's possible?
>   
>   -- 
>   
>   // nacho 
>   
>   
>   --
>   Flexcoders Mailing List
>   FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.t
> xt  
>   Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
>   
>   
>   
>   
>   
>   SPONSORED LINKS 
> Web site design development 
>  nt&w1=Web+site+design+development&w2=Computer+software+develop
> ment&w3=Software+design+and+development&w4=Macromedia+flex&w5=
Software+development+best+practice&c=5&s=166>
&.sig=L-4QTvxB_quFDtMyhrQaHQ>   Computer software 
> development 
>  ment&w1=Web+site+design+development&w2=Computer+software+devel
opment&w3=Software+design+and+development&w4=Macromedia+flex&w5>
=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfW
udJSe1lLjHw>Software design and development >

=Computer+software+development&w3=Software+design+and+developm
ent&w4=Macromedia+flex&w5=Software+development+best+practice&c=5>
&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> 
> Macromedia flex 
> 
=Software+design+and+development&w4=Macromedia+flex&w5=Softwar
e+development+best+practice&c=5&s=166&.sig=OO6nPIrz7> _EpZI36cYzBjw>
Software development best practice 
> 
=Computer+software+development&w3=Software+design+and+developm
ent&w4=Macromedia+flex&w5=Software+development+best+practice&c=5>
&s=166&.sig=f89quyyulIDsnABLD6IXIw> 
> 
> 
> 
>   YAHOO! GROUPS LINKS 
> 
> 
>   
>   *Visit your group "flexcoders 
>  " on the web.
>
>   
>   *To unsubscribe from this group, send 
> an email to:
> 
> [EMAIL PROTECTED] 
>  
>
>   
>   *Your use of Yahoo! Groups is subject 
> to the Yahoo! Terms of Service  . 
> 
> 
> 
> 
> 
> 
> 
>   --
>   Flexcoders Mailing List
>   FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>   Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
>   
>   
>   
>   
>   SPONSORED LINKS 
> Web site design development 
>  nt&w1=Web+site+design+development&w2=Computer+software+develop
> ment&w3=Software+design+and+development&w4=Macromedia+flex&w5=
Software+development+best+practice&c=5&s=166>
&.sig=L-4QTvxB_quFDtMyhrQaHQ>   Computer software 
> development 
>  ment&w1=Web+site+design+development&w2=Computer+software+devel
opment&w3=Software+design+and+development&w4=Macromedia+flex&w5>
=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfW
udJSe1lLjHw>Software design and development >


[flexcoders] Re: Hi, everyone, anyone has an idea how to listen every user action for the whole app

2006-02-08 Thread douglowder
Or just use the wrapping Application tag's events to reset a timeout 
counter.



Use setInterval() to setup a timer function that increments the 
counter and fires a timeout function at the appropriate count, and 
have resetTimeoutCounter() set the counter to 0.


- Doug

--- In flexcoders@yahoogroups.com, Dominick Accattato 
<[EMAIL PROTECTED]> wrote:
>
> I would create a class... call it something like 
ApplicationTimeOut.  Then
> inside the class, I would initialize it by registering for a 
number of
> events such as the MouseEvent.* etc..  Then I would also allow the 
class to
> broadcast events that call for timedout views which could just be 
a screen
> asking the user to relogin.
> 
> On 2/8/06, northwood Lee <[EMAIL PROTECTED]> wrote:
> >
> > I am trying to build a app that run in the browser, I want it 
functions
> > like this:  if the user has not do anything in 20 min, the app 
will lock and
> > tell the user timeout.
> > and a prompt module  TitleWindow jump out ask the user  to input 
password
> > again.
> >
> > the problem is how to listen all the user actions (for example, 
mouse
> > movement , keyboard input. )
> >
> >
> > 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
> >   Web site design development Computer
> > software development Software
> > design and development  Macromedia
> > flex Software
> > development best practice
> >  --
> > YAHOO! GROUPS LINKS
> >
> >
> >-  Visit your 
group "flexcoders"
> >on the web.
> >
> >-  To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> >
> >-  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >Service .
> >
> >
> >  --
> >
>






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

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

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

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





RE: [flexcoders] embed a SWF into FLEX, it's possible?

2006-02-08 Thread Roger Gonzalez
Yep.  Embed(source="foo.swf") or Embed(source="foo.swf",
symbol="assetname").

Note that you can't use AS2 code in the FP8 movie, Flex will strip it
out.

-rg 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of ma_z_z
> Sent: Wednesday, February 08, 2006 4:21 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] embed a SWF into FLEX, it's possible?
> 
> i'm playing with Flex 2 beta 1 and I don't know if it's 
> possible to embed a .SWF file, made it with flash8, as a MovieClip
> 
> it's possible?
> 
> 
> 
> 
> 
> --
> 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/

<*> 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] Dont Even know how to classify this.

2006-02-08 Thread Jeremy Rottman
I currently have my beta app up and running. However I have ran into a
rather odd problem.

Right now I have a simple search that allows people to search on file
numbers. This works perfectly. When someone searches thier resuslts
are display below the input in a datagrid. When you click on the
selected record, it changes the state from the file search state to
the file edit state. Again this works. During the changing of the
states, a var called fileNum is passed into the edit file state. This
is used to populate the edit file inputs. AGain this also works. After
all the edits are done to the file in question, you can click save and
it will save all the data. Again this also works.

Now this is where things get weird. Once you click save, and your data
is saved, It changes the state back to the iniital state. When I go
back to search for a new file in my edit screen, my original search is
still in the datagrid. This is ok for now. I can search and the
results will be display below. When I click on the record I want to
edit, it takes me back to the edit file state. Instead of updating the
data with the new data of the record I selected, it still displays the
data from my origianl search. So if I stated my testing by search for
the file L061234, and view that data in the edit file screen. Then I
search again, and I select the record L061235. The data for L061234 is
still being displayed.

Can someone help me with this, It is driving me nuts. I have included
code below.


FileSearch.mxml--


http://www.macromedia.com/2005/mxml"; xmlns="*"
width="100%" initialize="qpListSearch(search)" height="100%">
http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl";
showBusyCursor="true" />



















adminEditList.mxml-- 


http://www.macromedia.com/2005/mxml"; xmlns="*">
http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl";
showBusyCursor="true" />







  


  
















  
 





















   



 
 











  

Re: [flexcoders] Re: Flex/Coldfusion connectivity test app

2006-02-08 Thread Dave Carabetta
On 2/8/06, Dirk Eismann <[EMAIL PROTECTED]> wrote:
> Hi Ben,
>
> > Frameworks used :
> > - ColdSpring to handle our CFC-based model/service layers,
>
> that's very interesting. We also thought about giving ColdSpring a try -
> do you recommend it? It's a very "young" project and still in alpha so I
> wonder if you had any issues with it in a production environment.
>

Dirk,

It's worth noting that while seemingly an alpha because of it's
pre-1.0 status, it's very much a 1.0 release in terms of stability.
The reason it's not officially at 1.0 is because the creators of it
are conservative with their version numbering and also because they
said they are working on some Flash Remoting-specific features that
they want to get into the official 1.0 release. Head over to
www.coldspringframework.org for more info, including an excellent
tutorial paper to move you along.

Regards,
Dave.


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

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

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

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




RE: [flexcoders] Cairngorm2 and views

2006-02-08 Thread Steven Webster





Dominick,
 
So Cairngorm is never intending to be prescriptive about 
how you architect your view - I'll have some articles available shortly that 
discuss this in more detail.   But your question is a valid one - 
where do we use states and transitions in our view.  Some of our own team 
have been thinking about this in detail in the last few weeks, but we've nothing 
concrete to share at this stage.
 
I'd be as interested in your thoughts as you're interested 
in mine !
 
Best,
 
Steven
 


  
  

  


  
  

Steven WebsterPractice Director (Rich 
Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs 
Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 
6108
m: +44 (0) 7917 428 947 [EMAIL PROTECTED] 
  
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Dominick 
  AccattatoSent: 08 February 2006 06:08To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Cairngorm2 and 
  views
  
  Steven and crew:
   
  Thanks for getting us an alpha build to work with.  Flex 2 is my 
  first opportunity to really start working with the flex framework.  As a 
  side note, I had worked with aspatterns for a number of projects so I'm 
  familiar with the micro-architecture.  My question is simple.  The 
  login example uses viewstacks to change views.  This works fine.  
  However, to take advantage of view states and transistions, shouldn't we just 
  change states now instead of using viewstacks?  Thanks very much for all 
  the hard work.  I look forward to the answer. 
   
  Dominick Accattato, CTO
  www.newviewnetworks.com
   





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Cairngorm2 and views

2006-02-08 Thread Dominick Accattato



Thanks Alex.  Yes I see your point.  Beauty is in the eye of the beholder.  
I'd go login screen > eula agreement > register > main application...
All of those would be states. and I'd transistion between them.  This much would be reusable for other apps..    Once I get to the main application I would then load whatever I need.  
 
Aggain thanks for clarifying the reasoning behind the login example. 
On 2/8/06, Alex Uhlmann <[EMAIL PROTECTED]> wrote:

Hi Dominick,
 
you are right, we could have used view states. But we decided to use a ViewStack because our intend was that the login component switches to a very different "application" component after logging in. Basically when using view states in here you would have to remove and then add completly different components. For us this was the exact definition of a ViewStack. I would think of using states in view components that change it's state based on a base state.

 
However, this is how it would look like using states. The concept of changing a state in your model, and other views bind to that state property stays the same.

 

http://www.macromedia.com/2005/mxml" xmlns:business="org.nevis.cairngorm.samples.login.business.*"  xmlns:control="org.nevis.cairngorm.samples.login.control.*"  xmlns:view="org.nevis.cairngorm.samples.login.view.*
" pageTitle="Cairngorm Login Sample Application" marginTop="5" marginBottom="5"  marginLeft="5" marginRight="5"  horizontalAlign="center"
 currentState="{ getState( model.workflowState ) }" > model.workflowState
 = ModelLocator.VIEWING_LOGIN_SCREEN;  
  
 
  
 

 
    
 

 
Best,
Alex
 
 











Alex UhlmannTechnical Consultant (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6969
m: +44 (0) 7917 428 951 [EMAIL PROTECTED] 

 


From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Dominick AccattatoSent: 08 February 2006 14:08To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Cairngorm2 and views 


Steven and crew:
 
Thanks for getting us an alpha build to work with.  Flex 2 is my first opportunity to really start working with the flex framework.  As a side note, I had worked with aspatterns for a number of projects so I'm familiar with the micro-architecture.  My question is simple.  The login example uses viewstacks to change views.  This works fine.  However, to take advantage of view states and transistions, shouldn't we just change states now instead of using viewstacks?  Thanks very much for all the hard work.  I look forward to the answer. 

 
Dominick Accattato, CTO
www.newviewnetworks.com
 --Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

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










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] How to add

2006-02-08 Thread Ely Greenfield


Hi John. Are you using Flex 1.5, or Flex 2?


Thanks,
Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of wujunjr
Sent: Wednesday, February 08, 2006 3:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to add

Hello,

I'm a newbie in flex(but have fruitful experience in java:). I tried
following issues for several days but failed. Could you tell me how?

1.add a lable on the top of each column in a column chart.

2.set the color of a specified row in datagrid, I found it is possible
to set the color of the column.

Thanks a lot!

John






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

<*> 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] New Inline cell renderers

2006-02-08 Thread Jonathan Miranda










Sorry to shamelessly bump this, but can
anyone think of a “fix” solution for this since it seems to be a
bug? If the CheckBox is tied to something actually in the dataProvider, it
takes 2 clicks (one for row focus, one to click the box) to change even though
I’m using a “isCellEditor” and not an editorClass (if I
change dataObject.compare to dataObject.somevar, it works…but then doesn’t
save the state obviously for sorting/scrolling the datagrid). I’m trying
right now to work with the “change” function of the Datagrid,
seeing if the mouse position is in the correct column then toggling the
checkbox, but then I can’t figure out how to disable the checkbox so it
doesn’t double toggle.

Ideas for a fix for this?



 

_

Jonathan Miranda

Flexible Master of the Web

"In the
game of chess, it's important to never let your opponent see your pieces."





 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 07, 2006
12:09 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] New
Inline cell renderers



 

This may be right in theory, but not in
practice. Try this out – in the dataProvider is a field called
“compare” that is always false. Everything takes 2 clicks.



   
       


   
       
  

   
       
   


   
       
   


   


   


   


   
   &nbs p;   
{checkBox.selected}

   
 

   


   
   &nbs p;    selected="{dataObject.compare}"
/>

   


   


   
   
    

   
       
    

   
       


   
   
   


   
       


   
       


   
       



   
       


 



 

_

Jonathan Miranda

Flexible Master of the Web

"In the
game of chess, it's important to never let your opponent see your pieces."





 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manish Jethani
Sent: Tuesday, February 07, 2006
11:58 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] New
Inline cell renderers



 

On 2/7/06, Jonathan Miranda
<[EMAIL PROTECTED]> wrote:
> Awesome man, thanks - saved me an hour of
banging my head on the table.
> I've no clue why your example and mine cause
a different amount of
> clicks needed though.

If you use "editorClass", it needs two
clicks - one for activating the
cell editor and one for selecting the
CheckBox.  If you use
"cellRenderer" and set
"isCellEditor" to true, it needs only one click
(because the cell editor and the cell renderer are
one and the same,
so there's no need for activation).









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development

RE: [flexcoders] Cairngorm2 and views

2006-02-08 Thread Alex Uhlmann





Hi Dominick,
 
you are right, we could have used view states. But we 
decided to use a ViewStack because our intend was that the login component 
switches to a very different "application" component after logging in. Basically 
when using view states in here you would have to remove and 
then add completly different components. For us this was the exact 
definition of a ViewStack. I would think of using states in view components that 
change it's state based on a base state.
 
However, this is how it would look like using states. The 
concept of changing a state in your model, and other views bind to that 
state property stays the same.
 
http://www.macromedia.com/2005/mxml" xmlns:business="org.nevis.cairngorm.samples.login.business.*" 
 xmlns:control="org.nevis.cairngorm.samples.login.control.*" 
 xmlns:view="org.nevis.cairngorm.samples.login.view.*" pageTitle="Cairngorm 
Login Sample Application" marginTop="5" marginBottom="5" 
 marginLeft="5" marginRight="5" 
 horizontalAlign="center" currentState="{ getState( 
model.workflowState ) }" 
> model.workflowState 
= 
ModelLocator.VIEWING_LOGIN_SCREEN;
 
   
 
    
 

 
Best,
Alex
 
 


  
  

  


  
  

Alex UhlmannTechnical Consultant (Rich 
Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs 
Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 
6969
m: +44 (0) 7917 428 951 [EMAIL PROTECTED] 
  
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dominick 
AccattatoSent: 08 February 2006 14:08To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Cairngorm2 and 
views

Steven and crew:
 
Thanks for getting us an alpha build to work with.  Flex 2 is my first 
opportunity to really start working with the flex framework.  As a side 
note, I had worked with aspatterns for a number of projects so I'm familiar with 
the micro-architecture.  My question is simple.  The login example 
uses viewstacks to change views.  This works fine.  However, to take 
advantage of view states and transistions, shouldn't we just change states now 
instead of using viewstacks?  Thanks very much for all the hard work.  
I look forward to the answer. 
 
Dominick Accattato, CTO
www.newviewnetworks.com
 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] embed a movieclip

2006-02-08 Thread nacho



the section "embedding resources" in flex help it's not very goodi need an example of how to maniputale and control the movieclip from flexany ideas?On 2/8/06, 
Dominick Accattato <[EMAIL PROTECTED]> wrote:



nacho:
 
this can be done.  All sorts of resources can be embedded such as sounds, mc's, images.  I suggest you take a look at the section "Embedding Resources" in the help section. 
On 2/8/06, nacho <
[EMAIL PROTECTED]> wrote:
i'm playing with Flex 2 beta 1 and I don't know if it's possible to embed a .SWF file, made it with flash8, as a MovieClip
it's possible?-- // nacho --Flexcoders Mailing ListFAQ: 

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 

http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 





Web site design development 


Computer software development 


Software design and development 



Macromedia flex 


Software development best practice 


YAHOO! GROUPS LINKS 

 Visit your group "flexcoders" on the web. 
 
 To unsubscribe from this group, send an email to: 

[EMAIL PROTECTED]  
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



  








-- // nacho






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Hi, everyone, anyone has an idea how to listen every user action for the whole app

2006-02-08 Thread Dominick Accattato



I would create a class... call it something like ApplicationTimeOut.  Then inside the class, I would initialize it by registering for a number of events such as the MouseEvent.* etc..  Then I would also allow the class to broadcast events that call for timedout views which could just be a screen asking the user to relogin.

On 2/8/06, northwood Lee <[EMAIL PROTECTED]> wrote:
I am trying to build a app that run in the browser, I want it functions like this:  if the user has not do anything in 20 min, the app will lock and tell the user timeout. 
and a prompt module  TitleWindow jump out ask the user  to input password again.the problem is how to listen all the user actions (for example, mouse movement , keyboard input. )Thanks
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

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










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Dominick Accattato



it doesn't have to be wired to clientside code.  You should be able to call the function..  What I'm guessing is that its a scoping issue.  I think that your socket handler is scoped outside your call.  Place a debug breakpoint and open up into debug mode.  You should be able to see if that function is even getting called.

 
 
On 2/8/06, Jonas Windey <[EMAIL PROTECTED]> wrote:
Yea, that example works too for me, I think the problem is somewhere else.private function setLogVPosition():void
{   txtLog.vPosition = txtLog.maxVPosition;}If I trigger this function on a button click, it works
But I want to use it in a function that changes the txtLog's text, likethis:private function socketDataHandler(event:ProgressEvent):void{   txtLog.text += "\n" + oSocket.readUTFBytes
(oSocket.bytesAvailable);   setLogVPosition();}And this one doesn't work. It sets the text with the correct data, but itcan't set the VPosition. It seems it has to be wired to some clientsideevent, and can't be triggered from code. Is that correct?
-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Manish Jethani
Sent: dinsdag 7 februari 2006 19:29To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex 2.0 beta TextArea questionOn 2/7/06, Jonas Windey <
[EMAIL PROTECTED]> wrote:>> How would I set the scrollPosition of a textarea to it's maximum position?I'm trying to create an msn-like socket application, and need to have mytextArea scrolled to the lowest position.
>> I tried txtLog.vPosition = txtLog.maxVPosition; and txtLog.vPosition =txtLog.textField.height, but no luck.This seems to work for me in Beta 1.
         
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
--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/<*> 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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Cairngorm2 and views

2006-02-08 Thread Dominick Accattato



Steven and crew:
 
Thanks for getting us an alpha build to work with.  Flex 2 is my first opportunity to really start working with the flex framework.  As a side note, I had worked with aspatterns for a number of projects so I'm familiar with the micro-architecture.  My question is simple.  The login example uses viewstacks to change views.  This works fine.  However, to take advantage of view states and transistions, shouldn't we just change states now instead of using viewstacks?  Thanks very much for all the hard work.  I look forward to the answer.

 
Dominick Accattato, CTO
www.newviewnetworks.com
 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] setting a z-index

2006-02-08 Thread Sauro, Nick










Ok, so I tried using the setDepthAbove,
and setDepthBelow methods, to no avail.  I tried firing them on application
initialize, and application creation complete, to no avail.

 

I made two method calls
myObject.setDepthAbove(myOtherObject), and myOtherObject.setDepthBelow(myObject). 
It still pushes myOther object out of the way.  Are there any precautions/best
practices for this method?

 

Thanks again.

 

Nick

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sauro, Nick
Sent: Tuesday, February 07, 2006
6:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] setting a
z-index



 

Hey everyone, I’m trying to create a customized sort
of ComboBox. 

 

Essentially it’s a button, that when clicked, will set
visible a list directly below it(using some kind of effect, probably a resize
from 0-x).  I could use a combobox, but the appearance of this component
is way different than how a combobox looks(no arrow, and icons instead of
text), so I had to do it this way.

 

The problem is, when the list show, it moves everything else
on the screen, so I was wondering if there was some kind of z-index(or
substitute), that I could manipulate to make this behave more like a combo
box.  If a combox can behave in this manner, where when it opens, it
doesn’t push everything out of its way, then there has to be a way for
this to be done.

 

 

Any help, or pointers to help will be greatly appreciated

 

Thanks

 

Nick









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Do Flex and designers mix well?

2006-02-08 Thread Dominick Accattato



Check out Waldo Smeets blog.  He has an article on how the Flash 8 designer can work with Flex skinning.  As well, any designer assets can be embedded as resources and or loaded at runtime.  I would imagine your design team would also be responsible for video assets.  However, designing the application view's will take some knowledge of mxml which shouldn't be too difficult since its based on xml and closely related to html

On 2/8/06, Tim Hewitt <[EMAIL PROTECTED]> wrote:
Im interested to hear peoples views on how they integrate designers into their workflow when using flex.
Also how powerful/constrictive people are finding flex when integrating 'complicated/expressive' designs.Are there good ways to integrate the freedom and expressiveness of the flash IDE using contraint-based layouts and skinned components?
I am only just beggining to explore the Flex framework (I come from a flash development background) for possibleuse in a large-scale future project, but I have yet to see anything that combines real creativity with strong functionality 
and data handling (the last 2 of which seem to be Flex strengths).cheerstim--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

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










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] embed a movieclip

2006-02-08 Thread Dominick Accattato



nacho:
 
this can be done.  All sorts of resources can be embedded such as sounds, mc's, images.  I suggest you take a look at the section "Embedding Resources" in the help section. 
On 2/8/06, nacho <[EMAIL PROTECTED]> wrote:
i'm playing with Flex 2 beta 1 and I don't know if it's possible to embed a .SWF file, made it with flash8, as a MovieClip
it's possible?-- // nacho --Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

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










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] it's possible to embed a swf as a movieclip?

2006-02-08 Thread nacho



i'm playing with Flex 2 beta 1 and I don't know if it's possible to embed a .SWF file, made it with flash8, as a MovieClipit's possible?-- // nacho






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Hi, everyone, anyone has an idea how to listen every user action for the whole app

2006-02-08 Thread northwood Lee



I am trying to build a app that run in the browser, I want it functions
like this:  if the user has not do anything in 20 min, the app
will lock and tell the user timeout. 
and a prompt module  TitleWindow jump out ask the user  to input password again.

the problem is how to listen all the user actions (for example, mouse movement , keyboard input. )


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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Do Flex and designers mix well?

2006-02-08 Thread Tim Hewitt



Im interested to hear peoples views on how they integrate designers into their workflow when using flex.Also how powerful/constrictive people are finding flex when integrating 'complicated/expressive' designs.Are there good ways to integrate the freedom and expressiveness of the flash IDE using contraint-based 
layouts and skinned components?I am only just beggining to explore the Flex framework (I come from a flash development background) for possibleuse in a large-scale future project, but I have yet to see anything that combines real creativity with strong functionality
and data handling (the last 2 of which seem to be Flex strengths).cheerstim






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] embed a movieclip

2006-02-08 Thread nacho



i'm playing with Flex 2 beta 1 and I don't know if it's possible to embed a .SWF file, made it with flash8, as a MovieClipit's possible?-- // nacho






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Re: Help installing Cairngorm 0.99

2006-02-08 Thread Claudia Barnal
Yes, that actually did help removing some bugs, but I still couldn't
get the thing to compile, so I replaced the whole xml with the one
included in the cairngorm zip.

Thank you so much for your help.

On 2/6/06, Andrew Spaulding <[EMAIL PROTECTED]> wrote:
> Hi Claudia,
>
> What seems to be missing is the namespace declaration in the
> flex-config.xml file.
>
> You can find the flex-config.xml file in your Flex server instance at
> /WEB-INF/flex/flex-config.xml
>
> Look for the namespaces tag. It will look like this:
>
> 
>http://www.macromedia.com/2003/mxml";>
>/WEB-INF/flex/mxml-manifest.xml
>
> 
>
> and change it to:
>
> 
>http://www.macromedia.com/2003/mxml";>
>/WEB-INF/flex/mxml-manifest.xml
>
>http://www.iterationtwo.com/cairngorm";>
>/WEB-INF/flex/cairngorm-manifest.xml
>
> 
>
> You will also need to make sure that you have the
> cairngorm-manifest.xml file in your /WEB-INF/flex/
> directory. This can be found where you extracted cairngorm and inside
> the bin directory.
>
> This should solve your namespace problems. Let me know how you go.
>
> Thanks,
>
> Andrew Spaulding
> Adobe Systems
>
>
>
>
> --- In flexcoders@yahoogroups.com, Claudia Barnal <[EMAIL PROTECTED]> wrote:
> >
> > Maybe if I include the errors I get when trying to compile the login
> > sample, you would be able to tell me what's wrong.
> >
> > 7 Errors found.
> >
> > Error
> /login/webapp/org/nevis/cairngorm/samples/login/business/Services.mxml:22
> > Namespace http://www.iterationtwo.com/cairngorm has not been
> > associated with component manifest.
> >
> >
> > Error
> /login/webapp/org/nevis/cairngorm/samples/login/business/Services.mxml:22
> > No type for element
> "http://www.iterationtwo.com/cairngorm:ServiceLocator";
> >
> >
> > Error
> /login/webapp/org/nevis/cairngorm/samples/login/business/Services.mxml:22
> > Unexpected root element
> > "http://www.iterationtwo.com/cairngorm:ServiceLocator"; does not extend
> > MovieClip
> >
> >
> > Error /login/webapp/Index.mxml:43
> > Don't know how to parse element
> > "org.nevis.cairngorm.samples.login.business.*:Services". It is not a
> > known type or a property of mx.core.Application.
> >
> >
> > Error /login/webapp/Index.mxml:46
> > Don't know how to parse element
> > "org.nevis.cairngorm.samples.login.control.*:DemoControl". It is not a
> > known type or a property of mx.core.Application.
> >
> >
> > Error /login/webapp/Index.mxml:50
> > Don't know how to parse element
> > "org.nevis.cairngorm.samples.login.view.*:IndexViewHelper". It is not
> > a known type or a property of mx.core.Application.
> >
> >
> > Error /login/webapp/Index.mxml:53
> > Don't know how to parse element
> > "http://www.macromedia.com/2003/mxml:ViewStack";. It is not a known
> > type or a property of mx.core.Application.
> >
> > Claudia
> >
>
>
>
>
>
>
>
> --
> 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/

<*> 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] Flex2, JBoss and SonicMQ

2006-02-08 Thread cshafer213
Hello,

I am running Flex2 on JBoss and it is working except for the
messaging.  Is there a way that I can point Flex2 to SonicMQ running
remotely?  I would love to be able to specify a url and security for a
remote jndi store where the Sonic connection and topic could be looked
up. 

Thanks,

Chris Shafer
George Weiss Associates
One State Street
Hartford, CT 06103

[EMAIL PROTECTED]
[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/

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

2006-02-08 Thread wujunjr
Hello,

I'm a newbie in flex(but have fruitful experience in java:). I tried
following issues for several days but failed. Could you tell me how?

1.add a lable on the top of each column in a column chart.

2.set the color of a specified row in datagrid, I found it is possible
to set the color of the column.

Thanks a lot!

John






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

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

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

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




[flexcoders] embed a SWF into FLEX, it's possible?

2006-02-08 Thread ma_z_z
i'm playing with Flex 2 beta 1 and I don't know if it's possible to
embed a .SWF file, made it with flash8, as a MovieClip

it's possible?





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

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

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

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





RE: [flexcoders] Re: Flex/Coldfusion connectivity test app

2006-02-08 Thread Benoit Hediard
I recommend ColdSpring, we use it to implement our model CFC factory
(beanFactory).
It is very nice when you have a complex model with a lot of CFCs and complex
CFCs composition/dependencies.
(we have not tested the AOP features)

We don't use yet on production server, but it should not have any
performance issues, since the framework is only called at application
start-up to read the xml config file and creating/wiring all your model
CFCs.

The 1.0 release is very nearby.

So, yes, you should give it a try:
http://www.coldspringframework.org/

Benoit Hediard

PS: the other framework we are using is CF Unit
(http://cfunit.sourceforge.net/), to test our CFC-based model/service
layers.
A must when working with Flex, to be sure that your remote services are
correctly working!

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de Dirk Eismann
Envoyé : mercredi 8 février 2006 11:06
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] Re: Flex/Coldfusion connectivity test app

Hi Ben,

> Frameworks used :
> - ColdSpring to handle our CFC-based model/service layers,

that's very interesting. We also thought about giving ColdSpring a try - do
you recommend it? It's a very "young" project and still in alpha so I wonder
if you had any issues with it in a production environment.

Dirk.




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

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





  1   2   >