RE: [flexcoders] compiler warnings with [Bindable] internal

2006-09-20 Thread Matt Chotin












Paul said he tried a simple example and it
worked OK so we might need more info to see if theres a bug.



 ?xml
version=1.0 encoding=utf-8?

 mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml

 mx:Script

 ![CDATA[

 [Bindable]

 internal var
foo:String = bar;

 ]]

 /mx:Script

 mx:Label
text={foo}/

 /mx:Application













From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Jeff Tapper
Sent: Monday, September 18, 2006
9:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] compiler
warnings with [Bindable] internal











Is there some restriction about using [Bindable] on
internal 
properties? It seems that i get compiler warnings if i have [Bindable] 
properties maked as internal, where if i mark the same property as either 
public or private, there is no warning. Is this a bug, or are we not meant 
to allow internal bindable properties?






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] using an OCX with Flex

2006-09-20 Thread Matt Chotin












Hi Bruce,



You might need to look at it differently and
have your original OCX hoist up Flex (or use another hosting tool and
communicate using ExternalInterface). Flex itself (running in the Flash
Player) doesnt get access to native OS commands, so you need to do some
bridging yourself. However with that one caveat I think that you can probably
build the main part of the application with Flex and it will go pretty well. 



Matt











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of boy_trike
Sent: Tuesday, September 19, 2006
7:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] using an OCX
with Flex











I am considering re-writing a traditional
client-server application in Flex. This will be an 
INTRANET application and all of the clients have a registered OCX that my app
has to 
communicate with (Interfaces with a phone dialer).

My 2 part question is:
1). Am I silly to try to build a feature-rich application in Flex? Am I losing
any features 
compared to traditional CS development tools?

2). Most important, how does one instantiate an OCX and use it in flex?

Thanks

Bruce






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Implementation of Concept: Grid

2006-09-20 Thread Matt Chotin












I guess what Id do is define the
columns of the DataGrid explicitly where each column is for an individual
width. Your dataProvider to the grid would then be a collection of items where
each item is for a given length (you might want to lock the leftmost column and
have that value be the actual length. For all the other columns you can
use a labelFunction that figures out which width the column is for, then looks
up the price based on length. Make those columns editable. When you
receive an edit event from the Grid you can simply figure out the appropriate
width/length and update whatever data structure you are using. If you
wanted to build this logic into the source collections themselves that might be
fine, the question is whether your data structures are going to be consistent
enough to handle this or whether you might need to do some pre-processing that
negates the value a DataGrid-ready data structure.



Not sure if Im making sense this
late at night, but its a shot.



Matt











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of lostinrecursion
Sent: Tuesday, September 19, 2006
8:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Implementation of Concept: Grid











Hi all,

I wrote up this question a while ago but I realized, after looking at
it, that it was poorly posed. As such, it was buried among the
graveyard of unanswered posts. I think I have a much better way to
represent it:

I have a database table which holds the following fields:

width
length
pricenumber
group

The concept is that for each width and length in a given group, there
is a corresponding pricenumber value.

On the client's source documents (one for each group) this is
represented by a simple grid which has width along the X axis of the
grid and length along the Y axis. Following the width across and the
length down gives you the pricenumber you are looking for.

I need a way to represent this in Flex so that it can be edited, but I
am not sure if the DataGrid is the right approach. In HTML, this seems
like it would be fairly simple.

Could someone point me in the right direction to accomplish this task?






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] FP 9 Sandbox Bug Between Firefox and IE?

2006-09-20 Thread Matt Chotin












I think this is a known issue. The
viewSource SWF itself was probably not re-published with the network settings
so even though the first SWF comes up correctly our view source logic is
pre-compiled to use the network. Ill forward this in to be sure.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Carabetta
Sent: Tuesday, September 19, 2006
11:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FP 9 Sandbox
Bug Between Firefox and IE?











Hi. I was
wondering if somebody can confirm for me whether or not I've
stumbled upon a Flash Player 9 bug. The source code is simply the
source code from Ted Patrick's Flex Builder 101 Breeze demo located at
http://www.adobe.com/devnet/flex/articles/flextv_flexbuilder101.html.
I've also pasted it below for cut-and-paste purposes. Essentially, the
bug problem statement is that the Firefox plugin's default security
context seems to differ from the IE plugin's default context. When I
try to do a View Source on the published SWF, Firefox pops up the
#2148 local file access error that many have seen while IE happily
displays the resulting source code SWF.

Here's the source code:

?xml version=1.0 encoding=utf-8?
mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute
backgroundGradientColors=[#ff, #ff]
viewSourceURL=srcview/index.html

mx:Button
label=Say Hello
height=60
width=168
horizontalCenter=0
verticalCenter=0
click=Alert.show('Hello Flex World!') /

mx:Script
![CDATA[
import mx.controls.Alert;
]]
/mx:Script

/mx:Application

As you can see, it's very plain stuff. If I right-click and do a
subsquent View Source in Firefox, this AS error pops up and no source
code is displayed:

SecurityError: Error #2148: SWF file
file:///D:/flex_projects/MyFirstFlex/bin/MyFirstFlex.swf
cannot access
local resource srcview/index.html. Only local-with-filesystem and
trusted local SWF files may access local resources.
at global/flash.net::navigateToURL()
at mx.core::Application/::menuItemSelectHandler()

Internet Explorer displays everything just fine.

But the plot thickens... I know about the -use-network=false switch to
add to the compiler settings so that local access is granted, so I
added that and re-published the project. Upon clicking the View Source
option, this time the source code is displayed in the right frame, but
I get this AS error popup when the SWF in the left frame tries to load
the source tree:

[RPC Fault faultString=Error #2148: SWF file
file:///D:/flex_projects/MyFirstFlex/bin/srcview/SourceTree.swf
cannot
access local resource SourceIndex.xml. Only local-with-filesystem and
trusted local SWF files may access local resources.
faultCode=InvokeFailed faultDetail=null]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invoke()
at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::invoke()
at mx.rpc.http::HTTPService/send()
at mx.rpc.http.mxml::HTTPService/send()
at SourceTree/::startApplication()
at SourceTree/___Application1_creationComplete()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/::doPhasedInstantiation()

And, again, IE is fine and displays both pages in the frameset without
issue. My next thought was to verify the version of the Flash Player
that I'm running and they're both properly at 9,0,16, so that
eliminates that possibility.

Any ideas as to why there is an apparent difference in the default
security context between the two players? Is this, in fact, a bug or
known issue?

Regards,
Dave.






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Custom Component Updates...

2006-09-20 Thread Matt Chotin












What property is the combo box supposed to
pay attention to. Should you just be overriding a setter on the ComboBox so
that youre aware when the data changes? Or is this binding to the
variable thats used in the filterFunction that you want to do? Maybe
rather than making that variable [Bindable] on its own you should make it a
getter/setter and dispatch your own even that you can listen for.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ken Bromberger
Sent: Tuesday, September 19, 2006
3:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom
Component Updates...













Hi All,




I have a custom component, a combo box that I have applied an ArrayCollection
filter to that accepts a variable to filter on. I am able to trigger and filter
the combo box externally but what I would like to do is have the combo box
listen for when its binding changes and then update the filter all
within the component. What would be the best practice for doing this?? I have
looked at ChangeWatcher and this does seem like it could work Does
anyone have suggestions or examples???



-Ken














__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Data Binding Question - will both work?

2006-09-20 Thread Matt Chotin












I think we made that change between beta3
and release so if things are working for you now I believe youre set. But
your preferred choice is preferred by us too I think J



Matt











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of nwebb
Sent: Tuesday, September 19, 2006
8:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Data Binding
Question - will both work?











Hi, I've
just seen part of a Flex training video that I think is incorrect or outdated
(beta 3 was being used at the time)
I just want to double-check that this really is the case.

The video says that the code below would *not* take full advantage of data
binding (ie the data will initially appear in the DataGrid, but it will
not stay updated): 

mx:HTTPService id=heroesDataRequest url="">xml
/ 
mx:DataGrid dataProvider={heroesDataRequest.lastResult.superheroes.hero}
/

However, I read in the Flex 2 docs that an HTTPService request will, by deault
return an ArrayCollection (makeObjectsBindable is true by default), and I
am using the data binding syntax in the form of the curly braces. Furthermore,
in order to try and test, I used buttons to change the data in the HTTPService's
lastResult object, and the changes do always seem to be reflected in my
DataGrid: 

mx:HTTPService id=heroesDataRequest url="">xml
makeObjectsBindable=true / 
mx:DataGrid dataProvider={heroesDataRequest.lastResult.superheroes.hero
} /
mx:Button label=button 1 click=heroesDataRequest.lastResult.superheroes.hero[0].name
= 'AAA'; /
mx:Button label=button 2 click=heroesDataRequest.lastResult.superheroes.hero
[0].name = 'BBB'; /

The tutorial goes on to say that to make binding work properly I should use the
HTTPServices 'result' event handler, and assign the data to a bindable
ArrayCollection variable that I create - this is probably my preferred choice
anyway, but I am curious to know whether both ways are equally appropriate. 

Can I safely say that data binding is working fully in the first example, or
could there be scenarios in which it will not work but where the alternative
method would? If so, could someone enlighten me? I'm not yet confident of the
best way to check/debug this kind of thing myself. 

Cheers,
Neil 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] FDS Running as a Service?

2006-09-20 Thread Matt Chotin












You really need your application server to
start as a service. If you have the commercial version of JRun it comes with
instructions on how to do this. If youre using something like Tomcat there
are instructions on how to run that server as a service within its own docs. So
its the container thats hosting FDS that needs the service
support, not FDS itself. Sounds like you probably did the install with the
development version of JRun, I dont believe it has that capability on
its own.



Matt











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Mike Anderson
Sent: Tuesday, September 19, 2006
2:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS Running
as a Service?











Hello
All,

I don't recall this topic ever coming up - but is there a way, rather
than double-clicking the FDS Icon to launch the FDS Server, to have it
startup on it's own as a service?

Of course, in a Server Environment, having to launch a server in this
manner is just not realistic - as it actually requires a user to Login,
then launch it in an Explorer Shell.

I am not sure if this is just specific to the free version of FDS,
and
that the Commercial Version actually does install as a service?

Could anybody shed some light on this?

Thanks in advance,

Mike






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Flex 2.0 Hosting ( Cheap / Inexpensive )

2006-09-20 Thread Matt Chotin












Yes, CFDynamics has been considering it. Im
not sure if others have been considering it recently, Ill ask Eric but
we havent seen a massive request for it recently.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Meutzner
Sent: Tuesday, September 19, 2006
3:59 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0
Hosting ( Cheap / Inexpensive )











I've heard that CFDyanmics is considering it... worth
posing the question to them...


Brendan






On 9/19/06, Douglas
McCarroll  org.yahoo_primary.[EMAIL PROTECTED]roll.com
wrote:











Paul Andrews
wrote:

 Hosting Flex isn't a problem, it's FDS that's the problem.
;-)





Are there any solutions
available for FDS?

It sounds like there aren't. :-( 

Could someone from Adobe comment on whether Adobe is working on this?






















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] How to implement BarChart with vertical scroll bar

2006-09-20 Thread Pekka Kola










Thank you Ely! Btw, now, knowing the
height of chart row, I can implement the scroll bar to chart too. It is
possible to do by providing the chart with a subset of data; the subset is
selected by scroll bar. 



Pekka











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ely
 Greenfield
Sent: 20. syyskuuta 2006 0:59
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to
implement BarChart with vertical scroll bar















Ahgotcha. The size of each
section of the vertical Axis is the total size of the vertical axis / the
number of categories. So to get a constant size per category, you can
either:



1) create dummy empty categories to make
sure you always have the right number of categories

2) create a custom axis that returns the
same min/max values regardless of the number of categories (essentially the
same thing).



Now if what you're asking about is the
size of the bars relative to the size of the sections on the axis (you're
description and your picture don't quite match), there are properties on the
barSeries to limit the size of each bar, in pixels. I believe it's
maxPixelsWidth or something like that.



Ely.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pekka Kola
Sent: Tuesday, September 19, 2006
1:13 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to
implement BarChart with vertical scroll bar





Hi!

To be yet more specific, please look at the sketch on
attachment,

BR, Pekka











From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Pekka Kola
Sent: 19. syyskuuta 2006 7:15
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] How to
implement BarChart with vertical scroll bar



I would like to keep the height of a bar the same regardless
how many series there are in the chart. Sorry for poor language, it just was
too late here.

Pekka











From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Ely Greenfield
Sent: 18. syyskuuta 2006 21:17
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] How to
implement BarChart with vertical scroll bar



I'm not sure exactly what you mean by
'fix the height of a bar series.' Can you be more specific?

E.









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Pekka Kola
Sent: Monday, September 18, 2006
9:51 AM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] How to
implement BarChart with vertical scroll bar





Thanks Ely! Can I fix the height of a bar series or should I
implement that by myself too?

BR, Pekka











From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Ely Greenfield
Sent: 18. syyskuuta 2006 19:15
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] How to
implement BarChart with vertical scroll bar



THere's no scrolling functionality
built in to the charts, Pekka. You could extend BarChart to add it,
although you might find it easier to embed a barchart instead.

Ely.









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Pekka Kola
Sent: Monday, September 18, 2006
4:43 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] How to
implement BarChart with vertical scroll bar





Hi!

I
have a need for special BarChart like chart where the height of a series will
be fixed and the chart area without x-axis gets a vertical scroll bar in case
the row count (N of series in chart) grows bigger so that all the series do not
fit to the chart. Should I inherit a new chart from BarChart or does the Bar
chart have some hidden functionality to do that (fixed height +
scroll bar)?

Thanks
in advance,

Pekka





















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___





RE: [flexcoders] Remote Object caching the results?

2006-09-20 Thread Matt Chotin












You need to make sure that a frame passes
between the two calls. If you call one right after another in your AS code
they will be sent in the same network request and therefore will be combined in
their responses. So what you can do is call the first method, then do a
callLater to call the second method. That should break it up I think.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vuleman
Sent: Tuesday, September 19, 2006
5:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote
Object caching the results?











Hi everyone,
I have a page that makes a Remote Object call to the server. Since 
it's taking too long, i split it up with 2 separate remote object 
calls. One call will return the summary (which is really fast), 
while the other RO call will retrieve the detail status (longer). If 
i look at the call ouput, it looks as if Flex cache the faster, wait 
for the slower one, and return both at the same time.

Output is as follow:

