RE: [flexcoders] call from https to http giving sandbox violation error

2007-10-05 Thread Alex Harui
If https load http, then you have to use allowInsecureDomain, but our
Security team discourages this configuration as once you do so, a
tampered http swf can get at your https swf's data.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of gur_sukh
Sent: Friday, October 05, 2007 4:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] call from https to http giving sandbox violation
error



Hi,

I am loading a B1.swf via a http call from a A1.swf which itelf is 
being loadded from a secure server through https. i tried 
Secure.allowdomain() and crossdomain. Probably putting it all in the 
wrong place. Can any one provide some guidance.

Jas



 


RE: [flexcoders] Autosizing Text to fit alloted space

2007-10-05 Thread Alex Harui
That's definitely not built-in.  You'll have to run your own routine to
figure it out.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mthomas1969
Sent: Friday, October 05, 2007 3:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Autosizing Text to fit alloted space



Does anyone know of an easy way to autosize text (ie. adjust the font 
size) in order for a particular text string to fit into a prealloted 
space? I'd like to have a label that is set to a specific width and 
then put a text string into it and have the size of the font adjust 
itself so that the string fits into the label. 

I've written similar functions using .NET, but am wondering if I must 
do the same in Flex, or is there something that already does this?

Thanks-
Matt Thomas



 


[flexcoders] Re: Panel Componenet Help

2007-10-05 Thread ben.clinkinbeard
I use the flexcoders web ui so I havent seen your attachment but I am
the one Alex helped out last week. Assuming your issue is the same as
mine, the problem is related to starting your drag by clicking in a
textfield (Panel title). If you put an invisible DisplayObject over
the titleBar and attach your drag handlers to that it should solve the
problem.

HTH,
Ben



--- In flexcoders@yahoogroups.com, Sheriff <[EMAIL PROTECTED]> wrote:
>
> So more info, the thing works only if the Browser is not in full
screen mode and no matter how big it is. I expanded it manually so it
covers the entire screen and that bug did not happen but once i hit
the maximize button on firefox and retried i got the panel to get
stuck again if i pull towards the corner.
> 
> - Original Message 
> From: Sheriff <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Friday, October 5, 2007 5:44:23 PM
> Subject: Re: [flexcoders] Panel Componenet Help
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   
> 
> 
> 
> 
> Thanks, ya its the same problem but i am using firefox and it does
the same thing. 
> 
> - Original Message 
> From: Alex Harui <[EMAIL PROTECTED] com>
> To: [EMAIL PROTECTED] ups.com
> Sent: Friday, October 5, 2007 5:27:45 PM
> Subject: RE: [flexcoders] Panel Componenet Help
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Known bug in IE only.  I helped someone else on this 
> in the last two weeks. Search the archives for MOUSE_LEAVE or 
> mouseLeave
> 
> 
> 
> 
> From: [EMAIL PROTECTED] ups.com 
> [mailto:flexcoders@ yahoogroups. com] On Behalf Of Sheriff
> Sent: 
> Friday, October 05, 2007 3:23 PM
> To: 
> [EMAIL PROTECTED] ups.com
> Subject: Re: [flexcoders] Panel Componenet 
> Help
> 
> 
> 
> 
> 
> 
> 
> 
> 
> the 
> file is attached. Thanks
> 
> 
> - 
> Original Message 
> From: Sheriff <[EMAIL PROTECTED] com>
> To: 
> [EMAIL PROTECTED] ups.com
> Sent: Friday, October 5, 2007 5:21:40 
> PM
> Subject: [flexcoders] Panel Componenet Help
> 
> 
> 
> 
> 
> 
> I was 
> wondering if anyone knows what i am doing wrong, basically drag the
panel on the 
> left(only works for the left side) and keep dragging until you can't
anymore but 
> keep moving the cursor until you reach the end of the window then
release. Move 
> back the cursor and The panel gets stuck, i tried every listener to
listen for 
> but none can work. So any advice?
> 
> 
> 
> 
> 
> Pinpoint customers who are looking for what you 
> sell. 
> 
> 
> 
> 
> 
> 
> 
> Tonight's top picks. What will you watch tonight? Preview 
> the hottest shows on Yahoo! TV. 
> 
> 
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   Pinpoint customers who are looking for what you sell. 
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>

> Yahoo! oneSearch: Finally, mobile search 
> that gives answers, not web links. 
> http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
>




RE: [flexcoders] Re: Passing ID from master to detail

2007-10-05 Thread Tracy Spratt
Honestly, using LSO for this is nuts. If I am understanding fully.

 

Say the value you want is a record id, and you can select it in a
datagrid or list component in the main app, and need to pass it into the
component.

 

In your component, create a public property.  You can implement it as a
public var or with a setter function.  If you want the change of the
value to initiate some action, like call a data service, use a setter. 

 

When you instantiate the component, pass in the value you want using
binding:

mailto:[EMAIL PROTECTED] On
Behalf Of stlum9495
Sent: Friday, October 05, 2007 7:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Passing ID from master to detail

 

Hi Tracy,

Thanks for replying.

Yes, my mxml are in different files. I should prob have said this
earlier -- my canvases are done using the code behind pattern, so I
have a mxml for each canvas, and behind it is an .as that extends
Canvas.

Perhaps I should have specified more. For this example, say there is
a datagrid with a bunch of user information. when you click on a row
/ user, a new canvas is selected in the viewstack w/ more user
detailed information.

Like I said, currently I'm using a Local Shared Obj...what is your
recommended way?

Thanks

--- In flexcoders@yahoogroups.com 
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> There are much simpler ways.
> 
> 
> 
> If your two canvases are in the same mxml file(class) then they share
> the the same scope and you can bind or access values directly. If they
> are implemented in different mxml files, then it is a tiny bit more
> complicated.
> 
> 
> 
> Same scope
> 
> Declare an id in any mx tag you want to be able to access. Then you
can
> access values by doing something like this:
> 
> in AS:
> 
> myText1.text = myText2.text; 
> 
> myText1.text = myComboBox.selectedItem.myProperty
> 
> 
> 
> Binding In mxml:
> 
>  
>  
> 
> 
> If myText1 and myText2 are in different scope(different mxml files),
> post, and I will explain how to do that.
> 
> 
> 
> Tracy
> 
> 
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of stlum9495
> Sent: Friday, October 05, 2007 10:21 AM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Passing ID from master to detail
> 
> 
> 
> Hi,
> 
> I've been programming for awhile, but am new to Flex and was wondering
> what the best way of passing values from screen to screen is.
> 
> Currently, I have two canvases which have a master detail
> relationship. When I click on a button in the master canvas, I want
> to pass the record id to the detail canvas so that the detail canvas
> can query the server for the details data. simple master detail.
> 
> To code this in flex, what I did was when the button was clicked on
> the master, I saved the record id into a Local Shared Object, and when
> my Detail canvas appears, I grab the id from said Local Shared Object
> and make my server side request.
> 
> This works fine, but I was wondering -- is this the Best Practice way?
> I haven't seen much by way of design patterns etc for flex
> pages(I've seen the AS book) so was wondering if I should be doing
> this differently.
> 
> Thanks
>

 



RE: [flexcoders] CFEclipse and Flex Builder

2007-10-05 Thread Randy Martin
If you're running the standalone version of FB2, then you need to go to the
archives for CFEclipse and download v1.30. This version of CFEclipse will
install correctly with standalone FB2.
 
~randy


   _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sheriff
Sent: Friday, October 05, 2007 9:11 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] CFEclipse and Flex Builder





how are you installing it? i have both and they work fine


- Original Message 
From: Tim Ashworth <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Friday, October 5, 2007 8:52:06 AM
Subject: [flexcoders] CFEclipse and Flex Builder





Hi all,
 
I've unsuccessfully tried to add CFEclipse to Flex Builder 2.  After several
uninstall and reinstalls I've given up.  I want to develop in CF and Flex
and would rather use one IDE.  Am I being thick, or am I just barking up the
wrong tree?
 
Cheers
 
Tim


   _  

Tonight's top picks. What will you watch tonight? HYPERLINK
"http://us.rd.yahoo.com/tv/mail/tagline/tonightspicks/evt=48220/*http://tv.y
ahoo.com/"Preview the hottest shows on Yahoo! TV. 



 


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.488 / Virus Database: 269.14.1/1050 - Release Date: 10/4/2007
5:03 PM
 


[flexcoders] how do I trigger measure (while laying out UIComponents in actionscript)

2007-10-05 Thread Arpit Mathur
I have tried this code for way too long and am ready to throw in the towel,
so I am really hoping one of you can help me:

I have a custom component based on Canvas that I want to accept a series of
UIComponents as children based on an array of data sent in. So here is how
my code is layed out:

1) I have a set dataProvider() function that accepts an array. If the array
is new, it sets it as an internal variable ( _dataprovider ) and calls
invalidateProperties()

2) In my commitProperties code, I loop through the array and for each member
create an instance of the UIComponent that will represent the data. I also
add them as children calling addChild(). I push all instances created into
another array (called markers).I then call invalidateDisplaylist()

3) In my updateDisplaylist, I check position the instances held on the
markers array.


Here is the clincher: I cant see the instances created since their width and
height is 0. I want to set their width and height based on their
measuredWidth and height. But thats 0. Tracing their initialized status
returns false. How do I trigger them to call their measure()  function???
PLease dont say call invalidateSize()  since I have done that and it doesnt
work. I tried calling validateNow() but that seems to hang my computer.

help !



-- 
Arpit Mathur
Lead Software Engineer,
Comcast Interactive Media
---
post your flex tips on
http://flextips.corank.com


[flexcoders] Re: FlexBuilder feature rich? Not as a development tool.

2007-10-05 Thread williamkusumo
Let's all vote for wheel-scroll issue on Mac! And also wheel-scroll
issue when wmode is on! This issue seems to be have plagued Flash
since the beginning of age, is there a reason why this hasn't been
resolved yet?

