Re: [flexcoders] help please

2006-07-19 Thread Samuel Reuben



See Uday,

You can use the contentWidth and contentHeight on the updateComplete event to determine how you want to show your images.

Some ideas could be that you set the visible to false while the images are loading and show them once you've got the logic worked out,as to what and howyou want to show them.

Hope this helps,
-sam
On 7/15/06, uday kiran [EMAIL PROTECTED] wrote:






I hava a problemI have diffrent photos with same height but diffrentwidth, two set of photo width's, one photoset width is3 time the other set.they are jumbled.Now the problem is when I get small photos i should
display three of them in a row when I get Bigger on Ishould display the bigger on only and in a row i canhave ie three small photos or two small photos or onesamll photo or one big photo(placed from left).
how to solve it...__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com  

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] importing xml to my flex app

2006-07-19 Thread Jeremy Lu




One little addition to Tracy's post, when using attribute for
labelField, don't forget to add an @ sign, this is the E4X notation
for accessing attribute.


Jeremy.
On 7/19/06, Tracy Spratt [EMAIL PROTECTED] wrote:













  













Yes.



Assign my_xml to the dataProvider property
of the List.



Then, depending on the structure of your
xml, specify labelField or define a labelFunction.



You'll need a more specific question
for a more specific answer.



Tracy











From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of flexnewbie06
Sent: Tuesday, July 18, 2006 12:35
PM
To: flexcoders@yahoogroups.com

Subject: [flexcoders] importing
xml to my flex app











Is is possible for me to populate a list in my app
with an external XML 
doc.

So far, I have the xml doc loaded into XML object in my app using 
URLLoader and when I trace my_xml.toString(), my xml doc is in fact 
loaded the XML object. I guess my problem from here is how to access 
the attributes in my XML object to populate my list??? 

Does anyone have any experience with this?

thanks 
Jenn










  















__._,_.___





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



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



  






__,_._,___



[flexcoders] Re: Problem with States and switching to a given state.

2006-07-19 Thread Tim Hoff



Hi Malik,
Here is an example how to control view state with Cairngorm2.
http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=422
-TH--- In flexcoders@yahoogroups.com, "malik_robinson" [EMAIL PROTECTED] wrote:  Hi,  How do you change the state from within different mxml files. My code  is below. As of now I do not have any functions or anything written. I  am just trying to work with the states in a simplistic manner. I have 3 files. Main.mxml, LoginPanel.mxml, Home.mxml. I want the base state to be the login page when Main.mxml is run, once the user logs in, then I want to go to Home.mxml. Does anyone see how I can fix this given the code I have put together, any suggestions as well. I am trying to learn Cairngorm, but for now any assistance appreciated.  Main.mxml  mx:Application xmlns:mx="http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml " layout="absolute"  horizontalScrollPolicy="off" verticalScrollPolicy="off" xmlns:view="com.myHR.view.*"   mx:states mx:State name="home" mx:AddChild mx:target view:Home id="home" / /mx:target /mx:AddChild mx:RemoveChild target="{login}" / /mx:State /mx:states  view:LoginPanel id="login" /  /mx:Application  Home.mxml  ?xml version="1.0" encoding="utf-8"? mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml " width="100%"  mx:HBox y="50" x="20"  mx:Panel id="myCompanies" height="325" title="Companies" x="26" y="60" mx:HBox width="100%" height="100%" mx:DataGrid resizableColumns="true" sortableColumns="true" height="100%" mx:columns mx:DataGridColumn headerText="Name" dataField="col1"/ mx:DataGridColumn headerText="Type" dataField="col2"/ mx:DataGridColumn headerText="Level" dataField="col3"/ /mx:columns /mx:DataGrid /mx:HBox /mx:Panel  /mx:HBox  /mx:Canvas  LoginPanel.mxml  ?xml version="1.0" encoding="utf-8"? mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml " width="400" height="300"  mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml " xmlns:view="com.myApp.view.*" title="Login" horizontalAlign="center"  mx:Form id="loginForm"  mx:FormItem label="Username: " mx:TextInput id="username"/ /mx:FormItem  mx:FormItem label="Password: " mx:TextInput id="password" displayAsPassword="true"/ /mx:FormItem  /mx:Form !-- My Problem is here. I want to go back to the home state, but the actual states tags are defined in Main.mxml --- mx:ControlBar horizontalAlign="right" mx:Button label="Login" click="currentState='Main.home'"/ /mx:ControlBar  /mx:Panel  /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



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



  






__,_._,___



[flexcoders] Re: How do I reset itemRenderer inside DataGrid when dataProvider is updated?

2006-07-19 Thread ben.clinkinbeard
Thanks to everyone for the replies. Unfortunately, this approach has a
rather nasty side effect, which I can only assume is a bug. Also,
isn't this the same as having an event handler for the dataChange
event on the itemRenderer?

The side effect is that if your DataGrid has a scrollbar and you
scroll an item out of view, this event/method gets executed; in my
case clearing the selection. Why the dataChange event (pretty sure
that's what this is capturing) would be dispatched due to scrolling is
beyond me, so my guess is that its a bug.

Still looking for a solution,
Ben





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

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

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

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





Re: [flexcoders] Re: SWFLoader how to access host application

2006-07-19 Thread Jeremy Lu




Don't have Flex at hand, but I would try (from inside the loaded swf):

this.systemManager.application.someMethod()

you may have to cast each variable to correct type, something like 

SystemManager( this.systemManager).application.someMethod().

just my wild guess, might works.


Jeremy.

On 7/19/06, milan kosir [EMAIL PROTECTED] wrote:













  



Thanks, man,I've
seen LocalConnection examples, but I assume that it is faster/more
secure/etc. to talk directly, if swf is loaded inside some other swf
and they are both AS3. From host to loaded swf (when this is
loaded/initialized) it is quite simple, like it is described in help (

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0543.html
), but I would like to talk from loaded swf to host. I'm still waiting if somebody know if this is possible and how to do it.MilanOn 7/18/06, 
flexnewbie06
 [EMAIL PROTECTED] wrote:














  



Milan, you may be light years ahead of me...I don't know. However, I 
was working on getting my Flex app to communicate with my loaded SWF 
and the only way I could accomplish this was to use LocalConnection. My 
Host app can send and listen from the loaded SWF and vica versa...

I don't know if that helps, hope it does
jenn

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

 Hi all, I'm posting this again after first unseccesfull post.
 
 I'd like to use SWFLoader to load some flex/AS3 swf, and when it is
 loaded into host application, I'd like to change some data on it,
 according to data in host application. I've seen examples in help 
about
 accessing loaded SWF with SystemManager, but I'd like to access host
 application from within loaded swf (in creationComplete event). Does
 anyone has experience how to access variables/methods in host
 application? If I trace this.parent.parent.parent in loaded swf I can
 see my SWFLoader in host application, but it seems like I can't access
 parentApplication directly.
 Any hint would be greatly appreciated.
 Thanks, Milan



  















  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders]

2006-07-19 Thread satish chandra





__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: No way to removeItem()

2006-07-19 Thread Sergey Kovalyov
Any suggestions?

On 7/17/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:
 Hi All!

 I found that there is no method removeItem() in ArrayCollection class.
 You need to call
 yourArrayCollection.removeItemAt(yourArrayCollection.getItemIndex(item))
 each time you want just to remove item. I wonder why? Adobe even
 created class ArrayList in FlexUnit utils package with such method,
 but nothing similar in the main framework.

 Sergey.


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

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

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

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




RE: [flexcoders] Re: printing/zooming bugs

2006-07-19 Thread Daniel Tuppeny





It's still present here.

I can right-click - Zoom In, and it correctly zooms in. 
When I then right-click - Zoom Out, it only zooms out a little, but a tick 
appears next to "Show All" and Zoom Out greys out. Leaving me still partly 
zoomed in (and missing the outside of my application), unable to get 
back.

I'm definately using the release player 
:-(


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Samuel 
ReubenSent: 19 July 2006 05:52To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: 
printing/zooming bugs

The zoom in, zoom out problem was noticed and was fixed. I'll look into it. 
As far as I can see it works fine on the release player.

-sam
On 7/18/06, Daniel 
Tuppeny [EMAIL PROTECTED] 
wrote: 

  
  
  
  
  
  
  Cool, 
  thanks!
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan 
  TroglodytesSent: 18 July 2006 00:14To: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] Re: printing/zooming bugs
  
  
  I know this was asked a long time ago, but somehow I must have 
  missed it. Either that or I learned how to do it later. In any 
  case, do this: import flash.ui.ContextMenu; var 
  menu:ContextMenu = new ContextMenu();  
  menu.hideBuiltInItems(); contextMenu = menu;
  On 6/30/06, Daniel 
  Tuppeny  
  [EMAIL PROTECTED]  wrote: 
  




Is there a way to hide the context menu (or at least the zoom part)? 
Wehave a zoomable graph, and if the user right-clicks, they see 
Zoom,think it's ours, click it, and then they're stuffed until reloading 
the page!
-Original Message-From: flexcoders@yahoogroups.com [mailto: 
flexcoders@yahoogroups.com] OnBehalf Of JasonSent: 29 June 2006 
17:50To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
printing/zooming bugsUnfortunately, it looks like the Zoom bug is 
still there in the releaseversion. I've entered it into the bug report 
page. But be aware. --- In flexcoders@yahoogroups.com , "Jason" [EMAIL PROTECTED] 
wrote:  Before I start talking about bugs, let me just say 
thanks for the  help. I demoed to the boss today and he was VERY 
pleased. Flex was a big hit with him. Hope the release doesn't 
slip too far behind, as  we're looking forward to writing that 
check! :D  Anyway, I've had a couple of problems that seem 
to be related. In  Flex 2beta3, whenever I create any app and run 
it, the Flash player's  Zoom options are broken. Right-click and say 
Zoom In. Right-click  and the Zoom Out option is not shown. You can 
Zoom In more and THEN  Zoom Out, but not all the way out. You're 
stuck with it zoomed in.  And you can't pan around. This doesn't 
happening using the beta  player with non-Flex SWFs. 
 The printing problem seems similar. Here's my example app: 
 ?xml version=" 1.0" encoding="utf-8"? mx:Application 
 xmlns:mx=" 
http://www.adobe.com/2006/mxml" layout="absolute" 
mx:Script ![CDATA[ private function 
printClick(e:Event):void { import flash.printing.PrintJob; 
var myPrintJob:PrintJob = new PrintJob(); myPrintJob.start() 
; myPrintJob.addPage(this); myPrintJob.send(); 
} ]] /mx:Script  mx:Button 
label="Print" click="printClick(event)" width="481"  x="10" 
y="10"/ mx:DataGrid y="40" x="10" width="481"  
mx:dataProvider mx:ArrayCollection 
mx:source  mx:Object 
mx:ArtistPavement/mx:Artist 
mx:Price11.99/mx:Price mx:AlbumSlanted and 
Enchanted/mx:Album /mx:Object 
mx:Object  
mx:ArtistPavement/mx:Artist mx:AlbumBrighten 
the Corners/mx:Album 
mx:Price11.99/mx:Price /mx:Object 
/mx:source /mx:ArrayCollection  
/mx:dataProvider /mx:DataGrid 
/mx:Application   If you click on the print 
button, you get a zoomed in printed  document. Just like the whole 
right-click and Zoom In problem. It's  like the player thinks that 
the normal size is zoomed in.  Can I get some confirmation 
or denial of the bug? Or if there's  something somehow messed up 
with my system, let me know.  
Thanks.
 Yahoo! Groups Sponsor 
~--Check out the new improvements in Yahoo! 
Groups email.http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM 
--~- 

--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 

Yahoo! Groups Links[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__
-- Jason [Inbound Mail Scanned by MessageLabs] 
  

Re: [Junk E-Mail - MED] [flexcoders] Problem with States and switching to a give

2006-07-19 Thread malik_robinson
Hi,

Thanks for the quick response.  Makes sense a bit more.  I posted a
similar question before and got good answer but still wanted to get some
additional insight.

Thanks for the help!

-Malik
--- In flexcoders@yahoogroups.com, Shannon Hicks [EMAIL PROTECTED] wrote:

 You need to have LoginPanel.mxml fire off an event, then have
Main.mxml
 capture the event, and change the state as the event result.

 Add this code to LoginPanel.mxml:
 mx:Metadata
 [Event(name=loggedin,type=flash.events.event)]
 /mx:Metadata

 Then change this:
 mx:Button label=Login click=dispatchEvent(new Event(loggedin))/

 In Main.mxml, add:
 mx:Script
 ![CDATA[
 public function loginComplete():void {
 currentState=home;
 }
 ]]
 /mx:Script

 And change this:
 view:LoginPanel id=login loggedin=loginComplete() /

 Now, this code obviously isn't tested, but it should send you down the
right
 path :)

 Shan

_

 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of malik_robinson
 Sent: Tuesday, July 18, 2006 9:58 PM
 To: flexcoders@yahoogroups.com
 Subject: [Junk E-Mail - MED] [flexcoders] Problem with States and
switching
 to a given state.




 Hi,

 How do you change the state from within different mxml files.  My code
is
 below.  As of now I do not have any functions or anything written. I 
am
 just trying to work with the states in a simplistic manner.  I have 3
files.
 Main.mxml, LoginPanel.mxml, Home.mxml.  I want the base state to be
the
 login page when Main.mxml is run, once the user logs in, then I want
to go
 to Home.mxml.  Does anyone see how I can fix this given the code I
have put
 together, any suggestions as well.I am trying to learn Cairngorm,
but
 for now any assistance appreciated.

 Main.mxml

 mx:Application  xmlns:mx=HYPERLINK
 http://www.adobe.com/2006/mxmlhttp://www.adobe.com/2006/mxml;
 layout=absolute   horizontalScrollPolicy=off
  verticalScrollPolicy=off xmlns:view=com.myHR.view.*  

 mx:states
   mx:State name=home
  mx:AddChild
  mx:target
  view:Home id=home /
  /mx:target
  /mx:AddChild
   mx:RemoveChild target={login} /
   /mx:State
 /mx:states

 view:LoginPanel id=login /

 /mx:Application

 Home.mxml

 ?xml version=1.0 encoding=utf-8?
 mx:Canvas xmlns:mx=HYPERLINK
 http://www.adobe.com/2006/mxmlhttp://www.adobe.com/2006/mxml;
 width=100%

  mx:HBox y=50 x=20

  mx:Panel  id=myCompanies height=325 title=Companies x=26
y=60
 mx:HBox width=100% height=100%
mx:DataGrid resizableColumns=true sortableColumns=true
 height=100%
 mx:columns
  mx:DataGridColumn headerText=Name dataField=col1/
  mx:DataGridColumn headerText=Type dataField=col2/
  mx:DataGridColumn headerText=Level dataField=col3/
 /mx:columns
/mx:DataGrid
   /mx:HBox
  /mx:Panel

  /mx:HBox

 /mx:Canvas

 LoginPanel.mxml

 ?xml version=1.0 encoding=utf-8?
 mx:Canvas xmlns:mx=HYPERLINK
 http://www.adobe.com/2006/mxmlhttp://www.adobe.com/2006/mxml;
width=400
 height=300

  mx:Panel
xmlns:mx=HYPERLINK
 http://www.adobe.com/2006/mxmlhttp://www.adobe.com/2006/mxml;
xmlns:view=com.myApp.view.*
title=Login
horizontalAlign=center

 mx:Form id=loginForm

 mx:FormItem label=Username: 
 mx:TextInput id=username/
 /mx:FormItem

 mx:FormItem label=Password: 
 mx:TextInput id=password displayAsPassword=true/
 /mx:FormItem

 /mx:Form
  !-- My Problem is here.  I want to go back to the home state, but
the
 actual states tags are defined in Main.mxml ---
 mx:ControlBar horizontalAlign=right
 mx:Button label=Login click=currentState='Main.home'/
 /mx:ControlBar

  /mx:Panel

 /mx:Canvas






 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date:
7/17/2006



 --
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date:
7/17/2006







 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Hot to detect mouse click outside InteractiveObject instance?

2006-07-19 Thread Sergey Kovalyov
Hi All!

We have event type mouseDownOutside
(FlexMouseEvent.MOUSE_DOWN_OUTSIDE), but it works only with components
opened using the PopUpManager when the user clicks outside them. Is
there any way to handle clicks outside regular components (e. g.
TextInput)?

Thank you in advance!

Sergey.


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Run as Flex App - No complaints - No compile

2006-07-19 Thread Angus Johnson



Cameron, If you have compile time errors Flex Builder wont publish to the bin directory. Forces you to fix them. If you run the app it will just pull out the previous working version. If there are no compile time errors and still not getting a newer version clean the project and check your browser cache. You can also manually delete the bin directory contents.
Good luckAngusOn 19/07/06, Cameron Childress [EMAIL PROTECTED] wrote:













  



Using FlexBuilder 2.0 and just testing out some basic code and think I
must be missing something pretty simple here.  I have a really basic
app that I can use flexbuilder to compile just fine.  FlexBuilder
builds it and sends me to a URL where it shows up in the web browser
just fine.  Then I modify the app in a way that should cause an error,
try to compile it, and FlexBuilder happily sends me to that same URL
without complaint - showing me the previously compiled verion of the
code.

I am sure I'm missing something basic here, but shouldn't Flex
complain in some way if my app fails to compile?  Is there an option I
inadvertantly unchecked or something?  Anyone else run into this?

-Cameron

-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell:  678.637.5072
aim:   cameroncf
email: [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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: SWFLoader how to access host application

2006-07-19 Thread Angus Johnson



You can use Application.application to get a reference to the host application. This is the top tier application so if you have nested a stack of SWF's this is the shortest way to get to the top. parentapplication gets the immediate parent but you can also step up the hierarchy using that property.
Also check out applicationdomain and securitydomain / trustContent to ensure that your applications can talk to each other.AngusPS need AS3 apps for aboveOn 19/07/06, 
milan kosir [EMAIL PROTECTED] wrote:













  



Thanks, man,I've seen LocalConnection examples, but I assume that it is faster/more secure/etc. to talk directly, if swf is loaded inside some other swf and they are both AS3. From host to loaded swf (when this is loaded/initialized) it is quite simple, like it is described in help (
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0543.html
), but I would like to talk from loaded swf to host. I'm still waiting if somebody know if this is possible and how to do it.MilanOn 7/18/06, 
flexnewbie06
 [EMAIL PROTECTED] wrote:














  



Milan, you may be light years ahead of me...I don't know. However, I 
was working on getting my Flex app to communicate with my loaded SWF 
and the only way I could accomplish this was to use LocalConnection. My 
Host app can send and listen from the loaded SWF and vica versa...