[Flex] Serializing AMF/HTTP response
Version: 3
(Message #0 targetURI=/151/onResult, .)
(Message #1 targetURI=/159/onResult, .)

Message #0 is the summary, and message #1 is the detail call. This 
happen most of the time, but sometimes they do return separately, 
which resulted in the behavior that I want (faster one return first, 
slower later) 

Does anyone know if this is the default Remote Object behavior? For 
performance purposes? If so, how do I disable this feature and have 
Remote Object call return as soon as they are completed?

Many thanks
Vu






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Custom Component Updates...

2006-09-20 Thread Ken Bromberger












Hi Matt,



 Thanks for your response; basically
I want the como
box to listen for the change to a bindable public variable I have set up. Then when
that variable is changed from outside the component, from another combo or
datagrid etc I then want the filterFunction to use that variable and update
the array in the component. It does sound like making the getter/setter and
dispatching the event is what I would want to do. I am pretty green with this;
can you point me to some resources that will get me going on this??

-Ken











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Tuesday, September 19, 2006
11:40 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Custom
Component Updates...





What property is the combo box supposed to
pay attention to. Should you just be overriding a setter on the ComboBox
so that youre aware when the data changes? Or is this binding to
the variable thats used in the filterFunction that you want to do?
Maybe rather than making that variable [Bindable] on its own you should
make it a getter/setter and dispatch your own even that you can listen for.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ken
 Bromberger
Sent: Tuesday, September 19, 2006
3:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom
Component Updates...













Hi All,




I have a custom component, a combo box that I have applied an ArrayCollection
filter to that accepts a variable to filter on. I am able to trigger and filter
the combo box externally but what I would like to do is have the combo box
listen for when its binding changes and then update the filter all
within the component. What would be the best practice for doing this?? I have
looked at ChangeWatcher and this does seem like it could work Does
anyone have suggestions or examples???



-Ken























__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___





[flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread maxym.hryniv
Hi.
I don't see the reason to create abstract base classes for all value 
objects, models etc. Can you explain one more time?
Can you also describe how you create modules (flex app|flex library) 
and how you load them (in main|separate|child app domain)?


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

 Hi,
 
 I think you have setup things pretty much the same way I would. 
Although I have never gone that far... yet :)
 
 One thing I did notice which you can change is that you said the 
entire flex framework gets included in the cairngorm.swc ... doesn't 
have to be. I build the carngorm.swc using the command-line compiler 
and made sure to exclude the framework.swc, this did reduce the size 
and is basically what I think you want to do. Don't remember the 
exact switch, will have to get that to you tomorrow once I'm back in 
the office.
 
 Regards,
 
 Dimitrios Gianninas
 Optimal Payments Inc.
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com on behalf of derrickgrigg
 Sent: Tue 9/19/2006 11:23 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Architecting a large, modular Flex application
  
 I just want to bounce this idea/concept off the larger Flex 
community
 to see if there are any holes or possibly better solutions.
 
 I am currently working with a team of developers on a large, modular
 Flex application based on the Cairngorm framework. One issue that we
 are trying to get our heads around is creating the application in a
 modular fashion (ie seperate SWFs for application modules). Each
 module will only get loaded as needed by the main shell application 
in
 order to keep the overall size and memory use as small as possible. 
 
 The big issue that we are running into is how to setup and develop 
the
 module flex projects in Flex Builder. We need to give the module
 projects access to the models, value objects etc (especially 
bindable
 properties) that they need from the main application without having
 the actual application implemented version of those classes get
 compiled into the module swfs and causing problems when they get
 loaded into the main application. Our current thinking is that in
 order to allow the modules to have full access to the models, value
 objects, etc that have been defined in the main application we 
create
 Abstract versions of those classes and put them in a seperate flex
 library project which will get compiled as an SWC and get included
 into the seperate modules as a runtime shared library (RSL), 
basically
 an library of Abstract classes only (and maybe some Interfaces). The
 module projects will also include the Cairngorm.swc as an RSL in 
order
 to have access to the interfaces etc that are defined there and
 provide the neccessary hooks into the main application. 
 
 The main application will have all of it's models, value objects etc
 extend the abstract classes that are defined in the Abstract RSL
 library. The main application will also use the cairngorm.swc as an
 RSL to ensure that the module swfs load properly when called upon 
(ie
 they won't throw a run time shared library error because they can't
 find the cairngorm.swc). This results in a download hit because the
 entire flex framework gets downloaded in the cairngorm.swc but we do
 not see any way around that.
 
 Any feedback, comments, etc from any of you would be greatly 
appreciated.
 
 Regards,
 
 Derrick
 
 
 
 
 
 
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may contain 
confidential, proprietary or legally privileged information, which is 
solely for the use of the intended recipient.  No privilege or other 
rights are waived by any unintended transmission or unauthorized 
retransmission of this message.  If you are not the intended 
recipient of this message, or if you have received it in error, you 
should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or 
other use of this message or its attachments by unintended recipients 
is unauthorized and may be unlawful.  If you have received this e-
mail in error, please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés 
destinés au seul usage du destinataire visé.  L'expéditeur original 
ne renonce à aucun privilège ou à aucun autre droit si le présent 
message a été transmis involontairement ou s'il est retransmis sans 
son autorisation.  Si vous n'êtes pas le destinataire visé du présent 
message ou si vous l'avez reçu par erreur, veuillez cesser 
immédiatement de le lire et le supprimer, ainsi que toutes ses pièces 
jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des 
personnes autres que le destinataire visé ne sont pas autorisés et 
pourraient être illégaux.  

RE: [flexcoders] Custom Component Updates...

2006-09-20 Thread Matt Chotin












So lets say what you currently have
is this:



[Bindable]

public var foo:Object;



You would change that to:



private var _foo:Object;



[Bindable(fooChanged)]

Public function get foo():Object

{

 Return _foo;

}



Public function set foo(f:Object):void

{

_foo =
f;


dispatchEvent(new Event(fooChanged));

}



Then you addEventListener(fooChanged,
your handler that calls refresh) and voila!

More details on the [bindable] tag are here: http://livedocs.macromedia.com/flex/2/docs/1653.html











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Ken Bromberger
Sent: Wednesday, September 20,
2006 12:06 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Custom
Component Updates...













Hi Matt,




Thanks for your response; basically I want the como box to listen for the change
to a bindable public variable I have set up. Then when that variable is changed
from outside the component, from another combo or datagrid etc I then
want the filterFunction to use that variable and update the array in the
component. It does sound like making the getter/setter and dispatching the
event is what I would want to do. I am pretty green with this; can you point me
to some resources that will get me going on this??

-Ken











From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Matt Chotin
Sent: Tuesday, September 19, 2006
11:40 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Custom
Component Updates...





What property is the combo box supposed to pay attention to.
Should you just be overriding a setter on the ComboBox so that youre
aware when the data changes? Or is this binding to the variable
thats used in the filterFunction that you want to do? Maybe rather
than making that variable [Bindable] on its own you should make it a
getter/setter and dispatch your own even that you can listen for.



Matt











From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Ken Bromberger
Sent: Tuesday, September 19, 2006
3:24 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Custom
Component Updates...













Hi All,




I have a custom component, a combo box that I have applied an ArrayCollection
filter to that accepts a variable to filter on. I am able to trigger and filter
the combo box externally but what I would like to do is have the combo box
listen for when its binding changes and then update the filter all
within the component. What would be the best practice for doing this?? I have
looked at ChangeWatcher and this does seem like it could work Does
anyone have suggestions or examples???



-Ken






















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






[flexcoders] Panel Rounded Bottom Corners

2006-09-20 Thread omkarjoe
Hi All,

I am trying to create a pannel which does not have rounded bottom 
corners. When I set roundedBottomCorners style of a panel to 'false', 
GOD knows why but it doesn't affect??? And interestingly if I switch 
to design mode it shows squarish corners but when I run my application 
they are rounded again Also If I attach a controlbar to my panel 
no matter what i set it will always show rounded corners at the 
bottom. Is there any way or workaround for this??? I also tried 
downloading Latest Flex installers but no effect.

Thanks in advance
Omkar






--
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] FDS Locally Compiled Remote Object does not work

2006-09-20 Thread vuleman
Hi,
When I select FDS Compile app on server for new Flex project, my 
remote object call works just fine.  However when i switch to Compile 
locally, all remote object calls failed.  The code is identical for 
both cases.
Is there some sort of manual configuration I need to set for this? I'm 
pointing the code in Flex Builder to Tomcat in both cases.

Many Thanks,
Vu





--
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: Help on a general way to serialize a model and its contents

2006-09-20 Thread greenfishinwater
Thanks for the reply, I actually like the Flex 1.5 methodology as it
fits in with what I want to do further down the line.

I am using Flex 2.0.

I have been using models to hold VO for database usage. But I am being
drawn to using XML instead of a Model, as I can make use of all the
XML methods, to inspect and manipulate my data. Is there any downside
to using XML instead of a Model.

So my example would be:

mx:XML id=product
product
  name{fName.text}/name
  code{fCode.text}/code
  discountGroup{fGroup.text}/discount
/product
/mx:XML

Thanks Andrew

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

 
 In Flex 1.5:
 
 for( var i in product ) {
   trace( i +  -  + product[i] );
 }
 
 In Flex 2.0:
 
 trace( dump:  + ObjectUtils.toString( product ) );
 
 Enjoy!
 
 Dimitrios Gianninas
 Optimal Payments Inc
 
 -Original Message-
 From: flexcoders@yahoogroups.com on behalf of greenfishinwater
 Sent: Tue 9/19/2006 3:46 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Help on a general way to serialize a model and
its contents
  
 I have a number of models in my app and as a debugging help have an
 alert fired by a button, which gives me the content of a model.
 
 For example
 mx:Model id=product
 product
   name{fName.text}/name
   code{fCode.text}/code
   discountGroup{fGroup.text}/discount
 /product
 /mx:Model
 
 Would give a string:
 name: value, code: value, discountGroup: value
 
 I do this the long way:
  m += name:  + product.name;
  m += , code:  + product.code;
  m += , discountGroup:  + discountGroup;
 
 Is there an easier way to achieve this?
 
 Thanks
 
 Andrew
 
 
 
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may contain
confidential, proprietary or legally privileged information, which is
solely for the use of the intended recipient.  No privilege or other
rights are waived by any unintended transmission or unauthorized
retransmission of this message.  If you are not the intended recipient
of this message, or if you have received it in error, you should
immediately stop reading this message and delete it and all
attachments from your system.  The reading, distribution, copying or
other use of this message or its attachments by unintended recipients
is unauthorized and may be unlawful.  If you have received this e-mail
in error, please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement privilégiés
destinés au seul usage du destinataire visé.  L'expéditeur original ne
renonce à aucun privilège ou à aucun autre droit si le présent message
a été transmis involontairement ou s'il est retransmis sans son
autorisation.  Si vous n'êtes pas le destinataire visé du présent
message ou si vous l'avez reçu par erreur, veuillez cesser
immédiatement de le lire et le supprimer, ainsi que toutes ses pièces
jointes, de votre système.  La lecture, la distribution, la copie ou
tout autre usage du présent message ou de ses pièces jointes par des
personnes autres que le destinataire visé ne sont pas autorisés et
pourraient être illégaux.  Si vous avez reçu ce courrier électronique
par erreur, veuillez en aviser l'expéditeur.








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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] Limit length of Webcam video recording

2006-09-20 Thread kristian_wright2002
I'm writing something that lets a user record streaming video from
their webcam onto Flash Comm Server.  However, I want to be able to
set a limit on the time that they can record for (eg 1 min max).

I've got the recording sorted out, but how would I go about imposing
this time restriction on the recording?  Also, is it possible to have
a timer bar on a live feed so they can see in real time how much
longer they have left to record?

Any help appreciated!

Cheers,
K.






--
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: Tree Component closing and opening item

2006-09-20 Thread Mick Robin
Thanks barry and Mike!

I have tried all the permutations and combinations it works fine 
without animation but when we set the animation true.It does not.

I agree with Mike,We really have to do some major changes on the 
Tree component to achive this.

Anyway,I wanted to achieve somthing like this.This is a AS2 
Component:

http://www.sephiroth.it/tutorials/flashPHP/custom_tree/index.php

regards,


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

 Hi,
 
 Actually, 'I think'... Having looked at the Tree code quite 
extensively, it
 is NOT possible.
 
 The reason being is the way the tween logic works in the Tree. 
When a tween
 is currently running, there cannot be any other tween going 
because there is
 only 1 instance of the tween in the whole tree. It would just 
theoretically
 reset the tween.
 
 Have a look a the method expanItem() and you will see a large 
block of logic
 that calculates opening rows etc.
 
 When thinking about it logically, it is impossible without major 
logic and
 really the way this Tree is made, I don't think it would ever be 
possible.
 
 The Tree is not like an Accordion that has 'specific' sectors. The 
tree is
 always dynamically created based on openItems.
 
 Peace, Mike
 
 On 9/18/06, barry.beattie [EMAIL PROTECTED] wrote:
 
no takers, Mick?
 
  this was one thing I wanted to look into before being 
sidetracked with
  some datagrids.
  at first I was thinking of keeping a register of what was opened 
so I
  knew what to close.
  then I was thinking of closing all before opening the selected 
one.
  these are just some rough thoughts in absence of anything better.
 
  it *must* be possible: the panels do it.
 
  cheers
  barry.b
 
   
 
 
 
 
 -- 
 What goes up, does come down.








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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] photo gallery example

2006-09-20 Thread b0b0bb0b
I've been looking at the photo gallery example from the adobe site, 
and i've a problem when I place the swf file onto a web server.

I've modified the code so that all the photos are loaded from a XML 
file and this allows me to do a search, so that anyone entering the 
site can load only a few photos at a time. Now everything works 100% 
of the time when I run it locally on my machine, but when I place the 
swf file onto the server it works sometimes and not others.

What happens (when its not working)is that once you do a search and 
it goes to thumbnail view it will load 3-6 thumbnail images and then 
stop. The message at the bottom of firefox says transfering data. The 
site remains frozen as far as getting more data back. you can 
naviagate around but you cant get any more pictures.

this does not happen all the time, sometimes it works, sometimes it 
doesn't! It does seem to work more often in firefox than in IE?? Is 
there any way to debug this as it works fine on my machine.

I've tried service capture but it only seems to list the calls going 
out when the site works, as I can see each call for each thumbnail or 
picture. But when not working and it loads say 3 thumbnails then 
stops, service capture doesn't list any calls, not even for the 3 
thumbnails that have come back. I've tried deleting all history and 
cache but makes no difference.

Sorry for being long winded here, but hopefully I've given enough 
info for someone to help. 
Thanks.






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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] Re: Setting new dataProvider and selectedIndex properties to HorizontalList simultaneously

2006-09-20 Thread Sergey Kovalyov
Hi All!

It seems that assigning new dataProvider with setting new
selectedIndex that equals previous selectedIndex value result in such
a problem. I resolved the issue with setting -1 to selectedIndex
before updating dataProvider and then setting its actual value. Are
there any more suitable solutions?

Thank you in advance!

Sergey.

On 9/19/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:
 Hi All!

 Unfortunately, setting new dataProvider and selectedIndex properties
 to HorizontalList simultaneously does not always result in actually
 selecting particular item. Sometimes the dataProvider changes, but
 nothing is selected. You could find the simple code sample below.
 What's wrong with it?

 Sergey.

 ?xml version=1.0?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
creationComplete=onCreationComplete()
horizontalAlign=center
verticalAlign=middle

mx:Script
![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;

private var _dataProviders : ArrayCollection = new 
 ArrayCollection();

[Bindable]
private var _dataProvider : ArrayCollection = new 
 ArrayCollection();

[Bindable]
private var _selectedIndex : int;

private function onCreationComplete() : void {
_dataProviders.addItem(new ArrayCollection([1, 
 2, 3]));
_dataProviders.addItem(new ArrayCollection([4, 
 5, 6]));
_dataProviders.addItem(new ArrayCollection([7, 
 8, 9, 10]));
}

private function onSelectButtonClick() : void {
_dataProvider = 
 _dataProviders[Math.floor(Math.random() *
 _dataProviders.length)];
_selectedIndex = Math.floor(Math.random() * 
 _dataProvider.length);
}

]]
/mx:Script

mx:HorizontalList id=horizontalList dataProvider={_dataProvider}
 selectedIndex={_selectedIndex}
mx:itemRenderer
mx:Component
mx:Box width=50 height=50
mx:Label text={data} /
/mx:Box
/mx:Component
/mx:itemRenderer
/mx:HorizontalList

mx:Button label=Select click=onSelectButtonClick() /

 /mx:Application



--
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: FDS and web service.

2006-09-20 Thread secolaha

It turns out that the error only occurs if I run it from within
FlexBuilder. The main difference beeing that the file is called as

  http://192.168.1.163/flex/bin/FilterBuilder.html

if I point the browser straight at the mxml file at 
  http://192.168.1.163/flex/FilterBuilder/FilterBuilder.mxml
it work like charm. I guess this is good news, but I would really like
to get this running through the Builder so I can debug etc.

Am i missing some setup in FlexBuilder?

 Hi again, Thanks for the link.
 I tried it and are now getting the following error.
 faultcode Client.error.MessgaeSend
 faultDetail: Unable to load WSDL. If currently online, please 
 verify the URI and/or format of the WSDL(null)
 
 the URI I supply works fine if I open it in a browser, so I suspect 
 that there  is somethng else missing in my setup. 
 After browsing  the archive I added a crossbrowser.xml file with 
 
 allow-access-from domain=* /
 
 as the content in the web-root. 
 
 Has anyone seen this before?
 
 regards,
 
 /Lars
 
  Try this:
  http://www.everythingflex.com/blog/1/2006/03/WebService-setup-for-
 FES.cfm







--
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] Record Animation to swf

2006-09-20 Thread Luis Arias