Thanks!

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Beta 2 essentially exposes the features that we have planned for the
> Flex 3 release.  But one thing that we talked about at MAX is how
> excited developers should be for Thermo, because it means that we're
> going to be able to allow Flex Builder to become even more developer
> focused while Thermo can solve more problems for designers.  This means
> more engineering effort behind the coding features like you mention.
> 
>  
> 
> So please file and vote for bugs (can't stress the voting enough) at
> http://bugs.adobe.com/flex, it's really the best way for us to gauge
> what developer features we need to focus on since you should assume we
> are not all-powerful and can't get everything done in a single release.
> 
>  
> 
> Matt 
> 
>  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of dbronk
> Sent: Friday, October 05, 2007 6:34 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] FlexBuilder feature rich? Not as a development
> tool.
> 
>  
> 
> I have seen a sneak peak a month or 2 ago of FlexBuilder 3. I've
> tried to load Flex 3 Beta 1 on my box with no luck. It simply erred
> out on the install. Have not tried beta 2 yet. But it is beta so
> that is fine.
> 
> But, from the sneak peak I saw, there were only a few IDE features
> added that still leaves it behind almost every other IDE out there. I
> know that Flex 3 will add some basic refactoring features and some
> people said wow, that's cool!. But I said, wow, it's about time! My
> question... How much effort is Adobe putting into the FlexBuilder IDE
> (which we pay for) as it is very behind the times as far as expected
> developer productivity features (found in almost all FREE progamming
> language IDE's). I've been waiting for some extemely basic ones such as:
> 
> - Code formatter to reformat code of sloppy developers not caring
> about the format of their code.
> 
> - Import organization, which organizes, add/deletes imports as needed.
> 
> - Smarter indentation. Cut a section of code from one place in my
> file to another, it should re-indent as necessary for the destination.
> 
> - Renaming or moving a class should go through the entire project and
> refactor for me.
> 
> These are just some of the most basic things and the list goes on. 
> What, if any, should we expect to see in Flex 3?
> 
> Don't get me wrong, I think Flex absolutely rocks! But, I do find
> that I lose productivity with these very basic and completely expected
> features that I'm use to having.
> 
> Dale
>




[flexcoders] Re: Wheel-scroll on Mac

2007-10-05 Thread williamkusumo
I guess everyone is still on their way back from Adobe Max? :(

I should've asked someone while I was there...

--- In flexcoders@yahoogroups.com, "williamkusumo" <[EMAIL PROTECTED]>
wrote:
>
> Is wheel-scroll bug on Mac gonna be fixed anytime soon? I am thinking
> if it's worth doing the Javascript hack I've found online to solve
> this issue for now.
> 
> Thanks!
>




[flexcoders] Re: Passing ID from master to detail

2007-10-05 Thread stlum9495
Hi Tracy,

Thanks for replying.

Yes, my mxml are in different files.  I should prob have said this
earlier -- my canvases are done using the code behind pattern, so I
have a mxml for each canvas, and behind it is an .as that extends Canvas.

Perhaps I should have specified more.  For this example, say there is
a datagrid with a bunch of user information.  when you click on a row
/ user, a new canvas is selected in the viewstack w/ more user
detailed information.

Like I said, currently I'm using a Local Shared Obj...what is your
recommended way?

Thanks

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> There are much simpler ways.
> 
>  
> 
> If your two canvases are in the same mxml file(class) then they share
> the the same scope and you can bind or access values directly.  If they
> are implemented in different mxml files, then it is a tiny bit more
> complicated.
> 
>  
> 
> Same scope
> 
> Declare an id in any mx tag you want to be able to access.  Then you can
> access values by doing something like this:
> 
> in AS:
> 
> myText1.text = myText2.text; 
> 
> myText1.text = myComboBox.selectedItem.myProperty
> 
>  
> 
> Binding In mxml:
> 
>  
>  
>  
> 
> If myText1 and myText2 are in different scope(different mxml files),
> post, and I will explain how to do that.
> 
>  
> 
> Tracy
> 
>  
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of stlum9495
> Sent: Friday, October 05, 2007 10:21 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Passing ID from master to detail
> 
>  
> 
> Hi,
> 
> I've been programming for awhile, but am new to Flex and was wondering
> what the best way of passing values from screen to screen is.
> 
> Currently, I have two canvases which have a master detail
> relationship. When I click on a button in the master canvas, I want
> to pass the record id to the detail canvas so that the detail canvas
> can query the server for the details data. simple master detail.
> 
> To code this in flex, what I did was when the button was clicked on
> the master, I saved the record id into a Local Shared Object, and when
> my Detail canvas appears, I grab the id from said Local Shared Object
> and make my server side request.
> 
> This works fine, but I was wondering -- is this the Best Practice way?
> I haven't seen much by way of design patterns etc for flex
> pages(I've seen the AS book) so was wondering if I should be doing
> this differently.
> 
> Thanks
>




[flexcoders] Re: no rtmp connection on win xp ?

2007-10-05 Thread ggyao2005
Hi,

my problem is resolved. What I did were:

1, remove "samples" out of the webapps, no sure whether this is a big 
deal.
2, wait until "RTMP server listening on port ". this is probably 
the main reason, sometimes it seems to take a long time before this 
line appear, if you try to connect to the mxml file before this line 
appear, surely the "url undefined". some times it never appear, I 
need to kill it and restart. 
3, avoid names conflict. I have named query "all" in 
Event/Employee/Contact.hbm.xml, it seems to have conflicting. So I 
changed to "event.all", "employee.all", etc.


York

--- In flexcoders@yahoogroups.com, "ggyao2005" <[EMAIL PROTECTED]> wrote:
>
> 
> 
> Hello,
> 
> have anyone found the solution? I encountered the same problem right
> now.
> 
> Here is what I did:
> 
> {tomcat}/flex/WEB-INF/flex/data-management-config.xml
> 
> 
>   class="flex.data.DataService">
> 
>  
>   class="flex.data.adapters.ASObjectAdapter" default="true"/>
>   class="flex.data.adapters.JavaAdapter"/>
>  
> 
>  
>  
>  
> 
>   
>  
>  
>  true
>  
flex.data.assemblers.HibernateAssembler
>  application
>  
>  
>  
>  
>  20
>  
>  
>   max-frequency="500"/>
>  
>  
>  crm.Contact
>  
>  fill
>  java.util.List
>  
>  
>  false
>  true
>  
>  
>  
>  
> 
>  
>  
>   
>   
>true
>flex.data.assemblers.HibernateAssembler
>application
>
> 
>   destination="crm.event.hibernate" lazy="false" />
>
>
> 20
> 
> 
> 
>
>
> 
>  crm.Employee
> 
> 
>  false
>  true
> 
>
>   
>  
>  
>   
>   
>true
>flex.data.assemblers.HibernateAssembler
>application
>
> 
>   destination="crm.employee.hibernate" lazy="false" />
>
>
> 20
> 
> 
> 
>
>
> crm.Event
> 
>  false
>  true
> 
>
>   
>  
> 
> 
> 
> 
> 
> {tomcat}/flex/WEB-INF/classes/hibernate.cfg.xml
> 
> 
>  "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd
>  ">
> 
>  
>   name="hibernate.bytecode.use_reflection_optimizer">false
>   
name="hibernate.connection.driver_class">com.mysql.jdbc.Driver >
>  flex
>   
name="hibernate.connection.url">jdbc:mysql://127.0.0.1/flex
>  flex
>   
name="hibernate.dialect">org.hibernate.dialect.MySQLDialect
>  
>  
>  
>  
> 
>  
> 
> 
> 
> {tomcat}/flex/WEB-INF/classes/crm/*.java
> {tomcat}/flex/WEB-INF/classes/crm/*.hbm.xml
> 
> 
> 
>  DTD 3.0//EN"
> "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd
>  ">
> 
> 
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> 
> 
> 
> 
> 
>  DTD 3.0//EN"
> "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd
>  ">
> 
> 
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  

Re: [flexcoders] FlexBuilder feature rich? Not as a development tool.

2007-10-05 Thread Brian Thornton
In flex builder 3 beta 2 alot of your concerns have been resolved.

-Brian

On 10/5/07, Matt Chotin <[EMAIL PROTECTED]> wrote:
>
>Beta 2 essentially exposes the features that we have planned for the
> Flex 3 release.  But one thing that we talked about at MAX is how excited
> developers should be for Thermo, because it means that we're going to be
> able to allow Flex Builder to become even more developer focused while
> Thermo can solve more problems for designers.  This means more engineering
> effort behind the coding features like you mention.
>
>
>
> So please file and vote for bugs (can't stress the voting enough) at
> http://bugs.adobe.com/flex, it's really the best way for us to gauge what
> developer features we need to focus on since you should assume we are not
> all-powerful and can't get everything done in a single release.
>
>
>
> Matt
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *dbronk
> *Sent:* Friday, October 05, 2007 6:34 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] FlexBuilder feature rich? Not as a development
> tool.
>
>
>
> I have seen a sneak peak a month or 2 ago of FlexBuilder 3. I've
> tried to load Flex 3 Beta 1 on my box with no luck. It simply erred
> out on the install. Have not tried beta 2 yet. But it is beta so
> that is fine.
>
> But, from the sneak peak I saw, there were only a few IDE features
> added that still leaves it behind almost every other IDE out there. I
> know that Flex 3 will add some basic refactoring features and some
> people said wow, that's cool!. But I said, wow, it's about time! My
> question... How much effort is Adobe putting into the FlexBuilder IDE
> (which we pay for) as it is very behind the times as far as expected
> developer productivity features (found in almost all FREE progamming
> language IDE's). I've been waiting for some extemely basic ones such as:
>
> - Code formatter to reformat code of sloppy developers not caring
> about the format of their code.
>
> - Import organization, which organizes, add/deletes imports as needed.
>
> - Smarter indentation. Cut a section of code from one place in my
> file to another, it should re-indent as necessary for the destination.
>
> - Renaming or moving a class should go through the entire project and
> refactor for me.
>
> These are just some of the most basic things and the list goes on.
> What, if any, should we expect to see in Flex 3?
>
> Don't get me wrong, I think Flex absolutely rocks! But, I do find
> that I lose productivity with these very basic and completely expected
> features that I'm use to having.
>
> Dale
>
>   
>


[flexcoders] Autosizing Text to fit alloted space

2007-10-05 Thread mthomas1969
Does anyone know of an easy way to autosize text (ie. adjust the font 
size) in order for a particular text string to fit into a prealloted 
space?  I'd like to have a label that is set to a specific width and 
then put a text string into it and have the size of the font adjust 
itself so that the string fits into the label.  

I've written similar functions using .NET, but am wondering if I must 
do the same in Flex, or is there something that already does this?

Thanks-
Matt Thomas



[flexcoders] Deep copy [clone] a fileReference

2007-10-05 Thread Lukas Ruebbelke
How would a person go about doing a deep copy of a fileReference object? 

 

I am working on an application that requires uploads handled from an item
renderer even though it initiates from a form. Any help is appreciated.
Thanks!

 

Lukas



RE: [flexcoders] DFS refresh an item from a managed list

2007-10-05 Thread Jeff Vroom
In your ActionScript code, the Data Management Service (DMS) should be
monitoring the changes your client makes.  If you have
dataService.autoCommit=true (the default), it gets sent to the server.
If you have dataService.autoSyncEnabled=true, it should get pushed to
other clients automatically.  If you have autoCommit=false, you have to
commit it yourself.  

 

If the change is actually noticed on the server side, not on the client,
there is a call you can make on the class DataServiceTransaction called
"updateItem" which is used to push changes to clients.  You first need
to get a DataServiceTransaction instance either by accessing the current
one using the getCurrentDataServiceTransaction or by beginning a new
one.  If you are in a method in your assembler, use the current one.  If
you are in non DMS code, use begin.  In that case, you also should
commit in a finally clause... this api is designed to be used in
conjunction with code that might get rolled back so you can abort
sending any messages if you do not commit.

 

Hope this helps.

 

Jeff

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alban Soupper
Sent: Friday, October 05, 2007 12:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DFS refresh an item from a managed list

 

Hi All,

 

In my application, I have a list of items managed by a java assembler.

A client modifies an item of the list,

But how other clients can refresh only the item changed without calling
the fill method and transferring the entire list.

I am looking for a method like dataservice.refresh(targetList, itemID)

 

My problem is urgent.

Any help is appreciated.

Alban.




This email and any attachments transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you are not the intended recipient, any disclosure,
copying, use, or distribution of the information included in this
message and any attachments is strictly prohibited.

If you have received this email in error please notify the system
manager at [EMAIL PROTECTED] or by reply e-mail and immediately and
permanently delete this message and any attachments. Thank you.

 




 

 



[flexcoders] call from https to http giving sandbox violation error

2007-10-05 Thread gur_sukh
Hi,

I am loading a B1.swf via a http call from a A1.swf which itelf is 
being loadded from a secure server through https. i tried 
Secure.allowdomain() and crossdomain. Probably putting it all in the 
wrong place. Can any one provide some guidance.

Jas



[flexcoders] Re: Flex Builder 3 - internal build error

2007-10-05 Thread byte.sensei
This whole thing ended up being caused by the following statement I 
had added as a placeholder:

switch (event.oldIndex) {}

...as soon as I commented that out (on a hunch) the error went away 
and everything compiled normally.

Sure enough, I was able to repeat the problem in a blank "test.mxml" 
Flex project by adding the following code to the :






Is it just me or does this seem like a pretty harsh error for an 
empty switch() statement! ;)  Then again, Flex Builder 3 is still in 
beta...


--- In flexcoders@yahoogroups.com, "byte.sensei" <[EMAIL PROTECTED]> 
wrote:
>
> I tried un-installing, deleting the "My Documents\Flex Builder 3\" 
> folder, then re-installing and adding the project from scratch 
again. 
> Still no luck.
> 
> I closed that project and made a new Flex project and it will 
> compile/run fine, so I *think* it has something to do with the 
> project (and not the general IDE / compiler) but I can't figure out 
> what.  I'm at a loss... Anyone out there experienced anything like 
> this?
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "byte.sensei"  
> wrote:
> >
> > Note: I already tried "Project > Clean" and running Flex from the 
> > command line with the "-clean" option, but it's still giving me 
the 
> > internal build error.  I also tried dropping the entire project 
and 
> re-
> > creating it from scratch, but still no luck...
> > 
> > --- In flexcoders@yahoogroups.com, "byte.sensei"  
> > wrote:
> > >
> > > I've been working with Flex Builder 3 beta 2 fine for the past 
> > > several days, and then all of the sudden I got a message 
> saying, "an 
> > > internal build error has occurred. Please check the Error log."
> > > 
> > > So I opened the error log (at {Workspace Dir}\.metadata\.log) 
and 
> > > have been trying to figure out how to correct the problem.  
> Here's 
> > > what is in the .log file (condensed version):
> > >
> >
>




Re: [flexcoders] Panel Componenet Help

2007-10-05 Thread Sheriff
So more info, the thing works only if the Browser is not in full screen mode 
and no matter how big it is. I expanded it manually so it covers the entire 
screen and that bug did not happen but once i hit the maximize button on 
firefox and retried i got the panel to get stuck again if i pull towards the 
corner.

- Original Message 
From: Sheriff <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, October 5, 2007 5:44:23 PM
Subject: Re: [flexcoders] Panel Componenet Help









  




Thanks, ya its the same problem but i am using firefox and it does the same 
thing. 

- Original Message 
From: Alex Harui <[EMAIL PROTECTED] com>
To: [EMAIL PROTECTED] ups.com
Sent: Friday, October 5, 2007 5:27:45 PM
Subject: RE: [flexcoders] Panel Componenet Help














Known bug in IE only.  I helped someone else on this 
in the last two weeks. Search the archives for MOUSE_LEAVE or 
mouseLeave




From: [EMAIL PROTECTED] ups.com 
[mailto:flexcoders@ yahoogroups. com] On Behalf Of Sheriff
Sent: 
Friday, October 05, 2007 3:23 PM
To: 
[EMAIL PROTECTED] ups.com
Subject: Re: [flexcoders] Panel Componenet 
Help









the 
file is attached. Thanks


- 
Original Message 
From: Sheriff <[EMAIL PROTECTED] com>
To: 
[EMAIL PROTECTED] ups.com
Sent: Friday, October 5, 2007 5:21:40 
PM
Subject: [flexcoders] Panel Componenet Help






I was 
wondering if anyone knows what i am doing wrong, basically drag the panel on 
the 
left(only works for the left side) and keep dragging until you can't anymore 
but 
keep moving the cursor until you reach the end of the window then release. Move 
back the cursor and The panel gets stuck, i tried every listener to listen for 
but none can work. So any advice?





Pinpoint customers who are looking for what you 
sell. 







Tonight's top picks. What will you watch tonight? Preview 
the hottest shows on Yahoo! TV. 





  









  Pinpoint customers who are looking for what you sell. 



  
























   

Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

[flexcoders] ColdFusion: Do I need a local dev instance to use CF setup with Flex?

2007-10-05 Thread Brendan Meutzner
This one's never come across my desk before, and I'm at a loss... another
developer (a non-CF guy) is going to be working on some of my projects which
have CF Extensions for RemoteObject hookup with CFC's yada yada... I've
always had CF installed and point to my local instance for project setup.
Because he's not a CF guy, any way for him to point to a remote server so he
doesn't have to install CF?


Thanks,

Brendan



-- 
Brendan Meutzner
http://www.meutzner.com/blog/


Re: [flexcoders] Panel Componenet Help

2007-10-05 Thread Sheriff
Thanks, ya its the same problem but i am using firefox and it does the same 
thing. 

- Original Message 
From: Alex Harui <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, October 5, 2007 5:27:45 PM
Subject: RE: [flexcoders] Panel Componenet Help









  







Known bug in IE only.  I helped someone else on this 
in the last two weeks. Search the archives for MOUSE_LEAVE or 
mouseLeave




From: [EMAIL PROTECTED] ups.com 
[mailto:flexcoders@ yahoogroups. com] On Behalf Of Sheriff
Sent: 
Friday, October 05, 2007 3:23 PM
To: 
[EMAIL PROTECTED] ups.com
Subject: Re: [flexcoders] Panel Componenet 
Help









the 
file is attached. Thanks


- 
Original Message 
From: Sheriff <[EMAIL PROTECTED] com>
To: 
[EMAIL PROTECTED] ups.com
Sent: Friday, October 5, 2007 5:21:40 
PM
Subject: [flexcoders] Panel Componenet Help






I was 
wondering if anyone knows what i am doing wrong, basically drag the panel on 
the 
left(only works for the left side) and keep dragging until you can't anymore 
but 
keep moving the cursor until you reach the end of the window then release. Move 
back the cursor and The panel gets stuck, i tried every listener to listen for 
but none can work. So any advice?





Pinpoint customers who are looking for what you 
sell. 







Tonight's top picks. What will you watch tonight? Preview 
the hottest shows on Yahoo! TV. 





  
















   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC

[flexcoders] Re: Flex Library Project crashing Eclipse with a StackOverflow

2007-10-05 Thread Michael Ritchie
This usually happens when adding multiple SWC files to your
application, its a real bear to track down :\

- michael

--- In flexcoders@yahoogroups.com, "Brendan Meutzner" <[EMAIL PROTECTED]>
wrote:
>
> Just encountered this one myself... I deleted the project for now,
and am
> about to try and recreate to see if error continues...
> 
> It occurred in FB 2.0.1 standalone, and doesn't occur in FB3 or FB
> 2.0.1plugin.  It's a library project which points to the Cairngorm
> swc... I'll
> re-post with results of 2nd try.
> 
> 
> Brendan
> 
> 
> 
> On 8/16/07, Carlos Rovira <[EMAIL PROTECTED]> wrote:
> >
> >   Yes. I found that one a few months ago. I spend a whole day
creating a
> > Cairngorm project
> > ( I don't remebeber the versión...maybe 2.0). As soon as I created the
> > project, something was corrupted and I had to delete the project
to be able
> > to continue working with Eclipse and Flex Builder. I do it a lot
of times
> > and finaly donwload the .swc and use it. I think this was on 2.0, with
> > 2.0.1 I think I didn't find this problem. Last time I create a lib
project
> > all went ok, but maybe still there's some issues with lib projects.
> >
> > 2007/8/16, simonjpalmer < [EMAIL PROTECTED]>:
> > >
> > >   I have a Flex Library project which has a dependency on some
other swc
> > > libraries. Everything is fine up until I include those libraries in
> > > the library path. During the Eclipse/FB session in which I include
> > > them everything is fine, but if I exit the workbenck I cannot
get back
> > > in again because Eclipse crashes with a StackOverflow.
> > >
> > > If I hack the .actioScriptProperties file and remove or comment out
> > > the library path references the project opens again, however I then
> > > seem to have got into an indeterminate state because Eclipse now
> > > throws a different error when I open the project properties window
> > > (where you set the library path). Looking in the .log for the
> > > workbench that seems to be a null pointer exception.
> > >
> > > I cannot recover my project from here. I have had to move the
source,
> > > delete the project and re-create it from scratch. Obvuiously this is
> > > not a tenable situation and means that for all proactical purposes I
> > > cannot develop swc libraries.
> > >
> > > Has anyone else encountered this?
> > >
> > > Thanks
> > > Simon
> > >
> > >
> >
> >
> > --
> > ::| Carlos Rovira
> > ::| http://www.carlosrovira.com
> > ::| http://www.madeinflex.com
> >
> >  
> >
> 
> 
> 
> -- 
> Brendan Meutzner
> http://www.meutzner.com/blog/
>




[flexcoders] Re: Flex Builder 3 - internal build error

2007-10-05 Thread byte.sensei
I tried un-installing, deleting the "My Documents\Flex Builder 3\" 
folder, then re-installing and adding the project from scratch again. 
Still no luck.

I closed that project and made a new Flex project and it will 
compile/run fine, so I *think* it has something to do with the 
project (and not the general IDE / compiler) but I can't figure out 
what.  I'm at a loss... Anyone out there experienced anything like 
this?



--- In flexcoders@yahoogroups.com, "byte.sensei" <[EMAIL PROTECTED]> 
wrote:
>
> Note: I already tried "Project > Clean" and running Flex from the 
> command line with the "-clean" option, but it's still giving me the 
> internal build error.  I also tried dropping the entire project and 
re-
> creating it from scratch, but still no luck...
> 
> --- In flexcoders@yahoogroups.com, "byte.sensei"  
> wrote:
> >
> > I've been working with Flex Builder 3 beta 2 fine for the past 
> > several days, and then all of the sudden I got a message 
saying, "an 
> > internal build error has occurred. Please check the Error log."
> > 
> > So I opened the error log (at {Workspace Dir}\.metadata\.log) and 
> > have been trying to figure out how to correct the problem.  
Here's 
> > what is in the .log file (condensed version):
> >
>




[flexcoders] Re: Flex Library Project crashing Eclipse with a StackOverflow

2007-10-05 Thread Michael Ritchie
Try adding the entire library folder (where the library swc lives) to
your project under Library Path as opposed to the individual SWC file,
see if that does the trick. 

- michael 

--- In flexcoders@yahoogroups.com, "Brendan Meutzner" <[EMAIL PROTECTED]>
wrote:
>
> Just encountered this one myself... I deleted the project for now,
and am
> about to try and recreate to see if error continues...
> 
> It occurred in FB 2.0.1 standalone, and doesn't occur in FB3 or FB
> 2.0.1plugin.  It's a library project which points to the Cairngorm
> swc... I'll
> re-post with results of 2nd try.
> 
> 
> Brendan
> 
> 
> 
> On 8/16/07, Carlos Rovira <[EMAIL PROTECTED]> wrote:
> >
> >   Yes. I found that one a few months ago. I spend a whole day
creating a
> > Cairngorm project
> > ( I don't remebeber the versión...maybe 2.0). As soon as I created the
> > project, something was corrupted and I had to delete the project
to be able
> > to continue working with Eclipse and Flex Builder. I do it a lot
of times
> > and finaly donwload the .swc and use it. I think this was on 2.0, with
> > 2.0.1 I think I didn't find this problem. Last time I create a lib
project
> > all went ok, but maybe still there's some issues with lib projects.
> >
> > 2007/8/16, simonjpalmer < [EMAIL PROTECTED]>:
> > >
> > >   I have a Flex Library project which has a dependency on some
other swc
> > > libraries. Everything is fine up until I include those libraries in
> > > the library path. During the Eclipse/FB session in which I include
> > > them everything is fine, but if I exit the workbenck I cannot
get back
> > > in again because Eclipse crashes with a StackOverflow.
> > >
> > > If I hack the .actioScriptProperties file and remove or comment out
> > > the library path references the project opens again, however I then
> > > seem to have got into an indeterminate state because Eclipse now
> > > throws a different error when I open the project properties window
> > > (where you set the library path). Looking in the .log for the
> > > workbench that seems to be a null pointer exception.
> > >
> > > I cannot recover my project from here. I have had to move the
source,
> > > delete the project and re-create it from scratch. Obvuiously this is
> > > not a tenable situation and means that for all proactical purposes I
> > > cannot develop swc libraries.
> > >
> > > Has anyone else encountered this?
> > >
> > > Thanks
> > > Simon
> > >
> > >
> >
> >
> > --
> > ::| Carlos Rovira
> > ::| http://www.carlosrovira.com
> > ::| http://www.madeinflex.com
> >
> >  
> >
> 
> 
> 
> -- 
> Brendan Meutzner
> http://www.meutzner.com/blog/
>




RE: [flexcoders] Panel Componenet Help

2007-10-05 Thread Alex Harui
Known bug in IE only.  I helped someone else on this in the last two
weeks. Search the archives for MOUSE_LEAVE or mouseLeave



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sheriff
Sent: Friday, October 05, 2007 3:23 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Panel Componenet Help



the file is attached. Thanks


- Original Message 
From: Sheriff <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, October 5, 2007 5:21:40 PM
Subject: [flexcoders] Panel Componenet Help



I was wondering if anyone knows what i am doing wrong, basically drag
the panel on the left(only works for the left side) and keep dragging
until you can't anymore but keep moving the cursor until you reach the
end of the window then release. Move back the cursor and The panel gets
stuck, i tried every listener to listen for but none can work. So any
advice?




Pinpoint customers
 who
are looking for what you sell. 




Tonight's top picks. What will you watch tonight? Preview the hottest
shows
  on Yahoo! TV. 

 


Re: [flexcoders] Panel Componenet Help

2007-10-05 Thread Sheriff
the file is attached. Thanks

- Original Message 
From: Sheriff <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, October 5, 2007 5:21:40 PM
Subject: [flexcoders] Panel Componenet Help









  




I was wondering if anyone knows what i am doing wrong, basically drag the panel 
on the left(only works for the left side) and keep dragging until you can't 
anymore but keep moving the cursor until you reach the end of the window then 
release. Move back the cursor and The panel gets stuck, i tried every listener 
to listen for but none can work. So any advice?




  Pinpoint customers who are looking for what you sell. 



  
























   

Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

RE: [flexcoders] Re: Selecting multiple gridItems in a Grid?

2007-10-05 Thread Alex Harui
HTML tables support drag selection which is what you want.  TileList
uses extended selection like in Windows with shift-click, ctrl-click
etc, and keyboard selection using arrow keys, shift & ctrl.

 

You could probably subclass either one and implement it I suppose, but
TileList already has a selection model so there should be less work to
do.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Csiki
Sent: Friday, October 05, 2007 1:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Selecting multiple gridItems in a Grid?

 

In what sense, please? Also, does TileList support such of a multiple 
selection, using just the mouse?
I'm talking about the same use case you select multiple items from 
your desktop, exclusively using the mouse ("defining" a rectangle by 
dragging it while holding the left button down, and have evey item 
that's inside this rectnagle being highlighted/selected).

Thanks
Robert

--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> The Grid container does not support selection.
> 
> The DataGrid does, but not in the HTMLTable sense.
> 
> 

 



RE: [flexcoders] FlexBuilder feature rich? Not as a development tool.

2007-10-05 Thread Matt Chotin
Beta 2 essentially exposes the features that we have planned for the
Flex 3 release.  But one thing that we talked about at MAX is how
excited developers should be for Thermo, because it means that we're
going to be able to allow Flex Builder to become even more developer
focused while Thermo can solve more problems for designers.  This means
more engineering effort behind the coding features like you mention.

 

So please file and vote for bugs (can't stress the voting enough) at
http://bugs.adobe.com/flex, it's really the best way for us to gauge
what developer features we need to focus on since you should assume we
are not all-powerful and can't get everything done in a single release.

 

Matt 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dbronk
Sent: Friday, October 05, 2007 6:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FlexBuilder feature rich? Not as a development
tool.

 

I have seen a sneak peak a month or 2 ago of FlexBuilder 3. I've
tried to load Flex 3 Beta 1 on my box with no luck. It simply erred
out on the install. Have not tried beta 2 yet. But it is beta so
that is fine.

But, from the sneak peak I saw, there were only a few IDE features
added that still leaves it behind almost every other IDE out there. I
know that Flex 3 will add some basic refactoring features and some
people said wow, that's cool!. But I said, wow, it's about time! My
question... How much effort is Adobe putting into the FlexBuilder IDE
(which we pay for) as it is very behind the times as far as expected
developer productivity features (found in almost all FREE progamming
language IDE's). I've been waiting for some extemely basic ones such as:

- Code formatter to reformat code of sloppy developers not caring
about the format of their code.

- Import organization, which organizes, add/deletes imports as needed.

- Smarter indentation. Cut a section of code from one place in my
file to another, it should re-indent as necessary for the destination.

- Renaming or moving a class should go through the entire project and
refactor for me.

These are just some of the most basic things and the list goes on. 
What, if any, should we expect to see in Flex 3?

Don't get me wrong, I think Flex absolutely rocks! But, I do find
that I lose productivity with these very basic and completely expected
features that I'm use to having.

Dale

 



RE: [flexcoders] Lazy association

2007-10-05 Thread Jeff Vroom
This is how lazy="true" works today.  It always fetches the ids of the
associated objects which unfortunately for hibernate tends to mean that
you end up querying collection properties on the server twice - once to
get the ids, and once to get the values later on when you try to get the
referenced items on the client.  Partly this is so you can detect
conflicts on these properties... the client gets the entire state of the
parent object so you can see if the collection properties have been
changed before processing an update. 

 

This has been a commonly requested feature and something that we're
working to improve with a new option that just leaves collections on the
server until you access them on the client.  Ideally we will support
paging on these properties as well so we only fetch the values one page
at a time when you do access them.

 

The SequenceManager is responsible for implementing the
autoSyncEnabled=true flag.  It tracks what state is managed on each
active client and uses that information to figure out which changes each
client needs to be pushed.  It is not responsible for the id thing -
that is just how we serialize data to the client right now.

 

Jeff

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Emmanuel Potvin
Sent: Friday, October 05, 2007 1:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Lazy association

 

Hi,

 

I have a class named Structure with a one-to-many association to another
class named Column. The Structure class has a property named column who
is a collection of Column. I manage this with Hibernate and my own Dao,
so I use my self coded StructureAsssembler and ColumnAssembler to access
them with the data manager of Flex.

 

In my data-management-config.xml file, I have this :

 

  





true

false

true

 
net.cpaerp.structure.application.business.entity.assembler.Struc
tureAssembler

session











20

















 

  





true

false

false

 
net.cpaerp.structure.application.business.entity.assembler.Colum
nAssembler

session











20

















 

As you see, my relations are < lazy >, and in some way, it works... but
not really. When I fill an AS ArrayCollection of Structure objects with
the fill method of my assembler, it return a collection of Structure,
but a SequenceManager always extract every ids of the column collection
associated with every structure extracted, before returning the
collection to the client. This makes hibernate to extract the columns
from the database without  being needed. I don't think that this is
really lazy... 

 

What is a sequence manager by the way... ?

 

Emmanuel

 



[flexcoders] Re: Flex Builder 3 - internal build error

2007-10-05 Thread byte.sensei
Note: I already tried "Project > Clean" and running Flex from the 
command line with the "-clean" option, but it's still giving me the 
internal build error.  I also tried dropping the entire project and re-
creating it from scratch, but still no luck...

--- In flexcoders@yahoogroups.com, "byte.sensei" <[EMAIL PROTECTED]> 
wrote:
>
> I've been working with Flex Builder 3 beta 2 fine for the past 
> several days, and then all of the sudden I got a message saying, "an 
> internal build error has occurred. Please check the Error log."
> 
> So I opened the error log (at {Workspace Dir}\.metadata\.log) and 
> have been trying to figure out how to correct the problem.  Here's 
> what is in the .log file (condensed version):
> 




[flexcoders] attaching a style sheet to flex

2007-10-05 Thread Gustavo Duenas
Hi I was wondering if I can set a background image using a style  
sheet in a flex application?
something like a simple gif, that is going to be repeated for ever  
with the repeat property in the style sheet,

could I?

I appreciate your help friends.


Regards.



Gustavo A. Duenas

P.s: the background is for the whole application not for certain parts.





[flexcoders] Flex Builder 3 - internal build error

2007-10-05 Thread byte.sensei
I've been working with Flex Builder 3 beta 2 fine for the past 
several days, and then all of the sudden I got a message saying, "an 
internal build error has occurred. Please check the Error log."

So I opened the error log (at {Workspace Dir}\.metadata\.log) and 
have been trying to figure out how to correct the problem.  Here's 
what is in the .log file (condensed version):


!SESSION 2007-10-05 16:51:48.125 -
--
eclipse.buildId=unknown
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 4 0 2007-10-05 16:51:51.093
!MESSAGE The command 
("com.adobe.flexbuilder.exportimport.flexprojectexportaction") is 
undefined
!STACK 0
java.lang.Exception
at 
org.eclipse.jface.action.ExternalActionManager$CommandCallback.isActiv
e(ExternalActionManager.java:297)
at 
org.eclipse.jface.action.ActionContributionItem.isCommandActive
(ActionContributionItem.java:588)

!ENTRY org.eclipse.jface 4 0 2007-10-05 16:51:51.109
!MESSAGE The command 
("com.adobe.flexbuilder.exportimport.skinartworkimportaction") is 
undefined
!STACK 0
java.lang.Exception
at 
org.eclipse.jface.action.ExternalActionManager$CommandCallback.isActiv
e(ExternalActionManager.java:297)
at 
org.eclipse.jface.action.ActionContributionItem.isCommandActive
(ActionContributionItem.java:588)

!ENTRY org.eclipse.jface 4 0 2007-10-05 16:51:51.109
!MESSAGE The command 
("com.adobe.flexbuilder.exportimport.webserviceimportaction") is 
undefined
!STACK 0
java.lang.Exception
at 
org.eclipse.jface.action.ExternalActionManager$CommandCallback.isActiv
e(ExternalActionManager.java:297)
at 
org.eclipse.jface.action.ActionContributionItem.isCommandActive
(ActionContributionItem.java:588)

!ENTRY com.adobe.flexbuilder.project 4 43 2007-10-05 16:52:08.062
!MESSAGE Uncaught exception in compiler
!STACK 0
java.lang.NullPointerException
at macromedia.asc.semantics.ConfigurationEvaluator.evaluate
(Unknown Source)
at macromedia.asc.parser.SwitchStatementNode.evaluate(Unknown 
Source)



Any idea how to fix this problem? Do I need to re-install Flex 3?




[flexcoders] Lazy association

2007-10-05 Thread Emmanuel Potvin
Hi,

 

I have a class named Structure with a one-to-many association to another
class named Column. The Structure class has a property named column who is a
collection of Column. I manage this with Hibernate and my own Dao, so I use
my self coded StructureAsssembler and ColumnAssembler to access them with
the data manager of Flex.

 

In my data-management-config.xml file, I have this :

 

  





true

false

true

 
net.cpaerp.structure.application.business.entity.assembler.Structure
Assembler

session











20

















 

  





true

false

false

 
net.cpaerp.structure.application.business.entity.assembler.ColumnAss
embler

session











20

















 

As you see, my relations are < lazy >, and in some way, it works. but not
really. When I fill an AS ArrayCollection of Structure objects with the fill
method of my assembler, it return a collection of Structure, but a
SequenceManager always extract every ids of the column collection associated
with every structure extracted, before returning the collection to the
client. This makes hibernate to extract the columns from the database
without  being needed. I don't think that this is really lazy. 

 

What is a sequence manager by the way. ?

 

Emmanuel



RE: [flexcoders] Re: url request variables

2007-10-05 Thread Tracy Spratt
Yes, you have something else going on.  I routinely access the
Application.application.parameters in a creationComplete handler.

I'm a guy, by the way.

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Friday, October 05, 2007 3:38 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: url request variables

 

Not sure I understand.  Looks like you're trying to pick up variables
from the url request for your app and they are on
Application.application.parameters.

 

Are you saying that if you check the parameters on creationComplete they
are not there?  Maybe doRequest() is making some assumption.  If you
have setup:

 

creationComplete="doRequest()"

 

then I'd debug inside doRequest

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jayson
Sent: Friday, October 05, 2007 12:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: url request variables

 

This is very strange.. I think I may be running into some sort of 
security issue.

I have a function called doRequests, where it takes the urlRequests 
and does whatever corresponding to the variable entered.. it works, 
but..

It only works when I map it to a button or something I have to click. 
If I want it done automatically(creationComplete).. it doesnt work. I 
thought maybe it was a timing issue.. made a timer and had it wait 5 
secs.. no go.

I'm not really sure what to do here..

anyone have some insight?

Thanks...

--- In flexcoders@yahoogroups.com 
, "Jayson" <[EMAIL PROTECTED]> wrote:
>
> Got it...
> 
> this is needed..
> 
> private function initVars():void{
> req1 = Application.application.parameters.req1;
> req2 = Application.application.parameters.req2;
> }
> 
> and initVars() is called on the application creationComplete.
> works like a charm...
> 
> here is the link in liveDocs
> 
http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhel


p.
> htm?context=LiveDocs_Parts&file=1003.html
> 
> Jayson
>

 



RE: [flexcoders] adding an event listener to a dynamically added component

2007-10-05 Thread Tracy Spratt
Try:

var newRow:SearchInputRow = new SearchInputRow();

newRow.addEventListener("onRemoveRow",myEventHandler);

searchRows.addChild(newRow);

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Munn
Sent: Friday, October 05, 2007 3:17 PM
To: flexcoders
Subject: [flexcoders] adding an event listener to a dynamically added
component

 

I have a search component that allows the user to add new search
criteria on the fly. The search criteria is contained in a custom
component, one row per criteria. The first row is defined like this:

 

Rows can be added by clicking a button which dynamically adds a new
component like so:

var newRow:SearchInputRow = new SearchInputRow(); 

   // add the new component to the VBox 
searchRows.addChild(newRow);


The custom component has a button that can be used to remove any rows
after the first row. The button calls a function that dispatches a
custom event called onRowRemove 

private function doRemoveRow():void{
var e:Event = new Event("onRemoveRow",true);
trace(e);
dispatchEvent(e);

}


[Event(name="onRemoveRow")]


The event fires, but my dynamically added rows never see it because they
are not listening for it. How can I add an event listener for this
custom event to my dynamically created components? 


Thanks in advance,

Rob

-- 
---
Robert Munn
www.emergentpath.com   

 



RE: [flexcoders] ArrayCollection XMLList?

2007-10-05 Thread Tracy Spratt
Maybe someone will point to a simple custom ItreeDataDescriptor example.


 

It might be easier to convert the AC to xml.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Friday, October 05, 2007 3:29 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ArrayCollection XMLList?

 

Whether the objects are strongly-typed or not, you can stick the AC in
as the Tree's DP, but you'll need a custom ITreeDataDescriptor to tell
the tree what is a branch and what the children are.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Scott - FastLane
Sent: Friday, October 05, 2007 12:01 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] ArrayCollection XMLList?

 

Assuming your ArrayCollection contains strongly typed objects, I think
you can make the ArrayCollection itself be the dataprovider for your
tree.  Your class (the data stored in the ArrayCollection) just needs to
implement the get children():Array and get label():String method iirc.

hth
Scott

candysmate wrote: 

I have an ArrayCollection in Flex which contains the delivery
information for a given stock item:

boxes quantity

10 20
15 20
17 20

etc 

how can I convert this into an XMLList so that it can be a
dataProvider for a tree control where each line is a branch of
the
tree please?

 

 



RE: [flexcoders] How to assign values from a result set to matching declared variables?

2007-10-05 Thread Tracy Spratt
Use bracket notation:

This["pg" + i + "Title"] = rs.getItemAt(i).VALUE;

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of wlbagent
Sent: Friday, October 05, 2007 1:32 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to assign values from a result set to matching
declared variables?

 

I can easily do this in ColdFusion but can't figure it out in FLEX.

I have a database table containing settings for an application. The
table has a "Name" field for the name of a declared variable in my
MXML application and a "Value" field for the initial variable
assignment. For example, the result returned from a remote object
call to the table returns 2 records: 

rs[0].NAME = "pg1Title", rs[0].VALUE = "Page 1 Title"
rs[1].NAME = "pg2Title", rs[1].VALUE = "Page 2 Title"

In my application MXML I have declared 2 variables:
public var pg1Title:String = "";
public var pg2Title:String = "";

In the result event for the remote object call, I want to loop thru
the results and assign each declared variable the VALUE from the
result set associated with the NAME field (which matches the declared
variable's name).

private function onResult(e:ResultEvent):void{
var n:ArrayCollection = e.result as ArrayCollection;
for(var i:uint=0;i

[flexcoders] Using ResourceManager to get the data from a Properties File..no value returned

2007-10-05 Thread sk_acura
Hi All,

  I wrote a simple ResourceBundle which is listed below..

  [CODE]
public class MyResourceBundle
{

  private var resourceManager:ResourceManager = null;
  private static var myResourceBundle:MyResourceBundle = null;
  public function MyResourceBundle():void{
init();
  }
  private function init():void{
resourceManager = new ResourceManager();
var resourceBundle:ResourceBundle = new
ResourceBundle("en_US","myBundle1");
resourceManager.addResourceBundle(resourceBundle);

}
public static function getInstance():MyResourceBundle{
   if(dpaResourceBundle==null){
myResourceBundle = new MyResourceBundle();
   }
   return myResourceBundle;
}
private function getResourceBundle():ResourceBundle{
var resourceBundle:ResourceBundle = null;
if(resourceManager!=null){
resourceBundle =ResourceBundle
(resourceManager.getResourceBundle("en_US","myBundle1"));
return resourceBundle;
}
else{
trace("Unable to get the ResourceManager 
!");
return null;
}

}

public function getValue(key:String):String{
var value:String = null;
if(getResourceBundle()!=null){
if(getResourceBundle().hasOwnProperty(key)){
value = 
getResourceBundle().getString(key);
trace("key ="+key+"value ="+value);
return value;
}
else{
trace("Property ="+key+" Doesn't Exists 
!!!");
return "";
}
}
else{
trace("Unable to get the ResourceBundle");
return "";
}
}


}
  [/CODE]

   Now i have placed the properties file myBundle1_en_US.properties in
the same folder as the Above File..

   When i try to read the values from this file i am not getting any
info as the hasOwnProperty() is always returning false;

Thanks
Kumar



[flexcoders] Re: Selecting multiple gridItems in a Grid?

2007-10-05 Thread Robert Csiki
In what sense, please? Also, does TileList support such of a multiple 
selection, using just the mouse?
I'm talking about the same use case you select multiple items from 
your desktop, exclusively using the mouse ("defining" a rectangle by 
dragging it while holding the left button down, and have evey item 
that's inside this rectnagle being highlighted/selected).

Thanks
Robert

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> The Grid container does not support selection.
>  
> The DataGrid does, but not in the HTMLTable sense.
> 
> 





RE: [flexcoders] Re: url request variables

2007-10-05 Thread Alex Harui
Not sure I understand.  Looks like you're trying to pick up variables
from the url request for your app and they are on
Application.application.parameters.

 

Are you saying that if you check the parameters on creationComplete they
are not there?  Maybe doRequest() is making some assumption.  If you
have setup:

 

creationComplete="doRequest()"

 

then I'd debug inside doRequest

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jayson
Sent: Friday, October 05, 2007 12:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: url request variables

 

This is very strange.. I think I may be running into some sort of 
security issue.

I have a function called doRequests, where it takes the urlRequests 
and does whatever corresponding to the variable entered.. it works, 
but..

It only works when I map it to a button or something I have to click. 
If I want it done automatically(creationComplete).. it doesnt work. I 
thought maybe it was a timing issue.. made a timer and had it wait 5 
secs.. no go.

I'm not really sure what to do here..

anyone have some insight?

Thanks...

--- In flexcoders@yahoogroups.com 
, "Jayson" <[EMAIL PROTECTED]> wrote:
>
> Got it...
> 
> this is needed..
> 
> private function initVars():void{
> req1 = Application.application.parameters.req1;
> req2 = Application.application.parameters.req2;
> }
> 
> and initVars() is called on the application creationComplete.
> works like a charm...
> 
> here is the link in liveDocs
> 
http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhel


p.
> htm?context=LiveDocs_Parts&file=1003.html
> 
> Jayson
>

 



RE: [flexcoders] adding an event listener to a dynamically added component

2007-10-05 Thread Alex Harui
   var newRow:SearchInputRow = new SearchInputRow(); 



newRow.addEventListener("onRemoveRow", removeRow);


   // add the new component to the VBox 
searchRows.addChild(newRow);
  

private function removeRow(event:Event):void

{

searchRows.removeChild(event.target);

}



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Munn
Sent: Friday, October 05, 2007 12:17 PM
To: flexcoders
Subject: [flexcoders] adding an event listener to a dynamically added
component

 

I have a search component that allows the user to add new search
criteria on the fly. The search criteria is contained in a custom
component, one row per criteria. The first row is defined like this:

 

Rows can be added by clicking a button which dynamically adds a new
component like so:

var newRow:SearchInputRow = new SearchInputRow(); 

   // add the new component to the VBox 
searchRows.addChild(newRow);


The custom component has a button that can be used to remove any rows
after the first row. The button calls a function that dispatches a
custom event called onRowRemove 

private function doRemoveRow():void{
var e:Event = new Event("onRemoveRow",true);
trace(e);
dispatchEvent(e);

}


[Event(name="onRemoveRow")]


The event fires, but my dynamically added rows never see it because they
are not listening for it. How can I add an event listener for this
custom event to my dynamically created components? 


Thanks in advance,

Rob

-- 
---
Robert Munn
www.emergentpath.com   

 



[flexcoders] Re: url request variables

2007-10-05 Thread Jayson
This is very strange.. I think I may be running into some sort of 
security issue.

I have a function called doRequests, where it takes the urlRequests 
and does whatever corresponding to the variable entered.. it works, 
but..

It only works when I map it to a button or something I have to click. 
If I want it done automatically(creationComplete).. it doesnt work. I 
thought maybe it was a timing issue.. made a timer and had it wait 5 
secs.. no go.

I'm not really sure what to do here..

anyone have some insight?

Thanks...


--- In flexcoders@yahoogroups.com, "Jayson" <[EMAIL PROTECTED]> wrote:
>
> Got it...
> 
> this is needed..
> 
> private function initVars():void{
> req1 = Application.application.parameters.req1;
> req2 = Application.application.parameters.req2;
> }
> 
> and initVars() is called on the application creationComplete.
> works like a charm...
> 
> here is the link in liveDocs
> 
http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhel
p.
> htm?context=LiveDocs_Parts&file=1003.html
> 
> Jayson
>




RE: [flexcoders] ArrayCollection XMLList?

2007-10-05 Thread Alex Harui
Whether the objects are strongly-typed or not, you can stick the AC in
as the Tree's DP, but you'll need a custom ITreeDataDescriptor to tell
the tree what is a branch and what the children are.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Scott - FastLane
Sent: Friday, October 05, 2007 12:01 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] ArrayCollection XMLList?

 

Assuming your ArrayCollection contains strongly typed objects, I think
you can make the ArrayCollection itself be the dataprovider for your
tree.  Your class (the data stored in the ArrayCollection) just needs to
implement the get children():Array and get label():String method iirc.

hth
Scott

candysmate wrote: 

I have an ArrayCollection in Flex which contains the delivery
information for a given stock item:

boxes quantity

10 20
15 20
17 20

etc 

how can I convert this into an XMLList so that it can be a
dataProvider for a tree control where each line is a branch of
the
tree please?

 

 



[flexcoders] adding an event listener to a dynamically added component

2007-10-05 Thread Robert Munn
I have a search component that allows the user to add new search criteria on
the fly. The search criteria is contained in a custom component, one row per
criteria. The first row is defined like this:



Rows can be added by clicking a button which dynamically adds a new
component like so:

var newRow:SearchInputRow = new SearchInputRow();

   // add the new component to the VBox
searchRows.addChild(newRow);


The custom component has a button that can be used to remove any rows after
the first row. The button calls a function that dispatches a custom event
called onRowRemove

private function doRemoveRow():void{
var e:Event = new Event("onRemoveRow",true);
trace(e);
dispatchEvent(e);

}


[Event(name="onRemoveRow")]


The event fires, but my dynamically added rows never see it because they are
not listening for it. How can I add an event listener for this custom event
to my dynamically created components?


Thanks in advance,

Rob

-- 
---
Robert Munn
www.emergentpath.com


Re: [flexcoders] Flex Library Project crashing Eclipse with a StackOverflow

2007-10-05 Thread Brendan Meutzner
Just encountered this one myself... I deleted the project for now, and am
about to try and recreate to see if error continues...

It occurred in FB 2.0.1 standalone, and doesn't occur in FB3 or FB
2.0.1plugin.  It's a library project which points to the Cairngorm
swc... I'll
re-post with results of 2nd try.


Brendan



On 8/16/07, Carlos Rovira <[EMAIL PROTECTED]> wrote:
>
>   Yes. I found that one a few months ago. I spend a whole day creating a
> Cairngorm project
> ( I don't remebeber the versión...maybe 2.0). As soon as I created the
> project, something was corrupted and I had to delete the project to be able
> to continue working with Eclipse and Flex Builder. I do it a lot of times
> and finaly donwload the .swc and use it. I think this was on 2.0, with
> 2.0.1 I think I didn't find this problem. Last time I create a lib project
> all went ok, but maybe still there's some issues with lib projects.
>
> 2007/8/16, simonjpalmer < [EMAIL PROTECTED]>:
> >
> >   I have a Flex Library project which has a dependency on some other swc
> > libraries. Everything is fine up until I include those libraries in
> > the library path. During the Eclipse/FB session in which I include
> > them everything is fine, but if I exit the workbenck I cannot get back
> > in again because Eclipse crashes with a StackOverflow.
> >
> > If I hack the .actioScriptProperties file and remove or comment out
> > the library path references the project opens again, however I then
> > seem to have got into an indeterminate state because Eclipse now
> > throws a different error when I open the project properties window
> > (where you set the library path). Looking in the .log for the
> > workbench that seems to be a null pointer exception.
> >
> > I cannot recover my project from here. I have had to move the source,
> > delete the project and re-create it from scratch. Obvuiously this is
> > not a tenable situation and means that for all proactical purposes I
> > cannot develop swc libraries.
> >
> > Has anyone else encountered this?
> >
> > Thanks
> > Simon
> >
> >
>
>
> --
> ::| Carlos Rovira
> ::| http://www.carlosrovira.com
> ::| http://www.madeinflex.com
>
>  
>



-- 
Brendan Meutzner
http://www.meutzner.com/blog/


Re: [flexcoders] ArrayCollection XMLList?

2007-10-05 Thread Scott - FastLane
Assuming your ArrayCollection contains strongly typed objects, I think 
you can make the ArrayCollection itself be the dataprovider for your 
tree.  Your class (the data stored in the ArrayCollection) just needs to 
implement the get children():Array and get label():String method iirc.


hth
Scott

candysmate wrote:


I have an ArrayCollection in Flex which contains the delivery
information for a given stock item:

boxes quantity

10 20
15 20
17 20

etc 

how can I convert this into an XMLList so that it can be a
dataProvider for a tree control where each line is a branch of the
tree please?

 




[flexcoders] ArrayCollection XMLList?

2007-10-05 Thread candysmate
I have an ArrayCollection in Flex which contains the delivery
information for a given stock item:

boxes quantity

10   20
15   20
17   20

etc 


how can I convert this into an XMLList so that it can be a
dataProvider for a tree control where each line is a branch of the
tree please?




Re: [flexcoders] Re: Automated UI Testing for FLEX (Help!)

2007-10-05 Thread Willy Ci
we use QTP.
we have a very big flex application.


On 9/30/07, Marvin Froeder <[EMAIL PROTECTED]> wrote:
>
>   May be you can publish it on sf or google code?
>
>
> VELO
>
>
> On 9/29/07, twcrone70 <[EMAIL PROTECTED]> wrote:
> >
> >   This sounds pretty much what I am currently doing with my extension to
> > Selenium for QA testing our Flex code. Where did you guys end up on
> > this? I've made pretty decent progress this month working on
> > extensions to test our current application but there is alot more to
> > do and I'd love some help if my management will approve 'sharing'.
> >
> > - Todd
> >
> > --- In flexcoders@yahoogroups.com , "Arpit
> > Mathur" <[EMAIL PROTECTED]> wrote:
> > >
> > > we were thinking some kind of integration with selenium (the
> > > javascript testing suite) using the Flex AJAX bridge.
> > >
> > > -arpit
> > >
> > >
> > > On 6/8/07, Karl Johnson <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Mercury Quick Test Pro (works with FDS's Automation API). Or you
> > could write
> > > > your own :-)
> > > >
> > > >
> > > >
> > > > FlexUnit is not really an automated UI testing solution, it unit
> > tests the
> > > > code.
> > > >
> > > >
> > > >
> > > > Karl
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > From: flexcoders@yahoogroups.com 
> > [mailto:flexcoders@yahoogroups.com ] On
> > > > Behalf Of Persaud, Anthony
> > > > Sent: Friday, June 08, 2007 2:53 PM
> > > > To: flexcoders@yahoogroups.com 
> > > > Subject: [flexcoders] Automated UI Testing for FLEX (Help!)
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Other than FlexUnit, are there any other methods to perform
> > automated UI
> > > > testing for Flash/Flex applications?
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > >
> > > > Anthony
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>  
>



-- 
Willy
617-606-3437

--
maybe today is a good day to write some code,
hold on, late me take a nap first  ... Zzzz

Q: How do you spell "google"?
A: Why don't you google it?
--


[flexcoders] complex object > webservice

2007-10-05 Thread sibelius5th
I'm sending a complex object to a webservice.  Its structure is 

Base
--Product(Array)
Thumbnails(Array)

When I send, I get an rpc Fault:
Error #1069: Property ThumbNails not found on DTO.ProductDTO and there 
is no default value.

This occurs when the Product Array is empty (not null, just an empty 
array).

Any suggestions?



[flexcoders] Re: ProgressEvent not thrown based on content-length in the POST request

2007-10-05 Thread vmorant
I made a mistake. User error.



Re: [flexcoders] FB3 B2, docs for deeplinking?

2007-10-05 Thread aaron smith
Thanks!

On 10/5/07, Matt Horn <[EMAIL PROTECTED]> wrote:
>
>   Yes, in the Flex 3 docs on labs:
>
> http://livedocs.adobe.com/labs/flex3/html/
>
> Here's how to find the deep linking doc:
>
> Click on Flex 3 Developer's Guide.
> Click on Flex Programming Topics.
> Click on Deep Linking.
>
> Please feel free to post questions or comments about this doc.
>
> -matt horn
> flex docs
>
>
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:flexcoders@yahoogroups.com ] On
> Behalf Of aaron smith
> > Sent: Friday, October 05, 2007 1:50 PM
> > To: flexcoders@yahoogroups.com 
> > Subject: [flexcoders] FB3 B2, docs for deeplinking?
> >
> > Are there any docs around for new deep linking functionality
> > and how to customize it? Thanks yo!
> >
>
>  
>


RE: [flexcoders] FB3 B2, docs for deeplinking?

2007-10-05 Thread Matt Horn
Yes, in the Flex 3 docs on labs:

http://livedocs.adobe.com/labs/flex3/html/

Here's how to find the deep linking doc:

Click on Flex 3 Developer's Guide.
Click on Flex Programming Topics.
Click on Deep Linking.

Please feel free to post questions or comments about this doc.

-matt horn
flex docs

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of aaron smith
> Sent: Friday, October 05, 2007 1:50 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] FB3 B2, docs for deeplinking?
> 
> Are there any docs around for new deep linking functionality 
> and how to customize it? Thanks yo!
>


Re: [flexcoders] setstyle for gridrow

2007-10-05 Thread [EMAIL PROTECTED]
To answer my own question, its
gridRow.setStyle("backgroundColor","0x66CC66");
gridRow.setStyle("paddingTop",20);

[EMAIL PROTECTED] wrote:
>
> How do I do stuff like this ?
> gridRow = new GridRow( );
> gridRow.setStyle("padding-top","10em");
>
> gridRow.setStyle("background","red");
> or
> gridRow.setStyle("background-color","red");
>
> It has no effect
>
>  



Re: [flexcoders] Re: flex builder 3 beta 2 always launching my app with debug player.

2007-10-05 Thread aaron smith
Thanks for the clarification.



On 10/4/07, Mike Morearty <[EMAIL PROTECTED]> wrote:
>
>   Aaron, you can fix this by installing the new beta of the Flash player
> that came with the beta of Flex Builder.
>
> Here is a very long explanation, copied (and edited) from a post I
> just made on the Adobe forums:
>
> I wanted to clarify a couple of things about how this new model
> (creating a single debug swf, then exporting a release one later) works.
>
> 1. If you install the (beta) Flash player that came with this Flex
> Builder beta, then you will NOT see the "Where is the debugger"
> dialog. The Flash Player and Flex Builder changes go hand-in-hand.
> Certainly I agree that with the Flash player's old behavior, having
> Flex Builder create only a debug swf would cause lots of problems;
> that's why we changed both. This means there will be a transition
> period during which some developers will have the old debugger-player
> installed, so they will see this message; that's unfortunate, but it
> won't last too long. But customers will never see it, because...
>
> 2. Your customers will NOT need to upgrade their Flash player, because
> the "release" version of the Flash player -- the one that all your
> customers have -- never asks "Where is the debugger." The old version
> didn't, and neither will the next one.
>
> To summarize: The only scenario where this is a problem is if you run
> (not debug) a debug swf in an older version of the debug player. It is
> not a problem for people who have the release player (almost all
> customers); it is not a problem for machines on which Flex Builder was
> installed with the default options, which includes installing the new
> debug Flash player.
>
> Some of the reasons we made this change:
>
> - Performance: It always helps to only have to link one swf instead of
> two during the edit/compile/debug cycle.
>
> - Filenames: There are several cases where the filename of the swf is
> important; with the new way, the filename of the swf is always the
> same. For example, if you are using modules, then you have to write this:
>
> 
>
> But with the old model, you would have to write this during development:
>
> 
>
> ... and then change it before deployment. Yuck. So then people started
> using binding to work around this:
>
> 
>
> where mungeFilename() tries to figure out the correct filename. A
> little less horrible than having the modify the filename before
> deployment, but still not pretty.
>
> I'm interested to hear what you think, and whether you think changes
> are still required even despite the above explanation. Thanks for
> trying the beta, we appreciate the feedback!
>
> - Mike Morearty, Adobe Flex Builder team
>
> --- In flexcoders@yahoogroups.com , "aaron
> smith"
> <[EMAIL PROTECTED]> wrote:
> >
> > Sorry I'm not following you. Explain it to me again? Thanks.
> >
> >
> >
> > On 10/4/07, Sheriff <[EMAIL PROTECTED]> wrote:
> > >
> > > cause to speed up the compiling it only does debug untill you
> want to
> > > export then click project then export release version. So use
> debug to run
> > >
> > > - Original Message 
> > > From: aaron smith <[EMAIL PROTECTED]>
> > > To: flexcoders@yahoogroups.com 
> > > Sent: Thursday, October 4, 2007 3:36:24 PM
> > > Subject: [flexcoders] flex builder 3 beta 2 always launching my
> app with
> > > debug player.
> > >
> > > Why is flex buildfe 3 beta 2 always launching my app with the debug
> > > player. I press the "Run" button, and I'm constantly prompted with the
> > > "connect to debugger" popup. Any ideas?
> > >
> > >
> > > --
> > > Need a vacation? Get great deals to amazing places
> > >
> <
> http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ--
> >on
> > > Yahoo! Travel.
> > >
> > >
> > >
> >
>
>  
>


[flexcoders] Re: url request variables

2007-10-05 Thread Jayson
Got it...

this is needed..

private function initVars():void{
req1 = Application.application.parameters.req1;
req2 = Application.application.parameters.req2;
}

and initVars() is called on the application creationComplete.
works like a charm...

here is the link in liveDocs
http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.
htm?context=LiveDocs_Parts&file=1003.html

Jayson



[flexcoders] FB3 B2, docs for deeplinking?

2007-10-05 Thread aaron smith
Are there any docs around for new deep linking functionality and how to
customize it? Thanks yo!


[flexcoders] Re: Placement of Image within Image Control

2007-10-05 Thread droponrcll
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Plenty of other folks have had the same frustration in Flex so you're
> not alone.  We'll close out the bug when it gets over here.  It 
probably
> should have been filed against Flex SDK instead of Apollo.

I have FB 3 because my company is on the Apollo Beta.  I don't think 
we're part of anything that would give us access to the FB3 SDK 
bugbase.  It seems it is just a doc bug, so it should be easy enough to 
fix :-)

Thanks!

-Amy



RE: [flexcoders] Re: Placement of Image within Image Control

2007-10-05 Thread Alex Harui
Plenty of other folks have had the same frustration in Flex so you're
not alone.  We'll close out the bug when it gets over here.  It probably
should have been filed against Flex SDK instead of Apollo.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of droponrcll
Sent: Friday, October 05, 2007 10:04 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Placement of Image within Image Control

 

--- In flexcoders@yahoogroups.com 
, "droponrcll" <[EMAIL PROTECTED]> 
wrote:
>
> Sorry it took me so long to respond to this. I thought everything 
> had moved over to the other thread.
> 
> > You are welcome to file an ECR for alignment properties or 
styles, 
> but
> > keep in mind that in most people's use cases, you don't want to 
> stretch
> > the Image beyond the size of the bitmap so there might be some 
play 
> in
> > one dimension, but not the other. This is because most of the 
> time, you
> > want to use the layout rules instead of having things overlap. I 
> would
> > also recomment not filling available space with Image in your 
> renderer
> > either.
> 
> I have submitted an ECR FR-APOLLO-00096.

ROFLMAO. My husband has been sitting over there laughing at me 
cussing a blue streak. I went back to Matt Chotin's example and saw 
that it worked regardless of the different image sizes, so I looked 
again at his code. In the Image tag I found this text:

verticalAlign="bottom" horizontalAlign="center" 

So it appears these properties have existed since at least FB 2 but 
they are not documented and do not appear in code hinting. If this 
post helps one other person struggling with this issue, I feel this 
entire week or so I have spent wrestling with this problem will have 
been worth it.

Thanks for your patience, Alex, and for being a good sport through 
all my frustration!

-Amy

 



RE: [flexcoders] Re: MultiPurpose ItemRenderer

2007-10-05 Thread Alex Harui
OK, glad you got it working.  I didn't see those properties either.

 

FWIW:

 

Your example had verticalAlign="bottom" which would force the hlist to
the bottom but also was a factor in the images/movies moving up and
down.  I think you may want to use "absolute" layout and constraints.

 

If you put real xml in your .xml file, you can load it via HTTPService
instead of going through ExternalInterface.

 

I had changed ImgViewer to look like this.  It seems simpler as it
reuses the same Image tag for both images and movies.  You can remove
centerImage() and use the align styles instead

 



 

http://www.adobe.com/2006/mxml"; 

backgroundAlpha="1.0" 

verticalScrollPolicy="off" horizontalScrollPolicy="off"
borderStyle="none" >















 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of droponrcll
Sent: Friday, October 05, 2007 10:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: MultiPurpose ItemRenderer

 

--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Don't forget, this is a free volunteer service, and not my real 
job. If
> it takes more than a few minutes, I usually have to work on it at 
night
> unless my day suddenly clears up.
> 
> 
> 
> Anyway, I think I have it working and will try to respond in more 
detail
> soon.

I suppose it is comforting that it was more than a few minute fix for 
you, too. :-)

But I found that the Image tag does, in fact, have a verticalAlign 
and horizontalAlign property, which fixes the problem quite 
handily! :-)

Thanks!

Amy

 



[flexcoders] How to assign values from a result set to matching declared variables?

2007-10-05 Thread wlbagent
I can easily do this in ColdFusion but can't figure it out in FLEX.

I have a database table containing settings for an application.  The
table has a "Name" field for the name of a declared variable in my
MXML application and a "Value" field for the initial variable
assignment.  For example, the result returned from a remote object
call to the table returns 2 records: 

rs[0].NAME = "pg1Title", rs[0].VALUE = "Page 1 Title"
rs[1].NAME = "pg2Title", rs[1].VALUE = "Page 2 Title"

In my application MXML I have declared 2 variables:
public var pg1Title:String = "";
public var pg2Title:String = "";

In the result event for the remote object call, I want to loop thru
the results and assign each declared variable the VALUE from the
result set associated with the NAME field (which matches the declared
variable's name).

private function onResult(e:ResultEvent):void{
  var n:ArrayCollection = e.result as ArrayCollection;
  for(var i:uint=0;i

[flexcoders] url request variables

2007-10-05 Thread Jayson
I stumbled upon this example posted by tracy, maybe she will see 
this :), and it's exactly what I need.. except I can't get it to work.

example link:
http://www.cflex.net/showFileDetails.cfm?
ObjectID=198&Object=File&ChannelID=1

my code:
http://www.adobe.com/2006/mxml"; 
layout="vertical">













According to the example, I should be able to do "...requestTest.mxml?
req1=test&req2=blah" and it will fill in the values for req1 and 
req2. It won't work.. I'm not sure if I'm doing something wrong.. or 
what the deal is, or if this is even possible with flex (I hope it 
is).

I'm not sure what to search for on this matter.. as everything I do 
search for turns up nothing of relevance. Can anyone shine some light 
on this for me?

Thanks!

Jayson



[flexcoders] Re: MultiPurpose ItemRenderer

2007-10-05 Thread droponrcll
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Don't forget, this is a free volunteer service, and not my real 
job.  If
> it takes more than a few minutes, I usually have to work on it at 
night
> unless my day suddenly clears up.
> 
>  
> 
> Anyway, I think I have it working and will try to respond in more 
detail
> soon.

I suppose it is comforting that it was more than a few minute fix for 
you, too.  :-)

But I found that the Image tag does, in fact, have a verticalAlign 
and horizontalAlign property, which fixes the problem quite 
handily! :-)

Thanks!

Amy



RE: [flexcoders] Re: MultiPurpose ItemRenderer

2007-10-05 Thread Alex Harui
Don't forget, this is a free volunteer service, and not my real job.  If
it takes more than a few minutes, I usually have to work on it at night
unless my day suddenly clears up.

 

Anyway, I think I have it working and will try to respond in more detail
soon.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of droponrcll
Sent: Friday, October 05, 2007 7:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: MultiPurpose ItemRenderer

 

--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> I can sense your frustration, and the tone of your answers are 
trying my
> patience. There are a lot of variables here, and it is not my full 
time
> job to support you through this. I know you've spent lots of time 
on it
> and it can be a real pain in the butt to figure out some things in 
Flex,
> but please don't take it out on those of us who are trying to 
help. I'm
> trying to help as many people on this forum as I can so I generally
> don't have the capacity to remember all the details of your issues, 
and
> that will occasionally cause me to steer you in the wrong direction,
> since I can't see all of the hazards on the road ahead of you.
> 
> Since my recommendation of not sizing the image to 100% didn't 
work, it
> is probably that there is some factor I didn't consider, but I am
> recommending best practices here, so what you take away will 
hopefully
> serve you on your next Flex task. I think I recall that you had 
swfs
> with sizes like 300x175. How big do you want them to show up in 
your
> component. At their true size or scaled down in some way?
> 
> I think I also recall asking you to post a couple of the swfs so I 
can
> see what they look like. Please do so in your next response so I 
can
> try to get a better understanding of why sizing these swfs is not
> working as expected. There is always going to be a chance that 
you'll
> have to do something one-off, but I haven't seen enough evidence 
that we
> really have to do so. Also, if you have a sketch, screenshot or any
> other visual that can give me an idea of what your goal is that will
> help too.

Did I post too large a download here? I can post something smaller 
if that is the issue.

Thanks;

Amy

 



[flexcoders] Re: Placement of Image within Image Control

2007-10-05 Thread droponrcll
--- In flexcoders@yahoogroups.com, "droponrcll" <[EMAIL PROTECTED]> 
wrote:
>
> Sorry it took me so long to respond to this.  I thought everything 
> had moved over to the other thread.
> 
> > You are welcome to file an ECR for alignment properties or 
styles, 
> but
> > keep in mind that in most people's use cases, you don't want to 
> stretch
> > the Image beyond the size of the bitmap so there might be some 
play 
> in
> > one dimension, but not the other.  This is because most of the 
> time, you
> > want to use the layout rules instead of having things overlap.  I 
> would
> > also recomment not filling available space with Image in your 
> renderer
> > either.
> 
> I have submitted an ECR FR-APOLLO-00096.

ROFLMAO.  My husband has been sitting over there laughing at me 
cussing a blue streak.  I went back to Matt Chotin's example and saw 
that it worked regardless of the different image sizes, so I looked 
again at his code.  In the Image tag I found this text:

verticalAlign="bottom" horizontalAlign="center" 

So it appears these properties have existed since at least FB 2 but 
they are not documented and do not appear in code hinting.  If this 
post helps one other person struggling with this issue, I feel this 
entire week or so I have spent wrestling with this problem will have 
been worth it.

Thanks for your patience, Alex, and for being a good sport through 
all my frustration!

-Amy



RE: [flexcoders] Re: Image with rounded corners

2007-10-05 Thread Alex Harui
That link had a blue ball.  Is that what you mean?  Or do you want a
container with rounded corners?  If so, see cornerRadius

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of brice.gervais
Sent: Friday, October 05, 2007 12:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Image with rounded corners

 


I try to display a image with a corner radius like here :

http://gallery.mac.com/emily_parker
 

Maybe to apply a mask ?? But i don't know do this

Thanks 

Brice

--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> what did you try? What does the image look like?
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of brice.gervais
> Sent: Thursday, October 04, 2007 1:47 AM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Image with rounded corners
> 
> 
> 
> 
> Hello, 
> 
> I want display a image with rounded corners ??
> 
> Thanks for your help
> 
> Brice
>

 



[flexcoders] Re: Placement of Image within Image Control

2007-10-05 Thread droponrcll
Sorry it took me so long to respond to this.  I thought everything 
had moved over to the other thread.

> You are welcome to file an ECR for alignment properties or styles, 
but
> keep in mind that in most people's use cases, you don't want to 
stretch
> the Image beyond the size of the bitmap so there might be some play 
in
> one dimension, but not the other.  This is because most of the 
time, you
> want to use the layout rules instead of having things overlap.  I 
would
> also recomment not filling available space with Image in your 
renderer
> either.

I have submitted an ECR FR-APOLLO-00096.

I thought that maintainAspectRation was designed to allow images to 
scale gracefully.  I think that the root issue here is that there is 
a bug in the way Flex is deciding when to scale content.  If I have 
scaleContent and maintainAspectRatio both set to true, I'd expect 
that the content would size itself within the available space 
regardless of whether the control is set to a percentage of the 
container size or not.  However, that is not what happens, so you get 
giant content in small containers with scrollbars.

I think if the feature worked as expected you would indeed be correct.

> I asked in the other thread that you post a couple of the swfs so I 
can
> look at them.  I'm now thinking that the content in the swf is not
> aligned to topleft.
>  
> I wish AVM1Movie had timeline APIs too, but like I said, the Player 
team
> chose not to implement interoperability between the two worlds.

You would think they would then step up to the plate and provide 
examples that show a workaround to restore functionality that has 
been eliminated.

-Amy



RE: [flexcoders] Flex Bug: ComboBox shows IBeam cursor and text is selectable by default

2007-10-05 Thread Alex Harui
Fixed in moxie, bug in 2.x

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of slangeberg
Sent: Friday, October 05, 2007 8:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Bug: ComboBox shows IBeam cursor and text is
selectable by default

 

I found a bug in the Adobe bug tracker. It says it's only in Flex Moxie
Beta:

ComboBox shows IBeam cursor and text is selectable by default:
http://bugs.adobe.com/jira/browse/SDK-12032?page=com.atlassian.jira.plug
in.system.issuetabpanels:all-tabpanel
 


However, I am experiencing the exact same behavior in 2.0.1. Here's my
sdk desc:


Flex 2.0.1 Hotfix 2
2.0.1 
166910



: : ) Scott 

 



[flexcoders] Tab label width?

2007-10-05 Thread Paul Dale
Is there a trick to getting tab labels to layout nicely? I have one
tab with a wider label and it is getting truncated even though the
navigator still has more horizontal room.

Paul


RE: [flexcoders] Referencing elements in a component

2007-10-05 Thread Tracy Spratt
TileList is a data-driven control.  And to be accurate, it does not have
a component in it, but rather has an itemRenderer property that takes a
component class value.  This is important, because itemRenderers have
rules entirely their own and are much more complicated than, say, a
component in a Tile container.

 

With data-driven components, you almost never access the individual item
controls or contents, like the stepper.  Instead, the item renderer
should update a property in the associated dataProvider item.  You then
use the dataProvider to get the value from the outside.

 

The second issue you note is related.  Itemrenderers are recycled and
only the visible ones, plus a few for buffering, even exist.  When you
scroll, or when the underlying data changes, all the visible renderers
get a new dataProvider item and refresh themselves, using the data in
the item.  If you have a control, like a stepper, that does not have its
value set from the dataProvider item, then you will get seemingly random
values in that control.

 

Custom item renderers are tricky to deal with.  Just note the huge
number of posts asking about them.   There is no shortcut to learning
about them.  Thee are many examples, at all levels available.  Google is
probably the best place to start, or go straight to the Flex docs of the
Flex cookbook, etc.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Shaun McCran
Sent: Friday, October 05, 2007 5:26 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Referencing elements in a component

 

Any thoughts on this?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of smccran
Sent: 05 October 2007 08:25
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Referencing elements in a component

Hi,

I have TileList (Shopping basket), with a component in it. 

The tilelist has a numeric stepper displayed in the component. There 
is a change event on the stepper, that calls a function that 
increases or decreases the number of that item in the basket. 

I have two problems, the first is that there is also a button 
to 'remove item from basket' in the function for this I cannot get it 
to reference the numeric stepper (ns.value = ns.value -1) how do you 
reference items inside a component from external (component to 
external is 'outerDocument'). I've seen the 'target.xxx', is that 
anything to do with it.

The second is that I have many items in the TileList, sometimes if I 
active the second numeric stepper it affects the first item. How do 
you reference a specific index, or row of the tilelist?

Thanks
Shaun

 

The contents and any attachments of this electronic mail message are
confidential and intended only for the named addressee. It may contain
information covered by legal, professional or other privilege.  You are
notified that any disclosure, copying and distribution is prohibited.
If you received this email in error, please accept our apologies, and we
would appreciate that you return it to us. Europa Group Limited is
authorised and regulated by the Financial Services Authority.Registered
Office: 29 High Street, Thornbury, BS35 2FD. Registered in Wales Reg No
3279177

 



[flexcoders] Re: How to get the Server URL from which this swf is downloaded..

2007-10-05 Thread sk_acura
Thanks a lot..

Kumar

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Application.application.url
> Tracy
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Tom Chiverton
> Sent: Friday, October 05, 2007 11:37 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] How to get the Server URL from which this swf
> is downloaded..
> 
> On Friday 05 Oct 2007, [EMAIL PROTECTED] wrote:
> >   Could u pls let me know how can i get this..
> 
> Application.application
> 
> -- 
> Tom Chiverton
> Helping to augmentatively establish performance-oriented models
> on: http://thefalken.livejournal.com
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in England
> and Wales under registered number OC307980 whose registered office
> address is at St James's Court Brown Street Manchester M2 2JF.  A list
> of members is available for inspection at the registered office.  Any
> reference to a partner in relation to Halliwells LLP means a member of
> Halliwells LLP.  Regulated by The Solicitors Regulation Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above and
> may be confidential or legally privileged.  If you are not the addressee
> you must not read it and must not use any information contained in nor
> copy it nor inform any person other than Halliwells LLP or the addressee
> of its existence or contents.  If you have received this email in error
> please delete it and notify Halliwells LLP IT Department on 0870 365
> 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>




RE: [flexcoders] Thermo & Cairngorm

2007-10-05 Thread Ely Greenfield


Hi Tom.  It's of course still early, but generally, that's right, I
think the contract between the designer and developer can be 90%
captured as 'I need elements of these types with these ids, and other
than that go to town.'

(See my MAX talk for a concrete example :).

Ely.

 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Friday, October 05, 2007 3:26 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Thermo & Cairngorm

On Friday 05 Oct 2007, [EMAIL PROTECTED] wrote:
> The idea is that Thermo would not corrupt any code from the file that
it
> is working on because we want designers and developers to be able to
> work on the same files. 

I was going to see how it worked if the 'real' component in the Flex
project 
extended the code from Thermo. The designer can do his own thing, and as
long 
as the id's of components don't change it might work really well.

-- 
Tom Chiverton
Helping to assertively grow high-end interfaces
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office.  Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP.  Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

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

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


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





Re: [flexcoders] CFEclipse and Flex Builder

2007-10-05 Thread Muzak
You have to use an earlier CFEclipse release. The latest release does not work 
properly with FB2 standalone.

regards,
Muzak

- Original Message - 
From: "Paul Hastings" <[EMAIL PROTECTED]>
To: 
Sent: Friday, October 05, 2007 5:27 PM
Subject: Re: [flexcoders] CFEclipse and Flex Builder


> Tim Ashworth wrote:
>> Ah! That sounds like a plan. I guess the standalone version doesn't
>> like to play nicely with others. Thanks very much.
> 
> doesn't the latest cfeclipse require eclipse 3.2.2 while standalone fb2 is 
> 3.2 
> or 3.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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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


RE: [flexcoders] How to get the Server URL from which this swf is downloaded..

2007-10-05 Thread Tracy Spratt
Application.application.url
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Friday, October 05, 2007 11:37 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to get the Server URL from which this swf
is downloaded..

On Friday 05 Oct 2007, [EMAIL PROTECTED] wrote:
>   Could u pls let me know how can i get this..

Application.application

-- 
Tom Chiverton
Helping to augmentatively establish performance-oriented models
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office.  Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP.  Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

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

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


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







RE: [flexcoders] Passing ID from master to detail

2007-10-05 Thread Tracy Spratt
There are much simpler ways.

 

If your two canvases are in the same mxml file(class) then they share
the the same scope and you can bind or access values directly.  If they
are implemented in different mxml files, then it is a tiny bit more
complicated.

 

Same scope

Declare an id in any mx tag you want to be able to access.  Then you can
access values by doing something like this:

in AS:

myText1.text = myText2.text; 

myText1.text = myComboBox.selectedItem.myProperty

 

Binding In mxml:

mailto:[EMAIL PROTECTED] On
Behalf Of stlum9495
Sent: Friday, October 05, 2007 10:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Passing ID from master to detail

 

Hi,

I've been programming for awhile, but am new to Flex and was wondering
what the best way of passing values from screen to screen is.

Currently, I have two canvases which have a master detail
relationship. When I click on a button in the master canvas, I want
to pass the record id to the detail canvas so that the detail canvas
can query the server for the details data. simple master detail.

To code this in flex, what I did was when the button was clicked on
the master, I saved the record id into a Local Shared Object, and when
my Detail canvas appears, I grab the id from said Local Shared Object
and make my server side request.

This works fine, but I was wondering -- is this the Best Practice way?
I haven't seen much by way of design patterns etc for flex
pages(I've seen the AS book) so was wondering if I should be doing
this differently.

Thanks

 



RE: [flexcoders] Re: VO from WebService not being translated?

2007-10-05 Thread Samuel R. Neff

I wrote up a blog post with examples of how to use SchemaTypeRegistry to get
custom vo's from a web service.  Hope this helps.

http://labs.atellis.com/2007/10/05/use-custom-value-objects-with-web-service
s-in-flex-3-beta-2
 
Sam

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



[flexcoders] Flex Bug: ComboBox shows IBeam cursor and text is selectable by default

2007-10-05 Thread slangeberg
I found a bug in the Adobe bug tracker. It says it's only in Flex Moxie
Beta:

ComboBox shows IBeam cursor and text is selectable by default:
http://bugs.adobe.com/jira/browse/SDK-12032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel


However, I am experiencing the exact same behavior in 2.0.1. Here's my sdk
desc:


Flex 2.0.1 Hotfix 2
2.0.1
166910



: : ) Scott


RE: [flexcoders] CFEclipse and Flex Builder

2007-10-05 Thread Tim Ashworth
I'm certain you're right.  That's why I've been scratching my head because I
remember using it before which was why I posted for a sanity check.  I've
got a new machine and was re-installing all my programs and therefore the
latest CFEclipse.
 
Thanks for making me feel a bit less frustrated (altho a bit dumb)

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Hastings
Sent: 05 October 2007 16:27
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] CFEclipse and Flex Builder



Tim Ashworth wrote:
> Ah! That sounds like a plan. I guess the standalone version doesn't
> like to play nicely with others. Thanks very much.

doesn't the latest cfeclipse require eclipse 3.2.2 while standalone fb2 is
3.2 
or 3.1?


 


Re: [flexcoders] How to get the Server URL from which this swf is downloaded..

2007-10-05 Thread Tom Chiverton
On Friday 05 Oct 2007, [EMAIL PROTECTED] wrote:
>   Could u pls let me know how can i get this..

Application.application

-- 
Tom Chiverton
Helping to augmentatively establish performance-oriented models
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

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

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


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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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


[flexcoders] Errors...Somewhere

2007-10-05 Thread Matt
Is there an easier way to debug Flash content?  I am using the
debugging player embedded in my browser, but I don't get line numbers
or really explicit details.  I do get a stack trace for which I am
very thankful, but in a case like I'm experiencing now it doesn't
really help:

ArgumentError: Error #2004: One of the parameters is invalid.
at flash.display::Graphics/drawRoundRect()
at mx.skins::ProgrammaticSkin/mx.skins:ProgrammaticSkin::drawRoundRect()
at
mx.skins.halo::LinkButtonSkin/mx.skins.halo:LinkButtonSkin::updateDisplayList()
at mx.skins::ProgrammaticSkin/validateDisplayList()
at mx.skins::ProgrammaticSkin/validateNow()
at
mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::viewSkinForPhase()
at
mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::viewSkin()
at mx.controls::LinkButton/mx.controls:LinkButton::measure()
at mx.core::UIComponent/::measureSizes()
at mx.core::UIComponent/validateSize()
at mx.managers::LayoutManager/::validateSize()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()

That references no code that I've written and the problem only seems
to appear every now and again. I haven't been able to narrow it down
very well because in the application dozens of things are happening at
the time this occurs. Most of the time it works fine, but then this
just pops up and asks me if I want to Continue or Dismiss All.  Is
there any way for me to catch this exception or get further details
about what is happening?

More necessary at the moment, has anyone else seen this that can give
me details on how to fix it?

Thanks



Re: [flexcoders] CFEclipse and Flex Builder

2007-10-05 Thread Paul Hastings
Tim Ashworth wrote:
> Ah! That sounds like a plan. I guess the standalone version doesn't
> like to play nicely with others. Thanks very much.

doesn't the latest cfeclipse require eclipse 3.2.2 while standalone fb2 is 3.2 
or 3.1?


Re: [flexcoders] CFEclipse and Flex Builder

2007-10-05 Thread Tom Chiverton
On Friday 05 Oct 2007, [EMAIL PROTECTED] wrote:
> Ah!  That sounds like a plan.  I guess the standalone version doesn't
> like to play nicely with others.  Thanks very much.

I know that Builder 3 beta 2 standalone certainly doesn't play well with 
Subversion, for instance.

-- 
Tom Chiverton
Helping to conveniently leverage fine-grained information
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

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

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


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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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


Re: [flexcoders] Change style on each button on a ToggleButtonBar

2007-10-05 Thread Guillermo Villasana
Thank you very much, after a couple of test, I managed to make it work. 
I tested it with Embeded elements and it worked fine (after I realize 
that there was a conflict with other styles and was one reason why it 
was not working).

Thanks Again.

Alex Harui wrote:
>
> This simple test worked for me.
>  
> 
> http://www.adobe.com/2006/mxml 
> " layout="vertical">
>  
>   
>  
>  
>   
>  
>  
>  
>   
>
>
>   
>   
>
>
>   
>  
>  
> 
>
> 
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *Guillermo Villasana
> *Sent:* Wednesday, October 03, 2007 4:45 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] Change style on each button on a 
> ToggleButtonBar
>
> Sorry. Here is what I am doing:
>
> 
> .button1
> {
> disabledSkin: Embed(source="skin_registro.swf",
> symbol="boton1_disable");
> downSkin: Embed(source="skin_registro.swf", symbol="boton1_hit");
> overSkin: Embed(source="skin_registro.swf", symbol="boton1_over");
> selectedDisabledSkin: Embed(source="skin_registro.swf",
> symbol="boton1_disable");
> selectedDownSkin: Embed(source="skin_registro.swf",
> symbol="boton1_hit");
> selectedOverSkin: Embed(source="skin_registro.swf",
> symbol="boton1_over");
> selectedUpSkin: Embed(source="skin_registro.swf",
> symbol="boton1_up");
> upSkin: Embed(source="skin_registro.swf", symbol="boton1_up");
> }
> .button2
> {
> disabledSkin: Embed(source="skin_registro.swf",
> symbol="buton2_disable");
> downSkin: Embed(source="skin_registro.swf", symbol="buton2_hit");
> overSkin: Embed(source="skin_registro.swf", symbol="boton2_over");
> selectedDisabledSkin: Embed(source="skin_registro.swf",
> symbol="buton2_disable");
> selectedDownSkin: Embed(source="skin_registro.swf",
> symbol="buton2_hit");
> selectedOverSkin: Embed(source="skin_registro.swf",
> symbol="boton2_over");
> selectedUpSkin: Embed(source="skin_registro.swf",
> symbol="boton2_up");
> upSkin: Embed(source="skin_registro.swf", symbol="boton2_up");
> }
> .button3
> {
> disabledSkin: Embed(source="skin_registro.swf",
> symbol="buton3_disable");
> downSkin: Embed(source="skin_registro.swf", symbol="buton3_hit");
> overSkin: Embed(source="skin_registro.swf", symbol="boton3_over");
> selectedDisabledSkin: Embed(source="skin_registro.swf",
> symbol="buton3_disable");
> selectedDownSkin: Embed(source="skin_registro.swf",
> symbol="buton3_hit");
> selectedOverSkin: Embed(source="skin_registro.swf",
> symbol="boton3_over");
> selectedUpSkin: Embed(source="skin_registro.swf",
> symbol="buton3_up");
> upSkin: Embed(source="skin_registro.swf", symbol="buton3_up");
> }
> .button4
> {
> disabledSkin: Embed(source="skin_registro.swf",
> symbol="boton4_disable");
> downSkin: Embed(source="skin_registro.swf", symbol="buton4_hit");
> overSkin: Embed(source="skin_registro.swf", symbol="boton4_over");
> selectedDisabledSkin: Embed(source="skin_registro.swf",
> symbol="boton4_disable");
> selectedDownSkin: Embed(source="skin_registro.swf",
> symbol="buton4_hit");
> selectedOverSkin: Embed(source="skin_registro.swf",
> symbol="boton4_over");
> selectedUpSkin: Embed(source="skin_registro.swf",
> symbol="buton4_up");
> upSkin: Embed(source="skin_registro.swf", symbol="buton4_up");
> }
> .button5
> {
> disabledSkin: Embed(source="skin_registro.swf",
> symbol="boton5_disable");
> downSkin: Embed(source="skin_registro.swf", symbol="boton5_hit");
> overSkin: Embed(source="skin_registro.swf", symbol="boton5_over");
> selectedDisabledSkin: Embed(source="skin_registro.swf",
> symbol="boton5_disable");
> selectedDownSkin: Embed(source="skin_registro.swf",
> symbol="boton5_hit");
> selectedOverSkin: Embed(source="skin_registro.swf",
> symbol="boton5_over");
> selectedUpSkin: Embed(source="skin_registro.swf",
> symbol="buton5_up");
> upSkin: Embed(source="skin_registro.swf", symbol="buton5_up");
> }
> 
>
> 
>  dataProvider="{ViewStack1}"
> id="tbb1" itemClick="clickHandler(event);" enabled="false" />
>
> 
>  a set of 5 canvas
> 
> 
>
> 
> tbb1.getChildAt( 0).setStyle( 'styleName' ,'button1' );
> tbb1.getChildAt( 1).setStyle( 'styleName' ,'button2' );
> tbb1.getChildAt( 2).setStyle( 'styleName' ,'button3' );
> tbb1.getChildAt( 3).setStyle( 'styleName' ,'button4' );
> tbb1.getChildAt( 4).setStyle( 'styleName' ,'button5' );
> 
>
> each button is different and is defined in the swf of the skin
>
> I have not tried setting into indivudal buttons, I will try that, but if
> I used them as this:
>
> .ToggleButtonBar2
> {
> buttonStyleName: "button2";
> firstButtonStyleName: "button1";
> lastButtonStyleName: "button3";
> }
>
> they work as it should, of course the middle buttons they all get button2.
>
> Thanks and sorry I didn't explained correctly.
>
> Terius
>
> Alex Harui wrote:
> >
> > You haven't explained what isn't working. Do you get an error? What
> > styles are you trying to set? Can you post a simple test case? Did
>

RE: [flexcoders] CFEclipse and Flex Builder

2007-10-05 Thread Tim Ashworth
Ah!  That sounds like a plan.  I guess the standalone version doesn't
like to play nicely with others.  Thanks very much. 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: 05 October 2007 15:56
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] CFEclipse and Flex Builder

On Friday 05 Oct 2007, [EMAIL PROTECTED] wrote:
> I've unsuccessfully tried to add CFEclipse to Flex Builder 2. 
 
Do it the other way around (install Eclipse, install CFE, install Flex
Builder in plugin mode).

--
Tom Chiverton
Helping to enormously build value-added infomediaries
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office.  Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

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

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


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






Re: [flexcoders] Re: Thermo & Cairngorm

2007-10-05 Thread Paul Andrews
I think it's too early to infer that thermo is just for designers or whether 
it'll be a separate product or the a replacement for flex design view.

Currently, I find it quite scary how good Adobe is at extracting money from 
me..

Paul
- Original Message - 
From: "dbronk" <[EMAIL PROTECTED]>
To: 
Sent: Friday, October 05, 2007 2:19 PM
Subject: [flexcoders] Re: Thermo & Cairngorm


>A question...  Why another designer?  Why not add the Thermo features
> into FlexBuilder or Flash?  To think that only designers will use this
> tool is short-sighted.  Developers will definitely also like to see
> these features as once the development begins, the lines between the
> designers and developers becomes blurred.  And, on many projects, the
> designers and developers are the same people and now we will need to
> swap between IDE's.  I don't know about Thermo, but Eclipse is not
> very friendly with resources and it is simply more convenient to have
> it in a single IDE.
>
> Dale
>
> --- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]> wrote:
>>
>> Thanks Matt,
>>
>> It is as I would have guessed. As long as you guys have it as a
> design goal
>> you can for sure work it out. But I am sure you will find a fair
> number of
>> gotchas.
>>
>> Hank
>>
>> On 10/4/07, Matt Chotin <[EMAIL PROTECTED]> wrote:
>> >
>> >The idea is that Thermo would not corrupt any code from the
> file that
>> > it is working on because we want designers and developers to be
> able to work
>> > on the same files.  But obviously as you get deeper into
> development it may
>> > be that a designer has to be a little more careful as they make
>> > modifications since there will now be dynamic code dependent on
> the UI.  But
>> > we're very early here so as we build the product out we'll want to
> test
>> > these kinds of scenarios very carefully.
>> >
>> >
>> >
>> > *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On
>> > Behalf Of *hank williams
>> > *Sent:* Thursday, October 04, 2007 2:13 PM
>> > *To:* flexcoders@yahoogroups.com
>> > *Subject:* Re: [flexcoders] Thermo & Cairngorm
>> >
>> >
>> >
>> > Yeah, thats why my initial post said "Do any adobe folks know
> whether..."
>> > :)
>> >
>> > Hank
>> >
>> > On 10/4/07, *Merrill, Jason* < [EMAIL PROTECTED]> wrote:
>> >
>> > I don't think anyone knows the answer to that yet (at least from
> the Max
>> > demo) - except Adobe people and a few Adobe insiders.
>> >
>> > Jason Merrill
>> > Bank of America
>> > GT&O Learning & Leadership Development
>> > eTools & Multimedia Team
>> >
>> >
>> >
>> >
>> >
>> >
>> >  --
>> >
>> > *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On
>> > Behalf Of *hank williams
>> > *Sent:* Thursday, October 04, 2007 4:58 PM
>> >
>> >
>> > *To:* flexcoders@yahoogroups.com
>> > *Subject:* Re: [flexcoders] Thermo & Cairngorm
>> >
>> >
>> >
>> > Hmmm...
>> >
>> > Thanks Jason, but I am not sure you quite got the gist of my question.
>> > Perhaps I was unclear. I was under no illusion that one would be
> creating
>> > business logic in Thermo. My question is whether the workflow between
>> > caringorm delegates, commands, etc and the Thermo UI code will be
> easily
>> > maintained separately. Will we be able to embed cairngorm commands
> and model
>> > access in the UI stuff that is generated by Thermo. Will the
> round-tripping
>> > work. Does the conceived work flow target the cairngorm developer
> along side
>> > the designer in a smooth way.
>> >
>> > Hank
>> >
>> > On 10/4/07, *Merrill, Jason* <[EMAIL PROTECTED]> wrote:
>> >
>> > I was there for the Thermo demo (which was awesome), and they
> basically
>> > said Thermo is for designing Flex apps and jump-starting the basic
>> > interactivity between components - it's not going to be targeted
> at doing
>> > the full-blown architecture/business logic/coding of am MXML app.
> You can
>> > have a designer work with Thermo, while the developer works with Flex.
>> >
>> >
>> >
>> > Jason Merrill
>> > Bank of America
>> > GT&O Learning & Leadership Development
>> > eTools & Multimedia Team
>> >
>> >
>> >
>> >
>> >
>> >
>> >  --
>> >
>> > *From:* flexcoders@yahoogroups.com [mailto:
> [EMAIL PROTECTED] *On
>> > Behalf Of *Paul Andrews
>> > *Sent:* Thursday, October 04, 2007 7:46 AM
>> > *To:* flexcoders@yahoogroups.com
>> > *Subject:* Re: [flexcoders] Thermo & Cairngorm
>> >
>> > - Original Message -
>> > From: "hank williams" <[EMAIL PROTECTED] >
>> > To: < flexcoders@yahoogroups.com >
>> > Sent: Thursday, October 04, 2007 12:39 PM
>> > Subject: [flexcoders] Thermo & Cairngorm
>> >
>> > > Do any adobe folks know whether thermo will easily support the
>> > > cairngorm architecture? Ideally I would like to either replace (or
>> > > ideally enhance) my view classes with thermo and keep all by
> business
>> > > and communications logic exactly the same as it is now. Will this
>> > > "transition to Thermo" workfl

Re: [flexcoders] CFEclipse and Flex Builder

2007-10-05 Thread Tom Chiverton
On Friday 05 Oct 2007, [EMAIL PROTECTED] wrote:
> I've unsuccessfully tried to add CFEclipse to Flex Builder 2. 
 
Do it the other way around (install Eclipse, install CFE, install Flex Builder 
in plugin mode).

-- 
Tom Chiverton
Helping to enormously build value-added infomediaries
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

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

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


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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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


RE: [flexcoders] VO from WebService not being translated?

2007-10-05 Thread Samuel R. Neff

Web Services do not create custom VO's in Flex 2 or in Flex 3 prior to Beta
2.  The RemoteClass tag that Jim Hayes mentioned is only for remoting.

In Flex 3 beta 2 there are two new options for working with compile-time
objects and web services:

1.  WSDL Importer.  You can use the WSDL importer under Data to create a web
service proxy class which creates AS3 objects matching those that will be
returned by the web service.

2.  SchemaTypeRegistry.  You can use the new mx.rpc.xml.SchemaTypeRegistry
class to associate an AS3 class with a QName so the Web Service runtime code
will use your native objects.  Not much info or discussion on this yet, but
it's there and looks very promising.
http://livedocs.adobe.com/labs/flex/3/langref/mx/rpc/xml/SchemaTypeRegistry.
html

HTH,

Sam



---
We're Hiring! Seeking a passionate developer to join our team building Flex
based products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mrand02
Sent: Friday, October 05, 2007 9:49 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] VO from WebService not being translated?

I have a .NET web service that sends a VO back as a result for one of
its methods.  The VO has 5 properties (4 strings, 1 uint), and one
property that is another VO that contains 2 strings.  Looks like this:

ClientInfo
  uint
  string1
  string2
  string3
  string4
  ErrorObject
string1
string2

This information gets returned to my Flex app no problem, but when I
try to cast it to my client side ClientInfo object, it comes back as
null or errors out.  I'm trying like this inside my event handler:

var clientInfo:ClientInfo = evt.result as ClientInfo;

after this line, clientInfo is set to null.  The object has the exact
properties that it should, so what gives?  I'm new to Flex, so I'm not
sure if I'm expecting too much, I just kinda figured this would work...




[flexcoders] Re: FlexBuilder feature rich? Not as a development tool.

2007-10-05 Thread ben.clinkinbeard
> - Code formatter to reformat code of sloppy developers not caring
> about the format of their code.

This would be nice to have but I don't see it as essential.


> - Import organization, which organizes, add/deletes imports as needed.

Ctrl + Shift + O already organizes your imports. There is no auto
add/delete (which would be nice) but unused classes don't get compiled
into the app so its really just an aesthetics issue.

> - Smarter indentation.  Cut a section of code from one place in my
> file to another, it should re-indent as necessary for the destination.

This was something I had never seen before I used Visual Studio a
while back but it was definitely way cool.

> - Renaming or moving a class should go through the entire project
>and refactor for me.

Thats what the refactoring in FB3 does.

I agree most of these would be (very) nice to have but I don't think
any of them are deal-breakers. I am also curious which free IDEs have
these. I guess I have heard the standard Java editor in Eclipse is
pretty awesome but that has been around for quite a while and has a
large community of developers around it. You also have to realize that
FB2 was really a 1.0 product. The 2 was only to align it with the
framework version but the tool was brand new. I think FB3 has a pretty
decent set of improvements and considering the upgrade from FB2 is
only $99 I think its a pretty fair deal.

As the platform and tooling mature I am sure we'll see most if not all
of these features added. In the meantime there are plenty of Eclipse
plugin development tutorials out there so get cracking! :)

Ben


--- In flexcoders@yahoogroups.com, "dbronk" <[EMAIL PROTECTED]> wrote:
>
> I have seen a sneak peak a month or 2 ago of FlexBuilder 3.  I've
> tried to load Flex 3 Beta 1 on my box with no luck.  It simply erred
> out on the install.  Have not tried beta 2 yet.  But it is beta so
> that is fine.
> 
> But, from the sneak peak I saw, there were only a few IDE features
> added that still leaves it behind almost every other IDE out there.  I
> know that Flex 3 will add some basic refactoring features and some
> people said wow, that's cool!.  But I said, wow, it's about time!  My
> question...  How much effort is Adobe putting into the FlexBuilder IDE
> (which we pay for) as it is very behind the times as far as expected
> developer productivity features (found in almost all FREE progamming
> language IDE's).  I've been waiting for some extemely basic ones
such as:
> 
> - Code formatter to reformat code of sloppy developers not caring
> about the format of their code.
> 
> - Import organization, which organizes, add/deletes imports as needed.
> 
> - Smarter indentation.  Cut a section of code from one place in my
> file to another, it should re-indent as necessary for the destination.
> 
> - Renaming or moving a class should go through the entire project and
> refactor for me.
> 
> These are just some of the most basic things and the list goes on. 
> What, if any, should we expect to see in Flex 3?
> 
> Don't get me wrong, I think Flex absolutely rocks!  But, I do find
> that I lose productivity with these very basic and completely expected
> features that I'm use to having.
> 
> Dale
>




RE: [flexcoders] CFEclipse and Flex Builder

2007-10-05 Thread Tim Ashworth
Flex Builder standalone install with CF extensions and updates all done.
Then I go to the CFEclipse through Help -> Software Updates etc (i.e. to the
CFEclipse site through Flex Builder).  When it's installed basically they
seem to break each other.  I get error messages like being told it can't run
the CFC wizard and it breaks the Coldfusion / Flex Wizard in Flex builder in
that it'll generate the AS files, but can't generate the CF.  It tells me
that there's something wrong with the plugins.xml.  Exactly what it's a bit
vague about..

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sheriff
Sent: 05 October 2007 15:11
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] CFEclipse and Flex Builder




how are you installing it? i have both and they work fine


- Original Message 
From: Tim Ashworth <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, October 5, 2007 8:52:06 AM
Subject: [flexcoders] CFEclipse and Flex Builder



Hi all,
 
I've unsuccessfully tried to add CFEclipse to Flex Builder 2.  After several
uninstall and reinstalls I've given up.  I want to develop in CF and Flex
and would rather use one IDE.  Am I being thick, or am I just barking up the
wrong tree?
 
Cheers
 
Tim


  _  

Tonight's top picks. What will you watch tonight? Preview
 the hottest shows on Yahoo! TV. 

 


Re: [flexcoders] FlexBuilder feature rich? Not as a development tool.

2007-10-05 Thread Tom Chiverton
On Friday 05 Oct 2007, [EMAIL PROTECTED] wrote:
> - Code formatter to reformat code of sloppy developers not caring
> about the format of their code.

That would be handy, I agree.

> - Import organization, which organizes, add/deletes imports as needed.

The linux beta does that fine.

> - Renaming or moving a class should go through the entire project and
> refactor for me.

If you don't use the refactor mode, it doesn't get refactored ? Sounds like a 
feature to me.

> These are just some of the most basic things and the list goes on.

Have you entered them into Jira, or via. Adobe's wish list ? If you don't 
speak up you'll never get them :-)

-- 
Tom Chiverton
Helping to centrally administrate granular schemas
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

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

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


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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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


Re: [flexcoders] Re: Flex app crashes FireFox, not IE

2007-10-05 Thread Tom Chiverton
On Friday 05 Oct 2007, [EMAIL PROTECTED] wrote:
>  I'm embarrassed to ask, but how do I check the version number of the
> browser plugins in IE and FF?

Right click menu (on some flash), about.

-- 
Tom Chiverton
Helping to apprehensively promote professional bandwidth
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

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

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


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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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


[flexcoders] Passing ID from master to detail

2007-10-05 Thread stlum9495
Hi,

I've been programming for awhile, but am new to Flex and was wondering
what the best way of passing values from screen to screen is.

Currently, I have two canvases which have a master detail
relationship.  When I click on a button in the master canvas, I want
to pass the record id to the detail canvas so that the detail canvas
can query the server for the details data.  simple master detail.

To code this in flex, what I did was when the button was clicked on
the master, I saved the record id into a Local Shared Object, and when
my Detail canvas appears, I grab the id from said Local Shared Object
and make my server side request.

This works fine, but I was wondering -- is this the Best Practice way?
   I haven't seen much by way of design patterns etc for flex
pages(I've seen the AS book) so was wondering if I should be doing
this differently.

Thanks




Re: [flexcoders] Re: Thermo & Cairngorm

2007-10-05 Thread Tom Chiverton
On Friday 05 Oct 2007, [EMAIL PROTECTED] wrote:
> A question...  Why another designer?  Why not add the Thermo features
> into FlexBuilder or Flash? 


They need to rewrite the design mode of Flex Builder to be cross platform so 
they can put it in the Linux version.
In doing so, they have the chance to make it stand alone as well.


-- 
Tom Chiverton
Helping to heterogeneously fashion advanced synergies
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

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

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


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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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


[flexcoders] Re: Embedding assets and file size

2007-10-05 Thread bw71
Can you give a short example of how you would use styles in this case?

Let's say I have one icon used by two components, each component with
a unique style.

.bigPanel {
  icon: "@Embed(...,symbol='MoneyIcon";
}

.smallPanel {
  icon: "@Embed(...,symbol="MoneyIcon";
}

Is that what you're suggesting?  And Flex is smart enough not to embed
that resource multiple times?

Thanks.

--Brian

--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote:
> > What I wanted to do though was create a class like so
> 
> Any reason not to use a style[sheet] ?
> 




RE: [flexcoders] Re: VO from WebService not being translated?

2007-10-05 Thread Jim Hayes
So my first wild guess was not correct !
 
Now for the second ...
 
Does it understand the "errorObject" ? I'm thinking that the errorObject
will also need a RemoteClass tag, if it does not already ?
If not then that could be where conversion fails.
 
The getters/setters as opposed to plain public vars shouldn't have any
influence in this case, I've used a mixture of both before (with
remoting).
 
 
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mrand02
Sent: 05 October 2007 15:11
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: VO from WebService not being translated?
 
I've tried it with and without that. As of now, my client side VO
looks like this:

package net.imageplant.mediamanager.services
{
[RemoteClass(alias="net.imageplant.ClientInfo")]
public class ClientInfo
{
private var _nClientId:uint;
private var _strName:String;
private var _strDomain:String;
private var _strStyle:String;
private var _strLogo:String;
private var _errorObj:ErrorObject;

public function ClientInfo()
{

}

public function get id():uint
{
return _nClientId;
}

public function set id(nClientId:uint):void
{
_nClientId = nClientId;
}

public function get name():String
{
return _strName;
}

public function set name(strName:String):void
{
_strName = strName;
}

public function get domain():String
{
return _strDomain;
}

public function set domain(strDomain:String):void
{
_strDomain = strDomain;
}

public function get style():String
{
return _strStyle;
}

public function set style(strStyle:String):void
{
_strStyle = strStyle;
}

public function get logo():String
{
return _strLogo;
}

public function set logo(strLogo:String):void
{
_strLogo = strLogo;
}

public function get error():ErrorObject
{
return _errorObj;
}

public function set error(errorObj:ErrorObject):void
{
_errorObj = new ErrorObject();
_errorObj = errorObj;
}
}
}

Is it better to have getter/setter methods, or should all the
properties just be public? Does it matter? I'm pretty sure I've
tried both ways with no success...

--- In flexcoders@yahoogroups.com 
, "Jim Hayes" <[EMAIL PROTECTED]> wrote:
>
> Do you have the RemoteClass tag on your flex VO class ? That's what I
> needed to fix that problem (it was flourine remoting, I'm guessing the
> webservice needs the same)
> 
> [RemoteClass(alias="com.yourdomain.vo.YourServerVO")]
> Public class YourFlexVO
> {
> 
> hth
> 
> Jim.
> 
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of mrand02
> Sent: 05 October 2007 14:49
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] VO from WebService not being translated?
> 
> I have a .NET web service that sends a VO back as a result for one of
> its methods. The VO has 5 properties (4 strings, 1 uint), and one
> property that is another VO that contains 2 strings. Looks like this:
> 
> ClientInfo
> uint
> string1
> string2
> string3
> string4
> ErrorObject
> string1
> string2
> 
> This information gets returned to my Flex app no problem, but when I
> try to cast it to my client side ClientInfo object, it comes back as
> null or errors out. I'm trying like this inside my event handler:
> 
> var clientInfo:ClientInfo = evt.result as ClientInfo;
> 
> after this line, clientInfo is set to null. The object has the exact
> properties that it should, so what gives? I'm new to Flex, so I'm not
> sure if I'm expecting too much, I just kinda figured this would
work...
> 
> 
> __
> This communication is from Primal Pictures Ltd., a company
registered in England and Wales with registration No. 02622298 and
registered office: 4th Floor, Tennyson House, 159-165 Great Portland
Street, London, W1W 5PA, UK. VAT registration No. 648874577.
> 
> This e-mail is confidential and may be privileged. It may be read,
copied and used only by the intended recipient. If you have received
it in error, please contact the sender immediately by return e-mail or
by telephoning +44(0)20 7637 1010. Please then delete the e-mail and
do not disclose its contents to any person.
> This email has been scanned for Primal Pictures by the MessageLabs
Email Security System.
> __
>
 

__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +

Re: [flexcoders] Re: VO from WebService not being translated?

2007-10-05 Thread Thijs Triemstra | Collab
Webservices doesn't use AMF and is not capable of serializing VOs  
because of that..


Thijs


On Oct 5, 2007, at 4:11 PM, mrand02 wrote:


I've tried it with and without that. As of now, my client side VO
looks like this:

package net.imageplant.mediamanager.services
{
[RemoteClass(alias="net.imageplant.ClientInfo")]
public class ClientInfo
{
private var _nClientId:uint;
private var _strName:String;
private var _strDomain:String;
private var _strStyle:String;
private var _strLogo:String;
private var _errorObj:ErrorObject;

public function ClientInfo()
{

}

public function get id():uint
{
return _nClientId;
}

public function set id(nClientId:uint):void
{
_nClientId = nClientId;
}

public function get name():String
{
return _strName;
}

public function set name(strName:String):void
{
_strName = strName;
}

public function get domain():String
{
return _strDomain;
}

public function set domain(strDomain:String):void
{
_strDomain = strDomain;
}

public function get style():String
{
return _strStyle;
}

public function set style(strStyle:String):void
{
_strStyle = strStyle;
}

public function get logo():String
{
return _strLogo;
}

public function set logo(strLogo:String):void
{
_strLogo = strLogo;
}

public function get error():ErrorObject
{
return _errorObj;
}

public function set error(errorObj:ErrorObject):void
{
_errorObj = new ErrorObject();
_errorObj = errorObj;
}
}
}

Is it better to have getter/setter methods, or should all the
properties just be public? Does it matter? I'm pretty sure I've
tried both ways with no success...

--- In flexcoders@yahoogroups.com, "Jim Hayes" <[EMAIL PROTECTED]> wrote:
>
> Do you have the RemoteClass tag on your flex VO class ? That's  
what I
> needed to fix that problem (it was flourine remoting, I'm  
guessing the

> webservice needs the same)
>
> [RemoteClass(alias="com.yourdomain.vo.YourServerVO")]
> Public class YourFlexVO
> {
>
> hth
>
> Jim.
>
>
>
> -Original Message-
> From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On

> Behalf Of mrand02
> Sent: 05 October 2007 14:49
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] VO from WebService not being translated?
>
> I have a .NET web service that sends a VO back as a result for  
one of

> its methods. The VO has 5 properties (4 strings, 1 uint), and one
> property that is another VO that contains 2 strings. Looks like  
this:

>
> ClientInfo
> uint
> string1
> string2
> string3
> string4
> ErrorObject
> string1
> string2
>
> This information gets returned to my Flex app no problem, but when I
> try to cast it to my client side ClientInfo object, it comes back as
> null or errors out. I'm trying like this inside my event handler:
>
> var clientInfo:ClientInfo = evt.result as ClientInfo;
>
> after this line, clientInfo is set to null. The object has the exact
> properties that it should, so what gives? I'm new to Flex, so I'm  
not
> sure if I'm expecting too much, I just kinda figured this would  
work...

>
>
> __
> This communication is from Primal Pictures Ltd., a company
registered in England and Wales with registration No. 02622298 and
registered office: 4th Floor, Tennyson House, 159-165 Great Portland
Street, London, W1W 5PA, UK. VAT registration No. 648874577.
>
> This e-mail is confidential and may be privileged. It may be read,
copied and used only by the intended recipient. If you have received
it in error, please contact the sender immediately by return e-mail or
by telephoning +44(0)20 7637 1010. Please then delete the e-mail and
do not disclose its contents to any person.
> This email has been scanned for Primal Pictures by the MessageLabs
Email Security System.
> __
>







[flexcoders] Re: MultiPurpose ItemRenderer

2007-10-05 Thread droponrcll
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> I can sense your frustration, and the tone of your answers are 
trying my
> patience.  There are a lot of variables here, and it is not my full 
time
> job to support you through this.  I know you've spent lots of time 
on it
> and it can be a real pain in the butt to figure out some things in 
Flex,
> but please don't take it out on those of us who are trying to 
help.  I'm
> trying to help as many people on this forum as I can so I generally
> don't have the capacity to remember all the details of your issues, 
and
> that will occasionally cause me to steer you in the wrong direction,
> since I can't see all of the hazards on the road ahead of you.
>  
> Since my recommendation of not sizing the image to 100% didn't 
work, it
> is probably that there is some factor I didn't consider, but I am
> recommending best practices here, so what you take away will 
hopefully
> serve you on your next Flex task.  I think I recall that you had 
swfs
> with sizes like 300x175.  How big do you want them to show up in 
your
> component.  At their true size or scaled down in some way?
>  
> I think I also recall asking you to post a couple of the swfs so I 
can
> see what they look like.  Please do so in your next response so I 
can
> try to get a better understanding of why sizing these swfs is not
> working as expected.  There is always going to be a chance that 
you'll
> have to do something one-off, but I haven't seen enough evidence 
that we
> really have to do so.  Also, if you have a sketch, screenshot or any
> other visual that can give me an idea of what your goal is that will
> help too.

Did I post too large a download here?  I can post something smaller 
if that is the issue.

Thanks;

Amy



[flexcoders] Re: VO from WebService not being translated?

2007-10-05 Thread mrand02
I've tried it with and without that.  As of now, my client side VO
looks like this:

package net.imageplant.mediamanager.services
{
[RemoteClass(alias="net.imageplant.ClientInfo")]
public class ClientInfo
{
private var _nClientId:uint;
private var _strName:String;
private var _strDomain:String;
private var _strStyle:String;
private var _strLogo:String;
private var _errorObj:ErrorObject;

public function ClientInfo()
{

}

public function get id():uint
{
return _nClientId;
}

public function set id(nClientId:uint):void
{
_nClientId = nClientId;
}

public function get name():String
{
return _strName;
}

public function set name(strName:String):void
{
_strName = strName;
}

public function get domain():String
{
return _strDomain;
}

public function set domain(strDomain:String):void
{
_strDomain = strDomain;
}

public function get style():String
{
return _strStyle;
}

public function set style(strStyle:String):void
{
_strStyle = strStyle;
}

public function get logo():String
{
return _strLogo;
}

public function set logo(strLogo:String):void
{
_strLogo = strLogo;
}

public function get error():ErrorObject
{
return _errorObj;
}

public function set error(errorObj:ErrorObject):void
{
_errorObj = new ErrorObject();
_errorObj = errorObj;
}
}
}

Is it better to have getter/setter methods, or should all the
properties just be public?  Does it matter?  I'm pretty sure I've
tried both ways with no success...



--- In flexcoders@yahoogroups.com, "Jim Hayes" <[EMAIL PROTECTED]> wrote:
>
> Do you have the RemoteClass tag on your flex VO class ? That's what I
> needed to fix that problem (it was flourine remoting, I'm guessing the
> webservice needs the same)
>  
> [RemoteClass(alias="com.yourdomain.vo.YourServerVO")]
> Public class YourFlexVO
> {
>  
> hth
>  
> Jim.
>  
>  
>  
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of mrand02
> Sent: 05 October 2007 14:49
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] VO from WebService not being translated?
>  
> I have a .NET web service that sends a VO back as a result for one of
> its methods. The VO has 5 properties (4 strings, 1 uint), and one
> property that is another VO that contains 2 strings. Looks like this:
> 
> ClientInfo
> uint
> string1
> string2
> string3
> string4
> ErrorObject
> string1
> string2
> 
> This information gets returned to my Flex app no problem, but when I
> try to cast it to my client side ClientInfo object, it comes back as
> null or errors out. I'm trying like this inside my event handler:
> 
> var clientInfo:ClientInfo = evt.result as ClientInfo;
> 
> after this line, clientInfo is set to null. The object has the exact
> properties that it should, so what gives? I'm new to Flex, so I'm not
> sure if I'm expecting too much, I just kinda figured this would work...
>  
> 
> __
> This communication is from Primal Pictures Ltd., a company
registered in England and Wales with registration No. 02622298 and
registered office: 4th Floor, Tennyson House, 159-165 Great Portland
Street, London, W1W 5PA, UK. VAT registration No. 648874577.
> 
> This e-mail is confidential and may be privileged. It may be read,
copied and used only by the intended recipient. If you have received
it in error, please contact the sender immediately by return e-mail or
by telephoning +44(0)20 7637 1010. Please then delete the e-mail and
do not disclose its contents to any person.
> This email has been scanned for Primal Pictures by the MessageLabs
Email Security System.
> __
>




Re: [flexcoders] CFEclipse and Flex Builder

2007-10-05 Thread Sheriff
how are you installing it? i have both and they work fine

- Original Message 
From: Tim Ashworth <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, October 5, 2007 8:52:06 AM
Subject: [flexcoders] CFEclipse and Flex Builder









  







Hi 
all,

 

I've unsuccessfully 
tried to add CFEclipse to Flex Builder 2.  After several uninstall and 
reinstalls I've given up.  I want to develop in CF and Flex and would 
rather use one IDE.  Am I being thick, or am I just barking up the wrong 
tree?

 

Cheers

 

Tim



  
























  

Tonight's top picks. What will you watch tonight? Preview the hottest shows on 
Yahoo! TV.
http://tv.yahoo.com/ 


[flexcoders] Re: [flex_india:3558] Re: Objects over socket and AMF encoding

2007-10-05 Thread learner
Thanks Malik,

Requirement is urgent. and we I had settled down on sending the string and
retrieving the string from server .
But your answer gives me hope..it will be great if u can make the concept
available. I will always prefer object serialization over any string
exchange.


Thanks  a ton
Regards
PS



On 10/4/07, smalik <[EMAIL PROTECTED]> wrote:
>
>
> Until and unless you have a deserializer on java side, it will not
> work. Try sending your object as XML or String or something like that.
>
> You can also manually serialize your class into a byte array (meaning
> writing byte by byte) and then manually deserialize on the java side
> (reading byte by byte).
>
> When I started building my application, I faced the same problem, and
> knowing that AMF is a proprietary encoding and Red5 etc will use a
> "reverse engineered" version which could potentially run into copy
> right legal hassles, I had to build my own custom serialization
> protocol on similar terms with AMF and java serialization.
>
> One of these days, I am planning to donate it as open source and
> create a google project for it, it's just that it requires some
> "polishing". If your requirement is urgent and nothing else works out
> for you, let me know.
>
>
> Regards,
> Sandeep
>
> On Oct 4, 2:21 pm, learner <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > I am trying to send Objects over socket connection from flex client to
> > java..basically I want  to set up the push channel.
> > i figured out that i need to user AMF -encoding on java side to read
> > actionscript object.
> > I am trying to look at the RMTP package of the red5 server..but not
> getting
> > much clue..
> > Can somebody point me to that ?
> > at IFBN I saw that Thed Patrick  has written something for it,,but only
> mxml
> > file is available there . no java code ..
> >
> > Thanks & Regards
> > PS
>
>
> --~--~-~--~~~---~--~~
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [EMAIL PROTECTED]
> To unsubscribe from this group, send email to
> [EMAIL PROTECTED]
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en
> -~--~~~~--~~--~--~---
>
>


RE: [flexcoders] VO from WebService not being translated?

2007-10-05 Thread Jim Hayes
Do you have the RemoteClass tag on your flex VO class ? That's what I
needed to fix that problem (it was flourine remoting, I'm guessing the
webservice needs the same)
 
[RemoteClass(alias="com.yourdomain.vo.YourServerVO")]
Public class YourFlexVO
{
 
hth
 
Jim.
 
 
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mrand02
Sent: 05 October 2007 14:49
To: flexcoders@yahoogroups.com
Subject: [flexcoders] VO from WebService not being translated?
 
I have a .NET web service that sends a VO back as a result for one of
its methods. The VO has 5 properties (4 strings, 1 uint), and one
property that is another VO that contains 2 strings. Looks like this:

ClientInfo
uint
string1
string2
string3
string4
ErrorObject
string1
string2

This information gets returned to my Flex app no problem, but when I
try to cast it to my client side ClientInfo object, it comes back as
null or errors out. I'm trying like this inside my event handler:

var clientInfo:ClientInfo = evt.result as ClientInfo;

after this line, clientInfo is set to null. The object has the exact
properties that it should, so what gives? I'm new to Flex, so I'm not
sure if I'm expecting too much, I just kinda figured this would work...
 

__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__

[flexcoders] CFEclipse and Flex Builder

2007-10-05 Thread Tim Ashworth
Hi all,
 
I've unsuccessfully tried to add CFEclipse to Flex Builder 2.  After several
uninstall and reinstalls I've given up.  I want to develop in CF and Flex
and would rather use one IDE.  Am I being thick, or am I just barking up the
wrong tree?
 
Cheers
 
Tim


[flexcoders] VO from WebService not being translated?

2007-10-05 Thread mrand02
I have a .NET web service that sends a VO back as a result for one of
its methods.  The VO has 5 properties (4 strings, 1 uint), and one
property that is another VO that contains 2 strings.  Looks like this:

ClientInfo
  uint
  string1
  string2
  string3
  string4
  ErrorObject
string1
string2

This information gets returned to my Flex app no problem, but when I
try to cast it to my client side ClientInfo object, it comes back as
null or errors out.  I'm trying like this inside my event handler:

var clientInfo:ClientInfo = evt.result as ClientInfo;

after this line, clientInfo is set to null.  The object has the exact
properties that it should, so what gives?  I'm new to Flex, so I'm not
sure if I'm expecting too much, I just kinda figured this would work...



  1   2   >