I don't know if that helps, hope it does
jenn

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

 Hi all, I'm posting this again after first unseccesfull post.
 
 I'd like to use SWFLoader to load some flex/AS3 swf, and when it is
 loaded into host application, I'd like to change some data on it,
 according to data in host application. I've seen examples in help 
about
 accessing loaded SWF with SystemManager, but I'd like to access host
 application from within loaded swf (in creationComplete event). Does
 anyone has experience how to access variables/methods in host
 application? If I trace this.parent.parent.parent in loaded swf I can
 see my SWFLoader in host application, but it seems like I can't access
 parentApplication directly.
 Any hint would be greatly appreciated.
 Thanks, Milan



  















  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [Junk E-Mail - MED] [flexcoders] Problem with States and switching to a give

2006-07-19 Thread malik_robinson



Hi,Thanks for the assistance here.This line seems to throw an error actually Shannon.mx:Metadata [Event(name="loggedin",type="flash.events.event")]/mx:Metadata In the "problems" panel it says:Event type 'flash.events:event' is unavailable.-Malik--- In flexcoders@yahoogroups.com, "Shannon Hicks" [EMAIL PROTECTED] wrote: You need to have LoginPanel.mxml fire off an event, then have Main.mxml capture the event, and change the state as the event result.   Add this code to LoginPanel.mxml: mx:Metadata [Event(name="loggedin",type="flash.events.event")] /mx:Metadata   Then change this: mx:Button label="Login" click="dispatchEvent(new Event(loggedin))"/   In Main.mxml, add: mx:Script ![CDATA[ public function loginComplete():void { currentState="home"; } ]] /mx:Script   And change this: view:LoginPanel id="login" loggedin="loginComplete()" /   Now, this code obviously isn't tested, but it should send you down the right path :)   Shan _From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of malik_robinson Sent: Tuesday, July 18, 2006 9:58 PM To: flexcoders@yahoogroups.com Subject: [Junk E-Mail - MED] [flexcoders] Problem with States and switching to a given state. Hi,  How do you change the state from within different mxml files.  My code  is below.  As of now I do not have any functions or anything written. I  am just trying to work with the states in a simplistic manner.  I have 3 files. Main.mxml, LoginPanel.mxml, Home.mxml.  I want the base state to be the login page when Main.mxml is run, once the user logs in, then I want to go to Home.mxml.  Does anyone see how I can fix this given the code I have put together, any suggestions as well.I am trying to learn Cairngorm, but for now any assistance appreciated.  Main.mxml  mx:Application  xmlns:mx="HYPERLINK "http://www.adobe.com/2006/mxml"http://www.adobe.com/2006/mxml" layout="absolute"   horizontalScrollPolicy="off"  verticalScrollPolicy="off" xmlns:view="com.myHR.view.*"mx:states   mx:State name="home"  mx:AddChild  mx:target  view:Home id="home" /  /mx:target  /mx:AddChild   mx:RemoveChild target="{login}" /   /mx:State /mx:states  view:LoginPanel id="login" /  /mx:Application  Home.mxml  ?xml version="1.0" encoding="utf-8"? mx:Canvas xmlns:mx="HYPERLINK "http://www.adobe.com/2006/mxml"http://www.adobe.com/2006/mxml" width="100%"   mx:HBox y="50" x="20"mx:Panel  id="myCompanies" height="325" title="Companies" x="26" y="60" mx:HBox width="100%" height="100%"mx:DataGrid resizableColumns="true" sortableColumns="true" height="100%" mx:columns  mx:DataGridColumn headerText="Name" dataField="col1"/  mx:DataGridColumn headerText="Type" dataField="col2"/  mx:DataGridColumn headerText="Level" dataField="col3"/ /mx:columns/mx:DataGrid   /mx:HBox  /mx:Panel   /mx:HBox  /mx:Canvas  LoginPanel.mxml  ?xml version="1.0" encoding="utf-8"? mx:Canvas xmlns:mx="HYPERLINK "http://www.adobe.com/2006/mxml"http://www.adobe.com/2006/mxml" width="400" height="300"   mx:Panel  xmlns:mx="HYPERLINK "http://www.adobe.com/2006/mxml"http://www.adobe.com/2006/mxml"   xmlns:view="com.myApp.view.*"title="Login" horizontalAlign="center"mx:Form id="loginForm"  mx:FormItem label="Username: " mx:TextInput id="username"/ /mx:FormItem  mx:FormItem label="Password: " mx:TextInput id="password" displayAsPassword="true"/ /mx:FormItem  /mx:Form  !-- My Problem is here.  I want to go back to the home state, but the actual states tags are defined in Main.mxml ---  mx:ControlBar horizontalAlign="right" mx:Button label="Login" click="currentState='Main.home'"/ /mx:ControlBar   /mx:Panel  /mx:Canvas -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 7/17/2006--  No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 7/17/2006


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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

[flexcoders] Class instance inheritance check

2006-07-19 Thread Sergey Kovalyov
Hi All!

Imagine, I have the Class instnace as a function parameter.

function myFunction(clazz : Class) {
...
}

How to check that clazz is inherited from some other class (e. g.
UIComponent). Sure, I can create instnace.

if (new clazz() is UIComponent) {
...
}

But this approach seems not good as for me. Any ideas?

Sergey.


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Class instance inheritance check

2006-07-19 Thread Ralf Bokelberg
Would flash.util.describeType be an option?
Cheers,
Ralf.

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

 Imagine, I have the Class instnace as a function parameter.

 function myFunction(clazz : Class) {
 ...
 }

 How to check that clazz is inherited from some other class (e. g.
 UIComponent). Sure, I can create instnace.

 if (new clazz() is UIComponent) {
 ...
 }

 But this approach seems not good as for me. Any ideas?

 Sergey.



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










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


 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Chart data transitions effects when using AS

2006-07-19 Thread Tom Chiverton
(resent, appears to have vanished)
If I'm replacing data series' in a Flex 2 Chart with AS:

subChart.series=new Array();
var sss:LineSeries = new LineSeries();
sss.yField=Total;
sss.displayName=IT;
sss.dataProvider = t;
subChart.series.push(sss);
var sss:LineSeries = new LineSeries();
sss.yField=Total;
sss.displayName=IT;
sss.dataProvider = t2;
subChart.series.push(sss);

How do I get transition effects to appear ? 

Nothing obvious seems to work (a property on subChart.series ? Nope, its a 
plain array) and the docs are fairly silent.
-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] ADMIN: Link to thread as part of the mail?

2006-07-19 Thread Steven Webster





Hey Ralf - not sure what you mean exactly; everything after 
the -- in the footer is our mail footer, however we can't do anything dynamic, 
just static text. So I don't think we can link to the 
thread.

File an ECR with Yahoo! ? :)

Steven



  
  

  


  
  

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


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Ralf 
  BokelbergSent: 19 July 2006 11:27To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] ADMIN: Link to 
  thread as part of the mail?
  
  
  Hi ListAdmin,would it be possible to place a direct link to the 
  thread at thebottom of the mail?Cheers,Ralf.-- 
  Ralf Bokelberg ralf.bokelberg@gmail.comFlex 
   Flash Consultant based in Cologne/Germany
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: printing/zooming bugs

2006-07-19 Thread Samuel Reuben



If you go to http://www.adobe.com/shockwave/welcome/

in the flash player about does it show 9,0,16,0 ?

-sam
On 7/19/06, Daniel Tuppeny [EMAIL PROTECTED] wrote:







It's still present here.

I can right-click - Zoom In, and it correctly zooms in. When I then right-click - Zoom Out, it only zooms out a little, but a tick appears next to Show All and Zoom Out greys out. Leaving me still partly zoomed in (and missing the outside of my application), unable to get back.


I'm definately using the release player :-(


From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] On Behalf Of 
Samuel ReubenSent: 19 July 2006 05:52
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: printing/zooming bugs



The zoom in, zoom out problem was noticed and was fixed. I'll look into it. As far as I can see it works fine on the release player.

-sam
On 7/18/06, Daniel Tuppeny 
[EMAIL PROTECTED] wrote: 







Cool, thanks!


From: 
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Pan TroglodytesSent: 18 July 2006 00:14To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: printing/zooming bugs



I know this was asked a long time ago, but somehow I must have missed it. Either that or I learned how to do it later. In any case, do this: import flash.ui.ContextMenu; var menu:ContextMenu = new ContextMenu(); 
 menu.hideBuiltInItems(); contextMenu = menu;
On 6/30/06, Daniel Tuppeny 
 [EMAIL PROTECTED]  wrote: 






Is there a way to hide the context menu (or at least the zoom part)? Wehave a zoomable graph, and if the user right-clicks, they see Zoom,think it's ours, click it, and then they're stuffed until reloading the 
page!
-Original Message-From: 
flexcoders@yahoogroups.com [mailto:
 flexcoders@yahoogroups.com] OnBehalf Of JasonSent: 29 June 2006 17:50To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: printing/zooming bugsUnfortunately, it looks like the Zoom bug is still there in the releaseversion. I've entered it into the bug report page. But be aware. 
--- In 
flexcoders@yahoogroups.com , Jason [EMAIL PROTECTED] wrote:  Before I start talking about bugs, let me just say thanks for the  help. I demoed to the boss today and he was VERY pleased. Flex was a
 big hit with him. Hope the release doesn't slip too far behind, as  we're looking forward to writing that check! :D  Anyway, I've had a couple of problems that seem to be related. In 
 Flex 2beta3, whenever I create any app and run it, the Flash player's  Zoom options are broken. Right-click and say Zoom In. Right-click  and the Zoom Out option is not shown. You can Zoom In more and THEN 
 Zoom Out, but not all the way out. You're stuck with it zoomed in.  And you can't pan around. This doesn't happening using the beta  player with non-Flex SWFs.  The printing problem seems similar. Here's my example app:
  ?xml version= 1.0 encoding=utf-8? mx:Application  xmlns:mx=
 http://www.adobe.com/2006/mxml layout=absolute mx:Script ![CDATA[ private function printClick(e:Event):void { import flash.printing.PrintJob;
 var myPrintJob:PrintJob = new PrintJob(); myPrintJob.start() ; myPrintJob.addPage(this); myPrintJob.send(); } ]] /mx:Script  mx:Button label=Print click=printClick(event) width=481 
 x=10 y=10/ mx:DataGrid y=40 x=10 width=481  mx:dataProvider mx:ArrayCollection mx:source 
 mx:Object mx:ArtistPavement/mx:Artist mx:Price11.99/mx:Price mx:AlbumSlanted and Enchanted/mx:Album /mx:Object mx:Object 
 mx:ArtistPavement/mx:Artist mx:AlbumBrighten the Corners/mx:Album mx:Price11.99/mx:Price /mx:Object /mx:source /mx:ArrayCollection 
 /mx:dataProvider /mx:DataGrid /mx:Application   If you click on the print button, you get a zoomed in printed  document. Just like the whole right-click and Zoom In problem. It's 
 like the player thinks that the normal size is zoomed in.  Can I get some confirmation or denial of the bug? Or if there's  something somehow messed up with my system, let me know. 
 Thanks.
 Yahoo! Groups Sponsor ~--Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM --~- 
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links[Inbound Mail Scanned by MessageLabs]__This email has been scanned by the MessageLabs Email Security System.For more information please visit 

http://www.messagelabs.com/email __
-- Jason [Inbound Mail Scanned by MessageLabs] 
__This email has been scanned by the MessageLabs Email Security System.For more information please visit 
http://www.messagelabs.com/email 

Re: [flexcoders] Not acept drag on Tree nodes

2006-07-19 Thread Tom Chiverton
On Tuesday 18 July 2006 21:19, Jesús Iglesias wrote:
 subnode's drag and drop, from one node to another. The problem is I don't
 know how to reject the drag when your are on a subnode (showing the stop
 signal) and enable it only when you are on a node.

You'll need to write custom drag handling code as per the docs.

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Class instance inheritance check

2006-07-19 Thread Dirk Eismann
describeType tends to be slow the more complex your class and
inheritance chain gets. 

Dirk. 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Bokelberg
 Sent: Wednesday, July 19, 2006 12:29 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Class instance inheritance check
 
 Would flash.util.describeType be an option?
 Cheers,
 Ralf.
 
 On 7/19/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:
  Hi All!
 
  Imagine, I have the Class instnace as a function parameter.
 
  function myFunction(clazz : Class) {
  ...
  }
 
  How to check that clazz is inherited from some other class (e. g.
  UIComponent). Sure, I can create instnace.
 
  if (new clazz() is UIComponent) {
  ...
  }
 
  But this approach seems not good as for me. Any ideas?
 
  Sergey.
 
 
 
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 
 --
 Ralf Bokelberg [EMAIL PROTECTED] Flex  Flash 
 Consultant based in Cologne/Germany
 
 
  Yahoo! Groups Sponsor 
 ~-- 
 See what's inside the new Yahoo! Groups email.
 http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: Bug in printing with test case (was Re: [flexcoders] Flex print jobs)

2006-07-19 Thread Samuel Reuben



Hi Tom,

Does this happen even when the object height/width is set?
I suppose a ValidateNow() could make a difference...

-sam
On 7/6/06, Tom Chiverton [EMAIL PROTECTED] wrote:
On Wednesday 05 July 2006 15:09, Tom Chiverton wrote: If I try and print a dynamicaly instantiated GUI component, the job
 silently fails. If I create the same component in line in the page, the job works well.Even more oddness.If I pass the id of a page element that is present, but not currentlydisplayed (different view stack, other tab) the print job silently fails as
well.Someone wanna back me up here ?--Tom ChivertonThis email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.
CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged.If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.
For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~--Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM~---
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/
* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] initial loader color/style

2006-07-19 Thread hank williams



There is a default setting for the background color and style of the loader that you see before your app opens. Where can I change this?Hank

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] TODO and FIXME in Builder ?

2006-07-19 Thread Jean-Luc ESSER





Maybe missed it, but did'nt find anybody asking how 
to implement the TODO and FIXME tasks in Builder.
This is a must for every eclipse users, specially 
when working in teams, but it does not work for mxml or asfiles (maybe 
they are not parsed).
Is there a simple way to have it work 
?

Thanx,
JL
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: Bug in printing with test case (was Re: [flexcoders] Flex print jobs)

2006-07-19 Thread Tom Chiverton
On Wednesday 19 July 2006 10:39, Samuel Reuben wrote:
 Does this happen even when the object height/width is set?

Does what happen ? Silent failure or work around stops working ?

 I suppose a ValidateNow() could make a difference...

I'm guessing that is different from the form validators ?

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] addChild() in constructor?

2006-07-19 Thread Sergey Kovalyov
As far as I understand, now I can work with superclass view directly
from constructor of inherited class after super() call?

public class A extends Box {

function A() {
addChild(new TextInput()); // causes exception
}

}

public class B extends A {

function B() {
super();
addChild(new TextInput()); // works correctly
}

}

Is this behaviour is okay and could be used by developers?

Sergey.


 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] RemoteObject AND TypeError: Error #1034

2006-07-19 Thread maikelsibbald
Can anybody help me with the following.

TypeError: Error #1034: Type Coercion failed: cannot convert
[EMAIL PROTECTED] to mx.messaging.messages.ErrorMessage.

When I used it in Flex 1.5 it was working. Can anybody tell me
what thos error means?





 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] addChild() in constructor?

2006-07-19 Thread JesterXL
You're not supposed to create and add children in the constructor.  Do it in 
createChildren, like this:

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

if ( my_txt == null)
{
my_txt = new TextInput();
addChild ( my_txt );
}
}

More info here:
http://www.flex.org/ACDS/BuildingAFlexComponent.pdf

- Original Message - 
From: Sergey Kovalyov [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 19, 2006 10:01 AM
Subject: [flexcoders] addChild() in constructor?


As far as I understand, now I can work with superclass view directly
from constructor of inherited class after super() call?

public class A extends Box {

function A() {
addChild(new TextInput()); // causes exception
}

}

public class B extends A {

function B() {
super();
addChild(new TextInput()); // works correctly
}

}

Is this behaviour is okay and could be used by developers?

Sergey.



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








 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Flex2: Binding from actionscript

2006-07-19 Thread Alex
Hi all,

Im trying to translate an mxml binding tag to actionscript :

I got this mxml tag:

mx:Binding source=model.podManager.getPod( mypodId ).destroy 
destination=handleDestroy /

and its setter function :

private function set handleDestroy( destroy:Boolean ): void  {
  // some code
}

This works 100%. Im now trying to implement this binding in 
actionscript. I have tried things like:

BindingUtils.bindSetter( handleDestroy, model.podManager.getPod( 
mypodId ), destroy, false );

and the setter function defined identically and it doesnt compile. 
It complains about the set in the setter function. Removing 
the set keyword makes it compile but the binding never fires and 
the function is never executed.
What am I doing wrong? How can I make this work? Is there any 
working example on implementing a binding to setter function in 
actionscript ?

I need expert help :)

Thank you all in advance.






 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] initial loader color/style

2006-07-19 Thread Dirk Eismann
You'll have to create your own loader by subclassing
mx.preloaders.DownloadProgressBar and then point the preloader property
of your Application class to your subclass. 

Dirk.




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of hank williams
Sent: Wednesday, July 19, 2006 3:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] initial loader color/style


There is a default setting for the background color and style of
the loader that you see before your app opens. Where can I change this?

Hank
 


 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Scaling up.

2006-07-19 Thread Dave Wolf
Heya Ben,

We're absolutely open to folks who work remotely.  We have both today.
 Although we do feel there is serious value in folks being together in
terms of collaboration (or swarming as I call it!) what we want more
than anything are smart, energic, fun people who want to build great
stuff.  If that means they're remote, so be it.

Its also worth noting, we're looking for all types of folks.  Long
time gurus, and just getting started but excited.

Heck, just drop me an email directly if all you wanna do is chat, or
get a tour of some of our projects going on.  Actually you can see a
video about one of them on our new site.  Check it out ;)

-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



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

 Just to clarify, I was wondering if the side-by-side was meant to be
 taken literally. Sorry if this is a dumb question.
 
 Thanks,
 Ben







 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] RemoteObject AND TypeError: Error #1034

2006-07-19 Thread Peter Farland












What endpoint are you contacting with
RemoteObject  an FDS 2.0 endpoint? From that error Id have to
guess youre trying to contact an old endpoint that isnt returning
the new message types as expected by the mx.messaging.channels.AMFChannel (the
default channel for mx:RemoteObject).













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of maikelsibbald
Sent: Wednesday, July 19, 2006
6:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RemoteObject
AND TypeError: Error #1034