I have what I think is a unique issue and was looking for some thoughts.I've created a flex app which allows someone to create animations that can be viewed by playing the created animation(Basically a panel with a bunch of images inside it with get moved around with one big Parallel effect).
I was wondering whether or not it would be possible to export the entire animation in the panel to swf. Basically you createan animation, view it, once its fine hit the expot button and it will create a swf of the panel window.
Its not critical that it does this, as I can always make the app play 'animation files' (in the form of xml describing it all). But it wouldbe nice if it was possible to create this in flex.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Re: call function (how-to)

2006-09-20 Thread caruso_canepari
Hi, now I get three compiler errors:
the fact is that I'm trying to learn as3 by using Flex and the
presence of MXML is getting me crazy... Is there a way to compile swf
without mxml? 

On with the errors:

1047Parameter initializer unknown or is not a compile-time constant.

1180Call to a possibly undefined method

- The prefix mx for element mx:Application is not bound


The code used:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute creationComplete=drawer()
mx:Script
![CDATA[
import flash.display.*;
import flash.events.*;
import flash.ui.*;

public function drawer():void{
var mySprite:Sprite = new Sprite();
mySprite.graphics.beginFill(0xffcc00);
mySprite.graphics.drawCircle(30,30,30);
var lab:TextField = new TextField();
lab.text = hello;
lab.x = 300;
lab.y = 300;
mySprite.addChild(lab);
var wrapper:UIComponent = new UIComponent();
wrapper.addChild(mySprite);
addChild(wrapper);
}

]]
/mx:Script
/mx:Application







--
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] Architecting a large, modular Flex application

2006-09-20 Thread Dimitrios Gianninas

Now that I am back in the office, here is the full ant command we use to 
compile cairngorm and exclude all unneccesary libraries:

exec executable=${FLEX2_COMPC} 
dir=${BUILD} 
vmlauncher=false
failonerror=true
arg value=-load-config+=${basedir}/cairngorm2-config.xml/
arg value=-source-path=${SRC}/
arg 
value=-external-library-path+=${SDK_LIB}/playerglobal.swc,${SDK_LIB}/framework.swc,${SDK_LIB}/fds.swc/
arg value=-output=cairngorm.swc /
/exec 


Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Dimitrios Gianninas
Sent: Tuesday, September 19, 2006 6:26 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Architecting a large, modular Flex application

Hi,

I think you have setup things pretty much the same way I would. Although I have 
never gone that far... yet :)

One thing I did notice which you can change is that you said the entire flex 
framework gets included in the cairngorm.swc ... doesn't have to be. I build 
the carngorm.swc using the command-line compiler and made sure to exclude the 
framework.swc, this did reduce the size and is basically what I think you want 
to do. Don't remember the exact switch, will have to get that to you tomorrow 
once I'm back in the office.

Regards,

Dimitrios Gianninas
Optimal Payments Inc.


-Original Message-
From: flexcoders@yahoogroups.com on behalf of derrickgrigg
Sent: Tue 9/19/2006 11:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Architecting a large, modular Flex application
 
I just want to bounce this idea/concept off the larger Flex community to see if 
there are any holes or possibly better solutions.

I am currently working with a team of developers on a large, modular Flex 
application based on the Cairngorm framework. One issue that we are trying to 
get our heads around is creating the application in a modular fashion (ie 
seperate SWFs for application modules). Each module will only get loaded as 
needed by the main shell application in order to keep the overall size and 
memory use as small as possible. 

The big issue that we are running into is how to setup and develop the module 
flex projects in Flex Builder. We need to give the module projects access to 
the models, value objects etc (especially bindable
properties) that they need from the main application without having the actual 
application implemented version of those classes get compiled into the module 
swfs and causing problems when they get loaded into the main application. Our 
current thinking is that in order to allow the modules to have full access to 
the models, value objects, etc that have been defined in the main application 
we create Abstract versions of those classes and put them in a seperate flex 
library project which will get compiled as an SWC and get included into the 
seperate modules as a runtime shared library (RSL), basically an library of 
Abstract classes only (and maybe some Interfaces). The module projects will 
also include the Cairngorm.swc as an RSL in order to have access to the 
interfaces etc that are defined there and provide the neccessary hooks into the 
main application. 

The main application will have all of it's models, value objects etc extend the 
abstract classes that are defined in the Abstract RSL library. The main 
application will also use the cairngorm.swc as an RSL to ensure that the module 
swfs load properly when called upon (ie they won't throw a run time shared 
library error because they can't find the cairngorm.swc). This results in a 
download hit because the entire flex framework gets downloaded in the 
cairngorm.swc but we do not see any way around that.

Any feedback, comments, etc from any of you would be greatly appreciated.

Regards,

Derrick







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

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son 

[flexcoders] Converting Flash components to use in Flex

2006-09-20 Thread brownd_92
Hi there,
Does anyone know if there is a way to convert flash 8 components to 
use with Flex?

Cheers

David





--
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] Is there a better way than invisible colums

2006-09-20 Thread boy_trike
I have a datagrid which displays some information stored in an array 
collection.  I have some 
columns that I want displayed in text areas below the grid (large comments).  I 
coded this by 
having some of the columns in the grid set to visible=false and my change 
handler has 
lines that say:

textareaid.text = dg.selecteditem.columnname;

This seems like a very simple to handle this.
Is there any overhead with invisible columns in a datagrid?  
Is there a better way to do this?

Thanks
Bruce






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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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




[flexcoders] Configuring Destination for Remote Object

2006-09-20 Thread Madhuri Chamarty



hi,I have problems invoking the remote object. I have configured the remoting-config.xml file where i included the destination asdestination id="Loginchk" properties sourcecom/domain/Loginchk/source scopeapplication/scope /properties/destinationAnd in the service-config.xml i have given the amf channel defination like this:(i changed the uri to *   channels channel-definition id="my-amf"
 class="mx.messaging.channels.AMFChannel" endpoint uri="*" class="flex.messaging.endpoints.AMFEndpoint"/ properties polling-enabledfalse/polling-enabled /properties /channel-definition  Now the error that this showz is that :  "error Requested resource flex\Emergent\* not found"  Help me plzz!!!Madhuri 
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Data Binding Question - will both work?

2006-09-20 Thread nwebb



Thanks Matt :]Much appreciated.On 9/20/06, Matt Chotin [EMAIL PROTECTED] wrote:













  













I think we made that change between beta3
and release so if things are working for you now I believe you're set. But
your preferred choice is preferred by us too I think J




Matt











From: [EMAIL PROTECTED]
ups.com
[mailto:flexcoders@yahoogroups.com] On Behalf
Of nwebb
Sent: Tuesday, September 19, 2006
8:59 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Data Binding
Question - will both work?











Hi, I've
just seen part of a Flex training video that I think is incorrect or outdated
(beta 3 was being used at the time)
I just want to double-check that this really is the case.

The video says that the code below would *not* take full advantage of data
binding (ie the data will initially appear in the DataGrid, but it will
not stay updated): 

mx:HTTPService id=heroesDataRequest url=""
/ 
mx:DataGrid dataProvider={heroesDataRequest.lastResult.superheroes.hero}
/

However, I read in the Flex 2 docs that an HTTPService request will, by deault
return an ArrayCollection (makeObjectsBindable is true by default), and I
am using the data binding syntax in the form of the curly braces. Furthermore,
in order to try and test, I used buttons to change the data in the HTTPService's
lastResult object, and the changes do always seem to be reflected in my
DataGrid: 

mx:HTTPService id=heroesDataRequest url=""
makeObjectsBindable=true / 
mx:DataGrid dataProvider={heroesDataRequest.lastResult.superheroes.hero
} /
mx:Button label=button 1 click=heroesDataRequest.lastResult.superheroes.hero[0].name
= 'AAA'; /
mx:Button label=button 2 click=heroesDataRequest.lastResult.superheroes.hero
[0].name = 'BBB'; /

The tutorial goes on to say that to make binding work properly I should use the
HTTPServices 'result' event handler, and assign the data to a bindable
ArrayCollection variable that I create - this is probably my preferred choice
anyway, but I am curious to know whether both ways are equally appropriate. 

Can I safely say that data binding is working fully in the first example, or
could there be scenarios in which it will not work but where the alternative
method would? If so, could someone enlighten me? I'm not yet confident of the
best way to check/debug this kind of thing myself. 

Cheers,
Neil 










  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Re: Embedding Arial Unicode

2006-09-20 Thread dadrobson
Daniel  Tobias:

I'm having the same issue. Did either of you file a bug report with
Adobe?  

Jim

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

 
 I had this exact same issue. I solved it by using the local(Arial 
 Unicode MS) and specifying a subset of unicode characters to embed. We 
 should report this.
 
 
 tobiaspatton wrote:
 
  Hello;
 
  I'm trying to embed a single font that can render Roman and non-
  Roman scripts. I think that Arial Unicode should be able to do this,
  so I'm trying to embed the font with the entry in my style sheet:
 
  @font-face
  {
  src: url( fonts/arialuni.ttf );
  fontStyle: normal;
  fontWeight: normal;
  fontFamily: embeddedVerdana;
  }
 
  But I get this error:
 
  exception during transcoding: Unexpected exception encountered while
  reading font
  file :/PerforceDepot/galiano/Galiano.Tobias_Patton/Client/DashboardJo
  bsView/fonts/arialuni.ttf'
 
 
  Any advice?
 
  Tobias.
 
 







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

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

* 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: Architecting a large, modular Flex application

2006-09-20 Thread derrickgrigg
The reason for creating the abstract base classes and placing them in
an RSL is so the modules (seperate swfs) can be developed and compiled
with strict data typing to particular value objects and models that
are retrieved from the ModelLocator which exists in the main shell
application.

The modules are basically completely independent swf files (built from
standalone flex projects) that the main shell application will only
load as the user requests them (ie click on a button to open a
particular tool, and that tool's swf will get loaded and displayed in
the main shell application). 

Hope that makes it more clear,

Derrick

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

 Hi.
 I don't see the reason to create abstract base classes for all value 
 objects, models etc. Can you explain one more time?
 Can you also describe how you create modules (flex app|flex library) 
 and how you load them (in main|separate|child app domain)?
 
 
 --- In flexcoders@yahoogroups.com, Dimitrios 
 Gianninas dimitrios.gianninas@ wrote:
 
  Hi,
  
  I think you have setup things pretty much the same way I would. 
 Although I have never gone that far... yet :)
  
  One thing I did notice which you can change is that you said the 
 entire flex framework gets included in the cairngorm.swc ... doesn't 
 have to be. I build the carngorm.swc using the command-line compiler 
 and made sure to exclude the framework.swc, this did reduce the size 
 and is basically what I think you want to do. Don't remember the 
 exact switch, will have to get that to you tomorrow once I'm back in 
 the office.
  
  Regards,
  
  Dimitrios Gianninas
  Optimal Payments Inc.
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com on behalf of derrickgrigg
  Sent: Tue 9/19/2006 11:23 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Architecting a large, modular Flex application
   
  I just want to bounce this idea/concept off the larger Flex 
 community
  to see if there are any holes or possibly better solutions.
  
  I am currently working with a team of developers on a large, modular
  Flex application based on the Cairngorm framework. One issue that we
  are trying to get our heads around is creating the application in a
  modular fashion (ie seperate SWFs for application modules). Each
  module will only get loaded as needed by the main shell application 
 in
  order to keep the overall size and memory use as small as possible. 
  
  The big issue that we are running into is how to setup and develop 
 the
  module flex projects in Flex Builder. We need to give the module
  projects access to the models, value objects etc (especially 
 bindable
  properties) that they need from the main application without having
  the actual application implemented version of those classes get
  compiled into the module swfs and causing problems when they get
  loaded into the main application. Our current thinking is that in
  order to allow the modules to have full access to the models, value
  objects, etc that have been defined in the main application we 
 create
  Abstract versions of those classes and put them in a seperate flex
  library project which will get compiled as an SWC and get included
  into the seperate modules as a runtime shared library (RSL), 
 basically
  an library of Abstract classes only (and maybe some Interfaces). The
  module projects will also include the Cairngorm.swc as an RSL in 
 order
  to have access to the interfaces etc that are defined there and
  provide the neccessary hooks into the main application. 
  
  The main application will have all of it's models, value objects etc
  extend the abstract classes that are defined in the Abstract RSL
  library. The main application will also use the cairngorm.swc as an
  RSL to ensure that the module swfs load properly when called upon 
 (ie
  they won't throw a run time shared library error because they can't
  find the cairngorm.swc). This results in a download hit because the
  entire flex framework gets downloaded in the cairngorm.swc but we do
  not see any way around that.
  
  Any feedback, comments, etc from any of you would be greatly 
 appreciated.
  
  Regards,
  
  Derrick
  
  
  
  
  
  
  
  -- 
  WARNING
  ---
  This electronic message and its attachments may contain 
 confidential, proprietary or legally privileged information, which is 
 solely for the use of the intended recipient.  No privilege or other 
 rights are waived by any unintended transmission or unauthorized 
 retransmission of this message.  If you are not the intended 
 recipient of this message, or if you have received it in error, you 
 should immediately stop reading this message and delete it and all 
 attachments from your system.  The reading, distribution, copying or 
 other use of this message or its attachments by unintended recipients 
 is unauthorized and may be unlawful.  If you have received this e-
 mail in error, please notify the 

[flexcoders] Re: AS3: List of dispatched events from any EventDispatcher in run-time

2006-09-20 Thread bjorn.schultheiss
I havent seen the event dispatcher code.
I assume it would use a hashtable style lookup,
1 solution could be to store the event types as static members.



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

 Hello ActionScripters,
 
 is it somehow possible in ActionScript 3.0 to retrieve the list of all
 events that any subclass of EventDispatcher dispatches?
 I need to add event listeners dynamically at run-time and would like to
 check if the event type is valid for given EventDispatcher.
 
 Thanks for comments..
 
 Tomas Lehuta
 lharp / http://lharp.net








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

2006-09-20 Thread dadrobson
Daniel:

How did you get Flex to embed a subset of the characters? I can't get
it to embed any part of Arial Unicode. The following code, for
example, throws the same error as embedding the entire font. What
method did you use?

@font-face {
src:url(fonts/ARIALUNI.TTF);
fontFamily:arialUnicode;
unicode-range:U+0020-U+0040; 
}

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

 
 I had this exact same issue. I solved it by using the local(Arial 
 Unicode MS) and specifying a subset of unicode characters to embed. We 
 should report this.
 






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

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

* 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: Architecting a large, modular Flex application

2006-09-20 Thread derrickgrigg
That's great Dimitrios, thanks.  One question, are you using that
command file in the flex 2 command line compiler or in ant?

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

 
 Now that I am back in the office, here is the full ant command we
use to compile cairngorm and exclude all unneccesary libraries:
 
 exec executable=${FLEX2_COMPC} 
   dir=${BUILD} 
   vmlauncher=false
   failonerror=true
   arg value=-load-config+=${basedir}/cairngorm2-config.xml/
   arg value=-source-path=${SRC}/
   arg
value=-external-library-path+=${SDK_LIB}/playerglobal.swc,${SDK_LIB}/framework.swc,${SDK_LIB}/fds.swc/
   arg value=-output=cairngorm.swc /
 /exec 
 
 
 Dimitrios Gianninas
 RIA Developer
 Optimal Payments Inc.
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Dimitrios Gianninas
 Sent: Tuesday, September 19, 2006 6:26 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Architecting a large, modular Flex application
 
 Hi,
 
 I think you have setup things pretty much the same way I would.
Although I have never gone that far... yet :)
 
 One thing I did notice which you can change is that you said the
entire flex framework gets included in the cairngorm.swc ... doesn't
have to be. I build the carngorm.swc using the command-line compiler
and made sure to exclude the framework.swc, this did reduce the size
and is basically what I think you want to do. Don't remember the exact
switch, will have to get that to you tomorrow once I'm back in the office.
 
 Regards,
 
 Dimitrios Gianninas
 Optimal Payments Inc.
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com on behalf of derrickgrigg
 Sent: Tue 9/19/2006 11:23 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Architecting a large, modular Flex application
  
 I just want to bounce this idea/concept off the larger Flex
community to see if there are any holes or possibly better solutions.
 
 I am currently working with a team of developers on a large, modular