Can anybody help me with the following.

TypeError: Error #1034: Type Coercion failed: cannot convert
[EMAIL PROTECTED] to mx.messaging.messages.ErrorMessage.

When I used it in Flex 1.5 it was working. Can anybody tell me
what thos error means?






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Realtime preview of change in component

2006-07-19 Thread tomkrcha
Hi all,

I am now trying to build my own component. I use DefaultProperty for
adding sub-components into panel, which is a part of my Canvas component.

myComponent:
Canvas-Panel

my:myComponentmx:Label text=Hello //my:Component

this works perfect ... it add Label into Panel thanks to
DefaultProperty . But it works only after export into final SWF.

How to write/persuade the component to add the Label during
development in IDE?

using Inspectable, Bindable ... or what?

Thanks a lot.

Tom





 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] addChild() in constructor?

2006-07-19 Thread Sergey Kovalyov
Actually, I found this approach in IPE Controls by Ely Greenfield
(http://demo.quietlyscheming.com/IPE/). There are classes like this
there:

package qs.ipeControls
{
import qs.ipeControls.classes.IPESlider;
import mx.controls.HSlider;

public class IPEHSlider extends IPESlider
{
public function IPEHSlider():void
{
super();
editableControl = new HSlider();
}
}
}

In superclass IPESlider, editableControl setter is defined this way:

protected function set editableControl(value:UIComponent):void
{
if(_editableControl != null)
removeChild(_editableControl);
_editableControl = value;
_editableControl.styleName = this;
addChild(_editableControl); 
_editableControl.visible = _editable;
facadeEvents(_editableControl,dataChange);


_editableControl.addEventListener(FocusEvent.FOCUS_OUT,commitOnBlurHandler);

invalidateDisplayList();
}

And it works... What's wrong?

On 7/19/06, JesterXL [EMAIL PROTECTED] wrote:
 You're not supposed to create and add children in the constructor.  Do it in
 createChildren, like this:

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

 if ( my_txt == null)
 {
 my_txt = new TextInput();
 addChild ( my_txt );
 }
 }

 More info here:
 http://www.flex.org/ACDS/BuildingAFlexComponent.pdf


 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: printing/zooming bugs

2006-07-19 Thread Peter Blazejewicz
--- In flexcoders@yahoogroups.com, Samuel Reuben [EMAIL PROTECTED] wrote:

 If you go to http://www.adobe.com/shockwave/welcome/
 
 in the flash player about does it show 9,0,16,0 ?
 
 -sam
 
Hi sam,

I've submitted that as serious usability issue to Flex QA team during
beta and haven't got any
confirmation yet,
just tried any sample, eg. from that page:
http://labs.adobe.com/showcase/special/flexderby/
click Zoom In (say I'm impared person and do want to read some text)
and then try to see all content again,
tested with *.16 public plugin in FireFox (IExplorer hosts development
plugin),
that's not the only issue I know that is not fixed and not listed in
know issues I think,

regards,
Peter





 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: TODO and FIXME in Builder ?

2006-07-19 Thread Jeremy Rottman
I also would like to know if this works. Anyone have any info on this.
I  would to drop notepad and work with someone with in flex ide.

--- In flexcoders@yahoogroups.com, Jean-Luc ESSER [EMAIL PROTECTED] wrote:

 Maybe missed it, but did'nt find anybody asking how to implement the
TODO and FIXME tasks in Builder.
 This is a must for every eclipse users, specially when working in
teams, but it does not work for mxml or as files (maybe they are not
parsed).
 Is there a simple way to have it work ?
 
 Thanx,
 JL







 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] addChild() in constructor?

2006-07-19 Thread JesterXL
He wrote that code before the developer's summit is my guess.  Ely told us 
specificlly not to add creation stuff in the constructors, only adding event 
listeners.  The reason for this is the overhead that the constructor adds 
when instantiating a class.  You can defer creation of children if need be 
if it's in a createChildren; but if it's in a constructor, you have no 
choice; doing var a:A = new A(); suddenly has a lot of overhead.

Not sure why you're getting an exception, though, sorry.

- Original Message - 
From: Sergey Kovalyov [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 19, 2006 10:31 AM
Subject: Re: [flexcoders] addChild() in constructor?


Actually, I found this approach in IPE Controls by Ely Greenfield
(http://demo.quietlyscheming.com/IPE/). There are classes like this
there:

package qs.ipeControls
{
import qs.ipeControls.classes.IPESlider;
import mx.controls.HSlider;

public class IPEHSlider extends IPESlider
{
public function IPEHSlider():void
{
super();
editableControl = new HSlider();
}
}
}

In superclass IPESlider, editableControl setter is defined this way:

protected function set editableControl(value:UIComponent):void
{
if(_editableControl != null)
removeChild(_editableControl);
_editableControl = value;
_editableControl.styleName = this;
addChild(_editableControl);
_editableControl.visible = _editable;
facadeEvents(_editableControl,dataChange);

_editableControl.addEventListener(FocusEvent.FOCUS_OUT,commitOnBlurHandler);

invalidateDisplayList();
}

And it works... What's wrong?

On 7/19/06, JesterXL [EMAIL PROTECTED] wrote:
 You're not supposed to create and add children in the constructor.  Do it 
 in
 createChildren, like this:

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

 if ( my_txt == null)
 {
 my_txt = new TextInput();
 addChild ( my_txt );
 }
 }

 More info here:
 http://www.flex.org/ACDS/BuildingAFlexComponent.pdf



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








 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] initial loader color/style

2006-07-19 Thread Sam Shrefler



Hank:

In my main application tag i put:

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute backgroundColor=#(YOURCOLOR)
I also add a CSS entry...

mx:StyleApplication {theme-color: #789789;backgroundGradientColors: #123123, #789789;}
/mx:Style

Hope this helps

Sam


On 7/19/06, hank williams [EMAIL PROTECTED] wrote:






There is a default setting for the background color and style of the loader that you see before your app opens. Where can I change this?Hank 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] initial loader color/style

2006-07-19 Thread hank williams



Thanks!On 7/19/06, Dirk Eismann [EMAIL PROTECTED] wrote:
You'll have to create your own loader by subclassingmx.preloaders.DownloadProgressBar and then point the preloader propertyof your Application class to your subclass.Dirk.
From: flexcoders@yahoogroups.com[mailto:flexcoders@yahoogroups.com] On Behalf Of hank williamsSent: Wednesday, July 19, 2006 3:38 PM
To: flexcoders@yahoogroups.comSubject: [flexcoders] initial loader color/styleThere is a default setting for the background color and style of
the loader that you see before your app opens. Where can I change this?Hank Yahoo! Groups Sponsor ~--See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM~---
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/
* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Form submission with multiple select

2006-07-19 Thread dadrobson
I've searched the docs and the list, but I can't for the life of me
find out how to submit the value of a multiple-select list to an
action page.

The best way I know to explain the problem is to put it in terms of
plain old HTML. Suppose you have a multiple select list on an HTML form:

select multiple value=items
optionWallet/option
optionBelt/option
optionHat/option
/select

If the user selects wallet and hat, the following will be submitted to
the form's action page:

?items=Walletitems=Hat

Quetion: How do I emulate this when calling an action page via a Flex
HTTPService object? 

This is what I've tried so far: 

1. Create a Flex List object with allowMultipleSelection = true
2. In the ActionScript that invokes the HTTPService, I put something
like the following:

var params:Object = new Object();
params.items = listControlInstance.selectedItems;
httpServiceInstance.send(params);

What Flex submits to the action page is the following:

?items=Wallet,Hat

...which breaks the action page. 
What is the correct way of doing this?





 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: HTTPService in components

2006-07-19 Thread mcmcbrianfarrell
Tom,

Absolutely right. I had the line outside of the first container 
object. As soon as I moved it within my first box it worked fine.

Many thanks to all for their help.






 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Flex 2.0 components and (vision impared) accessability

2006-07-19 Thread stephenmartin2
There is also a chapter in the Flex doc on accessibility. You can find
it here:

http://livedocs.macromedia.com/flex/2/docs/1024.html

Stephen






 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] TODO and FIXME in Builder ?

2006-07-19 Thread Dirk Eismann





No, 
it's not included in Flex Builder 2. 

I 
started developing a plugin extension for Flex Builder 2 that adds this kind of 
functionality to both the MXML and AS editors a while ago but it'sonly 50% 
finished yet. If I find a way to get rid of the"A-day-only-has-24-hours" 
problem then I hope to get it finished and packaged soon but unless it will take 
some time.

Dirk.

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Luc 
  ESSERSent: Wednesday, July 19, 2006 2:49 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] TODO and FIXME in 
  Builder ?
  
  Maybe missed it, but did'nt find anybody asking 
  how to implement the TODO and FIXME tasks in Builder.
  This is a must for every eclipse users, specially 
  when working in teams, but it does not work for mxml or asfiles (maybe 
  they are not parsed).
  Is there a simple way to have it work 
  ?
  
  Thanx,
  JL 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Public list of open issues, available?

2006-07-19 Thread Weyert de Boer
I am curious if anyone know a public list all open issues regarding to 
Flex and Flash both ont he Windows and Macintosch platform. Lately I am 
hitting strange things in Flash or Flex while I would love to know if 
this is a (common) bug or not.

If anyone know such thing please let me know, I think such list will 
help really well.

Yours,
Weyert


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: initial loader color/style

2006-07-19 Thread Michael
--- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote:

 There is a default setting for the background color and style of the
loader
 that you see before your app opens. Where can I change this?
 
 Hank



Hank,

I was just going to ask this same question today.  I thought it was
located in the html page that embeds the Flex swf, but changing the
colors there didn't work for me.  





 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Getting Data Out of Rollovers in TileLists

2006-07-19 Thread Ethan Miller
Greetings -

I'm trying to get data out of a dataProvider (the 'orientation'  
field) used by a tileList, on rollover, not on selection. But, as  
there's no selectedItem in the returned event I'm not sure how to  
reference the rolled over item. The docs suggest using itemRollOver  
but the compiler claims not to know about it...

Here's some sample code (using an alert to see if the data is being  
caught), my question is how to refernce the fields in the  
dataProvider (of the rolled over item) after e.currentTarget ...

mx:Script
![CDATA[
import mx.controls.Alert;
import flash.events.Event;
import mx.events.ListEvent;

private function showInfo(e:Event):void {
Alert.show(e.currentTarget.itemRollOver.orientation, Data  
Found..., Alert.OK);
 }
 ]]
/mx:Script

mx:ArrayCollection id=mediaLibraryDP
mx:Object
orientation=landscape space=RGB date=07/18//2006  
source=Apps/Content/Images/back.png/
mx:Object
orientation=landscape space=RGB date=07/18//2006
source=Apps/Content/Images/side.png/
mx:Object
orientation=landscape space=RGB date=07/18//2006
source=Apps/Content/Images/stomach.png/
mx:Object
orientation=landscape space=RGB date=07/18//2006
source=Apps/Content/Images/couple.png/
/mx:ArrayCollection

mx:TileList
dataProvider={mediaLibraryDP}
rollOver=showInfo(event)
rollOut=hideInfo()

mx:itemRenderer
mx:Component
mx:Image source={data.source}/
/mx:Component
/mx:itemRenderer
/mx:TileList


Thanks!  ethan




 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] repeaterIndices Bug?!

2006-07-19 Thread Steve Cox










All,



When I try to access the repeaterIndices
of a component during debug mode, the flash player will always crash taking IE
or firefox with it.



Ive the following code, the
player will always crash on the 2nd line. event.target.repeaterIndices
appears fine in the _expression_ watcher but as soon as I try to access it
through AS I get bombed out. Theres definitely values
there  I just cannot get to them!?



var selected :
Boolean = event.target.selected;

var arr : Array = event.target.repeaterIndices;

var indexField : Number = arr[0];

var indexItem : Number = arr[1];





In non-debug mode Im getting the following error: 

TypeError: Error
#1010: A term is undefined and has no properties.





Has anyone seen this?!



Steve

 








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Running Flex Data Services apps outside of the server root/flex/ dir

2006-07-19 Thread klumikaze
We've been pulling our hair out trying to figure out how to run
applications outside of the /flex/ dir in our J2EE server.

Currently we're using JBoss, but I would assume that the configuration
is similar across all application servers.

Essentially, what we want to do is create a structure like the second
diagram in the following page (from the Flex 2 documentation):

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1320.html

Can anybody point me to the proper Flex/JBoss or other configuration
files required to create an application at the server root level
without including the FDS libraries underneath? (i.e. using a common
FDS library from /flex/ on the same server).

Any help would be appreciated -- apologize in advance if the question
is a bit confusing.

Thanks,

Brian





 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Run as Flex App - No complaints - No compile

2006-07-19 Thread Allen Riddle












My co-worker is having the same problem.
Mainly, that FlexBuilder wont detect errors in his code. He has an
ActionScript interface, and 3 classes that implement it. Only one class will
show if you have an error in the code, the other 2 implementers wont
show errors, like if you were not implementing a method in the interface.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Angus Johnson
Sent: Wednesday, July 19, 2006
12:06 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Run as
Flex App - No complaints - No compile











Cameron, 

If you have compile time errors Flex Builder wont publish to the bin directory.
Forces you to fix them. If you run the app it will just pull out the previous
working version. 

If there are no compile time errors and still not getting a newer version clean
the project and check your browser cache. You can also manually delete the bin
directory contents. 

Good luck
Angus





On 19/07/06, Cameron
Childress [EMAIL PROTECTED]
wrote:











Using FlexBuilder 2.0 and just testing out some basic
code and think I
must be missing something pretty simple here. I have a really basic
app that I can use flexbuilder to compile just fine. FlexBuilder
builds it and sends me to a URL where it shows up in the web browser
just fine. Then I modify the app in a way that should cause an error,
try to compile it, and FlexBuilder happily sends me to that same URL
without complaint - showing me the previously compiled verion of the
code.

I am sure I'm missing something basic here, but shouldn't Flex
complain in some way if my app fails to compile? Is there an option I
inadvertantly unchecked or something? Anyone else run into this?

-Cameron

-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell: 678.637.5072
aim: cameroncf
email: [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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Flex 1.5: HOWTO specify the MUST inclusion of 0 for fractional numbers smaller than 1 using mx:CurrencyFormatter?

2006-07-19 Thread Andriy Panas
Hello , flexcoders

  I was stumbled upon that all my fractional numbers like 0.25, 0.45,
0.65, etc are displayed after formatting with mx:CurrencyFormatter
like this:

$.25, $.45, $.65

What I want my numbers to be displayed is:

$0.25, $0.45, $.65.

  I cannot find a simple and reliable way to specify the MUST inclusion
of 0 number when using standard mx:CurrencyFormatter. Playing with
currencySymbol=$0 attribute is not a reliable solution, IMHO.

Should I resort to writing my own formatter?


-START of sample code copied from Flex 1.5 help section 
(http://tinyurl.com/jyckh) --

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
!-- Declare a CurrencyFormatter and define parameters. --
   mx:CurrencyFormatter id=Price precision=2
  rounding=none
  decimalSeparatorTo=.
  thousandsSeparatorTo=,
  useThousandsSeparator=true
  useNegativeSign=true
  currencySymbol=$0
  alignSymbol=left /
   mx:Script
  ![CDATA[
 var todaysPrice=0.25;
  ]]
   /mx:Script

   !-- Trigger the formatter while populating a string with data. --
   mx:TextInput text=Today's price is {Price.format(todaysPrice)}. / 

/mx:Application   

---END of sample code copied from Flex 1.5 help section --

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



 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Public list of open issues, available?

2006-07-19 Thread Stephen Gilson





You should probably start with the releases 
notes:

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

Stephen


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Weyert de 
BoerSent: Wednesday, July 19, 2006 8:02 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Public list of open 
issues, available?


I am curious if anyone know a public list all open issues regarding to 
Flex and Flash both ont he Windows and Macintosch platform. Lately I am 
hitting strange things in Flash or Flex while I would love to know if 
this is a (common) bug or not.If anyone know such thing please let 
me know, I think such list will help really 
well.Yours,Weyert
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] How can open a Stream?

2006-07-19 Thread Silpa sirivella
Hi all,
 
I have a requirement to open Steam coming from J2EE layer. More 
clearly, I've MXML file where i'm requesting a servlet using 
HTTPService. Here is the code

mx:HTTPService id=exportRequest useProxy=false 
url=/inventory/search.do showBusyCursor=true
mx:request
ActionExport/Action
exportModepdf/exportMode
/mx:request
/mx:HTTPService

And here is my struts application

ByteArrayOutputStream baos =new ByteArrayOutputStream();

if(exportMode.trim().equalsIgnoreCase(pdf)) {
response.setContentType (application/pdf);
response.setHeader (Content-Disposition, attachment; 
filename=\SearchResults.pdf\);
try{
JasperExportManager.exportReportToPdfStream(jasperPrint, baos);
}catch(JRException jre) {}

response.setContentLength(baos.size());
ServletOutputStream outStream = response.getOutputStream();
baos.writeTo(outStream);
baos.close();
outStream.flush();
it works fine when i made a call from HTML. I've to get a popup 
contains Save Open and Cancel options.
I appreciate any help on this.

-silpa





 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Running Flex Data Services apps outside of the server root/flex/ dir

2006-07-19 Thread klumikaze
Link didn't appear to work... if you click on 'Options for developing
a Flex Data Services application' once you're on that page, you'll see
the second diagram I mean.

Thanks,

Brian

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

 We've been pulling our hair out trying to figure out how to run
 applications outside of the /flex/ dir in our J2EE server.
 
 Currently we're using JBoss, but I would assume that the configuration
 is similar across all application servers.
 
 Essentially, what we want to do is create a structure like the second
 diagram in the following page (from the Flex 2 documentation):
 

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1320.html
 
 Can anybody point me to the proper Flex/JBoss or other configuration
 files required to create an application at the server root level
 without including the FDS libraries underneath? (i.e. using a common
 FDS library from /flex/ on the same server).
 
 Any help would be appreciated -- apologize in advance if the question
 is a bit confusing.
 
 Thanks,
 
 Brian







 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Chart data transitions effects when using AS

2006-07-19 Thread Doug Lowder
The Series class has a showDataEffect.  Ely has some source code 
available at http://demo.quietlyscheming.com/ChartSampler/srcview/ 
that demonstrates how to use it.  Take a look at the 
SeriesInterpolate and LineSeries declarations in 
Interpolate.mxml under examples.effects.


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

 (resent, appears to have vanished)
 If I'm replacing data series' in a Flex 2 Chart with AS:
 
 subChart.series=new Array();
 var sss:LineSeries = new LineSeries();
 sss.yField=Total;
 sss.displayName=IT;
 sss.dataProvider = t;
 subChart.series.push(sss);
 var sss:LineSeries = new LineSeries();
 sss.yField=Total;
 sss.displayName=IT;
 sss.dataProvider = t2;
 subChart.series.push(sss);
 
 How do I get transition effects to appear ? 
 
 Nothing obvious seems to work (a property on subChart.series ? 
Nope, its a 
 plain array) and the docs are fairly silent.
 -- 
 Tom Chiverton
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF.  A list of members is available for inspection at the 
registered office. Any reference to a partner in relation to 
Halliwells LLP means a member of Halliwells LLP. Regulated by the 
Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.







 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: MenuBar itemClicked event not firing

2006-07-19 Thread shahlavi
Thanks Mike. It seems then that the docs are misleading, since it 
clearly states that This event is not dispatched when a user selects 
a menu item of type separator, a menu item that opens a submenu, or a 
disabled menu item, which would lead one to believe that menus 
without submenus do dispatch the itemClicked event. Is this an 
ommision on Adobes part or was this component intented to be used 
with nested menu items only?

The problem with using the click MouseEvent is that the event.target 
object returns an instance of the MenuBarItem which doesn't expose 
any properties or methods to access the original data property of the 
menu item. Have you managed to successfully get at the label or data 
properties through the click event?

Thanks again for you response.

Cheers,

Farid


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

 I just ran into this issue. Apparently menu items refer only to
 submenus. Menus without submenus are not considered menu items are
 therefore do not respond to the itemClicked MenuEvent. However, they
 will respond to the click MouseEvent. So it looks like you'll need 2
 handlers - one for itemClicked and one for click.
 
 -Mike
 --- In flexcoders@yahoogroups.com, shahlavi shahlaf@ wrote:
 
  I have a menubar with menu items which have submenus and some 
that 
  don't. The submenus are firing the itemClicked event as expected, 
  however the menu items which don't have any submenus are not 
firing 
  any events at all! This is directly from the Flex 2 final docs: 
  
  itemClick (MenuEvent.ITEM_CLICK) Dispatched when a user selects 
an 
  enabled menu item of type normal, check, or radio. This event is 
not 
  dispatched when a user selects a menu item of type separator, a 
menu 
  item that opens a submenu, or a disabled menu item.
  
  Here's what my XMLList looks like which I'm using as my 
dataProvider:
  
  private var menubarXML:XMLList =
  
  menuitem label=Local Areas
  menuitem label=Manage Designated Local 
  Areas data=1A/
  menuitem label=Manage Local Area Maps 
  data=1B/
  menuitem label=Manage Local Service 
Terms 
  data=1C/
  /menuitem
  menuitem label=Record Admin
  menuitem label=Manage Reason Not To 
  Display data=2A/
  menuitem label=Manage Type Of Site 
data 
  =2B/
  /menuitem
  menuitem label=Admin
  menuitem label=Manage Accounts 
data=3A/
  menuitem label=Manage Personal Account 
  data =3B/
  /menuitem
  menuitem label=View data=4 /
  menuitem label=Area Switch data=5/
  menuitem label=Logout data=6/
   
  /;
  
  As you can see there are nodes which don't have any children yet 
I'm 
  not recieving any sort of events from these at all.
   
  Has anyone come across this issue at all? Any ideas on what I 
maybe 
  doing wrong?
  
  Any help would be appreciated.
  
  Thanks,
  
  Farid
 







 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Getting Data Out of Rollovers in TileLists

2006-07-19 Thread JesterXL
Maybe event.target.selectedItem?

- Original Message - 
From: Ethan Miller [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, July 18, 2006 6:10 PM
Subject: [flexcoders] Getting Data Out of Rollovers in TileLists


Greetings -

I'm trying to get data out of a dataProvider (the 'orientation'  
field) used by a tileList, on rollover, not on selection. But, as  
there's no selectedItem in the returned event I'm not sure how to  
reference the rolled over item. The docs suggest using itemRollOver  
but the compiler claims not to know about it...

Here's some sample code (using an alert to see if the data is being  
caught), my question is how to refernce the fields in the  
dataProvider (of the rolled over item) after e.currentTarget ...

mx:Script
![CDATA[
import mx.controls.Alert;
import flash.events.Event;
import mx.events.ListEvent;

private function showInfo(e:Event):void {
Alert.show(e.currentTarget.itemRollOver.orientation, Data  
Found..., Alert.OK);
 }
 ]]
/mx:Script

mx:ArrayCollection id=mediaLibraryDP
 mx:Object
orientation=landscape space=RGB date=07/18//2006 
source=Apps/Content/Images/back.png/
 mx:Object
orientation=landscape space=RGB date=07/18//2006
source=Apps/Content/Images/side.png/
 mx:Object
orientation=landscape space=RGB date=07/18//2006
source=Apps/Content/Images/stomach.png/
 mx:Object
orientation=landscape space=RGB date=07/18//2006
source=Apps/Content/Images/couple.png/
/mx:ArrayCollection

mx:TileList
dataProvider={mediaLibraryDP}
rollOver=showInfo(event)
rollOut=hideInfo()
 
mx:itemRenderer
mx:Component
mx:Image source={data.source}/
/mx:Component
/mx:itemRenderer
/mx:TileList


Thanks!  ethan





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



 




 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Flex 1.5: HOWTO specify the MUST inclusion of 0 for fractional numbers smaller than 1 using mx:CurrencyFormatter?

2006-07-19 Thread Doug Lowder
The exact output I get from the sample code is:
 Today's price is $0.25.

There must be something else going on if you are getting different 
results, like no leading 0.

My configuration is:
Windows XP Pro
Flex 1.5 Build 87315.134646 Developer Edition
Tomcat 5.0.19 standalone server


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

 Hello , flexcoders
 
   I was stumbled upon that all my fractional numbers like 0.25, 
0.45,
 0.65, etc are displayed after formatting with 
mx:CurrencyFormatter
 like this:
 
 $.25, $.45, $.65
 
 What I want my numbers to be displayed is:
 
 $0.25, $0.45, $.65.
 
   I cannot find a simple and reliable way to specify the MUST 
inclusion
 of 0 number when using standard mx:CurrencyFormatter. Playing 
with
 currencySymbol=$0 attribute is not a reliable solution, IMHO.
 
 Should I resort to writing my own formatter?
 
 
 -START of sample code copied from Flex 1.5 help section 
(http://tinyurl.com/jyckh) --
 
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 !-- Declare a CurrencyFormatter and define parameters. --
mx:CurrencyFormatter id=Price precision=2
   rounding=none
   decimalSeparatorTo=.
   thousandsSeparatorTo=,
   useThousandsSeparator=true
   useNegativeSign=true
   currencySymbol=$0
   alignSymbol=left /
mx:Script
   ![CDATA[
  var todaysPrice=0.25;
   ]]
/mx:Script
 
!-- Trigger the formatter while populating a string with 
data. --
mx:TextInput text=Today's price is {Price.format
(todaysPrice)}. / 
 
 /mx:Application   
 
 ---END of sample code copied from Flex 1.5 help section ---
---
 
 -- 
 Best regards,
  Andriy  mailto:[EMAIL PROTECTED]








 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Flex 1.5: HOWTO specify the MUST inclusion of 0 for fractional numbers smaller than 1 using mx:CurrencyFormatter?

2006-07-19 Thread JesterXL
Hack:

function format2 ( str ):String
{
var currencyFormattedString = str;
var a = currencyFormattedString.split(.);
currencyFormattedString = currencyFormattedString[0] + 0. + 
currencyFormattedString[1];
}

my_lbl.text = format2 ( $.25 );

- Original Message - 
From: Andriy Panas [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 19, 2006 12:24 PM
Subject: [flexcoders] Flex 1.5: HOWTO specify the MUST inclusion of 0 for 
fractional numbers smaller than 1 using mx:CurrencyFormatter?


Hello , flexcoders

  I was stumbled upon that all my fractional numbers like 0.25, 0.45,
0.65, etc are displayed after formatting with mx:CurrencyFormatter
like this:

$.25, $.45, $.65

What I want my numbers to be displayed is:

$0.25, $0.45, $.65.

  I cannot find a simple and reliable way to specify the MUST inclusion
of 0 number when using standard mx:CurrencyFormatter. Playing with
currencySymbol=$0 attribute is not a reliable solution, IMHO.

Should I resort to writing my own formatter?


-START of sample code copied from Flex 1.5 help section 
(http://tinyurl.com/jyckh) --

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
!-- Declare a CurrencyFormatter and define parameters. --
   mx:CurrencyFormatter id=Price precision=2
  rounding=none
  decimalSeparatorTo=.
  thousandsSeparatorTo=,
  useThousandsSeparator=true
  useNegativeSign=true
  currencySymbol=$0
  alignSymbol=left /
   mx:Script
  ![CDATA[
 var todaysPrice=0.25;
  ]]
   /mx:Script

   !-- Trigger the formatter while populating a string with data. --
   mx:TextInput text=Today's price is {Price.format(todaysPrice)}. /

/mx:Application

---END of sample code copied from Flex 1.5 help section --

-- 
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
Yahoo! Groups Links







 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Flex2: Binding from actionscript

2006-07-19 Thread slangeberg



Not sure if it'll work, but you could try ChangeWatcher.watch().

Scott
On 7/19/06, Alex [EMAIL PROTECTED] wrote:






Hi all,Im trying to translate an mxml binding tag to actionscript :I got this mxml tag:mx:Binding source=model.podManager.getPod( mypodId ).destroy destination=handleDestroy /
and its setter function :private function set handleDestroy( destroy:Boolean ): void {// some code}This works 100%. Im now trying to implement this binding in actionscript. I have tried things like:
BindingUtils.bindSetter( handleDestroy, model.podManager.getPod( mypodId ), destroy, false );and the setter function defined identically and it doesnt compile. It complains about the set in the setter function. Removing 
the set keyword makes it compile but the binding never fires and the function is never executed.What am I doing wrong? How can I make this work? Is there any working example on implementing a binding to setter function in 
actionscript ?I need expert help :)Thank you all in advance. -- : : ) Scott 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] help with XMLList.contains() needed

2006-07-19 Thread djbrown_rotonews
Below is output from my code that represents the elements in an 
XMLList. I'm wanting to determine if the stream contains a cpData 
tag (this one does, not all do) and am having trouble doing so via 
the code attached. Can someone point out my error when using 
XMLList.contains()? I've tried contains with cpData, cpData, 
etc.. and nothing seems to work.

item: intconn dataValue=  severity=0/
item: domconn dataValue=  severity=0/
item: cpData
  crewData arrivalStatus=I crewCount=1 fromDepSta=TUL 
fromFlightNumber=0710 latestArrivalTime=200607190855/
  crewData crewCount=1 fromFlightNumber=ORIG/
/cpData
item: inboundintconn dataValue=  severity=0/
item: inbounddomconn dataValue=  severity=0/
item: inboundarvgate dataValue=C12 severity=0/


public function generateCPMouseOver(data:Object, 
myListData:DataGridListData):String {
var xmlData:XML = XML(data);
var elems:XMLList = xmlData.elements();
var item:XML;

var found:Boolean = false;
for each(item in elems) {
   trace(item:  + item.toXMLString());
   if (item.contains(cpData)) found=true;
}
return found.toString();
}





 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Not acept drag on Tree nodes

2006-07-19 Thread Jesús Iglesias
I have read the docs, but I don't know how to deny drop, there is aa 
acceptDragDrop method, but not anything to deny.


Jesus

- Original Message - 
From: Tom Chiverton [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 19, 2006 1:31 PM
Subject: Re: [flexcoders] Not acept drag on Tree nodes


On Tuesday 18 July 2006 21:19, Jesús Iglesias wrote:
 subnode's drag and drop, from one node to another. The problem is I don't
 know how to reject the drag when your are on a subnode (showing the stop
 signal) and enable it only when you are on a node.

You'll need to write custom drag handling code as per the docs.

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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




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










 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: How can open a Stream?

2006-07-19 Thread Silpa sirivella
I'm getting an ERROR message..

[RPC Fault faultString=Error #1090: XML parser failure: element is 
malformed. faultCode=Client.CouldNotDecode faultDetail=null]
at 
mx.rpc.http::HTTPService/http://www.adobe.com/2006/flex/mx/internal::p
rocessResult()
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::re
sultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at ::DirectHTTPMessageResponder/completeHandler()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEv
entFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

thanks
-silpa
--- In flexcoders@yahoogroups.com, Silpa sirivella [EMAIL PROTECTED] 
wrote:

 Hi all,
  
 I have a requirement to open Steam coming from J2EE layer. More 
 clearly, I've MXML file where i'm requesting a servlet using 
 HTTPService. Here is the code
 
 mx:HTTPService id=exportRequest useProxy=false 
 url=/inventory/search.do showBusyCursor=true
 mx:request
 ActionExport/Action
 exportModepdf/exportMode
 /mx:request
 /mx:HTTPService
 
 And here is my struts application
 
 ByteArrayOutputStream baos =new ByteArrayOutputStream();
 
 if(exportMode.trim().equalsIgnoreCase(pdf)) {
 response.setContentType (application/pdf);
 response.setHeader (Content-Disposition, attachment; 
 filename=\SearchResults.pdf\);
 try{
 JasperExportManager.exportReportToPdfStream(jasperPrint, baos);
 }catch(JRException jre) {}
   
   response.setContentLength(baos.size());
   ServletOutputStream outStream = response.getOutputStream();
   baos.writeTo(outStream);
   baos.close();
   outStream.flush();
 it works fine when i made a call from HTML. I've to get a popup 
 contains Save Open and Cancel options.
 I appreciate any help on this.
 
 -silpa







 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Flex 1.5: HOWTO specify the MUST inclusion of 0 for fractional numbers smaller than 1 using mx:CurrencyFormatter?

2006-07-19 Thread Doug Lowder
... and now I see that I missed the fact that you changed the 
currency symbol in the posted code, which explains the difference.

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

 The exact output I get from the sample code is:
  Today's price is $0.25.
 
 There must be something else going on if you are getting different 
 results, like no leading 0.
 
 My configuration is:
 Windows XP Pro
 Flex 1.5 Build 87315.134646 Developer Edition
 Tomcat 5.0.19 standalone server
 
 
 --- In flexcoders@yahoogroups.com, Andriy Panas dutchman@ wrote:
 
  Hello , flexcoders
  
I was stumbled upon that all my fractional numbers like 0.25, 
 0.45,
  0.65, etc are displayed after formatting with 
 mx:CurrencyFormatter
  like this:
  
  $.25, $.45, $.65
  
  What I want my numbers to be displayed is:
  
  $0.25, $0.45, $.65.
  
I cannot find a simple and reliable way to specify the MUST 
 inclusion
  of 0 number when using standard mx:CurrencyFormatter. Playing 
 with
  currencySymbol=$0 attribute is not a reliable solution, IMHO.
  
  Should I resort to writing my own formatter?
  
  
  -START of sample code copied from Flex 1.5 help section 
 (http://tinyurl.com/jyckh) --
  
  mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  !-- Declare a CurrencyFormatter and define parameters. --
 mx:CurrencyFormatter id=Price precision=2
rounding=none
decimalSeparatorTo=.
thousandsSeparatorTo=,
useThousandsSeparator=true
useNegativeSign=true
currencySymbol=$0
alignSymbol=left /
 mx:Script
![CDATA[
   var todaysPrice=0.25;
]]
 /mx:Script
  
 !-- Trigger the formatter while populating a string with 
 data. --
 mx:TextInput text=Today's price is {Price.format
 (todaysPrice)}. / 
  
  /mx:Application   
  
  ---END of sample code copied from Flex 1.5 help section -
--
 ---
  
  -- 
  Best regards,
   Andriy  mailto:dutchman@
 








 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] compilation error?

2006-07-19 Thread ryanharlin
I'm trying to set up and run the CRM coldfusion example from the adobe
dev website.  Everything seems to go well and I can run the .cfm files
to access the datasource in a traditional coldfusion setting.  But
when i try to run the .mxml file (the last step of the tutorial) I get
the following error:

1 Exception found.

Exception flex.messaging.config.ConfigurationException
Configuration error encountered on line 9, column 52: 'Open quote
is expected for attribute class.'

What would this mean and how would I fix it?  I'm new to coldfusion
and flex.  I love flex and the mxml language but I'm finding the
documentation on Flex Data Services to be a little lacking in detail.
 I can't wait for the first flex books to come out.

Thanks to all for any help!





 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] (Article with Demo Code) ADO.net Programming Style

2006-07-19 Thread CodeGuru Dot Net



Hello Friends,I have uploaded a article with demo code explaining ADO.net programming style. To read and download article logon to...http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=10txtCodeId=4889Project is all about ADO.net Programming Style. That is how to code database programming efficiently to avoid errors and which is equivalent to industry standard. This Code is a Layered Design, that is how User Interface conects with Database Layer. Layered Design is been explained with a simple example (please read README file). If you enjoy the code encourage me with your vote, to share more such programming style. I would like to hear your valuable comments to improve programming style.  http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=10txtCodeId=4889Please do vote for me if you really enjoyed my work.Thanks 
	

	
		 
Find out what India is talking about on Yahoo! Answers India. 
Send FREE SMS from New Yahoo! Messenger to Mobile: Download NOW!
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Are there any good flash fonts that will work well in flex

2006-07-19 Thread Kevin Mulvihill





mini-7 is a font. you can find it at myfonts.com. uni 05_53 
is also a font but it's not at myfonts.com. (i kind of like suprexy ce; any 
comments on this font?) saffron is a font rendering engine, not a 
font.

what i'm wondering is, is there a standard for font size in 
interfaces? mini-7 is a 7 point font - it seems too small. are there any 
standards / best practices in this area? i know sans-serif is a standard, just 
not sure about the size.

also, why are pixel fonts better? and who would have the 
best selection of them?

thanks,
kevin



  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of hank 
  williamsSent: Tuesday, July 18, 2006 4:44 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Are there any 
  good flash fonts that will work well in flex
  
  
  Sorry Jesse, but I didnt quite understand what you were saying.is 
  mini-7 a font? Where can I find it? Same for uni 05_53?And I assume 
  saffron is a truetype font and you are saying even though it is a truetype 
  font that it works really well in small type. Is that right? 
  Hank.
  On 7/18/06, JesterXL  [EMAIL PROTECTED] wrote:
  