Flex application based on the Cairngorm framework. One issue that we
are trying to get our heads around is creating the application in a
modular fashion (ie seperate SWFs for application modules). Each
module will only get loaded as needed by the main shell application in
order to keep the overall size and memory use as small as possible. 
 
 The big issue that we are running into is how to setup and develop
the module flex projects in Flex Builder. We need to give the module
projects access to the models, value objects etc (especially bindable
 properties) that they need from the main application without having
the actual application implemented version of those classes get
compiled into the module swfs and causing problems when they get
loaded into the main application. Our current thinking is that in
order to allow the modules to have full access to the models, value
objects, etc that have been defined in the main application we create
Abstract versions of those classes and put them in a seperate flex
library project which will get compiled as an SWC and get included
into the seperate modules as a runtime shared library (RSL), basically
an library of Abstract classes only (and maybe some Interfaces). The
module projects will also include the Cairngorm.swc as an RSL in order
to have access to the interfaces etc that are defined there and
provide the neccessary hooks into the main application. 
 
 The main application will have all of it's models, value objects etc
extend the abstract classes that are defined in the Abstract RSL
library. The main application will also use the cairngorm.swc as an
RSL to ensure that the module swfs load properly when called upon (ie
they won't throw a run time shared library error because they can't
find the cairngorm.swc). This results in a download hit because the
entire flex framework gets downloaded in the cairngorm.swc but we do
not see any way around that.
 
 Any feedback, comments, etc from any of you would be greatly
appreciated.
 
 Regards,
 
 Derrick
 
 
 
 
 
 
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may contain
confidential, proprietary or legally privileged information, which is
solely for the use of the intended recipient.  No privilege or other
rights are waived by any unintended transmission or unauthorized
retransmission of this message.  If you are not the intended recipient
of this message, or if you have received it in error, you should
immediately stop reading this message and delete it and all
attachments from your system.  The reading, distribution, copying or
other use of this message or its attachments by unintended recipients
is unauthorized and may be unlawful.  If you have received this e-mail
in error, please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement 

RE: [flexcoders] FDS Locally Compiled Remote Object does not work

2006-09-20 Thread Peter Watson












Hi Vu,



When you compile on the server, it
automatically knows how to resolve the context root for the FDS application



When you compile locally, you need to
provide the context root in the Flex Builder project compiler options



compiler.context-root
/flex (or /foo or whatever context you used when deploying the FDS app)





regards,

peter











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of vuleman
Sent: Wednesday, September 20,
2006 3:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS
Locally Compiled Remote Object does not work











Hi,
When I select FDS Compile app on server for new Flex project, my 
remote object call works just fine. However when i switch to Compile 
locally, all remote object calls failed. The code is identical for 
both cases.
Is there some sort of manual configuration I need to set for this? I'm 
pointing the code in Flex Builder to Tomcat in both cases.

Many Thanks,
Vu






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






Re: [flexcoders] Converting Flash components to use in Flex

2006-09-20 Thread Michael Schmalle



Hi,Not a chance. The validation algorithm shares similar patterns but, on a whole what you will have to do is 'abstract' what you know about your Flash 8 component and transfer logic into the flex framework.
1. Flash 8 is AS2, there is a huge difference, interfaces, formatting, namespace enforcement.2. None of the methods are the same.3. Flex components blow away flash with new design patterns that need to be tapped into.
If this question is regarding something not connected to the v2 framework, then it's basically like you are just creating a new component.This is coming from a Flash component dev and let me tell you, just sit down, sketch out what you like about your Flash 8 component, what it does, properties, API. Then, learn the Flex 2 API and it's components, REWRITE the component from SCRATCH.
This is truly friendly advice. I wasted weeks trying to transfer things into flex from flash. What you will eventually find is you lock yourself into how something 'should' work(from the Flash component days), then you completely limit yourself in creating the Flex component.
Just analyze, then rewrite it from scratch. Don't go down the road I did and waste precious time. ;-)Peace, MikeOn 9/20/06, brownd_92 
[EMAIL PROTECTED] wrote:












  



Hi there,
Does anyone know if there is a way to convert flash 8 components to 
use with Flex?

Cheers

David


  













-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Limit length of Webcam video recording

2006-09-20 Thread Abdul Qabiz



hmm.. you can achieve this either on server-side or client-side.You can probably start a timer once recording starts (after camera initializes and all) and keep track oftime spent so far. You can sync time progress-bar with that timer...Stop recording once, time spent is equal to allowed duration..
Both client-side and server-side ActionScript have setInterval (..) function. So its up to you where you want to do it..Makes sense?-abdulOn 9/20/06, 
kristian_wright2002 [EMAIL PROTECTED] wrote:













  



I'm writing something that lets a user record streaming video from
their webcam onto Flash Comm Server.  However, I want to be able to
set a limit on the time that they can record for (eg 1 min max).

I've got the recording sorted out, but how would I go about imposing
this time restriction on the recording?  Also, is it possible to have
a timer bar on a live feed so they can see in real time how much
longer they have left to record?

Any help appreciated!

Cheers,
K.


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



RE: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread Dimitrios Gianninas





That is the straight ant command. Search the docs in Flex 
Builder for "command line compiler" and it will give u more 
details.

Dimitrios 
Gianninas
RIA 
Developer
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
derrickgriggSent: Wednesday, September 20, 2006 9:22 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
Architecting a large, modular Flex application


That's great Dimitrios, thanks. One question, are you using thatcommand 
file in the flex 2 command line compiler or in ant?--- In [EMAIL PROTECTED]ups.com, 
"Dimitrios Gianninas"dimitrios.giannina[EMAIL PROTECTED] 
wrote:  Now that I am back in the office, here is the 
full ant command weuse to compile cairngorm and exclude all unneccesary 
libraries:  exec executable="${FLEX2_COMPC}" 
 dir="${BUILD}"  vmlauncher="false" 
failonerror="true" arg 
value="-load-config+=${basedir}/cairngorm2-config.xml"/ 
arg value="-source-path=${SRC}"/ 
argvalue="-external-library-path+=${SDK_LIB}/playerglobal.swc,${SDK_LIB}/framework.swc,${SDK_LIB}/fds.swc"/ 
arg value="-output=cairngorm.swc" / /exec 
   Dimitrios Gianninas RIA Developer 
Optimal Payments Inc.  -Original Message- From: 
[EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com]On 
Behalf Of Dimitrios Gianninas Sent: Tuesday, September 19, 2006 6:26 
PM To: [EMAIL PROTECTED]ups.com 
Subject: RE: [flexcoders] Architecting a large, modular Flex application 
 Hi,  I think you have setup things pretty much the same 
way I would.Although I have never gone that far... yet :)  
One thing I did notice which you can change is that you said theentire flex 
framework gets included in the cairngorm.swc ... doesn'thave to be. I build 
the carngorm.swc using the command-line compilerand made sure to exclude the 
framework.swc, this did reduce the sizeand is basically what I think you 
want to do. Don't remember the exactswitch, will have to get that to you 
tomorrow once I'm back in the office.  Regards,  
Dimitrios Gianninas Optimal Payments Inc.   
-Original Message- From: [EMAIL PROTECTED]ups.com 
on behalf of derrickgrigg Sent: Tue 9/19/2006 11:23 AM To: [EMAIL PROTECTED]ups.com 
Subject: [flexcoders] Architecting a large, modular Flex application 
 I just want to bounce this idea/concept off the larger 
Flexcommunity to see if there are any holes or possibly better 
solutions.  I am currently working with a team of developers on 
a large, modularFlex application based on the Cairngorm framework. One issue 
that weare trying to get our heads around is creating the application in 
amodular fashion (ie seperate SWFs for application modules). Eachmodule 
will only get loaded as needed by the main shell application inorder to keep 
the overall size and memory use as small as possible.   The big 
issue that we are running into is how to setup and developthe module flex 
projects in Flex Builder. We need to give the moduleprojects access to the 
models, value objects etc (especially bindable properties) that they 
need from the main application without havingthe actual application 
implemented version of those classes getcompiled into the module swfs and 
causing problems when they getloaded into the main application. Our current 
thinking is that inorder to allow the modules to have full access to the 
models, valueobjects, etc that have been defined in the main application we 
createAbstract versions of those classes and put them in a seperate 
flexlibrary project which will get compiled as an SWC and get 
includedinto the seperate modules as a runtime shared library (RSL), 
basicallyan library of Abstract classes only (and maybe some Interfaces). 
Themodule projects will also include the Cairngorm.swc as an RSL in 
orderto have access to the interfaces etc that are defined there 
andprovide the neccessary hooks into the main application.   
The main application will have all of it's models, value objects etcextend 
the abstract classes that are defined in the Abstract RSLlibrary. The main 
application will also use the cairngorm.swc as anRSL to ensure that the 
module swfs load properly when called upon (iethey won't throw a run time 
shared library error because they can'tfind the cairngorm.swc). This 
results in a download hit because theentire flex framework gets downloaded 
in the cairngorm.swc but we donot see any way around that.  
Any feedback, comments, etc from any of you would be 
greatlyappreciated.  Regards,  
Derrick
--  WARNING --- This electronic message and its 
attachments may containconfidential, proprietary or legally privileged 
information, which issolely for the use of the intended recipient. No 
privilege or otherrights are waived by any unintended transmission or 
unauthorizedretransmission of this message. If you are not the intended 
recipientof this message, or if you have received it in error, you 
shouldimmediately stop reading this message and delete it and 
allattachments from your 

[flexcoders] Re: Flex 2 courses in Ottawa

2006-09-20 Thread jenunderscore
Thanks very much! :) 

I look forward to diving-in head-first with Flex! I'll keep you
updated with my feedback on the courses!

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

 Hi Jen,
 
 Not sure if they are on this list, but we (Adobe) have about 300 people
 in Ottawa and a few of them are doing great things with Flex :)
 
 Hope the class is great, do report back to the list with feedback.
 
 -David 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of jenunderscore
 Sent: Tuesday, September 19, 2006 11:33 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex 2 courses in Ottawa
 
 Hey all, I'm new to the list and thought I would take thise opportunity
 to introduce myself to the group. 
 
 If there are any other people here from the Ottawa region, I will be
 attending courses by the New Toronto Group, next week. If you are also
 attending, feel free to introduce yourselves!
 
 Take care,
 Jen
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links








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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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




[flexcoders] Re: call function (how-to)

2006-09-20 Thread Bela Hajzer
--- In flexcoders@yahoogroups.com, caruso_canepari 
[EMAIL PROTECTED] wrote:

 Hi, now I get three compiler errors:
 the fact is that I'm trying to learn as3 by using Flex and the
 presence of MXML is getting me crazy... Is there a way to compile 
swf
 without mxml? 
 
 On with the errors:
 
 1047  Parameter initializer unknown or is not a compile-time 
constant.
 
 1180  Call to a possibly undefined method
 
 - The prefix mx for element mx:Application is not bound
 
 
 The code used:
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute creationComplete=drawer()
   mx:Script
   ![CDATA[
   import flash.display.*;
   import flash.events.*;
   import flash.ui.*;
   
   public function drawer():void{
   var mySprite:Sprite = new Sprite();
   mySprite.graphics.beginFill(0xffcc00);
   mySprite.graphics.drawCircle(30,30,30);
   var lab:TextField = new TextField();
   lab.text = hello;
   lab.x = 300;
   lab.y = 300;
   mySprite.addChild(lab);
 var wrapper:UIComponent = new UIComponent();
 wrapper.addChild(mySprite);
 addChild(wrapper);
   }
   
   ]]
 /mx:Script
 /mx:Application

Just do not get crazy pls, what about this:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute creationComplete=drawer()
mx:Script
![CDATA[
import flash.display.*;
import flash.events.*;
import flash.ui.*;
import mx.core.UIComponent;

public function drawer():void{
var mySprite:Sprite = new Sprite();
mySprite.graphics.beginFill(0xffcc00);
mySprite.graphics.drawCircle(30,30,30);
var lab:TextField = new TextField();
lab.text = hello;
lab.x = 300;
lab.y = 300;
mySprite.addChild(lab);
var wrapper:UIComponent = new UIComponent();
wrapper.addChild(mySprite);
addChild(wrapper);
}

]]
/mx:Script
mx:Canvas
/mx:Canvas
/mx:Application






--
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] ComboBox Data Refresh Events

2006-09-20 Thread Jamie O
I remember googling somewhere that when you programatically change
combo box data it doesn't trigger the change event. You had to force
an event to fire or on that event call your function or something?

I've built a component that calls an XML source. One combobox
(cmbStreet) is a normal dataprovider list, the second (cmbNumber) uses
the selection from cmbStreet to find the specific node in the XML and
populate based on the relevant attributes.

That part of the code is working, except that I can't seem to clean
all the entries from the array or dropdown list and the function won't
execute on first load. I've tried it in creationComplete but I don't
think the data is loaded to find results at that point.

mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=375
height=40 borderStyle=solid borderThickness=0
creationComplete=UpdateList()
mx:Script
![CDATA[
import mx.controls.List;
[Bindable]
public var xmldpPC:XML;

[Bindable]
private var NumberList:Array = new Array();

private function UpdateList():void {
var xmldpStreet:XML;
xmldpStreet = new XML(xmldpPC.Municipality.Streets.Street.(@Name ==
cmbStreet.selectedLabel));

//I think more better stuff has to happen here.
NumberList.length = 0;
cmbNumber.selectedIndex = 0;

for each (var StreetValue:XML in xmldpStreet.Number) {
NumberList.push([EMAIL PROTECTED]());
}
}

]]
/mx:Script

mx:ComboBox x=3 y=12 id=cmbNumber width=75
dataProvider={NumberList}/mx:ComboBox

mx:ComboBox x=85 y=12 id=cmbStreet width=200
dataProvider=[EMAIL PROTECTED]
change=UpdateList()/

/mx:Canvas






--
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] Using SpringBeanAdapter instead of FDS

2006-09-20 Thread dreuimar
Hey everyone,

I'm currently constructing an application that uses DataServices with
the Hibernate Assembler. I wanted to make the business logic
independent of the view (Flex) so that another application I write
with a web frontend (using Spring MVC) can use the same logic that
Flex uses. I was going to do this using Remote Objects with the
SpringBeanAdapter, but I'm worried about losing the ability for data
pushing, managed classes, etc. Can I still maintain many of the
options I had with FDS using the SpringBeanAdapter?

Brennan






--
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: Example: Creating and using custom tooltips

2006-09-20 Thread Tom Fitzpatrick
Thanks, Nick. I think that would work.

I realized, though, that a better way would be to always anchor the 
custom tooltip in the same x and y position relative to the tooltip 
target. That way it will stay out of the way of the pie chart.

I'm trying to figure that out now.

- Tom