I believe you are correct; advanced anti-alias 
only works on embedded fonts.

If you don't embed the fonts, however, there is 
no guarentee the user has them, thus they can't be seen unless you embed 
them.

If you are looking for small fonts, yeah man, 
I'd stick with bitmap fonts, like mini-7; he's pretty cool, or uni 
05_53. Still, Saffron does work on smaller fonts better than Flash 7's 
"small type", so not really a need for bitmap fonts unless you want to port 
your style to Flash Lite later on. Besides, you can turn off the 
advanced anti-alising if you don't like it on a specific 
control.

I couldn't get Machine gun to work because he's 
an otf (Open Type Font), but Skannerz looks hot.


- Original Message - 
From: hank williams 
To: flexcoders@yahoogroups.com 

Sent: Tuesday, July 18, 2006 4:37 PM
Subject: Re: [flexcoders] Are there any good flash fonts that 
will work well in flex


I have experimented extensively with fonts in flash 8 and in 
flex and while they look better than flash 7, there is nothing like pixel 
fonts for interface. Of course also probably a lot is dependent on the 
specific true type font. I would imagine that some work better than others, 
but I am not satisfied with what I have been seeing, hence the desire for 
some crispness. By the way, I dont think advanced anit-alias works on device 
fonts, only embedded. But thanks for the font references. Have you 
tried any of these in flex?RegardsHank
On 7/18/06, JesterXL  
[EMAIL PROTECTED]  wrote: 

  
  
  Keep in mind Flash Player 9 supports Flash 
  Player 8's new Saffron font engine. So, if you embed the font in 
  your CSS, you can use the mofo, and she'll look hot. Don't forget to 
  turn advanced anti-aliasing on. I believe Flex 2 utilizes _sans; 
  which is basically Verdana (device font). Anyone confirm / 
  deny?
  
  Here's some good fonts:
  
  http://www.synfonts.com 
  
  
  http://www.myfonts.com 
  
  
  Careful... you can't buy just 
  one...
  
  
  - 
  Original Message - 
  From: hank williams 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, July 18, 2006 4:01 PM
  Subject: [flexcoders] Are there any good flash fonts that will 
  work well in flex
  One of the key things to defining an apps look and feel is 
  fonts. But I find that truetype fonts just dont come out looking as good 
  as flex's built in bitmap font. But I really dont want to look like every 
  other application. In flash I know there are companies that sell great 
  fonts, but I am wondering if anyone has anyone has any specific experience 
  because working with some of the fonts I am familiar with you had to be 
  careful to, for example, always specify one font size. Anyway, any 
  recomendations would be appreciated.Hank
  

  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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

Re: [flexcoders] Getting Data Out of Rollovers in TileLists

2006-07-19 Thread Ethan Miller
selectedItem doesn't work because no item is selected, it was only  
rolled over. Surely there's a way to catch the data of a rolled over  
item? Anyone?

cheers, ethan

 Maybe event.target.selectedItem?

 - Original Message -
 From: Ethan Miller [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, July 18, 2006 6:10 PM
 Subject: [flexcoders] Getting Data Out of Rollovers in TileLists

 Greetings -

 I'm trying to get data out of a dataProvider (the 'orientation'
 field) used by a tileList, on rollover, not on selection. But, as
 there's no selectedItem in the returned event I'm not sure how to
 reference the rolled over item. The docs suggest using itemRollOver
 but the compiler claims not to know about it...

 Here's some sample code (using an alert to see if the data is being
 caught), my question is how to refernce the fields in the
 dataProvider (of the rolled over item) after e.currentTarget ...

 mx:Script
 ![CDATA[
 import mx.controls.Alert;
 import flash.events.Event;
 import mx.events.ListEvent;

 private function showInfo(e:Event):void {
 Alert.show(e.currentTarget.itemRollOver.orientation, Data
 Found..., Alert.OK);
 }
 ]]
 /mx:Script

 mx:ArrayCollection id=mediaLibraryDP
 mx:Object
 orientation=landscape space=RGB date=07/18//2006
 source=Apps/Content/Images/back.png/
 mx:Object
 orientation=landscape space=RGB date=07/18//2006
 source=Apps/Content/Images/side.png/
 mx:Object
 orientation=landscape space=RGB date=07/18//2006
 source=Apps/Content/Images/stomach.png/
 mx:Object
 orientation=landscape space=RGB date=07/18//2006
 source=Apps/Content/Images/couple.png/
 /mx:ArrayCollection

 mx:TileList
 dataProvider={mediaLibraryDP}
 rollOver=showInfo(event)
 rollOut=hideInfo()

 mx:itemRenderer
 mx:Component
 mx:Image source={data.source}/
 /mx:Component
 /mx:itemRenderer
 /mx:TileList

 Thanks! ethan

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


 



 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Flex 1.5: HOWTO specify the MUST inclusion of 0 for fractional numbers smaller than 1 using mx:CurrencyFormatter?

2006-07-19 Thread Doug Lowder
I see Jester already beat me to it, but here's another potential 
solution:

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
!-- Declare a CurrencyFormatter and define parameters. --
mx:CurrencyFormatter id=Price precision=2
rounding=none
decimalSeparatorTo=.
thousandsSeparatorTo=,
useThousandsSeparator=true
useNegativeSign=true
currencySymbol=$
alignSymbol=left /
mx:Script
![CDATA[
import mx.formatters.CurrencyFormatter;

var todaysPrice=0.25;

function formatPrice(cf: CurrencyFormatter, n: Number) : String {
var s: String = cf.format(n);
return (s.charAt(1) != .)? s : cf.currencySymbol + 0. + 
s.substr(2);
}
]]
/mx:Script

!-- Trigger the formatter while populating a string with data. --
mx:TextInput text=Today's price is {formatPrice(Price, 
todaysPrice)}. /

/mx:Application


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

 ... and now I see that I missed the fact that you changed the 
 currency symbol in the posted code, which explains the difference.
 
 --- In flexcoders@yahoogroups.com, Doug Lowder douglowder@ 
 wrote:
 
  The exact output I get from the sample code is:
   Today's price is $0.25.
  
  There must be something else going on if you are getting 
different 
  results, like no leading 0.
  
  My configuration is:
  Windows XP Pro
  Flex 1.5 Build 87315.134646 Developer Edition
  Tomcat 5.0.19 standalone server
  
  
  --- In flexcoders@yahoogroups.com, Andriy Panas dutchman@ 
wrote:
  
   Hello , flexcoders
   
 I was stumbled upon that all my fractional numbers like 
0.25, 
  0.45,
   0.65, etc are displayed after formatting with 
  mx:CurrencyFormatter
   like this:
   
   $.25, $.45, $.65
   
   What I want my numbers to be displayed is:
   
   $0.25, $0.45, $.65.
   
 I cannot find a simple and reliable way to specify the MUST 
  inclusion
   of 0 number when using standard mx:CurrencyFormatter. 
Playing 
  with
   currencySymbol=$0 attribute is not a reliable solution, IMHO.
   
   Should I resort to writing my own formatter?
   
   
   -START of sample code copied from Flex 1.5 help section 
  (http://tinyurl.com/jyckh) --
   
   mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
   !-- Declare a CurrencyFormatter and define parameters. --
  mx:CurrencyFormatter id=Price precision=2
 rounding=none
 decimalSeparatorTo=.
 thousandsSeparatorTo=,
 useThousandsSeparator=true
 useNegativeSign=true
 currencySymbol=$0
 alignSymbol=left /
  mx:Script
 ![CDATA[
var todaysPrice=0.25;
 ]]
  /mx:Script
   
  !-- Trigger the formatter while populating a string with 
  data. --
  mx:TextInput text=Today's price is {Price.format
  (todaysPrice)}. / 
   
   /mx:Application   
   
   ---END of sample code copied from Flex 1.5 help section ---
--
 --
  ---
   
   -- 
   Best regards,
Andriy  mailto:dutchman@
  
 







 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Actionscript Help

2006-07-19 Thread s_hernandez01
Well, I am still new to Flex so I'm having trouble understanding what
you all are saying.  However, below is a link that has my app online
so you get an idea of what is going into the cart (just right click to
view the source).  Now, I created a form below the datagrid that
totals all my items when they are dropped in the cart.  I receive no
errors when saved, but when I run the app, it returns NaN in the
label of the form.  Why would this occur and what approach do I need
to take to correct this error?  Thanks for listening.

Sal


http://flex.work.iotashan.com/salShoppingCart/flexcodersHelp.html

  mx:Script
  ![CDATA[
  import mx.collections.ArrayCollection;
  import mx.events.IndexChangedEvent;
  import mx.formatters.CurrencyFormatter;
  import mx.effects.*;
  import mx.core.*;
  import mx.controls.NumericStepper;
  
  [Bindable]
  public var myDP:ArrayCollection = new ArrayCollection();
  [Bindable]
  public var total:Number = 0;
  
  public function addItem(item:Object):void{
  myDP.addItem(item);
  calculateTotal();
  }
  
  private function calculateTotal():void{
  for (var i:int=0; i  myDP.length; i++) {
  total += myDP[i].price * myDP[i].quantity;
  } 
  }
  ]]
  /mx:Script
  
  mx:DataGrid width=100% textAlign=center height=100%
  id=content dropEnabled=true dataProvider={myDP}
  mx:columns
  mx:DataGridColumn headerText= dataField=image
  itemRenderer=mx.controls.Image width=25/
  mx:DataGridColumn headerText=Product dataField=name/
  mx:DataGridColumn id=productQuantity headerText=Qty
  dataField=quantity rendererIsEditor=true
  itemRenderer=mx.controls.NumericStepper editorDataField=value/
  mx:DataGridColumn id=productPrice headerText=Price
  dataField=price/
  /mx:columns
  /mx:DataGrid
  
  mx:Form verticalGap=0 paddingRight=0 borderStyle=outset
  
  mx:FormItem label=Total: color=#ff borderStyle=inset
  
  mx:Label id=extPrice width=70 text={total} 
 textAlign=right/
  
  /mx:FormItem
  /mx:Form
 








 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] compilation error?

2006-07-19 Thread Cathy Reilly
Check your /WEB-INF/flex/services-config.xml file (or one of the files
referenced in the services-config.xml service-include section) for the
error.

- Cathy 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ryanharlin
Sent: Wednesday, July 19, 2006 12:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] compilation error?

I'm trying to set up and run the CRM coldfusion example from the adobe
dev website.  Everything seems to go well and I can run the .cfm files
to access the datasource in a traditional coldfusion setting.  But
when i try to run the .mxml file (the last step of the tutorial) I get
the following error:

1 Exception found.

Exception flex.messaging.config.ConfigurationException
Configuration error encountered on line 9, column 52: 'Open quote
is expected for attribute class.'

What would this mean and how would I fix it?  I'm new to coldfusion
and flex.  I love flex and the mxml language but I'm finding the
documentation on Flex Data Services to be a little lacking in detail.
 I can't wait for the first flex books to come out.

Thanks to all for any help!






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



 





 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Running Flex Data Services apps outside of the server root/flex/ dir

2006-07-19 Thread Dave Wolf
Brian, 

I am a little confused by your question.  You seem to indicate you
want to have a seperate web application for the FDS services from
where the Flex/Flash application lives.  Then you kind of confuse me
when you say you want a shared library.

The idea is that /flex is where FDS lives, and you can then create
/snoopy and put your web applications under there.  Thats not quite
what I would call a shared library.  The /flex web app contains the
FDS services and associated libraries.  The /snoopy web app contains
your swfs and assets and connects to the services at /flex as needed. 

What errors are you seeing?

Is what you are really saying that you just dont want the FDS web app
named /flex?


-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


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

 Link didn't appear to work... if you click on 'Options for developing
 a Flex Data Services application' once you're on that page, you'll see
 the second diagram I mean.
 
 Thanks,
 
 Brian
 
 --- In flexcoders@yahoogroups.com, klumikaze dunphy@ wrote:
 
  We've been pulling our hair out trying to figure out how to run
  applications outside of the /flex/ dir in our J2EE server.
  
  Currently we're using JBoss, but I would assume that the configuration
  is similar across all application servers.
  
  Essentially, what we want to do is create a structure like the second
  diagram in the following page (from the Flex 2 documentation):
  
 

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1320.html
  
  Can anybody point me to the proper Flex/JBoss or other configuration
  files required to create an application at the server root level
  without including the FDS libraries underneath? (i.e. using a common
  FDS library from /flex/ on the same server).
  
  Any help would be appreciated -- apologize in advance if the question
  is a bit confusing.
  
  Thanks,
  
  Brian
 







 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Re: printing/zooming bugs

2006-07-19 Thread Pan Troglodytes



Since seeing is believing, have a video:http://rapidshare.de/files/26310210/zoombug.wmv.htmlOn 7/19/06, 
Peter Blazejewicz [EMAIL PROTECTED] wrote:













  



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

 If you go to http://www.adobe.com/shockwave/welcome/

 
 in the flash player about does it show 9,0,16,0 ?
 
 -sam
 
Hi sam,

I've submitted that as serious usability issue to Flex QA team during
beta and haven't got any
confirmation yet,
just tried any sample, eg. from that page:
http://labs.adobe.com/showcase/special/flexderby/

click Zoom In (say I'm impared person and do want to read some text)
and then try to see all content again,
tested with *.16 public plugin in FireFox (IExplorer hosts development
plugin),
that's not the only issue I know that is not fixed and not listed in
know issues I think,

regards,
Peter


  













-- Jason

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Running Flex Data Services apps outside of the server root/flex/ dir

2006-07-19 Thread klumikaze
Hey Dave,

Sorry for the confusion. :)

Basically what we want, is to have a /flex/ directory where the FDS
libraries exist, and then have web applications at the server root
level that are Flex based. 

An example:

We want to have a directory under our server root called 'myApp' with
a file called 'main.mxml'. We then want to be able to access
http://www.mydomain.com/myApp/main.mxml and have it use the FDS
libraries and compile the app properly.

Essentially the behavior we're seeing is that any application that's
not a subdir of the /flex/ directory, when referencing mxml files that
is, prompts us to download the mxml file (I assume because it doesn't
understand what to do with the MXML mime type).

Does that clarify it at all?

Thanks Dave,

Brian

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

 Brian, 
 
 I am a little confused by your question.  You seem to indicate you
 want to have a seperate web application for the FDS services from
 where the Flex/Flash application lives.  Then you kind of confuse me
 when you say you want a shared library.
 
 The idea is that /flex is where FDS lives, and you can then create
 /snoopy and put your web applications under there.  Thats not quite
 what I would call a shared library.  The /flex web app contains the
 FDS services and associated libraries.  The /snoopy web app contains
 your swfs and assets and connects to the services at /flex as needed. 
 
 What errors are you seeing?
 
 Is what you are really saying that you just dont want the FDS web app
 named /flex?
 
 
 -- 
 Dave Wolf
 Cynergy Systems, Inc.
 Adobe Flex Alliance Partner
 http://www.cynergysystems.com
 http://www.cynergysystems.com/blogs
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY
 
 
 --- In flexcoders@yahoogroups.com, klumikaze dunphy@ wrote:
 
  Link didn't appear to work... if you click on 'Options for developing
  a Flex Data Services application' once you're on that page, you'll see
  the second diagram I mean.
  
  Thanks,
  
  Brian
  
  --- In flexcoders@yahoogroups.com, klumikaze dunphy@ wrote:
  
   We've been pulling our hair out trying to figure out how to run
   applications outside of the /flex/ dir in our J2EE server.
   
   Currently we're using JBoss, but I would assume that the
configuration
   is similar across all application servers.
   
   Essentially, what we want to do is create a structure like the
second
   diagram in the following page (from the Flex 2 documentation):
   
  
 

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1320.html
   
   Can anybody point me to the proper Flex/JBoss or other configuration
   files required to create an application at the server root level
   without including the FDS libraries underneath? (i.e. using a common
   FDS library from /flex/ on the same server).
   
   Any help would be appreciated -- apologize in advance if the
question
   is a bit confusing.
   
   Thanks,
   
   Brian
  
 








 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Getting Data Out of Rollovers in TileLists

2006-07-19 Thread JesterXL
You said you tried itemRollOver, but in the code, you are using rollOver, 
not itemRollOver as the event for TileList.

- Original Message - 
From: Ethan Miller [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 19, 2006 12:58 PM
Subject: Re: [flexcoders] Getting Data Out of Rollovers in TileLists


selectedItem doesn't work because no item is selected, it was only
rolled over. Surely there's a way to catch the data of a rolled over
item? Anyone?

cheers, ethan

 Maybe event.target.selectedItem?

 - Original Message -
 From: Ethan Miller [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, July 18, 2006 6:10 PM
 Subject: [flexcoders] Getting Data Out of Rollovers in TileLists

 Greetings -

 I'm trying to get data out of a dataProvider (the 'orientation'
 field) used by a tileList, on rollover, not on selection. But, as
 there's no selectedItem in the returned event I'm not sure how to
 reference the rolled over item. The docs suggest using itemRollOver
 but the compiler claims not to know about it...

 Here's some sample code (using an alert to see if the data is being
 caught), my question is how to refernce the fields in the
 dataProvider (of the rolled over item) after e.currentTarget ...

 mx:Script
 ![CDATA[
 import mx.controls.Alert;
 import flash.events.Event;
 import mx.events.ListEvent;

 private function showInfo(e:Event):void {
 Alert.show(e.currentTarget.itemRollOver.orientation, Data
 Found..., Alert.OK);
 }
 ]]
 /mx:Script

 mx:ArrayCollection id=mediaLibraryDP
 mx:Object
 orientation=landscape space=RGB date=07/18//2006
 source=Apps/Content/Images/back.png/
 mx:Object
 orientation=landscape space=RGB date=07/18//2006
 source=Apps/Content/Images/side.png/
 mx:Object
 orientation=landscape space=RGB date=07/18//2006
 source=Apps/Content/Images/stomach.png/
 mx:Object
 orientation=landscape space=RGB date=07/18//2006
 source=Apps/Content/Images/couple.png/
 /mx:ArrayCollection

 mx:TileList
 dataProvider={mediaLibraryDP}
 rollOver=showInfo(event)
 rollOut=hideInfo()

 mx:itemRenderer
 mx:Component
 mx:Image source={data.source}/
 /mx:Component
 /mx:itemRenderer
 /mx:TileList

 Thanks! ethan

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







 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Re: Change graphical skin of a button control at runtime?

2006-07-19 Thread User ABC



I got the same error message. Do you have any luck?Thank you.Lance Linder [EMAIL PROTECTED] wrote:  I will have to give this a try again. The first time I tried something like this I received cast errors saying that I couldn’t cast type Bitmap to type Class. I haven’t seen anything in the docs about this but I will dig some more in
 hopes there is something in there.Thanks,  LanceFrom: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXLSent: Monday, July 17, 2006 10:27 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Change graphical skin of a button control at runtime?There should be an example in the docs.- use Loader; load in the bitmap- cast the loader.content to Class- pass that in as:my_btn.setStyle("upSkin", loadedContent);- Original Message - From: Lance Linder To: flexcoders@yahoogroups.com Sent: Monday, July 17, 2006 7:07 PMSubject: RE: [flexcoders] Re: Change graphical skin of a button control at runtime?Nice example. Only thing is that you have to embed all resources even if they aren’t used. Also adding resources would required a recompile.So far I have gotten to the point that I can load in a CSS file at run time and change styles but I haven’t figured out a way to load in even a JPG at runtime and use as a new skin without embedding it in the application.LanceFrom: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tim HoffSent: Monday, July 17, 2006 5:19 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Change graphical skin of a button control at runtime?  Hi Guys,  You can change styles at run-time by changing the styleName property, or by using setStyle(). Styles can be mxml tags or declared in CSS.mx:Style .myCustomButton1 { overIcon:Embed("overIconImage1.gif"); upIcon:Embed(source="upIconImage1.gif"); downIcon:Embed(source="downIconImage1.gif"); }/mx:Stylemx:Style .myCustomButton2 { overIcon:Embed("overIconImage2.gif"); upIcon:Embed(source="upIconImage2.gif"); downIcon:Embed(source="downIconImage2.gif"); }/mx:Stylemx:Button id="myButton" label="Icon Button" styleName="myCustomButton1"/  Change in AS at
 run-time:  myButton.styleName = "myCustomButton2";  -TH  --- In flexcoders@yahoogroups.com, "Lance Linder" [EMAIL PROTECTED] wrote: I have been looking into this exact same thing for the last couple of days and I haven't found a way to do it yet either. Seems like this isn't possible but maybe there is some obscure way of doing it that I haven't tried yet?  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of user_abcxyz Sent:
 Monday, July 17, 2006 3:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Change graphical skin of a button control at runtime?Is it possible? I want to allow the user at runtime can change the  existent graphical skin of a button, however I am not sure if it's  possible in Flex. Please help and give me some snippet code to  demonstrate.  Thank you. 
		Yahoo! Music Unlimited - Access over 1 million songs.
Try it free. 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Flex and CF

2006-07-19 Thread dcooper2025
People seem to think they need to jam FDS into the CF instance to 
get them to work together for some reason, likely because that's the 
main config setup with CF + Flex 1.5, but that's not necessary at 
all any longer with Flex 2 FDS. 

With Flex 2 and FDS, you absolutely do not need FDS installed into 
the CF app instance for things to work.  We designed them to live 
together on the same machine or seperately on different 
machines/instances, but we didn't spend much time on the case where 
people would try to get FDS inserted into the CF instance itself.  I 
suppose there are valid arguments for wanting to do this, but with 
the RMI interface between the two now with Flex 2, and the existing 
Flex 1.5 bits already living in the CF7 instance for CF7 Flash 
Forms, etc (and the potential for conflict between Flex 1.5 and Flex 
2 bits in package names, etc, etc), we thought it best to recommend 
the use case where CF and Flex 2 FDS are not living in the same 
webapp instance.

Hopefully that makes sense.

Damon
  

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

 Damon,
 
 When you say, They live nicely side-by-side, how is Coldfusion
 loaded? Built-in Web Server, Multiserver (JRUN4), Using IIS or 
Apache?
 Do they work side-by-side if CF is loaded with JRUN and FDS is 
loaded
 with JRUN too, on the same machine?
 
 Coldfusion developers everywhere are having issues getting FDS 
Express
 to work with CF. Sure we can update CF to 7.0.2. We can even 
install
 FDS. That's easy. But logic identifies one similarity between CF 
and
 FDS...ah, they both use JRun. So logic says, they should be able to
 use the same JRun installation; have one single JRun folder. Is 
that
 not the case? (I've seen the technote that has us combining web.xml
 files, coping over other files to the lib folder, etc...but that
 technote is bogus.)
 
 Thanks,
 
 Jim Pickering
 --- In flexcoders@yahoogroups.com, dcooper2025 dcooper@ wrote:
 
  Specifically, you can just install Flex Enterprise Services on a 
  J2EE server on the same machine as CF, configure everything and 
  you're good to go.  They live very nicely side-by-side.
  
  FYI, we've made the CF 7.0.2 doc for CF/Flex 2 integration 
available 
  online where you can quickly reference it as needed 
  
  http://www.adobe.com/go/cfmx702docs 
  
  and the ColdFusion 7.0.2 install instructions are here: 
  
  http://www.adobe.com/go/flex2_cf_installation 
  
  HTH
  
  Damon
  
  --- In flexcoders@yahoogroups.com, Brian Holmes bholme@ 
wrote:
  
   Hi everyone,
Can anyone point me in the right direction of getting CF and 
FDS 
  up on
   the same server, as it would be on production server. A 
deployment 
  guide
   or old thread would be nice. Specifically I'm trying to load 
flex
   applications and widgets in our already established CF 
framewok.


   Thanks,
   Brian
   
   
   ***
   The information in this e-mail is confidential and intended 
solely 
  for the individual or entity to whom it is addressed.  If you 
have 
  received this e-mail in error, please notify the sender by 
return e-
  mail, delete this e-mail, and refrain from any disclosure or 
action 
  based on the information.
   ***
  
 








 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Are there any good flash fonts that will work well in flex

2006-07-19 Thread hank williams



Pixel fonts are better because there is no uncertainty about how the font will be rendered. Some human being looked at each letter and decided what pixels should be on and off for a specific size. This is critical for fonts in user interfaces where the algortithms for converting from font outlines in truetype are not as good as the human eye.
In the past I have used fontsforflash.com, but as I remember it they dont do fonts in multiple sizes and you have to tell everything it has to be 8 point. I am not sure how this would play in flex. But they have something called super pixel fonts which are fonts that are hand rendered but have anti aliasing.
So I guess at this point I will just try some of the fonts at fontsforflash and see if I can make it look good in flex.Regarding standards for fonts in interfaces 7 is way too small. On my PC it looks acceptable, on my macbook I need a microscope. I would like to see some *slightly* larger fonts than flex uses available that look good. If you increase the fontsize in flex, the default font(verdana I guess) starts to look ugly.
RegardsHankOn 7/19/06, Kevin Mulvihill [EMAIL PROTECTED] wrote:







mini-7 is a font. you can find it at 
myfonts.com. uni 05_53 
is also a font but it's not at myfonts.com. (i kind of like suprexy ce; any 
comments on this font?) saffron is a font rendering engine, not a 
font.

what i'm wondering is, is there a standard for font size in 
interfaces? mini-7 is a 7 point font - it seems too small. are there any 
standards / best practices in this area? i know sans-serif is a standard, just 
not sure about the size.

also, why are pixel fonts better? and who would have the 
best selection of them?

thanks,
kevin



  
  
  From: flexcoders@yahoogroups.com
 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of hank 
  williamsSent: Tuesday, July 18, 2006 4:44 PMTo: 
  flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Are there any 
  good flash fonts that will work well in flex
  
  
  Sorry Jesse, but I didnt quite understand what you were saying.is 
  mini-7 a font? Where can I find it? Same for uni 05_53?And I assume 
  saffron is a truetype font and you are saying even though it is a truetype 
  font that it works really well in small type. Is that right? 
  Hank.
  On 7/18/06, JesterXL 
 [EMAIL PROTECTED] wrote:
  

I believe you are correct; advanced anti-alias 
only works on embedded fonts.

If you don't embed the fonts, however, there is 
no guarentee the user has them, thus they can't be seen unless you embed 
them.

If you are looking for small fonts, yeah man, 
I'd stick with bitmap fonts, like mini-7; he's pretty cool, or uni 
05_53. Still, Saffron does work on smaller fonts better than Flash 7's 
small type, so not really a need for bitmap fonts unless you want to port 
your style to Flash Lite later on. Besides, you can turn off the 
advanced anti-alising if you don't like it on a specific 
control.

I couldn't get Machine gun to work because he's 
an otf (Open Type Font), but Skannerz looks hot.


- Original Message - 
From: 
hank williams 
To: 
flexcoders@yahoogroups.com 

Sent: Tuesday, July 18, 2006 4:37 PM
Subject: Re: [flexcoders] Are there any good flash fonts that 
will work well in flex


I have experimented extensively with fonts in flash 8 and in 
flex and while they look better than flash 7, there is nothing like pixel 
fonts for interface. Of course also probably a lot is dependent on the 
specific true type font. I would imagine that some work better than others, 
but I am not satisfied with what I have been seeing, hence the desire for 
some crispness. By the way, I dont think advanced anit-alias works on device 
fonts, only embedded. But thanks for the font references. Have you 
tried any of these in flex?RegardsHank
On 7/18/06, JesterXL 
 
[EMAIL PROTECTED]  wrote: 

  
  
  Keep in mind Flash Player 9 supports Flash 
  Player 8's new Saffron font engine. So, if you embed the font in 
  your CSS, you can use the mofo, and she'll look hot. Don't forget to 
  turn advanced anti-aliasing on. I believe Flex 2 utilizes _sans; 
  which is basically Verdana (device font). Anyone confirm / 
  deny?
  
  Here's some good fonts:
  
  
http://www.synfonts.com 
  
  
  
http://www.myfonts.com 
  
  
  Careful... you can't buy just 
  one...
  
  
  - 
  Original Message - 
  From: 
hank williams 
  To: 
flexcoders@yahoogroups.com 
  Sent: Tuesday, July 18, 2006 4:01 PM
  Subject: [flexcoders] Are there any good flash fonts that will 
  work well in flex
  One of the key things to defining an apps look and feel is 
  fonts. But I find that truetype fonts just dont come out looking as good 
  as flex's built in bitmap font. 

[flexcoders] RemoteObjects - ActionScript parameters

2006-07-19 Thread Mike Anderson
Hello All,

I am finally getting time to dive into my Flex 2.0 programming, and
RemoteObjects are at the top of my list.

I simply don't have the funds for FDS, so I just need to master the
basic built-in down and dirty methods of doing basic Remoting inside
of Flex 2.0.

Coming from the Flash world, I was able to directly code my Remoting
parameters with the address of the Remoting server - i.e.
http://www.abc.com/flashservices/gateway; - and then specify the
service name.

It looks like in Flex, you can't directly do that in code - you must
reference a pre-existing service that exists in some config.xml file on
the server side. (if I correctly understood the documentation)

Could any of you take a moment, and explain to me how to perform this
action?  I guess I am asking 2 questions:

1) Is it possible to directly reference the Remoting Server addy, via my
Flex code?
2) If I can't do #1, which file (and where is it located on the server)
do I need to edit, in order to give my Flex App the ability to make
Remoting calls?

Thanks SO much to all of you - I truly appreciate your time on this
topic.

Mike :)

P.S.  I did update my ColdFusion Server, using the latest patch from
Adobe.



 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Are there any good flash fonts that will work well in flex

2006-07-19 Thread JesterXL





suprexy is pretty cool.

Don't know about standards. I'd 
say 11 and up, mainly because you're ensured your formatting is the same on all 
platforms. I remember _sans device font not showing bold on Mac's, but 
showing on PC's at 10pt size; 11 and up ensures that smaller fonts still show 
formatting (at least for device fonts). I'd go as some usability dude or 
hit useit.com.

Pixel fonts are popular with the 
Flash Lite crowd, and others who are still using smaller fonts. Bitmap 
fonts come in sizes, unlike True Type fonts which scale since they are 
vector. This is nice because bitmap fonts do not anti-alias, and thus do 
not get blurry like small fonts would do pre-Flash Player 7. Some fonts 
are meant to be a specific size anyway, like Mini-7, so you can be assured 
they'll look like they are supposd to without Flash anti-aliasing them into a 
blurry mess.


- Original Message - 
From: Kevin 
Mulvihill 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, July 19, 2006 11:38 AM
Subject: RE: [flexcoders] Are there any good flash fonts that will 
work well in flex

mini-7 is a font. you can find it at myfonts.com. uni 05_53 
is also a font but it's not at myfonts.com. (i kind of like suprexy ce; any 
comments on this font?) saffron is a font rendering engine, not a 
font.

what i'm wondering is, is there a standard for font size in 
interfaces? mini-7 is a 7 point font - it seems too small. are there any 
standards / best practices in this area? i know sans-serif is a standard, just 
not sure about the size.

also, why are pixel fonts better? and who would have the 
best selection of them?

thanks,
kevin



  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of hank 
  williamsSent: Tuesday, July 18, 2006 4:44 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Are there any 
  good flash fonts that will work well in flex
  
  
  Sorry Jesse, but I didnt quite understand what you were saying.is 
  mini-7 a font? Where can I find it? Same for uni 05_53?And I assume 
  saffron is a truetype font and you are saying even though it is a truetype 
  font that it works really well in small type. Is that right? 
  Hank.
  On 7/18/06, JesterXL  [EMAIL PROTECTED] wrote: 
  

I believe you are correct; advanced anti-alias 
only works on embedded fonts.

If you don't embed the fonts, however, there is 
no guarentee the user has them, thus they can't be seen unless you embed 
them.

If you are looking for small fonts, yeah man, 
I'd stick with bitmap fonts, like mini-7; he's pretty cool, or uni 
05_53. Still, Saffron does work on smaller fonts better than Flash 7's 
"small type", so not really a need for bitmap fonts unless you want to port 
your style to Flash Lite later on. Besides, you can turn off the 
advanced anti-alising if you don't like it on a specific 
control.

I couldn't get Machine gun to work because he's 
an otf (Open Type Font), but Skannerz looks hot.


- Original Message - 
From: hank williams 
To: flexcoders@yahoogroups.com 

Sent: Tuesday, July 18, 2006 4:37 PM
Subject: Re: [flexcoders] Are there any good flash fonts that 
will work well in flex


I have experimented extensively with fonts in flash 8 and in 
flex and while they look better than flash 7, there is nothing like pixel 
fonts for interface. Of course also probably a lot is dependent on the 
specific true type font. I would imagine that some work better than others, 
but I am not satisfied with what I have been seeing, hence the desire for 
some crispness. By the way, I dont think advanced anit-alias works on device 
fonts, only embedded. But thanks for the font references. Have you 
tried any of these in flex?RegardsHank
On 7/18/06, JesterXL  
[EMAIL PROTECTED]  wrote: 

  
  
  Keep in mind Flash Player 9 supports Flash 
  Player 8's new Saffron font engine. So, if you embed the font in 
  your CSS, you can use the mofo, and she'll look hot. Don't forget to 
  turn advanced anti-aliasing on. I believe Flex 2 utilizes _sans; 
  which is basically Verdana (device font). Anyone confirm / 
  deny?
  
  Here's some good fonts:
  
  http://www.synfonts.com 
  
  
  http://www.myfonts.com 
  
  
  Careful... you can't buy just 
  one...
  
  
  - 
  Original Message - 
  From: hank williams 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, July 18, 2006 4:01 PM
  Subject: [flexcoders] Are there any good flash fonts that will 
  work well in flex
  One of the key things to defining an apps look and feel is 
  fonts. But I find that truetype fonts just dont come out looking as good 
  as flex's built in bitmap font. But I really dont want to look like every 
  other application. In flash I know 

RE: [flexcoders] Re: Flex and CF

2006-07-19 Thread João Fernandes
Damon,

but there isn't much information if you want to use RPC + FDS. All examples are 
RPC or FDS only, not the mix.

If you define your CF RPC destination inside FDS it won't work and there isn't 
any example, best-practice or a technote how to implement this correcly.

If you merge FDS+CF this works fine. If Adobe could publish any additional 
documentation how to achieve this (RPC+FDS), I think everyone would be grateful.

João Fernandes

-Original Message-
From: flexcoders@yahoogroups.com on behalf of dcooper2025
Sent: Wed 19-Jul-06 6:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex and CF
 
People seem to think they need to jam FDS into the CF instance to 
get them to work together for some reason, likely because that's the 
main config setup with CF + Flex 1.5, but that's not necessary at 
all any longer with Flex 2 FDS. 

With Flex 2 and FDS, you absolutely do not need FDS installed into 
the CF app instance for things to work.  We designed them to live 
together on the same machine or seperately on different 
machines/instances, but we didn't spend much time on the case where 
people would try to get FDS inserted into the CF instance itself.  I 
suppose there are valid arguments for wanting to do this, but with 
the RMI interface between the two now with Flex 2, and the existing 
Flex 1.5 bits already living in the CF7 instance for CF7 Flash 
Forms, etc (and the potential for conflict between Flex 1.5 and Flex 
2 bits in package names, etc, etc), we thought it best to recommend 
the use case where CF and Flex 2 FDS are not living in the same 
webapp instance.

Hopefully that makes sense.

Damon
  

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

 Damon,
 
 When you say, They live nicely side-by-side, how is Coldfusion
 loaded? Built-in Web Server, Multiserver (JRUN4), Using IIS or 
Apache?
 Do they work side-by-side if CF is loaded with JRUN and FDS is 
loaded
 with JRUN too, on the same machine?
 
 Coldfusion developers everywhere are having issues getting FDS 
Express
 to work with CF. Sure we can update CF to 7.0.2. We can even 
install
 FDS. That's easy. But logic identifies one similarity between CF 
and
 FDS...ah, they both use JRun. So logic says, they should be able to
 use the same JRun installation; have one single JRun folder. Is 
that
 not the case? (I've seen the technote that has us combining web.xml
 files, coping over other files to the lib folder, etc...but that
 technote is bogus.)
 
 Thanks,
 
 Jim Pickering
 --- In flexcoders@yahoogroups.com, dcooper2025 dcooper@ wrote:
 
  Specifically, you can just install Flex Enterprise Services on a 
  J2EE server on the same machine as CF, configure everything and 
  you're good to go.  They live very nicely side-by-side.
  
  FYI, we've made the CF 7.0.2 doc for CF/Flex 2 integration 
available 
  online where you can quickly reference it as needed 
  
  http://www.adobe.com/go/cfmx702docs 
  
  and the ColdFusion 7.0.2 install instructions are here: 
  
  http://www.adobe.com/go/flex2_cf_installation 
  
  HTH
  
  Damon
  
  --- In flexcoders@yahoogroups.com, Brian Holmes bholme@ 