n51red wrote:

 Hi Tom,

 I'm not sure exactly what effect you're referring to as battle of
 the tooltips, but if you do need to disable a tooltip for a short
 time you can do so by setting the components toolTip attribute to the
 empty string (). UIComponents throw a number of events as tooltips
 are shown and hidden, but I think toolTipStart and toolTipEnd are the
 most relevant here.

 So, in the toolTipStart event handler of the pie chart you would set
 the parent components toolTip attribute to  (empty string), and in
 the toolTipEnd event handler you'd change it back to   (single
 space) or whatever value you're using.

 Does that help at all?
 Nick

 --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com, Tom Fitzpatrick [EMAIL PROTECTED] 
 wrote:
 
  Nick -
 
  Great example!
 
  One question. I've used your example to implement a custom tooltip
 on a
  component that also contains a pie chart. The pie chart has a
 tooltip as
  well.
 
  Is there any way to temporarily disable to component's overall
 tooltip
  while the pie chart tooltip is displaying - thereby avoiding the
 dreaded
  battle of the tooltips.
 
  - Tom
 
 
  n51red wrote:
  
   Hello,
  
   Somebody asked me to provide an example of how to use arbirary
   components as tool tips. So here goes:
  
   Notes
   -
  
   For a component to be used as a tooltip it must implement the
 IToolTip
   interface. I've used a base class (CustomToolTip) for the custom
   tooltips in this example that takes care of implementing the
 interface,
   and a few other things as documented within the code.
  
   Just like when using standard tooltips, you need to set the
 toolTip
   property of a component for a tooltip to be displayed for it.
 This is
   true even if you don't actually use the value in your tooltip
   component. That's why I set the toolTip variables to   in the
 example.
  
   When a tooltip is to be displayed for a component, that component
 fires
   a toolTipCreate event. To use your custom tooltip component you
 need to
   intercept this event and set its toolTip property to an instance
 of
   your custom tooltip component.
  
   The main application code
   -
  
   ?xml version=1.0 encoding=utf-8?
   mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
 http://www.adobe.com/2006/mxml
   http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml
   verticalGap=20
   mx:Script
   ![CDATA[
   import mx.events.*;
   import CustomToolTips.*;
   ]]
   /mx:Script
   mx:Label text=Component1 id=Component1 toolTip= 
   toolTipCreate=event.toolTip=new Component1ToolTip();/
   mx:Button label=Component2 id=Component2 toolTip= 
   toolTipCreate=event.toolTip=new Component2ToolTip();/
   /mx:Application
  
   A base class for components to be used as tooltips
   --
  
   package CustomToolTips
   {
   import mx.core.*;
   import mx.containers.*;
  
   public class CustomToolTip extends VBox implements IToolTip
   {
   public function CustomToolTip()
   {
   // Make the ToolTip invisible to the mouse so
   that it doesn't
   // interfere with the ToolTipManager's mouse-
   tracking.
   mouseEnabled = false;
   mouseChildren=false;
  
   //Add padding to prevent the component from
   //touching the sides of the application, which
   //looks untidy
   setStyle(paddingBottom, 10);
   setStyle(paddingRight, 10);
   }
  
   //IToolTip functions - unused in this case
   public function get text():String { return null; }
   public function set text(value:String):void {}
   }
   }
  
   A couple of custom tooltips extending the above class
   -
  
   ?xml version=1.0 encoding=utf-8?
   ctt:CustomToolTip xmlns:mx=http://www.adobe.com/2006/mxml 
 http://www.adobe.com/2006/mxml
   http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml
   xmlns:ctt=CustomToolTips.*
   width=150
   backgroundColor=#FF dropShadowEnabled=true
   borderColor=black borderThickness=1 borderStyle=solid
   mx:Label text=Custom Tooltip 1 fontSize=14
   fontWeight=bold/
   mx:Text text=This is the custom tooltip for component 1
   width=100%/
   /ctt:CustomToolTip
  
   ?xml version=1.0 encoding=utf-8?
   ctt:CustomToolTip xmlns:mx=http://www.adobe.com/2006/mxml 
 http://www.adobe.com/2006/mxml
   http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml
   xmlns:ctt=CustomToolTips.*
   width=225
   backgroundColor=white dropShadowEnabled=true
   borderColor=black borderThickness=1 borderStyle=solid
   mx:Label text=Custom Tooltip 2 fontSize=14
   fontWeight=bold color=blue/
   mx:Text text=This is the custom tooltip for component 2
   

Re: [flexcoders] FP 9 Sandbox Bug Between Firefox and IE?

2006-09-20 Thread Dave Carabetta
On 9/20/06, Matt Chotin [EMAIL PROTECTED] wrote:

 I think this is a known issue.  The viewSource SWF itself was probably not 
 re-published with the network settings so even though the first SWF comes up 
 correctly our view source logic is pre-compiled to use the network.  I'll 
 forward this in to be sure.



Hi Matt. A couple of questions:

1) What's the correct behavior supposed to be? Is Firefox or IE acting
correctly?

2) If Firefox is acting correctly, isn't that a pretty large security
hole in IE because I don't even need to put the -use-network=false
compiler flag in for it to execute my code? It just seems like this is
a bit more than a known issue and it should be fixed up and an
updated player released ASAP, no? I certainly don't want to yell
FIRE in a crowded room, but the Flash Player executing code outside
of the proper security sandbox is a pretty big deal, isn't it?

(OK, so it was more than a couple of questions.)

Regards,
Dave.


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

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

* 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] Stacked areachart with type=curve produce looped endpoints??!?!

2006-09-20 Thread Rickard Dahlstrand
Hi,

I'm getting a weird looking graph (the endpoints have loops in them)
when using type=stacked (in areagraph) and form=curve (in
AreaSeries) together. Can anyone give me any hint to why this is and if
there is a solution that allows me to use curve and stacked?

Rickard.

mx:Script
![CDATA[

import mx.collections.ArrayCollection;

[Bindable]
private var expensesAC:ArrayCollection = new ArrayCollection( [
{ Month: Jan, Profit: 2000, Expenses: 1500, Amount: 450 },
{ Month: Feb, Profit: 1000, Expenses: 200, Amount: 600 },
{ Month: Mar, Profit: 1500, Expenses: 500, Amount: 300 },
{ Month: Apr, Profit: 1800, Expenses: 1200, Amount: 900 },
{ Month: May, Profit: 2400, Expenses: 575, Amount: 500 } ]);
]]
/mx:Script

mx:Panel title=AreaChart Controls Example
height=100% width=100% layout=horizontal

mx:AreaChart id=Areachart height=100% width=45%
 paddingLeft=5 paddingRight=5
 showDataTips=true dataProvider={expensesAC}
 type=stacked

mx:horizontalAxis
mx:CategoryAxis categoryField=Month/
/mx:horizontalAxis

mx:series
mx:AreaSeries yField=Profit form=curve
displayName=Profit/
mx:AreaSeries yField=Expenses form=curve
displayName=Expenses/
mx:AreaSeries yField=Amount form=curve
displayName=Amount/
/mx:series
/mx:AreaChart
   
/mx:Panel


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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] Flex swf caching

2006-09-20 Thread Jonas Windey










Hi,



What is the best way to ensure that, when uploading a new
version of our project to the server, the client gets a new version of the swf
file the next time he refreshes his browser?

To ensure that you have the latest version, we have to say
that they should clear their browsers cache and refresh, but were
looking for a cleaner way to solve this. 

I was thinking in terms of a build version in flex, that
gets appended to the swf, so main.swf?build=3129 , to ensure the client has the
newest version. 



Thanks




 
  
  
  
  
  Jonas Windey
  Web Developer
  T. +32 3 216 86 47
  
  Pixco Interactive Division
  T. +32 3 216 86 40
  F. +32 3 216 86 49
  
  http://www.pixco.com
  
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___





Re: [flexcoders] Re: Embedding Arial Unicode

2006-09-20 Thread Daniel Wabyick

I filed a lot of bugs recently, and I can't remember if I filed this 
one. Probably wouldn't hurt to file this one again.


dadrobson wrote:

 Daniel  Tobias:

 I'm having the same issue. Did either of you file a bug report with
 Adobe?

 Jim

 --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com, Daniel Wabyick [EMAIL PROTECTED] 
 wrote:
 
 
  I had this exact same issue. I solved it by using the local(Arial
  Unicode MS) and specifying a subset of unicode characters to embed. We
  should report this.
 
 
  tobiaspatton wrote:
  
   Hello;
  
   I'm trying to embed a single font that can render Roman and non-
   Roman scripts. I think that Arial Unicode should be able to do this,
   so I'm trying to embed the font with the entry in my style sheet:
  
   @font-face
   {
   src: url( fonts/arialuni.ttf );
   fontStyle: normal;
   fontWeight: normal;
   fontFamily: embeddedVerdana;
   }
  
   But I get this error:
  
   exception during transcoding: Unexpected exception encountered while
   reading font
   file :/PerforceDepot/galiano/Galiano.Tobias_Patton/Client/DashboardJo
   bsView/fonts/arialuni.ttf'
  
  
   Any advice?
  
   Tobias.
  
  
 

  



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

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

* 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: Limit length of Webcam video recording

2006-09-20 Thread kristian_wright2002
Thanks Abdul.

Was looking into that as your answer came up!  Works a treat!

Cheers,
K.





--
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: using an OCX with Flex

2006-09-20 Thread boy_trike
Thanks for the reply.  Since I will be using Coldfusion for my database access, 
is it possible to  
access an OCX from within CF?. 

Bruce 





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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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





Re: [flexcoders] Re: Embedding Arial Unicode

2006-09-20 Thread Daniel Wabyick
Here is how I got it to work:

@font-face {
src: local(Arial Unicode MS);
unicode-range: Basic Latin;
fontFamily: ArialUnicodeEN;
fontWeight: Bold;
}


@font-face {
src: local(Arial Unicode MS);
unicode-range: Japanese (All);   
fontFamily: ArialUnicodeJP;
}


You will need to read up on how to define unicode ranges in your 
flex-config.xml file, and pass that in as a compiler argument. There is 
another outlying bug with specifying the unicode-range directly in CSS 
that doesn't allow you to copy-and-paste the ranges from the 
flash-unicode-config.xml.  (I did file that one.)

Note - I just checked and I never received confirmation on embedding 
Arial Unicode MS via the src: syntax. Let me know if you file it.


Thanks,
-D




dadrobson wrote:

 Daniel:

 How did you get Flex to embed a subset of the characters? I can't get
 it to embed any part of Arial Unicode. The following code, for
 example, throws the same error as embedding the entire font. What
 method did you use?

 @font-face {
 src:url(fonts/ARIALUNI.TTF);
 fontFamily:arialUnicode;
 unicode-range:U+0020-U+0040;
 }

 --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com, Daniel Wabyick [EMAIL PROTECTED] 
 wrote:
 
 
  I had this exact same issue. I solved it by using the local(Arial
  Unicode MS) and specifying a subset of unicode characters to embed. We
  should report this.
 

  



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

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

* 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] call function in _root file from custom component

2006-09-20 Thread bghoward3
i am trying to target functions that i write in the main mxml file or 
in seperate files from a custom component, this situation happens to 
be a menubar. i am hoping somone can help me better understand how to 
target a function correctly.

if it was flash i could write somthing like _root.showLinks() or 
_parent.showLinks. or even ./showLinks

thanks for any tips








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

2006-09-20 Thread dadrobson
After my initial post, I noticed something that makes me think that
this isn't Adobe's issue: Arial Unicode MS is a 22 MB font!

While all of the other fonts installed on my laptop are around 350k or
less, this one is 22 megs. I suspect that's the problem. And we
probably don't want to embed a 22 MB font in our apps, anyway!

-Jim








--
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] HTTPService content type = text/xml

2006-09-20 Thread greenfishinwater
I am using HTTPService to send data to a Rails system.

I have built a string with xml content such as:
usernameAndrew/namelocationLondon/location/user
and use the .send(mystring) to POST to rails.

When I have the content type for the HTTPService as application/xml,
I get errors in rails.

But when the content type is set to text/xml the program works.

Defining HTTPService in mxml does not allow content type of
text/xml. but if I set the content type in AS its OK. i.e.
  .contentType=text/xml

What is the difference between text/xml and application/xml.

Why does using text/xml in mxml give a compile error?

To make it even more confusing when I use mx:request to define my
data, it works with application/xml. Doesn't this request construct XML?

Thanks 
Andrew






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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[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: Embedding Arial Unicode

2006-09-20 Thread Daniel Wabyick

That's why you want to embed just a part of the Unicode range. ;-)

dadrobson wrote:

 After my initial post, I noticed something that makes me think that
 this isn't Adobe's issue: Arial Unicode MS is a 22 MB font!

 While all of the other fonts installed on my laptop are around 350k or
 less, this one is 22 megs. I suspect that's the problem. And we
 probably don't want to embed a 22 MB font in our apps, anyway!

 -Jim

  



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

2006-09-20 Thread s_hernandez01
Does anyone know how to set the currencyformatter with a dollar sign
and  two decimal places in a datagrid without it having no affect on
totaling all the items in the column?





--
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] Flex2 - unconverted Bindable metadata in class

2006-09-20 Thread thunderstumpgesatwork

Hi all,

I've  recently been getting this warning with some of my value object
classes.

For the value objects, I typically declare the entire class as
[Bindable], and then have getter/setter functions for properties. Is
this something that could cause the problem?  Am I required to
dispatch the event as I would be if the getter/setter was declared
[Bindable(event=blah)] ?

The only place in the framework source I found this string is in
'BinabilityInfo.as' line 209. I could not tell from a glance what was
going on... it was missing some metadata arg length or something... I
haven't dug into the framework source much.

Does anyone know what causes this warning?

Thanks,
Thunder





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

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

* 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] call function in _root file from custom component

2006-09-20 Thread Tracy Spratt












Use: Aplication.application.showLinks;



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bghoward3
Sent: Wednesday, September 20,
2006 10:45 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] call
function in _root file from custom component











i am trying to target functions that i write in the
main mxml file or 
in seperate files from a custom component, this situation happens to 
be a menubar. i am hoping somone can help me better understand how to 
target a function correctly.

if it was flash i could write somthing like _root.showLinks() or 
_parent.showLinks. or even ./showLinks

thanks for any tips






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






[flexcoders] example of a combo box in a grid

2006-09-20 Thread Clint Tredway
I need an example of using a combo box in a datagrid.. I have looked
around and cant find one..

-- 
diabetic? http://www.diabetesforums.com
Albert Einstein - It's not that I'm so smart, it's just that I stay
with problems longer.


--
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] master detail as seperate custom components

2006-09-20 Thread bghoward3
i have a page with master/detail info in the form of a grid and a 
tabbed box, i would like to keep them as 2 distinct components since i 
will reuse the tabbed box with a differnt grid in other states.

as my previous post mentioned i am in general struggling with 
targeting and cannot figure out how to get the tab box to respond to 
the content in the grid

if they are all in one custom component the grid is called masterList

the tabs fields i want to poulate then are tagged like this 

mx:TextArea width=400 
htmlText={masterList.selectedItem.strUserLastName}  height=19/

and they populate fine, i however want them to be seperated and when 
using the same call the correct text is not retrieved. i believe i 
have to back my path out of the tab component in and into the grid but 
not sure the right method

thanks






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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] Re: Example: Creating and using custom tooltips

2006-09-20 Thread n51red
Interesting.

One option is to set the x and y attribes of the tooltips in the 
toolTipShown event handler of the relevant component. The event handler 
might look like:

event.toolTip.x = xPos;
event.toolTip.y = yPos;

Could you let me know what you come up with?

Thanks,
Nick

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

 Thanks, Nick. I think that would work.
 
 I realized, though, that a better way would be to always anchor the 
 custom tooltip in the same x and y position relative to the tooltip 
 target. That way it will stay out of the way of the pie chart.
 
 I'm trying to figure that out now.
 
 - Tom
 








--
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: Converting Flash components to use in Flex

2006-09-20 Thread brownd_92
Hi Mike,
thanks for the honest answer even though its not what I wanted to 
hear :-).
Ill have to lock myself away for a while to get to grips with it

Cheers

David

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

 Hi,
 
 Not a chance. The validation algorithm shares similar patterns 
but, on a
 whole what you will have to do is 'abstract' what you know about 
your Flash
 8 component and transfer logic into the flex framework.
 
 1. Flash 8 is AS2, there is a huge difference, interfaces, 
formatting,
 namespace enforcement.
 2. None of the methods are the same.
 3. Flex components blow away flash with new design patterns that 
need to be
 tapped into.
 
 If this question is regarding something not connected to the v2 
framework,
 then it's basically like you are just creating a new component.
 
 This is coming from a Flash component dev and let me tell you, 
just sit
 down, sketch out what you like about your Flash 8 component, what 
it does,
 properties, API. Then, learn the Flex 2 API and it's components, 
REWRITE the
 component from SCRATCH.
 
 This is truly friendly advice. I wasted weeks trying to transfer 
things into
 flex from flash. What you will eventually find is you lock 
yourself into how
 something 'should' work(from the Flash component days), then you 
completely
 limit yourself in creating the Flex component.
 
 Just analyze, then rewrite it from scratch. Don't go down the road 
I did and
 waste precious time. ;-)
 
 Peace, Mike
 
 On 9/20/06, brownd_92 [EMAIL PROTECTED] wrote:
 
Hi there,
  Does anyone know if there is a way to convert flash 8 components 
to
  use with Flex?
 
  Cheers
 
  David
 
   
 
 
 
 
 -- 
 What goes up, does come down.








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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] Re: ComboBox Data Refresh Events