wrote:
  
   Hi everyone,
Can anyone point me in the right direction of getting CF and 
FDS 
  up on
   the same server, as it would be on production server. A 
deployment 
  guide
   or old thread would be nice. Specifically I'm trying to load 
flex
   applications and widgets in our already established CF 
framewok.


   Thanks,
   Brian
   
   
   ***
   The information in this e-mail is confidential and intended 
solely 
  for the individual or entity to whom it is addressed.  If you 
have 
  received this e-mail in error, please notify the sender by 
return e-
  mail, delete this e-mail, and refrain from any disclosure or 
action 
  based on the information.
   ***
  
 









 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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

Re: [flexcoders] Re: Run as Flex App - No complaints - No compile

2006-07-19 Thread Cameron Childress
Everyone - thanks for the responses.  I was actually having a number
of other problems with FlexBuilder as well, including the ones
ben.clinkinbeard mentioned earlier and the one Allen Riddle mentioned
later in this thread with errors not being reported correctly and
having to essentially close/re-open the entire project or all of
Eclipse to have it recognize any changes I made and update the inline
error messages.

Ultimately, I gave up on the plugin version of Flex Builder and just
installed the standalone version separately.  The plugin version of
the Flex builder definitely flaked out a ton, and effectively stopped
me from doing any development for a long time - only picking it up for
a half hour at a time before cursing it, slamming my mouse on the
desk, and plain ole giving up..  The standalone seems much more
stable.

I did note the location of this setting, however, and appreciate the help!

-Cameron

On 7/18/06, Tim Hoff [EMAIL PROTECTED] wrote:
 Hi Cameron,

 Look at Window - Preferences - Run/Debug - Launching.
 Set Continue launch if project contains errors to Always.


 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] How to remove DataGrid itemRenderer top Bottom spaces

2006-07-19 Thread Artur Kordowski





I've created an 
itemRenderer for a DataGrid and set a backgroundColor. But when the DataGrid is 
rendered I have still top 1px and bottom 2px white space (look at sample image). 
Can any one tell me how I can remove it, so that the background fill the cell 
without spaces?

Artur
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___

attachment: itemRenderer.jpg


Re: [flexcoders] Getting Data Out of Rollovers in TileLists

2006-07-19 Thread Ethan Miller
I've tried both. Either works for sending the event to the showInfo  
function (the Alert triggers, etc.). The problem is how to reference  
the various fields of data of the rolled over item, ie I need the  
rollover equivalent of selectedItem (something like rolledOverItem,  
which doesn't exist)...

cheers, ethan
 You said you tried itemRollOver, but in the code, you are using  
 rollOver,
 not itemRollOver as the event for TileList.

 - Original Message -
 From: Ethan Miller [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 19, 2006 12:58 PM
 Subject: Re: [flexcoders] Getting Data Out of Rollovers in TileLists

 selectedItem doesn't work because no item is selected, it was only
 rolled over. Surely there's a way to catch the data of a rolled over
 item? Anyone?

 cheers, ethan

  Maybe event.target.selectedItem?
 
  - Original Message -
  From: Ethan Miller [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Tuesday, July 18, 2006 6:10 PM
  Subject: [flexcoders] Getting Data Out of Rollovers in TileLists
 
  Greetings -
 
  I'm trying to get data out of a dataProvider (the 'orientation'
  field) used by a tileList, on rollover, not on selection. But, as
  there's no selectedItem in the returned event I'm not sure how to
  reference the rolled over item. The docs suggest using itemRollOver
  but the compiler claims not to know about it...
 
  Here's some sample code (using an alert to see if the data is being
  caught), my question is how to refernce the fields in the
  dataProvider (of the rolled over item) after e.currentTarget ...
 
  mx:Script
  ![CDATA[
  import mx.controls.Alert;
  import flash.events.Event;
  import mx.events.ListEvent;
 
  private function showInfo(e:Event):void {
  Alert.show(e.currentTarget.itemRollOver.orientation, Data
  Found..., Alert.OK);
  }
  ]]
  /mx:Script
 
  mx:ArrayCollection id=mediaLibraryDP
  mx:Object
  orientation=landscape space=RGB date=07/18//2006
  source=Apps/Content/Images/back.png/
  mx:Object
  orientation=landscape space=RGB date=07/18//2006
  source=Apps/Content/Images/side.png/
  mx:Object
  orientation=landscape space=RGB date=07/18//2006
  source=Apps/Content/Images/stomach.png/
  mx:Object
  orientation=landscape space=RGB date=07/18//2006
  source=Apps/Content/Images/couple.png/
  /mx:ArrayCollection
 
  mx:TileList
  dataProvider={mediaLibraryDP}
  rollOver=showInfo(event)
  rollOut=hideInfo()
 
  mx:itemRenderer
  mx:Component
  mx:Image source={data.source}/
  /mx:Component
  /mx:itemRenderer
  /mx:TileList
 
  Thanks! ethan
 
  --
  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


 



 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] RemoteObjects - ActionScript parameters

2006-07-19 Thread Peter Farland












You can just programmatically create a
ChannelSet that contains one or more Channel implementations, such as
mx.messaging.channels.AMFChannel, that are configured to contact your
ColdFusion endpoint (that has the update).



Or, if you want to use the MXML API, you
can set a fully qualified URL for the endpoint attribute on
mx:RemoteObject and it will use a default AMFChannel to communicate
with ColdFusion (with the update).



Pete











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mike Anderson
Sent: Wednesday, July 19, 2006
1:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
RemoteObjects - ActionScript parameters











Hello All,

I am finally getting time to dive into my Flex 2.0 programming, and
RemoteObjects are at the top of my list.

I simply don't have the funds for FDS, so I just need to master the
basic built-in down and dirty methods of doing basic Remoting
inside
of Flex 2.0.

Coming from the Flash world, I was able to directly code my Remoting
parameters with the address of the Remoting server - i.e.
http://www.abc.com/flashservices/gateway
- and then specify the
service name.

It looks like in Flex, you can't directly do that in code - you must
reference a pre-existing service that exists in some config.xml file on
the server side. (if I correctly understood the documentation)

Could any of you take a moment, and explain to me how to perform this
action? I guess I am asking 2 questions:

1) Is it possible to directly reference the Remoting Server addy, via my
Flex code?
2) If I can't do #1, which file (and where is it located on the server)
do I need to edit, in order to give my Flex App the ability to make
Remoting calls?

Thanks SO much to all of you - I truly appreciate your time on this
topic.

Mike :)

P.S. I did update my ColdFusion Server, using the latest patch from
Adobe.






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Help with Flex Store Demo Instalation

2006-07-19 Thread Jean-Luc ESSER





I'd say don't look any further...

Best,
JL


  - Original Message - 
  From: 
  Ian Skinner 
  To: flex@houseoffusion.com ; [EMAIL PROTECTED] ; flexcoders@yahoogroups.com 
  Sent: Wednesday, July 19, 2006 6:54 
  PM
  Subject: [flexcoders] Help with Flex 
  Store Demo Instalation
  
  
  ...
  I am still using Beta 3 
  ...
  .  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] TODO and FIXME in Builder ?

2006-07-19 Thread Jean-Luc ESSER





Dirk,

Something like this ?

override protected function normalDay():NormalDay 
{
myNewDay:JackBauersDay = new 
JackBauersDay;
_normalDay.nbHours = myNewDay.nbHours;
return _normalDay; }

Here you go !

Best,
JL



  - Original Message - 
  From: 
  Dirk Eismann 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, July 19, 2006 4:32 
  PM
  Subject: RE: [flexcoders] TODO and FIXME 
  in Builder ?
  
  
  
  No, 
  it's not included in Flex Builder 2. 
  
  I 
  started developing a plugin extension for Flex Builder 2 that adds this kind 
  of functionality to both the MXML and AS editors a while ago but 
  it'sonly 50% finished yet. If I find a way to get rid of 
  the"A-day-only-has-24-hours" problem then I hope to get it finished and 
  packaged soon but unless it will take some time.
  
  Dirk.
  


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jean-Luc 
ESSERSent: Wednesday, July 19, 2006 2:49 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] TODO and FIXME in 
Builder ?

Maybe missed it, but did'nt find anybody asking 
how to implement the TODO and FIXME tasks in Builder.
This is a must for every eclipse users, 
specially when working in teams, but it does not work for mxml or 
asfiles (maybe they are not parsed).
Is there a simple way to have it work 
?

Thanx,
JL
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: Flex2B3: Container fillColors

2006-07-19 Thread Geoffrey.Rogers










Tim, I saw you had the same problem with
Gradient background too with container components. Im also trying
to skin the background of a container (VBOX). But Im not
having any luck with it.

Here is an example of my code. I am using
Flex Builder 2.0 final.

//MXML code

?xml version=1.0
encoding=utf-8?

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

 mx:VBox
x=65 y=60
borderSkin=utils.skins.BackgroundGradientFill
width=100% height=100%
backgroundColor=#00ff00

 /mx:VBox

/mx:Application









//Skin Class

package utils.skins

{

 import
mx.skins.RectangularBorder;

 import
flash.geom.Rectangle;

 import
flash.geom.Matrix;

 import
flash.display.DisplayObjectContainer;

 import
mx.core.IUIComponent;

 import
flash.events.Event;

 import
mx.managers.ISystemManager;

 import
flash.display.Sprite;

 import
flash.display.DisplayObject;

 import
flash.display.GradientType;

 import
flash.display.SpreadMethod;

 

 public
class BackgroundGradientFill extends RectangularBorder

 {

 private
var _fillColors:Array;

 private
var _fillAlphas:Array;

 private
var _fillRatios:Array;

 private
var _fillMatrix:Matrix;

 private
var _fillType:String;

 private
var _fillCornerRadius:Number;

 private
var _fillRotation:Number;

 private
var _spreadMethod:String;

 

 

 public
function BackgroundGradientFill()

 {

 super();

 

 }

 

 override
protected function updateDisplayList(w:Number, h:Number):void{

 super.updateDisplayList(w,h);

 

 graphics.clear();

 _fillCornerRadius
= getStyle(cornerRadius) ? undefined : 0;

 //var
rota = getStyle(backgroundGradientRotation) ? undefined : 2;

 _fillRatios
= getStyle(backgroundGradientRatios) ? undefined : [0xCC,0xFF];

 _fillColors
= getStyle(backgroundGradientColors) ? undefined :
[0x00,0xFF];

 _fillAlphas
= getStyle(backgroundGradientAlphas) ? undefined : [1.0,.50];

 _fillType
= getStyle(backgroundGradientType) ? undefined :
GradientType.LINEAR;

 _fillMatrix
= new Matrix();

 _fillMatrix.createGradientBox(w,h,0,0,0);

 _spreadMethod
= SpreadMethod.PAD;

 _fillRotation
= 2*Math.PI*(90/360);

 _fillMatrix.rotate(_fillRotation);

 graphics.beginGradientFill(_fillType,_fillColors,_fillAlphas,_fillRatios,_fillMatrix,_spreadMethod);

 //or
this but I don't get anywhere. graphics.beginFill(0xFF,1.0);

 if(_fillCornerRadius){

 var
cr = _fillCornerRadius;

 graphics.drawRoundRectComplex(0,0,w,h,cr,cr,cr,cr);

 }

 graphics.endFill();

 }

 

 }



}

















From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
Sent: Thursday, June 22, 2006 7:48
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex2B3:
Container fillColors





Hi Mike,

I used
your code example and was able to create a skin class that can be applied to
the background of a container.I added/changed the highlighted code
to make the skin class use more of the container's CSS properties. This
is a useful technique! While playing around with this, I stumbled on
something. If you change the first ration to an invalid setting (like
ox140), the rectangle isn't drawn. However, the original background is
also gone. This creates a transparent background without using
alphas. The child controls/components are displayed as if they are
floating. Too cool! I'm starting to believe that you can do just
about anything with Flex,as longyou know how.

Thanks
again,
Tim Hoff

// CSS --

.myPanel
{
 cornerRadius: 6;
 fillAlphas: 1, 1;
 fillColors: #FF, #326CB4;
 borderSkin:
ClassReference(extendedComponents.ContainerBackgroundFillColors);
 roundedBottomCorners: true;
} 

//
SkinClass
---

package
extendedComponents
{

import
flash.geom.Matrix;
import flash.display.GradientType;
import mx.skins.RectangularBorder;

public
class ContainerBackgroundFillColors extends RectangularBorder
{
 public function ContainerBackgroundFillColors()
 {
 super();
 }

 public override function setActualSize(w:Number,
h:Number):void
 {
 super.updateDisplayList(w, h);
 
 graphics.clear();

var roundedBottomCorners:Boolean = getStyle(roundedBottomCorners);
 var cornerRadius:Number =
getStyle(cornerRadius);
 var fillAlphas:Array =
getStyle(fillAlphas);
 var
fillColors:Array = getStyle(fillColors);

 var fillType:String =
GradientType.LINEAR;
 //var alphas:Array = [100, 100]; replaced with
fillAlphas
 var ratios:Array
= [0x70, 0xFF];
 var matr:Matrix = new
Matrix();
 var rotation:Number = 2 * Math.PI * (90 / 360);

 matr.createGradientBox(h, w, 0, 0, 0);
//w,h switched for rotation
 matr.rotate(rotation);
 var spreadMethod:String =
SpreadMethod.PAD;
 

graphics.beginGradientFill(fillType, fillColors, fillAlphas, ratios, matr, spreadMethod); 

if (roundedBottomCorners){

graphics.drawRoundRectComplex(0, 0, w, h, cornerRadius, cornerRadius,
cornerRadius, cornerRadius);
 } else {

graphics.drawRoundRectComplex(0, 0, w, 

Re: [flexcoders] Re: printing/zooming bugs

2006-07-19 Thread Uday M. Shankar






I too have noticed this... but, i simply assumed that someone is
alerady working on it  :-) 

-uday

Peter Blazejewicz wrote:


  
  --- In [EMAIL PROTECTED]ups.com,
"Samuel Reuben" [EMAIL PROTECTED] wrote:

 If you go to http://www.adobe.com/shockwave/welcome/
 
 in the flash player "about" does it show 9,0,16,0 ?
 
 -sam
 
Hi sam,
  
I've submitted that as serious usability issue to Flex QA team during
beta and haven't got any
confirmation yet,
just tried any sample, eg. from that page:
  http://labs.adobe.com/showcase/special/flexderby/
click Zoom In (say I'm impared person and do want to read some text)
and then try to see all content again,
tested with *.16 public plugin in FireFox (IExplorer hosts development
plugin),
that's not the only issue I know that is not fixed and not listed in
know issues I think,
  
regards,
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___







[flexcoders] How to make XML object using String in Flex 2??

2006-07-19 Thread leaveist
I making tree menu using remote object.

So, I was used oracle 9i xml data type.

I can get xml document to String.

ex) String result=Menuicon id=1/icon id=2//Menu

so, I was send Java string object to Flex application using flash 
string object.

as like this)

myXML:XML = result;

but, it is not working. 

I Know problem, that is, flesh XML type can not using String.

for Example:

* This is working) 
  myXML:XML =Menuicon id=1/icon id=2//Menu

* But, This is not working)
  myXML:XML =Menuicon id=1/icon id=2//Menu

So, How to make XML object using String?






 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Re: Running Flex Data Services apps outside of the server root/flex/ dir

2006-07-19 Thread Cathy Reilly
 
 when referencing mxml files that is, prompts us to download the mxml
file

whichever application that includes the mxml file, must have a
definition of the servlet and a servlet mapping for *.mxml


what you're trying to do, should be possible but will take some work to
get the correct paths/configurations, etc

Here's a start -

(a) determine if you need the MessageBrokerServlet or MxmlServlet
functionality or both
In the standard FDS documentation, there is documentation on setting up
a MessageBrokerServlet only configuration, which can be a starting
point.

If you're trying to compile mxml, then you need the MxmlServlet
functionality.
i. make sure that the application containing the mxml files have all the
required definitions in web.xml
ii. make sure that flex-bootstrap.jar is in the web application
classpath, as defined by your application server
iii. make sure that the jars in /WEB-INF/flex/jars are in a central
location and update web.xml flex.bootstrap.classpath to point to that
location
iv. specify the location of /WEB-INF/flex/flex-webtier-config.xml in
web.xml within the MxmlServlet definition
  servlet
servlet-nameFlexMxmlServlet/servlet-name
...
init-param
  param-namewebtier.configuration.file/param-name
 
param-value/WEB-INF/flex/flex-webtier-config.xml/param-value
/init-param
  /servlet 
v. update the flex-config element in flex-webtier-config.xml to point
to flex-config.xml
vi. open up flex-config.xml and be sure that all paths are specified
correctly (use absolute or relative to flex-config.xml)
vii. if you're compiling to connect with MessageBrokerServlet
functionality, you'll need the flex-services.xml and include files to
compiel against.  This location can be specified in
flex-webtier-config.xml services element (I think)

If you need the MessageBrokerServlet functionality,
i. make sure that jars in flex/WEB-INF/lib (except flex-bootstrap.jar)
are available in the web application classpath
ii. be sure that MessageBrokerServlet is defined in your application's
web.xml, whichever application contains the server-side classes
iii the servlet definition should specific the location of
/WEB-INF/flex/services-config.xml


- Cathy


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of klumikaze
Sent: Wednesday, July 19, 2006 1:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Running Flex Data Services apps outside of the
server root/flex/ dir

Hey Dave,

Sorry for the confusion. :)

Basically what we want, is to have a /flex/ directory where the FDS
libraries exist, and then have web applications at the server root
level that are Flex based. 

An example:

We want to have a directory under our server root called 'myApp' with
a file called 'main.mxml'. We then want to be able to access
http://www.mydomain.com/myApp/main.mxml and have it use the FDS
libraries and compile the app properly.

Essentially the behavior we're seeing is that any application that's
not a subdir of the /flex/ directory, when referencing mxml files that
is, prompts us to download the mxml file (I assume because it doesn't
understand what to do with the MXML mime type).

Does that clarify it at all?

Thanks Dave,

Brian

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

 Brian, 
 
 I am a little confused by your question.  You seem to indicate you
 want to have a seperate web application for the FDS services from
 where the Flex/Flash application lives.  Then you kind of confuse me
 when you say you want a shared library.
 
 The idea is that /flex is where FDS lives, and you can then create
 /snoopy and put your web applications under there.  Thats not quite
 what I would call a shared library.  The /flex web app contains the
 FDS services and associated libraries.  The /snoopy web app contains
 your swfs and assets and connects to the services at /flex as needed. 
 
 What errors are you seeing?
 
 Is what you are really saying that you just dont want the FDS web app
 named /flex?
 
 
 -- 
 Dave Wolf
 Cynergy Systems, Inc.
 Adobe Flex Alliance Partner
 http://www.cynergysystems.com
 http://www.cynergysystems.com/blogs
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY
 
 
 --- In flexcoders@yahoogroups.com, klumikaze dunphy@ wrote:
 
  Link didn't appear to work... if you click on 'Options for
developing
  a Flex Data Services application' once you're on that page, you'll
see
  the second diagram I mean.
  
  Thanks,
  
  Brian
  
  --- In flexcoders@yahoogroups.com, klumikaze dunphy@ wrote:
  
   We've been pulling our hair out trying to figure out how to run
   applications outside of the /flex/ dir in our J2EE server.
   
   Currently we're using JBoss, but I would assume that the
configuration
   is similar across all application servers.
   
   Essentially, what we want to do is create a structure like the
second
   diagram in the following page (from the Flex 2 documentation):
   
  
 


Re: [flexcoders] Re: printing/zooming bugs

2006-07-19 Thread Pan Troglodytes



So was I.That was in beta.Seriously, this is pretty major. Zooming MUST be very important to Flash/Flex if it takes up the first three right-click menu options by default. And yet, they break it and seem to just blow it off.
FYI, I entered a bug report on the official web page about it.On 7/19/06, Uday M. Shankar [EMAIL PROTECTED]
 wrote:












  







I too have noticed this... but, i simply assumed that someone is
alerady working on it  :-) 

-uday

Peter Blazejewicz wrote:


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

 If you go to http://www.adobe.com/shockwave/welcome/

 
 in the flash player about does it show 9,0,16,0 ?
 
 -sam
 
Hi sam,
  
I've submitted that as serious usability issue to Flex QA team during
beta and haven't got any
confirmation yet,
just tried any sample, eg. from that page:
  http://labs.adobe.com/showcase/special/flexderby/

click Zoom In (say I'm impared person and do want to read some text)
and then try to see all content again,
tested with *.16 public plugin in FireFox (IExplorer hosts development
plugin),
that's not the only issue I know that is not fixed and not listed in
know issues I think,
  
regards,
Peter
  
  
  






  















-- Jason

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: How can open a Stream?

2006-07-19 Thread Silpa sirivella
Atleast tell me whether it is possible With flex?

thanks
-silpa
--- In flexcoders@yahoogroups.com, Silpa sirivella [EMAIL PROTECTED] 
wrote:

 Hi all,
  
 I have a requirement to open Steam coming from J2EE layer. More 
 clearly, I've MXML file where i'm requesting a servlet using 
 HTTPService. Here is the code
 
 mx:HTTPService id=exportRequest useProxy=false 
 url=/inventory/search.do showBusyCursor=true
 mx:request
 ActionExport/Action
 exportModepdf/exportMode
 /mx:request
 /mx:HTTPService
 
 And here is my struts application
 
 ByteArrayOutputStream baos =new ByteArrayOutputStream();
 
 if(exportMode.trim().equalsIgnoreCase(pdf)) {
 response.setContentType (application/pdf);
 response.setHeader (Content-Disposition, attachment; 
 filename=\SearchResults.pdf\);
 try{
 JasperExportManager.exportReportToPdfStream(jasperPrint, baos);
 }catch(JRException jre) {}
   
   response.setContentLength(baos.size());
   ServletOutputStream outStream = response.getOutputStream();
   baos.writeTo(outStream);
   baos.close();
   outStream.flush();
 it works fine when i made a call from HTML. I've to get a popup 
 contains Save Open and Cancel options.
 I appreciate any help on this.
 
 -silpa








 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Adding columns dynamically in a datagrid

2006-07-19 Thread Pottavathini, Sathish
Title: Adding columns dynamically in a datagrid








I have a datagrid and the data loaded into it is dynamic. The number of columns are also different each time. So I am trying to read the xml data that is used for the datagrid and create columns at run time using 'columns' property of the datagrid. But for some reason it's not creating those columns in datagrid. Am I missing anything?

Any sample code for this kinda thing?


Thanks

Sathish



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] RE: Adding columns dynamically in a datagrid

2006-07-19 Thread Pottavathini, Sathish
Title: RE: Adding columns dynamically in a datagrid








Sample Code:


 var len:int = xml_itemCount.children()[0].children().length();

 var ttle:String = '';

 grid_Reports.columns = [];

 for (var i:int=0; ilen; i++)

 {

  var itm:Object = xml_itemCount.children()[0].children()[i];

  ttle = [EMAIL PROTECTED];

  if (ttle.length == 0)

   ttle = itm.name();

   

  trace(itm.name() + = + itm.text());

  var tmp:DataGridColumn = new DataGridColumn(itm.name());

  tmp.dataField = itm.name();

  tmp.headerText = ttle +  -  + i;

  grid_Reports.columns[i] = tmp;

  

  trace(grid_Reports.columns.length);

 }


_ 

From:  Pottavathini, Sathish 

Sent: Wednesday, July 19, 2006 11:48 AM

To: flexcoders@yahoogroups.com

Subject: Adding columns dynamically in a datagrid


I have a datagrid and the data loaded into it is dynamic. The number of columns are also different each time. So I am trying to read the xml data that is used for the datagrid and create columns at run time using 'columns' property of the datagrid. But for some reason it's not creating those columns in datagrid. Am I missing anything?

Any sample code for this kinda thing?


Thanks

Sathish



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Getting Data Out of Rollovers in TileLists

2006-07-19 Thread JesterXL
Use indicesToIndex using the rowIndex and columnIndex on the event.

...It's all in the wrist, suckaz!

http://pastebin.de/9325

- Original Message - 
From: Ethan Miller [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 19, 2006 1:44 PM
Subject: Re: [flexcoders] Getting Data Out of Rollovers in TileLists


I've tried both. Either works for sending the event to the showInfo  
function (the Alert triggers, etc.). The problem is how to reference  
the various fields of data of the rolled over item, ie I need the  
rollover equivalent of selectedItem (something like rolledOverItem,  
which doesn't exist)...

cheers, ethan
 You said you tried itemRollOver, but in the code, you are using  
 rollOver,
 not itemRollOver as the event for TileList.

 - Original Message -
 From: Ethan Miller [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 19, 2006 12:58 PM
 Subject: Re: [flexcoders] Getting Data Out of Rollovers in TileLists

 selectedItem doesn't work because no item is selected, it was only
 rolled over. Surely there's a way to catch the data of a rolled over
 item? Anyone?

 cheers, ethan

  Maybe event.target.selectedItem?
 
  - Original Message -
  From: Ethan Miller [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Tuesday, July 18, 2006 6:10 PM
  Subject: [flexcoders] Getting Data Out of Rollovers in TileLists
 
  Greetings -
 
  I'm trying to get data out of a dataProvider (the 'orientation'
  field) used by a tileList, on rollover, not on selection. But, as
  there's no selectedItem in the returned event I'm not sure how to
  reference the rolled over item. The docs suggest using itemRollOver
  but the compiler claims not to know about it...
 
  Here's some sample code (using an alert to see if the data is being
  caught), my question is how to refernce the fields in the
  dataProvider (of the rolled over item) after e.currentTarget ...
 
  mx:Script
  ![CDATA[
  import mx.controls.Alert;
  import flash.events.Event;
  import mx.events.ListEvent;
 
  private function showInfo(e:Event):void {
  Alert.show(e.currentTarget.itemRollOver.orientation, Data
  Found..., Alert.OK);
  }
  ]]
  /mx:Script
 
  mx:ArrayCollection id=mediaLibraryDP
  mx:Object
  orientation=landscape space=RGB date=07/18//2006
  source=Apps/Content/Images/back.png/
  mx:Object
  orientation=landscape space=RGB date=07/18//2006
  source=Apps/Content/Images/side.png/
  mx:Object
  orientation=landscape space=RGB date=07/18//2006
  source=Apps/Content/Images/stomach.png/
  mx:Object
  orientation=landscape space=RGB date=07/18//2006
  source=Apps/Content/Images/couple.png/
  /mx:ArrayCollection
 
  mx:TileList
  dataProvider={mediaLibraryDP}
  rollOver=showInfo(event)
  rollOut=hideInfo()
 
  mx:itemRenderer
  mx:Component
  mx:Image source={data.source}/
  /mx:Component
  /mx:itemRenderer
  /mx:TileList
 
  Thanks! ethan
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/ 
 flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%
  40yahoogroups.com
  Yahoo! Groups Links
 
 
 

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


 




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



 




 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Public list of open issues, available?

2006-07-19 Thread Jack W. Caldwell @ Zingit Technologies, Inc.





Stephen:

The release notes are good start for 
anyone.

However, it doesn't really answer the question: Is 
there a public list/site, etc.
that developers can access to find out about known 
issues?

It would save a lot of time.

So is there?

Thanks,

Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Stephen 
GilsonSent: Wednesday, July 19, 2006 11:20 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Public list of 
open issues, available?



You should probably start with the releases 
notes:

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

Stephen


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Weyert de 
BoerSent: Wednesday, July 19, 2006 8:02 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Public list of open 
issues, available?


I am curious if anyone know a public list all open issues regarding to 
Flex and Flash both ont he Windows and Macintosch platform. Lately I am 
hitting strange things in Flash or Flex while I would love to know if 
this is a (common) bug or not.If anyone know such thing please let 
me know, I think such list will help really 
well.Yours,Weyert

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Run as Flex App - No complaints - No compile

2006-07-19 Thread Douglas Knudsen



someone in hotlanta had some issues like this too. Found out the filename.mxml file that was expected to compile was NOT set as a Flex application. Look in the project properties  Flex Applications and make sure the mxml file you want compiled is in there. 
DKOn 7/19/06, Cameron Childress [EMAIL PROTECTED] wrote:
Everyone - thanks for the responses.I was actually having a numberof other problems with FlexBuilder as well, including the onesben.clinkinbeard mentioned earlier and the one Allen Riddle mentionedlater in this thread with errors not being reported correctly and
having to essentially close/re-open the entire project or all ofEclipse to have it recognize any changes I made and update the inlineerror messages.Ultimately, I gave up on the plugin version of Flex Builder and just
installed the standalone version separately.The plugin version ofthe Flex builder definitely flaked out a ton, and effectively stoppedme from doing any development for a long time - only picking it up for
a half hour at a time before cursing it, slamming my mouse on thedesk, and plain ole giving up..The standalone seems much morestable.I did note the location of this setting, however, and appreciate the help!
-CameronOn 7/18/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi Cameron, Look at Window - Preferences - Run/Debug - Launching. Set Continue launch if project contains errors to Always.
 Yahoo! Groups Sponsor ~--Great things are happening at Yahoo! Groups.See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM~---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/* 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 Knudsenhttp://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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Getting Data Out of Rollovers in TileLists

2006-07-19 Thread JesterXL
Recording for the archives.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
 creationComplete=initApp()

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

   [Bindable]
   var some_collection:ArrayCollection;

   function initApp()
   {
some_collection = new ArrayCollection();
some_collection.addItem(uno);
some_collection.addItem(dos);
some_collection.addItem(tres);
some_collection.addItem(some);
some_collection.addItem(dude);
some_collection.addItem(ate);
some_collection.addItem(cheese);
some_collection.addItem(and);
some_collection.addItem(I);
some_collection.addItem(swear);
some_collection.addItem(it);
some_collection.addItem(wasn't);
some_collection.addItem(me);
   }

   function onRollOver(event)
   {
trace(-);
trace(getItem(my_tilelist, event.columnIndex, event.rowIndex));
   }

   function getItem(target:TileList, col, row):*
   {
var index = target.indicesToIndex(row, col);
return some_collection.getItemAt(index);
   }

  ]]
 /mx:Script
 mx:VBox width=100% height=100% horizontalAlign=center 
verticalAlign=middle

  mx:TileList id=my_tilelist width=30% height=30% 
dataProvider={some_collection}

   itemRollOver=onRollOver(event)/

 /mx:VBox

/mx:Application


- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 19, 2006 2:53 PM
Subject: Re: [flexcoders] Getting Data Out of Rollovers in TileLists


Use indicesToIndex using the rowIndex and columnIndex on the event.

...It's all in the wrist, suckaz!

http://pastebin.de/9325

- Original Message - 
From: Ethan Miller [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 19, 2006 1:44 PM
Subject: Re: [flexcoders] Getting Data Out of Rollovers in TileLists


I've tried both. Either works for sending the event to the showInfo
function (the Alert triggers, etc.). The problem is how to reference
the various fields of data of the rolled over item, ie I need the
rollover equivalent of selectedItem (something like rolledOverItem,
which doesn't exist)...

cheers, ethan
 You said you tried itemRollOver, but in the code, you are using
 rollOver,
 not itemRollOver as the event for TileList.

 - Original Message -
 From: Ethan Miller [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 19, 2006 12:58 PM
 Subject: Re: [flexcoders] Getting Data Out of Rollovers in TileLists

 selectedItem doesn't work because no item is selected, it was only
 rolled over. Surely there's a way to catch the data of a rolled over
 item? Anyone?

 cheers, ethan

  Maybe event.target.selectedItem?
 
  - Original Message -
  From: Ethan Miller [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Tuesday, July 18, 2006 6:10 PM
  Subject: [flexcoders] Getting Data Out of Rollovers in TileLists
 
  Greetings -
 
  I'm trying to get data out of a dataProvider (the 'orientation'
  field) used by a tileList, on rollover, not on selection. But, as
  there's no selectedItem in the returned event I'm not sure how to
  reference the rolled over item. The docs suggest using itemRollOver
  but the compiler claims not to know about it...
 
  Here's some sample code (using an alert to see if the data is being
  caught), my question is how to refernce the fields in the
  dataProvider (of the rolled over item) after e.currentTarget ...
 
  mx:Script
  ![CDATA[
  import mx.controls.Alert;
  import flash.events.Event;
  import mx.events.ListEvent;
 
  private function showInfo(e:Event):void {
  Alert.show(e.currentTarget.itemRollOver.orientation, Data
  Found..., Alert.OK);
  }
  ]]
  /mx:Script
 
  mx:ArrayCollection id=mediaLibraryDP
  mx:Object
  orientation=landscape space=RGB date=07/18//2006
  source=Apps/Content/Images/back.png/
  mx:Object
  orientation=landscape space=RGB date=07/18//2006
  source=Apps/Content/Images/side.png/
  mx:Object
  orientation=landscape space=RGB date=07/18//2006
  source=Apps/Content/Images/stomach.png/
  mx:Object
  orientation=landscape space=RGB date=07/18//2006
  source=Apps/Content/Images/couple.png/
  /mx:ArrayCollection
 
  mx:TileList
  dataProvider={mediaLibraryDP}
  rollOver=showInfo(event)
  rollOut=hideInfo()
 
  mx:itemRenderer
  mx:Component
  mx:Image source={data.source}/
  /mx:Component
  /mx:itemRenderer
  /mx:TileList
 
  Thanks! ethan
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/
 flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%
  40yahoogroups.com
  Yahoo! Groups Links
 
 
 

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







--
Flexcoders Mailing List
FAQ: 

Re: [flexcoders] How to make XML object using String in Flex 2??

2006-07-19 Thread Brendan Meutzner



XMLDocument.parseXML(XMLString);On 7/19/06, leaveist [EMAIL PROTECTED] wrote:













  



I making tree menu using remote object.

So, I was used oracle 9i xml data type.

I can get xml document to String.

ex) String result=Menuicon id=1/icon id=2//Menu

so, I was send Java string object to Flex application using flash 
string object.

as like this)

myXML:XML = result;

but, it is not working. 

I Know problem, that is, flesh XML type can not using String.

for Example:

* This is working) 
  myXML:XML =Menuicon id=1/icon id=2//Menu

* But, This is not working)
  myXML:XML =Menuicon id=1/icon id=2//Menu

So, How to make XML object using String?


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: How can open a Stream?

2006-07-19 Thread drome.dario
The error that you are experiencing is because of the default value 
for the resultFormat property of HTTPService: it expect an xml and, 
as far as I see, you are sending a PDF from your server.
As long as HTTPService doesn't support binary results, you should 
think on start using URLLoader or URLStream for your purposes.

Regards.
--- In flexcoders@yahoogroups.com, Silpa sirivella [EMAIL PROTECTED] 
wrote:

 Atleast tell me whether it is possible With flex?
 
 thanks
 -silpa
 --- In flexcoders@yahoogroups.com, Silpa sirivella silpa_sus@ 
 wrote:
 
  Hi all,
   
  I have a requirement to open Steam coming from J2EE layer. More 
  clearly, I've MXML file where i'm requesting a servlet using 
  HTTPService. Here is the code
  
  mx:HTTPService id=exportRequest useProxy=false 
  url=/inventory/search.do showBusyCursor=true
  mx:request
  ActionExport/Action
  exportModepdf/exportMode
  /mx:request
  /mx:HTTPService
  
  And here is my struts application
  
  ByteArrayOutputStream baos =new ByteArrayOutputStream();
  
  if(exportMode.trim().equalsIgnoreCase(pdf)) {
  response.setContentType (application/pdf);
  response.setHeader (Content-Disposition, attachment; 
  filename=\SearchResults.pdf\);
  try{
  JasperExportManager.exportReportToPdfStream(jasperPrint, baos);
  }catch(JRException jre) {}
  
  response.setContentLength(baos.size());
  ServletOutputStream outStream = response.getOutputStream();
  baos.writeTo(outStream);
  baos.close();
  outStream.flush();
  it works fine when i made a call from HTML. I've to get a popup 
  contains Save Open and Cancel options.
  I appreciate any help on this.
  
  -silpa
 








 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Flex Builder 2 RDS Connection problems

2006-07-19 Thread Brian Holmes





Has anyone else had 
trouble connecting to RDS from Flex Builder 2other than localhost? I can 
definitely connect in Dreamweaver to a RDS server on
our network but it 
doesn't even appear as if Flex Builder is even trying to access the network. I 
get an error message instantly saying "unable to contact the RDS server" no 
matter what I've tried.


It's on port 
80
no context 
root
and the RDS password 
i'm using is correct.
I've also 
tried using the ip address for the host name instead of the resolved 
name.

One thing I was 
wondering is if running a desktop firewall would effect being able to connect to 
it.


Thanks,
Brian

***
The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed.  If you have received this e-mail in error, please notify the sender by return e-mail, delete this e-mail, and refrain from any disclosure or action based on the information.
*** 


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



  1   2   3   >