2006-09-20 Thread Jamie O
I temporarily have found the answer of using the valueCommit event
instead of change event as the trigger to update the second comboBox
as it fires on both programmatic and user driven events.

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

 I remember googling somewhere that when you programatically change
 combo box data it doesn't trigger the change event. You had to force
 an event to fire or on that event call your function or something?
 
 I've built a component that calls an XML source. One combobox
 (cmbStreet) is a normal dataprovider list, the second (cmbNumber) uses
 the selection from cmbStreet to find the specific node in the XML and
 populate based on the relevant attributes.
 
 That part of the code is working, except that I can't seem to clean
 all the entries from the array or dropdown list and the function won't
 execute on first load. I've tried it in creationComplete but I don't
 think the data is loaded to find results at that point.
 
 mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=375
 height=40 borderStyle=solid borderThickness=0
 creationComplete=UpdateList()
 mx:Script
 ![CDATA[
   import mx.controls.List;
   [Bindable]
   public var xmldpPC:XML;
   
   [Bindable]
   private var NumberList:Array = new Array();
   
   private function UpdateList():void {
   var xmldpStreet:XML;
   xmldpStreet = new XML(xmldpPC.Municipality.Streets.Street.(@Name ==
 cmbStreet.selectedLabel));
 
 //I think more better stuff has to happen here.
   NumberList.length = 0;
   cmbNumber.selectedIndex = 0;
 
   for each (var StreetValue:XML in xmldpStreet.Number) {
   NumberList.push([EMAIL PROTECTED]());
   }
   }
   
   ]]
   /mx:Script
 
 mx:ComboBox x=3 y=12 id=cmbNumber width=75
 dataProvider={NumberList}/mx:ComboBox
 
 mx:ComboBox x=85 y=12 id=cmbStreet width=200
 dataProvider=[EMAIL PROTECTED]
 change=UpdateList()/
 
 /mx:Canvas







--
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: export to excel

2006-09-20 Thread Anatole Tartakovsky



Tom,
The answers inline
- 
Is there a way to create an Excel file on the client using flex ?
After you create Excel. you would not be able to save it as Flex can't write to the file system (Apollo will change that) so your options on client are limited to SWC, Excel with embedded flash or other type of interprocess communications. The book chapter shows also clipboard, but basically no access to the file system means either second app or roundtrip to server.


- 
If not, the only way to support IE AND firefox is by using a getData button in an empty Excel ?
getData button can also load and open blank Excel so user interaction is minimal

- 
If you do it server side, it would do it with a .net webservice that gets some params, retrieves the data, creates a new Excel file and pushes it to the flex app user.

Not sure of a question. but you would essentially post all the data as XML/HTML to servlet/.net page that would set mime type and return it to the client to be opened as a popup window.

- 
What about layout possibilities ?
Limitless


Hope this helps,
Anatole

On 9/20/06, Tom Van Haver [EMAIL PROTECTED] wrote:




Anatole,

As you are the only one that answered, i turn to you.

- 
Is there a way to create an Excel file on the client using flex ?
- 
If not, the only way to support IE AND firefox is by using a getData button in an empty Excel ?
- 
If you do it server side, it would do it with a .net webservice that gets some params, retrieves the data, creates a new Excel file and pushes it to the flex app user.

- 
What about layout possibilities ?


Thanks alot, Tom.


Kind regards,
Tom Van Haver, Web Developer


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] ArrayCollection returns object Object

2006-09-20 Thread jnewport
I was wondering if someone can help me (preference) or point me to a
tutorial on xml and data structures that are not hardcoded.

I am using an HttpService to retreive xml and I can get result, but
when I use it to populate a List I get object Object.  All livedocs
and info tells you how to use arrays, arraycollections, and xml when
the xml is hardcoded in the app.

Here is my file and xml.

FILE
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*
paddingTop=3
creationComplete=initApp()
pageTitle=Dashboard

mx:Style source=OSX.css/

mx:Script
![CDATA[
 import mx.rpc.events.ResultEvent;
 import mx.collections.ArrayCollection;
 import mx.rpc.*;
 import mx.charts.*;


[Bindable]
 public var slicedMonthData:ArrayCollection;

[Bindable]
 public var slicedRegionData:ArrayCollection;

[Bindable]
 public var JasonsAC:ArrayCollection;

 private var monthData:Array;
 private var regionData:Array;

 private function initApp():void
 {
 srv.send();
 slicedMonthData = new ArrayCollection();
 slicedRegionData = new ArrayCollection();
 }


private function resultHandler(event:ResultEvent):void
{
monthData = event.result.list.month.source as Array;
slider.maximum = monthData.length - 1;
slider.values = [0, monthData.length - 1];
slicedMonthData.source = monthData;
JasonsAC = new ArrayCollection(slicedMonthData.source);
//regionBreakdown.month = monthData[0];//

}

private function getSliderLabel(value:String):String
{
return monthData[parseInt(value)].name;
}



private function rangeChange():void
{
if (monthData != null)
slicedMonthData.source =
monthData.slice(slider.values[0], slider.values[1] + 1);
if (regionData != null)
slicedRegionData.source = 
regionData.slice(slider.values[0],
slider.values[1] + 1);
}


   
]]
/mx:Script

mx:HTTPService id=srv url=results.xml useProxy=false
result=resultHandler(event)/ 
mx:Model id=dataSet/mx:Model



mx:ApplicationControlBar width=100% height=37
mx:Spacer width=2/
mx:Label text=Dashboard:/
mx:ComboBox width=150
mx:dataProvider
mx:Array
mx:StringRevenue Timeline/mx:String
mx:StringKWH Timeline/mx:String
mx:StringMember Timeline/mx:String
/mx:Array
/mx:dataProvider
/mx:ComboBox
mx:Spacer width=10/
mx:Label text=Select Period:/
mx:HSlider id=slider width=180 thumbCount=2
snapInterval=1 minimum=0 dataTipPlacement=bottom
dataTipFormatFunction=getSliderLabel
change=rangeChange()/
/mx:ApplicationControlBar

mx:HDividedBox width=100% height=100%
mx:HBox width=60% height=100% 

 mx:Panel id=DistrictList title=District List width=25%
height=100%
mx:List id=districtList dataProvider={JasonsAC} width=110
height=100% allowMultipleSelection=true dragEnabled=true/
 /mx:Panel
 
 mx:Panel id=ComparePanel title=District Comparison
width=75% height=100% /
/mx:HBox

mx:VDividedBox width=40% height=100%
mx:Panel id=MonthlyTotal title=Monthly Total width=100%
height=100% /
mx:Panel id=CycelTotals title=Cycle Totals width=100%
height=100% /
/mx:VDividedBox
/mx:HDividedBox


/mx:Application


XML
list

month name=Jan-04 revenue=400263 average=80052
region name=APAC revenue=46130/
region name=Europe revenue=106976/
region name=Japan revenue=79554/
region name=Latin America revenue=39252/
region name=North America revenue=128351/
/month

month name=Feb-04 revenue=379145 average=75829
region name=APAC revenue=70324/
region name=Europe revenue=88912/
region name=Japan revenue=69677/
region name=Latin America revenue=59428/
region name=North America revenue=90804/
/month

month name=Mar-04 

Re: [flexcoders] currencyformatter

2006-09-20 Thread Anatole Tartakovsky



use LabelFunction
On 9/20/06, s_hernandez01 [EMAIL PROTECTED] wrote:






Does anyone know how to set the currencyformatter with a dollar signand two decimal places in a datagrid without it having no affect ontotaling all the items in the column?
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



RE: [flexcoders] Why are is the Component loader no longer caching objects?

2006-09-20 Thread Dan Diodati





Does anyone know how to fix this?

I noticed that someone else had the problem 
too.
From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Antoine 
MalpelSent: Thursday, August 24, 2006 7:20 AMTo: Mailing 
List FlexCodersSubject: [flexcoders] 1.5 : components can't be cached 
??



Dan



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dan 
DiodatiSent: Tuesday, September 19, 2006 1:50 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Why are is the 
Component loader no longer caching objects?



All of a sudden our 
flex objects are not getting cached when the swf is loaded:
13:46:41,519 INFO [STDOUT] 09/19 13:46:41 INFO Cached 
Component Loader: component 
com.sf.sfv4.view.sharkfin.form.SelectReview cannot be 
cached.13:46:41,597 INFO [STDOUT] 09/19 13:46:41 INFO Cached Component 
Loader: component 
com.sf.sfv4.view.sharkfin.note.EditNoteViewHelper cannot be 
cached.13:46:41,660 INFO [STDOUT] 09/19 13:46:41 INFO Cached Component 
Loader: component 
com.sf.sfv4.view.sharkfin.form.goals.RateGoalsPanelViewHelper 
cannot be cached.13:46:41,738 INFO [STDOUT] 09/19 13:46:41 INFO 
Cached Component Loader: component 
com.sf.sfv4.view.sharkfin.form.SelectReviewViewHelper cannot be 
cached.13:46:42,347 INFO [STDOUT] 09/19 13:46:42 DEBUG Mxml Base 
Servlet: keep generated SWFs = true

What causing these 
classes to not be cached?
I could not find out 
any info on the component loader and cache settings.

Dan

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Re: Embedding Arial Unicode

2006-09-20 Thread dadrobson
Daniel:

That did the trick! Since I'm compiling locally, I had to set the
compiler argument in Flex Builder, like so:

-language-range specialCharacters
U+0020-U+007E,U+00B2-U+00B9,U+2070-U+2089

Then I was able to use the following in my CSS:

@font-face {
src: local(Arial Unicode MS);
unicode-range: specialCharacters;
fontFamily: arialStandard;
fontWeight: normal;
}

Thanks again!
-Jim





--
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: ComboBox Data Refresh Events

2006-09-20 Thread laidezmon
I am not sure I understand specifically what you are trying to
accomplish, but you could try the dataChange attribute on the combobox
according to the guide, thats the part you tell the combo box to fire
an event when the data has changed. I guess symantically its a little
different than the change event. 

Give that a go. 

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

 I remember googling somewhere that when you programatically change
 combo box data it doesn't trigger the change event. You had to force
 an event to fire or on that event call your function or something?
 
 I've built a component that calls an XML source. One combobox
 (cmbStreet) is a normal dataprovider list, the second (cmbNumber) uses
 the selection from cmbStreet to find the specific node in the XML and
 populate based on the relevant attributes.
 
 That part of the code is working, except that I can't seem to clean
 all the entries from the array or dropdown list and the function won't
 execute on first load. I've tried it in creationComplete but I don't
 think the data is loaded to find results at that point.
 
 mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=375
 height=40 borderStyle=solid borderThickness=0
 creationComplete=UpdateList()
 mx:Script
 ![CDATA[
   import mx.controls.List;
   [Bindable]
   public var xmldpPC:XML;
   
   [Bindable]
   private var NumberList:Array = new Array();
   
   private function UpdateList():void {
   var xmldpStreet:XML;
   xmldpStreet = new XML(xmldpPC.Municipality.Streets.Street.(@Name ==
 cmbStreet.selectedLabel));
 
 //I think more better stuff has to happen here.
   NumberList.length = 0;
   cmbNumber.selectedIndex = 0;
 
   for each (var StreetValue:XML in xmldpStreet.Number) {
   NumberList.push([EMAIL PROTECTED]());
   }
   }
   
   ]]
   /mx:Script
 
 mx:ComboBox x=3 y=12 id=cmbNumber width=75
 dataProvider={NumberList}/mx:ComboBox
 
 mx:ComboBox x=85 y=12 id=cmbStreet width=200
 dataProvider=[EMAIL PROTECTED]
 change=UpdateList()/
 
 /mx:Canvas








--
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: example of a combo box in a grid

2006-09-20 Thread laidezmon
Well rather than try to email the MXML file to you, I am just gonna
copy and paste the code here. Its all in one file, but you can break
it up if you like into your own components. I developed this to demo
the ability to have individual records with combo box attributes that
are interdependant. Try it out.

App begins below:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:Script
![CDATA[

[Bindable]
public var opt1Items: Array = [ 
{label:Select One, data:0},
{label:Canned Goods, data:1},
{label:Fresh Fruit, data:2}, 
{label:Meat, data:3} ];

public var CGASubItems: Array = [ 
{label:Canned Goods A opt 1, data:1},
{label:Canned Goods A opt 2, data:2}, 
{label:Canned Goods A opt 3, data:3} ];

public var CGBSubItems: Array = [ 
{label:Canned Goods B opt 1, data:1},
{label:Canned Goods B opt 2, data:2}, 
{label:Canned Goods B opt 3, data:3} ];

public var FFASubItems: Array = [ 
{label:Fresh Fruit A opt 1, data:1},
{label:Fresh Fruit A opt 2, data:2}, 
{label:Fresh Fruit A opt 3, data:3} ];

public var FFBSubItems: Array = [ 
{label:Fresh Fruit B opt 1, data:1},
{label:Fresh Fruit B opt 2, data:2}, 
{label:Fresh Fruit B opt 3, data:3} ];

public var MeatASubItems: Array = [ 
{label:Meat A opt 1, data:1},
{label:Meat A opt 2, data:2}, 
{label:Meat A opt 3, data:3} ];

public var MeatBSubItems: Array = [ 
{label:Meat B opt 1, data:1},
{label:Meat B opt 2, data:2}, 
{label:Meat B opt 3, data:3} ];

public var sel2Default: Array = [ 
{label:Combo 2 Default, data:1} ];

 public var sel3Default: Array = [ 
{label:Combo 3 Default, data:1} ];

[Bindable]
public var sel2dp:Object = sel2Default;

[Bindable]
public var sel3dp:Object = sel3Default;

[Bindable]
public var selectedItem:Object; 

public function changeSelectBoxes(selected:Object):void
{
//trace(selected.data);
switch (selected.data) {
case 0:
sel2dp = sel2Default;
sel3dp = sel3Default;
//trace(0);
break;

case 1:
sel2dp = CGASubItems;
sel3dp = CGBSubItems;
//trace(1);
break;

case 2:
sel2dp = FFASubItems;
sel3dp = FFBSubItems;
//trace(2);
break;

case 3:
sel2dp = MeatASubItems;
sel3dp = MeatBSubItems;
//trace(3);
break;

default:
//trace(default);
}
}   
]]
/mx:Script

mx:Panel x=21 y=123 width=702 height=200 layout=absolute
title=Mini Component Test
mx:Label x=0 y=12 text=Combo 1/
mx:Label x=232 y=12 text=Combo 2/
mx:Label x=455 y=12 text=Combo 3/
mx:Grid x=10 y=80 width=456
mx:GridRow width=100% height=100%
mx:GridItem width=100% height=100%
mx:ComboBox id=comboBox1 
dataProvider={opt1Items}
change=changeSelectBoxes(comboBox1.selectedItem)/mx:ComboBox
/mx:GridItem
mx:GridItem width=100% height=100%
mx:ComboBox id=comboBox2 
dataProvider={sel2dp}/mx:ComboBox
/mx:GridItem
mx:GridItem width=100% height=100%
mx:ComboBox id=comboBox3 
dataProvider={sel3dp}/mx:ComboBox
/mx:GridItem
/mx:GridRow

[flexcoders] Re: Flex 2 RPC SSL

2006-09-20 Thread Doug Arthur



I was able to get this to work ith the following propery in my xml:
add-no-cache-headersfalse/add-no-cache-headers


Thanks!
- Doug
On 9/19/06, Doug Arthur [EMAIL PROTECTED] wrote:


I cannot seem to get Flex 2 Remote Objects to work over SSL, I've got a wildcard cert setup with host headers in IIS6.0 and have SSL working properly and confirmed. The problem now is when I try to make a Remote Object call. I've added the SecureAMFChannel  SecureAMFEndpoint classes and thes to httpin the uri. When I browse to 
https://dev.mydomain.com/flex2gateway/ I get a blank page as expected. But I still get the following error:


(mx.rpc:Fault)#0
 errorID = 0
 faultCode = Client.Error.MessageSend
 faultDetail = Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Failed
 faultString = Send failed
 message = 
faultCode:Client.Error.MessageSend
faultString:'Send failed'
faultDetail:'Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Failed'
 name = Error
 rootCause = (Object)#1
 code = NetConnection.Call.Failed
 description = HTTP: Failed
 details = 
https://dev.mydomain.com/flex2gateway/
 level = error


Thanks!

- Doug

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] example of a combo box in a grid

2006-09-20 Thread Impudent1
Clint Tredway wrote:
 I need an example of using a combo box in a datagrid.. I have looked
 around and cant find one..
 

mx:DataGrid id=fileDatagrid x=0 y=0 width=715 height=130 
dataProvider={files_datagrid} change=putVideo() selectedIndex=0
mx:columns
mx:DataGridColumn 
headerText=Clip dataField=path/
mx:DataGridColumn 
id=statuscolumn headerText=Status 
width=160 dataField=status
mx:itemRenderer
mx:Component
mx:ComboBox dataProvider={parentDocument.file_status} 
labelField=status 
mx:idfilestatuscb/mx:id
/mx:ComboBox
/mx:Component
/mx:itemRenderer
/mx:DataGridColumn
/mx:columns
/mx:DataGrid


This will put a combobox in the datagrid column, in this code it grabs 
an array with a weborb/mysql query to an array collection. It also grabs 
a preset array with what options populate the combobox. This seems to 
give the added bonus that whatever the datagrid item it will set the 
combobox to the database pulled setting.

hth

Impudent1
LeapFrog Productions


--
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: Architecting a large, modular Flex application

2006-09-20 Thread EECOLOR



Hello,

the way we handle this is as follows:

We have one library swc that holds our code base. We have an application file that contains all basic application code. This application is compiled with the option -link-report=linkreport.xml. All separate modules are compiled with the option -load-externs, this option allows you to have the required classes in your classpath for type checking, but leaves all available classes out (the ones in the basic application).



Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Re: Example: Creating and using custom tooltips

2006-09-20 Thread Tom Fitzpatrick
Lack-of-progress report. Your event handler suggestion works, if I use 
ToolTipManager to get the x and y of the currentTarget. The problem is 
that the tooltip's x and y seem to be calculated relative to the 
application, rather than relative to the target.

Hmm.

- Tom

n51red wrote:

 Interesting.

 One option is to set the x and y attribes of the tooltips in the
 toolTipShown event handler of the relevant component. The event handler
 might look like:

 event.toolTip.x = xPos;
 event.toolTip.y = yPos;

 Could you let me know what you come up with?

 Thanks,
 Nick

 --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com, Tom Fitzpatrick [EMAIL PROTECTED] 
 wrote:
 
  Thanks, Nick. I think that would work.
 
  I realized, though, that a better way would be to always anchor the
  custom tooltip in the same x and y position relative to the tooltip
  target. That way it will stay out of the way of the pie chart.
 
  I'm trying to figure that out now.
 
  - Tom
 

  





--
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] Is there a better way than invisible colums

2006-09-20 Thread EECOLOR



Hello,

Im not sure if i understood you correctly. But you can build an array of DataGridColumns (a class) and feed that to the DataGrid. For each column you can specify which part of the data it should display. This will result in a dataprovider showing only the information you want it to show, no need for hiding columns.



Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Flex Data Services destination configuration documentation?!

2006-09-20 Thread thunderstumpgesatwork

I can't find a single place that documents the configuration options
for a destination in Flex Data Management Services.

We found several places that have examples of certain types of
configurations, but no 'syntax reference' for what tags are allowed,
what the tags mean, etc. 

Does this documentation exist?  Seems like a pretty necessary thing if
anyone is really supposed to use it, not just to replicate the examples.

thanks,
Thunder

P.S. I am specifically looking for more documentation on the syntax of
Managed Associations (one-to-many, many-to-one, lazy, etc).






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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] Flex layout mechanism

2006-09-20 Thread EECOLOR



Hello,

i am having a small little problem. Im dynamically loading one application into another using SWFLoader. This all works very well, however, the layout mechanism doesnt work anymore. After some digging this is quitelogical because if you walk down the parent chain of the loaded SWF you come across a parent that's of type 
mx.core.FlexLoader which does not implement the IFlexDisplayObject interface.

So if im correct this means that the chain of layout shizzle is broken there. My question: does any1 know how to fix this problem or work around this?

In the meantime i will be looking closer at the layout mechanism to see if i can extend the loader to bridge that gap in the layout thingie.


Thnx.


Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] What is the most proper place to add event listeners to component's children?

2006-09-20 Thread EECOLOR



Hello,

there are a few valid places, check the documentation on these events to see whats most suitable for your needs:
- Event handler for creationComplete
- Event handler for initialize
- In some cases in the createChildren override after the super.createChildren call


Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Re: Using SpringBeanAdapter instead of FDS

2006-09-20 Thread laidezmon
I am developing an app that uses the remote object tied to a
java/spring/hybernate app like you describe. This was a legacy app
already written with a jsf front end, and for the most part, the flex
stuff has gone over the business logic, pretty well. There have been a
couple bumps in the road, but that could have something to do with the
way I am implementing it. One of the things I have noticed, is you are
not able to lazy load your hybernate objects, so an object with one to
many or many to many relationships will error out. You must pass back
to flex fully completed java objects when it asks for them. Also when
you pass an object to flex, then edit it, and pass it back, I was
getting hybernate duplicate object errors. The reason for this is that
hybernate is still maintaining the instance of that object, and if you
make a change to it, based on id, then it considers them as two
objects of the same ID. you can either merge the two of them, delete
the hybernate instance, or create a new object based off the flex
object being passed, then set the hybernate object params to the flex
object params using the getters and setters. 

So its not completely seamless, but it shows some promise. Course I
could be doing it totally wrong too. I know this way works but it
might not be a best practice. This to me seems an area of flex sorely
in need of better documentation. There are no tutorials or
walkthroughs of anything beyond simple objects being passed to and
from java, and usually not having anything to do with spring and
hybernate connections. At least if there are some tutorials on passing
complex objects (meaning an object with at least another object
embedded in it) back and forth using spring/hybernate in either remote
object or dataservices I have not found it and would love to see it. 

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

 Hey everyone,
 
 I'm currently constructing an application that uses DataServices with
 the Hibernate Assembler. I wanted to make the business logic
 independent of the view (Flex) so that another application I write
 with a web frontend (using Spring MVC) can use the same logic that
 Flex uses. I was going to do this using Remote Objects with the
 SpringBeanAdapter, but I'm worried about losing the ability for data
 pushing, managed classes, etc. Can I still maintain many of the
 options I had with FDS using the SpringBeanAdapter?
 
 Brennan







--
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] state problem

2006-09-20 Thread Rick Root
I'm trying to work with states and having some difficulty.

Here is my state code in the MXML:

mx:states
mx:State name=details
mx:SetStyle target={dgCorpMoveSummary} name=visible 
value=0/
mx:SetStyle target={btnBack} name=enabled value=1/
/mx:State
/mx:states

I get no errors when compiling.

The following function is executed:

public function getMovesResult(e:ResultEvent):void
{
txtTitle.text = 'Moves against ' + e.result[0].PRMLNAME;
currentState = 'details';
Alert.show(currentState, 'Current State', Alert.OK);
}

The alert shows the current state is details but the datagrid is still 
visible, and the button is dstill disabled.

Everything looks fine in flex builder's design mode when I switch 
states, so I don't understand why it isn't working when I run the app.

Rick


--
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: AS3: List of dispatched events from any EventDispatcher in run-time

2006-09-20 Thread EECOLOR



Hello,

i dont think the regulair event dispatcher even knows what type of events it broadcasts. It receives an event, looks at the type and checks if it has any listeners for that type. Internally there probably is an object wich contains all listeners and their types, however this object is hidden for us.


would like to check if the event type is valid for given EventDispatcher

Actually all event types are valid for a dispatcher, if they ever will be dispatched is another question.


Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Viewstack in the ModelLocator

2006-09-20 Thread passive_thoughts
I'm pretty new to this so I'm probably missing something.  Basically 
what I'm trying to achieve is a flex app that has unlimited views.  
I have declared a viewstack in my ModelLocator and I addChild, 
removeChild and selectChild as needed.

Right now I have an empty viewstack control in my application.  I 
use event listeners that are attached to the model.appViews to 
manipulate the viewstack (appStack).  Is there any way to somehow 
just bind appStack to model.appViews and avoid this extra code?

private function initApp():void{
//listen for changes to the viewstack control in modelLocator
model.appViews.addEventListener 
 (mx.events.ChildExistenceChangedEvent.CHILD_ADD,
  updateStack);
}

private function updateStack(event:ChildExistenceChangedEvent):void{
//when appViews gets new child update viewstack here
appStack.addChild(event.relatedObject);
}

//using this to test addChild function from button click
private function addToStack():void{
var login2:Login = new Login(); 
//for some reason addchild() dies here, ChildAt() works
model.appViews.addChildAt(login2,0); 
}
...
mx:ViewStack id=appStack /





--
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: Drawing shapes and then animating them

2006-09-20 Thread petromotion
This problem has now been solved, getting there was tough, but we got
there in the end. You can see our solution on
http://www.flexdeveloper.eu/forums/YaBB.pl?num=1153993260

Cheers!






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

2006-09-20 Thread Simeon Bateman



The last official work I heard was that they were working hard to get a beta ready for the fall. We are almost there so hopefully we will get to play soon.On that note some screenshots were released into the wild last week showing us the progress. You can see them here 
http://technoracle.blogspot.com/2006/09/flex-builder-20-on-mac-osx-first-looks.htmlHTHsim
On 9/18/06, Cosmic [EMAIL PROTECTED] wrote:













  



Has anyone heard any rumors of when the IDE for mac is coming out?

Thanks

Peter

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Re: ArrayCollection returns object Object

2006-09-20 Thread Jamie O
I'll take my best attempt.

1) Create the XML variable you will need to map the HTTPService object
data to and create a function that will handle the result call of your
HTTPService call.
mx:Script
![CDATA[
import mx.rpc.events.ResultEvent;

[Bindable]
private var xmldpAddress:XML;
   
public function LoadXML(evt:Event):void {
xmldpAddress = new XML(evt.target.lastResult);
//Do other result-driven actions here
}
]]

2) In your HTTPService call a function to handle the result event:
mx:HTTPService
id=feedRequest 
url = [PATH GOES HERE]
useProxy=false
resultFormat=e4x 
result=LoadXML(event)
/

3) So when you trigger the request via feedRequest.send() function
from either the creationComplete part of the application or a button
event, it calls the service, the service calls your result function
and the result function maps that service data object into an XML format.

4) As a result, you can then use dot notation for the XML in any
dataprovider you want.

mx:TextInput x=139 y=143 width=151 id=txtProv
editable=false enabled=false text=[EMAIL PROTECTED]/

At that point, the help page under Programming ActionScript 3.0  Core
ActionScript 3.0 Data Types and Classes  Working with XML 
Traversing XML Structures should give you all the examples you need to
bind the particular data you're looking for.

Good luck!
Jamie

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

 I was wondering if someone can help me (preference) or point me to a
 tutorial on xml and data structures that are not hardcoded.
 
 I am using an HttpService to retreive xml and I can get result, but
 when I use it to populate a List I get object Object.  All livedocs
 and info tells you how to use arrays, arraycollections, and xml when
 the xml is hardcoded in the app.
 
 Here is my file and xml.
 
 FILE
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*
 paddingTop=3
 creationComplete=initApp()
 pageTitle=Dashboard
   
   mx:Style source=OSX.css/
   
   mx:Script
   ![CDATA[
import mx.rpc.events.ResultEvent;
import mx.collections.ArrayCollection;
import mx.rpc.*;
import mx.charts.*;
   
   
   [Bindable]
public var slicedMonthData:ArrayCollection;
   
   [Bindable]
public var slicedRegionData:ArrayCollection;
   
   [Bindable]
public var JasonsAC:ArrayCollection;
   
private var monthData:Array;
private var regionData:Array;
   
private function initApp():void
{
srv.send();
slicedMonthData = new ArrayCollection();
slicedRegionData = new ArrayCollection();
}
   
   
   private function resultHandler(event:ResultEvent):void
 {
 monthData = event.result.list.month.source as Array;
   slider.maximum = monthData.length - 1;
   slider.values = [0, monthData.length - 1];
 slicedMonthData.source = monthData;
 JasonsAC = new ArrayCollection(slicedMonthData.source);
 //regionBreakdown.month = monthData[0];//
 
 }
   
   private function getSliderLabel(value:String):String
 {
 return monthData[parseInt(value)].name;
 }
 
 
 
 private function rangeChange():void
 {
   if (monthData != null)
   slicedMonthData.source =
 monthData.slice(slider.values[0], slider.values[1] + 1);
   if (regionData != null)
   slicedRegionData.source = 
 regionData.slice(slider.values[0],
 slider.values[1] + 1);
 }
 
 

   ]]
   /mx:Script
   
 mx:HTTPService id=srv url=results.xml useProxy=false
 result=resultHandler(event)/   
   mx:Model id=dataSet/mx:Model
   
 
   
   mx:ApplicationControlBar width=100% height=37
   mx:Spacer width=2/
 mx:Label text=Dashboard:/
 mx:ComboBox width=150
 mx:dataProvider
 mx:Array
 mx:StringRevenue Timeline/mx:String
 mx:StringKWH Timeline/mx:String
 mx:StringMember Timeline/mx:String
 /mx:Array
 /mx:dataProvider
 /mx:ComboBox
 mx:Spacer width=10/
 mx:Label text=Select Period:/
 mx:HSlider id=slider width=180 thumbCount=2
 

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread Anatole Tartakovsky




Derreck

 Your post concentrates around answers onHOW to use interfaces and abstract classes to make large applications. I believe there is another questionthat we sometimes forget to ask.

WHY?The main reason for interfaces uses is to allow multiple implementations. Abstract classes are also serving the same goal. You stated you are in application development - I do not think multiple implementations are typical - we do not use interfaces at all as they become additional point of maintenance and errors. If you need to get stron typing to application codeyou can use SWC in external link mode and get everything resolved. After all, linking the external library with value object is indistinguishable (short of errors) from linking interface to it.


The second use of interfaces is to generalize access. Those interfaces belong to theshared library. they are going to be minimal and closely guarded.

We are making generic ant task that includes Eric's suggestionon reducing the RSL sizes. It worksacross modules and apps to reduce the sizes of RSLs automatically. I will post a note when it is available.


Sincerely,
Anatole Tartakovsky
www.faratasystems.com


On 9/20/06, EECOLOR [EMAIL PROTECTED] wrote:
 







Hello,

the way we handle this is as follows:

We have one library swc that holds our code base. We have an application file that contains all basic application code. This application is compiled with the option -link-report=linkreport.xml. All separate modules are compiled with the option -load-externs, this option allows you to have the required classes in your classpath for type checking, but leaves all available classes out (the ones in the basic application). 



Greetz Erik

 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Outline view in FB2 does not work with classes from mx.* package?

2006-09-20 Thread Simeon Bateman



I have the ZornPlus Eclipse plugin from yellowbadger.com installed and it lets me have an outline for the mx.* classes.Just FYI. You can check it out here. 
http://yellowbadger.com/index.cfm?p=12simeonOn 9/18/06, Andriy Panas [EMAIL PROTECTED] wrote:













  



Hello flexcoders,

I did not manage yet to use Outline view together with classes
  from mx.* package. Outline view in FB2 works fine only with my
  custom classes.

Here are the steps to reproduce:

1) Start Flex Builder 2 Standalone
2) Press Window Outline to make sure that Outline view is
visible
3) Create simple custom ActionScript class like:
-
package
{
import mx.containers.VBox;

public class MyText extends VBox
{
public function MyText() {  
}   
}
}
-
  4) Notice that outline view works fine with MyText class
  5) Now press CTRL + Click ( or F3) on VBox class name to open
  VBox class definition in a separate window
  6) Notice that Outline view does not work for VBox class

-- 
Best regards,
 Andriy  mailto:[EMAIL PROTECTED]


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] state problem

2006-09-20 Thread Simeon Bateman



When you are in design mode and you switch between states does it work there?Just curious.simOn 9/20/06, Rick Root 
[EMAIL PROTECTED] wrote:












  



I'm trying to work with states and having some difficulty.

Here is my state code in the MXML:

mx:states
	mx:State name=details
		mx:SetStyle target={dgCorpMoveSummary} name=visible value=0/
		mx:SetStyle target={btnBack} name=enabled value=1/
	/mx:State
/mx:states

I get no errors when compiling.

The following function is executed:

public function getMovesResult(e:ResultEvent):void
{
	txtTitle.text = 'Moves against ' + e.result[0].PRMLNAME;
	currentState = 'details';
	Alert.show(currentState, 'Current State', Alert.OK);
}

The alert shows the current state is details but the datagrid is still 
visible, and the button is dstill disabled.

Everything looks fine in flex builder's design mode when I switch 
states, so I don't understand why it isn't working when I run the app.

Rick

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Actionscript Binding - bind a property through a function

2006-09-20 Thread thunderstumpgesatwork

Hi guys,

I know in mxml you can do data binding like this:

mx:Button label={formatLabel(someBindableTextField)} /

where any time the bindable property someBindableTextField changes,
the binding fires, and the label is replaced with the result of the
function.

This is even more powerful if the function parameters has two bindable
properties. When either one changes, the function executes, and the
label is updated.

How can this be achieved in ActionScript?

I have used the ChangeWatcher, and the BindingUtils classes but don't
see a simple solution.

thanks for any ideas =)
Thunder







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

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

* 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: state problem

2006-09-20 Thread thunderstumpgesatwork
Hi,

'visible' and 'enabled' are properties, not styles.
Try changing the 

mx:SetStyle ... /
to
mx:SetProperty ... /

Thunder

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

 I'm trying to work with states and having some difficulty.
 
 Here is my state code in the MXML:
 
 mx:states
   mx:State name=details
   mx:SetStyle target={dgCorpMoveSummary} name=visible 
 value=0/
   mx:SetStyle target={btnBack} name=enabled value=1/
   /mx:State
 /mx:states
 
 I get no errors when compiling.
 
 The following function is executed:
 
 public function getMovesResult(e:ResultEvent):void
 {
   txtTitle.text = 'Moves against ' + e.result[0].PRMLNAME;
   currentState = 'details';
   Alert.show(currentState, 'Current State', Alert.OK);
 }
 
 The alert shows the current state is details but the datagrid is
still 
 visible, and the button is dstill disabled.
 
 Everything looks fine in flex builder's design mode when I switch 
 states, so I don't understand why it isn't working when I run the app.
 
 Rick







--
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] Tree and Drag and Drop

2006-09-20 Thread ldyhwke24
I have a small question on the Drag and Drop using the Tree component.

private function dragEnterHandlerTree(event:DragEvent):void {

var dropTarget:UIComponent = UIComponent(event.currentTarget);

if (event.dragSource.hasFormat('treeItems')) 

{

// Signal that this data can be dropped onto the target

DragManager.acceptDragDrop(dropTarget);

trace(drag accepted.);
DragManager.showFeedback(DragManager.COPY);
trace(DragManager.getFeedback());


var dragItems:Array = event.dragSource.dataForFormat(treeItems);
}
}

now dragItems is an Array, it has the length of 1; but when I look at 
the information through a trace, it's empty.

Any ideas on how to get the node's information? I've tried a couple 
different ways, one way had an issue and it read the tree node to be:

label=name id=data anotherID=id

any ideas?

thanks! 







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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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





Re: [flexcoders] state problem

2006-09-20 Thread Douglas Knudsen



style and visible are properties, eh? Try SetProperty.DKOn 9/20/06, Rick Root [EMAIL PROTECTED]
 wrote:I'm trying to work with states and having some difficulty.Here is my state code in the MXML:
mx:statesmx:State name=detailsmx:SetStyle target={dgCorpMoveSummary} name=visible value=0/mx:SetStyle target={btnBack} name=enabled value=1/
/mx:State/mx:statesI get no errors when compiling.The following function is executed:public function getMovesResult(e:ResultEvent):void{txtTitle.text
 = 'Moves against ' + e.result[0].PRMLNAME;currentState = 'details';Alert.show(currentState, 'Current State', Alert.OK);}The alert shows the current state is details but the datagrid is still
visible, and the button is dstill disabled.Everything looks fine in flex builder's design mode when I switchstates, so I don't understand why it isn't working when I run the app.Rick--
Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
* Your email settings:Individual Email | Traditional* To change settings online go to:http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)* To change settings via email:mailto:[EMAIL PROTECTED]mailto:
[EMAIL PROTECTED]* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/-- Douglas Knudsen
http://www.cubicleman.comthis is my signature, like it?

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread powellbullfrog

Question.

In your library project will you also have abstract class of the 
events you will dispatch to cairngorm?  Will each module have its 
own controller, or will they all share one in the main application.

Thanks

Jeff


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

 I just want to bounce this idea/concept off the larger Flex 
community
 to see if there are any holes or possibly better solutions.
 
 I am currently working with a team of developers on a large, 
modular
 Flex application based on the Cairngorm framework. One issue that 
we
 are trying to get our heads around is creating the application in a
 modular fashion (ie seperate SWFs for application modules). Each
 module will only get loaded as needed by the main shell 
application in
 order to keep the overall size and memory use as small as 
possible. 
 
 The big issue that we are running into is how to setup and develop 
the
 module flex projects in Flex Builder. We need to give the module
 projects access to the models, value objects etc (especially 
bindable
 properties) that they need from the main application without having
 the actual application implemented version of those classes get
 compiled into the module swfs and causing problems when they get
 loaded into the main application. Our current thinking is that in
 order to allow the modules to have full access to the models, value
 objects, etc that have been defined in the main application we 
create
 Abstract versions of those classes and put them in a seperate flex
 library project which will get compiled as an SWC and get included
 into the seperate modules as a runtime shared library (RSL), 
basically
 an library of Abstract classes only (and maybe some Interfaces). 
The
 module projects will also include the Cairngorm.swc as an RSL in 
order
 to have access to the interfaces etc that are defined there and
 provide the neccessary hooks into the main application. 
 
 The main application will have all of it's models, value objects 
etc
 extend the abstract classes that are defined in the Abstract RSL
 library. The main application will also use the cairngorm.swc as an
 RSL to ensure that the module swfs load properly when called upon 
(ie
 they won't throw a run time shared library error because they can't
 find the cairngorm.swc). This results in a download hit because the
 entire flex framework gets downloaded in the cairngorm.swc but we 
do
 not see any way around that.
 
 Any feedback, comments, etc from any of you would be greatly 
appreciated.
 
 Regards,
 
 Derrick








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

2006-09-20 Thread passive_thoughts
mx:states
mx:State name=details
mx:SetProperty target={dgCorpMoveSummary} name=visible 
value=false/
mx:SetProperty target={btnBack} name=enabled value=false/
/mx:State
/mx:states


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

 I'm trying to work with states and having some difficulty.
 
 Here is my state code in the MXML:
 
 mx:states
   mx:State name=details
   mx:SetStyle target={dgCorpMoveSummary} 
name=visible value=0/
   mx:SetStyle target={btnBack} name=enabled 
value=1/
   /mx:State
 /mx:states
 
 I get no errors when compiling.
 
 The following function is executed:
 
 public function getMovesResult(e:ResultEvent):void
 {
   txtTitle.text = 'Moves against ' + e.result[0].PRMLNAME;
   currentState = 'details';
   Alert.show(currentState, 'Current State', Alert.OK);
 }
 
 The alert shows the current state is details but the datagrid is 
still 
 visible, and the button is dstill disabled.
 
 Everything looks fine in flex builder's design mode when I switch 
 states, so I don't understand why it isn't working when I run the 
app.
 
 Rick








--
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: Actionscript Binding - bind a property through a function

2006-09-20 Thread gsamsa



This should work pretty much just the way your example works, so maybe one of your parameters isn't bindable?The following example works, and also illustrates another less elegant way of accomplishing the same thing?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" mx:Button label="{formatLabel(prodName1.text,prodPart1.text)}" x="10" y="40"/ mx:TextInput id="prodName1" y="10" x="10"/ mx:TextInput id="prodPart1" x="193" y="10"/ mx:Button label="{formatLabel2}" x="10" y="128"/ mx:TextInput id="prodName2" change="dispatchEvent(new Event('labelChanged'))" x="10" y="98"/ mx:TextInput id="prodPart2" change="dispatchEvent(new Event('labelChanged'))" x="193" y="98"/ mx:Script ![CDATA[  private function formatLabel(x:String, y:String) : String  {   return (x + ":" + y);  }   [Bindable("labelChanged")]  private function get formatLabel2() : String  {   return (prodName2.text + ":" + prodPart2.text);  } ]] /mx:Script /mx:Application--- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" [EMAIL PROTECTED] wrote:  Hi guys,  I know in mxml you can do data binding like this:  mx:Button label="{formatLabel(someBindableTextField)}" /  where any time the bindable property "someBindableTextField" changes, the binding fires, and the label is replaced with the result of the function.  This is even more powerful if the function parameters has two bindable properties. When either one changes, the function executes, and the label is updated.  How can this be achieved in ActionScript?  I have used the ChangeWatcher, and the BindingUtils classes but don't see a simple solution.  thanks for any ideas =) Thunder

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Flex 2.0 Hosting ( Cheap / Inexpensive )

2006-09-20 Thread Douglas McCarroll
I've checked with CFDynamics. They say Unfortunately, at this time, an 
ETA is unavailable.

It seems to me that it would be in Adobe's interests to do whatever it 
can to facilitate making FDS hosting available. A friend of mine thinks 
that he may be able to help me out, but I'm sure that there are a lot of 
people out there with no options for deploying FDS apps at this point...

I'm not talking about full-scale enterprise hosting - just an Express 
FDS equivalent...



Matt Chotin wrote:

 Yes, CFDynamics has been considering it. I’m not sure if others have 
 been considering it recently, I’ll ask Eric but we haven’t seen a 
 massive request for it recently.

 Matt

 

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 *On Behalf Of *Brendan Meutzner
 *Sent:* Tuesday, September 19, 2006 3:59 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Flex 2.0 Hosting ( Cheap / Inexpensive )

 I've heard that CFDyanmics is considering it... worth posing the 
 question to them...


 Brendan


 On 9/19/06, *Douglas McCarroll*  
 [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Paul Andrews wrote:

  Hosting Flex isn't a problem, it's FDS that's the problem. ;-)

 Are there any solutions available for FDS?

 It sounds like there aren't. :-(

 Could someone from Adobe comment on whether Adobe is working on this?

  



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

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

* 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: Architecting a large, modular Flex application

2006-09-20 Thread derrickgrigg
Thanks for the info. Your solution of having all the base code in an 
external library is where I started out, but I wasn't entirely 
comfortable having all the core code in an RSL (I don't exactly 
remember why that bothered me so much now). It certainly makes 
maintenance and development alot easier instead of having to manage 
a pile of Interfaces and Abstract classes in addition to everything 
else.

Derrick

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

 Hello,
 
 the way we handle this is as follows:
 
 We have one library swc that holds our code base. We have an 
application
 file that contains all basic application code. This application is 
compiled
 with the option -link-report=linkreport.xml. All separate modules 
are
 compiled with the option -load-externs, this option allows you to 
have the
 required classes in your classpath for type checking, but leaves 
all
 available classes out (the ones in the basic application).
 
 
 Greetz Erik







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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: state problem

2006-09-20 Thread Rick Root
thunderstumpgesatwork wrote:
 
 'visible' and 'enabled' are properties, not styles.
 Try changing the

That's what I get for doing a copy and paste!

Thanks all!

Rick


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

2006-09-20 Thread Nick Collins



Anyone else think that MAX would be a really good time for such an announcement? Beuller? Beuller?On 9/20/06, Simeon Bateman 
[EMAIL PROTECTED] wrote:












  



The last official work I heard was that they were working hard to get a beta ready for the fall. We are almost there so hopefully we will get to play soon.On that note some screenshots were released into the wild last week showing us the progress. You can see them here 
http://technoracle.blogspot.com/2006/09/flex-builder-20-on-mac-osx-first-looks.html
HTHsim
On 9/18/06, Cosmic [EMAIL PROTECTED]
 wrote:













  



Has anyone heard any rumors of when the IDE for mac is coming out?

Thanks

Peter

  















  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Re: Architecting a large, modular Flex application

2006-09-20 Thread derrickgrigg
Yes, the library will have the events to be dispatched to cairngorm, 
due to the fact that the modules can interoperate with other parts 
of the application, so each module needs access to other module's 
events. I'm intending to have the modules use the main application 
controller in order to allow any module to have easy access to data 
from other parts of the application as needed.

Derrick

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

 
 Question.
 
 In your library project will you also have abstract class of the 
 events you will dispatch to cairngorm?  Will each module have its 
 own controller, or will they all share one in the main application.
 
 Thanks
 
 Jeff
 
 
 --- In flexcoders@yahoogroups.com, derrickgrigg dgrigg@ wrote:
 
  I just want to bounce this idea/concept off the larger Flex 
 community
  to see if there are any holes or possibly better solutions.
  
  I am currently working with a team of developers on a large, 
 modular
  Flex application based on the Cairngorm framework. One issue 
that 
 we
  are trying to get our heads around is creating the application 
in a
  modular fashion (ie seperate SWFs for application modules). Each
  module will only get loaded as needed by the main shell 
 application in
  order to keep the overall size and memory use as small as 
 possible. 
  
  The big issue that we are running into is how to setup and 
develop 
 the
  module flex projects in Flex Builder. We need to give the module
  projects access to the models, value objects etc (especially 
 bindable
  properties) that they need from the main application without 
having
  the actual application implemented version of those classes get
  compiled into the module swfs and causing problems when they get
  loaded into the main application. Our current thinking is that in
  order to allow the modules to have full access to the models, 
value
  objects, etc that have been defined in the main application we 
 create
  Abstract versions of those classes and put them in a seperate 
flex
  library project which will get compiled as an SWC and get 
included
  into the seperate modules as a runtime shared library (RSL), 
 basically
  an library of Abstract classes only (and maybe some Interfaces). 
 The
  module projects will also include the Cairngorm.swc as an RSL in 
 order
  to have access to the interfaces etc that are defined there and
  provide the neccessary hooks into the main application. 
  
  The main application will have all of it's models, value objects 
 etc
  extend the abstract classes that are defined in the Abstract RSL
  library. The main application will also use the cairngorm.swc as 
an
  RSL to ensure that the module swfs load properly when called 
upon 
 (ie
  they won't throw a run time shared library error because they 
can't
  find the cairngorm.swc). This results in a download hit because 
the
  entire flex framework gets downloaded in the cairngorm.swc but 
we 
 do
  not see any way around that.
  
  Any feedback, comments, etc from any of you would be greatly 
 appreciated.
  
  Regards,
  
  Derrick
 








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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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




[flexcoders] Flex Application layout mechanism

2006-09-20 Thread EECOLOR




Hello,

This is the second message with the same problem. Somehow the other one did not appear on the list (or wasnt processed yet, sorry for any double messages). I have edited the message a bit to update what i have found so far.


Iam having a small little problem. Im dynamically loading one application into another using SWFLoader. This all works very well, however, the layout mechanism doesnt work anymore. After some digging this is quitelogical because if you walk down the parent chain of the loaded SWF you come across a parent that's of type 
mx.core.FlexLoader which does not implement the IFlexDisplayObjector the IUIComponentinterface. Besides that you come across an instance of the SystemManager which does not implement the IUIComponent interface.

So if im correct this means that the chain of layout shizzle is broken there. My question: does any1 know how to fix this problem or work around this?

What i found so far:
1.
Aresize of any sub-objects of the loaded application do not (allways) result in a resize event dispatced by the application itself. This can be solved by adding a listener to the sub-object and use the setActualSize to update its with and height. This however is no option when you want the sub-object to resize to the application.

2.
If the application resizes, the loader is not informed. This can be solved by calling the parentChanged method on the loaded application so that it will see the loader as its parent.


Greetz Erik



Thnx.


Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] How to debug application loaded with SWFLoader

2006-09-20 Thread Darrin
I load an application let say appB from appA, appA retrieves data and 
makes it available to appB. My problem is when I set a breakpoint in 
appB and run debug on appA. The breakpoint never breaks. Im I missing 
something here.

Thanks





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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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




  1   2   >